Skip to content

Commit 80eeea1

Browse files
committed
feat: upgrade cozy-ui to latest (79.3.0)
Will be used for updated BottomSheet
1 parent a157f5a commit 80eeea1

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"cozy-realtime": "4.2.9",
4747
"cozy-sharing": "4.5.2",
4848
"cozy-stack-client": "^34.1.5",
49-
"cozy-ui": "^78.1.1",
49+
"cozy-ui": "^79.3.0",
5050
"date-fns": "2.28.0",
5151
"es-abstract": "1.20.2",
5252
"form-data": "2.5.1",

src/containers/App.spec.jsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ jest.mock('react-router-dom', () => ({
4242
withRouter: children => children
4343
}))
4444

45+
jest.mock('cozy-device-helper', () => ({
46+
isFlagshipApp: jest.fn(),
47+
getFlagshipMetadata: jest.fn().mockReturnValue({
48+
immersive: jest.fn()
49+
}),
50+
isAndroidApp: jest.fn(),
51+
isIOS: jest.fn()
52+
}))
53+
4554
describe('App', () => {
4655
it('should keep backgroundImage fixed on Flagship app scroll', () => {
4756
// Given

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5986,10 +5986,10 @@ cozy-stack-client@^34.1.5:
59865986
mime "^2.4.0"
59875987
qs "^6.7.0"
59885988

5989-
cozy-ui@^78.1.1:
5990-
version "78.1.1"
5991-
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-78.1.1.tgz#cd31ccf190ae635e7126c239cdafc332d68d15c5"
5992-
integrity sha512-ukYPEqPZ0ttVqRVef7s0o2xWhMXoX/5VOvpbDEoebprhCo67QQ5THOImMJffgOFH5HKbemhFNZ897XlcxvoyGQ==
5989+
cozy-ui@^79.3.0:
5990+
version "79.3.0"
5991+
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-79.3.0.tgz#9915a3f1aab474b00dc4033d907a31fabb2d1c08"
5992+
integrity sha512-OR9KZF9i+alc2sWC7gG2lNuBqiIjJnxkctwt44mK1jWHpQWrQ/4d4HhOcwAcDoAkIWiQyLvmiZivfZVZ3fL/QQ==
59935993
dependencies:
59945994
"@babel/runtime" "^7.3.4"
59955995
"@material-ui/core" "4.12.3"
@@ -11764,9 +11764,9 @@ msgpack5@^4.0.2:
1176411764
readable-stream "^2.3.6"
1176511765
safe-buffer "^5.1.2"
1176611766

11767-
"mui-bottom-sheet@https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
11767+
"mui-bottom-sheet@git+https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
1176811768
version "1.0.8"
11769-
resolved "https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
11769+
resolved "git+https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
1177011770
dependencies:
1177111771
"@juggle/resize-observer" "^3.1.3"
1177211772
jest-environment-jsdom-sixteen "^1.0.3"

0 commit comments

Comments
 (0)