Skip to content

Commit f2665ef

Browse files
committed
📸 fix: update snapshot
1 parent a3144ac commit f2665ef

1 file changed

Lines changed: 47 additions & 41 deletions

File tree

tests/__snapshots__/demo.test.tsx.snap

Lines changed: 47 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -19823,6 +19823,7 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
1982319823
.emotion-1 {
1982419824
height: 100vh;
1982519825
width: 100vw;
19826+
box-sizing: border-box;
1982619827
background-color: #ffffff;
1982719828
overflow: hidden;
1982819829
border-radius: 6px;
@@ -19833,12 +19834,12 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
1983319834
}
1983419835

1983519836
.emotion-2 {
19837+
box-sizing: border-box;
1983619838
height: 48px;
1983719839
min-height: 48px;
1983819840
border-radius: 6px;
1983919841
background-color: rgba(0, 0, 0, 0.02);
19840-
margin: 4px;
19841-
margin-bottom: 0;
19842+
margin: 2px;
1984219843
padding: 6px;
1984319844
}
1984419845

@@ -19850,6 +19851,7 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
1985019851
display: -webkit-flex;
1985119852
display: -ms-flexbox;
1985219853
display: flex;
19854+
clear: both;
1985319855
}
1985419856

1985519857
.emotion-4 {
@@ -19870,9 +19872,10 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
1987019872

1987119873
.emotion-6 {
1987219874
border-radius: 6px;
19875+
box-sizing: border-box;
1987319876
background-color: rgba(0, 0, 0, 0.02);
19874-
margin: 4px;
19875-
height: calc(100% - 2px - 12px);
19877+
margin: 2px;
19878+
height: calc(100% - 4px);
1987619879
padding: 6px;
1987719880
}
1987819881

@@ -19900,85 +19903,88 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
1990019903
}
1990119904

1990219905
.emotion-8 {
19903-
-webkit-flex: 1;
19904-
-ms-flex: 1;
19905-
flex: 1;
19906-
}
19907-
19908-
.emotion-8 .studio-layout-pannel {
19909-
height: calc(100% - 2px - 12px);
19910-
margin: 4px 1px;
19911-
}
19912-
19913-
.emotion-9 {
1991419906
border-radius: 6px;
19907+
box-sizing: border-box;
1991519908
background-color: rgba(0, 0, 0, 0.02);
19916-
margin: 4px;
19917-
height: calc(100% - 2px - 12px);
19909+
margin: 2px;
19910+
height: calc(100% - 4px);
1991819911
padding: 6px;
19912+
-webkit-flex: 1;
19913+
-ms-flex: 1;
19914+
flex: 1;
1991919915
}
1992019916

19921-
.emotion-13 {
19917+
.emotion-12 {
1992219918
position: relative;
1992319919
}
1992419920

19925-
.emotion-13::before {
19921+
.emotion-12::before {
1992619922
position: absolute;
1992719923
z-index: 50;
1992819924
-webkit-transition: all 0.3s ease-in-out;
1992919925
transition: all 0.3s ease-in-out;
1993019926
content: '';
1993119927
}
1993219928

19933-
.emotion-13:hover::before,
19934-
.emotion-13:active::before {
19929+
.emotion-12:hover::before,
19930+
.emotion-12:active::before {
1993519931
background: #1677ff;
1993619932
}
1993719933

19938-
.emotion-13::before {
19934+
.emotion-12::before {
1993919935
left: 50%;
1994019936
width: 2px;
1994119937
height: 100%;
1994219938
}
1994319939

19944-
.emotion-14 {
19940+
.emotion-13 {
1994519941
-webkit-flex-shrink: 0;
1994619942
-ms-flex-negative: 0;
1994719943
flex-shrink: 0;
1994819944
position: relative;
1994919945
border: 0 solid rgba(5, 5, 5, 0.06);
1995019946
}
1995119947

19952-
.emotion-14:hover .studio-draggable-panel-toggle {
19948+
.emotion-13:hover .studio-draggable-panel-toggle {
1995319949
opacity: 1;
1995419950
}
1995519951

19956-
.emotion-17 {
19952+
.emotion-15 {
19953+
border-radius: 6px;
19954+
box-sizing: border-box;
19955+
background-color: rgba(0, 0, 0, 0.02);
19956+
margin: 2px;
19957+
height: calc(100% - 4px);
19958+
padding: 6px;
19959+
}
19960+
19961+
.emotion-16 {
1995719962
position: relative;
1995819963
}
1995919964

19960-
.emotion-17::before {
19965+
.emotion-16::before {
1996119966
position: absolute;
1996219967
z-index: 50;
1996319968
-webkit-transition: all 0.3s ease-in-out;
1996419969
transition: all 0.3s ease-in-out;
1996519970
content: '';
1996619971
}
1996719972

19968-
.emotion-17:hover::before,
19969-
.emotion-17:active::before {
19973+
.emotion-16:hover::before,
19974+
.emotion-16:active::before {
1997019975
background: #1677ff;
1997119976
}
1997219977

19973-
.emotion-17::before {
19978+
.emotion-16::before {
1997419979
top: 50%;
1997519980
height: 2px;
1997619981
width: 100%;
1997719982
}
1997819983

19979-
.emotion-18 {
19984+
.emotion-17 {
1998019985
height: 28px;
19981-
margin: 4px;
19986+
box-sizing: border-box;
19987+
margin: 2px;
1998219988
border-radius: 6px;
1998319989
background-color: rgba(0, 0, 0, 0.02);
1998419990
padding: 6px;
@@ -20008,7 +20014,7 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
2000820014
>
2000920015
<div
2001020016
class="studio-draggable-panel-fixed emotion-5"
20011-
style="position: relative; user-select: auto; width: 200px; height: 100%; min-width: 200px; min-height: 200px; box-sizing: border-box; flex-shrink: 0;"
20017+
style="position: relative; user-select: auto; width: 300px; height: 100%; max-width: 500px; min-width: 200px; min-height: 200px; box-sizing: border-box; flex-shrink: 0;"
2001220018
>
2001320019
<div
2001420020
class="studio-layout-pannel studio-layout-left-pannel emotion-6"
@@ -20026,10 +20032,10 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
2002620032
</div>
2002720033
</div>
2002820034
<div
20029-
class="studio-layout-center-pannel emotion-8"
20035+
class="studio-layout-pannel studio-layout-center-pannel emotion-8"
2003020036
>
2003120037
<div
20032-
class="studio-layout-pannel emotion-9"
20038+
class=""
2003320039
/>
2003420040
</div>
2003520041
<div
@@ -20038,41 +20044,41 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
2003820044
>
2003920045
<div
2004020046
class="studio-draggable-panel-fixed emotion-5"
20041-
style="position: relative; user-select: auto; width: 200px; height: 100%; min-width: 200px; min-height: 200px; box-sizing: border-box; flex-shrink: 0;"
20047+
style="position: relative; user-select: auto; width: 300px; height: 100%; max-width: 500px; min-width: 200px; min-height: 200px; box-sizing: border-box; flex-shrink: 0;"
2004220048
>
2004320049
<div
2004420050
class="studio-layout-pannel studio-layout-right-pannel emotion-6"
2004520051
/>
2004620052
<div>
2004720053
<div
20048-
class="emotion-13 studio-draggable-panel-left-handle"
20054+
class="emotion-12 studio-draggable-panel-left-handle"
2004920055
style="position: absolute; user-select: none; width: 10px; height: 100%; top: 0px; left: -5px; cursor: col-resize;"
2005020056
/>
2005120057
</div>
2005220058
</div>
2005320059
</div>
2005420060
</div>
2005520061
<div
20056-
class="studio-draggable-panel emotion-14"
20062+
class="studio-draggable-panel emotion-13"
2005720063
style="border-top-width: 1px;"
2005820064
>
2005920065
<div
2006020066
class="studio-draggable-panel-fixed emotion-5"
20061-
style="position: relative; user-select: auto; width: 100%; height: 200px; min-width: 200px; min-height: 200px; box-sizing: border-box; flex-shrink: 0;"
20067+
style="position: relative; user-select: auto; width: 100%; height: 200px; max-height: 400px; min-width: 200px; min-height: 200px; box-sizing: border-box; flex-shrink: 0;"
2006220068
>
2006320069
<div
20064-
class="studio-layout-pannel emotion-9"
20070+
class="studio-layout-pannel emotion-15"
2006520071
/>
2006620072
<div>
2006720073
<div
20068-
class="studio-draggable-panel-top-handle emotion-17"
20074+
class="studio-draggable-panel-top-handle emotion-16"
2006920075
style="position: absolute; user-select: none; width: 100%; height: 10px; top: -5px; left: 0px; cursor: row-resize;"
2007020076
/>
2007120077
</div>
2007220078
</div>
2007320079
</div>
2007420080
<div
20075-
class="studio-layout-footer studio-layout-flex-container emotion-18 studio-flex studio-flex-align-center studio-flex-justify-space-between"
20081+
class="studio-layout-footer studio-layout-flex-container emotion-17 studio-flex studio-flex-align-center studio-flex-justify-space-between"
2007620082
>
2007720083
<div>
2007820084
Icon

0 commit comments

Comments
 (0)