Skip to content

Commit 236900b

Browse files
matthprostlisalupi
authored andcommitted
fix(form): remove all emotion usages (#5439)
* fix(form): remove all emotion usages * fix: snapshots
1 parent e94f27b commit 236900b

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ exports[`DateInputField > should clear field 1`] = `
278278
gap: 1rem;
279279
}
280280
281-
.emotion-21 {
281+
.emotion-19 {
282282
display: -webkit-box;
283283
display: -webkit-flex;
284284
display: -ms-flexbox;
@@ -300,7 +300,7 @@ exports[`DateInputField > should clear field 1`] = `
300300
flex-direction: row;
301301
}
302302
303-
.emotion-23 {
303+
.emotion-21 {
304304
vertical-align: middle;
305305
fill: currentColor;
306306
height: 1rem;
@@ -309,12 +309,12 @@ exports[`DateInputField > should clear field 1`] = `
309309
min-height: 1rem;
310310
}
311311
312-
.emotion-23 .fillStroke {
312+
.emotion-21 .fillStroke {
313313
stroke: currentColor;
314314
fill: none;
315315
}
316316
317-
.emotion-26 {
317+
.emotion-24 {
318318
color: #3f4250;
319319
font-size: 1rem;
320320
font-family: Inter,sans-serif;
@@ -327,7 +327,7 @@ exports[`DateInputField > should clear field 1`] = `
327327
text-transform: capitalize;
328328
}
329329
330-
.emotion-30 {
330+
.emotion-28 {
331331
display: grid;
332332
grid-template-columns: repeat(7, 1fr);
333333
gap: 0.5rem;
@@ -341,7 +341,7 @@ exports[`DateInputField > should clear field 1`] = `
341341
justify-content: normal;
342342
}
343343
344-
.emotion-33 {
344+
.emotion-31 {
345345
color: #3f4250;
346346
font-size: 1rem;
347347
font-family: Inter,sans-serif;
@@ -355,33 +355,33 @@ exports[`DateInputField > should clear field 1`] = `
355355
text-transform: lowercase;
356356
}
357357
358-
.emotion-33::first-letter {
358+
.emotion-31::first-letter {
359359
text-transform: uppercase;
360360
}
361361
362-
.emotion-53 {
362+
.emotion-51 {
363363
height: 1.5625rem;
364364
width: 100%;
365365
padding: 0;
366366
color: #727683;
367367
}
368368
369-
.emotion-53[aria-label="in-range"] {
369+
.emotion-51[aria-label="in-range"] {
370370
color: #521094;
371371
background-color: #f1eefc;
372372
}
373373
374-
.emotion-53[aria-label="in-range"]:hover {
374+
.emotion-51[aria-label="in-range"]:hover {
375375
color: #ffffff;
376376
background-color: #792dd4;
377377
}
378378
379-
.emotion-53[aria-label="not-current"],
380-
.emotion-53:disabled {
379+
.emotion-51[aria-label="not-current"],
380+
.emotion-51:disabled {
381381
color: #b5b7bd;
382382
}
383383
384-
.emotion-53[aria-label="selected"] {
384+
.emotion-51[aria-label="selected"] {
385385
color: #ffffff;
386386
}
387387

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
295295
flex-direction: column;
296296
}
297297
298-
.emotion-22 {
298+
.emotion-20 {
299299
display: -webkit-box;
300300
display: -webkit-flex;
301301
display: -ms-flexbox;
@@ -322,11 +322,11 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
322322
padding-top: 0.25rem;
323323
}
324324
325-
.emotion-22[data-grouped="true"] {
325+
.emotion-20[data-grouped="true"] {
326326
padding-top: 0rem;
327327
}
328328
329-
.emotion-24 {
329+
.emotion-22 {
330330
display: -webkit-box;
331331
display: -webkit-flex;
332332
display: -ms-flexbox;
@@ -349,13 +349,13 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
349349
gap: 0.125rem;
350350
}
351351
352-
.emotion-26 {
352+
.emotion-24 {
353353
position: -webkit-sticky;
354354
position: sticky;
355355
top: 0;
356356
}
357357
358-
.emotion-28 {
358+
.emotion-26 {
359359
display: -webkit-box;
360360
display: -webkit-flex;
361361
display: -ms-flexbox;
@@ -385,21 +385,21 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
385385
margin-bottom: 0.125rem;
386386
}
387387
388-
.emotion-28:focus {
388+
.emotion-26:focus {
389389
background-color: #f9f9fa;
390390
outline: none;
391391
}
392392
393-
.emotion-28[data-selectgroup='true'] {
393+
.emotion-26[data-selectgroup='true'] {
394394
padding-left: 1rem;
395395
border-left: 0.25rem solid #f9f9fa;
396396
}
397397
398-
.emotion-28[data-selectgroup='true']:focus {
398+
.emotion-26[data-selectgroup='true']:focus {
399399
background-color: #e9eaeb;
400400
}
401401
402-
.emotion-30 {
402+
.emotion-28 {
403403
color: #3f4250;
404404
font-size: 0.75rem;
405405
font-family: Inter,sans-serif;
@@ -412,7 +412,7 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
412412
text-align: left;
413413
}
414414
415-
.emotion-34 {
415+
.emotion-32 {
416416
text-align: left;
417417
border: none;
418418
background-color: #ffffff;
@@ -424,31 +424,31 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
424424
border: 1px transparent solid;
425425
}
426426
427-
.emotion-34:hover,
428-
.emotion-34:focus {
427+
.emotion-32:hover,
428+
.emotion-32:focus {
429429
background-color: #f1eefc;
430430
color: #641cb3;
431431
cursor: pointer;
432432
}
433433
434-
.emotion-34[aria-selected='true'] {
434+
.emotion-32[aria-selected='true'] {
435435
background-color: #f1eefc;
436436
}
437437
438-
.emotion-34[aria-disabled="true"] {
438+
.emotion-32[aria-disabled="true"] {
439439
background-color: #f3f3f4;
440440
color: #b5b7bd;
441441
}
442442
443-
.emotion-34[aria-disabled="true"]:hover,
444-
.emotion-34 [aria-disabled="true"]:focus {
443+
.emotion-32[aria-disabled="true"]:hover,
444+
.emotion-32 [aria-disabled="true"]:focus {
445445
background-color: #f3f3f4;
446446
color: #b5b7bd;
447447
cursor: not-allowed;
448448
outline: none;
449449
}
450450
451-
.emotion-38 {
451+
.emotion-36 {
452452
display: -webkit-box;
453453
display: -webkit-flex;
454454
display: -ms-flexbox;
@@ -471,7 +471,7 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
471471
overflow: hidden;
472472
}
473473
474-
.emotion-41 {
474+
.emotion-39 {
475475
font-size: 1rem;
476476
font-family: Inter,sans-serif;
477477
font-weight: 400;
@@ -493,7 +493,7 @@ exports[`SelectInputField > should display right value on grouped options 1`] =
493493
max-width: 100%;
494494
}
495495
496-
.emotion-43 {
496+
.emotion-41 {
497497
color: #727683;
498498
font-size: 0.875rem;
499499
font-family: Inter,sans-serif;

0 commit comments

Comments
 (0)