Skip to content

Commit

Permalink
feat(cozy-sharing): 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`
  • Loading branch information
Merkur39 committed Dec 23, 2024
1 parent 4e19e94 commit b6d7c12
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 44 deletions.
8 changes: 4 additions & 4 deletions packages/cozy-sharing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"babel-jest": "26.6.3",
"babel-plugin-css-modules-transform": "1.6.2",
"babel-plugin-inline-react-svg": "1.1.2",
"cozy-client": "^51.4.0",
"cozy-ui": "^113.9.0",
"cozy-client": "^51.6.1",
"cozy-ui": "^115.0.2",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"enzyme-to-json": "3.6.2",
Expand All @@ -64,11 +64,11 @@
"storybook": "7.6.0"
},
"peerDependencies": {
"cozy-client": ">=51.4.0",
"cozy-client": ">=51.6.1",
"cozy-device-helper": ">=3.7.1",
"cozy-intent": ">=2.29.1",
"cozy-realtime": "^3.11.0",
"cozy-ui": ">=113.5.0",
"cozy-ui": ">=115.0.2",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-router": "^5.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const SharingDetailsModal = ({
/>
<div className={styles['share-details-created']}>
{t(`${documentType}.share.details.createdAt`, {
date: f(document.created_at || null, 'Do MMMM YYYY')
date: f(document.created_at || null, 'do LLLL yyyy')
})}
</div>
<div className={styles['share-details-perm']}>
Expand Down
48 changes: 9 additions & 39 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11113,16 +11113,16 @@ cozy-client@^51.0.1:
sift "^6.0.0"
url-search-params-polyfill "^8.0.0"

cozy-client@^51.4.0:
version "51.4.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-51.4.0.tgz#f25238014ec45c3f85f43f5781438034973ba7c6"
integrity sha512-hnkqU/1c7N4zDFFx+VN1AE2t6FQ1FfXAmHt6O+xMBMUfOwsnhiAcIsQ6Ty7qMsDyXTK6MYwB0LWnxxWaVDNUMw==
cozy-client@^51.6.0:
version "51.6.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-51.6.0.tgz#22f77a40f316011d8e8a298cc9d4cbc7cfdbbcc0"
integrity sha512-H0jhhju5jhoQHCiPZB2tfoRZb4QrhxfArNTRwLs5Lsd3+5WmtaSnPgbQUTBHWPRCv7qxP89Spz7eSgDmpdzA5Q==
dependencies:
"@cozy/minilog" "1.0.0"
"@types/jest" "^26.0.20"
"@types/lodash" "^4.14.170"
btoa "^1.2.1"
cozy-stack-client "^51.0.0"
cozy-stack-client "^51.6.0"
date-fns "2.29.3"
json-stable-stringify "^1.0.1"
lodash "^4.17.13"
Expand All @@ -11138,10 +11138,10 @@ cozy-client@^51.4.0:
sift "^6.0.0"
url-search-params-polyfill "^8.0.0"

cozy-client@^51.6.0:
version "51.6.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-51.6.0.tgz#22f77a40f316011d8e8a298cc9d4cbc7cfdbbcc0"
integrity sha512-H0jhhju5jhoQHCiPZB2tfoRZb4QrhxfArNTRwLs5Lsd3+5WmtaSnPgbQUTBHWPRCv7qxP89Spz7eSgDmpdzA5Q==
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"
Expand Down Expand Up @@ -11409,36 +11409,6 @@ cozy-ui@^113.1.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"
integrity sha512-ntENcdeTDy0Lkc2kW2FLCQHT4vE7/cxLzZ6H2oxce8kMWUQgZ3DnSswv6MYVXHLz7RfuGLO0f+3LLqxBjZZPXw==
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@^115.0.2:
version "115.0.2"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-115.0.2.tgz#8976de6e6141bd7255092f6e432ddacdb18d4689"
Expand Down

0 comments on commit b6d7c12

Please sign in to comment.