diff --git a/tests/__snapshots__/demo.test.tsx.snap b/tests/__snapshots__/demo.test.tsx.snap index 6bd04b31..e833f4ef 100644 --- a/tests/__snapshots__/demo.test.tsx.snap +++ b/tests/__snapshots__/demo.test.tsx.snap @@ -20027,9 +20027,83 @@ exports[` > renders basic.tsx correctly 1`] = ` background-color: rgba(0, 0, 0, 0.02); margin: 2px; padding: 6px; + position: relative; } .emotion-3 { + position: absolute; + width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.emotion-4:hover { + color: rgba(0, 0, 0, 0.88); + background-color: rgba(0, 0, 0, 0.04); + border-color: transparent; +} + +.emotion-4:focus { + color: rgba(0, 0, 0, 0.88)!important; + background-color: rgba(0, 0, 0, 0.02)!important; + border-color: #1677ff!important; + box-shadow: none; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + gap: 8px; + min-width: 50px; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); + transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); +} + +.emotion-6:hover { + color: rgba(0, 0, 0, 0.88)!important; +} + +.emotion-6:active { + scale: 0.8; + color: rgba(0, 0, 0, 0.88); +} + +.emotion-7 { + min-width: 50px; +} + +.emotion-8 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -20040,7 +20114,7 @@ exports[` > renders basic.tsx correctly 1`] = ` clear: both; } -.emotion-4 { +.emotion-9 { -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; @@ -20048,15 +20122,15 @@ exports[` > renders basic.tsx correctly 1`] = ` border: 0 solid rgba(5, 5, 5, 0.06); } -.emotion-4:hover .studio-draggable-panel-toggle { +.emotion-9:hover .studio-draggable-panel-toggle { opacity: 1; } -.emotion-5 { +.emotion-10 { overflow: hidden; } -.emotion-6 { +.emotion-11 { border-radius: 6px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.02); @@ -20065,11 +20139,11 @@ exports[` > renders basic.tsx correctly 1`] = ` padding: 6px; } -.emotion-7 { +.emotion-12 { position: relative; } -.emotion-7::before { +.emotion-12::before { position: absolute; z-index: 50; -webkit-transition: all 0.3s ease-in-out; @@ -20077,18 +20151,18 @@ exports[` > renders basic.tsx correctly 1`] = ` content: ''; } -.emotion-7:hover::before, -.emotion-7:active::before { +.emotion-12:hover::before, +.emotion-12:active::before { background: #1677ff; } -.emotion-7::before { +.emotion-12::before { right: 50%; width: 2px; height: 100%; } -.emotion-8 { +.emotion-13 { border-radius: 6px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.02); @@ -20100,11 +20174,11 @@ exports[` > renders basic.tsx correctly 1`] = ` flex: 1; } -.emotion-12 { +.emotion-17 { position: relative; } -.emotion-12::before { +.emotion-17::before { position: absolute; z-index: 50; -webkit-transition: all 0.3s ease-in-out; @@ -20112,18 +20186,18 @@ exports[` > renders basic.tsx correctly 1`] = ` content: ''; } -.emotion-12:hover::before, -.emotion-12:active::before { +.emotion-17:hover::before, +.emotion-17:active::before { background: #1677ff; } -.emotion-12::before { +.emotion-17::before { left: 50%; width: 2px; height: 100%; } -.emotion-13 { +.emotion-18 { -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; @@ -20131,11 +20205,11 @@ exports[` > renders basic.tsx correctly 1`] = ` border: 0 solid rgba(5, 5, 5, 0.06); } -.emotion-13:hover .studio-draggable-panel-toggle { +.emotion-18:hover .studio-draggable-panel-toggle { opacity: 1; } -.emotion-15 { +.emotion-20 { border-radius: 6px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.02); @@ -20144,11 +20218,11 @@ exports[` > renders basic.tsx correctly 1`] = ` padding: 6px; } -.emotion-16 { +.emotion-21 { position: relative; } -.emotion-16::before { +.emotion-21::before { position: absolute; z-index: 50; -webkit-transition: all 0.3s ease-in-out; @@ -20156,54 +20230,138 @@ exports[` > renders basic.tsx correctly 1`] = ` content: ''; } -.emotion-16:hover::before, -.emotion-16:active::before { +.emotion-21:hover::before, +.emotion-21:active::before { background: #1677ff; } -.emotion-16::before { +.emotion-21::before { top: 50%; height: 2px; width: 100%; } -.emotion-17 { - height: 28px; +.emotion-22 { + height: 36px; box-sizing: border-box; margin: 2px; border-radius: 6px; background-color: rgba(0, 0, 0, 0.02); padding: 6px; + position: relative; }
-
- Icon +
+ + + + Options + + + +
-
- Extra +
+ + EditorLayout +
+
+
+
+ +
+
+ +
+
Left Pannel @@ -20211,33 +20369,33 @@ exports[` > renders basic.tsx correctly 1`] = `
@@ -20245,32 +20403,1391 @@ exports[` > renders basic.tsx correctly 1`] = `