Skip to content

Commit ba9e57e

Browse files
committed
fix: snapshots
1 parent 4dd806e commit ba9e57e

File tree

25 files changed

+3534
-3838
lines changed

25 files changed

+3534
-3838
lines changed

packages/form/src/components/CheckboxField/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 350 additions & 378 deletions
Large diffs are not rendered by default.

packages/form/src/components/CheckboxGroupField/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 150 additions & 158 deletions
Large diffs are not rendered by default.

packages/form/src/components/DateInputField/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 244 additions & 264 deletions
Large diffs are not rendered by default.

packages/form/src/components/Form/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@
22

33
exports[`Form > renders correctly with node children 1`] = `
44
<DocumentFragment>
5-
.emotion-0 {
6-
display: contents;
7-
}
8-
9-
<div
5+
<div
106
data-testid="testing"
117
>
128
<form
13-
class="emotion-0 emotion-1"
149
novalidate=""
10+
style="display: contents;"
1511
>
1612
Test
1713
</form>
@@ -21,16 +17,12 @@ exports[`Form > renders correctly with node children 1`] = `
2117

2218
exports[`Form > renders correctly with onSubmit 1`] = `
2319
<DocumentFragment>
24-
.emotion-0 {
25-
display: contents;
26-
}
27-
28-
<div
20+
<div
2921
data-testid="testing"
3022
>
3123
<form
32-
class="emotion-0 emotion-1"
3324
novalidate=""
25+
style="display: contents;"
3426
>
3527
<button
3628
type="submit"

packages/form/src/components/KeyValueField/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 33 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
exports[`KeyValueField > should render with default props & max size 1`] = `
44
<DocumentFragment>
55
.emotion-0 {
6-
display: contents;
7-
}
8-
9-
.emotion-2 {
106
display: -webkit-box;
117
display: -webkit-flex;
128
display: -ms-flexbox;
@@ -29,7 +25,7 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
2925
gap: 1.5rem;
3026
}
3127
32-
.emotion-4 {
28+
.emotion-2 {
3329
display: -webkit-box;
3430
display: -webkit-flex;
3531
display: -ms-flexbox;
@@ -51,19 +47,19 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
5147
flex-direction: row;
5248
}
5349
54-
.emotion-6 {
50+
.emotion-4 {
5551
display: inherit;
5652
}
5753
58-
.emotion-6[data-container-full-height="true"] {
54+
.emotion-4[data-container-full-height="true"] {
5955
height: 100%;
6056
}
6157
62-
.emotion-6[data-container-full-width="true"] {
58+
.emotion-4[data-container-full-width="true"] {
6359
width: 100%;
6460
}
6561
66-
.emotion-8 {
62+
.emotion-6 {
6763
vertical-align: middle;
6864
fill: currentColor;
6965
height: 1rem;
@@ -72,7 +68,7 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
7268
min-height: 1rem;
7369
}
7470
75-
.emotion-8 .fillStroke {
71+
.emotion-6 .fillStroke {
7672
stroke: currentColor;
7773
fill: none;
7874
}
@@ -81,19 +77,19 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
8177
data-testid="testing"
8278
>
8379
<form
84-
class="emotion-0 emotion-1"
8580
novalidate=""
81+
style="display: contents;"
8682
>
8783
<div
88-
class="emotion-2 emotion-3"
84+
class="emotion-0 emotion-1"
8985
>
9086
<div
91-
class="emotion-4 emotion-3"
87+
class="emotion-2 emotion-1"
9288
>
9389
<div
9490
aria-controls="«r8»"
9591
aria-describedby="«r8»"
96-
class="emotion-6 emotion-7"
92+
class="emotion-4 emotion-5"
9793
data-container-full-width="false"
9894
tabindex="0"
9995
>
@@ -103,7 +99,7 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
10399
type="button"
104100
>
105101
<svg
106-
class="emotion-8 emotion-9"
102+
class="emotion-6 emotion-7"
107103
viewBox="0 0 16 16"
108104
>
109105
<path
@@ -123,10 +119,6 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
123119
exports[`KeyValueField > should render with default props 1`] = `
124120
<DocumentFragment>
125121
.emotion-0 {
126-
display: contents;
127-
}
128-
129-
.emotion-2 {
130122
display: -webkit-box;
131123
display: -webkit-flex;
132124
display: -ms-flexbox;
@@ -149,7 +141,7 @@ exports[`KeyValueField > should render with default props 1`] = `
149141
gap: 1.5rem;
150142
}
151143
152-
.emotion-4 {
144+
.emotion-2 {
153145
display: -webkit-box;
154146
display: -webkit-flex;
155147
display: -ms-flexbox;
@@ -171,19 +163,19 @@ exports[`KeyValueField > should render with default props 1`] = `
171163
flex-direction: row;
172164
}
173165
174-
.emotion-6 {
166+
.emotion-4 {
175167
display: inherit;
176168
}
177169
178-
.emotion-6[data-container-full-height="true"] {
170+
.emotion-4[data-container-full-height="true"] {
179171
height: 100%;
180172
}
181173
182-
.emotion-6[data-container-full-width="true"] {
174+
.emotion-4[data-container-full-width="true"] {
183175
width: 100%;
184176
}
185177
186-
.emotion-8 {
178+
.emotion-6 {
187179
vertical-align: middle;
188180
fill: currentColor;
189181
height: 1rem;
@@ -192,7 +184,7 @@ exports[`KeyValueField > should render with default props 1`] = `
192184
min-height: 1rem;
193185
}
194186
195-
.emotion-8 .fillStroke {
187+
.emotion-6 .fillStroke {
196188
stroke: currentColor;
197189
fill: none;
198190
}
@@ -201,19 +193,19 @@ exports[`KeyValueField > should render with default props 1`] = `
201193
data-testid="testing"
202194
>
203195
<form
204-
class="emotion-0 emotion-1"
205196
novalidate=""
197+
style="display: contents;"
206198
>
207199
<div
208-
class="emotion-2 emotion-3"
200+
class="emotion-0 emotion-1"
209201
>
210202
<div
211-
class="emotion-4 emotion-3"
203+
class="emotion-2 emotion-1"
212204
>
213205
<div
214206
aria-controls="«r0»"
215207
aria-describedby="«r0»"
216-
class="emotion-6 emotion-7"
208+
class="emotion-4 emotion-5"
217209
data-container-full-width="false"
218210
tabindex="0"
219211
>
@@ -223,7 +215,7 @@ exports[`KeyValueField > should render with default props 1`] = `
223215
type="button"
224216
>
225217
<svg
226-
class="emotion-8 emotion-9"
218+
class="emotion-6 emotion-7"
227219
viewBox="0 0 16 16"
228220
>
229221
<path
@@ -243,10 +235,6 @@ exports[`KeyValueField > should render with default props 1`] = `
243235
exports[`KeyValueField > should render with default props in readonly mode 1`] = `
244236
<DocumentFragment>
245237
.emotion-0 {
246-
display: contents;
247-
}
248-
249-
.emotion-2 {
250238
display: -webkit-box;
251239
display: -webkit-flex;
252240
display: -ms-flexbox;
@@ -269,7 +257,7 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] =
269257
gap: 1.5rem;
270258
}
271259
272-
.emotion-4 {
260+
.emotion-2 {
273261
display: -webkit-box;
274262
display: -webkit-flex;
275263
display: -ms-flexbox;
@@ -291,19 +279,19 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] =
291279
flex-direction: row;
292280
}
293281
294-
.emotion-6 {
282+
.emotion-4 {
295283
display: inherit;
296284
}
297285
298-
.emotion-6[data-container-full-height="true"] {
286+
.emotion-4[data-container-full-height="true"] {
299287
height: 100%;
300288
}
301289
302-
.emotion-6[data-container-full-width="true"] {
290+
.emotion-4[data-container-full-width="true"] {
303291
width: 100%;
304292
}
305293
306-
.emotion-8 {
294+
.emotion-6 {
307295
vertical-align: middle;
308296
fill: currentColor;
309297
height: 1rem;
@@ -312,7 +300,7 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] =
312300
min-height: 1rem;
313301
}
314302
315-
.emotion-8 .fillStroke {
303+
.emotion-6 .fillStroke {
316304
stroke: currentColor;
317305
fill: none;
318306
}
@@ -321,19 +309,19 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] =
321309
data-testid="testing"
322310
>
323311
<form
324-
class="emotion-0 emotion-1"
325312
novalidate=""
313+
style="display: contents;"
326314
>
327315
<div
328-
class="emotion-2 emotion-3"
316+
class="emotion-0 emotion-1"
329317
>
330318
<div
331-
class="emotion-4 emotion-3"
319+
class="emotion-2 emotion-1"
332320
>
333321
<div
334322
aria-controls="«r9»"
335323
aria-describedby="«r9»"
336-
class="emotion-6 emotion-7"
324+
class="emotion-4 emotion-5"
337325
data-container-full-width="false"
338326
tabindex="0"
339327
>
@@ -344,7 +332,7 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] =
344332
type="button"
345333
>
346334
<svg
347-
class="emotion-8 emotion-9"
335+
class="emotion-6 emotion-7"
348336
viewBox="0 0 16 16"
349337
>
350338
<path

0 commit comments

Comments
 (0)