From 2e020dc87b118db340c97eb961f1a7c62f3139b8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 Nov 2021 15:15:40 +0100 Subject: [PATCH] chore(devdeps): update emotion monorepo to v11.7.0 (#939) * chore(devdeps): update emotion monorepo to v11.7.0 * fix: upgrade jest helpers * fix: update snaps Co-authored-by: Renovate Bot Co-authored-by: Emmanuel Chambon --- package.json | 8 +- .../__tests__/__snapshots__/index.tsx.snap | 32 +- .../__tests__/__snapshots__/index.tsx.snap | 56 ++-- .../__tests__/__snapshots__/index.tsx.snap | 280 +++++++++--------- .../__snapshots__/index.test.tsx.snap | 18 +- .../__tests__/__snapshots__/index.tsx.snap | 74 ++--- .../__tests__/__snapshots__/index.tsx.snap | 76 ++--- .../__tests__/__snapshots__/index.tsx.snap | 148 ++++----- yarn.lock | 36 +-- 9 files changed, 364 insertions(+), 364 deletions(-) diff --git a/package.json b/package.json index 2090bbada9..a3e56a7983 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ } }, "peerDependencies": { - "@emotion/react": "11.6.0", + "@emotion/react": "11.7.0", "@emotion/styled": "11.6.0", "react": "17.0.2", "react-dom": "17.0.2" @@ -103,15 +103,15 @@ "@commitlint/config-conventional": "15.0.0", "@emotion/babel-preset-css-prop": "11.2.0", "@emotion/cache": "11.6.0", - "@emotion/eslint-plugin": "11.5.0", + "@emotion/eslint-plugin": "11.7.0", "@emotion/jest": "11.6.0", - "@emotion/react": "11.6.0", + "@emotion/react": "11.7.0", "@emotion/styled": "11.6.0", "@rollup/plugin-babel": "5.3.0", "@rollup/plugin-node-resolve": "13.0.6", "@rollup/plugin-url": "6.1.0", "@scaleway/eslint-config-react": "3.0.0", - "@scaleway/jest-helpers": "1.1.4", + "@scaleway/jest-helpers": "1.1.5", "@scaleway/use-i18n": "3.1.23", "@semantic-release/changelog": "6.0.1", "@semantic-release/commit-analyzer": "9.0.2", diff --git a/src/components/Container/__tests__/__snapshots__/index.tsx.snap b/src/components/Container/__tests__/__snapshots__/index.tsx.snap index 58e444bd72..3db9fbff91 100644 --- a/src/components/Container/__tests__/__snapshots__/index.tsx.snap +++ b/src/components/Container/__tests__/__snapshots__/index.tsx.snap @@ -49,7 +49,7 @@ exports[`Container renders correctly 1`] = ` margin-right: 16px; } -.cache-1jlksc5-Container { +.cache-h4rrr2 { padding: 24px; border-radius: 4px; border: 1px solid #d4dae7; @@ -62,11 +62,11 @@ exports[`Container renders correctly 1`] = ` cursor: default; } -.cache-1jlksc5-Container>* { +.cache-h4rrr2>* { margin-top: 0; } -.cache-1jlksc5-Container>*+* { +.cache-h4rrr2>*+* { margin-top: 16px; } @@ -86,7 +86,7 @@ exports[`Container renders correctly 1`] = ` Hello @@ -143,7 +143,7 @@ exports[`Container renders correctly on edition mode 1`] = ` margin-right: 16px; } -.cache-7hen1z-Container { +.cache-haz2zf { padding: 24px; border-radius: 4px; border: 1px solid #d4dae7; @@ -156,11 +156,11 @@ exports[`Container renders correctly on edition mode 1`] = ` cursor: default; } -.cache-7hen1z-Container>* { +.cache-haz2zf>* { margin-top: 0; } -.cache-7hen1z-Container>*+* { +.cache-haz2zf>*+* { margin-top: 16px; } @@ -180,7 +180,7 @@ exports[`Container renders correctly on edition mode 1`] = ` Hello @@ -237,7 +237,7 @@ exports[`Container renders correctly when disabled 1`] = ` margin-right: 16px; } -.cache-1e4v6x2-Container { +.cache-1v21s23 { padding: 24px; border-radius: 4px; border: 1px solid #d4dae7; @@ -250,11 +250,11 @@ exports[`Container renders correctly when disabled 1`] = ` cursor: not-allowed; } -.cache-1e4v6x2-Container>* { +.cache-1v21s23>* { margin-top: 0; } -.cache-1e4v6x2-Container>*+* { +.cache-1v21s23>*+* { margin-top: 16px; } @@ -274,7 +274,7 @@ exports[`Container renders correctly when disabled 1`] = ` Hello @@ -332,7 +332,7 @@ exports[`Container renders correctly with small variant 1`] = ` margin-right: 16px; } -.cache-1p72hfy-Container { +.cache-wwboek { padding: 24px; border-radius: 4px; border: 1px solid #d4dae7; @@ -345,11 +345,11 @@ exports[`Container renders correctly with small variant 1`] = ` cursor: default; } -.cache-1p72hfy-Container>* { +.cache-wwboek>* { margin-top: 0; } -.cache-1p72hfy-Container>*+* { +.cache-wwboek>*+* { margin-top: 16px; } @@ -369,7 +369,7 @@ exports[`Container renders correctly with small variant 1`] = ` Hello diff --git a/src/components/LineChart/__tests__/__snapshots__/index.tsx.snap b/src/components/LineChart/__tests__/__snapshots__/index.tsx.snap index e964fd4580..189e6bb8a0 100644 --- a/src/components/LineChart/__tests__/__snapshots__/index.tsx.snap +++ b/src/components/LineChart/__tests__/__snapshots__/index.tsx.snap @@ -732,7 +732,7 @@ exports[`LineChart renders correctly when chart is hovered 1`] = ` border-bottom: 1px solid #f6f5f7; } -.cache-fevtnc { +.cache-1q7g03k-CustomLegend { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -740,7 +740,7 @@ exports[`LineChart renders correctly when chart is hovered 1`] = ` padding: 4px 0; } -.cache-fevtnc>:not(:last-child) { +.cache-1q7g03k-CustomLegend>:not(:last-child) { margin-right: 8px; } @@ -828,7 +828,7 @@ exports[`LineChart renders correctly when chart is hovered 1`] = ` color: #4a4f62; } -.cache-ozhuv7 { +.cache-1wwhcz7-CustomLegend { margin-left: 16px; width: 32px; height: 2px; @@ -915,7 +915,7 @@ exports[`LineChart renders correctly when chart is hovered 1`] = ` class="cache-12617z7-CustomLegend" > @@ -1660,7 +1660,7 @@ exports[`LineChart renders correctly when legend is deselected 1`] = ` border-bottom: 1px solid #f6f5f7; } -.cache-fevtnc { +.cache-1q7g03k-CustomLegend { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1668,7 +1668,7 @@ exports[`LineChart renders correctly when legend is deselected 1`] = ` padding: 4px 0; } -.cache-fevtnc>:not(:last-child) { +.cache-1q7g03k-CustomLegend>:not(:last-child) { margin-right: 8px; } @@ -1756,7 +1756,7 @@ exports[`LineChart renders correctly when legend is deselected 1`] = ` color: #4a4f62; } -.cache-ozhuv7 { +.cache-1wwhcz7-CustomLegend { margin-left: 16px; width: 32px; height: 2px; @@ -1843,7 +1843,7 @@ exports[`LineChart renders correctly when legend is deselected 1`] = ` class="cache-12617z7-CustomLegend" > @@ -4025,7 +4025,7 @@ exports[`LineChart renders correctly with detailed legend 1`] = ` border-bottom: 1px solid #f6f5f7; } -.cache-fevtnc { +.cache-1q7g03k-CustomLegend { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4033,7 +4033,7 @@ exports[`LineChart renders correctly with detailed legend 1`] = ` padding: 4px 0; } -.cache-fevtnc>:not(:last-child) { +.cache-1q7g03k-CustomLegend>:not(:last-child) { margin-right: 8px; } @@ -4121,7 +4121,7 @@ exports[`LineChart renders correctly with detailed legend 1`] = ` color: #4a4f62; } -.cache-ozhuv7 { +.cache-1wwhcz7-CustomLegend { margin-left: 16px; width: 32px; height: 2px; @@ -4208,7 +4208,7 @@ exports[`LineChart renders correctly with detailed legend 1`] = ` class="cache-12617z7-CustomLegend" > @@ -5384,7 +5384,7 @@ exports[`LineChart renders correctly with multiple series 1`] = ` border-bottom: 1px solid #f6f5f7; } -.cache-fevtnc { +.cache-1q7g03k-CustomLegend { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -5392,7 +5392,7 @@ exports[`LineChart renders correctly with multiple series 1`] = ` padding: 4px 0; } -.cache-fevtnc>:not(:last-child) { +.cache-1q7g03k-CustomLegend>:not(:last-child) { margin-right: 8px; } @@ -5480,7 +5480,7 @@ exports[`LineChart renders correctly with multiple series 1`] = ` color: #4a4f62; } -.cache-ozhuv7 { +.cache-1wwhcz7-CustomLegend { margin-left: 16px; width: 32px; height: 2px; @@ -5531,7 +5531,7 @@ exports[`LineChart renders correctly with multiple series 1`] = ` color: #4a4f62; } -.cache-13a56l { +.cache-8hr9vu-CustomLegend { margin-left: 16px; width: 32px; height: 2px; @@ -5574,7 +5574,7 @@ exports[`LineChart renders correctly with multiple series 1`] = ` class="cache-12617z7-CustomLegend" > @@ -5650,7 +5650,7 @@ exports[`LineChart renders correctly with multiple series 1`] = `
diff --git a/src/components/StatusIndicator/__tests__/__snapshots__/index.tsx.snap b/src/components/StatusIndicator/__tests__/__snapshots__/index.tsx.snap index 3deb561d21..563760e537 100644 --- a/src/components/StatusIndicator/__tests__/__snapshots__/index.tsx.snap +++ b/src/components/StatusIndicator/__tests__/__snapshots__/index.tsx.snap @@ -34,7 +34,7 @@ exports[`StatusIndicator render animated 1`] = ` exports[`StatusIndicator render available 1`] = ` - .cache-c1ktzk-StatusIndicator { + .cache-1avkw60 { display: inline-block; border-radius: 50%; width: 10px; @@ -43,14 +43,14 @@ exports[`StatusIndicator render available 1`] = ` } `; exports[`StatusIndicator render creating 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -59,14 +59,14 @@ exports[`StatusIndicator render creating 1`] = ` } `; exports[`StatusIndicator render deleting 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -75,14 +75,14 @@ exports[`StatusIndicator render deleting 1`] = ` } `; exports[`StatusIndicator render deployed 1`] = ` - .cache-c1ktzk-StatusIndicator { + .cache-1avkw60 { display: inline-block; border-radius: 50%; width: 10px; @@ -91,14 +91,14 @@ exports[`StatusIndicator render deployed 1`] = ` } `; exports[`StatusIndicator render disk_full 1`] = ` - .cache-3na4b1-StatusIndicator { + .cache-qgc2qw { display: inline-block; border-radius: 50%; width: 10px; @@ -107,14 +107,14 @@ exports[`StatusIndicator render disk_full 1`] = ` } `; exports[`StatusIndicator render error 1`] = ` - .cache-3na4b1-StatusIndicator { + .cache-qgc2qw { display: inline-block; border-radius: 50%; width: 10px; @@ -123,14 +123,14 @@ exports[`StatusIndicator render error 1`] = ` } `; exports[`StatusIndicator render locked 1`] = ` - .cache-3na4b1-StatusIndicator { + .cache-qgc2qw { display: inline-block; border-radius: 50%; width: 10px; @@ -139,14 +139,14 @@ exports[`StatusIndicator render locked 1`] = ` } `; exports[`StatusIndicator render pending 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -155,14 +155,14 @@ exports[`StatusIndicator render pending 1`] = ` } `; exports[`StatusIndicator render ready 1`] = ` - .cache-c1ktzk-StatusIndicator { + .cache-1avkw60 { display: inline-block; border-radius: 50%; width: 10px; @@ -171,14 +171,14 @@ exports[`StatusIndicator render ready 1`] = ` } `; exports[`StatusIndicator render running 1`] = ` - .cache-c1ktzk-StatusIndicator { + .cache-1avkw60 { display: inline-block; border-radius: 50%; width: 10px; @@ -187,14 +187,14 @@ exports[`StatusIndicator render running 1`] = ` } `; exports[`StatusIndicator render snapshotting 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -203,14 +203,14 @@ exports[`StatusIndicator render snapshotting 1`] = ` } `; exports[`StatusIndicator render starting 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -219,14 +219,14 @@ exports[`StatusIndicator render starting 1`] = ` } `; exports[`StatusIndicator render stopped 1`] = ` - .cache-1aoiwak-StatusIndicator { + .cache-otih8l { display: inline-block; border-radius: 50%; width: 10px; @@ -235,14 +235,14 @@ exports[`StatusIndicator render stopped 1`] = ` } `; exports[`StatusIndicator render stopped_in_place 1`] = ` - .cache-183lxe4-StatusIndicator { + .cache-86irys { display: inline-block; border-radius: 50%; width: 10px; @@ -251,14 +251,14 @@ exports[`StatusIndicator render stopped_in_place 1`] = ` } `; exports[`StatusIndicator render stopping 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -267,14 +267,14 @@ exports[`StatusIndicator render stopping 1`] = ` } `; exports[`StatusIndicator render unavailable 1`] = ` - .cache-3na4b1-StatusIndicator { + .cache-qgc2qw { display: inline-block; border-radius: 50%; width: 10px; @@ -283,14 +283,14 @@ exports[`StatusIndicator render unavailable 1`] = ` } `; exports[`StatusIndicator render unknow 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -299,14 +299,14 @@ exports[`StatusIndicator render unknow 1`] = ` } `; exports[`StatusIndicator render updating 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -315,14 +315,14 @@ exports[`StatusIndicator render updating 1`] = ` } `; exports[`StatusIndicator render warning 1`] = ` - .cache-q5x4l5-StatusIndicator { + .cache-1c0b7ua { display: inline-block; border-radius: 50%; width: 10px; @@ -331,7 +331,7 @@ exports[`StatusIndicator render warning 1`] = ` } `; diff --git a/src/components/VerificationCode/__tests__/__snapshots__/index.tsx.snap b/src/components/VerificationCode/__tests__/__snapshots__/index.tsx.snap index 17a9c1bfee..18f2307377 100644 --- a/src/components/VerificationCode/__tests__/__snapshots__/index.tsx.snap +++ b/src/components/VerificationCode/__tests__/__snapshots__/index.tsx.snap @@ -2,7 +2,7 @@ exports[`VerificationCode renders correctly with default values 1`] = ` - .cache-1vqp5lt { + .cache-15e247j-VerificationCode { border: solid 1px #dce1eb; font-size: 24px; color: #4a4f62; @@ -13,23 +13,23 @@ exports[`VerificationCode renders correctly with default values 1`] = ` height: 64px; } -.cache-1vqp5lt:last-child { +.cache-15e247j-VerificationCode:last-child { margin-right: 0; } -.cache-1vqp5lt::-webkit-input-placeholder { +.cache-15e247j-VerificationCode::-webkit-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::-moz-placeholder { +.cache-15e247j-VerificationCode::-moz-placeholder { color: #dce1eb; } -.cache-1vqp5lt:-ms-input-placeholder { +.cache-15e247j-VerificationCode:-ms-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::placeholder { +.cache-15e247j-VerificationCode::placeholder { color: #dce1eb; } @@ -38,7 +38,7 @@ exports[`VerificationCode renders correctly with default values 1`] = ` > - .cache-1vqp5lt { + .cache-15e247j-VerificationCode { border: solid 1px #dce1eb; font-size: 24px; color: #4a4f62; @@ -93,23 +93,23 @@ exports[`VerificationCode renders correctly with initial value and placeholder a height: 64px; } -.cache-1vqp5lt:last-child { +.cache-15e247j-VerificationCode:last-child { margin-right: 0; } -.cache-1vqp5lt::-webkit-input-placeholder { +.cache-15e247j-VerificationCode::-webkit-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::-moz-placeholder { +.cache-15e247j-VerificationCode::-moz-placeholder { color: #dce1eb; } -.cache-1vqp5lt:-ms-input-placeholder { +.cache-15e247j-VerificationCode:-ms-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::placeholder { +.cache-15e247j-VerificationCode::placeholder { color: #dce1eb; } @@ -118,7 +118,7 @@ exports[`VerificationCode renders correctly with initial value and placeholder a > - .cache-1vqp5lt { + .cache-15e247j-VerificationCode { border: solid 1px #dce1eb; font-size: 24px; color: #4a4f62; @@ -193,23 +193,23 @@ exports[`VerificationCode should handle and replace non number with "" when type height: 64px; } -.cache-1vqp5lt:last-child { +.cache-15e247j-VerificationCode:last-child { margin-right: 0; } -.cache-1vqp5lt::-webkit-input-placeholder { +.cache-15e247j-VerificationCode::-webkit-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::-moz-placeholder { +.cache-15e247j-VerificationCode::-moz-placeholder { color: #dce1eb; } -.cache-1vqp5lt:-ms-input-placeholder { +.cache-15e247j-VerificationCode:-ms-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::placeholder { +.cache-15e247j-VerificationCode::placeholder { color: #dce1eb; } @@ -218,7 +218,7 @@ exports[`VerificationCode should handle and replace non number with "" when type > - .cache-1vqp5lt { + .cache-15e247j-VerificationCode { border: solid 1px #dce1eb; font-size: 24px; color: #4a4f62; @@ -273,23 +273,23 @@ exports[`VerificationCode should handle paste when type is not number 1`] = ` height: 64px; } -.cache-1vqp5lt:last-child { +.cache-15e247j-VerificationCode:last-child { margin-right: 0; } -.cache-1vqp5lt::-webkit-input-placeholder { +.cache-15e247j-VerificationCode::-webkit-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::-moz-placeholder { +.cache-15e247j-VerificationCode::-moz-placeholder { color: #dce1eb; } -.cache-1vqp5lt:-ms-input-placeholder { +.cache-15e247j-VerificationCode:-ms-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::placeholder { +.cache-15e247j-VerificationCode::placeholder { color: #dce1eb; } @@ -298,7 +298,7 @@ exports[`VerificationCode should handle paste when type is not number 1`] = ` > - .cache-1vqp5lt { + .cache-15e247j-VerificationCode { border: solid 1px #dce1eb; font-size: 24px; color: #4a4f62; @@ -367,23 +367,23 @@ exports[`VerificationCode should handle paste with no overflowing values 1`] = ` height: 64px; } -.cache-1vqp5lt:last-child { +.cache-15e247j-VerificationCode:last-child { margin-right: 0; } -.cache-1vqp5lt::-webkit-input-placeholder { +.cache-15e247j-VerificationCode::-webkit-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::-moz-placeholder { +.cache-15e247j-VerificationCode::-moz-placeholder { color: #dce1eb; } -.cache-1vqp5lt:-ms-input-placeholder { +.cache-15e247j-VerificationCode:-ms-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::placeholder { +.cache-15e247j-VerificationCode::placeholder { color: #dce1eb; } @@ -392,7 +392,7 @@ exports[`VerificationCode should handle paste with no overflowing values 1`] = ` > - .cache-1vqp5lt { + .cache-15e247j-VerificationCode { border: solid 1px #dce1eb; font-size: 24px; color: #4a4f62; @@ -447,23 +447,23 @@ exports[`VerificationCode should handle paste with overflowing values 1`] = ` height: 64px; } -.cache-1vqp5lt:last-child { +.cache-15e247j-VerificationCode:last-child { margin-right: 0; } -.cache-1vqp5lt::-webkit-input-placeholder { +.cache-15e247j-VerificationCode::-webkit-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::-moz-placeholder { +.cache-15e247j-VerificationCode::-moz-placeholder { color: #dce1eb; } -.cache-1vqp5lt:-ms-input-placeholder { +.cache-15e247j-VerificationCode:-ms-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::placeholder { +.cache-15e247j-VerificationCode::placeholder { color: #dce1eb; } @@ -472,7 +472,7 @@ exports[`VerificationCode should handle paste with overflowing values 1`] = ` > - .cache-1vqp5lt { + .cache-15e247j-VerificationCode { border: solid 1px #dce1eb; font-size: 24px; color: #4a4f62; @@ -527,23 +527,23 @@ exports[`VerificationCode should handle paste with overflowing values at differe height: 64px; } -.cache-1vqp5lt:last-child { +.cache-15e247j-VerificationCode:last-child { margin-right: 0; } -.cache-1vqp5lt::-webkit-input-placeholder { +.cache-15e247j-VerificationCode::-webkit-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::-moz-placeholder { +.cache-15e247j-VerificationCode::-moz-placeholder { color: #dce1eb; } -.cache-1vqp5lt:-ms-input-placeholder { +.cache-15e247j-VerificationCode:-ms-input-placeholder { color: #dce1eb; } -.cache-1vqp5lt::placeholder { +.cache-15e247j-VerificationCode::placeholder { color: #dce1eb; } @@ -552,7 +552,7 @@ exports[`VerificationCode should handle paste with overflowing values at differe >