diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap
index 3cdd355530e3..33596242a27d 100644
--- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap
+++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap
@@ -3504,29 +3504,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
margin-right: 15px;
}
-.emotion-5 {
- height: 40px;
- background: none;
- color: inherit;
- padding: 0;
- cursor: pointer;
- border: 0 solid transparent;
- border-top: 3px solid transparent;
- border-bottom: 3px solid transparent;
- -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear;
- transition: color 0.2s linear,border-bottom-color 0.2s linear;
-}
-
-.emotion-5:hover,
-.emotion-5:focus {
- outline: 0 none;
- color: #1EA7FD;
-}
-
-.emotion-5 > svg {
- width: 15px;
-}
-
.emotion-4 {
shape-rendering: inherit;
-webkit-transform: translate3d(0,0,0);
@@ -3551,6 +3528,29 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
width: 100%;
}
+.emotion-5 {
+ height: 40px;
+ background: none;
+ color: inherit;
+ padding: 0;
+ cursor: pointer;
+ border: 0 solid transparent;
+ border-top: 3px solid transparent;
+ border-bottom: 3px solid transparent;
+ -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear;
+ transition: color 0.2s linear,border-bottom-color 0.2s linear;
+}
+
+.emotion-5:hover,
+.emotion-5:focus {
+ outline: 0 none;
+ color: #1EA7FD;
+}
+
+.emotion-5 > svg {
+ width: 15px;
+}
+
.emotion-96 {
display: -webkit-box;
display: -webkit-flex;
@@ -4035,29 +4035,6 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
margin-right: 15px;
}
-.emotion-5 {
- height: 40px;
- background: none;
- color: inherit;
- padding: 0;
- cursor: pointer;
- border: 0 solid transparent;
- border-top: 3px solid transparent;
- border-bottom: 3px solid transparent;
- -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear;
- transition: color 0.2s linear,border-bottom-color 0.2s linear;
-}
-
-.emotion-5:hover,
-.emotion-5:focus {
- outline: 0 none;
- color: #1EA7FD;
-}
-
-.emotion-5 > svg {
- width: 15px;
-}
-
.emotion-4 {
shape-rendering: inherit;
-webkit-transform: translate3d(0,0,0);
@@ -4082,6 +4059,29 @@ exports[`Storyshots UI|Settings/ShortcutsScreen default shortcuts 1`] = `
width: 100%;
}
+.emotion-5 {
+ height: 40px;
+ background: none;
+ color: inherit;
+ padding: 0;
+ cursor: pointer;
+ border: 0 solid transparent;
+ border-top: 3px solid transparent;
+ border-bottom: 3px solid transparent;
+ -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear;
+ transition: color 0.2s linear,border-bottom-color 0.2s linear;
+}
+
+.emotion-5:hover,
+.emotion-5:focus {
+ outline: 0 none;
+ color: #1EA7FD;
+}
+
+.emotion-5 > svg {
+ width: 15px;
+}
+
.emotion-96 {
display: -webkit-box;
display: -webkit-flex;
diff --git a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot
index 8521c926594d..0de2f833a5a6 100644
--- a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot
+++ b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot
@@ -326,6 +326,51 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
border-bottom-color: #1EA7FD;
}
+.emotion-8 {
+ white-space: normal;
+ display: -webkit-inline-box;
+ display: -webkit-inline-flex;
+ display: -ms-inline-flexbox;
+ display: inline-flex;
+ overflow: hidden;
+ vertical-align: top;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ text-align: center;
+ -webkit-text-decoration: none;
+ text-decoration: none;
+ padding: 0 15px;
+ text-transform: capitalize;
+ -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear;
+ transition: color 0.2s linear,border-bottom-color 0.2s linear;
+ height: 40px;
+ line-height: 12px;
+ cursor: pointer;
+ background: transparent;
+ border: 0 solid transparent;
+ border-top: 3px solid transparent;
+ border-bottom: 3px solid transparent;
+ font-weight: bold;
+ font-size: 13px;
+ color: #1EA7FD;
+ border-bottom-color: #1EA7FD;
+}
+
+.emotion-8:empty {
+ display: none;
+}
+
+.emotion-8:focus {
+ outline: 0 none;
+ border-bottom-color: #1EA7FD;
+}
+
.emotion-11 {
position: fixed;
left: 0;
@@ -350,6 +395,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(-80vw);
-ms-transform: translateX(-80vw);
@@ -357,6 +403,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
left: 0;
}
+.emotion-1:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-1:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-0 {
background: hotpink;
position: absolute;
@@ -388,6 +442,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 100%;
-webkit-transform: translateX(0) scale(1);
-ms-transform: translateX(0) scale(1);
@@ -395,6 +450,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
left: 0;
}
+.emotion-3:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-3:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-2 {
background: deepskyblue;
position: absolute;
@@ -426,6 +489,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(80vw);
-ms-transform: translateX(80vw);
@@ -433,6 +497,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
right: 0;
}
+.emotion-5:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-5:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-4 {
background: orangered;
position: absolute;
@@ -467,6 +539,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
+ box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1);
+ background: #FFFFFF;
}
.emotion-10 > * {
@@ -528,22 +602,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
-
-
+
-
- 1
-
-
- {
+ 1
+
+
+ {
"hidden": false
}
-
-
+
@@ -553,17 +625,17 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 0 1`] = `
@@ -639,6 +711,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(-80vw);
-ms-transform: translateX(-80vw);
@@ -646,6 +719,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
left: 0;
}
+.emotion-1:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-1:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-0 {
background: hotpink;
position: absolute;
@@ -677,6 +758,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 100%;
-webkit-transform: translateX(0) scale(1);
-ms-transform: translateX(0) scale(1);
@@ -684,6 +766,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
left: 0;
}
+.emotion-3:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-3:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-2 {
background: deepskyblue;
position: absolute;
@@ -715,6 +805,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(80vw);
-ms-transform: translateX(80vw);
@@ -722,6 +813,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
right: 0;
}
+.emotion-5:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-5:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-4 {
background: orangered;
position: absolute;
@@ -756,6 +855,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
+ box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1);
+ background: #FFFFFF;
}
.emotion-10 > * {
@@ -817,22 +918,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
-
-
+
-
- 1
-
-
- {
+ 1
+
+
+ {
"hidden": false
}
-
-
+
@@ -842,17 +941,17 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 1 1`] = `
@@ -928,6 +1027,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(-80vw);
-ms-transform: translateX(-80vw);
@@ -935,6 +1035,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
left: 0;
}
+.emotion-1:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-1:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-0 {
background: hotpink;
position: absolute;
@@ -966,6 +1074,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 100%;
-webkit-transform: translateX(0) scale(1);
-ms-transform: translateX(0) scale(1);
@@ -973,6 +1082,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
left: 0;
}
+.emotion-3:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-3:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-2 {
background: deepskyblue;
position: absolute;
@@ -1004,6 +1121,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(80vw);
-ms-transform: translateX(80vw);
@@ -1011,6 +1129,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
right: 0;
}
+.emotion-5:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-5:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-4 {
background: orangered;
position: absolute;
@@ -1045,6 +1171,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
+ box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1);
+ background: #FFFFFF;
}
.emotion-10 > * {
@@ -1106,22 +1234,20 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
-
-
+
-
- 1
-
-
- {
+ 1
+
+
+ {
"hidden": false
}
-
-
+
@@ -1131,17 +1257,17 @@ exports[`Storyshots UI|Layout/Mobile (mocked) initial 2 1`] = `
@@ -1217,6 +1343,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(-80vw);
-ms-transform: translateX(-80vw);
@@ -1224,6 +1351,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
left: 0;
}
+.emotion-1:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-1:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-0 {
background: hotpink;
position: absolute;
@@ -1255,6 +1390,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 100%;
-webkit-transform: translateX(0) scale(1);
-ms-transform: translateX(0) scale(1);
@@ -1262,6 +1398,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
left: 0;
}
+.emotion-4:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-4:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-2 {
background: deepskyblue;
position: absolute;
@@ -1293,6 +1437,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
position: absolute;
top: 0;
height: 100%;
+ background: #FFFFFF;
width: 80vw;
-webkit-transform: translateX(80vw);
-ms-transform: translateX(80vw);
@@ -1300,6 +1445,14 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
right: 0;
}
+.emotion-6:nth-of-type(1) {
+ border-right: 1px solid rgba(0,0,0,.1);
+}
+
+.emotion-6:nth-of-type(3) {
+ border-left: 1px solid rgba(0,0,0,.1);
+}
+
.emotion-5 {
background: orangered;
position: absolute;
@@ -1334,6 +1487,8 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
+ box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1);
+ background: #FFFFFF;
}
.emotion-10 > * {
@@ -1434,23 +1589,19 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `
class="emotion-6"
>
-
-
- 1
-
-
- {
+ 1
+
+
+ {
"hidden": true
}
-
-
+
@@ -1460,7 +1611,7 @@ exports[`Storyshots UI|Layout/Mobile (mocked) page 1`] = `