22
33exports [` switchButtonField > should render correctly 1` ] = `
44<DocumentFragment >
5- .emotion-0 {
6- border : 1px solid #d9dadd ;
7- border - radius : 0.25rem ;
8- padding : 0.25rem ;
9- display : - webkit - box ;
10- display : - webkit - flex ;
11- display : - ms - flexbox ;
12- display : flex ;
13- gap : 0.5rem ;
14- position : relative ;
15- }
16-
17- .emotion-0[data-size='small'] {
18- height : 2.5rem ;
19- }
20-
21- .emotion-0[data-size='medium'] {
22- height : 3rem ;
23- }
24-
25- .emotion-2 {
26- border : none ;
27- padding : 0.5rem 1rem ;
28- font - weight : 500 ;
29- - webkit - box - pack : center ;
30- - ms - flex - pack : center ;
31- - webkit - justify - content : center ;
32- justify - content : center ;
33- - webkit - align - items : center ;
34- - webkit - box - align : center ;
35- - ms - flex - align : center ;
36- align - items : center ;
37- - webkit - transition : all 200ms ease - in - out ;
38- transition : all 200ms ease - in - out ;
39- white - space : nowrap ;
40- background : transparent ;
41- height : 100 % ;
42- - webkit - user - select : none ;
43- - moz - user - select : none ;
44- - ms - user - select : none ;
45- user - select : none ;
46- }
47-
48- .emotion-2[data-checked="false"]:active:not([data-error="true"]):not([data-disabled="true"]),
49- .emotion-2[data-checked="false"]:hover:not([data-error="true"]):not([data-disabled="true"]) {
50- box - shadow : none ;
51- }
52-
53- .emotion-2:hover,
54- .emotion-2:active {
55- box - shadow : none ;
56- border : none ;
57- }
58-
59- .emotion-2:hover:not([data-error='true'][data-disabled='true']),
60- .emotion-2:active:not([data-error='true'][data-disabled='true']) {
61- border : none ;
62- }
63-
64- .emotion-2[data-checked='true'] {
65- border : none ;
66- }
67-
68- .emotion-2 label {
69- - webkit - transition : color 300ms ;
70- transition : color 300ms ;
71- color : #222638 ;
72- }
73-
74- .emotion-2[data-checked='true'] label {
75- color : #ffffff ;
76- }
77-
78- .emotion-2:not([data-checked='true']) label:hover {
79- color : #641cb3 ;
80- }
81-
82- <div
5+ <div
836 data-testid = " testing"
847 >
858 <form
@@ -90,11 +13,10 @@ exports[`switchButtonField > should render correctly 1`] = `
9013 class = " uv_toi52u0 uv_toi52u31 uv_toi52u2j uv_toi52u7d uv_toi52u5d"
9114 >
9215 <div
93- class = " emotion-0 emotion-1"
94- data-size = " small"
16+ class = " uv_m5izgx1 uv_m5izgx0"
9517 >
9618 <div
97- class = " emotion-2 emotion-3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
19+ class = " uv_m5izgx4 uv_m5izgx3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
9820 data-checked = " false"
9921 data-disabled = " false"
10022 data-testid = " switch-button-left"
@@ -156,7 +78,7 @@ exports[`switchButtonField > should render correctly 1`] = `
15678 </div >
15779 </div >
15880 <div
159- class = " emotion-2 emotion-3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
81+ class = " uv_m5izgx4 uv_m5izgx3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
16082 data-checked = " false"
16183 data-disabled = " false"
16284 data-testid = " switch-button-right"
@@ -226,84 +148,7 @@ exports[`switchButtonField > should render correctly 1`] = `
226148
227149exports [` switchButtonField > should works with defaultValues 1` ] = `
228150<DocumentFragment >
229- .emotion-0 {
230- border : 1px solid #d9dadd ;
231- border - radius : 0.25rem ;
232- padding : 0.25rem ;
233- display : - webkit - box ;
234- display : - webkit - flex ;
235- display : - ms - flexbox ;
236- display : flex ;
237- gap : 0.5rem ;
238- position : relative ;
239- }
240-
241- .emotion-0[data-size='small'] {
242- height : 2.5rem ;
243- }
244-
245- .emotion-0[data-size='medium'] {
246- height : 3rem ;
247- }
248-
249- .emotion-2 {
250- border : none ;
251- padding : 0.5rem 1rem ;
252- font - weight : 500 ;
253- - webkit - box - pack : center ;
254- - ms - flex - pack : center ;
255- - webkit - justify - content : center ;
256- justify - content : center ;
257- - webkit - align - items : center ;
258- - webkit - box - align : center ;
259- - ms - flex - align : center ;
260- align - items : center ;
261- - webkit - transition : all 200ms ease - in - out ;
262- transition : all 200ms ease - in - out ;
263- white - space : nowrap ;
264- background : transparent ;
265- height : 100 % ;
266- - webkit - user - select : none ;
267- - moz - user - select : none ;
268- - ms - user - select : none ;
269- user - select : none ;
270- }
271-
272- .emotion-2[data-checked="false"]:active:not([data-error="true"]):not([data-disabled="true"]),
273- .emotion-2[data-checked="false"]:hover:not([data-error="true"]):not([data-disabled="true"]) {
274- box - shadow : none ;
275- }
276-
277- .emotion-2:hover,
278- .emotion-2:active {
279- box - shadow : none ;
280- border : none ;
281- }
282-
283- .emotion-2:hover:not([data-error='true'][data-disabled='true']),
284- .emotion-2:active:not([data-error='true'][data-disabled='true']) {
285- border : none ;
286- }
287-
288- .emotion-2[data-checked='true'] {
289- border : none ;
290- }
291-
292- .emotion-2 label {
293- - webkit - transition : color 300ms ;
294- transition : color 300ms ;
295- color : #222638 ;
296- }
297-
298- .emotion-2[data-checked='true'] label {
299- color : #ffffff ;
300- }
301-
302- .emotion-2:not([data-checked='true']) label:hover {
303- color : #641cb3 ;
304- }
305-
306- <div
151+ <div
307152 data-testid = " testing"
308153 >
309154 <form
@@ -314,11 +159,10 @@ exports[`switchButtonField > should works with defaultValues 1`] = `
314159 class = " uv_toi52u0 uv_toi52u31 uv_toi52u2j uv_toi52u7d uv_toi52u5d"
315160 >
316161 <div
317- class = " emotion-0 emotion-1"
318- data-size = " small"
162+ class = " uv_m5izgx1 uv_m5izgx0"
319163 >
320164 <div
321- class = " emotion-2 emotion-3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
165+ class = " uv_m5izgx4 uv_m5izgx3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
322166 data-checked = " false"
323167 data-disabled = " false"
324168 data-testid = " switch-button-left"
@@ -380,7 +224,7 @@ exports[`switchButtonField > should works with defaultValues 1`] = `
380224 </div >
381225 </div >
382226 <div
383- class = " emotion-2 emotion-3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
227+ class = " uv_m5izgx4 uv_m5izgx3 uv_475tnd0 uv_475tnd1 uv_475tnd5 uv_475tnd6 uv_toi52u0 uv_toi52u3j uv_toi52u2d uv_toi52u7d uv_toi52u1v uv_toi52u5d"
384228 data-checked = " false"
385229 data-disabled = " false"
386230 data-testid = " switch-button-right"
0 commit comments