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`] = `

@@ -7325,7 +7325,7 @@ exports[`LineChart renders correctly with timeline data 1`] = ` border-bottom: 1px solid #f6f5f7; } -.cache-fevtnc { +.cache-1q7g03k-CustomLegend { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -7333,7 +7333,7 @@ exports[`LineChart renders correctly with timeline data 1`] = ` padding: 4px 0; } -.cache-fevtnc>:not(:last-child) { +.cache-1q7g03k-CustomLegend>:not(:last-child) { margin-right: 8px; } @@ -7421,7 +7421,7 @@ exports[`LineChart renders correctly with timeline data 1`] = ` color: #4a4f62; } -.cache-ozhuv7 { +.cache-1wwhcz7-CustomLegend { margin-left: 16px; width: 32px; height: 2px; @@ -7508,7 +7508,7 @@ exports[`LineChart renders correctly with timeline data 1`] = ` class="cache-12617z7-CustomLegend" >
diff --git a/src/components/Menu/__tests__/__snapshots__/index.tsx.snap b/src/components/Menu/__tests__/__snapshots__/index.tsx.snap index 3da62f8a18..b9f8ee82a9 100644 --- a/src/components/Menu/__tests__/__snapshots__/index.tsx.snap +++ b/src/components/Menu/__tests__/__snapshots__/index.tsx.snap @@ -598,7 +598,7 @@ exports[`Menu placement renders "bottom" 1`] = ` box-shadow: 0 2px 5px 5px rgba(165,165,205,0.3); } -.cache-1avvh67 { +.cache-1foy029-Popper { background-color: #fff; display: -webkit-box; display: -webkit-flex; @@ -618,8 +618,8 @@ exports[`Menu placement renders "bottom" 1`] = ` box-shadow: 0 -1px 5px 3px rgba(165,165,205,0.15); } -.cache-1avvh67:after, -.cache-1avvh67:before { +.cache-1foy029-Popper:after, +.cache-1foy029-Popper:before { border: solid transparent; border-width: 9px; content: ' '; @@ -629,16 +629,16 @@ exports[`Menu placement renders "bottom" 1`] = ` pointer-events: none; } -.cache-1avvh67:after { +.cache-1foy029-Popper:after { border-color: rgba(255, 255, 255, 0); } -.cache-1avvh67:before { +.cache-1foy029-Popper:before { border-color: rgba(165, 165, 205, 0); } -.cache-1avvh67:after, -.cache-1avvh67:before { +.cache-1foy029-Popper:after, +.cache-1foy029-Popper:before { left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); @@ -646,21 +646,21 @@ exports[`Menu placement renders "bottom" 1`] = ` transform: translateX(-50%); } -.cache-1avvh67:after, -.cache-1avvh67:before { +.cache-1foy029-Popper:after, +.cache-1foy029-Popper:before { bottom: 100%; } -.cache-1avvh67:after { +.cache-1foy029-Popper:after { border-bottom-color: #fff; } -.cache-1avvh67:before { +.cache-1foy029-Popper:before { border-bottom-color: rgba(165, 165, 205, 0.4); } -.cache-1avvh67:after, -.cache-1avvh67:before { +.cache-1foy029-Popper:after, +.cache-1foy029-Popper:before { left: 50%; right: inherit; } @@ -765,7 +765,7 @@ exports[`Menu placement renders "bottom" 1`] = ` tabindex="-1" >