diff --git a/package.json b/package.json
index 1359cbb..335301a 100644
--- a/package.json
+++ b/package.json
@@ -55,7 +55,7 @@
},
"dependencies": {
"comlink": "^4.4.2",
- "cozy-bar": "^19.0.0",
+ "cozy-bar": "^20.0.0",
"cozy-client": "^57.6.0",
"cozy-dataproxy-lib": "^4.1.0",
"cozy-device-helper": "^3.8.0",
@@ -65,7 +65,8 @@
"cozy-logger": "^1.17.0",
"cozy-pouch-link": "^54.0.0",
"cozy-realtime": "^5.6.4",
- "cozy-ui": "^122.0.1",
+ "cozy-search": "^0.4.0",
+ "cozy-ui": "^122.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.14.2"
diff --git a/src/components/AppLayout.jsx b/src/components/AppLayout.jsx
index e09b3ca..652d1a8 100644
--- a/src/components/AppLayout.jsx
+++ b/src/components/AppLayout.jsx
@@ -11,7 +11,7 @@ const AppLayout = () => {
return (
<>
-
+
>
)
diff --git a/src/targets/browser/index.jsx b/src/targets/browser/index.jsx
index 9b1ddad..530530d 100644
--- a/src/targets/browser/index.jsx
+++ b/src/targets/browser/index.jsx
@@ -9,6 +9,10 @@ import AppProviders from '@/components/AppProviders'
import setupApp from '@/targets/browser/setupApp'
import AppRouter from '@/components/AppRouter'
+// We need to force light mode because Twake Mail embedded app
+// does not support dark mode
+localStorage.setItem('ui-theme-type', 'light')
+
const init = () => {
const { root, client, lang, polyglot } = setupApp()
diff --git a/yarn.lock b/yarn.lock
index c0fcb92..4b49a68 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3958,12 +3958,11 @@ cozy-app-publish@^0.41.0:
tar "^6.1.11"
verror "^1.10.1"
-cozy-bar@^19.0.0:
- version "19.0.0"
- resolved "https://registry.yarnpkg.com/cozy-bar/-/cozy-bar-19.0.0.tgz#075d4537349a9d37071a783019f3e5caf5066cdc"
- integrity sha512-ycEdfVi6wBsD0UU83GrN1oD/ga7UJnHNsPvV8ePGnYFxLfLZr8Myr3aztlw4q1R3UZVcdgDmcItGMghk4pUSmw==
+cozy-bar@^20.0.0:
+ version "20.0.0"
+ resolved "https://registry.yarnpkg.com/cozy-bar/-/cozy-bar-20.0.0.tgz#4f739c700fd881619cb71e223529e4ce9b465791"
+ integrity sha512-AHpSOunkzdcEGTONUNisqrxhfzAu91W3clQAPIssOeSpQdiwC8A+zfF7KK06SdgkPOHQpcoUs6G0soZz7IU+dA==
dependencies:
- cozy-search "0.3.0"
hammerjs "2.0.8"
lodash.debounce "4.0.8"
lodash.set "^4.3.2"
@@ -4100,10 +4099,10 @@ cozy-realtime@^5.6.4:
dependencies:
"@cozy/minilog" "^1.0.0"
-cozy-search@0.3.0:
- version "0.3.0"
- resolved "https://registry.yarnpkg.com/cozy-search/-/cozy-search-0.3.0.tgz#fa771b43b62a2d3f0ec3b5226f1166acee135b2b"
- integrity sha512-9MZOoJewfOnSJJSwnlA/tnRNJsShiqK07+CAeSgCJoFYiCOt6KoLN/FH5WmMsLitxPFVGJBht5W4lc7wct0Uvw==
+cozy-search@^0.4.0:
+ version "0.4.0"
+ resolved "https://registry.yarnpkg.com/cozy-search/-/cozy-search-0.4.0.tgz#126413d3e67ed105c4e76f6b3464324dc0e8db51"
+ integrity sha512-rFmOr3QM+doasZOhT4dW+/fvv/qUmpg/cPBzFTOt/x1XOvgbFORnHLRIXst2cFPRgpXarlRwj33+cqfjTKYAKQ==
dependencies:
classnames "2.5.1"
lodash "4.17.21"
@@ -4134,10 +4133,10 @@ cozy-tsconfig@^1.8.1:
resolved "https://registry.yarnpkg.com/cozy-tsconfig/-/cozy-tsconfig-1.8.1.tgz#5f206f4e6e041a4afc6691098264ba630bdeb7e2"
integrity sha512-/9QBxK8Tc12O2ojuyRpSMjPpXpqldVvzfNB1+/nPD+IkIBkU+mqxpHYJwKWjNYHGraCSy69mIwt9J3aiaJdz9w==
-cozy-ui@^122.0.1:
- version "122.0.1"
- resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-122.0.1.tgz#d7b4910d90a830ab92568ab0fa6bf0ca23837606"
- integrity sha512-lnuXZ8w5jPmMMri1gonDYd3K13Fz2qkHuOToiV3K3ZKQHBOyy/JNdKw4sX06vRBFwppm1Lym8S9+aJn+nfqn3A==
+cozy-ui@^122.3.0:
+ version "122.3.0"
+ resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-122.3.0.tgz#44266c56124a4e3162dd674afb8f86f9a12fe89c"
+ integrity sha512-QtH08YVsb3ueVq6G+XslFT7oeKAJn/brPy+VeRpYyv5VuWDSlcrSkQj8NlWg+mDGht0q5Z88k4/zNMyuGY0XtQ==
dependencies:
"@babel/runtime" "^7.3.4"
"@date-io/date-fns" "1"
@@ -7721,9 +7720,9 @@ ms@2.1.3, ms@^2.1.1, ms@^2.1.3:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
-"mui-bottom-sheet@https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
+"mui-bottom-sheet@git+https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
version "1.0.8"
- resolved "https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
+ resolved "git+https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
dependencies:
"@juggle/resize-observer" "^3.1.3"
jest-environment-jsdom-sixteen "^1.0.3"