From 8a831110fbac3ac655f2cdd9db9af6bd6ebc7a2b Mon Sep 17 00:00:00 2001 From: evgenitsn Date: Thu, 21 Apr 2022 14:52:41 +0300 Subject: [PATCH] feat(PPDSC-2054): update snapshots --- .../audio-player-composable.test.tsx.snap | 60 +++++++++---------- .../__snapshots__/theme.test.ts.snap | 3 + 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/src/audio-player-composable/__tests__/__snapshots__/audio-player-composable.test.tsx.snap b/src/audio-player-composable/__tests__/__snapshots__/audio-player-composable.test.tsx.snap index bb9491476e..d6427e9f23 100644 --- a/src/audio-player-composable/__tests__/__snapshots__/audio-player-composable.test.tsx.snap +++ b/src/audio-player-composable/__tests__/__snapshots__/audio-player-composable.test.tsx.snap @@ -260,12 +260,12 @@ exports[`Audio Player Composable seekBar should renders and behaves as expected background-color: #3358CC; border-radius: 50%; opacity: 0; - width: 48px; - height: 48px; - -webkit-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -moz-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -ms-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - transform: translate3d(calc(48px / -2), calc(48px / -2), 0); + width: 32px; + height: 32px; + -webkit-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -moz-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -ms-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + transform: translate3d(calc(32px / -2), calc(32px / -2), 0); } .emotion-3:hover:not(:disabled) { @@ -937,12 +937,12 @@ exports[`Audio Player Composable seekBar should renders and behaves as expected background-color: #3358CC; border-radius: 50%; opacity: 0; - width: 48px; - height: 48px; - -webkit-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -moz-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -ms-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - transform: translate3d(calc(48px / -2), calc(48px / -2), 0); + width: 32px; + height: 32px; + -webkit-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -moz-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -ms-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + transform: translate3d(calc(32px / -2), calc(32px / -2), 0); } .emotion-1:hover:not(:disabled) { @@ -1080,12 +1080,12 @@ exports[`Audio Player Composable seekBar should renders with overrides 1`] = ` background-color: #3358CC; border-radius: 50%; opacity: 0; - width: 48px; - height: 48px; - -webkit-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -moz-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -ms-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - transform: translate3d(calc(48px / -2), calc(48px / -2), 0); + width: 32px; + height: 32px; + -webkit-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -moz-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -ms-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + transform: translate3d(calc(32px / -2), calc(32px / -2), 0); } .emotion-3:hover:not(:disabled) { @@ -1898,12 +1898,12 @@ exports[`Audio Player Composable should render correctly when in autoplay 1`] = background-color: #3358CC; border-radius: 50%; opacity: 0; - width: 48px; - height: 48px; - -webkit-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -moz-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -ms-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - transform: translate3d(calc(48px / -2), calc(48px / -2), 0); + width: 32px; + height: 32px; + -webkit-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -moz-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -ms-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + transform: translate3d(calc(32px / -2), calc(32px / -2), 0); } .emotion-3:hover:not(:disabled) { @@ -2245,12 +2245,12 @@ exports[`Audio Player Composable should render with no errors 1`] = ` background-color: #3358CC; border-radius: 50%; opacity: 0; - width: 48px; - height: 48px; - -webkit-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -moz-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - -ms-transform: translate3d(calc(48px / -2), calc(48px / -2), 0); - transform: translate3d(calc(48px / -2), calc(48px / -2), 0); + width: 32px; + height: 32px; + -webkit-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -moz-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + -ms-transform: translate3d(calc(32px / -2), calc(32px / -2), 0); + transform: translate3d(calc(32px / -2), calc(32px / -2), 0); } .emotion-3:hover:not(:disabled) { diff --git a/src/theme/__tests__/__snapshots__/theme.test.ts.snap b/src/theme/__tests__/__snapshots__/theme.test.ts.snap index f780c8d69b..5920ed5af8 100644 --- a/src/theme/__tests__/__snapshots__/theme.test.ts.snap +++ b/src/theme/__tests__/__snapshots__/theme.test.ts.snap @@ -1186,6 +1186,9 @@ Object { "stylePreset": "seekBarBuffering", }, "slider": Object { + "feedback": Object { + "size": "sizing060", + }, "indicator": Object { "stylePreset": "seekBarIndicator", },