@charcoal-ui/react 3.5.0 → 3.7.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/_lib/compat.d.ts +1 -0
- package/dist/_lib/compat.d.ts.map +1 -1
- package/dist/components/Button/StyledButton.d.ts +12 -0
- package/dist/components/Button/StyledButton.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/lib/variantToBackground.d.ts +3 -0
- package/dist/components/Button/lib/variantToBackground.d.ts.map +1 -0
- package/dist/components/Button/lib/variantToFont.d.ts +3 -0
- package/dist/components/Button/lib/variantToFont.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.story.d.ts +6 -15
- package/dist/components/Checkbox/index.story.d.ts.map +1 -1
- package/dist/components/Clickable/index.story.d.ts +4 -6
- package/dist/components/Clickable/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/DropdownMenuItem.d.ts.map +1 -1
- package/dist/components/DropdownSelector/ListItem/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/Popover/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.story.d.ts +1 -0
- package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
- package/dist/components/FieldLabel/index.d.ts.map +1 -1
- package/dist/components/Icon/index.story.d.ts +1 -1
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
- package/dist/components/Modal/ModalPlumbing.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.story.d.ts +1 -0
- package/dist/components/Modal/index.story.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.story.d.ts +2 -0
- package/dist/components/MultiSelect/index.story.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/SegmentedControl/RadioGroupContext.d.ts +1 -1
- package/dist/components/SegmentedControl/RadioGroupContext.d.ts.map +1 -1
- package/dist/components/SegmentedControl/index.d.ts.map +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/TagItem/index.d.ts.map +1 -1
- 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 +1026 -384
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +991 -349
- package/dist/index.esm.js.map +1 -1
- package/dist/styled.d.ts +4 -4
- package/package.json +18 -21
- package/src/_lib/compat.ts +8 -0
- package/src/components/Button/StyledButton.tsx +66 -0
- package/src/components/Button/__snapshots__/index.story.storyshot +312 -592
- package/src/components/Button/index.tsx +14 -70
- package/src/components/Button/lib/variantToBackground.tsx +19 -0
- package/src/components/Button/lib/variantToFont.tsx +19 -0
- package/src/components/Checkbox/__snapshots__/index.story.storyshot +209 -40
- package/src/components/Checkbox/index.story.tsx +82 -64
- package/src/components/Checkbox/index.tsx +47 -17
- package/src/components/Clickable/__snapshots__/index.story.storyshot +4 -0
- package/src/components/Clickable/index.story.tsx +12 -9
- package/src/components/Clickable/index.tsx +1 -0
- package/src/components/DropdownSelector/DropdownMenuItem.tsx +6 -3
- package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +3 -10
- package/src/components/DropdownSelector/ListItem/index.tsx +6 -4
- package/src/components/DropdownSelector/MenuItemGroup/index.tsx +1 -1
- package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +4 -13
- package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +20 -37
- package/src/components/DropdownSelector/Popover/index.tsx +5 -8
- package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +227 -294
- package/src/components/DropdownSelector/index.story.tsx +33 -0
- package/src/components/DropdownSelector/index.tsx +63 -20
- package/src/components/FieldLabel/index.tsx +77 -12
- package/src/components/IconButton/__snapshots__/index.story.storyshot +30 -54
- package/src/components/IconButton/index.tsx +51 -26
- package/src/components/LoadingSpinner/index.tsx +3 -6
- package/src/components/Modal/Dialog/index.tsx +1 -1
- package/src/components/Modal/ModalPlumbing.tsx +26 -5
- package/src/components/Modal/__snapshots__/index.story.storyshot +2450 -108
- package/src/components/Modal/index.story.tsx +27 -0
- package/src/components/Modal/index.tsx +19 -4
- package/src/components/MultiSelect/__snapshots__/index.story.storyshot +528 -25
- package/src/components/MultiSelect/index.story.tsx +60 -0
- package/src/components/MultiSelect/index.tsx +82 -22
- package/src/components/Radio/__snapshots__/index.story.storyshot +32 -49
- package/src/components/Radio/index.tsx +71 -23
- package/src/components/SegmentedControl/RadioGroupContext.tsx +1 -1
- package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +9 -10
- package/src/components/SegmentedControl/index.tsx +36 -16
- package/src/components/Switch/__snapshots__/index.story.storyshot +6 -18
- package/src/components/Switch/index.tsx +10 -15
- package/src/components/TagItem/__snapshots__/index.story.storyshot +39 -158
- package/src/components/TagItem/index.tsx +84 -19
- package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +55 -91
- package/src/components/TextField/TextField.story.tsx +35 -18
- package/src/components/TextField/__snapshots__/TextField.story.storyshot +92 -148
- package/src/components/TextField/index.tsx +0 -1
- package/dist/components/Checkbox/performance.test.d.ts +0 -4
- package/dist/components/Checkbox/performance.test.d.ts.map +0 -1
- package/dist/components/Checkbox/snapshot.test.d.ts +0 -2
- package/dist/components/Checkbox/snapshot.test.d.ts.map +0 -1
- package/src/components/Checkbox/__snapshots__/snapshot.test.tsx.snap +0 -763
- package/src/components/Checkbox/performance.test.tsx +0 -30
- package/src/components/Checkbox/snapshot.test.tsx +0 -66
|
@@ -9,12 +9,6 @@ exports[`Storyshots DropdownSelector Basic 1`] = `
|
|
|
9
9
|
.c0:disabled,
|
|
10
10
|
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
11
11
|
cursor: default;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.c0:disabled:disabled,
|
|
15
|
-
.c0[aria-disabled]:not([aria-disabled=false]):disabled,
|
|
16
|
-
.c0:disabled[aria-disabled]:not([aria-disabled=false]),
|
|
17
|
-
.c0[aria-disabled]:not([aria-disabled=false])[aria-disabled]:not([aria-disabled=false]) {
|
|
18
12
|
opacity: 0.32;
|
|
19
13
|
}
|
|
20
14
|
|
|
@@ -36,12 +30,13 @@ exports[`Storyshots DropdownSelector Basic 1`] = `
|
|
|
36
30
|
box-sizing: border-box;
|
|
37
31
|
border: none;
|
|
38
32
|
cursor: pointer;
|
|
33
|
+
gap: 4px;
|
|
39
34
|
padding-right: 8px;
|
|
40
35
|
padding-left: 8px;
|
|
41
36
|
background-color: var(--charcoal-surface3);
|
|
42
37
|
border-radius: 4px;
|
|
43
|
-
-webkit-transition: 0.2s box-shadow;
|
|
44
|
-
transition: 0.2s box-shadow;
|
|
38
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
39
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
45
40
|
}
|
|
46
41
|
|
|
47
42
|
.c1:disabled,
|
|
@@ -50,24 +45,18 @@ exports[`Storyshots DropdownSelector Basic 1`] = `
|
|
|
50
45
|
}
|
|
51
46
|
|
|
52
47
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
53
|
-
.c1[aria-disabled=false]:focus,
|
|
48
|
+
.c1[aria-disabled='false']:focus,
|
|
54
49
|
.c1:not(:disabled):not([aria-disabled]):active,
|
|
55
|
-
.c1[aria-disabled=false]:active
|
|
50
|
+
.c1[aria-disabled='false']:active,
|
|
51
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
52
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
56
53
|
outline: none;
|
|
57
54
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
58
55
|
}
|
|
59
56
|
|
|
60
|
-
.c1:not(:disabled):not([aria-disabled]):
|
|
61
|
-
.c1[aria-disabled=false]:
|
|
62
|
-
|
|
63
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
64
|
-
outline: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
68
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
69
|
-
outline: none;
|
|
70
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
57
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
58
|
+
.c1[aria-disabled='false']:hover {
|
|
59
|
+
background-color: var(--charcoal-surface3-hover);
|
|
71
60
|
}
|
|
72
61
|
|
|
73
62
|
.c2 {
|
|
@@ -76,22 +65,9 @@ exports[`Storyshots DropdownSelector Basic 1`] = `
|
|
|
76
65
|
line-height: 22px;
|
|
77
66
|
display: flow-root;
|
|
78
67
|
color: var(--charcoal-text2);
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
display: block;
|
|
83
|
-
width: 0;
|
|
84
|
-
height: 0;
|
|
85
|
-
content: '';
|
|
86
|
-
margin-top: -4px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.c2::after {
|
|
90
|
-
display: block;
|
|
91
|
-
width: 0;
|
|
92
|
-
height: 0;
|
|
93
|
-
content: '';
|
|
94
|
-
margin-bottom: -4px;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
text-overflow: ellipsis;
|
|
70
|
+
white-space: nowrap;
|
|
95
71
|
}
|
|
96
72
|
|
|
97
73
|
.c3 {
|
|
@@ -140,12 +116,6 @@ exports[`Storyshots DropdownSelector Custom Children 1`] = `
|
|
|
140
116
|
.c0:disabled,
|
|
141
117
|
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
142
118
|
cursor: default;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.c0:disabled:disabled,
|
|
146
|
-
.c0[aria-disabled]:not([aria-disabled=false]):disabled,
|
|
147
|
-
.c0:disabled[aria-disabled]:not([aria-disabled=false]),
|
|
148
|
-
.c0[aria-disabled]:not([aria-disabled=false])[aria-disabled]:not([aria-disabled=false]) {
|
|
149
119
|
opacity: 0.32;
|
|
150
120
|
}
|
|
151
121
|
|
|
@@ -167,12 +137,13 @@ exports[`Storyshots DropdownSelector Custom Children 1`] = `
|
|
|
167
137
|
box-sizing: border-box;
|
|
168
138
|
border: none;
|
|
169
139
|
cursor: pointer;
|
|
140
|
+
gap: 4px;
|
|
170
141
|
padding-right: 8px;
|
|
171
142
|
padding-left: 8px;
|
|
172
143
|
background-color: var(--charcoal-surface3);
|
|
173
144
|
border-radius: 4px;
|
|
174
|
-
-webkit-transition: 0.2s box-shadow;
|
|
175
|
-
transition: 0.2s box-shadow;
|
|
145
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
146
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
176
147
|
}
|
|
177
148
|
|
|
178
149
|
.c1:disabled,
|
|
@@ -181,24 +152,18 @@ exports[`Storyshots DropdownSelector Custom Children 1`] = `
|
|
|
181
152
|
}
|
|
182
153
|
|
|
183
154
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
184
|
-
.c1[aria-disabled=false]:focus,
|
|
155
|
+
.c1[aria-disabled='false']:focus,
|
|
185
156
|
.c1:not(:disabled):not([aria-disabled]):active,
|
|
186
|
-
.c1[aria-disabled=false]:active
|
|
157
|
+
.c1[aria-disabled='false']:active,
|
|
158
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
159
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
187
160
|
outline: none;
|
|
188
161
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
189
162
|
}
|
|
190
163
|
|
|
191
|
-
.c1:not(:disabled):not([aria-disabled]):
|
|
192
|
-
.c1[aria-disabled=false]:
|
|
193
|
-
|
|
194
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
195
|
-
outline: none;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
199
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
200
|
-
outline: none;
|
|
201
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
164
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
165
|
+
.c1[aria-disabled='false']:hover {
|
|
166
|
+
background-color: var(--charcoal-surface3-hover);
|
|
202
167
|
}
|
|
203
168
|
|
|
204
169
|
.c2 {
|
|
@@ -207,22 +172,9 @@ exports[`Storyshots DropdownSelector Custom Children 1`] = `
|
|
|
207
172
|
line-height: 22px;
|
|
208
173
|
display: flow-root;
|
|
209
174
|
color: var(--charcoal-text2);
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
display: block;
|
|
214
|
-
width: 0;
|
|
215
|
-
height: 0;
|
|
216
|
-
content: '';
|
|
217
|
-
margin-top: -4px;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.c2::after {
|
|
221
|
-
display: block;
|
|
222
|
-
width: 0;
|
|
223
|
-
height: 0;
|
|
224
|
-
content: '';
|
|
225
|
-
margin-bottom: -4px;
|
|
175
|
+
overflow: hidden;
|
|
176
|
+
text-overflow: ellipsis;
|
|
177
|
+
white-space: nowrap;
|
|
226
178
|
}
|
|
227
179
|
|
|
228
180
|
.c3 {
|
|
@@ -280,12 +232,6 @@ exports[`Storyshots DropdownSelector In Form Tag 1`] = `
|
|
|
280
232
|
.c0:disabled,
|
|
281
233
|
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
282
234
|
cursor: default;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.c0:disabled:disabled,
|
|
286
|
-
.c0[aria-disabled]:not([aria-disabled=false]):disabled,
|
|
287
|
-
.c0:disabled[aria-disabled]:not([aria-disabled=false]),
|
|
288
|
-
.c0[aria-disabled]:not([aria-disabled=false])[aria-disabled]:not([aria-disabled=false]) {
|
|
289
235
|
opacity: 0.32;
|
|
290
236
|
}
|
|
291
237
|
|
|
@@ -307,12 +253,13 @@ exports[`Storyshots DropdownSelector In Form Tag 1`] = `
|
|
|
307
253
|
box-sizing: border-box;
|
|
308
254
|
border: none;
|
|
309
255
|
cursor: pointer;
|
|
256
|
+
gap: 4px;
|
|
310
257
|
padding-right: 8px;
|
|
311
258
|
padding-left: 8px;
|
|
312
259
|
background-color: var(--charcoal-surface3);
|
|
313
260
|
border-radius: 4px;
|
|
314
|
-
-webkit-transition: 0.2s box-shadow;
|
|
315
|
-
transition: 0.2s box-shadow;
|
|
261
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
262
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
316
263
|
}
|
|
317
264
|
|
|
318
265
|
.c1:disabled,
|
|
@@ -321,24 +268,18 @@ exports[`Storyshots DropdownSelector In Form Tag 1`] = `
|
|
|
321
268
|
}
|
|
322
269
|
|
|
323
270
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
324
|
-
.c1[aria-disabled=false]:focus,
|
|
271
|
+
.c1[aria-disabled='false']:focus,
|
|
325
272
|
.c1:not(:disabled):not([aria-disabled]):active,
|
|
326
|
-
.c1[aria-disabled=false]:active
|
|
273
|
+
.c1[aria-disabled='false']:active,
|
|
274
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
275
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
327
276
|
outline: none;
|
|
328
277
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
329
278
|
}
|
|
330
279
|
|
|
331
|
-
.c1:not(:disabled):not([aria-disabled]):
|
|
332
|
-
.c1[aria-disabled=false]:
|
|
333
|
-
|
|
334
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
335
|
-
outline: none;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
339
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
340
|
-
outline: none;
|
|
341
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
280
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
281
|
+
.c1[aria-disabled='false']:hover {
|
|
282
|
+
background-color: var(--charcoal-surface3-hover);
|
|
342
283
|
}
|
|
343
284
|
|
|
344
285
|
.c2 {
|
|
@@ -347,22 +288,9 @@ exports[`Storyshots DropdownSelector In Form Tag 1`] = `
|
|
|
347
288
|
line-height: 22px;
|
|
348
289
|
display: flow-root;
|
|
349
290
|
color: var(--charcoal-text2);
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
display: block;
|
|
354
|
-
width: 0;
|
|
355
|
-
height: 0;
|
|
356
|
-
content: '';
|
|
357
|
-
margin-top: -4px;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.c2::after {
|
|
361
|
-
display: block;
|
|
362
|
-
width: 0;
|
|
363
|
-
height: 0;
|
|
364
|
-
content: '';
|
|
365
|
-
margin-bottom: -4px;
|
|
291
|
+
overflow: hidden;
|
|
292
|
+
text-overflow: ellipsis;
|
|
293
|
+
white-space: nowrap;
|
|
366
294
|
}
|
|
367
295
|
|
|
368
296
|
.c3 {
|
|
@@ -417,6 +345,8 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
417
345
|
-ms-letter-spacing: inherit;
|
|
418
346
|
letter-spacing: inherit;
|
|
419
347
|
word-spacing: inherit;
|
|
348
|
+
-webkit-text-decoration: none;
|
|
349
|
+
text-decoration: none;
|
|
420
350
|
font: inherit;
|
|
421
351
|
margin: 0;
|
|
422
352
|
overflow: visible;
|
|
@@ -445,12 +375,6 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
445
375
|
.c7:disabled,
|
|
446
376
|
.c7[aria-disabled]:not([aria-disabled=false]) {
|
|
447
377
|
cursor: default;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.c7:disabled:disabled,
|
|
451
|
-
.c7[aria-disabled]:not([aria-disabled=false]):disabled,
|
|
452
|
-
.c7:disabled[aria-disabled]:not([aria-disabled=false]),
|
|
453
|
-
.c7[aria-disabled]:not([aria-disabled=false])[aria-disabled]:not([aria-disabled=false]) {
|
|
454
378
|
opacity: 0.32;
|
|
455
379
|
}
|
|
456
380
|
|
|
@@ -472,12 +396,13 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
472
396
|
box-sizing: border-box;
|
|
473
397
|
border: none;
|
|
474
398
|
cursor: pointer;
|
|
399
|
+
gap: 4px;
|
|
475
400
|
padding-right: 8px;
|
|
476
401
|
padding-left: 8px;
|
|
477
402
|
background-color: var(--charcoal-surface3);
|
|
478
403
|
border-radius: 4px;
|
|
479
|
-
-webkit-transition: 0.2s box-shadow;
|
|
480
|
-
transition: 0.2s box-shadow;
|
|
404
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
405
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
481
406
|
}
|
|
482
407
|
|
|
483
408
|
.c8:disabled,
|
|
@@ -486,24 +411,18 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
486
411
|
}
|
|
487
412
|
|
|
488
413
|
.c8:not(:disabled):not([aria-disabled]):focus,
|
|
489
|
-
.c8[aria-disabled=false]:focus,
|
|
414
|
+
.c8[aria-disabled='false']:focus,
|
|
490
415
|
.c8:not(:disabled):not([aria-disabled]):active,
|
|
491
|
-
.c8[aria-disabled=false]:active
|
|
416
|
+
.c8[aria-disabled='false']:active,
|
|
417
|
+
.c8:not(:disabled):not([aria-disabled]):focus-visible,
|
|
418
|
+
.c8[aria-disabled='false']:focus-visible {
|
|
492
419
|
outline: none;
|
|
493
420
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
494
421
|
}
|
|
495
422
|
|
|
496
|
-
.c8:not(:disabled):not([aria-disabled]):
|
|
497
|
-
.c8[aria-disabled=false]:
|
|
498
|
-
|
|
499
|
-
.c8[aria-disabled=false]:active:not(:focus-visible) {
|
|
500
|
-
outline: none;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.c8:not(:disabled):not([aria-disabled]):focus-visible,
|
|
504
|
-
.c8[aria-disabled=false]:focus-visible {
|
|
505
|
-
outline: none;
|
|
506
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
423
|
+
.c8:not(:disabled):not([aria-disabled]):hover,
|
|
424
|
+
.c8[aria-disabled='false']:hover {
|
|
425
|
+
background-color: var(--charcoal-surface3-hover);
|
|
507
426
|
}
|
|
508
427
|
|
|
509
428
|
.c9 {
|
|
@@ -512,22 +431,9 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
512
431
|
line-height: 22px;
|
|
513
432
|
display: flow-root;
|
|
514
433
|
color: var(--charcoal-text2);
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
display: block;
|
|
519
|
-
width: 0;
|
|
520
|
-
height: 0;
|
|
521
|
-
content: '';
|
|
522
|
-
margin-top: -4px;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.c9::after {
|
|
526
|
-
display: block;
|
|
527
|
-
width: 0;
|
|
528
|
-
height: 0;
|
|
529
|
-
content: '';
|
|
530
|
-
margin-bottom: -4px;
|
|
434
|
+
overflow: hidden;
|
|
435
|
+
text-overflow: ellipsis;
|
|
436
|
+
white-space: nowrap;
|
|
531
437
|
}
|
|
532
438
|
|
|
533
439
|
.c10 {
|
|
@@ -560,40 +466,29 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
560
466
|
transition: 0.2s background-color,0.2s box-shadow;
|
|
561
467
|
}
|
|
562
468
|
|
|
563
|
-
.c12:
|
|
564
|
-
.c12
|
|
565
|
-
background-color: var(--charcoal-transparent-hover);
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.c12:active:not(:disabled):not([aria-disabled]),
|
|
569
|
-
.c12:active[aria-disabled=false] {
|
|
570
|
-
background-color: var(--charcoal-transparent-press);
|
|
469
|
+
.c12:not(:disabled):not([aria-disabled]):hover,
|
|
470
|
+
.c12[aria-disabled='false']:hover {
|
|
471
|
+
background-color: var( --charcoal-transparent-hover );
|
|
571
472
|
}
|
|
572
473
|
|
|
573
|
-
.c12:disabled,
|
|
574
|
-
.c12[aria-disabled
|
|
575
|
-
|
|
474
|
+
.c12:not(:disabled):not([aria-disabled]):active,
|
|
475
|
+
.c12[aria-disabled='false']:active {
|
|
476
|
+
background-color: var( --charcoal-transparent-press );
|
|
576
477
|
}
|
|
577
478
|
|
|
578
479
|
.c12:not(:disabled):not([aria-disabled]):focus,
|
|
579
|
-
.c12[aria-disabled=false]:focus,
|
|
480
|
+
.c12[aria-disabled='false']:focus,
|
|
580
481
|
.c12:not(:disabled):not([aria-disabled]):active,
|
|
581
|
-
.c12[aria-disabled=false]:active
|
|
482
|
+
.c12[aria-disabled='false']:active,
|
|
483
|
+
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
484
|
+
.c12[aria-disabled='false']:focus-visible {
|
|
582
485
|
outline: none;
|
|
583
486
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
584
487
|
}
|
|
585
488
|
|
|
586
|
-
.c12:
|
|
587
|
-
.c12[aria-disabled
|
|
588
|
-
.
|
|
589
|
-
.c12[aria-disabled=false]:active:not(:focus-visible) {
|
|
590
|
-
outline: none;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
594
|
-
.c12[aria-disabled=false]:focus-visible {
|
|
595
|
-
outline: none;
|
|
596
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
489
|
+
.c12:disabled,
|
|
490
|
+
.c12[aria-disabled]:not([aria-disabled='false']) {
|
|
491
|
+
opacity: 0.32;
|
|
597
492
|
}
|
|
598
493
|
|
|
599
494
|
.c1 {
|
|
@@ -603,7 +498,7 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
603
498
|
height: -moz-fit-content;
|
|
604
499
|
height: fit-content;
|
|
605
500
|
width: 440px;
|
|
606
|
-
background-color:
|
|
501
|
+
background-color: var(--charcoal-surface1);
|
|
607
502
|
border-radius: 24px;
|
|
608
503
|
}
|
|
609
504
|
|
|
@@ -630,7 +525,7 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
630
525
|
justify-content: center;
|
|
631
526
|
padding: 40px 0;
|
|
632
527
|
box-sizing: border-box;
|
|
633
|
-
background-color:
|
|
528
|
+
background-color: var(--charcoal-surface4);
|
|
634
529
|
}
|
|
635
530
|
|
|
636
531
|
.c13 {
|
|
@@ -642,13 +537,13 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
642
537
|
transition: 0.2s color;
|
|
643
538
|
}
|
|
644
539
|
|
|
645
|
-
.c13:
|
|
646
|
-
.c13
|
|
540
|
+
.c13:not(:disabled):not([aria-disabled]):hover,
|
|
541
|
+
.c13[aria-disabled='false']:hover {
|
|
647
542
|
color: var(--charcoal-text3-hover);
|
|
648
543
|
}
|
|
649
544
|
|
|
650
|
-
.c13:
|
|
651
|
-
.c13
|
|
545
|
+
.c13:not(:disabled):not([aria-disabled]):active,
|
|
546
|
+
.c13[aria-disabled='false']:active {
|
|
652
547
|
color: var(--charcoal-text3-press);
|
|
653
548
|
}
|
|
654
549
|
|
|
@@ -762,7 +657,6 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
762
657
|
<div
|
|
763
658
|
className="c1"
|
|
764
659
|
onBlur={[Function]}
|
|
765
|
-
onFocus={null}
|
|
766
660
|
onKeyDown={[Function]}
|
|
767
661
|
role="dialog"
|
|
768
662
|
size="M"
|
|
@@ -844,11 +738,8 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
844
738
|
</div>
|
|
845
739
|
</div>
|
|
846
740
|
<button
|
|
847
|
-
className="c11 c12 c13
|
|
848
|
-
height={32}
|
|
741
|
+
className="c11 c12 c13"
|
|
849
742
|
onClick={[Function]}
|
|
850
|
-
size="S"
|
|
851
|
-
width={32}
|
|
852
743
|
>
|
|
853
744
|
<pixiv-icon
|
|
854
745
|
name="24/Close"
|
|
@@ -860,6 +751,113 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
|
|
|
860
751
|
</div>
|
|
861
752
|
`;
|
|
862
753
|
|
|
754
|
+
exports[`Storyshots DropdownSelector Long Names 1`] = `
|
|
755
|
+
.c0 {
|
|
756
|
+
display: inline-block;
|
|
757
|
+
width: 100%;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.c0:disabled,
|
|
761
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
762
|
+
cursor: default;
|
|
763
|
+
opacity: 0.32;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.c1 {
|
|
767
|
+
display: -webkit-box;
|
|
768
|
+
display: -webkit-flex;
|
|
769
|
+
display: -ms-flexbox;
|
|
770
|
+
display: flex;
|
|
771
|
+
-webkit-box-pack: justify;
|
|
772
|
+
-webkit-justify-content: space-between;
|
|
773
|
+
-ms-flex-pack: justify;
|
|
774
|
+
justify-content: space-between;
|
|
775
|
+
-webkit-align-items: center;
|
|
776
|
+
-webkit-box-align: center;
|
|
777
|
+
-ms-flex-align: center;
|
|
778
|
+
align-items: center;
|
|
779
|
+
height: 40px;
|
|
780
|
+
width: 100%;
|
|
781
|
+
box-sizing: border-box;
|
|
782
|
+
border: none;
|
|
783
|
+
cursor: pointer;
|
|
784
|
+
gap: 4px;
|
|
785
|
+
padding-right: 8px;
|
|
786
|
+
padding-left: 8px;
|
|
787
|
+
background-color: var(--charcoal-surface3);
|
|
788
|
+
border-radius: 4px;
|
|
789
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
790
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.c1:disabled,
|
|
794
|
+
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
795
|
+
cursor: default;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
799
|
+
.c1[aria-disabled='false']:focus,
|
|
800
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
801
|
+
.c1[aria-disabled='false']:active,
|
|
802
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
803
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
804
|
+
outline: none;
|
|
805
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
809
|
+
.c1[aria-disabled='false']:hover {
|
|
810
|
+
background-color: var(--charcoal-surface3-hover);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.c2 {
|
|
814
|
+
text-align: left;
|
|
815
|
+
font-size: 14px;
|
|
816
|
+
line-height: 22px;
|
|
817
|
+
display: flow-root;
|
|
818
|
+
color: var(--charcoal-text2);
|
|
819
|
+
overflow: hidden;
|
|
820
|
+
text-overflow: ellipsis;
|
|
821
|
+
white-space: nowrap;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.c3 {
|
|
825
|
+
color: var(--charcoal-text2);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
<div
|
|
829
|
+
data-dark={false}
|
|
830
|
+
>
|
|
831
|
+
<div
|
|
832
|
+
style={
|
|
833
|
+
Object {
|
|
834
|
+
"width": 288,
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
>
|
|
838
|
+
<div
|
|
839
|
+
className="c0"
|
|
840
|
+
>
|
|
841
|
+
<button
|
|
842
|
+
className="c1"
|
|
843
|
+
onClick={[Function]}
|
|
844
|
+
type="button"
|
|
845
|
+
>
|
|
846
|
+
<span
|
|
847
|
+
className="c2"
|
|
848
|
+
>
|
|
849
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
|
|
850
|
+
</span>
|
|
851
|
+
<pixiv-icon
|
|
852
|
+
class="c3"
|
|
853
|
+
name="16/Menu"
|
|
854
|
+
/>
|
|
855
|
+
</button>
|
|
856
|
+
</div>
|
|
857
|
+
</div>
|
|
858
|
+
</div>
|
|
859
|
+
`;
|
|
860
|
+
|
|
863
861
|
exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
864
862
|
.c0 {
|
|
865
863
|
cursor: pointer;
|
|
@@ -877,6 +875,8 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
877
875
|
-ms-letter-spacing: inherit;
|
|
878
876
|
letter-spacing: inherit;
|
|
879
877
|
word-spacing: inherit;
|
|
878
|
+
-webkit-text-decoration: none;
|
|
879
|
+
text-decoration: none;
|
|
880
880
|
font: inherit;
|
|
881
881
|
margin: 0;
|
|
882
882
|
overflow: visible;
|
|
@@ -916,65 +916,46 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
916
916
|
-ms-user-select: none;
|
|
917
917
|
user-select: none;
|
|
918
918
|
white-space: nowrap;
|
|
919
|
-
|
|
920
|
-
background-color: var(--charcoal-surface3);
|
|
919
|
+
border-radius: 999999px;
|
|
921
920
|
font-size: 14px;
|
|
922
921
|
line-height: 22px;
|
|
923
922
|
font-weight: bold;
|
|
924
923
|
padding-right: 24px;
|
|
925
924
|
padding-left: 24px;
|
|
926
|
-
|
|
925
|
+
color: var(--charcoal-text2);
|
|
926
|
+
background-color: var(--charcoal-surface3);
|
|
927
927
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
928
928
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
929
929
|
height: 40px;
|
|
930
930
|
}
|
|
931
931
|
|
|
932
|
-
.c1:
|
|
933
|
-
.c1
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
.c1
|
|
938
|
-
|
|
939
|
-
|
|
932
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
933
|
+
.c1[aria-disabled='false']:active,
|
|
934
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
935
|
+
.c1[aria-disabled='false']:focus,
|
|
936
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
937
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
938
|
+
outline: none;
|
|
939
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
940
940
|
}
|
|
941
941
|
|
|
942
|
-
.c1:
|
|
943
|
-
.c1
|
|
942
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
943
|
+
.c1[aria-disabled='false']:hover {
|
|
944
|
+
color: var(--charcoal-text2-hover);
|
|
944
945
|
background-color: var(--charcoal-surface3-hover);
|
|
945
946
|
}
|
|
946
947
|
|
|
947
|
-
.c1:
|
|
948
|
-
.c1
|
|
948
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
949
|
+
.c1[aria-disabled='false']:active {
|
|
950
|
+
color: var(--charcoal-text2-press);
|
|
949
951
|
background-color: var(--charcoal-surface3-press);
|
|
950
952
|
}
|
|
951
953
|
|
|
952
954
|
.c1:disabled,
|
|
953
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
955
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
954
956
|
opacity: 0.32;
|
|
955
957
|
}
|
|
956
958
|
|
|
957
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
958
|
-
.c1[aria-disabled=false]:focus,
|
|
959
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
960
|
-
.c1[aria-disabled=false]:active {
|
|
961
|
-
outline: none;
|
|
962
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
966
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
967
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
968
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
969
|
-
outline: none;
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
973
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
974
|
-
outline: none;
|
|
975
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
976
|
-
}
|
|
977
|
-
|
|
978
959
|
.c2 {
|
|
979
960
|
display: inline-block;
|
|
980
961
|
width: 100%;
|
|
@@ -983,12 +964,6 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
983
964
|
.c2:disabled,
|
|
984
965
|
.c2[aria-disabled]:not([aria-disabled=false]) {
|
|
985
966
|
cursor: default;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
.c2:disabled:disabled,
|
|
989
|
-
.c2[aria-disabled]:not([aria-disabled=false]):disabled,
|
|
990
|
-
.c2:disabled[aria-disabled]:not([aria-disabled=false]),
|
|
991
|
-
.c2[aria-disabled]:not([aria-disabled=false])[aria-disabled]:not([aria-disabled=false]) {
|
|
992
967
|
opacity: 0.32;
|
|
993
968
|
}
|
|
994
969
|
|
|
@@ -1010,12 +985,13 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
1010
985
|
box-sizing: border-box;
|
|
1011
986
|
border: none;
|
|
1012
987
|
cursor: pointer;
|
|
988
|
+
gap: 4px;
|
|
1013
989
|
padding-right: 8px;
|
|
1014
990
|
padding-left: 8px;
|
|
1015
991
|
background-color: var(--charcoal-surface3);
|
|
1016
992
|
border-radius: 4px;
|
|
1017
|
-
-webkit-transition: 0.2s box-shadow;
|
|
1018
|
-
transition: 0.2s box-shadow;
|
|
993
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
994
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
1019
995
|
}
|
|
1020
996
|
|
|
1021
997
|
.c3:disabled,
|
|
@@ -1024,24 +1000,18 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
1024
1000
|
}
|
|
1025
1001
|
|
|
1026
1002
|
.c3:not(:disabled):not([aria-disabled]):focus,
|
|
1027
|
-
.c3[aria-disabled=false]:focus,
|
|
1003
|
+
.c3[aria-disabled='false']:focus,
|
|
1028
1004
|
.c3:not(:disabled):not([aria-disabled]):active,
|
|
1029
|
-
.c3[aria-disabled=false]:active
|
|
1005
|
+
.c3[aria-disabled='false']:active,
|
|
1006
|
+
.c3:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1007
|
+
.c3[aria-disabled='false']:focus-visible {
|
|
1030
1008
|
outline: none;
|
|
1031
1009
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1032
1010
|
}
|
|
1033
1011
|
|
|
1034
|
-
.c3:not(:disabled):not([aria-disabled]):
|
|
1035
|
-
.c3[aria-disabled=false]:
|
|
1036
|
-
|
|
1037
|
-
.c3[aria-disabled=false]:active:not(:focus-visible) {
|
|
1038
|
-
outline: none;
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
.c3:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1042
|
-
.c3[aria-disabled=false]:focus-visible {
|
|
1043
|
-
outline: none;
|
|
1044
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1012
|
+
.c3:not(:disabled):not([aria-disabled]):hover,
|
|
1013
|
+
.c3[aria-disabled='false']:hover {
|
|
1014
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1045
1015
|
}
|
|
1046
1016
|
|
|
1047
1017
|
.c4 {
|
|
@@ -1050,22 +1020,9 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
|
|
|
1050
1020
|
line-height: 22px;
|
|
1051
1021
|
display: flow-root;
|
|
1052
1022
|
color: var(--charcoal-text2);
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
display: block;
|
|
1057
|
-
width: 0;
|
|
1058
|
-
height: 0;
|
|
1059
|
-
content: '';
|
|
1060
|
-
margin-top: -4px;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
.c4::after {
|
|
1064
|
-
display: block;
|
|
1065
|
-
width: 0;
|
|
1066
|
-
height: 0;
|
|
1067
|
-
content: '';
|
|
1068
|
-
margin-bottom: -4px;
|
|
1023
|
+
overflow: hidden;
|
|
1024
|
+
text-overflow: ellipsis;
|
|
1025
|
+
white-space: nowrap;
|
|
1069
1026
|
}
|
|
1070
1027
|
|
|
1071
1028
|
.c5 {
|
|
@@ -1118,12 +1075,6 @@ exports[`Storyshots DropdownSelector Section List 1`] = `
|
|
|
1118
1075
|
.c0:disabled,
|
|
1119
1076
|
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
1120
1077
|
cursor: default;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
.c0:disabled:disabled,
|
|
1124
|
-
.c0[aria-disabled]:not([aria-disabled=false]):disabled,
|
|
1125
|
-
.c0:disabled[aria-disabled]:not([aria-disabled=false]),
|
|
1126
|
-
.c0[aria-disabled]:not([aria-disabled=false])[aria-disabled]:not([aria-disabled=false]) {
|
|
1127
1078
|
opacity: 0.32;
|
|
1128
1079
|
}
|
|
1129
1080
|
|
|
@@ -1145,12 +1096,13 @@ exports[`Storyshots DropdownSelector Section List 1`] = `
|
|
|
1145
1096
|
box-sizing: border-box;
|
|
1146
1097
|
border: none;
|
|
1147
1098
|
cursor: pointer;
|
|
1099
|
+
gap: 4px;
|
|
1148
1100
|
padding-right: 8px;
|
|
1149
1101
|
padding-left: 8px;
|
|
1150
1102
|
background-color: var(--charcoal-surface3);
|
|
1151
1103
|
border-radius: 4px;
|
|
1152
|
-
-webkit-transition: 0.2s box-shadow;
|
|
1153
|
-
transition: 0.2s box-shadow;
|
|
1104
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
1105
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
1154
1106
|
}
|
|
1155
1107
|
|
|
1156
1108
|
.c1:disabled,
|
|
@@ -1159,24 +1111,18 @@ exports[`Storyshots DropdownSelector Section List 1`] = `
|
|
|
1159
1111
|
}
|
|
1160
1112
|
|
|
1161
1113
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1162
|
-
.c1[aria-disabled=false]:focus,
|
|
1114
|
+
.c1[aria-disabled='false']:focus,
|
|
1163
1115
|
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1164
|
-
.c1[aria-disabled=false]:active
|
|
1116
|
+
.c1[aria-disabled='false']:active,
|
|
1117
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1118
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
1165
1119
|
outline: none;
|
|
1166
1120
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1167
1121
|
}
|
|
1168
1122
|
|
|
1169
|
-
.c1:not(:disabled):not([aria-disabled]):
|
|
1170
|
-
.c1[aria-disabled=false]:
|
|
1171
|
-
|
|
1172
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
1173
|
-
outline: none;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1177
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
1178
|
-
outline: none;
|
|
1179
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1123
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
1124
|
+
.c1[aria-disabled='false']:hover {
|
|
1125
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1180
1126
|
}
|
|
1181
1127
|
|
|
1182
1128
|
.c2 {
|
|
@@ -1185,22 +1131,9 @@ exports[`Storyshots DropdownSelector Section List 1`] = `
|
|
|
1185
1131
|
line-height: 22px;
|
|
1186
1132
|
display: flow-root;
|
|
1187
1133
|
color: var(--charcoal-text2);
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
display: block;
|
|
1192
|
-
width: 0;
|
|
1193
|
-
height: 0;
|
|
1194
|
-
content: '';
|
|
1195
|
-
margin-top: -4px;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
.c2::after {
|
|
1199
|
-
display: block;
|
|
1200
|
-
width: 0;
|
|
1201
|
-
height: 0;
|
|
1202
|
-
content: '';
|
|
1203
|
-
margin-bottom: -4px;
|
|
1134
|
+
overflow: hidden;
|
|
1135
|
+
text-overflow: ellipsis;
|
|
1136
|
+
white-space: nowrap;
|
|
1204
1137
|
}
|
|
1205
1138
|
|
|
1206
1139
|
.c3 {
|