Skip to content

Commit

Permalink
feat(cozy-harvest): Upgrade cozy-ui to 115.0.2
Browse files Browse the repository at this point in the history
BREAKING CHANGE: You must have `cozy-ui >= 115.0.2`, `cozy-client >= 51.6.1`, `cozy-intent >= 2.29.1` & `cozy-viewer >= 11.0.0`
  • Loading branch information
Merkur39 committed Dec 23, 2024
1 parent aa9a1d8 commit 1747ced
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 46 deletions.
12 changes: 6 additions & 6 deletions packages/cozy-harvest-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@
"babel-jest": "26.6.3",
"babel-plugin-inline-react-svg": "1.1.2",
"babel-preset-cozy-app": "^2.8.1",
"cozy-client": "^50.0.0",
"cozy-client": "^51.6.1",
"cozy-device-helper": "^3.7.1",
"cozy-flags": "^4.6.1",
"cozy-intent": "^2.29.1",
"cozy-interapp": "^0.15.1",
"cozy-keys-lib": "^6.1.1",
"cozy-realtime": "^5.6.2",
"cozy-tsconfig": "^1.8.1",
"cozy-ui": "^113.1.0",
"cozy-ui": "^115.0.2",
"cozy-viewer": "^11.3.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
Expand All @@ -97,15 +97,15 @@
"peerDependencies": {
"@babel/runtime": ">=7.12.5",
"@sentry/react": ">=7.118.0",
"cozy-client": ">=50.0.0",
"cozy-client": ">=51.6.1",
"cozy-device-helper": ">=2.6.0",
"cozy-flags": ">=2.3.5",
"cozy-intent": ">=2.26.0",
"cozy-intent": ">=2.29.1",
"cozy-interapp": ">=0.9.0",
"cozy-keys-lib": ">=6.1.1",
"cozy-realtime": ">=4.2.8",
"cozy-ui": ">=112.2.0",
"cozy-viewer": ">=2.3.0",
"cozy-ui": ">=115.0.2",
"cozy-viewer": ">=11.0.0",
"leaflet": "^1.7.1",
"react-router-dom": ">=6.14.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-harvest-lib/src/datacards/FileDataCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const FileListItem = ({ divider, file, onClick, style }) => {
secondary={
<Typography variant="caption">
{t('datacards.files.imported', {
date: f(get(file, 'cozyMetadata.createdAt'), 'DD/MM/YYYY')
date: f(get(file, 'cozyMetadata.createdAt'), 'dd/LL/yyyy')
})}
</Typography>
}
Expand Down
6 changes: 3 additions & 3 deletions packages/cozy-harvest-lib/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"handle-synchronization": "Handle my synchronizations",
"desynchronized": {
"message": "you have desynchronized this account on %{date}",
"dateFormat": "MM/DD/YY"
"dateFormat": "LL/dd/yy"
}
},
"contractForm": {
Expand Down Expand Up @@ -100,7 +100,7 @@
"syncing": "Data recovery…",
"unknown": "Last sync. unknown",
"afterSomeTimes": "Sync. %{times} ago",
"format": "MM/DD/YYYY",
"format": "LL/dd/yyyy",
"disconnected": "Disconnected",
"justNow": "Sync. just now"
},
Expand Down Expand Up @@ -144,7 +144,7 @@
}
},
"default": {
"dateFormat": "MM/DD/YYYY",
"dateFormat": "LL/dd/yyyy",
"baseDir": "/Administrative"
},
"error": {
Expand Down
6 changes: 3 additions & 3 deletions packages/cozy-harvest-lib/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"handle-synchronization": "Gérer mes synchronisations",
"desynchronized": {
"message": "vous avez désynchronisé ce compte le %{date}",
"dateFormat": "DD/MM/YY"
"dateFormat": "dd/LL/yy"
}
},
"contractForm": {
Expand Down Expand Up @@ -100,7 +100,7 @@
"syncing": "Récupération des données…",
"unknown": "Dernière sync. inconnue",
"afterSomeTimes": "Sync. il y a %{times}",
"format": "DD/MM/YYYY",
"format": "dd/LL/yyyy",
"disconnected": "Déconnecté",
"justNow": "Sync. à l'instant"
},
Expand Down Expand Up @@ -144,7 +144,7 @@
}
},
"default": {
"dateFormat": "DD/MM/YYYY",
"dateFormat": "dd/LL/yyyy",
"baseDir": "/Administratif"
},
"error": {
Expand Down
6 changes: 3 additions & 3 deletions packages/cozy-harvest-lib/src/locales/nl_NL.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"handle-synchronization": "Synchronisaties beheren",
"desynchronized": {
"message": "je hebt de synchroniastie met dit account stopgezet op %{date}",
"dateFormat": "DD-MM-YYYY"
"dateFormat": "dd-LL-yyyy"
}
},
"contractForm": {
Expand Down Expand Up @@ -100,7 +100,7 @@
"syncing": "Gegevensherstel…",
"unknown": "Onbekend",
"afterSomeTimes": "%{times} geleden gesynchroniseerd",
"format": "DD-MM-YYYY",
"format": "dd-LL-yyyy",
"disconnected": "Losgekoppeld",
"justNow": "Zojuist gesynchroniseerd"
},
Expand Down Expand Up @@ -144,7 +144,7 @@
}
},
"default": {
"dateFormat": "DD-MM-YYYY",
"dateFormat": "dd-LL-yyyy",
"baseDir": "/Administratief"
},
"error": {
Expand Down
55 changes: 25 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11163,6 +11163,31 @@ cozy-client@^51.6.0:
sift "^6.0.0"
url-search-params-polyfill "^8.0.0"

cozy-client@^51.6.1:
version "51.6.1"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-51.6.1.tgz#55ba89c3ddedf47444ef2aa2799b5e6d12e04f76"
integrity sha512-++MbwaarzQWEpZIfbovWRNWcGWpWwhTC40S5CHjIDIZzSWKLe7mq2nhPw/cgeorj+JWSR7t6CoekJp9E2aOInQ==
dependencies:
"@cozy/minilog" "1.0.0"
"@types/jest" "^26.0.20"
"@types/lodash" "^4.14.170"
btoa "^1.2.1"
cozy-stack-client "^51.6.0"
date-fns "2.29.3"
json-stable-stringify "^1.0.1"
lodash "^4.17.13"
microee "^0.0.6"
node-fetch "^2.6.1"
node-polyglot "2.4.2"
open "7.4.2"
prop-types "^15.6.2"
react-redux "^7.2.0"
redux "3 || 4"
redux-thunk "^2.3.0"
server-destroy "^1.0.1"
sift "^6.0.0"
url-search-params-polyfill "^8.0.0"

[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/cozy-device-helper/-/cozy-device-helper-2.0.0.tgz#1d08b6cb74709ef941b4d8214f13a6dc7e3910ec"
Expand Down Expand Up @@ -11379,36 +11404,6 @@ cozy-ui@^111.19.0:
react-swipeable-views "^0.13.3"
rooks "^5.11.2"

cozy-ui@^113.1.0:
version "113.1.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-113.1.0.tgz#0623a55f92069a0959f0a72953d6b2d2c5ef3370"
integrity sha512-Wtq1Tw1D2qIcqPV1FhMFcW0P7DuJa9kgRu7WnxUwf6epYbhGceR0uRn9v1+UV3X4O09LNcjePeTD8exHAuLH9w==
dependencies:
"@babel/runtime" "^7.3.4"
"@material-ui/core" "4.12.3"
"@material-ui/lab" "^4.0.0-alpha.61"
"@popperjs/core" "^2.4.4"
chart.js "3.7.1"
classnames "^2.2.5"
cozy-interapp "^0.5.4"
date-fns "^1.28.5"
filesize "8.0.7"
hammerjs "^2.0.8"
intersection-observer "0.11.0"
mime-types "2.1.35"
mui-bottom-sheet "https://github.com/cozy/mui-bottom-sheet.git#v1.0.9"
node-polyglot "^2.5.0"
normalize.css "^8.0.0"
pdf-lib "1.17.1"
piwik-react-router "0.12.1"
react-chartjs-2 "4.1.0"
react-markdown "^4.0.8"
react-popper "^2.2.3"
react-remove-scroll "^2.4.0"
react-select "^4.3.0"
react-swipeable-views "^0.13.3"
rooks "^5.11.2"

cozy-ui@^113.9.0:
version "113.9.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-113.9.0.tgz#d41b80558c752ced8cc6c2421e2609fcc17254a2"
Expand Down

0 comments on commit 1747ced

Please sign in to comment.