Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 8a7a165

Browse files
committed
test(stack): update snapshots
1 parent 95e2ba3 commit 8a7a165

File tree

1 file changed

+26
-22
lines changed

1 file changed

+26
-22
lines changed

packages/chakra-ui-core/src/CStack/tests/__snapshots__/CStack.test.js.snap

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
exports[`should render CStack with element as nav 1`] = `
44
<DocumentFragment>
55
<nav
6-
class="css-j7qwjs css-k008qs css-1lp2as9"
6+
class="css-j7qwjs css-0"
77
data-chakra-component="CStack"
88
data-testid="stack"
99
>
1010
<div
11-
class="css-1ipbp6k"
11+
class="css-dtyjrz"
1212
data-chakra-component="CBox"
1313
data-testid="stack-child-1"
1414
>
@@ -26,7 +26,6 @@ exports[`should render CStack with element as nav 1`] = `
2626
The future can be even brighter but a goal without a plan is just a wish
2727
</p>
2828
</div>
29-
3029
<div
3130
class="css-1ipbp6k"
3231
data-chakra-component="CBox"
@@ -53,12 +52,12 @@ exports[`should render CStack with element as nav 1`] = `
5352
exports[`should render CStack with element as section 1`] = `
5453
<DocumentFragment>
5554
<section
56-
class="css-j7qwjs css-k008qs css-1lp2as9"
55+
class="css-j7qwjs css-0"
5756
data-chakra-component="CStack"
5857
data-testid="stack"
5958
>
6059
<div
61-
class="css-1ipbp6k"
60+
class="css-dtyjrz"
6261
data-chakra-component="CBox"
6362
data-testid="stack-child-1"
6463
>
@@ -76,7 +75,6 @@ exports[`should render CStack with element as section 1`] = `
7675
The future can be even brighter but a goal without a plan is just a wish
7776
</p>
7877
</div>
79-
8078
<div
8179
class="css-1ipbp6k"
8280
data-chakra-component="CBox"
@@ -103,12 +101,12 @@ exports[`should render CStack with element as section 1`] = `
103101
exports[`should render correctly 1`] = `
104102
<DocumentFragment>
105103
<div
106-
class="css-j7qwjs css-k008qs css-1lp2as9"
104+
class="css-j7qwjs css-0"
107105
data-chakra-component="CStack"
108106
data-testid="stack"
109107
>
110108
<div
111-
class="css-1ipbp6k"
109+
class="css-dtyjrz"
112110
data-chakra-component="CBox"
113111
data-testid="stack-child-1"
114112
>
@@ -126,7 +124,6 @@ exports[`should render correctly 1`] = `
126124
The future can be even brighter but a goal without a plan is just a wish
127125
</p>
128126
</div>
129-
130127
<div
131128
class="css-1ipbp6k"
132129
data-chakra-component="CBox"
@@ -153,29 +150,36 @@ exports[`should render correctly 1`] = `
153150
exports[`should should stack native html elements 1`] = `
154151
<DocumentFragment>
155152
<div
156-
class="css-j7qwjs css-k008qs css-1lp2as9"
153+
class="css-j7qwjs css-0"
157154
data-chakra-component="CStack"
158155
data-testid="stack"
159156
>
160157
<p
161-
class="css-18iq2bq"
158+
class="css-16ec2e8"
162159
data-chakra-component="CText"
163160
>
164161
The future can be even brighter but a goal without a plan is just a wish
165162
</p>
166-
167-
<p
168-
data-testid="stacked-p"
163+
<div
164+
class="css-cet0rr"
165+
data-chakra-component="CBox"
169166
>
170-
I am a happy paragraph element
171-
</p>
172-
173-
<h3
174-
data-testid="stacked-h3"
167+
<p
168+
data-testid="stacked-p"
169+
>
170+
I am a happy paragraph element
171+
</p>
172+
</div>
173+
<div
174+
class="css-cet0rr"
175+
data-chakra-component="CBox"
175176
>
176-
I am a jolly heading element
177-
</h3>
178-
177+
<h3
178+
data-testid="stacked-h3"
179+
>
180+
I am a jolly heading element
181+
</h3>
182+
</div>
179183
<p
180184
class="css-18iq2bq"
181185
data-chakra-component="CText"

0 commit comments

Comments
 (0)