@charcoal-ui/react 3.7.0 → 3.9.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 (107) 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.d.ts.map +1 -1
  30. package/dist/components/Modal/index.story.d.ts +16 -41
  31. package/dist/components/Modal/index.story.d.ts.map +1 -1
  32. package/dist/components/Modal/useCustomModalOverlay.d.ts +12 -0
  33. package/dist/components/Modal/useCustomModalOverlay.d.ts.map +1 -0
  34. package/dist/components/MultiSelect/index.d.ts.map +1 -1
  35. package/dist/components/Radio/index.d.ts +0 -2
  36. package/dist/components/Radio/index.d.ts.map +1 -1
  37. package/dist/components/Radio/index.story.d.ts +12 -23
  38. package/dist/components/Radio/index.story.d.ts.map +1 -1
  39. package/dist/components/SegmentedControl/index.story.d.ts +5 -8
  40. package/dist/components/SegmentedControl/index.story.d.ts.map +1 -1
  41. package/dist/components/Switch/index.d.ts.map +1 -1
  42. package/dist/components/Switch/index.story.d.ts +7 -12
  43. package/dist/components/Switch/index.story.d.ts.map +1 -1
  44. package/dist/components/TagItem/index.d.ts.map +1 -1
  45. package/dist/components/TagItem/index.story.d.ts +14 -24
  46. package/dist/components/TagItem/index.story.d.ts.map +1 -1
  47. package/dist/components/TextArea/TextArea.story.d.ts +7 -25
  48. package/dist/components/TextArea/TextArea.story.d.ts.map +1 -1
  49. package/dist/components/TextArea/index.d.ts.map +1 -1
  50. package/dist/components/TextField/TextField.story.d.ts +14 -20
  51. package/dist/components/TextField/TextField.story.d.ts.map +1 -1
  52. package/dist/components/TextField/index.d.ts.map +1 -1
  53. package/dist/index.cjs.js +1006 -2240
  54. package/dist/index.cjs.js.map +1 -1
  55. package/dist/index.esm.js +1001 -2241
  56. package/dist/index.esm.js.map +1 -1
  57. package/dist/styled.d.ts +4 -4
  58. package/package.json +7 -6
  59. package/src/components/Button/StyledButton.tsx +19 -14
  60. package/src/components/Button/__snapshots__/index.story.storyshot +314 -118
  61. package/src/components/Button/index.story.tsx +141 -138
  62. package/src/components/Button/index.tsx +3 -0
  63. package/src/components/Checkbox/__snapshots__/index.story.storyshot +55 -42
  64. package/src/components/Checkbox/index.tsx +15 -17
  65. package/src/components/Clickable/__snapshots__/index.story.storyshot +2 -2
  66. package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +42 -37
  67. package/src/components/DropdownSelector/ListItem/index.story.tsx +8 -4
  68. package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +38 -38
  69. package/src/components/DropdownSelector/MenuList/index.story.tsx +33 -27
  70. package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +11 -5
  71. package/src/components/DropdownSelector/Popover/index.story.tsx +6 -6
  72. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +148 -47
  73. package/src/components/DropdownSelector/index.story.tsx +207 -204
  74. package/src/components/DropdownSelector/index.tsx +17 -10
  75. package/src/components/Icon/__snapshots__/index.story.storyshot +1 -1
  76. package/src/components/Icon/index.story.tsx +8 -12
  77. package/src/components/IconButton/__snapshots__/index.story.storyshot +135 -13
  78. package/src/components/IconButton/index.story.tsx +30 -23
  79. package/src/components/IconButton/index.tsx +35 -20
  80. package/src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx +12 -0
  81. package/src/components/LoadingSpinner/__snapshots__/LoadingSpinnerIcon.story.storyshot +28 -0
  82. package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +1 -35
  83. package/src/components/LoadingSpinner/index.story.tsx +11 -54
  84. package/src/components/LoadingSpinner/index.tsx +1 -1
  85. package/src/components/Modal/__snapshots__/index.story.storyshot +224 -171
  86. package/src/components/Modal/index.story.tsx +139 -133
  87. package/src/components/Modal/index.tsx +15 -20
  88. package/src/components/Modal/useCustomModalOverlay.tsx +42 -0
  89. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +56 -4
  90. package/src/components/MultiSelect/index.tsx +3 -0
  91. package/src/components/Radio/__snapshots__/index.story.storyshot +1001 -121
  92. package/src/components/Radio/index.story.tsx +128 -63
  93. package/src/components/Radio/index.tsx +15 -17
  94. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +2 -2
  95. package/src/components/SegmentedControl/index.story.tsx +24 -29
  96. package/src/components/Switch/__snapshots__/index.story.storyshot +184 -26
  97. package/src/components/Switch/index.story.tsx +72 -48
  98. package/src/components/Switch/index.tsx +2 -7
  99. package/src/components/TagItem/__snapshots__/index.story.storyshot +72 -33
  100. package/src/components/TagItem/index.story.tsx +154 -159
  101. package/src/components/TagItem/index.tsx +2 -6
  102. package/src/components/TextArea/TextArea.story.tsx +29 -32
  103. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +127 -73
  104. package/src/components/TextArea/index.tsx +22 -14
  105. package/src/components/TextField/TextField.story.tsx +85 -64
  106. package/src/components/TextField/__snapshots__/TextField.story.storyshot +479 -167
  107. package/src/components/TextField/index.tsx +22 -21
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Storyshots Modal Bottom Sheet 1`] = `
3
+ exports[`Storybook Tests Modal BottomSheet 1`] = `
4
4
  .c0 {
5
5
  cursor: pointer;
6
6
  -webkit-appearance: none;
@@ -71,13 +71,19 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
71
71
  height: 40px;
72
72
  }
73
73
 
74
- .c1:not(:disabled):not([aria-disabled]):active,
75
- .c1[aria-disabled='false']:active,
76
74
  .c1:not(:disabled):not([aria-disabled]):focus,
77
- .c1[aria-disabled='false']:focus,
75
+ .c1[aria-disabled='false']:focus {
76
+ outline: none;
77
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
78
+ }
79
+
80
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
81
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
82
+ box-shadow: none;
83
+ }
84
+
78
85
  .c1:not(:disabled):not([aria-disabled]):focus-visible,
79
86
  .c1[aria-disabled='false']:focus-visible {
80
- outline: none;
81
87
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
82
88
  }
83
89
 
@@ -130,13 +136,19 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
130
136
  height: 40px;
131
137
  }
132
138
 
133
- .c12:not(:disabled):not([aria-disabled]):active,
134
- .c12[aria-disabled='false']:active,
135
139
  .c12:not(:disabled):not([aria-disabled]):focus,
136
- .c12[aria-disabled='false']:focus,
140
+ .c12[aria-disabled='false']:focus {
141
+ outline: none;
142
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
143
+ }
144
+
145
+ .c12:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
146
+ .c12[aria-disabled='false']:focus:not(:focus-visible) {
147
+ box-shadow: none;
148
+ }
149
+
137
150
  .c12:not(:disabled):not([aria-disabled]):focus-visible,
138
151
  .c12[aria-disabled='false']:focus-visible {
139
- outline: none;
140
152
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
141
153
  }
142
154
 
@@ -158,65 +170,6 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
158
170
  }
159
171
 
160
172
  .c13 {
161
- width: -webkit-fill-available;
162
- width: -moz-available;
163
- width: stretch;
164
- display: inline-grid;
165
- -webkit-align-items: center;
166
- -webkit-box-align: center;
167
- -ms-flex-align: center;
168
- align-items: center;
169
- -webkit-box-pack: center;
170
- -webkit-justify-content: center;
171
- -ms-flex-pack: center;
172
- justify-content: center;
173
- cursor: pointer;
174
- -webkit-user-select: none;
175
- -moz-user-select: none;
176
- -ms-user-select: none;
177
- user-select: none;
178
- white-space: nowrap;
179
- border-radius: 999999px;
180
- font-size: 14px;
181
- line-height: 22px;
182
- font-weight: bold;
183
- padding-right: 24px;
184
- padding-left: 24px;
185
- color: var(--charcoal-text2);
186
- background-color: var(--charcoal-surface3);
187
- -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
188
- transition: 0.2s color,0.2s background-color,0.2s box-shadow;
189
- height: 40px;
190
- }
191
-
192
- .c13:not(:disabled):not([aria-disabled]):active,
193
- .c13[aria-disabled='false']:active,
194
- .c13:not(:disabled):not([aria-disabled]):focus,
195
- .c13[aria-disabled='false']:focus,
196
- .c13:not(:disabled):not([aria-disabled]):focus-visible,
197
- .c13[aria-disabled='false']:focus-visible {
198
- outline: none;
199
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
200
- }
201
-
202
- .c13:not(:disabled):not([aria-disabled]):hover,
203
- .c13[aria-disabled='false']:hover {
204
- color: var(--charcoal-text2-hover);
205
- background-color: var(--charcoal-surface3-hover);
206
- }
207
-
208
- .c13:not(:disabled):not([aria-disabled]):active,
209
- .c13[aria-disabled='false']:active {
210
- color: var(--charcoal-text2-press);
211
- background-color: var(--charcoal-surface3-press);
212
- }
213
-
214
- .c13:disabled,
215
- .c13[aria-disabled]:not([aria-disabled='false']) {
216
- opacity: 0.32;
217
- }
218
-
219
- .c14 {
220
173
  -webkit-user-select: none;
221
174
  -moz-user-select: none;
222
175
  -ms-user-select: none;
@@ -242,28 +195,36 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
242
195
  transition: 0.2s background-color,0.2s box-shadow;
243
196
  }
244
197
 
245
- .c14:not(:disabled):not([aria-disabled]):hover,
246
- .c14[aria-disabled='false']:hover {
247
- background-color: var( --charcoal-transparent-hover );
198
+ .c13:not(:disabled):not([aria-disabled]):hover,
199
+ .c13[aria-disabled='false']:hover {
200
+ color: var(--charcoal-text3-hover);
201
+ background-color: var(--charcoal-transparent-hover);
248
202
  }
249
203
 
250
- .c14:not(:disabled):not([aria-disabled]):active,
251
- .c14[aria-disabled='false']:active {
252
- background-color: var( --charcoal-transparent-press );
204
+ .c13:not(:disabled):not([aria-disabled]):active,
205
+ .c13[aria-disabled='false']:active {
206
+ color: var(--charcoal-text3-press);
207
+ background-color: var(--charcoal-transparent-press);
253
208
  }
254
209
 
255
- .c14:not(:disabled):not([aria-disabled]):focus,
256
- .c14[aria-disabled='false']:focus,
257
- .c14:not(:disabled):not([aria-disabled]):active,
258
- .c14[aria-disabled='false']:active,
259
- .c14:not(:disabled):not([aria-disabled]):focus-visible,
260
- .c14[aria-disabled='false']:focus-visible {
210
+ .c13:not(:disabled):not([aria-disabled]):focus,
211
+ .c13[aria-disabled='false']:focus {
261
212
  outline: none;
262
213
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
263
214
  }
264
215
 
265
- .c14:disabled,
266
- .c14[aria-disabled]:not([aria-disabled='false']) {
216
+ .c13:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
217
+ .c13[aria-disabled='false']:focus:not(:focus-visible) {
218
+ box-shadow: none;
219
+ }
220
+
221
+ .c13:not(:disabled):not([aria-disabled]):focus-visible,
222
+ .c13[aria-disabled='false']:focus-visible {
223
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
224
+ }
225
+
226
+ .c13:disabled,
227
+ .c13[aria-disabled]:not([aria-disabled='false']) {
267
228
  opacity: 0.32;
268
229
  }
269
230
 
@@ -304,7 +265,7 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
304
265
  background-color: var(--charcoal-surface4);
305
266
  }
306
267
 
307
- .c15 {
268
+ .c14 {
308
269
  position: absolute;
309
270
  top: 8px;
310
271
  right: 8px;
@@ -313,13 +274,13 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
313
274
  transition: 0.2s color;
314
275
  }
315
276
 
316
- .c15:not(:disabled):not([aria-disabled]):hover,
317
- .c15[aria-disabled='false']:hover {
277
+ .c14:not(:disabled):not([aria-disabled]):hover,
278
+ .c14[aria-disabled='false']:hover {
318
279
  color: var(--charcoal-text3-hover);
319
280
  }
320
281
 
321
- .c15:not(:disabled):not([aria-disabled]):active,
322
- .c15[aria-disabled='false']:active {
282
+ .c14:not(:disabled):not([aria-disabled]):active,
283
+ .c14[aria-disabled='false']:active {
323
284
  color: var(--charcoal-text3-press);
324
285
  }
325
286
 
@@ -450,8 +411,14 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
450
411
  </button>
451
412
  <div
452
413
  className="c2"
414
+ onClick={[Function]}
453
415
  onPointerDown={[Function]}
454
- style={Object {}}
416
+ style={
417
+ Object {
418
+ "backgroundColor": "rgba(0, 0, 0, 0)",
419
+ "overflow": "hidden",
420
+ }
421
+ }
455
422
  >
456
423
  <div
457
424
  className="c3"
@@ -459,7 +426,11 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
459
426
  onKeyDown={[Function]}
460
427
  role="dialog"
461
428
  size="M"
462
- style={Object {}}
429
+ style={
430
+ Object {
431
+ "transform": " translateY(100%)",
432
+ }
433
+ }
463
434
  tabIndex={-1}
464
435
  >
465
436
  <div
@@ -493,17 +464,10 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
493
464
  >
494
465
  削除する
495
466
  </button>
496
- <button
497
- className="c0 c13"
498
- disabled={false}
499
- onClick={[Function]}
500
- >
501
- キャンセル
502
- </button>
503
467
  </div>
504
468
  </div>
505
469
  <button
506
- className="c0 c14 c15"
470
+ className="c0 c13 c14"
507
471
  onClick={[Function]}
508
472
  >
509
473
  <pixiv-icon
@@ -516,7 +480,7 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
516
480
  </div>
517
481
  `;
518
482
 
519
- exports[`Storyshots Modal Default 1`] = `
483
+ exports[`Storybook Tests Modal Default 1`] = `
520
484
  .c0 {
521
485
  cursor: pointer;
522
486
  -webkit-appearance: none;
@@ -587,13 +551,19 @@ exports[`Storyshots Modal Default 1`] = `
587
551
  height: 40px;
588
552
  }
589
553
 
590
- .c1:not(:disabled):not([aria-disabled]):active,
591
- .c1[aria-disabled='false']:active,
592
554
  .c1:not(:disabled):not([aria-disabled]):focus,
593
- .c1[aria-disabled='false']:focus,
555
+ .c1[aria-disabled='false']:focus {
556
+ outline: none;
557
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
558
+ }
559
+
560
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
561
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
562
+ box-shadow: none;
563
+ }
564
+
594
565
  .c1:not(:disabled):not([aria-disabled]):focus-visible,
595
566
  .c1[aria-disabled='false']:focus-visible {
596
- outline: none;
597
567
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
598
568
  }
599
569
 
@@ -646,13 +616,19 @@ exports[`Storyshots Modal Default 1`] = `
646
616
  height: 40px;
647
617
  }
648
618
 
649
- .c25:not(:disabled):not([aria-disabled]):active,
650
- .c25[aria-disabled='false']:active,
651
619
  .c25:not(:disabled):not([aria-disabled]):focus,
652
- .c25[aria-disabled='false']:focus,
620
+ .c25[aria-disabled='false']:focus {
621
+ outline: none;
622
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
623
+ }
624
+
625
+ .c25:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
626
+ .c25[aria-disabled='false']:focus:not(:focus-visible) {
627
+ box-shadow: none;
628
+ }
629
+
653
630
  .c25:not(:disabled):not([aria-disabled]):focus-visible,
654
631
  .c25[aria-disabled='false']:focus-visible {
655
- outline: none;
656
632
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
657
633
  }
658
634
 
@@ -705,13 +681,19 @@ exports[`Storyshots Modal Default 1`] = `
705
681
  height: 40px;
706
682
  }
707
683
 
708
- .c26:not(:disabled):not([aria-disabled]):active,
709
- .c26[aria-disabled='false']:active,
710
684
  .c26:not(:disabled):not([aria-disabled]):focus,
711
- .c26[aria-disabled='false']:focus,
685
+ .c26[aria-disabled='false']:focus {
686
+ outline: none;
687
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
688
+ }
689
+
690
+ .c26:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
691
+ .c26[aria-disabled='false']:focus:not(:focus-visible) {
692
+ box-shadow: none;
693
+ }
694
+
712
695
  .c26:not(:disabled):not([aria-disabled]):focus-visible,
713
696
  .c26[aria-disabled='false']:focus-visible {
714
- outline: none;
715
697
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
716
698
  }
717
699
 
@@ -865,12 +847,18 @@ exports[`Storyshots Modal Default 1`] = `
865
847
  }
866
848
 
867
849
  .c21:not(:disabled):not([aria-disabled]):focus,
868
- .c21[aria-disabled='false']:focus,
869
- .c21:not(:disabled):not([aria-disabled]):active,
870
- .c21[aria-disabled='false']:active,
850
+ .c21[aria-disabled='false']:focus {
851
+ outline: none;
852
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
853
+ }
854
+
855
+ .c21:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
856
+ .c21[aria-disabled='false']:focus:not(:focus-visible) {
857
+ box-shadow: none;
858
+ }
859
+
871
860
  .c21:not(:disabled):not([aria-disabled]):focus-visible,
872
861
  .c21[aria-disabled='false']:focus-visible {
873
- outline: none;
874
862
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
875
863
  }
876
864
 
@@ -879,6 +867,11 @@ exports[`Storyshots Modal Default 1`] = `
879
867
  background-color: var(--charcoal-surface3-hover);
880
868
  }
881
869
 
870
+ .c21:not(:disabled):not([aria-disabled]):active,
871
+ .c21[aria-disabled='false']:active {
872
+ background-color: var(--charcoal-surface3-press);
873
+ }
874
+
882
875
  .c22 {
883
876
  text-align: left;
884
877
  font-size: 14px;
@@ -922,21 +915,29 @@ exports[`Storyshots Modal Default 1`] = `
922
915
 
923
916
  .c27:not(:disabled):not([aria-disabled]):hover,
924
917
  .c27[aria-disabled='false']:hover {
925
- background-color: var( --charcoal-transparent-hover );
918
+ color: var(--charcoal-text3-hover);
919
+ background-color: var(--charcoal-transparent-hover);
926
920
  }
927
921
 
928
922
  .c27:not(:disabled):not([aria-disabled]):active,
929
923
  .c27[aria-disabled='false']:active {
930
- background-color: var( --charcoal-transparent-press );
924
+ color: var(--charcoal-text3-press);
925
+ background-color: var(--charcoal-transparent-press);
931
926
  }
932
927
 
933
928
  .c27:not(:disabled):not([aria-disabled]):focus,
934
- .c27[aria-disabled='false']:focus,
935
- .c27:not(:disabled):not([aria-disabled]):active,
936
- .c27[aria-disabled='false']:active,
929
+ .c27[aria-disabled='false']:focus {
930
+ outline: none;
931
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
932
+ }
933
+
934
+ .c27:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
935
+ .c27[aria-disabled='false']:focus:not(:focus-visible) {
936
+ box-shadow: none;
937
+ }
938
+
937
939
  .c27:not(:disabled):not([aria-disabled]):focus-visible,
938
940
  .c27[aria-disabled='false']:focus-visible {
939
- outline: none;
940
941
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
941
942
  }
942
943
 
@@ -1095,12 +1096,6 @@ exports[`Storyshots Modal Default 1`] = `
1095
1096
  background-color: var(--charcoal-surface3-hover);
1096
1097
  }
1097
1098
 
1098
- .c17:not(:disabled):not([aria-disabled]):active,
1099
- .c17 [aria-disabled='false']:active {
1100
- outline: none;
1101
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1102
- }
1103
-
1104
1099
  .c17:focus-within {
1105
1100
  outline: none;
1106
1101
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
@@ -1206,6 +1201,7 @@ exports[`Storyshots Modal Default 1`] = `
1206
1201
  </button>
1207
1202
  <div
1208
1203
  className="c2"
1204
+ onClick={[Function]}
1209
1205
  onPointerDown={[Function]}
1210
1206
  style={Object {}}
1211
1207
  >
@@ -1305,6 +1301,7 @@ exports[`Storyshots Modal Default 1`] = `
1305
1301
  >
1306
1302
  <input
1307
1303
  aria-labelledby="test-id"
1304
+ autoFocus={true}
1308
1305
  className="c18"
1309
1306
  disabled={false}
1310
1307
  id="test-id"
@@ -1389,7 +1386,7 @@ exports[`Storyshots Modal Default 1`] = `
1389
1386
  </div>
1390
1387
  `;
1391
1388
 
1392
- exports[`Storyshots Modal Full Bottom Sheet 1`] = `
1389
+ exports[`Storybook Tests Modal FullBottomSheet 1`] = `
1393
1390
  .c0 {
1394
1391
  cursor: pointer;
1395
1392
  -webkit-appearance: none;
@@ -1460,13 +1457,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
1460
1457
  height: 40px;
1461
1458
  }
1462
1459
 
1463
- .c1:not(:disabled):not([aria-disabled]):active,
1464
- .c1[aria-disabled='false']:active,
1465
1460
  .c1:not(:disabled):not([aria-disabled]):focus,
1466
- .c1[aria-disabled='false']:focus,
1461
+ .c1[aria-disabled='false']:focus {
1462
+ outline: none;
1463
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1464
+ }
1465
+
1466
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1467
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
1468
+ box-shadow: none;
1469
+ }
1470
+
1467
1471
  .c1:not(:disabled):not([aria-disabled]):focus-visible,
1468
1472
  .c1[aria-disabled='false']:focus-visible {
1469
- outline: none;
1470
1473
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1471
1474
  }
1472
1475
 
@@ -1519,13 +1522,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
1519
1522
  height: 40px;
1520
1523
  }
1521
1524
 
1522
- .c20:not(:disabled):not([aria-disabled]):active,
1523
- .c20[aria-disabled='false']:active,
1524
1525
  .c20:not(:disabled):not([aria-disabled]):focus,
1525
- .c20[aria-disabled='false']:focus,
1526
+ .c20[aria-disabled='false']:focus {
1527
+ outline: none;
1528
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1529
+ }
1530
+
1531
+ .c20:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1532
+ .c20[aria-disabled='false']:focus:not(:focus-visible) {
1533
+ box-shadow: none;
1534
+ }
1535
+
1526
1536
  .c20:not(:disabled):not([aria-disabled]):focus-visible,
1527
1537
  .c20[aria-disabled='false']:focus-visible {
1528
- outline: none;
1529
1538
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1530
1539
  }
1531
1540
 
@@ -1578,13 +1587,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
1578
1587
  height: 40px;
1579
1588
  }
1580
1589
 
1581
- .c21:not(:disabled):not([aria-disabled]):active,
1582
- .c21[aria-disabled='false']:active,
1583
1590
  .c21:not(:disabled):not([aria-disabled]):focus,
1584
- .c21[aria-disabled='false']:focus,
1591
+ .c21[aria-disabled='false']:focus {
1592
+ outline: none;
1593
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1594
+ }
1595
+
1596
+ .c21:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1597
+ .c21[aria-disabled='false']:focus:not(:focus-visible) {
1598
+ box-shadow: none;
1599
+ }
1600
+
1585
1601
  .c21:not(:disabled):not([aria-disabled]):focus-visible,
1586
1602
  .c21[aria-disabled='false']:focus-visible {
1587
- outline: none;
1588
1603
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1589
1604
  }
1590
1605
 
@@ -1717,21 +1732,29 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
1717
1732
 
1718
1733
  .c22:not(:disabled):not([aria-disabled]):hover,
1719
1734
  .c22[aria-disabled='false']:hover {
1720
- background-color: var( --charcoal-transparent-hover );
1735
+ color: var(--charcoal-text3-hover);
1736
+ background-color: var(--charcoal-transparent-hover);
1721
1737
  }
1722
1738
 
1723
1739
  .c22:not(:disabled):not([aria-disabled]):active,
1724
1740
  .c22[aria-disabled='false']:active {
1725
- background-color: var( --charcoal-transparent-press );
1741
+ color: var(--charcoal-text3-press);
1742
+ background-color: var(--charcoal-transparent-press);
1726
1743
  }
1727
1744
 
1728
1745
  .c22:not(:disabled):not([aria-disabled]):focus,
1729
- .c22[aria-disabled='false']:focus,
1730
- .c22:not(:disabled):not([aria-disabled]):active,
1731
- .c22[aria-disabled='false']:active,
1746
+ .c22[aria-disabled='false']:focus {
1747
+ outline: none;
1748
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1749
+ }
1750
+
1751
+ .c22:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1752
+ .c22[aria-disabled='false']:focus:not(:focus-visible) {
1753
+ box-shadow: none;
1754
+ }
1755
+
1732
1756
  .c22:not(:disabled):not([aria-disabled]):focus-visible,
1733
1757
  .c22[aria-disabled='false']:focus-visible {
1734
- outline: none;
1735
1758
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1736
1759
  }
1737
1760
 
@@ -1890,12 +1913,6 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
1890
1913
  background-color: var(--charcoal-surface3-hover);
1891
1914
  }
1892
1915
 
1893
- .c17:not(:disabled):not([aria-disabled]):active,
1894
- .c17 [aria-disabled='false']:active {
1895
- outline: none;
1896
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1897
- }
1898
-
1899
1916
  .c17:focus-within {
1900
1917
  outline: none;
1901
1918
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
@@ -2010,8 +2027,14 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
2010
2027
  </button>
2011
2028
  <div
2012
2029
  className="c2"
2030
+ onClick={[Function]}
2013
2031
  onPointerDown={[Function]}
2014
- style={Object {}}
2032
+ style={
2033
+ Object {
2034
+ "backgroundColor": "rgba(0, 0, 0, 0)",
2035
+ "overflow": "hidden",
2036
+ }
2037
+ }
2015
2038
  >
2016
2039
  <div
2017
2040
  className="c3"
@@ -2019,7 +2042,11 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
2019
2042
  onKeyDown={[Function]}
2020
2043
  role="dialog"
2021
2044
  size="M"
2022
- style={Object {}}
2045
+ style={
2046
+ Object {
2047
+ "transform": " translateY(100%)",
2048
+ }
2049
+ }
2023
2050
  tabIndex={-1}
2024
2051
  >
2025
2052
  <div
@@ -2156,7 +2183,7 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
2156
2183
  </div>
2157
2184
  `;
2158
2185
 
2159
- exports[`Storyshots Modal Internal Scroll 1`] = `
2186
+ exports[`Storybook Tests Modal InternalScroll 1`] = `
2160
2187
  .c0 {
2161
2188
  cursor: pointer;
2162
2189
  -webkit-appearance: none;
@@ -2227,13 +2254,19 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
2227
2254
  height: 40px;
2228
2255
  }
2229
2256
 
2230
- .c1:not(:disabled):not([aria-disabled]):active,
2231
- .c1[aria-disabled='false']:active,
2232
2257
  .c1:not(:disabled):not([aria-disabled]):focus,
2233
- .c1[aria-disabled='false']:focus,
2258
+ .c1[aria-disabled='false']:focus {
2259
+ outline: none;
2260
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2261
+ }
2262
+
2263
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
2264
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
2265
+ box-shadow: none;
2266
+ }
2267
+
2234
2268
  .c1:not(:disabled):not([aria-disabled]):focus-visible,
2235
2269
  .c1[aria-disabled='false']:focus-visible {
2236
- outline: none;
2237
2270
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2238
2271
  }
2239
2272
 
@@ -2286,13 +2319,19 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
2286
2319
  height: 40px;
2287
2320
  }
2288
2321
 
2289
- .c11:not(:disabled):not([aria-disabled]):active,
2290
- .c11[aria-disabled='false']:active,
2291
2322
  .c11:not(:disabled):not([aria-disabled]):focus,
2292
- .c11[aria-disabled='false']:focus,
2323
+ .c11[aria-disabled='false']:focus {
2324
+ outline: none;
2325
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2326
+ }
2327
+
2328
+ .c11:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
2329
+ .c11[aria-disabled='false']:focus:not(:focus-visible) {
2330
+ box-shadow: none;
2331
+ }
2332
+
2293
2333
  .c11:not(:disabled):not([aria-disabled]):focus-visible,
2294
2334
  .c11[aria-disabled='false']:focus-visible {
2295
- outline: none;
2296
2335
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2297
2336
  }
2298
2337
 
@@ -2456,6 +2495,7 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
2456
2495
  </button>
2457
2496
  <div
2458
2497
  className="c2"
2498
+ onClick={[Function]}
2459
2499
  onPointerDown={[Function]}
2460
2500
  style={Object {}}
2461
2501
  >
@@ -2510,7 +2550,7 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
2510
2550
  </div>
2511
2551
  `;
2512
2552
 
2513
- exports[`Storyshots Modal Not Dismmissable Story 1`] = `
2553
+ exports[`Storybook Tests Modal NotDismmissableStory 1`] = `
2514
2554
  .c0 {
2515
2555
  cursor: pointer;
2516
2556
  -webkit-appearance: none;
@@ -2581,13 +2621,19 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
2581
2621
  height: 40px;
2582
2622
  }
2583
2623
 
2584
- .c1:not(:disabled):not([aria-disabled]):active,
2585
- .c1[aria-disabled='false']:active,
2586
2624
  .c1:not(:disabled):not([aria-disabled]):focus,
2587
- .c1[aria-disabled='false']:focus,
2625
+ .c1[aria-disabled='false']:focus {
2626
+ outline: none;
2627
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2628
+ }
2629
+
2630
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
2631
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
2632
+ box-shadow: none;
2633
+ }
2634
+
2588
2635
  .c1:not(:disabled):not([aria-disabled]):focus-visible,
2589
2636
  .c1[aria-disabled='false']:focus-visible {
2590
- outline: none;
2591
2637
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2592
2638
  }
2593
2639
 
@@ -2640,13 +2686,19 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
2640
2686
  height: 40px;
2641
2687
  }
2642
2688
 
2643
- .c12:not(:disabled):not([aria-disabled]):active,
2644
- .c12[aria-disabled='false']:active,
2645
2689
  .c12:not(:disabled):not([aria-disabled]):focus,
2646
- .c12[aria-disabled='false']:focus,
2690
+ .c12[aria-disabled='false']:focus {
2691
+ outline: none;
2692
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2693
+ }
2694
+
2695
+ .c12:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
2696
+ .c12[aria-disabled='false']:focus:not(:focus-visible) {
2697
+ box-shadow: none;
2698
+ }
2699
+
2647
2700
  .c12:not(:disabled):not([aria-disabled]):focus-visible,
2648
2701
  .c12[aria-disabled='false']:focus-visible {
2649
- outline: none;
2650
2702
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2651
2703
  }
2652
2704
 
@@ -2823,6 +2875,7 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
2823
2875
  </button>
2824
2876
  <div
2825
2877
  className="c2"
2878
+ onClick={[Function]}
2826
2879
  onPointerDown={[Function]}
2827
2880
  style={Object {}}
2828
2881
  >