From 2e6d06091d89728e55bc3b11d5a8d5ce3476ac1b Mon Sep 17 00:00:00 2001 From: kostasdano Date: Mon, 6 Nov 2023 14:43:54 +0200 Subject: [PATCH] feat: snapshots --- .../Menu/__snapshots__/Menu.stories.storyshot | 568 ++++++++++-------- .../__snapshots__/TopAppBar.stories.storyshot | 296 +++++---- .../__snapshots__/TopAppBar.test.tsx.snap | 154 +++-- 3 files changed, 569 insertions(+), 449 deletions(-) diff --git a/src/components/Menu/__snapshots__/Menu.stories.storyshot b/src/components/Menu/__snapshots__/Menu.stories.storyshot index 0db86e5e0..fc124ca65 100644 --- a/src/components/Menu/__snapshots__/Menu.stories.storyshot +++ b/src/components/Menu/__snapshots__/Menu.stories.storyshot @@ -31,8 +31,15 @@ exports[`Storyshots Original Components/Menu Disabled Menu 1`] = ` } .emotion-3 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-3 #unique-tooltip-id { + display: none!important; } .emotion-4 { @@ -181,43 +188,45 @@ exports[`Storyshots Original Components/Menu Disabled Menu 1`] = ` } >
-
+
- + +
@@ -258,8 +267,15 @@ exports[`Storyshots Original Components/Menu Menu with avatar and different butt } .emotion-3 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-3 #unique-tooltip-id { + display: none!important; } .emotion-4 { @@ -418,43 +434,45 @@ exports[`Storyshots Original Components/Menu Menu with avatar and different butt } >
-
+
- + +
@@ -467,45 +485,47 @@ exports[`Storyshots Original Components/Menu Menu with avatar and different butt } >
-
+
- + +
@@ -518,50 +538,52 @@ exports[`Storyshots Original Components/Menu Menu with avatar and different butt } >
-
+
- + +
@@ -574,50 +596,52 @@ exports[`Storyshots Original Components/Menu Menu with avatar and different butt } >
-
+
- + +
@@ -658,8 +682,15 @@ exports[`Storyshots Original Components/Menu Menu with option icon and different } .emotion-3 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-3 #unique-tooltip-id { + display: none!important; } .emotion-4 { @@ -818,50 +849,52 @@ exports[`Storyshots Original Components/Menu Menu with option icon and different } >
-
+
- + +
@@ -874,50 +907,52 @@ exports[`Storyshots Original Components/Menu Menu with option icon and different } >
-
+
- + +
@@ -930,50 +965,52 @@ exports[`Storyshots Original Components/Menu Menu with option icon and different } >
-
+
- + +
@@ -1000,8 +1037,15 @@ exports[`Storyshots Original Components/Menu Menu with selection handler 1`] = ` } .emotion-2 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-2 #unique-tooltip-id { + display: none!important; } .emotion-3 { @@ -1075,29 +1119,31 @@ exports[`Storyshots Original Components/Menu Menu with selection handler 1`] = `
-
+
- + +
diff --git a/src/components/TopAppBar/__snapshots__/TopAppBar.stories.storyshot b/src/components/TopAppBar/__snapshots__/TopAppBar.stories.storyshot index bbe807e27..06b2bbbbb 100644 --- a/src/components/TopAppBar/__snapshots__/TopAppBar.stories.storyshot +++ b/src/components/TopAppBar/__snapshots__/TopAppBar.stories.storyshot @@ -212,8 +212,15 @@ exports[`Storyshots Original Components/TopNavBar playground 1`] = ` } .emotion-11 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-11 #unique-tooltip-id { + display: none!important; } .emotion-12 { @@ -389,49 +396,52 @@ exports[`Storyshots Original Components/TopNavBar playground 1`] = ` >
- + +
@@ -835,8 +845,15 @@ exports[`Storyshots Original Components/TopNavBar with Additional Tools 1`] = ` } .emotion-26 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-26 #unique-tooltip-id { + display: none!important; } .emotion-27 { @@ -1109,49 +1126,52 @@ exports[`Storyshots Original Components/TopNavBar with Additional Tools 1`] = ` >
- + +
@@ -1374,8 +1394,15 @@ exports[`Storyshots Original Components/TopNavBar with Dark theme enabled 1`] = } .emotion-11 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-11 #unique-tooltip-id { + display: none!important; } .emotion-12 { @@ -1551,49 +1578,52 @@ exports[`Storyshots Original Components/TopNavBar with Dark theme enabled 1`] = >
- + +
@@ -1816,8 +1846,15 @@ exports[`Storyshots Original Components/TopNavBar with Logo Placeholder 1`] = ` } .emotion-11 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-11 #unique-tooltip-id { + display: none!important; } .emotion-12 { @@ -1993,49 +2030,52 @@ exports[`Storyshots Original Components/TopNavBar with Logo Placeholder 1`] = ` >
- + +
diff --git a/src/components/TopAppBar/__snapshots__/TopAppBar.test.tsx.snap b/src/components/TopAppBar/__snapshots__/TopAppBar.test.tsx.snap index f3ee024f2..9ee0d53bf 100644 --- a/src/components/TopAppBar/__snapshots__/TopAppBar.test.tsx.snap +++ b/src/components/TopAppBar/__snapshots__/TopAppBar.test.tsx.snap @@ -166,8 +166,15 @@ exports[`TopAppBar should render correctly 1`] = ` } .emotion-6 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-6 #unique-tooltip-id { + display: none!important; } .emotion-7 { @@ -468,8 +475,15 @@ exports[`TopAppBar should render correctly 1`] = ` } .emotion-6 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-6 #unique-tooltip-id { + display: none!important; } .emotion-7 { @@ -635,46 +649,49 @@ exports[`TopAppBar should render correctly 1`] = ` >
- + +
@@ -849,8 +866,15 @@ exports[`TopAppBar should render correctly on dark 1`] = ` } .emotion-6 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-6 #unique-tooltip-id { + display: none!important; } .emotion-7 { @@ -1151,8 +1175,15 @@ exports[`TopAppBar should render correctly on dark 1`] = ` } .emotion-6 { + overflow: inherit; + text-overflow: inherit; + width: 100%; + height: inherit; position: relative; - display: inline-block; +} + +.emotion-6 #unique-tooltip-id { + display: none!important; } .emotion-7 { @@ -1318,46 +1349,49 @@ exports[`TopAppBar should render correctly on dark 1`] = ` >
- + +