From c4fdc65cf2e315087c32d82e3aaef698b7cca4ad Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 3 May 2023 15:06:05 +0200 Subject: [PATCH] Update snapshots --- .../test/__snapshots__/index.tsx.snap | 90 ++++++------------- 1 file changed, 28 insertions(+), 62 deletions(-) diff --git a/packages/components/src/toggle-group-control/test/__snapshots__/index.tsx.snap b/packages/components/src/toggle-group-control/test/__snapshots__/index.tsx.snap index be5b20d593954..cd51876178a3b 100644 --- a/packages/components/src/toggle-group-control/test/__snapshots__/index.tsx.snap +++ b/packages/components/src/toggle-group-control/test/__snapshots__/index.tsx.snap @@ -49,17 +49,9 @@ exports[`ToggleGroupControl should render correctly with icons 1`] = ` min-width: 0; padding: 2px; position: relative; - -webkit-transition: -webkit-transform 100ms linear; - transition: transform 100ms linear; min-height: 36px; } -@media ( prefers-reduced-motion: reduce ) { - .emotion-8 { - transition-duration: 0ms; - } -} - .emotion-8:hover { border-color: #757575; } @@ -72,24 +64,6 @@ exports[`ToggleGroupControl should render correctly with icons 1`] = ` } .emotion-10 { - background: #1e1e1e; - border-radius: 2px; - left: 0; - position: absolute; - top: 2px; - bottom: 2px; - -webkit-transition: -webkit-transform 160ms ease; - transition: transform 160ms ease; - z-index: 1; -} - -@media ( prefers-reduced-motion: reduce ) { - .emotion-10 { - transition-duration: 0ms; - } -} - -.emotion-12 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -102,7 +76,7 @@ exports[`ToggleGroupControl should render correctly with icons 1`] = ` flex: 1; } -.emotion-14 { +.emotion-12 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -148,24 +122,24 @@ exports[`ToggleGroupControl should render correctly with icons 1`] = ` } @media ( prefers-reduced-motion: reduce ) { - .emotion-14 { + .emotion-12 { transition-duration: 0ms; } } -.emotion-14::-moz-focus-inner { +.emotion-12::-moz-focus-inner { border: 0; } -.emotion-14:active { +.emotion-12:active { background: #fff; } -.emotion-14:active { +.emotion-12:active { background: transparent; } -.emotion-15 { +.emotion-13 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -174,7 +148,15 @@ exports[`ToggleGroupControl should render correctly with icons 1`] = ` line-height: 1; } -.emotion-19 { +.emotion-15 { + background: #1e1e1e; + border-radius: 2px; + position: absolute; + inset: 0; + z-index: 1; +} + +.emotion-18 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -219,16 +201,16 @@ exports[`ToggleGroupControl should render correctly with icons 1`] = ` } @media ( prefers-reduced-motion: reduce ) { - .emotion-19 { + .emotion-18 { transition-duration: 0ms; } } -.emotion-19::-moz-focus-inner { +.emotion-18::-moz-focus-inner { border: 0; } -.emotion-19:active { +.emotion-18:active { background: #fff; } @@ -256,22 +238,13 @@ exports[`ToggleGroupControl should render correctly with icons 1`] = ` id="toggle-group-control-as-radio-group-1" role="radiogroup" > -