@charcoal-ui/react 4.0.0-beta.6 → 4.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/_lib/createDivComponent.d.ts +4 -0
  2. package/dist/_lib/createDivComponent.d.ts.map +1 -0
  3. package/dist/components/Modal/ModalPlumbing.d.ts.map +1 -1
  4. package/dist/components/TextArea/index.d.ts +1 -0
  5. package/dist/components/TextArea/index.d.ts.map +1 -1
  6. package/dist/components/TextField/AssistiveText/index.d.ts +5 -0
  7. package/dist/components/TextField/AssistiveText/index.d.ts.map +1 -0
  8. package/dist/components/TextField/index.d.ts +1 -3
  9. package/dist/components/TextField/index.d.ts.map +1 -1
  10. package/dist/index.cjs.js +209 -239
  11. package/dist/index.cjs.js.map +1 -1
  12. package/dist/index.css +156 -0
  13. package/dist/index.css.map +1 -1
  14. package/dist/index.esm.js +127 -157
  15. package/dist/index.esm.js.map +1 -1
  16. package/package.json +8 -8
  17. package/src/_lib/createDivComponent.tsx +11 -0
  18. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +8 -20
  19. package/src/components/DropdownSelector/index.tsx +2 -2
  20. package/src/components/Modal/ModalPlumbing.tsx +2 -11
  21. package/src/components/Modal/__snapshots__/index.story.storyshot +84 -276
  22. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +141 -813
  23. package/src/components/TextArea/index.css +78 -0
  24. package/src/components/TextArea/index.tsx +26 -96
  25. package/src/components/TextField/AssistiveText/index.css +10 -0
  26. package/src/components/TextField/AssistiveText/index.tsx +6 -0
  27. package/src/components/TextField/__snapshots__/TextField.story.storyshot +109 -1059
  28. package/src/components/TextField/index.css +87 -0
  29. package/src/components/TextField/index.tsx +24 -117
@@ -1,106 +1,12 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Storybook Tests react/TextField Affix 1`] = `
4
- .c0 {
5
- display: grid;
6
- grid-template-columns: 1fr;
7
- grid-gap: 4px;
8
- }
9
-
10
- .c1 {
11
- display: grid;
12
- grid-template-columns: auto 1fr auto;
13
- height: 40px;
14
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
15
- transition: 0.2s background-color,0.2s box-shadow;
16
- color: var(--charcoal-text2);
17
- background-color: var(--charcoal-surface3);
18
- border-radius: 4px;
19
- gap: 4px;
20
- padding: 0 8px;
21
- line-height: 22px;
22
- font-size: 14px;
23
- }
24
-
25
- .c1:not(:disabled):not([aria-disabled]):hover,
26
- .c1 [aria-disabled='false']:hover {
27
- background-color: var(--charcoal-surface3-hover);
28
- }
29
-
30
- .c1:focus-within {
31
- outline: none;
32
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
33
- }
34
-
35
- .c2 {
36
- display: -webkit-box;
37
- display: -webkit-flex;
38
- display: -ms-flexbox;
39
- display: flex;
40
- -webkit-align-items: center;
41
- -webkit-box-align: center;
42
- -ms-flex-align: center;
43
- align-items: center;
44
- }
45
-
46
- .c4 {
47
- display: -webkit-box;
48
- display: -webkit-flex;
49
- display: -ms-flexbox;
50
- display: flex;
51
- -webkit-align-items: center;
52
- -webkit-box-align: center;
53
- -ms-flex-align: center;
54
- align-items: center;
55
- gap: 8px;
56
- }
57
-
58
- .c3 {
59
- border: none;
60
- box-sizing: border-box;
61
- outline: none;
62
- font-family: inherit;
63
- -webkit-transform-origin: top left;
64
- -ms-transform-origin: top left;
65
- transform-origin: top left;
66
- -webkit-transform: scale(0.875);
67
- -ms-transform: scale(0.875);
68
- transform: scale(0.875);
69
- width: calc(100% / 0.875);
70
- height: calc(100% / 0.875);
71
- font-size: calc(14px / 0.875);
72
- line-height: calc(22px / 0.875);
73
- padding-left: 0;
74
- padding-right: 0;
75
- border-radius: calc(4px / 0.875);
76
- -webkit-appearance: none;
77
- -moz-appearance: none;
78
- appearance: none;
79
- background: transparent;
80
- color: var(--charcoal-text2);
81
- }
82
-
83
- .c3::-webkit-input-placeholder {
84
- color: var(--charcoal-text3);
85
- }
86
-
87
- .c3::-moz-placeholder {
88
- color: var(--charcoal-text3);
89
- }
90
-
91
- .c3:-ms-input-placeholder {
92
- color: var(--charcoal-text3);
93
- }
94
-
95
- .c3::placeholder {
96
- color: var(--charcoal-text3);
97
- }
98
-
99
4
  <div
100
5
  data-dark={false}
101
6
  >
102
7
  <div
103
- className="c0"
8
+ aria-disabled={false}
9
+ className="charcoal-text-field-root"
104
10
  >
105
11
  <div
106
12
  className="charcoal-field-label-root"
@@ -133,115 +39,40 @@ exports[`Storybook Tests react/TextField Affix 1`] = `
133
39
  </div>
134
40
  </div>
135
41
  <div
136
- className="c1"
42
+ className="charcoal-text-field-container"
43
+ data-invalid={false}
137
44
  >
138
45
  <div
139
- className="c2"
46
+ className="charcoal-text-field-prefix"
140
47
  >
141
48
  /home/john/
142
49
  </div>
143
50
  <input
144
51
  aria-labelledby="test-id"
145
- className="c3"
52
+ className="charcoal-text-field-input"
53
+ data-invalid={false}
54
+ disabled={false}
146
55
  id="test-id"
147
56
  onChange={[Function]}
148
57
  type="text"
149
58
  />
150
- <span
151
- className="c4"
59
+ <div
60
+ className="charcoal-text-field-suffix"
152
61
  >
153
62
  .png
154
- </span>
63
+ </div>
155
64
  </div>
156
65
  </div>
157
66
  </div>
158
67
  `;
159
68
 
160
69
  exports[`Storybook Tests react/TextField AssistiveText 1`] = `
161
- .c0 {
162
- display: grid;
163
- grid-template-columns: 1fr;
164
- grid-gap: 4px;
165
- }
166
-
167
- .c1 {
168
- display: grid;
169
- grid-template-columns: 1fr;
170
- height: 40px;
171
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
172
- transition: 0.2s background-color,0.2s box-shadow;
173
- color: var(--charcoal-text2);
174
- background-color: var(--charcoal-surface3);
175
- border-radius: 4px;
176
- gap: 4px;
177
- padding: 0 8px;
178
- line-height: 22px;
179
- font-size: 14px;
180
- }
181
-
182
- .c1:not(:disabled):not([aria-disabled]):hover,
183
- .c1 [aria-disabled='false']:hover {
184
- background-color: var(--charcoal-surface3-hover);
185
- }
186
-
187
- .c1:focus-within {
188
- outline: none;
189
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
190
- }
191
-
192
- .c2 {
193
- border: none;
194
- box-sizing: border-box;
195
- outline: none;
196
- font-family: inherit;
197
- -webkit-transform-origin: top left;
198
- -ms-transform-origin: top left;
199
- transform-origin: top left;
200
- -webkit-transform: scale(0.875);
201
- -ms-transform: scale(0.875);
202
- transform: scale(0.875);
203
- width: calc(100% / 0.875);
204
- height: calc(100% / 0.875);
205
- font-size: calc(14px / 0.875);
206
- line-height: calc(22px / 0.875);
207
- padding-left: 0;
208
- padding-right: 0;
209
- border-radius: calc(4px / 0.875);
210
- -webkit-appearance: none;
211
- -moz-appearance: none;
212
- appearance: none;
213
- background: transparent;
214
- color: var(--charcoal-text2);
215
- }
216
-
217
- .c2::-webkit-input-placeholder {
218
- color: var(--charcoal-text3);
219
- }
220
-
221
- .c2::-moz-placeholder {
222
- color: var(--charcoal-text3);
223
- }
224
-
225
- .c2:-ms-input-placeholder {
226
- color: var(--charcoal-text3);
227
- }
228
-
229
- .c2::placeholder {
230
- color: var(--charcoal-text3);
231
- }
232
-
233
- .c3 {
234
- font-size: 14px;
235
- line-height: 22px;
236
- margin: 0;
237
- color: var(--charcoal-text2);
238
- }
239
-
240
70
  <div
241
71
  data-dark={false}
242
72
  >
243
73
  <div
244
- className="c0"
74
+ aria-disabled={false}
75
+ className="charcoal-text-field-root"
245
76
  >
246
77
  <div
247
78
  className="charcoal-field-label-root"
@@ -274,105 +105,38 @@ exports[`Storybook Tests react/TextField AssistiveText 1`] = `
274
105
  </div>
275
106
  </div>
276
107
  <div
277
- className="c1"
108
+ className="charcoal-text-field-container"
109
+ data-invalid={false}
278
110
  >
279
111
  <input
280
112
  aria-describedby="test-id"
281
113
  aria-labelledby="test-id"
282
- className="c2"
114
+ className="charcoal-text-field-input"
115
+ data-invalid={false}
116
+ disabled={false}
283
117
  id="test-id"
284
118
  onChange={[Function]}
285
119
  type="text"
286
120
  />
287
121
  </div>
288
- <p
289
- className="c3"
122
+ <div
123
+ className="charcoal-text-field-assistive-text"
124
+ data-invalid={false}
290
125
  id="test-id"
291
126
  >
292
127
  説明が入ります
293
- </p>
128
+ </div>
294
129
  </div>
295
130
  </div>
296
131
  `;
297
132
 
298
133
  exports[`Storybook Tests react/TextField Default 1`] = `
299
- .c0 {
300
- display: grid;
301
- grid-template-columns: 1fr;
302
- grid-gap: 4px;
303
- }
304
-
305
- .c1 {
306
- display: grid;
307
- grid-template-columns: 1fr;
308
- height: 40px;
309
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
310
- transition: 0.2s background-color,0.2s box-shadow;
311
- color: var(--charcoal-text2);
312
- background-color: var(--charcoal-surface3);
313
- border-radius: 4px;
314
- gap: 4px;
315
- padding: 0 8px;
316
- line-height: 22px;
317
- font-size: 14px;
318
- }
319
-
320
- .c1:not(:disabled):not([aria-disabled]):hover,
321
- .c1 [aria-disabled='false']:hover {
322
- background-color: var(--charcoal-surface3-hover);
323
- }
324
-
325
- .c1:focus-within {
326
- outline: none;
327
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
328
- }
329
-
330
- .c2 {
331
- border: none;
332
- box-sizing: border-box;
333
- outline: none;
334
- font-family: inherit;
335
- -webkit-transform-origin: top left;
336
- -ms-transform-origin: top left;
337
- transform-origin: top left;
338
- -webkit-transform: scale(0.875);
339
- -ms-transform: scale(0.875);
340
- transform: scale(0.875);
341
- width: calc(100% / 0.875);
342
- height: calc(100% / 0.875);
343
- font-size: calc(14px / 0.875);
344
- line-height: calc(22px / 0.875);
345
- padding-left: 0;
346
- padding-right: 0;
347
- border-radius: calc(4px / 0.875);
348
- -webkit-appearance: none;
349
- -moz-appearance: none;
350
- appearance: none;
351
- background: transparent;
352
- color: var(--charcoal-text2);
353
- }
354
-
355
- .c2::-webkit-input-placeholder {
356
- color: var(--charcoal-text3);
357
- }
358
-
359
- .c2::-moz-placeholder {
360
- color: var(--charcoal-text3);
361
- }
362
-
363
- .c2:-ms-input-placeholder {
364
- color: var(--charcoal-text3);
365
- }
366
-
367
- .c2::placeholder {
368
- color: var(--charcoal-text3);
369
- }
370
-
371
134
  <div
372
135
  data-dark={false}
373
136
  >
374
137
  <div
375
- className="c0"
138
+ aria-disabled={false}
139
+ className="charcoal-text-field-root"
376
140
  >
377
141
  <div
378
142
  className="charcoal-field-label-root"
@@ -411,12 +175,15 @@ exports[`Storybook Tests react/TextField Default 1`] = `
411
175
  </div>
412
176
  </div>
413
177
  <div
414
- className="c1"
178
+ className="charcoal-text-field-container"
179
+ data-invalid={false}
415
180
  >
416
181
  <input
417
182
  aria-invalid={false}
418
183
  aria-labelledby="test-id"
419
- className="c2"
184
+ className="charcoal-text-field-input"
185
+ data-invalid={false}
186
+ disabled={false}
420
187
  id="test-id"
421
188
  onChange={[Function]}
422
189
  placeholder="TextField"
@@ -429,84 +196,12 @@ exports[`Storybook Tests react/TextField Default 1`] = `
429
196
  `;
430
197
 
431
198
  exports[`Storybook Tests react/TextField Disabled 1`] = `
432
- .c0 {
433
- display: grid;
434
- grid-template-columns: 1fr;
435
- grid-gap: 4px;
436
- opacity: 0.32;
437
- }
438
-
439
- .c1 {
440
- display: grid;
441
- grid-template-columns: 1fr;
442
- height: 40px;
443
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
444
- transition: 0.2s background-color,0.2s box-shadow;
445
- color: var(--charcoal-text2);
446
- background-color: var(--charcoal-surface3);
447
- border-radius: 4px;
448
- gap: 4px;
449
- padding: 0 8px;
450
- line-height: 22px;
451
- font-size: 14px;
452
- }
453
-
454
- .c1:not(:disabled):not([aria-disabled]):hover,
455
- .c1 [aria-disabled='false']:hover {
456
- background-color: var(--charcoal-surface3-hover);
457
- }
458
-
459
- .c1:focus-within {
460
- outline: none;
461
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
462
- }
463
-
464
- .c2 {
465
- border: none;
466
- box-sizing: border-box;
467
- outline: none;
468
- font-family: inherit;
469
- -webkit-transform-origin: top left;
470
- -ms-transform-origin: top left;
471
- transform-origin: top left;
472
- -webkit-transform: scale(0.875);
473
- -ms-transform: scale(0.875);
474
- transform: scale(0.875);
475
- width: calc(100% / 0.875);
476
- height: calc(100% / 0.875);
477
- font-size: calc(14px / 0.875);
478
- line-height: calc(22px / 0.875);
479
- padding-left: 0;
480
- padding-right: 0;
481
- border-radius: calc(4px / 0.875);
482
- -webkit-appearance: none;
483
- -moz-appearance: none;
484
- appearance: none;
485
- background: transparent;
486
- color: var(--charcoal-text2);
487
- }
488
-
489
- .c2::-webkit-input-placeholder {
490
- color: var(--charcoal-text3);
491
- }
492
-
493
- .c2::-moz-placeholder {
494
- color: var(--charcoal-text3);
495
- }
496
-
497
- .c2:-ms-input-placeholder {
498
- color: var(--charcoal-text3);
499
- }
500
-
501
- .c2::placeholder {
502
- color: var(--charcoal-text3);
503
- }
504
-
505
199
  <div
506
200
  data-dark={false}
507
201
  >
508
202
  <div
509
- className="c0"
203
+ aria-disabled={true}
204
+ className="charcoal-text-field-root"
510
205
  >
511
206
  <div
512
207
  className="charcoal-field-label-root"
@@ -540,11 +235,14 @@ exports[`Storybook Tests react/TextField Disabled 1`] = `
540
235
  </div>
541
236
  <div
542
237
  aria-disabled={true}
543
- className="c1"
238
+ className="charcoal-text-field-container"
239
+ data-invalid={false}
544
240
  >
545
241
  <input
546
242
  aria-labelledby="test-id"
547
- className="c2"
243
+ className="charcoal-text-field-input"
244
+ data-invalid={false}
245
+ disabled={true}
548
246
  id="test-id"
549
247
  onChange={[Function]}
550
248
  type="text"
@@ -555,91 +253,12 @@ exports[`Storybook Tests react/TextField Disabled 1`] = `
555
253
  `;
556
254
 
557
255
  exports[`Storybook Tests react/TextField Invalid 1`] = `
558
- .c0 {
559
- display: grid;
560
- grid-template-columns: 1fr;
561
- grid-gap: 4px;
562
- }
563
-
564
- .c1 {
565
- display: grid;
566
- grid-template-columns: 1fr;
567
- height: 40px;
568
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
569
- transition: 0.2s background-color,0.2s box-shadow;
570
- color: var(--charcoal-text2);
571
- background-color: var(--charcoal-surface3);
572
- border-radius: 4px;
573
- gap: 4px;
574
- padding: 0 8px;
575
- line-height: 22px;
576
- font-size: 14px;
577
- box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
578
- }
579
-
580
- .c1:not(:disabled):not([aria-disabled]):hover,
581
- .c1 [aria-disabled='false']:hover {
582
- background-color: var(--charcoal-surface3-hover);
583
- }
584
-
585
- .c1:focus-within {
586
- outline: none;
587
- box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
588
- }
589
-
590
- .c2 {
591
- border: none;
592
- box-sizing: border-box;
593
- outline: none;
594
- font-family: inherit;
595
- -webkit-transform-origin: top left;
596
- -ms-transform-origin: top left;
597
- transform-origin: top left;
598
- -webkit-transform: scale(0.875);
599
- -ms-transform: scale(0.875);
600
- transform: scale(0.875);
601
- width: calc(100% / 0.875);
602
- height: calc(100% / 0.875);
603
- font-size: calc(14px / 0.875);
604
- line-height: calc(22px / 0.875);
605
- padding-left: 0;
606
- padding-right: 0;
607
- border-radius: calc(4px / 0.875);
608
- -webkit-appearance: none;
609
- -moz-appearance: none;
610
- appearance: none;
611
- background: transparent;
612
- color: var(--charcoal-text2);
613
- }
614
-
615
- .c2::-webkit-input-placeholder {
616
- color: var(--charcoal-text3);
617
- }
618
-
619
- .c2::-moz-placeholder {
620
- color: var(--charcoal-text3);
621
- }
622
-
623
- .c2:-ms-input-placeholder {
624
- color: var(--charcoal-text3);
625
- }
626
-
627
- .c2::placeholder {
628
- color: var(--charcoal-text3);
629
- }
630
-
631
- .c3 {
632
- font-size: 14px;
633
- line-height: 22px;
634
- margin: 0;
635
- color: var(--charcoal-assertive);
636
- }
637
-
638
256
  <div
639
257
  data-dark={false}
640
258
  >
641
259
  <div
642
- className="c0"
260
+ aria-disabled={false}
261
+ className="charcoal-text-field-root"
643
262
  >
644
263
  <div
645
264
  className="charcoal-field-label-root"
@@ -672,106 +291,39 @@ exports[`Storybook Tests react/TextField Invalid 1`] = `
672
291
  </div>
673
292
  </div>
674
293
  <div
675
- className="c1"
294
+ className="charcoal-text-field-container"
295
+ data-invalid={true}
676
296
  >
677
297
  <input
678
298
  aria-describedby="test-id"
679
299
  aria-invalid={true}
680
300
  aria-labelledby="test-id"
681
- className="c2"
301
+ className="charcoal-text-field-input"
302
+ data-invalid={true}
303
+ disabled={false}
682
304
  id="test-id"
683
305
  onChange={[Function]}
684
306
  type="text"
685
307
  />
686
308
  </div>
687
- <p
688
- className="c3"
309
+ <div
310
+ className="charcoal-text-field-assistive-text"
311
+ data-invalid={true}
689
312
  id="test-id"
690
313
  >
691
314
  エラーメッセージ
692
- </p>
315
+ </div>
693
316
  </div>
694
317
  </div>
695
318
  `;
696
319
 
697
320
  exports[`Storybook Tests react/TextField Label 1`] = `
698
- .c0 {
699
- display: grid;
700
- grid-template-columns: 1fr;
701
- grid-gap: 4px;
702
- }
703
-
704
- .c1 {
705
- display: grid;
706
- grid-template-columns: 1fr;
707
- height: 40px;
708
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
709
- transition: 0.2s background-color,0.2s box-shadow;
710
- color: var(--charcoal-text2);
711
- background-color: var(--charcoal-surface3);
712
- border-radius: 4px;
713
- gap: 4px;
714
- padding: 0 8px;
715
- line-height: 22px;
716
- font-size: 14px;
717
- }
718
-
719
- .c1:not(:disabled):not([aria-disabled]):hover,
720
- .c1 [aria-disabled='false']:hover {
721
- background-color: var(--charcoal-surface3-hover);
722
- }
723
-
724
- .c1:focus-within {
725
- outline: none;
726
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
727
- }
728
-
729
- .c2 {
730
- border: none;
731
- box-sizing: border-box;
732
- outline: none;
733
- font-family: inherit;
734
- -webkit-transform-origin: top left;
735
- -ms-transform-origin: top left;
736
- transform-origin: top left;
737
- -webkit-transform: scale(0.875);
738
- -ms-transform: scale(0.875);
739
- transform: scale(0.875);
740
- width: calc(100% / 0.875);
741
- height: calc(100% / 0.875);
742
- font-size: calc(14px / 0.875);
743
- line-height: calc(22px / 0.875);
744
- padding-left: 0;
745
- padding-right: 0;
746
- border-radius: calc(4px / 0.875);
747
- -webkit-appearance: none;
748
- -moz-appearance: none;
749
- appearance: none;
750
- background: transparent;
751
- color: var(--charcoal-text2);
752
- }
753
-
754
- .c2::-webkit-input-placeholder {
755
- color: var(--charcoal-text3);
756
- }
757
-
758
- .c2::-moz-placeholder {
759
- color: var(--charcoal-text3);
760
- }
761
-
762
- .c2:-ms-input-placeholder {
763
- color: var(--charcoal-text3);
764
- }
765
-
766
- .c2::placeholder {
767
- color: var(--charcoal-text3);
768
- }
769
-
770
321
  <div
771
322
  data-dark={false}
772
323
  >
773
324
  <div
774
- className="c0"
325
+ aria-disabled={false}
326
+ className="charcoal-text-field-root"
775
327
  >
776
328
  <div
777
329
  className="charcoal-field-label-root"
@@ -790,11 +342,14 @@ exports[`Storybook Tests react/TextField Label 1`] = `
790
342
  </div>
791
343
  </div>
792
344
  <div
793
- className="c1"
345
+ className="charcoal-text-field-container"
346
+ data-invalid={false}
794
347
  >
795
348
  <input
796
349
  aria-labelledby="test-id"
797
- className="c2"
350
+ className="charcoal-text-field-input"
351
+ data-invalid={false}
352
+ disabled={false}
798
353
  id="test-id"
799
354
  onChange={[Function]}
800
355
  type="text"
@@ -805,83 +360,12 @@ exports[`Storybook Tests react/TextField Label 1`] = `
805
360
  `;
806
361
 
807
362
  exports[`Storybook Tests react/TextField Number 1`] = `
808
- .c0 {
809
- display: grid;
810
- grid-template-columns: 1fr;
811
- grid-gap: 4px;
812
- }
813
-
814
- .c1 {
815
- display: grid;
816
- grid-template-columns: 1fr;
817
- height: 40px;
818
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
819
- transition: 0.2s background-color,0.2s box-shadow;
820
- color: var(--charcoal-text2);
821
- background-color: var(--charcoal-surface3);
822
- border-radius: 4px;
823
- gap: 4px;
824
- padding: 0 8px;
825
- line-height: 22px;
826
- font-size: 14px;
827
- }
828
-
829
- .c1:not(:disabled):not([aria-disabled]):hover,
830
- .c1 [aria-disabled='false']:hover {
831
- background-color: var(--charcoal-surface3-hover);
832
- }
833
-
834
- .c1:focus-within {
835
- outline: none;
836
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
837
- }
838
-
839
- .c2 {
840
- border: none;
841
- box-sizing: border-box;
842
- outline: none;
843
- font-family: inherit;
844
- -webkit-transform-origin: top left;
845
- -ms-transform-origin: top left;
846
- transform-origin: top left;
847
- -webkit-transform: scale(0.875);
848
- -ms-transform: scale(0.875);
849
- transform: scale(0.875);
850
- width: calc(100% / 0.875);
851
- height: calc(100% / 0.875);
852
- font-size: calc(14px / 0.875);
853
- line-height: calc(22px / 0.875);
854
- padding-left: 0;
855
- padding-right: 0;
856
- border-radius: calc(4px / 0.875);
857
- -webkit-appearance: none;
858
- -moz-appearance: none;
859
- appearance: none;
860
- background: transparent;
861
- color: var(--charcoal-text2);
862
- }
863
-
864
- .c2::-webkit-input-placeholder {
865
- color: var(--charcoal-text3);
866
- }
867
-
868
- .c2::-moz-placeholder {
869
- color: var(--charcoal-text3);
870
- }
871
-
872
- .c2:-ms-input-placeholder {
873
- color: var(--charcoal-text3);
874
- }
875
-
876
- .c2::placeholder {
877
- color: var(--charcoal-text3);
878
- }
879
-
880
363
  <div
881
364
  data-dark={false}
882
365
  >
883
366
  <div
884
- className="c0"
367
+ aria-disabled={false}
368
+ className="charcoal-text-field-root"
885
369
  >
886
370
  <div
887
371
  className="charcoal-field-label-root"
@@ -914,11 +398,14 @@ exports[`Storybook Tests react/TextField Number 1`] = `
914
398
  </div>
915
399
  </div>
916
400
  <div
917
- className="c1"
401
+ className="charcoal-text-field-container"
402
+ data-invalid={false}
918
403
  >
919
404
  <input
920
405
  aria-labelledby="test-id"
921
- className="c2"
406
+ className="charcoal-text-field-input"
407
+ data-invalid={false}
408
+ disabled={false}
922
409
  id="test-id"
923
410
  onChange={[Function]}
924
411
  onWheel={[Function]}
@@ -931,83 +418,12 @@ exports[`Storybook Tests react/TextField Number 1`] = `
931
418
  `;
932
419
 
933
420
  exports[`Storybook Tests react/TextField Placeholder 1`] = `
934
- .c0 {
935
- display: grid;
936
- grid-template-columns: 1fr;
937
- grid-gap: 4px;
938
- }
939
-
940
- .c1 {
941
- display: grid;
942
- grid-template-columns: 1fr;
943
- height: 40px;
944
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
945
- transition: 0.2s background-color,0.2s box-shadow;
946
- color: var(--charcoal-text2);
947
- background-color: var(--charcoal-surface3);
948
- border-radius: 4px;
949
- gap: 4px;
950
- padding: 0 8px;
951
- line-height: 22px;
952
- font-size: 14px;
953
- }
954
-
955
- .c1:not(:disabled):not([aria-disabled]):hover,
956
- .c1 [aria-disabled='false']:hover {
957
- background-color: var(--charcoal-surface3-hover);
958
- }
959
-
960
- .c1:focus-within {
961
- outline: none;
962
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
963
- }
964
-
965
- .c2 {
966
- border: none;
967
- box-sizing: border-box;
968
- outline: none;
969
- font-family: inherit;
970
- -webkit-transform-origin: top left;
971
- -ms-transform-origin: top left;
972
- transform-origin: top left;
973
- -webkit-transform: scale(0.875);
974
- -ms-transform: scale(0.875);
975
- transform: scale(0.875);
976
- width: calc(100% / 0.875);
977
- height: calc(100% / 0.875);
978
- font-size: calc(14px / 0.875);
979
- line-height: calc(22px / 0.875);
980
- padding-left: 0;
981
- padding-right: 0;
982
- border-radius: calc(4px / 0.875);
983
- -webkit-appearance: none;
984
- -moz-appearance: none;
985
- appearance: none;
986
- background: transparent;
987
- color: var(--charcoal-text2);
988
- }
989
-
990
- .c2::-webkit-input-placeholder {
991
- color: var(--charcoal-text3);
992
- }
993
-
994
- .c2::-moz-placeholder {
995
- color: var(--charcoal-text3);
996
- }
997
-
998
- .c2:-ms-input-placeholder {
999
- color: var(--charcoal-text3);
1000
- }
1001
-
1002
- .c2::placeholder {
1003
- color: var(--charcoal-text3);
1004
- }
1005
-
1006
421
  <div
1007
422
  data-dark={false}
1008
423
  >
1009
424
  <div
1010
- className="c0"
425
+ aria-disabled={false}
426
+ className="charcoal-text-field-root"
1011
427
  >
1012
428
  <div
1013
429
  className="charcoal-field-label-root"
@@ -1040,11 +456,14 @@ exports[`Storybook Tests react/TextField Placeholder 1`] = `
1040
456
  </div>
1041
457
  </div>
1042
458
  <div
1043
- className="c1"
459
+ className="charcoal-text-field-container"
460
+ data-invalid={false}
1044
461
  >
1045
462
  <input
1046
463
  aria-labelledby="test-id"
1047
- className="c2"
464
+ className="charcoal-text-field-input"
465
+ data-invalid={false}
466
+ disabled={false}
1048
467
  id="test-id"
1049
468
  onChange={[Function]}
1050
469
  placeholder="Placeholder"
@@ -1057,89 +476,6 @@ exports[`Storybook Tests react/TextField Placeholder 1`] = `
1057
476
 
1058
477
  exports[`Storybook Tests react/TextField Prefix 1`] = `
1059
478
  .c0 {
1060
- display: grid;
1061
- grid-template-columns: 1fr;
1062
- grid-gap: 4px;
1063
- }
1064
-
1065
- .c1 {
1066
- display: grid;
1067
- grid-template-columns: auto 1fr;
1068
- height: 40px;
1069
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1070
- transition: 0.2s background-color,0.2s box-shadow;
1071
- color: var(--charcoal-text2);
1072
- background-color: var(--charcoal-surface3);
1073
- border-radius: 4px;
1074
- gap: 4px;
1075
- padding: 0 8px;
1076
- line-height: 22px;
1077
- font-size: 14px;
1078
- }
1079
-
1080
- .c1:not(:disabled):not([aria-disabled]):hover,
1081
- .c1 [aria-disabled='false']:hover {
1082
- background-color: var(--charcoal-surface3-hover);
1083
- }
1084
-
1085
- .c1:focus-within {
1086
- outline: none;
1087
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1088
- }
1089
-
1090
- .c2 {
1091
- display: -webkit-box;
1092
- display: -webkit-flex;
1093
- display: -ms-flexbox;
1094
- display: flex;
1095
- -webkit-align-items: center;
1096
- -webkit-box-align: center;
1097
- -ms-flex-align: center;
1098
- align-items: center;
1099
- }
1100
-
1101
- .c4 {
1102
- border: none;
1103
- box-sizing: border-box;
1104
- outline: none;
1105
- font-family: inherit;
1106
- -webkit-transform-origin: top left;
1107
- -ms-transform-origin: top left;
1108
- transform-origin: top left;
1109
- -webkit-transform: scale(0.875);
1110
- -ms-transform: scale(0.875);
1111
- transform: scale(0.875);
1112
- width: calc(100% / 0.875);
1113
- height: calc(100% / 0.875);
1114
- font-size: calc(14px / 0.875);
1115
- line-height: calc(22px / 0.875);
1116
- padding-left: 0;
1117
- padding-right: 0;
1118
- border-radius: calc(4px / 0.875);
1119
- -webkit-appearance: none;
1120
- -moz-appearance: none;
1121
- appearance: none;
1122
- background: transparent;
1123
- color: var(--charcoal-text2);
1124
- }
1125
-
1126
- .c4::-webkit-input-placeholder {
1127
- color: var(--charcoal-text3);
1128
- }
1129
-
1130
- .c4::-moz-placeholder {
1131
- color: var(--charcoal-text3);
1132
- }
1133
-
1134
- .c4:-ms-input-placeholder {
1135
- color: var(--charcoal-text3);
1136
- }
1137
-
1138
- .c4::placeholder {
1139
- color: var(--charcoal-text3);
1140
- }
1141
-
1142
- .c3 {
1143
479
  display: -webkit-box;
1144
480
  display: -webkit-flex;
1145
481
  display: -ms-flexbox;
@@ -1155,7 +491,8 @@ exports[`Storybook Tests react/TextField Prefix 1`] = `
1155
491
  data-dark={false}
1156
492
  >
1157
493
  <div
1158
- className="c0"
494
+ aria-disabled={false}
495
+ className="charcoal-text-field-root"
1159
496
  >
1160
497
  <div
1161
498
  className="charcoal-field-label-root"
@@ -1188,13 +525,14 @@ exports[`Storybook Tests react/TextField Prefix 1`] = `
1188
525
  </div>
1189
526
  </div>
1190
527
  <div
1191
- className="c1"
528
+ className="charcoal-text-field-container"
529
+ data-invalid={false}
1192
530
  >
1193
531
  <div
1194
- className="c2"
532
+ className="charcoal-text-field-prefix"
1195
533
  >
1196
534
  <div
1197
- className="c3"
535
+ className="c0"
1198
536
  >
1199
537
  <pixiv-icon
1200
538
  name="16/Search"
@@ -1203,7 +541,9 @@ exports[`Storybook Tests react/TextField Prefix 1`] = `
1203
541
  </div>
1204
542
  <input
1205
543
  aria-labelledby="test-id"
1206
- className="c4"
544
+ className="charcoal-text-field-input"
545
+ data-invalid={false}
546
+ disabled={false}
1207
547
  id="test-id"
1208
548
  onChange={[Function]}
1209
549
  type="text"
@@ -1214,83 +554,12 @@ exports[`Storybook Tests react/TextField Prefix 1`] = `
1214
554
  `;
1215
555
 
1216
556
  exports[`Storybook Tests react/TextField ReadOnly 1`] = `
1217
- .c0 {
1218
- display: grid;
1219
- grid-template-columns: 1fr;
1220
- grid-gap: 4px;
1221
- }
1222
-
1223
- .c1 {
1224
- display: grid;
1225
- grid-template-columns: 1fr;
1226
- height: 40px;
1227
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1228
- transition: 0.2s background-color,0.2s box-shadow;
1229
- color: var(--charcoal-text2);
1230
- background-color: var(--charcoal-surface3);
1231
- border-radius: 4px;
1232
- gap: 4px;
1233
- padding: 0 8px;
1234
- line-height: 22px;
1235
- font-size: 14px;
1236
- }
1237
-
1238
- .c1:not(:disabled):not([aria-disabled]):hover,
1239
- .c1 [aria-disabled='false']:hover {
1240
- background-color: var(--charcoal-surface3-hover);
1241
- }
1242
-
1243
- .c1:focus-within {
1244
- outline: none;
1245
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1246
- }
1247
-
1248
- .c2 {
1249
- border: none;
1250
- box-sizing: border-box;
1251
- outline: none;
1252
- font-family: inherit;
1253
- -webkit-transform-origin: top left;
1254
- -ms-transform-origin: top left;
1255
- transform-origin: top left;
1256
- -webkit-transform: scale(0.875);
1257
- -ms-transform: scale(0.875);
1258
- transform: scale(0.875);
1259
- width: calc(100% / 0.875);
1260
- height: calc(100% / 0.875);
1261
- font-size: calc(14px / 0.875);
1262
- line-height: calc(22px / 0.875);
1263
- padding-left: 0;
1264
- padding-right: 0;
1265
- border-radius: calc(4px / 0.875);
1266
- -webkit-appearance: none;
1267
- -moz-appearance: none;
1268
- appearance: none;
1269
- background: transparent;
1270
- color: var(--charcoal-text2);
1271
- }
1272
-
1273
- .c2::-webkit-input-placeholder {
1274
- color: var(--charcoal-text3);
1275
- }
1276
-
1277
- .c2::-moz-placeholder {
1278
- color: var(--charcoal-text3);
1279
- }
1280
-
1281
- .c2:-ms-input-placeholder {
1282
- color: var(--charcoal-text3);
1283
- }
1284
-
1285
- .c2::placeholder {
1286
- color: var(--charcoal-text3);
1287
- }
1288
-
1289
557
  <div
1290
558
  data-dark={false}
1291
559
  >
1292
560
  <div
1293
- className="c0"
561
+ aria-disabled={false}
562
+ className="charcoal-text-field-root"
1294
563
  >
1295
564
  <div
1296
565
  className="charcoal-field-label-root"
@@ -1323,11 +592,14 @@ exports[`Storybook Tests react/TextField ReadOnly 1`] = `
1323
592
  </div>
1324
593
  </div>
1325
594
  <div
1326
- className="c1"
595
+ className="charcoal-text-field-container"
596
+ data-invalid={false}
1327
597
  >
1328
598
  <input
1329
599
  aria-labelledby="test-id"
1330
- className="c2"
600
+ className="charcoal-text-field-input"
601
+ data-invalid={false}
602
+ disabled={false}
1331
603
  id="test-id"
1332
604
  onChange={[Function]}
1333
605
  readOnly={true}
@@ -1340,83 +612,12 @@ exports[`Storybook Tests react/TextField ReadOnly 1`] = `
1340
612
  `;
1341
613
 
1342
614
  exports[`Storybook Tests react/TextField RequiredText 1`] = `
1343
- .c0 {
1344
- display: grid;
1345
- grid-template-columns: 1fr;
1346
- grid-gap: 4px;
1347
- }
1348
-
1349
- .c1 {
1350
- display: grid;
1351
- grid-template-columns: 1fr;
1352
- height: 40px;
1353
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1354
- transition: 0.2s background-color,0.2s box-shadow;
1355
- color: var(--charcoal-text2);
1356
- background-color: var(--charcoal-surface3);
1357
- border-radius: 4px;
1358
- gap: 4px;
1359
- padding: 0 8px;
1360
- line-height: 22px;
1361
- font-size: 14px;
1362
- }
1363
-
1364
- .c1:not(:disabled):not([aria-disabled]):hover,
1365
- .c1 [aria-disabled='false']:hover {
1366
- background-color: var(--charcoal-surface3-hover);
1367
- }
1368
-
1369
- .c1:focus-within {
1370
- outline: none;
1371
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1372
- }
1373
-
1374
- .c2 {
1375
- border: none;
1376
- box-sizing: border-box;
1377
- outline: none;
1378
- font-family: inherit;
1379
- -webkit-transform-origin: top left;
1380
- -ms-transform-origin: top left;
1381
- transform-origin: top left;
1382
- -webkit-transform: scale(0.875);
1383
- -ms-transform: scale(0.875);
1384
- transform: scale(0.875);
1385
- width: calc(100% / 0.875);
1386
- height: calc(100% / 0.875);
1387
- font-size: calc(14px / 0.875);
1388
- line-height: calc(22px / 0.875);
1389
- padding-left: 0;
1390
- padding-right: 0;
1391
- border-radius: calc(4px / 0.875);
1392
- -webkit-appearance: none;
1393
- -moz-appearance: none;
1394
- appearance: none;
1395
- background: transparent;
1396
- color: var(--charcoal-text2);
1397
- }
1398
-
1399
- .c2::-webkit-input-placeholder {
1400
- color: var(--charcoal-text3);
1401
- }
1402
-
1403
- .c2::-moz-placeholder {
1404
- color: var(--charcoal-text3);
1405
- }
1406
-
1407
- .c2:-ms-input-placeholder {
1408
- color: var(--charcoal-text3);
1409
- }
1410
-
1411
- .c2::placeholder {
1412
- color: var(--charcoal-text3);
1413
- }
1414
-
1415
615
  <div
1416
616
  data-dark={false}
1417
617
  >
1418
618
  <div
1419
- className="c0"
619
+ aria-disabled={false}
620
+ className="charcoal-text-field-root"
1420
621
  >
1421
622
  <div
1422
623
  className="charcoal-field-label-root"
@@ -1440,11 +641,14 @@ exports[`Storybook Tests react/TextField RequiredText 1`] = `
1440
641
  </div>
1441
642
  </div>
1442
643
  <div
1443
- className="c1"
644
+ className="charcoal-text-field-container"
645
+ data-invalid={false}
1444
646
  >
1445
647
  <input
1446
648
  aria-labelledby="test-id"
1447
- className="c2"
649
+ className="charcoal-text-field-input"
650
+ data-invalid={false}
651
+ disabled={false}
1448
652
  id="test-id"
1449
653
  onChange={[Function]}
1450
654
  type="text"
@@ -1455,101 +659,12 @@ exports[`Storybook Tests react/TextField RequiredText 1`] = `
1455
659
  `;
1456
660
 
1457
661
  exports[`Storybook Tests react/TextField ShowCount 1`] = `
1458
- .c0 {
1459
- display: grid;
1460
- grid-template-columns: 1fr;
1461
- grid-gap: 4px;
1462
- }
1463
-
1464
- .c1 {
1465
- display: grid;
1466
- grid-template-columns: 1fr auto;
1467
- height: 40px;
1468
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1469
- transition: 0.2s background-color,0.2s box-shadow;
1470
- color: var(--charcoal-text2);
1471
- background-color: var(--charcoal-surface3);
1472
- border-radius: 4px;
1473
- gap: 4px;
1474
- padding: 0 8px;
1475
- line-height: 22px;
1476
- font-size: 14px;
1477
- }
1478
-
1479
- .c1:not(:disabled):not([aria-disabled]):hover,
1480
- .c1 [aria-disabled='false']:hover {
1481
- background-color: var(--charcoal-surface3-hover);
1482
- }
1483
-
1484
- .c1:focus-within {
1485
- outline: none;
1486
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1487
- }
1488
-
1489
- .c3 {
1490
- display: -webkit-box;
1491
- display: -webkit-flex;
1492
- display: -ms-flexbox;
1493
- display: flex;
1494
- -webkit-align-items: center;
1495
- -webkit-box-align: center;
1496
- -ms-flex-align: center;
1497
- align-items: center;
1498
- gap: 8px;
1499
- }
1500
-
1501
- .c2 {
1502
- border: none;
1503
- box-sizing: border-box;
1504
- outline: none;
1505
- font-family: inherit;
1506
- -webkit-transform-origin: top left;
1507
- -ms-transform-origin: top left;
1508
- transform-origin: top left;
1509
- -webkit-transform: scale(0.875);
1510
- -ms-transform: scale(0.875);
1511
- transform: scale(0.875);
1512
- width: calc(100% / 0.875);
1513
- height: calc(100% / 0.875);
1514
- font-size: calc(14px / 0.875);
1515
- line-height: calc(22px / 0.875);
1516
- padding-left: 0;
1517
- padding-right: 0;
1518
- border-radius: calc(4px / 0.875);
1519
- -webkit-appearance: none;
1520
- -moz-appearance: none;
1521
- appearance: none;
1522
- background: transparent;
1523
- color: var(--charcoal-text2);
1524
- }
1525
-
1526
- .c2::-webkit-input-placeholder {
1527
- color: var(--charcoal-text3);
1528
- }
1529
-
1530
- .c2::-moz-placeholder {
1531
- color: var(--charcoal-text3);
1532
- }
1533
-
1534
- .c2:-ms-input-placeholder {
1535
- color: var(--charcoal-text3);
1536
- }
1537
-
1538
- .c2::placeholder {
1539
- color: var(--charcoal-text3);
1540
- }
1541
-
1542
- .c4 {
1543
- line-height: 22px;
1544
- font-size: 14px;
1545
- color: var(--charcoal-text3);
1546
- }
1547
-
1548
662
  <div
1549
663
  data-dark={false}
1550
664
  >
1551
665
  <div
1552
- className="c0"
666
+ aria-disabled={false}
667
+ className="charcoal-text-field-root"
1553
668
  >
1554
669
  <div
1555
670
  className="charcoal-field-label-root"
@@ -1582,108 +697,40 @@ exports[`Storybook Tests react/TextField ShowCount 1`] = `
1582
697
  </div>
1583
698
  </div>
1584
699
  <div
1585
- className="c1"
700
+ className="charcoal-text-field-container"
701
+ data-invalid={false}
1586
702
  >
1587
703
  <input
1588
704
  aria-labelledby="test-id"
1589
- className="c2"
705
+ className="charcoal-text-field-input"
706
+ data-invalid={false}
707
+ disabled={false}
1590
708
  id="test-id"
1591
709
  maxLength={100}
1592
710
  onChange={[Function]}
1593
711
  type="text"
1594
712
  />
1595
- <span
1596
- className="c3"
713
+ <div
714
+ className="charcoal-text-field-suffix"
1597
715
  >
1598
716
  <span
1599
- className="c4"
717
+ className="charcoal-text-field-line-counter"
1600
718
  >
1601
719
  0/100
1602
720
  </span>
1603
- </span>
721
+ </div>
1604
722
  </div>
1605
723
  </div>
1606
724
  </div>
1607
725
  `;
1608
726
 
1609
727
  exports[`Storybook Tests react/TextField SubLabel 1`] = `
1610
- .c0 {
1611
- display: grid;
1612
- grid-template-columns: 1fr;
1613
- grid-gap: 4px;
1614
- }
1615
-
1616
- .c1 {
1617
- display: grid;
1618
- grid-template-columns: 1fr;
1619
- height: 40px;
1620
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1621
- transition: 0.2s background-color,0.2s box-shadow;
1622
- color: var(--charcoal-text2);
1623
- background-color: var(--charcoal-surface3);
1624
- border-radius: 4px;
1625
- gap: 4px;
1626
- padding: 0 8px;
1627
- line-height: 22px;
1628
- font-size: 14px;
1629
- }
1630
-
1631
- .c1:not(:disabled):not([aria-disabled]):hover,
1632
- .c1 [aria-disabled='false']:hover {
1633
- background-color: var(--charcoal-surface3-hover);
1634
- }
1635
-
1636
- .c1:focus-within {
1637
- outline: none;
1638
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1639
- }
1640
-
1641
- .c2 {
1642
- border: none;
1643
- box-sizing: border-box;
1644
- outline: none;
1645
- font-family: inherit;
1646
- -webkit-transform-origin: top left;
1647
- -ms-transform-origin: top left;
1648
- transform-origin: top left;
1649
- -webkit-transform: scale(0.875);
1650
- -ms-transform: scale(0.875);
1651
- transform: scale(0.875);
1652
- width: calc(100% / 0.875);
1653
- height: calc(100% / 0.875);
1654
- font-size: calc(14px / 0.875);
1655
- line-height: calc(22px / 0.875);
1656
- padding-left: 0;
1657
- padding-right: 0;
1658
- border-radius: calc(4px / 0.875);
1659
- -webkit-appearance: none;
1660
- -moz-appearance: none;
1661
- appearance: none;
1662
- background: transparent;
1663
- color: var(--charcoal-text2);
1664
- }
1665
-
1666
- .c2::-webkit-input-placeholder {
1667
- color: var(--charcoal-text3);
1668
- }
1669
-
1670
- .c2::-moz-placeholder {
1671
- color: var(--charcoal-text3);
1672
- }
1673
-
1674
- .c2:-ms-input-placeholder {
1675
- color: var(--charcoal-text3);
1676
- }
1677
-
1678
- .c2::placeholder {
1679
- color: var(--charcoal-text3);
1680
- }
1681
-
1682
728
  <div
1683
729
  data-dark={false}
1684
730
  >
1685
731
  <div
1686
- className="c0"
732
+ aria-disabled={false}
733
+ className="charcoal-text-field-root"
1687
734
  >
1688
735
  <div
1689
736
  className="charcoal-field-label-root"
@@ -1722,11 +769,14 @@ exports[`Storybook Tests react/TextField SubLabel 1`] = `
1722
769
  </div>
1723
770
  </div>
1724
771
  <div
1725
- className="c1"
772
+ className="charcoal-text-field-container"
773
+ data-invalid={false}
1726
774
  >
1727
775
  <input
1728
776
  aria-labelledby="test-id"
1729
- className="c2"
777
+ className="charcoal-text-field-input"
778
+ data-invalid={false}
779
+ disabled={false}
1730
780
  id="test-id"
1731
781
  onChange={[Function]}
1732
782
  type="text"