@charcoal-ui/react 3.7.0 → 3.8.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.
Files changed (100) hide show
  1. package/dist/components/Button/StyledButton.d.ts +1 -0
  2. package/dist/components/Button/StyledButton.d.ts.map +1 -1
  3. package/dist/components/Button/index.d.ts +1 -0
  4. package/dist/components/Button/index.d.ts.map +1 -1
  5. package/dist/components/Button/index.story.d.ts +16 -32
  6. package/dist/components/Button/index.story.d.ts.map +1 -1
  7. package/dist/components/Checkbox/index.d.ts.map +1 -1
  8. package/dist/components/DropdownSelector/ListItem/index.story.d.ts +7 -7
  9. package/dist/components/DropdownSelector/ListItem/index.story.d.ts.map +1 -1
  10. package/dist/components/DropdownSelector/MenuList/index.story.d.ts +6 -9
  11. package/dist/components/DropdownSelector/MenuList/index.story.d.ts.map +1 -1
  12. package/dist/components/DropdownSelector/Popover/index.story.d.ts +3 -7
  13. package/dist/components/DropdownSelector/Popover/index.story.d.ts.map +1 -1
  14. package/dist/components/DropdownSelector/index.d.ts.map +1 -1
  15. package/dist/components/DropdownSelector/index.story.d.ts +9 -12
  16. package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
  17. package/dist/components/Icon/index.story.d.ts +4 -26
  18. package/dist/components/Icon/index.story.d.ts.map +1 -1
  19. package/dist/components/IconButton/index.d.ts +1 -0
  20. package/dist/components/IconButton/index.d.ts.map +1 -1
  21. package/dist/components/IconButton/index.story.d.ts +6 -25
  22. package/dist/components/IconButton/index.story.d.ts.map +1 -1
  23. package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts +8 -0
  24. package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts.map +1 -0
  25. package/dist/components/LoadingSpinner/index.d.ts +2 -2
  26. package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
  27. package/dist/components/LoadingSpinner/index.story.d.ts +4 -7
  28. package/dist/components/LoadingSpinner/index.story.d.ts.map +1 -1
  29. package/dist/components/Modal/index.story.d.ts +16 -41
  30. package/dist/components/Modal/index.story.d.ts.map +1 -1
  31. package/dist/components/MultiSelect/index.d.ts.map +1 -1
  32. package/dist/components/Radio/index.d.ts +0 -2
  33. package/dist/components/Radio/index.d.ts.map +1 -1
  34. package/dist/components/Radio/index.story.d.ts +12 -23
  35. package/dist/components/Radio/index.story.d.ts.map +1 -1
  36. package/dist/components/SegmentedControl/index.story.d.ts +5 -8
  37. package/dist/components/SegmentedControl/index.story.d.ts.map +1 -1
  38. package/dist/components/Switch/index.d.ts.map +1 -1
  39. package/dist/components/Switch/index.story.d.ts +7 -12
  40. package/dist/components/Switch/index.story.d.ts.map +1 -1
  41. package/dist/components/TagItem/index.d.ts.map +1 -1
  42. package/dist/components/TagItem/index.story.d.ts +14 -24
  43. package/dist/components/TagItem/index.story.d.ts.map +1 -1
  44. package/dist/components/TextArea/TextArea.story.d.ts +7 -25
  45. package/dist/components/TextArea/TextArea.story.d.ts.map +1 -1
  46. package/dist/components/TextField/TextField.story.d.ts +13 -20
  47. package/dist/components/TextField/TextField.story.d.ts.map +1 -1
  48. package/dist/components/TextField/index.d.ts.map +1 -1
  49. package/dist/index.cjs.js +80 -86
  50. package/dist/index.cjs.js.map +1 -1
  51. package/dist/index.esm.js +80 -86
  52. package/dist/index.esm.js.map +1 -1
  53. package/dist/styled.d.ts +4 -4
  54. package/package.json +6 -6
  55. package/src/components/Button/StyledButton.tsx +19 -14
  56. package/src/components/Button/__snapshots__/index.story.storyshot +314 -118
  57. package/src/components/Button/index.story.tsx +141 -138
  58. package/src/components/Button/index.tsx +3 -0
  59. package/src/components/Checkbox/__snapshots__/index.story.storyshot +12 -27
  60. package/src/components/Checkbox/index.tsx +2 -12
  61. package/src/components/Clickable/__snapshots__/index.story.storyshot +2 -2
  62. package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +42 -37
  63. package/src/components/DropdownSelector/ListItem/index.story.tsx +8 -4
  64. package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +38 -38
  65. package/src/components/DropdownSelector/MenuList/index.story.tsx +33 -27
  66. package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +11 -5
  67. package/src/components/DropdownSelector/Popover/index.story.tsx +6 -6
  68. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +145 -47
  69. package/src/components/DropdownSelector/index.story.tsx +207 -204
  70. package/src/components/DropdownSelector/index.tsx +17 -10
  71. package/src/components/Icon/__snapshots__/index.story.storyshot +1 -1
  72. package/src/components/Icon/index.story.tsx +8 -12
  73. package/src/components/IconButton/__snapshots__/index.story.storyshot +130 -13
  74. package/src/components/IconButton/index.story.tsx +30 -23
  75. package/src/components/IconButton/index.tsx +32 -20
  76. package/src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx +12 -0
  77. package/src/components/LoadingSpinner/__snapshots__/LoadingSpinnerIcon.story.storyshot +28 -0
  78. package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +1 -35
  79. package/src/components/LoadingSpinner/index.story.tsx +11 -54
  80. package/src/components/LoadingSpinner/index.tsx +1 -1
  81. package/src/components/Modal/__snapshots__/index.story.storyshot +212 -171
  82. package/src/components/Modal/index.story.tsx +139 -133
  83. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +56 -4
  84. package/src/components/MultiSelect/index.tsx +3 -0
  85. package/src/components/Radio/__snapshots__/index.story.storyshot +981 -121
  86. package/src/components/Radio/index.story.tsx +128 -63
  87. package/src/components/Radio/index.tsx +10 -16
  88. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +2 -2
  89. package/src/components/SegmentedControl/index.story.tsx +24 -29
  90. package/src/components/Switch/__snapshots__/index.story.storyshot +184 -26
  91. package/src/components/Switch/index.story.tsx +72 -48
  92. package/src/components/Switch/index.tsx +2 -7
  93. package/src/components/TagItem/__snapshots__/index.story.storyshot +72 -33
  94. package/src/components/TagItem/index.story.tsx +154 -159
  95. package/src/components/TagItem/index.tsx +2 -6
  96. package/src/components/TextArea/TextArea.story.tsx +29 -32
  97. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +127 -73
  98. package/src/components/TextField/TextField.story.tsx +67 -66
  99. package/src/components/TextField/__snapshots__/TextField.story.storyshot +182 -147
  100. package/src/components/TextField/index.tsx +0 -7
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Storyshots TextField Default 1`] = `
3
+ exports[`Storybook Tests TextField Default 1`] = `
4
4
  .c7 {
5
5
  cursor: pointer;
6
6
  -webkit-appearance: none;
@@ -157,12 +157,6 @@ exports[`Storyshots TextField Default 1`] = `
157
157
  background-color: var(--charcoal-surface3-hover);
158
158
  }
159
159
 
160
- .c8:not(:disabled):not([aria-disabled]):active,
161
- .c8 [aria-disabled='false']:active {
162
- outline: none;
163
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
164
- }
165
-
166
160
  .c8:focus-within {
167
161
  outline: none;
168
162
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
@@ -280,8 +274,46 @@ exports[`Storyshots TextField Default 1`] = `
280
274
  </div>
281
275
  `;
282
276
 
283
- exports[`Storyshots TextField Has Affix 1`] = `
284
- .c3 {
277
+ exports[`Storybook Tests TextField HasAffix 1`] = `
278
+ .c7 {
279
+ cursor: pointer;
280
+ -webkit-appearance: none;
281
+ -moz-appearance: none;
282
+ appearance: none;
283
+ background: transparent;
284
+ padding: 0;
285
+ border-style: none;
286
+ outline: none;
287
+ color: inherit;
288
+ text-rendering: inherit;
289
+ -webkit-letter-spacing: inherit;
290
+ -moz-letter-spacing: inherit;
291
+ -ms-letter-spacing: inherit;
292
+ letter-spacing: inherit;
293
+ word-spacing: inherit;
294
+ -webkit-text-decoration: none;
295
+ text-decoration: none;
296
+ font: inherit;
297
+ margin: 0;
298
+ overflow: visible;
299
+ text-transform: none;
300
+ }
301
+
302
+ .c7:disabled,
303
+ .c7[aria-disabled]:not([aria-disabled=false]) {
304
+ cursor: default;
305
+ }
306
+
307
+ .c7:focus {
308
+ outline: none;
309
+ }
310
+
311
+ .c7::-moz-focus-inner {
312
+ border-style: none;
313
+ padding: 0;
314
+ }
315
+
316
+ .c4 {
285
317
  font-size: 14px;
286
318
  line-height: 22px;
287
319
  font-weight: bold;
@@ -289,7 +321,7 @@ exports[`Storyshots TextField Has Affix 1`] = `
289
321
  color: var(--charcoal-text1);
290
322
  }
291
323
 
292
- .c3::before {
324
+ .c4::before {
293
325
  display: block;
294
326
  width: 0;
295
327
  height: 0;
@@ -297,7 +329,7 @@ exports[`Storyshots TextField Has Affix 1`] = `
297
329
  margin-top: -4px;
298
330
  }
299
331
 
300
- .c3::after {
332
+ .c4::after {
301
333
  display: block;
302
334
  width: 0;
303
335
  height: 0;
@@ -305,7 +337,7 @@ exports[`Storyshots TextField Has Affix 1`] = `
305
337
  margin-bottom: -4px;
306
338
  }
307
339
 
308
- .c5 {
340
+ .c6 {
309
341
  font-size: 14px;
310
342
  line-height: 22px;
311
343
  display: flow-root;
@@ -314,7 +346,7 @@ exports[`Storyshots TextField Has Affix 1`] = `
314
346
  transition: 0.2s color,0.2s box-shadow;
315
347
  }
316
348
 
317
- .c5::before {
349
+ .c6::before {
318
350
  display: block;
319
351
  width: 0;
320
352
  height: 0;
@@ -322,7 +354,7 @@ exports[`Storyshots TextField Has Affix 1`] = `
322
354
  margin-top: -4px;
323
355
  }
324
356
 
325
- .c5::after {
357
+ .c6::after {
326
358
  display: block;
327
359
  width: 0;
328
360
  height: 0;
@@ -330,27 +362,27 @@ exports[`Storyshots TextField Has Affix 1`] = `
330
362
  margin-bottom: -4px;
331
363
  }
332
364
 
333
- .c5:not(:disabled):not([aria-disabled]):hover,
334
- .c5[aria-disabled='false']:hover {
365
+ .c6:not(:disabled):not([aria-disabled]):hover,
366
+ .c6[aria-disabled='false']:hover {
335
367
  color: var(--charcoal-text3-hover);
336
368
  }
337
369
 
338
- .c5:not(:disabled):not([aria-disabled]):active,
339
- .c5[aria-disabled='false']:active {
370
+ .c6:not(:disabled):not([aria-disabled]):active,
371
+ .c6[aria-disabled='false']:active {
340
372
  color: var(--charcoal-text3-press);
341
373
  }
342
374
 
343
- .c5:not(:disabled):not([aria-disabled]):active,
344
- .c5[aria-disabled='false']:active,
345
- .c5:not(:disabled):not([aria-disabled]):focus,
346
- .c5[aria-disabled='false']:focus,
347
- .c5:not(:disabled):not([aria-disabled]):focus-visible,
348
- .c5[aria-disabled='false']:focus-visible {
375
+ .c6:not(:disabled):not([aria-disabled]):active,
376
+ .c6[aria-disabled='false']:active,
377
+ .c6:not(:disabled):not([aria-disabled]):focus,
378
+ .c6[aria-disabled='false']:focus,
379
+ .c6:not(:disabled):not([aria-disabled]):focus-visible,
380
+ .c6[aria-disabled='false']:focus-visible {
349
381
  outline: none;
350
382
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
351
383
  }
352
384
 
353
- .c1 {
385
+ .c2 {
354
386
  display: -webkit-inline-box;
355
387
  display: -webkit-inline-flex;
356
388
  display: -ms-inline-flexbox;
@@ -361,11 +393,11 @@ exports[`Storyshots TextField Has Affix 1`] = `
361
393
  align-items: center;
362
394
  }
363
395
 
364
- .c1 > .c4 {
396
+ .c2 > .c5 {
365
397
  margin-left: auto;
366
398
  }
367
399
 
368
- .c0 {
400
+ .c1 {
369
401
  display: -webkit-box;
370
402
  display: -webkit-flex;
371
403
  display: -ms-flexbox;
@@ -375,11 +407,11 @@ exports[`Storyshots TextField Has Affix 1`] = `
375
407
  flex-direction: column;
376
408
  }
377
409
 
378
- .c2 {
410
+ .c3 {
379
411
  margin-bottom: 8px;
380
412
  }
381
413
 
382
- .c6 {
414
+ .c8 {
383
415
  display: grid;
384
416
  grid-template-columns: auto 1fr auto;
385
417
  height: 40px;
@@ -394,23 +426,17 @@ exports[`Storyshots TextField Has Affix 1`] = `
394
426
  font-size: 14px;
395
427
  }
396
428
 
397
- .c6:not(:disabled):not([aria-disabled]):hover,
398
- .c6 [aria-disabled='false']:hover {
429
+ .c8:not(:disabled):not([aria-disabled]):hover,
430
+ .c8 [aria-disabled='false']:hover {
399
431
  background-color: var(--charcoal-surface3-hover);
400
432
  }
401
433
 
402
- .c6:not(:disabled):not([aria-disabled]):active,
403
- .c6 [aria-disabled='false']:active {
404
- outline: none;
405
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
406
- }
407
-
408
- .c6:focus-within {
434
+ .c8:focus-within {
409
435
  outline: none;
410
436
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
411
437
  }
412
438
 
413
- .c7 {
439
+ .c9 {
414
440
  display: -webkit-box;
415
441
  display: -webkit-flex;
416
442
  display: -ms-flexbox;
@@ -421,7 +447,7 @@ exports[`Storyshots TextField Has Affix 1`] = `
421
447
  align-items: center;
422
448
  }
423
449
 
424
- .c9 {
450
+ .c11 {
425
451
  display: -webkit-box;
426
452
  display: -webkit-flex;
427
453
  display: -ms-flexbox;
@@ -433,7 +459,7 @@ exports[`Storyshots TextField Has Affix 1`] = `
433
459
  gap: 8px;
434
460
  }
435
461
 
436
- .c8 {
462
+ .c10 {
437
463
  border: none;
438
464
  box-sizing: border-box;
439
465
  outline: none;
@@ -458,28 +484,33 @@ exports[`Storyshots TextField Has Affix 1`] = `
458
484
  color: var(--charcoal-text2);
459
485
  }
460
486
 
461
- .c8::-webkit-input-placeholder {
487
+ .c10::-webkit-input-placeholder {
462
488
  color: var(--charcoal-text3);
463
489
  }
464
490
 
465
- .c8::-moz-placeholder {
491
+ .c10::-moz-placeholder {
466
492
  color: var(--charcoal-text3);
467
493
  }
468
494
 
469
- .c8:-ms-input-placeholder {
495
+ .c10:-ms-input-placeholder {
470
496
  color: var(--charcoal-text3);
471
497
  }
472
498
 
473
- .c8::placeholder {
499
+ .c10::placeholder {
474
500
  color: var(--charcoal-text3);
475
501
  }
476
502
 
477
- .c10 {
503
+ .c12 {
478
504
  line-height: 22px;
479
505
  font-size: 14px;
480
506
  color: var(--charcoal-text3);
481
507
  }
482
508
 
509
+ .c0 {
510
+ display: grid;
511
+ gap: 24px;
512
+ }
513
+
483
514
  <div
484
515
  data-dark={false}
485
516
  >
@@ -487,72 +518,82 @@ exports[`Storyshots TextField Has Affix 1`] = `
487
518
  className="c0"
488
519
  >
489
520
  <div
490
- className="c1 c2"
491
- style={
492
- Object {
493
- "border": 0,
494
- "clip": "rect(0 0 0 0)",
495
- "clipPath": "inset(50%)",
496
- "height": "1px",
497
- "margin": "-1px",
498
- "overflow": "hidden",
499
- "padding": 0,
500
- "position": "absolute",
501
- "whiteSpace": "nowrap",
502
- "width": "1px",
503
- }
504
- }
521
+ className="c1"
505
522
  >
506
- <label
507
- className="c3"
508
- htmlFor="test-id"
509
- id="test-id"
510
- >
511
- Label
512
- </label>
513
523
  <div
514
- className="c4 c5"
524
+ className="c2 c3"
525
+ style={
526
+ Object {
527
+ "border": 0,
528
+ "clip": "rect(0 0 0 0)",
529
+ "clipPath": "inset(50%)",
530
+ "height": "1px",
531
+ "margin": "-1px",
532
+ "overflow": "hidden",
533
+ "padding": 0,
534
+ "position": "absolute",
535
+ "whiteSpace": "nowrap",
536
+ "width": "1px",
537
+ }
538
+ }
515
539
  >
516
- <span />
540
+ <label
541
+ className="c4"
542
+ htmlFor="test-id"
543
+ id="test-id"
544
+ >
545
+ Label
546
+ </label>
547
+ <div
548
+ className="c5 c6"
549
+ >
550
+ <span>
551
+ <button
552
+ className="c7"
553
+ >
554
+ Text Link
555
+ </button>
556
+ </span>
557
+ </div>
517
558
  </div>
518
- </div>
519
- <div
520
- className="c6"
521
- >
522
559
  <div
523
- className="c7"
524
- >
525
- /home/john/
526
- </div>
527
- <input
528
- aria-labelledby="test-id"
529
560
  className="c8"
530
- disabled={false}
531
- id="test-id"
532
- maxLength={200}
533
- onChange={[Function]}
534
- placeholder="path/to/your/file"
535
- readOnly={false}
536
- required={false}
537
- type="text"
538
- value=""
539
- />
540
- <span
541
- className="c9"
542
561
  >
543
- .png
544
- <span
562
+ <div
563
+ className="c9"
564
+ >
565
+ /home/john/
566
+ </div>
567
+ <input
568
+ aria-labelledby="test-id"
545
569
  className="c10"
570
+ disabled={false}
571
+ id="test-id"
572
+ maxLength={200}
573
+ onChange={[Function]}
574
+ placeholder="TextField"
575
+ readOnly={false}
576
+ required={false}
577
+ type="text"
578
+ value=""
579
+ />
580
+ <span
581
+ className="c11"
546
582
  >
547
- 0/200
583
+ .png
584
+ <span
585
+ className="c12"
586
+ >
587
+ 0/200
588
+ </span>
548
589
  </span>
549
- </span>
590
+ </div>
550
591
  </div>
551
592
  </div>
552
593
  </div>
553
594
  `;
554
595
 
555
- exports[`Storyshots TextField Has Count 1`] = `
596
+ exports[`Storybook Tests TextField HasCount 1`] = `
556
597
  .c7 {
557
598
  cursor: pointer;
558
599
  -webkit-appearance: none;
@@ -709,12 +750,6 @@ exports[`Storyshots TextField Has Count 1`] = `
709
750
  background-color: var(--charcoal-surface3-hover);
710
751
  }
711
752
 
712
- .c8:not(:disabled):not([aria-disabled]):active,
713
- .c8 [aria-disabled='false']:active {
714
- outline: none;
715
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
716
- }
717
-
718
753
  .c8:focus-within {
719
754
  outline: none;
720
755
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
@@ -860,7 +895,7 @@ exports[`Storyshots TextField Has Count 1`] = `
860
895
  </div>
861
896
  `;
862
897
 
863
- exports[`Storyshots TextField Has Label 1`] = `
898
+ exports[`Storybook Tests TextField HasLabel 1`] = `
864
899
  .c9 {
865
900
  cursor: pointer;
866
901
  -webkit-appearance: none;
@@ -1044,12 +1079,6 @@ exports[`Storyshots TextField Has Label 1`] = `
1044
1079
  background-color: var(--charcoal-surface3-hover);
1045
1080
  }
1046
1081
 
1047
- .c10:not(:disabled):not([aria-disabled]):active,
1048
- .c10 [aria-disabled='false']:active {
1049
- outline: none;
1050
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1051
- }
1052
-
1053
1082
  .c10:focus-within {
1054
1083
  outline: none;
1055
1084
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
@@ -1172,8 +1201,8 @@ exports[`Storyshots TextField Has Label 1`] = `
1172
1201
  </div>
1173
1202
  `;
1174
1203
 
1175
- exports[`Storyshots TextField Prefix Icon 1`] = `
1176
- .c11 {
1204
+ exports[`Storybook Tests TextField PrefixIcon 1`] = `
1205
+ .c6 {
1177
1206
  cursor: pointer;
1178
1207
  -webkit-appearance: none;
1179
1208
  -moz-appearance: none;
@@ -1197,16 +1226,16 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1197
1226
  text-transform: none;
1198
1227
  }
1199
1228
 
1200
- .c11:disabled,
1201
- .c11[aria-disabled]:not([aria-disabled=false]) {
1229
+ .c6:disabled,
1230
+ .c6[aria-disabled]:not([aria-disabled=false]) {
1202
1231
  cursor: default;
1203
1232
  }
1204
1233
 
1205
- .c11:focus {
1234
+ .c6:focus {
1206
1235
  outline: none;
1207
1236
  }
1208
1237
 
1209
- .c11::-moz-focus-inner {
1238
+ .c6::-moz-focus-inner {
1210
1239
  border-style: none;
1211
1240
  padding: 0;
1212
1241
  }
@@ -1323,21 +1352,27 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1323
1352
 
1324
1353
  .c12:not(:disabled):not([aria-disabled]):hover,
1325
1354
  .c12[aria-disabled='false']:hover {
1326
- background-color: var( --charcoal-surface4-hover );
1355
+ background-color: var(--charcoal-surface4-hover);
1327
1356
  }
1328
1357
 
1329
1358
  .c12:not(:disabled):not([aria-disabled]):active,
1330
1359
  .c12[aria-disabled='false']:active {
1331
- background-color: var( --charcoal-surface4-press );
1360
+ background-color: var(--charcoal-surface4-press);
1332
1361
  }
1333
1362
 
1334
1363
  .c12:not(:disabled):not([aria-disabled]):focus,
1335
- .c12[aria-disabled='false']:focus,
1336
- .c12:not(:disabled):not([aria-disabled]):active,
1337
- .c12[aria-disabled='false']:active,
1364
+ .c12[aria-disabled='false']:focus {
1365
+ outline: none;
1366
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1367
+ }
1368
+
1369
+ .c12:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1370
+ .c12[aria-disabled='false']:focus:not(:focus-visible) {
1371
+ box-shadow: none;
1372
+ }
1373
+
1338
1374
  .c12:not(:disabled):not([aria-disabled]):focus-visible,
1339
1375
  .c12[aria-disabled='false']:focus-visible {
1340
- outline: none;
1341
1376
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1342
1377
  }
1343
1378
 
@@ -1360,7 +1395,7 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1360
1395
  margin-bottom: 8px;
1361
1396
  }
1362
1397
 
1363
- .c6 {
1398
+ .c7 {
1364
1399
  display: grid;
1365
1400
  grid-template-columns: auto 1fr auto;
1366
1401
  height: 40px;
@@ -1375,23 +1410,17 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1375
1410
  font-size: 14px;
1376
1411
  }
1377
1412
 
1378
- .c6:not(:disabled):not([aria-disabled]):hover,
1379
- .c6 [aria-disabled='false']:hover {
1413
+ .c7:not(:disabled):not([aria-disabled]):hover,
1414
+ .c7 [aria-disabled='false']:hover {
1380
1415
  background-color: var(--charcoal-surface3-hover);
1381
1416
  }
1382
1417
 
1383
- .c6:not(:disabled):not([aria-disabled]):active,
1384
- .c6 [aria-disabled='false']:active {
1385
- outline: none;
1386
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1387
- }
1388
-
1389
- .c6:focus-within {
1418
+ .c7:focus-within {
1390
1419
  outline: none;
1391
1420
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1392
1421
  }
1393
1422
 
1394
- .c7 {
1423
+ .c8 {
1395
1424
  display: -webkit-box;
1396
1425
  display: -webkit-flex;
1397
1426
  display: -ms-flexbox;
@@ -1402,7 +1431,7 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1402
1431
  align-items: center;
1403
1432
  }
1404
1433
 
1405
- .c10 {
1434
+ .c11 {
1406
1435
  display: -webkit-box;
1407
1436
  display: -webkit-flex;
1408
1437
  display: -ms-flexbox;
@@ -1414,7 +1443,7 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1414
1443
  gap: 8px;
1415
1444
  }
1416
1445
 
1417
- .c9 {
1446
+ .c10 {
1418
1447
  border: none;
1419
1448
  box-sizing: border-box;
1420
1449
  outline: none;
@@ -1439,23 +1468,23 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1439
1468
  color: var(--charcoal-text2);
1440
1469
  }
1441
1470
 
1442
- .c9::-webkit-input-placeholder {
1471
+ .c10::-webkit-input-placeholder {
1443
1472
  color: var(--charcoal-text3);
1444
1473
  }
1445
1474
 
1446
- .c9::-moz-placeholder {
1475
+ .c10::-moz-placeholder {
1447
1476
  color: var(--charcoal-text3);
1448
1477
  }
1449
1478
 
1450
- .c9:-ms-input-placeholder {
1479
+ .c10:-ms-input-placeholder {
1451
1480
  color: var(--charcoal-text3);
1452
1481
  }
1453
1482
 
1454
- .c9::placeholder {
1483
+ .c10::placeholder {
1455
1484
  color: var(--charcoal-text3);
1456
1485
  }
1457
1486
 
1458
- .c8 {
1487
+ .c9 {
1459
1488
  display: -webkit-box;
1460
1489
  display: -webkit-flex;
1461
1490
  display: -ms-flexbox;
@@ -1500,17 +1529,23 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1500
1529
  <div
1501
1530
  className="c4 c5"
1502
1531
  >
1503
- <span />
1532
+ <span>
1533
+ <button
1534
+ className="c6"
1535
+ >
1536
+ Text Link
1537
+ </button>
1538
+ </span>
1504
1539
  </div>
1505
1540
  </div>
1506
1541
  <div
1507
- className="c6"
1542
+ className="c7"
1508
1543
  >
1509
1544
  <div
1510
- className="c7"
1545
+ className="c8"
1511
1546
  >
1512
1547
  <div
1513
- className="c8"
1548
+ className="c9"
1514
1549
  >
1515
1550
  <pixiv-icon
1516
1551
  name="16/Search"
@@ -1519,7 +1554,7 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1519
1554
  </div>
1520
1555
  <input
1521
1556
  aria-labelledby="test-id"
1522
- className="c9"
1557
+ className="c10"
1523
1558
  disabled={false}
1524
1559
  id="test-id"
1525
1560
  onChange={[Function]}
@@ -1530,10 +1565,10 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
1530
1565
  value=""
1531
1566
  />
1532
1567
  <span
1533
- className="c10"
1568
+ className="c11"
1534
1569
  >
1535
1570
  <button
1536
- className="c11 c12"
1571
+ className="c6 c12"
1537
1572
  onClick={[Function]}
1538
1573
  >
1539
1574
  <pixiv-icon
@@ -191,13 +191,6 @@ const StyledInputContainer = styled.div<{
191
191
  background-color: var(--charcoal-surface3-hover);
192
192
  }
193
193
 
194
- :not(:disabled):not([aria-disabled]):active,
195
- [aria-disabled='false']:active {
196
- outline: none;
197
- box-shadow: 0 0 0 4px
198
- ${(p) => (p.invalid ? `rgba(255,43,0,0.32)` : `rgba(0, 150, 250, 0.32);`)};
199
- }
200
-
201
194
  :focus-within {
202
195
  outline: none;
203
196
  box-shadow: 0 0 0 4px