@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.
- package/dist/components/Button/StyledButton.d.ts +1 -0
- package/dist/components/Button/StyledButton.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.story.d.ts +16 -32
- package/dist/components/Button/index.story.d.ts.map +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/ListItem/index.story.d.ts +7 -7
- package/dist/components/DropdownSelector/ListItem/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/MenuList/index.story.d.ts +6 -9
- package/dist/components/DropdownSelector/MenuList/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/Popover/index.story.d.ts +3 -7
- package/dist/components/DropdownSelector/Popover/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.story.d.ts +9 -12
- package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
- package/dist/components/Icon/index.story.d.ts +4 -26
- package/dist/components/Icon/index.story.d.ts.map +1 -1
- package/dist/components/IconButton/index.d.ts +1 -0
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/IconButton/index.story.d.ts +6 -25
- package/dist/components/IconButton/index.story.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts +8 -0
- package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts.map +1 -0
- package/dist/components/LoadingSpinner/index.d.ts +2 -2
- package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/index.story.d.ts +4 -7
- package/dist/components/LoadingSpinner/index.story.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.story.d.ts +16 -41
- package/dist/components/Modal/index.story.d.ts.map +1 -1
- package/dist/components/Modal/useCustomModalOverlay.d.ts +12 -0
- package/dist/components/Modal/useCustomModalOverlay.d.ts.map +1 -0
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.story.d.ts +12 -23
- package/dist/components/Radio/index.story.d.ts.map +1 -1
- package/dist/components/SegmentedControl/index.story.d.ts +5 -8
- package/dist/components/SegmentedControl/index.story.d.ts.map +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.story.d.ts +7 -12
- package/dist/components/Switch/index.story.d.ts.map +1 -1
- package/dist/components/TagItem/index.d.ts.map +1 -1
- package/dist/components/TagItem/index.story.d.ts +14 -24
- package/dist/components/TagItem/index.story.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.story.d.ts +7 -25
- package/dist/components/TextArea/TextArea.story.d.ts.map +1 -1
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextField/TextField.story.d.ts +14 -20
- package/dist/components/TextField/TextField.story.d.ts.map +1 -1
- package/dist/components/TextField/index.d.ts.map +1 -1
- package/dist/index.cjs.js +1006 -2240
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1001 -2241
- package/dist/index.esm.js.map +1 -1
- package/dist/styled.d.ts +4 -4
- package/package.json +7 -6
- package/src/components/Button/StyledButton.tsx +19 -14
- package/src/components/Button/__snapshots__/index.story.storyshot +314 -118
- package/src/components/Button/index.story.tsx +141 -138
- package/src/components/Button/index.tsx +3 -0
- package/src/components/Checkbox/__snapshots__/index.story.storyshot +55 -42
- package/src/components/Checkbox/index.tsx +15 -17
- package/src/components/Clickable/__snapshots__/index.story.storyshot +2 -2
- package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +42 -37
- package/src/components/DropdownSelector/ListItem/index.story.tsx +8 -4
- package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +38 -38
- package/src/components/DropdownSelector/MenuList/index.story.tsx +33 -27
- package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +11 -5
- package/src/components/DropdownSelector/Popover/index.story.tsx +6 -6
- package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +148 -47
- package/src/components/DropdownSelector/index.story.tsx +207 -204
- package/src/components/DropdownSelector/index.tsx +17 -10
- package/src/components/Icon/__snapshots__/index.story.storyshot +1 -1
- package/src/components/Icon/index.story.tsx +8 -12
- package/src/components/IconButton/__snapshots__/index.story.storyshot +135 -13
- package/src/components/IconButton/index.story.tsx +30 -23
- package/src/components/IconButton/index.tsx +35 -20
- package/src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx +12 -0
- package/src/components/LoadingSpinner/__snapshots__/LoadingSpinnerIcon.story.storyshot +28 -0
- package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +1 -35
- package/src/components/LoadingSpinner/index.story.tsx +11 -54
- package/src/components/LoadingSpinner/index.tsx +1 -1
- package/src/components/Modal/__snapshots__/index.story.storyshot +224 -171
- package/src/components/Modal/index.story.tsx +139 -133
- package/src/components/Modal/index.tsx +15 -20
- package/src/components/Modal/useCustomModalOverlay.tsx +42 -0
- package/src/components/MultiSelect/__snapshots__/index.story.storyshot +56 -4
- package/src/components/MultiSelect/index.tsx +3 -0
- package/src/components/Radio/__snapshots__/index.story.storyshot +1001 -121
- package/src/components/Radio/index.story.tsx +128 -63
- package/src/components/Radio/index.tsx +15 -17
- package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +2 -2
- package/src/components/SegmentedControl/index.story.tsx +24 -29
- package/src/components/Switch/__snapshots__/index.story.storyshot +184 -26
- package/src/components/Switch/index.story.tsx +72 -48
- package/src/components/Switch/index.tsx +2 -7
- package/src/components/TagItem/__snapshots__/index.story.storyshot +72 -33
- package/src/components/TagItem/index.story.tsx +154 -159
- package/src/components/TagItem/index.tsx +2 -6
- package/src/components/TextArea/TextArea.story.tsx +29 -32
- package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +127 -73
- package/src/components/TextArea/index.tsx +22 -14
- package/src/components/TextField/TextField.story.tsx +85 -64
- package/src/components/TextField/__snapshots__/TextField.story.storyshot +479 -167
- 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[`
|
|
3
|
+
exports[`Storybook Tests DropdownSelector Basic 1`] = `
|
|
4
4
|
.c0 {
|
|
5
5
|
display: inline-block;
|
|
6
6
|
width: 100%;
|
|
@@ -45,12 +45,18 @@ exports[`Storyshots DropdownSelector Basic 1`] = `
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
48
|
-
.c1[aria-disabled='false']:focus
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
.c1[aria-disabled='false']:focus {
|
|
49
|
+
outline: none;
|
|
50
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
54
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
55
|
+
box-shadow: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
51
58
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
52
59
|
.c1[aria-disabled='false']:focus-visible {
|
|
53
|
-
outline: none;
|
|
54
60
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
55
61
|
}
|
|
56
62
|
|
|
@@ -59,6 +65,11 @@ exports[`Storyshots DropdownSelector Basic 1`] = `
|
|
|
59
65
|
background-color: var(--charcoal-surface3-hover);
|
|
60
66
|
}
|
|
61
67
|
|
|
68
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
69
|
+
.c1[aria-disabled='false']:active {
|
|
70
|
+
background-color: var(--charcoal-surface3-press);
|
|
71
|
+
}
|
|
72
|
+
|
|
62
73
|
.c2 {
|
|
63
74
|
text-align: left;
|
|
64
75
|
font-size: 14px;
|
|
@@ -107,7 +118,7 @@ exports[`Storyshots DropdownSelector Basic 1`] = `
|
|
|
107
118
|
</div>
|
|
108
119
|
`;
|
|
109
120
|
|
|
110
|
-
exports[`
|
|
121
|
+
exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
|
|
111
122
|
.c0 {
|
|
112
123
|
display: inline-block;
|
|
113
124
|
width: 100%;
|
|
@@ -152,12 +163,18 @@ exports[`Storyshots DropdownSelector Custom Children 1`] = `
|
|
|
152
163
|
}
|
|
153
164
|
|
|
154
165
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
155
|
-
.c1[aria-disabled='false']:focus
|
|
156
|
-
|
|
157
|
-
|
|
166
|
+
.c1[aria-disabled='false']:focus {
|
|
167
|
+
outline: none;
|
|
168
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
172
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
173
|
+
box-shadow: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
158
176
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
159
177
|
.c1[aria-disabled='false']:focus-visible {
|
|
160
|
-
outline: none;
|
|
161
178
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
162
179
|
}
|
|
163
180
|
|
|
@@ -166,6 +183,11 @@ exports[`Storyshots DropdownSelector Custom Children 1`] = `
|
|
|
166
183
|
background-color: var(--charcoal-surface3-hover);
|
|
167
184
|
}
|
|
168
185
|
|
|
186
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
187
|
+
.c1[aria-disabled='false']:active {
|
|
188
|
+
background-color: var(--charcoal-surface3-press);
|
|
189
|
+
}
|
|
190
|
+
|
|
169
191
|
.c2 {
|
|
170
192
|
text-align: left;
|
|
171
193
|
font-size: 14px;
|
|
@@ -223,7 +245,7 @@ exports[`Storyshots DropdownSelector Custom Children 1`] = `
|
|
|
223
245
|
</div>
|
|
224
246
|
`;
|
|
225
247
|
|
|
226
|
-
exports[`
|
|
248
|
+
exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
|
|
227
249
|
.c0 {
|
|
228
250
|
display: inline-block;
|
|
229
251
|
width: 100%;
|
|
@@ -268,12 +290,18 @@ exports[`Storyshots DropdownSelector In Form Tag 1`] = `
|
|
|
268
290
|
}
|
|
269
291
|
|
|
270
292
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
271
|
-
.c1[aria-disabled='false']:focus
|
|
272
|
-
|
|
273
|
-
|
|
293
|
+
.c1[aria-disabled='false']:focus {
|
|
294
|
+
outline: none;
|
|
295
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
299
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
300
|
+
box-shadow: none;
|
|
301
|
+
}
|
|
302
|
+
|
|
274
303
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
275
304
|
.c1[aria-disabled='false']:focus-visible {
|
|
276
|
-
outline: none;
|
|
277
305
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
278
306
|
}
|
|
279
307
|
|
|
@@ -282,6 +310,11 @@ exports[`Storyshots DropdownSelector In Form Tag 1`] = `
|
|
|
282
310
|
background-color: var(--charcoal-surface3-hover);
|
|
283
311
|
}
|
|
284
312
|
|
|
313
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
314
|
+
.c1[aria-disabled='false']:active {
|
|
315
|
+
background-color: var(--charcoal-surface3-press);
|
|
316
|
+
}
|
|
317
|
+
|
|
285
318
|
.c2 {
|
|
286
319
|
text-align: left;
|
|
287
320
|
font-size: 14px;
|
|
@@ -328,7 +361,7 @@ exports[`Storyshots DropdownSelector In Form Tag 1`] = `
|
|
|
328
361
|
</div>
|
|
329
362
|
`;
|
|
330
363
|
|
|
331
|
-
exports[`
|
|
364
|
+
exports[`Storybook Tests DropdownSelector InModal 1`] = `
|
|
332
365
|
.c11 {
|
|
333
366
|
cursor: pointer;
|
|
334
367
|
-webkit-appearance: none;
|
|
@@ -411,12 +444,18 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
411
444
|
}
|
|
412
445
|
|
|
413
446
|
.c8:not(:disabled):not([aria-disabled]):focus,
|
|
414
|
-
.c8[aria-disabled='false']:focus
|
|
415
|
-
|
|
416
|
-
|
|
447
|
+
.c8[aria-disabled='false']:focus {
|
|
448
|
+
outline: none;
|
|
449
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.c8:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
453
|
+
.c8[aria-disabled='false']:focus:not(:focus-visible) {
|
|
454
|
+
box-shadow: none;
|
|
455
|
+
}
|
|
456
|
+
|
|
417
457
|
.c8:not(:disabled):not([aria-disabled]):focus-visible,
|
|
418
458
|
.c8[aria-disabled='false']:focus-visible {
|
|
419
|
-
outline: none;
|
|
420
459
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
421
460
|
}
|
|
422
461
|
|
|
@@ -425,6 +464,11 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
425
464
|
background-color: var(--charcoal-surface3-hover);
|
|
426
465
|
}
|
|
427
466
|
|
|
467
|
+
.c8:not(:disabled):not([aria-disabled]):active,
|
|
468
|
+
.c8[aria-disabled='false']:active {
|
|
469
|
+
background-color: var(--charcoal-surface3-press);
|
|
470
|
+
}
|
|
471
|
+
|
|
428
472
|
.c9 {
|
|
429
473
|
text-align: left;
|
|
430
474
|
font-size: 14px;
|
|
@@ -468,21 +512,29 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
468
512
|
|
|
469
513
|
.c12:not(:disabled):not([aria-disabled]):hover,
|
|
470
514
|
.c12[aria-disabled='false']:hover {
|
|
471
|
-
|
|
515
|
+
color: var(--charcoal-text3-hover);
|
|
516
|
+
background-color: var(--charcoal-transparent-hover);
|
|
472
517
|
}
|
|
473
518
|
|
|
474
519
|
.c12:not(:disabled):not([aria-disabled]):active,
|
|
475
520
|
.c12[aria-disabled='false']:active {
|
|
476
|
-
|
|
521
|
+
color: var(--charcoal-text3-press);
|
|
522
|
+
background-color: var(--charcoal-transparent-press);
|
|
477
523
|
}
|
|
478
524
|
|
|
479
525
|
.c12:not(:disabled):not([aria-disabled]):focus,
|
|
480
|
-
.c12[aria-disabled='false']:focus
|
|
481
|
-
|
|
482
|
-
|
|
526
|
+
.c12[aria-disabled='false']:focus {
|
|
527
|
+
outline: none;
|
|
528
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.c12:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
532
|
+
.c12[aria-disabled='false']:focus:not(:focus-visible) {
|
|
533
|
+
box-shadow: none;
|
|
534
|
+
}
|
|
535
|
+
|
|
483
536
|
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
484
537
|
.c12[aria-disabled='false']:focus-visible {
|
|
485
|
-
outline: none;
|
|
486
538
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
487
539
|
}
|
|
488
540
|
|
|
@@ -651,8 +703,14 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
651
703
|
</button>
|
|
652
704
|
<div
|
|
653
705
|
className="c0"
|
|
706
|
+
onClick={[Function]}
|
|
654
707
|
onPointerDown={[Function]}
|
|
655
|
-
style={
|
|
708
|
+
style={
|
|
709
|
+
Object {
|
|
710
|
+
"backgroundColor": "rgba(0, 0, 0, 0)",
|
|
711
|
+
"overflow": "hidden",
|
|
712
|
+
}
|
|
713
|
+
}
|
|
656
714
|
>
|
|
657
715
|
<div
|
|
658
716
|
className="c1"
|
|
@@ -660,7 +718,11 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
660
718
|
onKeyDown={[Function]}
|
|
661
719
|
role="dialog"
|
|
662
720
|
size="M"
|
|
663
|
-
style={
|
|
721
|
+
style={
|
|
722
|
+
Object {
|
|
723
|
+
"transform": " translateY(100%)",
|
|
724
|
+
}
|
|
725
|
+
}
|
|
664
726
|
tabIndex={-1}
|
|
665
727
|
>
|
|
666
728
|
<div
|
|
@@ -751,7 +813,7 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
751
813
|
</div>
|
|
752
814
|
`;
|
|
753
815
|
|
|
754
|
-
exports[`
|
|
816
|
+
exports[`Storybook Tests DropdownSelector LongNames 1`] = `
|
|
755
817
|
.c0 {
|
|
756
818
|
display: inline-block;
|
|
757
819
|
width: 100%;
|
|
@@ -796,12 +858,18 @@ exports[`Storyshots DropdownSelector Long Names 1`] = `
|
|
|
796
858
|
}
|
|
797
859
|
|
|
798
860
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
799
|
-
.c1[aria-disabled='false']:focus
|
|
800
|
-
|
|
801
|
-
|
|
861
|
+
.c1[aria-disabled='false']:focus {
|
|
862
|
+
outline: none;
|
|
863
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
867
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
868
|
+
box-shadow: none;
|
|
869
|
+
}
|
|
870
|
+
|
|
802
871
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
803
872
|
.c1[aria-disabled='false']:focus-visible {
|
|
804
|
-
outline: none;
|
|
805
873
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
806
874
|
}
|
|
807
875
|
|
|
@@ -810,6 +878,11 @@ exports[`Storyshots DropdownSelector Long Names 1`] = `
|
|
|
810
878
|
background-color: var(--charcoal-surface3-hover);
|
|
811
879
|
}
|
|
812
880
|
|
|
881
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
882
|
+
.c1[aria-disabled='false']:active {
|
|
883
|
+
background-color: var(--charcoal-surface3-press);
|
|
884
|
+
}
|
|
885
|
+
|
|
813
886
|
.c2 {
|
|
814
887
|
text-align: left;
|
|
815
888
|
font-size: 14px;
|
|
@@ -858,7 +931,7 @@ exports[`Storyshots DropdownSelector Long Names 1`] = `
|
|
|
858
931
|
</div>
|
|
859
932
|
`;
|
|
860
933
|
|
|
861
|
-
exports[`
|
|
934
|
+
exports[`Storybook Tests DropdownSelector Playground 1`] = `
|
|
862
935
|
.c0 {
|
|
863
936
|
cursor: pointer;
|
|
864
937
|
-webkit-appearance: none;
|
|
@@ -929,13 +1002,19 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
929
1002
|
height: 40px;
|
|
930
1003
|
}
|
|
931
1004
|
|
|
932
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
933
|
-
.c1[aria-disabled='false']:active,
|
|
934
1005
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
935
|
-
.c1[aria-disabled='false']:focus
|
|
1006
|
+
.c1[aria-disabled='false']:focus {
|
|
1007
|
+
outline: none;
|
|
1008
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1012
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1013
|
+
box-shadow: none;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
936
1016
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
937
1017
|
.c1[aria-disabled='false']:focus-visible {
|
|
938
|
-
outline: none;
|
|
939
1018
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
940
1019
|
}
|
|
941
1020
|
|
|
@@ -1000,12 +1079,18 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
1000
1079
|
}
|
|
1001
1080
|
|
|
1002
1081
|
.c3:not(:disabled):not([aria-disabled]):focus,
|
|
1003
|
-
.c3[aria-disabled='false']:focus
|
|
1004
|
-
|
|
1005
|
-
|
|
1082
|
+
.c3[aria-disabled='false']:focus {
|
|
1083
|
+
outline: none;
|
|
1084
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.c3:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1088
|
+
.c3[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1089
|
+
box-shadow: none;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1006
1092
|
.c3:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1007
1093
|
.c3[aria-disabled='false']:focus-visible {
|
|
1008
|
-
outline: none;
|
|
1009
1094
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1010
1095
|
}
|
|
1011
1096
|
|
|
@@ -1014,6 +1099,11 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
1014
1099
|
background-color: var(--charcoal-surface3-hover);
|
|
1015
1100
|
}
|
|
1016
1101
|
|
|
1102
|
+
.c3:not(:disabled):not([aria-disabled]):active,
|
|
1103
|
+
.c3[aria-disabled='false']:active {
|
|
1104
|
+
background-color: var(--charcoal-surface3-press);
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1017
1107
|
.c4 {
|
|
1018
1108
|
text-align: left;
|
|
1019
1109
|
font-size: 14px;
|
|
@@ -1066,7 +1156,7 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
1066
1156
|
</div>
|
|
1067
1157
|
`;
|
|
1068
1158
|
|
|
1069
|
-
exports[`
|
|
1159
|
+
exports[`Storybook Tests DropdownSelector SectionList 1`] = `
|
|
1070
1160
|
.c0 {
|
|
1071
1161
|
display: inline-block;
|
|
1072
1162
|
width: 100%;
|
|
@@ -1111,12 +1201,18 @@ exports[`Storyshots DropdownSelector Section List 1`] = `
|
|
|
1111
1201
|
}
|
|
1112
1202
|
|
|
1113
1203
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1114
|
-
.c1[aria-disabled='false']:focus
|
|
1115
|
-
|
|
1116
|
-
|
|
1204
|
+
.c1[aria-disabled='false']:focus {
|
|
1205
|
+
outline: none;
|
|
1206
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1210
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1211
|
+
box-shadow: none;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1117
1214
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1118
1215
|
.c1[aria-disabled='false']:focus-visible {
|
|
1119
|
-
outline: none;
|
|
1120
1216
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1121
1217
|
}
|
|
1122
1218
|
|
|
@@ -1125,6 +1221,11 @@ exports[`Storyshots DropdownSelector Section List 1`] = `
|
|
|
1125
1221
|
background-color: var(--charcoal-surface3-hover);
|
|
1126
1222
|
}
|
|
1127
1223
|
|
|
1224
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1225
|
+
.c1[aria-disabled='false']:active {
|
|
1226
|
+
background-color: var(--charcoal-surface3-press);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1128
1229
|
.c2 {
|
|
1129
1230
|
text-align: left;
|
|
1130
1231
|
font-size: 14px;
|