From 91a791c32e03f4e99025224763b66c50cfd57ac2 Mon Sep 17 00:00:00 2001 From: rdmclin2 Date: Sat, 22 Jul 2023 23:36:02 +0800 Subject: [PATCH] :tada: chore: update snapshot --- tests/__snapshots__/demo.test.tsx.snap | 692 +++++++++++++++++++++++++ 1 file changed, 692 insertions(+) diff --git a/tests/__snapshots__/demo.test.tsx.snap b/tests/__snapshots__/demo.test.tsx.snap index dac5ff8e..196a1d23 100644 --- a/tests/__snapshots__/demo.test.tsx.snap +++ b/tests/__snapshots__/demo.test.tsx.snap @@ -18283,6 +18283,698 @@ exports[` > renders WithContainer.tsx correctly 1`] = ` `; +exports[` > renders button.tsx correctly 1`] = ` +.emotion-0 { + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + position: relative; + border: 0 solid rgba(5, 5, 5, 0.06); +} + +.emotion-0:hover .studio-draggable-panel-toggle { + opacity: 1; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -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-2 { + position: absolute; + opacity: 0; + z-index: 1001; + -webkit-transition: opacity 0.1s; + transition: opacity 0.1s; + border-radius: 4px; + cursor: pointer; + background: #ffffff; + border-width: 1px; + border-style: solid; + color: rgba(0, 0, 0, 0.45); + border-color: #d9d9d9; + width: 16px; + height: 40px; + left: -17px; + top: 50%; + margin-top: -20px; + border-radius: 4px 0 0 4px; + border-right-width: 0; +} + +.emotion-2:hover { + color: rgba(0, 0, 0, 0.65); + background: rgba(0, 0, 0, 0.02); +} + +.emotion-3 { + background: #ffffff; + overflow: hidden; +} + +.emotion-4 { + --leva-sizes-controlWidth: 66%; + --leva-colors-elevation1: rgba(0, 0, 0, 0.06); + --leva-colors-elevation2: transparent; + --leva-colors-elevation3: rgba(0, 0, 0, 0.06); + --leva-colors-accent1: #1677ff; + --leva-colors-accent2: #4096ff; + --leva-colors-accent3: #0958d9; + --leva-colors-highlight1: rgba(0, 0, 0, 0.45); + --leva-colors-highlight2: rgba(0, 0, 0, 0.65); + --leva-colors-highlight3: rgba(0, 0, 0, 0.88); + --leva-colors-vivid1: #faad14; + --leva-shadows-level1: unset; + --leva-shadows-level2: unset; + --leva-fonts-mono: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace; + overflow: auto; + padding: 6px 0; +} + +.emotion-4>div { + background: transparent; +} + +.emotion-4>div>div { + background: transparent; +} + +.emotion-4 input:checked+label>svg { + stroke: #f5f5f5; +} + +.emotion-4 button { + --leva-colors-accent2: rgba(0, 0, 0, 0.06); +} + +.emotion-5 { + position: relative; +} + +.emotion-5::before { + position: absolute; + z-index: 50; + -webkit-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + content: ''; +} + +.emotion-5:hover::before, +.emotion-5:active::before { + background: #1677ff; +} + +.emotion-5::before { + left: 50%; + width: 2px; + height: 100%; +} + +
+
+
+ +
+
+
+ + + +
+
+
+
+
+ + + + + +
+ 按钮属性配置器 +
+ + + + + + +
+
+ + +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+ 强调 +
+ + + +
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+ 中 +
+ + + +
+
+
+
+
+
+ +
+
+ +
+ 默认 +
+ + + +
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+`; + exports[` > renders Basic.tsx correctly 1`] = ` .emotion-0 { display: -webkit-box;