@charcoal-ui/react 3.4.0 → 3.5.0
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.
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextField/index.d.ts +4 -0
- package/dist/components/TextField/index.d.ts.map +1 -1
- package/dist/components/TextField/useFocusWithClick.d.ts +3 -0
- package/dist/components/TextField/useFocusWithClick.d.ts.map +1 -0
- package/dist/index.cjs.js +201 -184
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +156 -139
- package/dist/index.esm.js.map +1 -1
- package/package.json +6 -6
- package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +88 -245
- package/src/components/TextArea/index.tsx +38 -43
- package/src/components/TextField/TextField.story.tsx +2 -3
- package/src/components/TextField/__snapshots__/TextField.story.storyshot +258 -455
- package/src/components/TextField/index.tsx +86 -84
- package/src/components/TextField/useFocusWithClick.tsx +22 -0
|
@@ -147,46 +147,37 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.c8 {
|
|
150
|
-
height: 40px;
|
|
151
150
|
display: grid;
|
|
152
|
-
|
|
151
|
+
grid-template-columns: 1fr;
|
|
152
|
+
height: 40px;
|
|
153
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
154
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
155
|
+
color: var(--charcoal-text2);
|
|
156
|
+
background-color: var(--charcoal-surface3);
|
|
157
|
+
border-radius: 4px;
|
|
158
|
+
gap: 4px;
|
|
159
|
+
padding: 0 8px;
|
|
160
|
+
line-height: 22px;
|
|
161
|
+
font-size: 14px;
|
|
153
162
|
}
|
|
154
163
|
|
|
155
|
-
.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
left: 8px;
|
|
159
|
-
-webkit-transform: translateY(-50%);
|
|
160
|
-
-ms-transform: translateY(-50%);
|
|
161
|
-
transform: translateY(-50%);
|
|
162
|
-
z-index: 1;
|
|
164
|
+
.c8:not(:disabled):not([aria-disabled]):hover,
|
|
165
|
+
.c8 [aria-disabled='false']:hover {
|
|
166
|
+
background-color: var(--charcoal-surface3-hover);
|
|
163
167
|
}
|
|
164
168
|
|
|
165
|
-
.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
-webkit-transform: translateY(-50%);
|
|
170
|
-
-ms-transform: translateY(-50%);
|
|
171
|
-
transform: translateY(-50%);
|
|
172
|
-
display: -webkit-box;
|
|
173
|
-
display: -webkit-flex;
|
|
174
|
-
display: -ms-flexbox;
|
|
175
|
-
display: flex;
|
|
176
|
-
gap: 8px;
|
|
169
|
+
.c8:not(:disabled):not([aria-disabled]):active,
|
|
170
|
+
.c8 [aria-disabled='false']:active {
|
|
171
|
+
outline: none;
|
|
172
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
177
173
|
}
|
|
178
174
|
|
|
179
|
-
.
|
|
180
|
-
|
|
181
|
-
-
|
|
182
|
-
-ms-user-select: none;
|
|
183
|
-
user-select: none;
|
|
184
|
-
font-size: 14px;
|
|
185
|
-
line-height: 22px;
|
|
186
|
-
color: var(--charcoal-text2);
|
|
175
|
+
.c8:focus-within {
|
|
176
|
+
outline: none;
|
|
177
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
187
178
|
}
|
|
188
179
|
|
|
189
|
-
.
|
|
180
|
+
.c9 {
|
|
190
181
|
border: none;
|
|
191
182
|
box-sizing: border-box;
|
|
192
183
|
outline: none;
|
|
@@ -201,57 +192,29 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
201
192
|
height: calc(100% / 0.875);
|
|
202
193
|
font-size: calc(14px / 0.875);
|
|
203
194
|
line-height: calc(22px / 0.875);
|
|
204
|
-
padding-left:
|
|
205
|
-
padding-right:
|
|
195
|
+
padding-left: 0;
|
|
196
|
+
padding-right: 0;
|
|
206
197
|
border-radius: calc(4px / 0.875);
|
|
207
198
|
-webkit-appearance: none;
|
|
208
199
|
-moz-appearance: none;
|
|
209
200
|
appearance: none;
|
|
210
|
-
background
|
|
201
|
+
background: transparent;
|
|
211
202
|
color: var(--charcoal-text2);
|
|
212
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
213
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.c11:hover:not(:disabled):not([aria-disabled]),
|
|
217
|
-
.c11:hover[aria-disabled=false] {
|
|
218
|
-
background-color: var(--charcoal-surface3-hover);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.c11:not(:disabled):not([aria-disabled]):focus,
|
|
222
|
-
.c11[aria-disabled=false]:focus,
|
|
223
|
-
.c11:not(:disabled):not([aria-disabled]):active,
|
|
224
|
-
.c11[aria-disabled=false]:active {
|
|
225
|
-
outline: none;
|
|
226
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
227
203
|
}
|
|
228
204
|
|
|
229
|
-
.
|
|
230
|
-
.c11[aria-disabled=false]:focus:not(:focus-visible),
|
|
231
|
-
.c11:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
232
|
-
.c11[aria-disabled=false]:active:not(:focus-visible) {
|
|
233
|
-
outline: none;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.c11:not(:disabled):not([aria-disabled]):focus-visible,
|
|
237
|
-
.c11[aria-disabled=false]:focus-visible {
|
|
238
|
-
outline: none;
|
|
239
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.c11::-webkit-input-placeholder {
|
|
205
|
+
.c9::-webkit-input-placeholder {
|
|
243
206
|
color: var(--charcoal-text3);
|
|
244
207
|
}
|
|
245
208
|
|
|
246
|
-
.
|
|
209
|
+
.c9::-moz-placeholder {
|
|
247
210
|
color: var(--charcoal-text3);
|
|
248
211
|
}
|
|
249
212
|
|
|
250
|
-
.
|
|
213
|
+
.c9:-ms-input-placeholder {
|
|
251
214
|
color: var(--charcoal-text3);
|
|
252
215
|
}
|
|
253
216
|
|
|
254
|
-
.
|
|
217
|
+
.c9::placeholder {
|
|
255
218
|
color: var(--charcoal-text3);
|
|
256
219
|
}
|
|
257
220
|
|
|
@@ -311,16 +274,9 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
311
274
|
<div
|
|
312
275
|
className="c8"
|
|
313
276
|
>
|
|
314
|
-
<span
|
|
315
|
-
className="c9"
|
|
316
|
-
>
|
|
317
|
-
<span
|
|
318
|
-
className="c10"
|
|
319
|
-
/>
|
|
320
|
-
</span>
|
|
321
277
|
<input
|
|
322
278
|
aria-labelledby="test-id"
|
|
323
|
-
className="
|
|
279
|
+
className="c9"
|
|
324
280
|
disabled={false}
|
|
325
281
|
id="test-id"
|
|
326
282
|
onChange={[Function]}
|
|
@@ -328,13 +284,6 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
328
284
|
readOnly={false}
|
|
329
285
|
type="text"
|
|
330
286
|
/>
|
|
331
|
-
<span
|
|
332
|
-
className="c12"
|
|
333
|
-
>
|
|
334
|
-
<span
|
|
335
|
-
className="c10"
|
|
336
|
-
/>
|
|
337
|
-
</span>
|
|
338
287
|
</div>
|
|
339
288
|
</div>
|
|
340
289
|
</div>
|
|
@@ -452,46 +401,61 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
452
401
|
}
|
|
453
402
|
|
|
454
403
|
.c6 {
|
|
455
|
-
height: 40px;
|
|
456
404
|
display: grid;
|
|
457
|
-
|
|
405
|
+
grid-template-columns: auto 1fr auto;
|
|
406
|
+
height: 40px;
|
|
407
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
408
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
409
|
+
color: var(--charcoal-text2);
|
|
410
|
+
background-color: var(--charcoal-surface3);
|
|
411
|
+
border-radius: 4px;
|
|
412
|
+
gap: 4px;
|
|
413
|
+
padding: 0 8px;
|
|
414
|
+
line-height: 22px;
|
|
415
|
+
font-size: 14px;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
419
|
+
.c6 [aria-disabled='false']:hover {
|
|
420
|
+
background-color: var(--charcoal-surface3-hover);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
424
|
+
.c6 [aria-disabled='false']:active {
|
|
425
|
+
outline: none;
|
|
426
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.c6:focus-within {
|
|
430
|
+
outline: none;
|
|
431
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
458
432
|
}
|
|
459
433
|
|
|
460
434
|
.c7 {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
-
|
|
466
|
-
|
|
467
|
-
|
|
435
|
+
display: -webkit-box;
|
|
436
|
+
display: -webkit-flex;
|
|
437
|
+
display: -ms-flexbox;
|
|
438
|
+
display: flex;
|
|
439
|
+
padding-left: 8px;
|
|
440
|
+
-webkit-align-items: center;
|
|
441
|
+
-webkit-box-align: center;
|
|
442
|
+
-ms-flex-align: center;
|
|
443
|
+
align-items: center;
|
|
468
444
|
}
|
|
469
445
|
|
|
470
|
-
.
|
|
471
|
-
position: absolute;
|
|
472
|
-
top: 50%;
|
|
473
|
-
right: 8px;
|
|
474
|
-
-webkit-transform: translateY(-50%);
|
|
475
|
-
-ms-transform: translateY(-50%);
|
|
476
|
-
transform: translateY(-50%);
|
|
446
|
+
.c9 {
|
|
477
447
|
display: -webkit-box;
|
|
478
448
|
display: -webkit-flex;
|
|
479
449
|
display: -ms-flexbox;
|
|
480
450
|
display: flex;
|
|
451
|
+
-webkit-align-items: center;
|
|
452
|
+
-webkit-box-align: center;
|
|
453
|
+
-ms-flex-align: center;
|
|
454
|
+
align-items: center;
|
|
481
455
|
gap: 8px;
|
|
482
456
|
}
|
|
483
457
|
|
|
484
458
|
.c8 {
|
|
485
|
-
-webkit-user-select: none;
|
|
486
|
-
-moz-user-select: none;
|
|
487
|
-
-ms-user-select: none;
|
|
488
|
-
user-select: none;
|
|
489
|
-
font-size: 14px;
|
|
490
|
-
line-height: 22px;
|
|
491
|
-
color: var(--charcoal-text2);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
.c9 {
|
|
495
459
|
border: none;
|
|
496
460
|
box-sizing: border-box;
|
|
497
461
|
outline: none;
|
|
@@ -506,63 +470,35 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
506
470
|
height: calc(100% / 0.875);
|
|
507
471
|
font-size: calc(14px / 0.875);
|
|
508
472
|
line-height: calc(22px / 0.875);
|
|
509
|
-
padding-left:
|
|
510
|
-
padding-right:
|
|
473
|
+
padding-left: 0;
|
|
474
|
+
padding-right: 0;
|
|
511
475
|
border-radius: calc(4px / 0.875);
|
|
512
476
|
-webkit-appearance: none;
|
|
513
477
|
-moz-appearance: none;
|
|
514
478
|
appearance: none;
|
|
515
|
-
background
|
|
479
|
+
background: transparent;
|
|
516
480
|
color: var(--charcoal-text2);
|
|
517
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
518
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.c9:hover:not(:disabled):not([aria-disabled]),
|
|
522
|
-
.c9:hover[aria-disabled=false] {
|
|
523
|
-
background-color: var(--charcoal-surface3-hover);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.c9:not(:disabled):not([aria-disabled]):focus,
|
|
527
|
-
.c9[aria-disabled=false]:focus,
|
|
528
|
-
.c9:not(:disabled):not([aria-disabled]):active,
|
|
529
|
-
.c9[aria-disabled=false]:active {
|
|
530
|
-
outline: none;
|
|
531
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.c9:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
535
|
-
.c9[aria-disabled=false]:focus:not(:focus-visible),
|
|
536
|
-
.c9:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
537
|
-
.c9[aria-disabled=false]:active:not(:focus-visible) {
|
|
538
|
-
outline: none;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.c9:not(:disabled):not([aria-disabled]):focus-visible,
|
|
542
|
-
.c9[aria-disabled=false]:focus-visible {
|
|
543
|
-
outline: none;
|
|
544
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
545
481
|
}
|
|
546
482
|
|
|
547
|
-
.
|
|
483
|
+
.c8::-webkit-input-placeholder {
|
|
548
484
|
color: var(--charcoal-text3);
|
|
549
485
|
}
|
|
550
486
|
|
|
551
|
-
.
|
|
487
|
+
.c8::-moz-placeholder {
|
|
552
488
|
color: var(--charcoal-text3);
|
|
553
489
|
}
|
|
554
490
|
|
|
555
|
-
.
|
|
491
|
+
.c8:-ms-input-placeholder {
|
|
556
492
|
color: var(--charcoal-text3);
|
|
557
493
|
}
|
|
558
494
|
|
|
559
|
-
.
|
|
495
|
+
.c8::placeholder {
|
|
560
496
|
color: var(--charcoal-text3);
|
|
561
497
|
}
|
|
562
498
|
|
|
563
|
-
.
|
|
564
|
-
font-size: 14px;
|
|
499
|
+
.c10 {
|
|
565
500
|
line-height: 22px;
|
|
501
|
+
font-size: 14px;
|
|
566
502
|
color: var(--charcoal-text3);
|
|
567
503
|
}
|
|
568
504
|
|
|
@@ -607,18 +543,14 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
607
543
|
<div
|
|
608
544
|
className="c6"
|
|
609
545
|
>
|
|
610
|
-
<
|
|
546
|
+
<div
|
|
611
547
|
className="c7"
|
|
612
548
|
>
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
>
|
|
616
|
-
/home/john/
|
|
617
|
-
</span>
|
|
618
|
-
</span>
|
|
549
|
+
/home/john/
|
|
550
|
+
</div>
|
|
619
551
|
<input
|
|
620
552
|
aria-labelledby="test-id"
|
|
621
|
-
className="
|
|
553
|
+
className="c8"
|
|
622
554
|
disabled={false}
|
|
623
555
|
id="test-id"
|
|
624
556
|
maxLength={200}
|
|
@@ -628,15 +560,11 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
628
560
|
type="text"
|
|
629
561
|
/>
|
|
630
562
|
<span
|
|
631
|
-
className="
|
|
563
|
+
className="c9"
|
|
632
564
|
>
|
|
565
|
+
.png
|
|
633
566
|
<span
|
|
634
|
-
className="
|
|
635
|
-
>
|
|
636
|
-
.png
|
|
637
|
-
</span>
|
|
638
|
-
<span
|
|
639
|
-
className="c11"
|
|
567
|
+
className="c10"
|
|
640
568
|
>
|
|
641
569
|
0/200
|
|
642
570
|
</span>
|
|
@@ -793,46 +721,49 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
793
721
|
}
|
|
794
722
|
|
|
795
723
|
.c8 {
|
|
796
|
-
height: 40px;
|
|
797
724
|
display: grid;
|
|
798
|
-
|
|
725
|
+
grid-template-columns: 1fr auto;
|
|
726
|
+
height: 40px;
|
|
727
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
728
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
729
|
+
color: var(--charcoal-text2);
|
|
730
|
+
background-color: var(--charcoal-surface3);
|
|
731
|
+
border-radius: 4px;
|
|
732
|
+
gap: 4px;
|
|
733
|
+
padding: 0 8px;
|
|
734
|
+
line-height: 22px;
|
|
735
|
+
font-size: 14px;
|
|
799
736
|
}
|
|
800
737
|
|
|
801
|
-
.
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
left: 8px;
|
|
805
|
-
-webkit-transform: translateY(-50%);
|
|
806
|
-
-ms-transform: translateY(-50%);
|
|
807
|
-
transform: translateY(-50%);
|
|
808
|
-
z-index: 1;
|
|
738
|
+
.c8:not(:disabled):not([aria-disabled]):hover,
|
|
739
|
+
.c8 [aria-disabled='false']:hover {
|
|
740
|
+
background-color: var(--charcoal-surface3-hover);
|
|
809
741
|
}
|
|
810
742
|
|
|
811
|
-
.
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
743
|
+
.c8:not(:disabled):not([aria-disabled]):active,
|
|
744
|
+
.c8 [aria-disabled='false']:active {
|
|
745
|
+
outline: none;
|
|
746
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.c8:focus-within {
|
|
750
|
+
outline: none;
|
|
751
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.c10 {
|
|
818
755
|
display: -webkit-box;
|
|
819
756
|
display: -webkit-flex;
|
|
820
757
|
display: -ms-flexbox;
|
|
821
758
|
display: flex;
|
|
759
|
+
-webkit-align-items: center;
|
|
760
|
+
-webkit-box-align: center;
|
|
761
|
+
-ms-flex-align: center;
|
|
762
|
+
align-items: center;
|
|
822
763
|
gap: 8px;
|
|
823
764
|
}
|
|
824
765
|
|
|
825
|
-
.
|
|
826
|
-
-webkit-user-select: none;
|
|
827
|
-
-moz-user-select: none;
|
|
828
|
-
-ms-user-select: none;
|
|
829
|
-
user-select: none;
|
|
830
|
-
font-size: 14px;
|
|
831
|
-
line-height: 22px;
|
|
832
|
-
color: var(--charcoal-text2);
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
.c11 {
|
|
766
|
+
.c9 {
|
|
836
767
|
border: none;
|
|
837
768
|
box-sizing: border-box;
|
|
838
769
|
outline: none;
|
|
@@ -847,63 +778,35 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
847
778
|
height: calc(100% / 0.875);
|
|
848
779
|
font-size: calc(14px / 0.875);
|
|
849
780
|
line-height: calc(22px / 0.875);
|
|
850
|
-
padding-left:
|
|
851
|
-
padding-right:
|
|
781
|
+
padding-left: 0;
|
|
782
|
+
padding-right: 0;
|
|
852
783
|
border-radius: calc(4px / 0.875);
|
|
853
784
|
-webkit-appearance: none;
|
|
854
785
|
-moz-appearance: none;
|
|
855
786
|
appearance: none;
|
|
856
|
-
background
|
|
787
|
+
background: transparent;
|
|
857
788
|
color: var(--charcoal-text2);
|
|
858
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
859
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.c11:hover:not(:disabled):not([aria-disabled]),
|
|
863
|
-
.c11:hover[aria-disabled=false] {
|
|
864
|
-
background-color: var(--charcoal-surface3-hover);
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
.c11:not(:disabled):not([aria-disabled]):focus,
|
|
868
|
-
.c11[aria-disabled=false]:focus,
|
|
869
|
-
.c11:not(:disabled):not([aria-disabled]):active,
|
|
870
|
-
.c11[aria-disabled=false]:active {
|
|
871
|
-
outline: none;
|
|
872
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
873
789
|
}
|
|
874
790
|
|
|
875
|
-
.
|
|
876
|
-
.c11[aria-disabled=false]:focus:not(:focus-visible),
|
|
877
|
-
.c11:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
878
|
-
.c11[aria-disabled=false]:active:not(:focus-visible) {
|
|
879
|
-
outline: none;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
.c11:not(:disabled):not([aria-disabled]):focus-visible,
|
|
883
|
-
.c11[aria-disabled=false]:focus-visible {
|
|
884
|
-
outline: none;
|
|
885
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
.c11::-webkit-input-placeholder {
|
|
791
|
+
.c9::-webkit-input-placeholder {
|
|
889
792
|
color: var(--charcoal-text3);
|
|
890
793
|
}
|
|
891
794
|
|
|
892
|
-
.
|
|
795
|
+
.c9::-moz-placeholder {
|
|
893
796
|
color: var(--charcoal-text3);
|
|
894
797
|
}
|
|
895
798
|
|
|
896
|
-
.
|
|
799
|
+
.c9:-ms-input-placeholder {
|
|
897
800
|
color: var(--charcoal-text3);
|
|
898
801
|
}
|
|
899
802
|
|
|
900
|
-
.
|
|
803
|
+
.c9::placeholder {
|
|
901
804
|
color: var(--charcoal-text3);
|
|
902
805
|
}
|
|
903
806
|
|
|
904
|
-
.
|
|
905
|
-
font-size: 14px;
|
|
807
|
+
.c11 {
|
|
906
808
|
line-height: 22px;
|
|
809
|
+
font-size: 14px;
|
|
907
810
|
color: var(--charcoal-text3);
|
|
908
811
|
}
|
|
909
812
|
|
|
@@ -963,16 +866,9 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
963
866
|
<div
|
|
964
867
|
className="c8"
|
|
965
868
|
>
|
|
966
|
-
<span
|
|
967
|
-
className="c9"
|
|
968
|
-
>
|
|
969
|
-
<span
|
|
970
|
-
className="c10"
|
|
971
|
-
/>
|
|
972
|
-
</span>
|
|
973
869
|
<input
|
|
974
870
|
aria-labelledby="test-id"
|
|
975
|
-
className="
|
|
871
|
+
className="c9"
|
|
976
872
|
disabled={false}
|
|
977
873
|
id="test-id"
|
|
978
874
|
maxLength={100}
|
|
@@ -982,13 +878,10 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
982
878
|
type="text"
|
|
983
879
|
/>
|
|
984
880
|
<span
|
|
985
|
-
className="
|
|
881
|
+
className="c10"
|
|
986
882
|
>
|
|
987
883
|
<span
|
|
988
|
-
className="
|
|
989
|
-
/>
|
|
990
|
-
<span
|
|
991
|
-
className="c13"
|
|
884
|
+
className="c11"
|
|
992
885
|
>
|
|
993
886
|
0/100
|
|
994
887
|
</span>
|
|
@@ -1173,46 +1066,37 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1173
1066
|
}
|
|
1174
1067
|
|
|
1175
1068
|
.c10 {
|
|
1176
|
-
height: 40px;
|
|
1177
1069
|
display: grid;
|
|
1178
|
-
|
|
1070
|
+
grid-template-columns: 1fr;
|
|
1071
|
+
height: 40px;
|
|
1072
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1073
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
1074
|
+
color: var(--charcoal-text2);
|
|
1075
|
+
background-color: var(--charcoal-surface3);
|
|
1076
|
+
border-radius: 4px;
|
|
1077
|
+
gap: 4px;
|
|
1078
|
+
padding: 0 8px;
|
|
1079
|
+
line-height: 22px;
|
|
1080
|
+
font-size: 14px;
|
|
1179
1081
|
}
|
|
1180
1082
|
|
|
1181
|
-
.
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
left: 8px;
|
|
1185
|
-
-webkit-transform: translateY(-50%);
|
|
1186
|
-
-ms-transform: translateY(-50%);
|
|
1187
|
-
transform: translateY(-50%);
|
|
1188
|
-
z-index: 1;
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
.c14 {
|
|
1192
|
-
position: absolute;
|
|
1193
|
-
top: 50%;
|
|
1194
|
-
right: 8px;
|
|
1195
|
-
-webkit-transform: translateY(-50%);
|
|
1196
|
-
-ms-transform: translateY(-50%);
|
|
1197
|
-
transform: translateY(-50%);
|
|
1198
|
-
display: -webkit-box;
|
|
1199
|
-
display: -webkit-flex;
|
|
1200
|
-
display: -ms-flexbox;
|
|
1201
|
-
display: flex;
|
|
1202
|
-
gap: 8px;
|
|
1083
|
+
.c10:not(:disabled):not([aria-disabled]):hover,
|
|
1084
|
+
.c10 [aria-disabled='false']:hover {
|
|
1085
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1203
1086
|
}
|
|
1204
1087
|
|
|
1205
|
-
.
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
-
|
|
1209
|
-
user-select: none;
|
|
1210
|
-
font-size: 14px;
|
|
1211
|
-
line-height: 22px;
|
|
1212
|
-
color: var(--charcoal-text2);
|
|
1088
|
+
.c10:not(:disabled):not([aria-disabled]):active,
|
|
1089
|
+
.c10 [aria-disabled='false']:active {
|
|
1090
|
+
outline: none;
|
|
1091
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1213
1092
|
}
|
|
1214
1093
|
|
|
1215
|
-
.
|
|
1094
|
+
.c10:focus-within {
|
|
1095
|
+
outline: none;
|
|
1096
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.c11 {
|
|
1216
1100
|
border: none;
|
|
1217
1101
|
box-sizing: border-box;
|
|
1218
1102
|
outline: none;
|
|
@@ -1227,83 +1111,38 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1227
1111
|
height: calc(100% / 0.875);
|
|
1228
1112
|
font-size: calc(14px / 0.875);
|
|
1229
1113
|
line-height: calc(22px / 0.875);
|
|
1230
|
-
padding-left:
|
|
1231
|
-
padding-right:
|
|
1114
|
+
padding-left: 0;
|
|
1115
|
+
padding-right: 0;
|
|
1232
1116
|
border-radius: calc(4px / 0.875);
|
|
1233
1117
|
-webkit-appearance: none;
|
|
1234
1118
|
-moz-appearance: none;
|
|
1235
1119
|
appearance: none;
|
|
1236
|
-
background
|
|
1120
|
+
background: transparent;
|
|
1237
1121
|
color: var(--charcoal-text2);
|
|
1238
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1239
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
.c13:hover:not(:disabled):not([aria-disabled]),
|
|
1243
|
-
.c13:hover[aria-disabled=false] {
|
|
1244
|
-
background-color: var(--charcoal-surface3-hover);
|
|
1245
1122
|
}
|
|
1246
1123
|
|
|
1247
|
-
.
|
|
1248
|
-
.c13[aria-disabled=false]:focus,
|
|
1249
|
-
.c13:not(:disabled):not([aria-disabled]):active,
|
|
1250
|
-
.c13[aria-disabled=false]:active {
|
|
1251
|
-
outline: none;
|
|
1252
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
.c13:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1256
|
-
.c13[aria-disabled=false]:focus:not(:focus-visible),
|
|
1257
|
-
.c13:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1258
|
-
.c13[aria-disabled=false]:active:not(:focus-visible) {
|
|
1259
|
-
outline: none;
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
.c13:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1263
|
-
.c13[aria-disabled=false]:focus-visible {
|
|
1264
|
-
outline: none;
|
|
1265
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
.c13::-webkit-input-placeholder {
|
|
1124
|
+
.c11::-webkit-input-placeholder {
|
|
1269
1125
|
color: var(--charcoal-text3);
|
|
1270
1126
|
}
|
|
1271
1127
|
|
|
1272
|
-
.
|
|
1128
|
+
.c11::-moz-placeholder {
|
|
1273
1129
|
color: var(--charcoal-text3);
|
|
1274
1130
|
}
|
|
1275
1131
|
|
|
1276
|
-
.
|
|
1132
|
+
.c11:-ms-input-placeholder {
|
|
1277
1133
|
color: var(--charcoal-text3);
|
|
1278
1134
|
}
|
|
1279
1135
|
|
|
1280
|
-
.
|
|
1136
|
+
.c11::placeholder {
|
|
1281
1137
|
color: var(--charcoal-text3);
|
|
1282
1138
|
}
|
|
1283
1139
|
|
|
1284
|
-
.
|
|
1140
|
+
.c12 {
|
|
1285
1141
|
font-size: 14px;
|
|
1286
1142
|
line-height: 22px;
|
|
1287
|
-
|
|
1288
|
-
margin-top: 8px;
|
|
1289
|
-
margin-bottom: 0px;
|
|
1290
|
-
color: var(--charcoal-text1);
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
.c15::before {
|
|
1294
|
-
display: block;
|
|
1295
|
-
width: 0;
|
|
1296
|
-
height: 0;
|
|
1297
|
-
content: '';
|
|
1298
|
-
margin-top: -4px;
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
.c15::after {
|
|
1302
|
-
display: block;
|
|
1303
|
-
width: 0;
|
|
1304
|
-
height: 0;
|
|
1305
|
-
content: '';
|
|
1143
|
+
margin-top: 4px;
|
|
1306
1144
|
margin-bottom: -4px;
|
|
1145
|
+
color: var(--charcoal-text2);
|
|
1307
1146
|
}
|
|
1308
1147
|
|
|
1309
1148
|
.c0 {
|
|
@@ -1351,17 +1190,10 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1351
1190
|
<div
|
|
1352
1191
|
className="c10"
|
|
1353
1192
|
>
|
|
1354
|
-
<span
|
|
1355
|
-
className="c11"
|
|
1356
|
-
>
|
|
1357
|
-
<span
|
|
1358
|
-
className="c12"
|
|
1359
|
-
/>
|
|
1360
|
-
</span>
|
|
1361
1193
|
<input
|
|
1362
1194
|
aria-labelledby="test-id"
|
|
1363
1195
|
aria-required={true}
|
|
1364
|
-
className="
|
|
1196
|
+
className="c11"
|
|
1365
1197
|
disabled={false}
|
|
1366
1198
|
id="test-id"
|
|
1367
1199
|
onChange={[Function]}
|
|
@@ -1369,16 +1201,9 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1369
1201
|
readOnly={false}
|
|
1370
1202
|
type="text"
|
|
1371
1203
|
/>
|
|
1372
|
-
<span
|
|
1373
|
-
className="c14"
|
|
1374
|
-
>
|
|
1375
|
-
<span
|
|
1376
|
-
className="c12"
|
|
1377
|
-
/>
|
|
1378
|
-
</span>
|
|
1379
1204
|
</div>
|
|
1380
1205
|
<p
|
|
1381
|
-
className="
|
|
1206
|
+
className="c12"
|
|
1382
1207
|
>
|
|
1383
1208
|
Assistive text
|
|
1384
1209
|
</p>
|
|
@@ -1388,7 +1213,7 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1388
1213
|
`;
|
|
1389
1214
|
|
|
1390
1215
|
exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
1391
|
-
.
|
|
1216
|
+
.c11 {
|
|
1392
1217
|
cursor: pointer;
|
|
1393
1218
|
-webkit-appearance: none;
|
|
1394
1219
|
-moz-appearance: none;
|
|
@@ -1410,16 +1235,16 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1410
1235
|
text-transform: none;
|
|
1411
1236
|
}
|
|
1412
1237
|
|
|
1413
|
-
.
|
|
1414
|
-
.
|
|
1238
|
+
.c11:disabled,
|
|
1239
|
+
.c11[aria-disabled]:not([aria-disabled=false]) {
|
|
1415
1240
|
cursor: default;
|
|
1416
1241
|
}
|
|
1417
1242
|
|
|
1418
|
-
.
|
|
1243
|
+
.c11:focus {
|
|
1419
1244
|
outline: none;
|
|
1420
1245
|
}
|
|
1421
1246
|
|
|
1422
|
-
.
|
|
1247
|
+
.c11::-moz-focus-inner {
|
|
1423
1248
|
border-style: none;
|
|
1424
1249
|
padding: 0;
|
|
1425
1250
|
}
|
|
@@ -1519,7 +1344,7 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1519
1344
|
margin-left: auto;
|
|
1520
1345
|
}
|
|
1521
1346
|
|
|
1522
|
-
.
|
|
1347
|
+
.c12 {
|
|
1523
1348
|
-webkit-user-select: none;
|
|
1524
1349
|
-moz-user-select: none;
|
|
1525
1350
|
-ms-user-select: none;
|
|
@@ -1545,38 +1370,38 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1545
1370
|
transition: 0.2s background-color,0.2s box-shadow;
|
|
1546
1371
|
}
|
|
1547
1372
|
|
|
1548
|
-
.
|
|
1549
|
-
.
|
|
1373
|
+
.c12:hover:not(:disabled):not([aria-disabled]),
|
|
1374
|
+
.c12:hover[aria-disabled=false] {
|
|
1550
1375
|
background-color: var(--charcoal-surface4-hover);
|
|
1551
1376
|
}
|
|
1552
1377
|
|
|
1553
|
-
.
|
|
1554
|
-
.
|
|
1378
|
+
.c12:active:not(:disabled):not([aria-disabled]),
|
|
1379
|
+
.c12:active[aria-disabled=false] {
|
|
1555
1380
|
background-color: var(--charcoal-surface4-press);
|
|
1556
1381
|
}
|
|
1557
1382
|
|
|
1558
|
-
.
|
|
1559
|
-
.
|
|
1383
|
+
.c12:disabled,
|
|
1384
|
+
.c12[aria-disabled]:not([aria-disabled=false]) {
|
|
1560
1385
|
opacity: 0.32;
|
|
1561
1386
|
}
|
|
1562
1387
|
|
|
1563
|
-
.
|
|
1564
|
-
.
|
|
1565
|
-
.
|
|
1566
|
-
.
|
|
1388
|
+
.c12:not(:disabled):not([aria-disabled]):focus,
|
|
1389
|
+
.c12[aria-disabled=false]:focus,
|
|
1390
|
+
.c12:not(:disabled):not([aria-disabled]):active,
|
|
1391
|
+
.c12[aria-disabled=false]:active {
|
|
1567
1392
|
outline: none;
|
|
1568
1393
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1569
1394
|
}
|
|
1570
1395
|
|
|
1571
|
-
.
|
|
1572
|
-
.
|
|
1573
|
-
.
|
|
1574
|
-
.
|
|
1396
|
+
.c12:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1397
|
+
.c12[aria-disabled=false]:focus:not(:focus-visible),
|
|
1398
|
+
.c12:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1399
|
+
.c12[aria-disabled=false]:active:not(:focus-visible) {
|
|
1575
1400
|
outline: none;
|
|
1576
1401
|
}
|
|
1577
1402
|
|
|
1578
|
-
.
|
|
1579
|
-
.
|
|
1403
|
+
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1404
|
+
.c12[aria-disabled=false]:focus-visible {
|
|
1580
1405
|
outline: none;
|
|
1581
1406
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1582
1407
|
}
|
|
@@ -1596,46 +1421,61 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1596
1421
|
}
|
|
1597
1422
|
|
|
1598
1423
|
.c6 {
|
|
1599
|
-
height: 40px;
|
|
1600
1424
|
display: grid;
|
|
1601
|
-
|
|
1425
|
+
grid-template-columns: auto 1fr auto;
|
|
1426
|
+
height: 40px;
|
|
1427
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1428
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
1429
|
+
color: var(--charcoal-text2);
|
|
1430
|
+
background-color: var(--charcoal-surface3);
|
|
1431
|
+
border-radius: 4px;
|
|
1432
|
+
gap: 4px;
|
|
1433
|
+
padding: 0 8px;
|
|
1434
|
+
line-height: 22px;
|
|
1435
|
+
font-size: 14px;
|
|
1602
1436
|
}
|
|
1603
1437
|
|
|
1604
|
-
.
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
left: 8px;
|
|
1608
|
-
-webkit-transform: translateY(-50%);
|
|
1609
|
-
-ms-transform: translateY(-50%);
|
|
1610
|
-
transform: translateY(-50%);
|
|
1611
|
-
z-index: 1;
|
|
1438
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
1439
|
+
.c6 [aria-disabled='false']:hover {
|
|
1440
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1612
1441
|
}
|
|
1613
1442
|
|
|
1614
|
-
.
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1443
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
1444
|
+
.c6 [aria-disabled='false']:active {
|
|
1445
|
+
outline: none;
|
|
1446
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
.c6:focus-within {
|
|
1450
|
+
outline: none;
|
|
1451
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
.c7 {
|
|
1621
1455
|
display: -webkit-box;
|
|
1622
1456
|
display: -webkit-flex;
|
|
1623
1457
|
display: -ms-flexbox;
|
|
1624
1458
|
display: flex;
|
|
1625
|
-
|
|
1459
|
+
padding-left: 8px;
|
|
1460
|
+
-webkit-align-items: center;
|
|
1461
|
+
-webkit-box-align: center;
|
|
1462
|
+
-ms-flex-align: center;
|
|
1463
|
+
align-items: center;
|
|
1626
1464
|
}
|
|
1627
1465
|
|
|
1628
|
-
.
|
|
1629
|
-
-webkit-
|
|
1630
|
-
-
|
|
1631
|
-
-ms-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1466
|
+
.c10 {
|
|
1467
|
+
display: -webkit-box;
|
|
1468
|
+
display: -webkit-flex;
|
|
1469
|
+
display: -ms-flexbox;
|
|
1470
|
+
display: flex;
|
|
1471
|
+
-webkit-align-items: center;
|
|
1472
|
+
-webkit-box-align: center;
|
|
1473
|
+
-ms-flex-align: center;
|
|
1474
|
+
align-items: center;
|
|
1475
|
+
gap: 8px;
|
|
1636
1476
|
}
|
|
1637
1477
|
|
|
1638
|
-
.
|
|
1478
|
+
.c9 {
|
|
1639
1479
|
border: none;
|
|
1640
1480
|
box-sizing: border-box;
|
|
1641
1481
|
outline: none;
|
|
@@ -1650,64 +1490,35 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1650
1490
|
height: calc(100% / 0.875);
|
|
1651
1491
|
font-size: calc(14px / 0.875);
|
|
1652
1492
|
line-height: calc(22px / 0.875);
|
|
1653
|
-
padding-left:
|
|
1654
|
-
padding-right:
|
|
1493
|
+
padding-left: 0;
|
|
1494
|
+
padding-right: 0;
|
|
1655
1495
|
border-radius: calc(4px / 0.875);
|
|
1656
1496
|
-webkit-appearance: none;
|
|
1657
1497
|
-moz-appearance: none;
|
|
1658
1498
|
appearance: none;
|
|
1659
|
-
background
|
|
1499
|
+
background: transparent;
|
|
1660
1500
|
color: var(--charcoal-text2);
|
|
1661
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1662
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
.c10:hover:not(:disabled):not([aria-disabled]),
|
|
1666
|
-
.c10:hover[aria-disabled=false] {
|
|
1667
|
-
background-color: var(--charcoal-surface3-hover);
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
.c10:not(:disabled):not([aria-disabled]):focus,
|
|
1671
|
-
.c10[aria-disabled=false]:focus,
|
|
1672
|
-
.c10:not(:disabled):not([aria-disabled]):active,
|
|
1673
|
-
.c10[aria-disabled=false]:active {
|
|
1674
|
-
outline: none;
|
|
1675
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1676
1501
|
}
|
|
1677
1502
|
|
|
1678
|
-
.
|
|
1679
|
-
.c10[aria-disabled=false]:focus:not(:focus-visible),
|
|
1680
|
-
.c10:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1681
|
-
.c10[aria-disabled=false]:active:not(:focus-visible) {
|
|
1682
|
-
outline: none;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
.c10:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1686
|
-
.c10[aria-disabled=false]:focus-visible {
|
|
1687
|
-
outline: none;
|
|
1688
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
.c10::-webkit-input-placeholder {
|
|
1503
|
+
.c9::-webkit-input-placeholder {
|
|
1692
1504
|
color: var(--charcoal-text3);
|
|
1693
1505
|
}
|
|
1694
1506
|
|
|
1695
|
-
.
|
|
1507
|
+
.c9::-moz-placeholder {
|
|
1696
1508
|
color: var(--charcoal-text3);
|
|
1697
1509
|
}
|
|
1698
1510
|
|
|
1699
|
-
.
|
|
1511
|
+
.c9:-ms-input-placeholder {
|
|
1700
1512
|
color: var(--charcoal-text3);
|
|
1701
1513
|
}
|
|
1702
1514
|
|
|
1703
|
-
.
|
|
1515
|
+
.c9::placeholder {
|
|
1704
1516
|
color: var(--charcoal-text3);
|
|
1705
1517
|
}
|
|
1706
1518
|
|
|
1707
|
-
.
|
|
1519
|
+
.c8 {
|
|
1520
|
+
height: 16px;
|
|
1708
1521
|
color: #858585;
|
|
1709
|
-
margin-top: 2px;
|
|
1710
|
-
margin-right: 4px;
|
|
1711
1522
|
}
|
|
1712
1523
|
|
|
1713
1524
|
<div
|
|
@@ -1751,48 +1562,40 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1751
1562
|
<div
|
|
1752
1563
|
className="c6"
|
|
1753
1564
|
>
|
|
1754
|
-
<
|
|
1565
|
+
<div
|
|
1755
1566
|
className="c7"
|
|
1756
1567
|
>
|
|
1757
|
-
<
|
|
1568
|
+
<div
|
|
1758
1569
|
className="c8"
|
|
1759
1570
|
>
|
|
1760
|
-
<
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
/>
|
|
1766
|
-
</div>
|
|
1767
|
-
</span>
|
|
1768
|
-
</span>
|
|
1571
|
+
<pixiv-icon
|
|
1572
|
+
name="16/Search"
|
|
1573
|
+
/>
|
|
1574
|
+
</div>
|
|
1575
|
+
</div>
|
|
1769
1576
|
<input
|
|
1770
1577
|
aria-labelledby="test-id"
|
|
1771
|
-
className="
|
|
1578
|
+
className="c9"
|
|
1772
1579
|
disabled={false}
|
|
1773
1580
|
id="test-id"
|
|
1774
1581
|
onChange={[Function]}
|
|
1775
|
-
placeholder="
|
|
1582
|
+
placeholder="作品を検索"
|
|
1776
1583
|
readOnly={false}
|
|
1777
1584
|
type="text"
|
|
1778
1585
|
/>
|
|
1779
1586
|
<span
|
|
1780
|
-
className="
|
|
1587
|
+
className="c10"
|
|
1781
1588
|
>
|
|
1782
|
-
<
|
|
1783
|
-
className="
|
|
1589
|
+
<button
|
|
1590
|
+
className="c11 c12"
|
|
1591
|
+
height={20}
|
|
1592
|
+
size="XS"
|
|
1593
|
+
width={20}
|
|
1784
1594
|
>
|
|
1785
|
-
<
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
width={20}
|
|
1790
|
-
>
|
|
1791
|
-
<pixiv-icon
|
|
1792
|
-
name="16/Remove"
|
|
1793
|
-
/>
|
|
1794
|
-
</button>
|
|
1795
|
-
</span>
|
|
1595
|
+
<pixiv-icon
|
|
1596
|
+
name="16/Remove"
|
|
1597
|
+
/>
|
|
1598
|
+
</button>
|
|
1796
1599
|
</span>
|
|
1797
1600
|
</div>
|
|
1798
1601
|
</div>
|