Skip to content

Commit

Permalink
feat: Update cozy-ui
Browse files Browse the repository at this point in the history
Use ^ for peerDeps and exact version for devDep
  • Loading branch information
ptbrowne committed Jul 15, 2020
1 parent 923f7ae commit a8710f9
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 117 deletions.
4 changes: 2 additions & 2 deletions packages/cozy-authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"babel-plugin-css-modules-transform": "^1.6.2",
"babel-preset-cozy-app": "^1.8.1",
"cozy-client": "6.66.0",
"cozy-ui": "22.14.1",
"cozy-ui": "35.28.0",
"cssnano-preset-advanced": "^4.0.7",
"date-fns": "^1.29.0",
"enzyme": "3.11.0",
Expand Down Expand Up @@ -71,7 +71,7 @@
},
"peerDependencies": {
"cozy-client": "6.66.0",
"cozy-ui": "^22.4.0",
"cozy-ui": "^35.28.0",
"react": ">=15",
"react-router": "3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/cozy-harvest-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"cozy-device-helper": "^1.9.2",
"cozy-keys-lib": "^3.1.0",
"cozy-realtime": "^3.9.0",
"cozy-ui": "30.7.0",
"cozy-ui": "35.28.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"form-data": "3.0.0",
Expand All @@ -72,7 +72,7 @@
"cozy-device-helper": "1.7.1",
"cozy-keys-lib": "^3.1.0",
"cozy-realtime": "^3.1.0",
"cozy-ui": "^29.2.1"
"cozy-ui": "^35.28.0"
},
"sideEffects": false
}
4 changes: 3 additions & 1 deletion packages/cozy-notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
"watch": "yarn build --watch"
},
"dependencies": {
"cozy-ui": "27.11.2",
"handlebars": "4.1.2",
"handlebars-layouts": "3.1.4",
"lodash": "4.17.15",
"mjml": "4.3.1",
"word-wrap": "^1.2.3"
},
"peerDependencies": {
"cozy-ui": "^35.28.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"babel-jest": "^24.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cozy-procedures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@material-ui/lab": "^3.0.0-alpha.30",
"babel-plugin-inline-react-svg": "^1.1.0",
"cozy-client": "6.66.0",
"cozy-ui": "27.11.2",
"cozy-ui": "^35.28.0",
"enzyme-to-json": "3.4.4",
"jest": "24.8.0",
"react": "^16.12.0"
Expand All @@ -49,7 +49,7 @@
"@material-ui/lab": "^3.0.0-alpha.30",
"cozy-client": "6.66.0",
"cozy-doctypes": "^1.49.3",
"cozy-ui": "^27.11.2"
"cozy-ui": "35.28.0"
},
"jest": {
"setupFiles": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ exports[`CompletedFromDriveStatus component should display a status if there are
<div
className="u-mt-1-half u-ml-half u-mr-half u-ta-center"
>
<Bold
<ForwardRef(Bold)
className="u-weirdGreen"
ellipsis={false}
tag="span"
>
<BaseText
<ForwardRef
className="u-title-h4 u-weirdGreen"
ellipsis={false}
tag="span"
Expand All @@ -24,8 +24,8 @@ exports[`CompletedFromDriveStatus component should display a status if there are
>
documents.completedStatus.main {"smart_count":5,"total":10}
</span>
</BaseText>
</Bold>
</ForwardRef>
</ForwardRef(Bold)>
documents.completedStatus.rest {"smart_count":5}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ exports[`CompletedFromMyselfStatus component should display a status if there ar
<div
className="u-mt-1-half u-ml-half u-mr-half u-ta-center"
>
<Bold
<ForwardRef(Bold)
className="u-weirdGreen"
ellipsis={false}
tag="span"
>
<BaseText
<ForwardRef
className="u-title-h4 u-weirdGreen"
ellipsis={false}
tag="span"
Expand All @@ -24,8 +24,8 @@ exports[`CompletedFromMyselfStatus component should display a status if there ar
>
personalDataForm.completedStatus.main {"smart_count":5,"total":10}
</span>
</BaseText>
</Bold>
</ForwardRef>
</ForwardRef(Bold)>
personalDataForm.completedStatus.rest {"smart_count":5}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ exports[`InputWithUnit component should match snapshot 1`] = `
<div>
<InputGroup
append={
<Text
<ForwardRef
className="u-pr-1"
ellipsis={false}
tag="div"
>
</Text>
</ForwardRef>
}
error={false}
fullwidth={false}
Expand Down
4 changes: 2 additions & 2 deletions packages/cozy-scanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"babel-jest": "^24.9.0",
"babel-preset-cozy-app": "^1.8.1",
"cozy-doctypes": "1.67.0",
"cozy-ui": "^35.13.0",
"cozy-ui": "35.28.0",
"jest": "24.1.0",
"jest-dom": "^4.0.0",
"mockdate": "^2.0.5",
Expand All @@ -42,7 +42,7 @@
"peerDependencies": {
"cozy-client": "7.14.0",
"cozy-doctypes": "1.67.0",
"cozy-ui": "^35.13.0"
"cozy-ui": "^35.28.0"
},
"jest": {
"transformIgnorePatterns": [
Expand Down
8 changes: 4 additions & 4 deletions packages/cozy-scanner/src/DocumentQualification.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ export class DocumentQualification extends Component {
const { onDescribed } = this.props
if (onDescribed) {
const realItem = getItemById(item.itemId)
/* ATM, we only accept JPG extension from the scanner. So
we hardcode the filename extension here.
/* ATM, we only accept JPG extension from the scanner. So
we hardcode the filename extension here.
If we can't edit file name, then we don't need to use the
generated filename
If we can't edit file name, then we don't need to use the
generated filename
*/
if (allowEditFileName) {
onDescribed(realItem ? realItem : undefined, filename + fileExtension)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ exports[`DocumentCategory should match snapshot if selected and icon 2`] = `
class="styles__media___cSJMp styles__media--top___K9w0I styles__c-actionmenu-item___gODqd"
>
<div
class="styles__bd___1Uv-F u-mh-1"
class="styles__bd___1Uv-F u-mh-1 u-stack-xs"
>
Scan.items.Label1
</div>
Expand All @@ -124,7 +124,7 @@ exports[`DocumentCategory should match snapshot if selected and icon 2`] = `
class="styles__media___cSJMp styles__media--top___K9w0I styles__c-actionmenu-item___gODqd"
>
<div
class="styles__bd___1Uv-F u-mh-1"
class="styles__bd___1Uv-F u-mh-1 u-stack-xs"
>
Scan.items.Label2
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/cozy-sharing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"babel-jest": "^24.9.0",
"babel-plugin-css-modules-transform": "^1.6.2",
"cozy-client": "^13.4.2",
"cozy-ui": "^35.1.0",
"cozy-ui": "35.28.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"enzyme-to-json": "3.4.4",
Expand All @@ -49,7 +49,7 @@
},
"peerDependencies": {
"cozy-client": "^13.4.2",
"cozy-ui": "^35.1.0",
"cozy-ui": "^35.28.0",
"prop-types": "^15.7.2",
"react": "^16.12.0"
},
Expand Down
91 changes: 1 addition & 90 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5440,60 +5440,7 @@ cozy-stack-client@^9.2.0:
mime "^2.4.0"
qs "^6.7.0"

[email protected]:
version "22.14.1"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-22.14.1.tgz#3a975825667a4524cbe5099f8a92966e45de4557"
integrity sha512-zuZ4dkfRdAs+MFvllD/UQiwRx9+Q3Ym+8bgc1sVr5XjFbB+uOI1hY/fXHbiWjX1JL7/LGwrE+Lvr0+gLkzrf8Q==
dependencies:
"@babel/runtime" "^7.3.4"
body-scroll-lock "^2.5.8"
classnames "^2.2.5"
date-fns "^1.28.5"
hammerjs "^2.0.8"
node-polyglot "^2.2.2"
normalize.css "^7.0.0"
react-hot-loader "^4.3.11"
react-markdown "^4.0.8"
react-pdf "^4.0.5"
react-select "2.2.0"

[email protected]:
version "27.11.2"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-27.11.2.tgz#4e79e25049848f3b225d36cd341a29046701b6df"
integrity sha512-dFQTQ5vftNXfKBdsa3gYa/3t+KCaSLk38x8w8X+KjzfMdrj2Yx2XaC2HFk5eOvVu4wj9YG0KN7aCKJepg2/SKg==
dependencies:
"@babel/runtime" "^7.3.4"
body-scroll-lock "^2.5.8"
classnames "^2.2.5"
date-fns "^1.28.5"
hammerjs "^2.0.8"
node-polyglot "^2.2.2"
normalize.css "^7.0.0"
react-hot-loader "^4.3.11"
react-markdown "^4.0.8"
react-pdf "^4.0.5"
react-select "2.2.0"
react-swipeable-views "0.13.3"

[email protected]:
version "30.7.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-30.7.0.tgz#5d736c96e272a739908b1dcf7852b573c58b89ea"
integrity sha512-aylBjrekV2eA8Sx84hY8AjFGunHkR/tVRJBGx1/CavYIffLj6DVttPwNdz/j2V1YbI1U5kgMN1MXZ7PQLZo8ng==
dependencies:
"@babel/runtime" "^7.3.4"
body-scroll-lock "^2.5.8"
classnames "^2.2.5"
date-fns "^1.28.5"
hammerjs "^2.0.8"
node-polyglot "^2.2.2"
normalize.css "^7.0.0"
react-hot-loader "^4.3.11"
react-markdown "^4.0.8"
react-pdf "^4.0.5"
react-select "2.2.0"
react-swipeable-views "0.13.3"

[email protected]:
[email protected], cozy-ui@^35.28.0:
version "35.28.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-35.28.0.tgz#d0e1d02924df15b4c46cefd6b4407552980ae3e9"
integrity sha512-udF40VMSZc2XpXidGgK2MrN1mipvmfTSzWPjpyCDdXoTfxckeHwmR04yW+vDncbM1kpDxVRn3XxJOFUOouuQFQ==
Expand All @@ -5511,42 +5458,6 @@ [email protected]:
react-select "2.2.0"
react-swipeable-views "0.13.3"

cozy-ui@^35.1.0:
version "35.1.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-35.1.0.tgz#df5dd3e601c8d2b73860b03e6924ee986c7ea477"
integrity sha512-F9husNZbFFfI6LzMi9nZpub7RyYdbsK5mQ1DPfxRRGZREF0ujNPoprIuEznKA2tG8KZYj5Ry+xZqeBh1Kxp9AA==
dependencies:
"@babel/runtime" "^7.3.4"
body-scroll-lock "^2.5.8"
classnames "^2.2.5"
date-fns "^1.28.5"
hammerjs "^2.0.8"
node-polyglot "^2.2.2"
normalize.css "^7.0.0"
react-hot-loader "^4.3.11"
react-markdown "^4.0.8"
react-pdf "^4.0.5"
react-select "2.2.0"
react-swipeable-views "0.13.3"

cozy-ui@^35.13.0:
version "35.19.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-35.19.0.tgz#cec3cdc74d1f5067c35210996f60302b726ff6ec"
integrity sha512-UsWHYVsQRZB8VAxvAc9kCaSlB08Fm0iG/kNPbTlYozchl1x04T1KeVsCM2DfHrryhJyRZ0iLGfMSzGqWOuovyg==
dependencies:
"@babel/runtime" "^7.3.4"
body-scroll-lock "^2.5.8"
classnames "^2.2.5"
date-fns "^1.28.5"
hammerjs "^2.0.8"
node-polyglot "^2.2.2"
normalize.css "^7.0.0"
react-hot-loader "^4.3.11"
react-markdown "^4.0.8"
react-pdf "^4.0.5"
react-select "2.2.0"
react-swipeable-views "0.13.3"

create-ecdh@^4.0.0:
version "4.0.3"
resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
Expand Down

0 comments on commit a8710f9

Please sign in to comment.