Skip to content

Commit c39962b

Browse files
matthprostphilibea
authored andcommitted
refactor: label and password check to vanilla extract (#5517)
* refactor: label and password check to vanilla extract * fix: update snapshots
1 parent 862d626 commit c39962b

File tree

32 files changed

+23440
-3627
lines changed

32 files changed

+23440
-3627
lines changed

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

Lines changed: 390 additions & 20 deletions
Large diffs are not rendered by default.

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

Lines changed: 270 additions & 14 deletions
Large diffs are not rendered by default.

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

Lines changed: 853 additions & 94 deletions
Large diffs are not rendered by default.

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

Lines changed: 403 additions & 38 deletions
Large diffs are not rendered by default.

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

Lines changed: 175 additions & 7 deletions
Large diffs are not rendered by default.

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

Lines changed: 54 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`submit > form is invalid 1`] = `
55
.emotion-0 {
66
<<<<<<< HEAD
77
<<<<<<< HEAD
8+
<<<<<<< HEAD
89
=======
910
display: -webkit-box;
1011
display: -webkit-flex;
@@ -44,6 +45,8 @@ exports[`submit > form is invalid 1`] = `
4445
4546
.emotion-2 {
4647
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
48+
=======
49+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
4750
display: -webkit-box;
4851
display: -webkit-flex;
4952
display: -ms-flexbox;
@@ -60,6 +63,7 @@ exports[`submit > form is invalid 1`] = `
6063
<<<<<<< HEAD
6164
<<<<<<< HEAD
6265
<<<<<<< HEAD
66+
<<<<<<< HEAD
6367
.emotion-0>.emotion-3 {
6468
color: #3f4250;
6569
}
@@ -97,33 +101,37 @@ exports[`submit > form is invalid 1`] = `
97101
=======
98102
.emotion-2>.emotion-5 {
99103
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
104+
=======
105+
.emotion-0>.emotion-3 {
106+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
100107
color: #3f4250;
101108
}
102109
103-
.emotion-2>.emotion-5::-webkit-input-placeholder {
110+
.emotion-0>.emotion-3::-webkit-input-placeholder {
104111
color: #727683;
105112
}
106113
107-
.emotion-2>.emotion-5::-moz-placeholder {
114+
.emotion-0>.emotion-3::-moz-placeholder {
108115
color: #727683;
109116
}
110117
111-
.emotion-2>.emotion-5:-ms-input-placeholder {
118+
.emotion-0>.emotion-3:-ms-input-placeholder {
112119
color: #727683;
113120
}
114121
115-
.emotion-2>.emotion-5::placeholder {
122+
.emotion-0>.emotion-3::placeholder {
116123
color: #727683;
117124
}
118125
119-
.emotion-2[data-success='true'] {
126+
.emotion-0[data-success='true'] {
120127
border-color: #22674e;
121128
}
122129
123-
.emotion-2[data-error='true'] {
130+
.emotion-0[data-error='true'] {
124131
border-color: #b3144d;
125132
}
126133
134+
<<<<<<< HEAD
127135
<<<<<<< HEAD
128136
<<<<<<< HEAD
129137
.emotion-5[data-readonly='true'] {
@@ -134,13 +142,17 @@ exports[`submit > form is invalid 1`] = `
134142
=======
135143
.emotion-2[data-readonly='true'] {
136144
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
145+
=======
146+
.emotion-0[data-readonly='true'] {
147+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
137148
background: #f9f9fa;
138149
border-color: #d9dadd;
139150
}
140151
141152
<<<<<<< HEAD
142153
<<<<<<< HEAD
143154
<<<<<<< HEAD
155+
<<<<<<< HEAD
144156
.emotion-0[data-disabled='true'] {
145157
=======
146158
.emotion-5[data-disabled='true'] {
@@ -151,13 +163,17 @@ exports[`submit > form is invalid 1`] = `
151163
=======
152164
.emotion-2[data-disabled='true'] {
153165
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
166+
=======
167+
.emotion-0[data-disabled='true'] {
168+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
154169
background: #f3f3f4;
155170
border-color: #e9eaeb;
156171
}
157172
158173
<<<<<<< HEAD
159174
<<<<<<< HEAD
160175
<<<<<<< HEAD
176+
<<<<<<< HEAD
161177
.emotion-0[data-disabled='true']>.emotion-3 {
162178
color: #b5b7bd;
163179
}
@@ -191,29 +207,33 @@ exports[`submit > form is invalid 1`] = `
191207
=======
192208
.emotion-2[data-disabled='true']>.emotion-5 {
193209
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
210+
=======
211+
.emotion-0[data-disabled='true']>.emotion-3 {
212+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
194213
color: #b5b7bd;
195214
}
196215
197-
.emotion-2[data-disabled='true']>.emotion-5::-webkit-input-placeholder {
216+
.emotion-0[data-disabled='true']>.emotion-3::-webkit-input-placeholder {
198217
color: #b5b7bd;
199218
}
200219
201-
.emotion-2[data-disabled='true']>.emotion-5::-moz-placeholder {
220+
.emotion-0[data-disabled='true']>.emotion-3::-moz-placeholder {
202221
color: #b5b7bd;
203222
}
204223
205-
.emotion-2[data-disabled='true']>.emotion-5:-ms-input-placeholder {
224+
.emotion-0[data-disabled='true']>.emotion-3:-ms-input-placeholder {
206225
color: #b5b7bd;
207226
}
208227
209-
.emotion-2[data-disabled='true']>.emotion-5::placeholder {
228+
.emotion-0[data-disabled='true']>.emotion-3::placeholder {
210229
color: #b5b7bd;
211230
}
212231
213-
.emotion-2:not([data-disabled='true']):not([data-readonly]):hover {
232+
.emotion-0:not([data-disabled='true']):not([data-readonly]):hover {
214233
border-color: #8c40ef;
215234
}
216235
236+
<<<<<<< HEAD
217237
<<<<<<< HEAD
218238
<<<<<<< HEAD
219239
.emotion-7 {
@@ -224,6 +244,9 @@ exports[`submit > form is invalid 1`] = `
224244
=======
225245
.emotion-4 {
226246
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
247+
=======
248+
.emotion-2 {
249+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
227250
-webkit-flex: 1;
228251
-ms-flex: 1;
229252
flex: 1;
@@ -239,6 +262,7 @@ exports[`submit > form is invalid 1`] = `
239262
<<<<<<< HEAD
240263
<<<<<<< HEAD
241264
<<<<<<< HEAD
265+
<<<<<<< HEAD
242266
.emotion-2[data-size='large'] {
243267
font-size: 1rem;
244268
}
@@ -265,6 +289,13 @@ exports[`submit > form is invalid 1`] = `
265289
266290
.emotion-4[data-size='small'] {
267291
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
292+
=======
293+
.emotion-2[data-size='large'] {
294+
font-size: 1rem;
295+
}
296+
297+
.emotion-2[data-size='small'] {
298+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
268299
padding-left: 0.5rem;
269300
}
270301
@@ -296,8 +327,12 @@ exports[`submit > form is invalid 1`] = `
296327
class="uv_toi52u0 uv_toi52u31 uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
297328
>
298329
<label
330+
<<<<<<< HEAD
299331
class="emotion-0 emotion-1 uv_m4c9ow0 uv_m4c9ow2 uv_m4c9ow4 uv_m4c9ow6 uv_m4c9ow8 uv_m4c9owb uv_m4c9owi uv_m4c9owq uv_m4c9ow1b uv_m4c9ow20 uv_m4c9ow3c"
300332
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
333+
=======
334+
class="uv_17td3g91 uv_m4c9ow0 uv_m4c9ow2 uv_m4c9ow4 uv_m4c9ow6 uv_m4c9ow8 uv_m4c9owb uv_m4c9owi uv_m4c9owq uv_m4c9ow1b uv_m4c9ow20 uv_m4c9ow3c"
335+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
301336
for="«r1»"
302337
>
303338
test
@@ -306,6 +341,7 @@ exports[`submit > form is invalid 1`] = `
306341
<div
307342
<<<<<<< HEAD
308343
<<<<<<< HEAD
344+
<<<<<<< HEAD
309345
<<<<<<< HEAD
310346
class="emotion-0 emotion-1"
311347
=======
@@ -317,6 +353,9 @@ exports[`submit > form is invalid 1`] = `
317353
=======
318354
class="emotion-2 emotion-3"
319355
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
356+
=======
357+
class="emotion-0 emotion-1"
358+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
320359
data-disabled="false"
321360
data-error="false"
322361
data-readonly="false"
@@ -326,6 +365,7 @@ exports[`submit > form is invalid 1`] = `
326365
aria-invalid="false"
327366
<<<<<<< HEAD
328367
<<<<<<< HEAD
368+
<<<<<<< HEAD
329369
<<<<<<< HEAD
330370
class="emotion-2 emotion-3"
331371
=======
@@ -337,6 +377,9 @@ exports[`submit > form is invalid 1`] = `
337377
=======
338378
class="emotion-4 emotion-5"
339379
>>>>>>> be21b81f1 (refactor(Stack): vanilla extract (#5492))
380+
=======
381+
class="emotion-2 emotion-3"
382+
>>>>>>> 29d2395c6 (refactor: label and password check to vanilla extract (#5517))
340383
data-size="large"
341384
id="«r1»"
342385
name="toto"

0 commit comments

Comments
 (0)