@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
|
@@ -17,6 +17,8 @@ exports[`Storyshots Button Danger 1`] = `
|
|
|
17
17
|
-ms-letter-spacing: inherit;
|
|
18
18
|
letter-spacing: inherit;
|
|
19
19
|
word-spacing: inherit;
|
|
20
|
+
-webkit-text-decoration: none;
|
|
21
|
+
text-decoration: none;
|
|
20
22
|
font: inherit;
|
|
21
23
|
margin: 0;
|
|
22
24
|
overflow: visible;
|
|
@@ -56,65 +58,46 @@ exports[`Storyshots Button Danger 1`] = `
|
|
|
56
58
|
-ms-user-select: none;
|
|
57
59
|
user-select: none;
|
|
58
60
|
white-space: nowrap;
|
|
59
|
-
|
|
60
|
-
background-color: var(--charcoal-assertive);
|
|
61
|
+
border-radius: 999999px;
|
|
61
62
|
font-size: 14px;
|
|
62
63
|
line-height: 22px;
|
|
63
64
|
font-weight: bold;
|
|
64
65
|
padding-right: 24px;
|
|
65
66
|
padding-left: 24px;
|
|
66
|
-
|
|
67
|
+
color: var(--charcoal-text5);
|
|
68
|
+
background-color: var(--charcoal-assertive);
|
|
67
69
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
68
70
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
69
71
|
height: 40px;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
|
-
.c1:
|
|
73
|
-
.c1
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
.c1
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
75
|
+
.c1[aria-disabled='false']:active,
|
|
76
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
77
|
+
.c1[aria-disabled='false']:focus,
|
|
78
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
79
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
80
|
+
outline: none;
|
|
81
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
.c1:
|
|
83
|
-
.c1
|
|
84
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
85
|
+
.c1[aria-disabled='false']:hover {
|
|
86
|
+
color: var(--charcoal-text5-hover);
|
|
84
87
|
background-color: var(--charcoal-assertive-hover);
|
|
85
88
|
}
|
|
86
89
|
|
|
87
|
-
.c1:
|
|
88
|
-
.c1
|
|
90
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
91
|
+
.c1[aria-disabled='false']:active {
|
|
92
|
+
color: var(--charcoal-text5-press);
|
|
89
93
|
background-color: var(--charcoal-assertive-press);
|
|
90
94
|
}
|
|
91
95
|
|
|
92
96
|
.c1:disabled,
|
|
93
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
97
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
94
98
|
opacity: 0.32;
|
|
95
99
|
}
|
|
96
100
|
|
|
97
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
98
|
-
.c1[aria-disabled=false]:focus,
|
|
99
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
100
|
-
.c1[aria-disabled=false]:active {
|
|
101
|
-
outline: none;
|
|
102
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
106
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
107
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
108
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
109
|
-
outline: none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
113
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
114
|
-
outline: none;
|
|
115
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
101
|
<div
|
|
119
102
|
data-dark={false}
|
|
120
103
|
>
|
|
@@ -145,6 +128,8 @@ exports[`Storyshots Button Default 1`] = `
|
|
|
145
128
|
-ms-letter-spacing: inherit;
|
|
146
129
|
letter-spacing: inherit;
|
|
147
130
|
word-spacing: inherit;
|
|
131
|
+
-webkit-text-decoration: none;
|
|
132
|
+
text-decoration: none;
|
|
148
133
|
font: inherit;
|
|
149
134
|
margin: 0;
|
|
150
135
|
overflow: visible;
|
|
@@ -184,65 +169,46 @@ exports[`Storyshots Button Default 1`] = `
|
|
|
184
169
|
-ms-user-select: none;
|
|
185
170
|
user-select: none;
|
|
186
171
|
white-space: nowrap;
|
|
187
|
-
|
|
188
|
-
background-color: var(--charcoal-surface3);
|
|
172
|
+
border-radius: 999999px;
|
|
189
173
|
font-size: 14px;
|
|
190
174
|
line-height: 22px;
|
|
191
175
|
font-weight: bold;
|
|
192
176
|
padding-right: 24px;
|
|
193
177
|
padding-left: 24px;
|
|
194
|
-
|
|
178
|
+
color: var(--charcoal-text2);
|
|
179
|
+
background-color: var(--charcoal-surface3);
|
|
195
180
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
196
181
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
197
182
|
height: 40px;
|
|
198
183
|
}
|
|
199
184
|
|
|
200
|
-
.c1:
|
|
201
|
-
.c1
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
.c1
|
|
206
|
-
|
|
207
|
-
|
|
185
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
186
|
+
.c1[aria-disabled='false']:active,
|
|
187
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
188
|
+
.c1[aria-disabled='false']:focus,
|
|
189
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
190
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
191
|
+
outline: none;
|
|
192
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
208
193
|
}
|
|
209
194
|
|
|
210
|
-
.c1:
|
|
211
|
-
.c1
|
|
195
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
196
|
+
.c1[aria-disabled='false']:hover {
|
|
197
|
+
color: var(--charcoal-text2-hover);
|
|
212
198
|
background-color: var(--charcoal-surface3-hover);
|
|
213
199
|
}
|
|
214
200
|
|
|
215
|
-
.c1:
|
|
216
|
-
.c1
|
|
201
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
202
|
+
.c1[aria-disabled='false']:active {
|
|
203
|
+
color: var(--charcoal-text2-press);
|
|
217
204
|
background-color: var(--charcoal-surface3-press);
|
|
218
205
|
}
|
|
219
206
|
|
|
220
207
|
.c1:disabled,
|
|
221
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
208
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
222
209
|
opacity: 0.32;
|
|
223
210
|
}
|
|
224
211
|
|
|
225
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
226
|
-
.c1[aria-disabled=false]:focus,
|
|
227
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
228
|
-
.c1[aria-disabled=false]:active {
|
|
229
|
-
outline: none;
|
|
230
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
234
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
235
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
236
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
237
|
-
outline: none;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
241
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
242
|
-
outline: none;
|
|
243
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
212
|
<div
|
|
247
213
|
data-dark={false}
|
|
248
214
|
>
|
|
@@ -273,6 +239,8 @@ exports[`Storyshots Button Disabled 1`] = `
|
|
|
273
239
|
-ms-letter-spacing: inherit;
|
|
274
240
|
letter-spacing: inherit;
|
|
275
241
|
word-spacing: inherit;
|
|
242
|
+
-webkit-text-decoration: none;
|
|
243
|
+
text-decoration: none;
|
|
276
244
|
font: inherit;
|
|
277
245
|
margin: 0;
|
|
278
246
|
overflow: visible;
|
|
@@ -312,65 +280,46 @@ exports[`Storyshots Button Disabled 1`] = `
|
|
|
312
280
|
-ms-user-select: none;
|
|
313
281
|
user-select: none;
|
|
314
282
|
white-space: nowrap;
|
|
315
|
-
|
|
316
|
-
background-color: var(--charcoal-surface3);
|
|
283
|
+
border-radius: 999999px;
|
|
317
284
|
font-size: 14px;
|
|
318
285
|
line-height: 22px;
|
|
319
286
|
font-weight: bold;
|
|
320
287
|
padding-right: 24px;
|
|
321
288
|
padding-left: 24px;
|
|
322
|
-
|
|
289
|
+
color: var(--charcoal-text2);
|
|
290
|
+
background-color: var(--charcoal-surface3);
|
|
323
291
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
324
292
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
325
293
|
height: 40px;
|
|
326
294
|
}
|
|
327
295
|
|
|
328
|
-
.c1:
|
|
329
|
-
.c1
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
.c1
|
|
334
|
-
|
|
335
|
-
|
|
296
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
297
|
+
.c1[aria-disabled='false']:active,
|
|
298
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
299
|
+
.c1[aria-disabled='false']:focus,
|
|
300
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
301
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
302
|
+
outline: none;
|
|
303
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
336
304
|
}
|
|
337
305
|
|
|
338
|
-
.c1:
|
|
339
|
-
.c1
|
|
306
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
307
|
+
.c1[aria-disabled='false']:hover {
|
|
308
|
+
color: var(--charcoal-text2-hover);
|
|
340
309
|
background-color: var(--charcoal-surface3-hover);
|
|
341
310
|
}
|
|
342
311
|
|
|
343
|
-
.c1:
|
|
344
|
-
.c1
|
|
312
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
313
|
+
.c1[aria-disabled='false']:active {
|
|
314
|
+
color: var(--charcoal-text2-press);
|
|
345
315
|
background-color: var(--charcoal-surface3-press);
|
|
346
316
|
}
|
|
347
317
|
|
|
348
318
|
.c1:disabled,
|
|
349
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
319
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
350
320
|
opacity: 0.32;
|
|
351
321
|
}
|
|
352
322
|
|
|
353
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
354
|
-
.c1[aria-disabled=false]:focus,
|
|
355
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
356
|
-
.c1[aria-disabled=false]:active {
|
|
357
|
-
outline: none;
|
|
358
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
362
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
363
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
364
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
365
|
-
outline: none;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
369
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
370
|
-
outline: none;
|
|
371
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
323
|
<div
|
|
375
324
|
data-dark={false}
|
|
376
325
|
>
|
|
@@ -401,6 +350,8 @@ exports[`Storyshots Button Fixed 1`] = `
|
|
|
401
350
|
-ms-letter-spacing: inherit;
|
|
402
351
|
letter-spacing: inherit;
|
|
403
352
|
word-spacing: inherit;
|
|
353
|
+
-webkit-text-decoration: none;
|
|
354
|
+
text-decoration: none;
|
|
404
355
|
font: inherit;
|
|
405
356
|
margin: 0;
|
|
406
357
|
overflow: visible;
|
|
@@ -440,65 +391,46 @@ exports[`Storyshots Button Fixed 1`] = `
|
|
|
440
391
|
-ms-user-select: none;
|
|
441
392
|
user-select: none;
|
|
442
393
|
white-space: nowrap;
|
|
443
|
-
|
|
444
|
-
background-color: var(--charcoal-surface3);
|
|
394
|
+
border-radius: 999999px;
|
|
445
395
|
font-size: 14px;
|
|
446
396
|
line-height: 22px;
|
|
447
397
|
font-weight: bold;
|
|
448
398
|
padding-right: 24px;
|
|
449
399
|
padding-left: 24px;
|
|
450
|
-
|
|
400
|
+
color: var(--charcoal-text2);
|
|
401
|
+
background-color: var(--charcoal-surface3);
|
|
451
402
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
452
403
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
453
404
|
height: 40px;
|
|
454
405
|
}
|
|
455
406
|
|
|
456
|
-
.c1:
|
|
457
|
-
.c1
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
.c1
|
|
462
|
-
|
|
463
|
-
|
|
407
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
408
|
+
.c1[aria-disabled='false']:active,
|
|
409
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
410
|
+
.c1[aria-disabled='false']:focus,
|
|
411
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
412
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
413
|
+
outline: none;
|
|
414
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
464
415
|
}
|
|
465
416
|
|
|
466
|
-
.c1:
|
|
467
|
-
.c1
|
|
417
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
418
|
+
.c1[aria-disabled='false']:hover {
|
|
419
|
+
color: var(--charcoal-text2-hover);
|
|
468
420
|
background-color: var(--charcoal-surface3-hover);
|
|
469
421
|
}
|
|
470
422
|
|
|
471
|
-
.c1:
|
|
472
|
-
.c1
|
|
423
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
424
|
+
.c1[aria-disabled='false']:active {
|
|
425
|
+
color: var(--charcoal-text2-press);
|
|
473
426
|
background-color: var(--charcoal-surface3-press);
|
|
474
427
|
}
|
|
475
428
|
|
|
476
429
|
.c1:disabled,
|
|
477
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
430
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
478
431
|
opacity: 0.32;
|
|
479
432
|
}
|
|
480
433
|
|
|
481
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
482
|
-
.c1[aria-disabled=false]:focus,
|
|
483
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
484
|
-
.c1[aria-disabled=false]:active {
|
|
485
|
-
outline: none;
|
|
486
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
490
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
491
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
492
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
493
|
-
outline: none;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
497
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
498
|
-
outline: none;
|
|
499
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
500
|
-
}
|
|
501
|
-
|
|
502
434
|
<div
|
|
503
435
|
data-dark={false}
|
|
504
436
|
>
|
|
@@ -529,6 +461,8 @@ exports[`Storyshots Button Focus 1`] = `
|
|
|
529
461
|
-ms-letter-spacing: inherit;
|
|
530
462
|
letter-spacing: inherit;
|
|
531
463
|
word-spacing: inherit;
|
|
464
|
+
-webkit-text-decoration: none;
|
|
465
|
+
text-decoration: none;
|
|
532
466
|
font: inherit;
|
|
533
467
|
margin: 0;
|
|
534
468
|
overflow: visible;
|
|
@@ -568,65 +502,46 @@ exports[`Storyshots Button Focus 1`] = `
|
|
|
568
502
|
-ms-user-select: none;
|
|
569
503
|
user-select: none;
|
|
570
504
|
white-space: nowrap;
|
|
571
|
-
|
|
572
|
-
background-color: var(--charcoal-surface3);
|
|
505
|
+
border-radius: 999999px;
|
|
573
506
|
font-size: 14px;
|
|
574
507
|
line-height: 22px;
|
|
575
508
|
font-weight: bold;
|
|
576
509
|
padding-right: 24px;
|
|
577
510
|
padding-left: 24px;
|
|
578
|
-
|
|
511
|
+
color: var(--charcoal-text2);
|
|
512
|
+
background-color: var(--charcoal-surface3);
|
|
579
513
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
580
514
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
581
515
|
height: 40px;
|
|
582
516
|
}
|
|
583
517
|
|
|
584
|
-
.c1:
|
|
585
|
-
.c1
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
.c1
|
|
590
|
-
|
|
591
|
-
|
|
518
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
519
|
+
.c1[aria-disabled='false']:active,
|
|
520
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
521
|
+
.c1[aria-disabled='false']:focus,
|
|
522
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
523
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
524
|
+
outline: none;
|
|
525
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
592
526
|
}
|
|
593
527
|
|
|
594
|
-
.c1:
|
|
595
|
-
.c1
|
|
528
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
529
|
+
.c1[aria-disabled='false']:hover {
|
|
530
|
+
color: var(--charcoal-text2-hover);
|
|
596
531
|
background-color: var(--charcoal-surface3-hover);
|
|
597
532
|
}
|
|
598
533
|
|
|
599
|
-
.c1:
|
|
600
|
-
.c1
|
|
534
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
535
|
+
.c1[aria-disabled='false']:active {
|
|
536
|
+
color: var(--charcoal-text2-press);
|
|
601
537
|
background-color: var(--charcoal-surface3-press);
|
|
602
538
|
}
|
|
603
539
|
|
|
604
540
|
.c1:disabled,
|
|
605
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
541
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
606
542
|
opacity: 0.32;
|
|
607
543
|
}
|
|
608
544
|
|
|
609
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
610
|
-
.c1[aria-disabled=false]:focus,
|
|
611
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
612
|
-
.c1[aria-disabled=false]:active {
|
|
613
|
-
outline: none;
|
|
614
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
618
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
619
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
620
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
621
|
-
outline: none;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
625
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
626
|
-
outline: none;
|
|
627
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
628
|
-
}
|
|
629
|
-
|
|
630
545
|
<div
|
|
631
546
|
data-dark={false}
|
|
632
547
|
>
|
|
@@ -657,6 +572,8 @@ exports[`Storyshots Button Layout Example 1`] = `
|
|
|
657
572
|
-ms-letter-spacing: inherit;
|
|
658
573
|
letter-spacing: inherit;
|
|
659
574
|
word-spacing: inherit;
|
|
575
|
+
-webkit-text-decoration: none;
|
|
576
|
+
text-decoration: none;
|
|
660
577
|
font: inherit;
|
|
661
578
|
margin: 0;
|
|
662
579
|
overflow: visible;
|
|
@@ -696,65 +613,46 @@ exports[`Storyshots Button Layout Example 1`] = `
|
|
|
696
613
|
-ms-user-select: none;
|
|
697
614
|
user-select: none;
|
|
698
615
|
white-space: nowrap;
|
|
699
|
-
|
|
700
|
-
background-color: var(--charcoal-surface3);
|
|
616
|
+
border-radius: 999999px;
|
|
701
617
|
font-size: 14px;
|
|
702
618
|
line-height: 22px;
|
|
703
619
|
font-weight: bold;
|
|
704
620
|
padding-right: 24px;
|
|
705
621
|
padding-left: 24px;
|
|
706
|
-
|
|
622
|
+
color: var(--charcoal-text2);
|
|
623
|
+
background-color: var(--charcoal-surface3);
|
|
707
624
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
708
625
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
709
626
|
height: 40px;
|
|
710
627
|
}
|
|
711
628
|
|
|
712
|
-
.c1:
|
|
713
|
-
.c1
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
.c1
|
|
718
|
-
|
|
719
|
-
|
|
629
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
630
|
+
.c1[aria-disabled='false']:active,
|
|
631
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
632
|
+
.c1[aria-disabled='false']:focus,
|
|
633
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
634
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
635
|
+
outline: none;
|
|
636
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
720
637
|
}
|
|
721
638
|
|
|
722
|
-
.c1:
|
|
723
|
-
.c1
|
|
639
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
640
|
+
.c1[aria-disabled='false']:hover {
|
|
641
|
+
color: var(--charcoal-text2-hover);
|
|
724
642
|
background-color: var(--charcoal-surface3-hover);
|
|
725
643
|
}
|
|
726
644
|
|
|
727
|
-
.c1:
|
|
728
|
-
.c1
|
|
645
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
646
|
+
.c1[aria-disabled='false']:active {
|
|
647
|
+
color: var(--charcoal-text2-press);
|
|
729
648
|
background-color: var(--charcoal-surface3-press);
|
|
730
649
|
}
|
|
731
650
|
|
|
732
651
|
.c1:disabled,
|
|
733
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
652
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
734
653
|
opacity: 0.32;
|
|
735
654
|
}
|
|
736
655
|
|
|
737
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
738
|
-
.c1[aria-disabled=false]:focus,
|
|
739
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
740
|
-
.c1[aria-disabled=false]:active {
|
|
741
|
-
outline: none;
|
|
742
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
746
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
747
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
748
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
749
|
-
outline: none;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
753
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
754
|
-
outline: none;
|
|
755
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
756
|
-
}
|
|
757
|
-
|
|
758
656
|
.c2 {
|
|
759
657
|
width: -webkit-min-content;
|
|
760
658
|
width: -moz-min-content;
|
|
@@ -774,65 +672,46 @@ exports[`Storyshots Button Layout Example 1`] = `
|
|
|
774
672
|
-ms-user-select: none;
|
|
775
673
|
user-select: none;
|
|
776
674
|
white-space: nowrap;
|
|
777
|
-
|
|
778
|
-
background-color: var(--charcoal-surface6);
|
|
675
|
+
border-radius: 999999px;
|
|
779
676
|
font-size: 14px;
|
|
780
677
|
line-height: 22px;
|
|
781
678
|
font-weight: bold;
|
|
782
679
|
padding-right: 24px;
|
|
783
680
|
padding-left: 24px;
|
|
784
|
-
|
|
681
|
+
color: var(--charcoal-text5);
|
|
682
|
+
background-color: var(--charcoal-surface6);
|
|
785
683
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
786
684
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
787
685
|
height: 40px;
|
|
788
686
|
}
|
|
789
687
|
|
|
790
|
-
.c2:
|
|
791
|
-
.c2
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
.c2
|
|
796
|
-
|
|
797
|
-
|
|
688
|
+
.c2:not(:disabled):not([aria-disabled]):active,
|
|
689
|
+
.c2[aria-disabled='false']:active,
|
|
690
|
+
.c2:not(:disabled):not([aria-disabled]):focus,
|
|
691
|
+
.c2[aria-disabled='false']:focus,
|
|
692
|
+
.c2:not(:disabled):not([aria-disabled]):focus-visible,
|
|
693
|
+
.c2[aria-disabled='false']:focus-visible {
|
|
694
|
+
outline: none;
|
|
695
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
798
696
|
}
|
|
799
697
|
|
|
800
|
-
.c2:
|
|
801
|
-
.c2
|
|
698
|
+
.c2:not(:disabled):not([aria-disabled]):hover,
|
|
699
|
+
.c2[aria-disabled='false']:hover {
|
|
700
|
+
color: var(--charcoal-text5-hover);
|
|
802
701
|
background-color: var(--charcoal-surface6-hover);
|
|
803
702
|
}
|
|
804
703
|
|
|
805
|
-
.c2:
|
|
806
|
-
.c2
|
|
704
|
+
.c2:not(:disabled):not([aria-disabled]):active,
|
|
705
|
+
.c2[aria-disabled='false']:active {
|
|
706
|
+
color: var(--charcoal-text5-press);
|
|
807
707
|
background-color: var(--charcoal-surface6-press);
|
|
808
708
|
}
|
|
809
709
|
|
|
810
710
|
.c2:disabled,
|
|
811
|
-
.c2[aria-disabled]:not([aria-disabled=false]) {
|
|
711
|
+
.c2[aria-disabled]:not([aria-disabled='false']) {
|
|
812
712
|
opacity: 0.32;
|
|
813
713
|
}
|
|
814
714
|
|
|
815
|
-
.c2:not(:disabled):not([aria-disabled]):focus,
|
|
816
|
-
.c2[aria-disabled=false]:focus,
|
|
817
|
-
.c2:not(:disabled):not([aria-disabled]):active,
|
|
818
|
-
.c2[aria-disabled=false]:active {
|
|
819
|
-
outline: none;
|
|
820
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
.c2:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
824
|
-
.c2[aria-disabled=false]:focus:not(:focus-visible),
|
|
825
|
-
.c2:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
826
|
-
.c2[aria-disabled=false]:active:not(:focus-visible) {
|
|
827
|
-
outline: none;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
.c2:not(:disabled):not([aria-disabled]):focus-visible,
|
|
831
|
-
.c2[aria-disabled=false]:focus-visible {
|
|
832
|
-
outline: none;
|
|
833
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
834
|
-
}
|
|
835
|
-
|
|
836
715
|
.c3 {
|
|
837
716
|
width: -webkit-min-content;
|
|
838
717
|
width: -moz-min-content;
|
|
@@ -852,65 +731,46 @@ exports[`Storyshots Button Layout Example 1`] = `
|
|
|
852
731
|
-ms-user-select: none;
|
|
853
732
|
user-select: none;
|
|
854
733
|
white-space: nowrap;
|
|
855
|
-
|
|
856
|
-
background-color: var(--charcoal-assertive);
|
|
734
|
+
border-radius: 999999px;
|
|
857
735
|
font-size: 14px;
|
|
858
736
|
line-height: 22px;
|
|
859
737
|
font-weight: bold;
|
|
860
738
|
padding-right: 24px;
|
|
861
739
|
padding-left: 24px;
|
|
862
|
-
|
|
740
|
+
color: var(--charcoal-text5);
|
|
741
|
+
background-color: var(--charcoal-assertive);
|
|
863
742
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
864
743
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
865
744
|
height: 40px;
|
|
866
745
|
}
|
|
867
746
|
|
|
868
|
-
.c3:
|
|
869
|
-
.c3
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
.c3
|
|
874
|
-
|
|
875
|
-
|
|
747
|
+
.c3:not(:disabled):not([aria-disabled]):active,
|
|
748
|
+
.c3[aria-disabled='false']:active,
|
|
749
|
+
.c3:not(:disabled):not([aria-disabled]):focus,
|
|
750
|
+
.c3[aria-disabled='false']:focus,
|
|
751
|
+
.c3:not(:disabled):not([aria-disabled]):focus-visible,
|
|
752
|
+
.c3[aria-disabled='false']:focus-visible {
|
|
753
|
+
outline: none;
|
|
754
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
876
755
|
}
|
|
877
756
|
|
|
878
|
-
.c3:
|
|
879
|
-
.c3
|
|
757
|
+
.c3:not(:disabled):not([aria-disabled]):hover,
|
|
758
|
+
.c3[aria-disabled='false']:hover {
|
|
759
|
+
color: var(--charcoal-text5-hover);
|
|
880
760
|
background-color: var(--charcoal-assertive-hover);
|
|
881
761
|
}
|
|
882
762
|
|
|
883
|
-
.c3:
|
|
884
|
-
.c3
|
|
763
|
+
.c3:not(:disabled):not([aria-disabled]):active,
|
|
764
|
+
.c3[aria-disabled='false']:active {
|
|
765
|
+
color: var(--charcoal-text5-press);
|
|
885
766
|
background-color: var(--charcoal-assertive-press);
|
|
886
767
|
}
|
|
887
768
|
|
|
888
769
|
.c3:disabled,
|
|
889
|
-
.c3[aria-disabled]:not([aria-disabled=false]) {
|
|
770
|
+
.c3[aria-disabled]:not([aria-disabled='false']) {
|
|
890
771
|
opacity: 0.32;
|
|
891
772
|
}
|
|
892
773
|
|
|
893
|
-
.c3:not(:disabled):not([aria-disabled]):focus,
|
|
894
|
-
.c3[aria-disabled=false]:focus,
|
|
895
|
-
.c3:not(:disabled):not([aria-disabled]):active,
|
|
896
|
-
.c3[aria-disabled=false]:active {
|
|
897
|
-
outline: none;
|
|
898
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
.c3:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
902
|
-
.c3[aria-disabled=false]:focus:not(:focus-visible),
|
|
903
|
-
.c3:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
904
|
-
.c3[aria-disabled=false]:active:not(:focus-visible) {
|
|
905
|
-
outline: none;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
.c3:not(:disabled):not([aria-disabled]):focus-visible,
|
|
909
|
-
.c3[aria-disabled=false]:focus-visible {
|
|
910
|
-
outline: none;
|
|
911
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
912
|
-
}
|
|
913
|
-
|
|
914
774
|
.c4 {
|
|
915
775
|
width: -webkit-fill-available;
|
|
916
776
|
width: -moz-available;
|
|
@@ -930,65 +790,46 @@ exports[`Storyshots Button Layout Example 1`] = `
|
|
|
930
790
|
-ms-user-select: none;
|
|
931
791
|
user-select: none;
|
|
932
792
|
white-space: nowrap;
|
|
933
|
-
|
|
934
|
-
background-color: var(--charcoal-brand);
|
|
793
|
+
border-radius: 999999px;
|
|
935
794
|
font-size: 14px;
|
|
936
795
|
line-height: 22px;
|
|
937
796
|
font-weight: bold;
|
|
938
797
|
padding-right: 24px;
|
|
939
798
|
padding-left: 24px;
|
|
940
|
-
|
|
799
|
+
color: var(--charcoal-text5);
|
|
800
|
+
background-color: var(--charcoal-brand);
|
|
941
801
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
942
802
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
943
803
|
height: 40px;
|
|
944
804
|
}
|
|
945
805
|
|
|
946
|
-
.c4:
|
|
947
|
-
.c4
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
.c4
|
|
952
|
-
|
|
953
|
-
|
|
806
|
+
.c4:not(:disabled):not([aria-disabled]):active,
|
|
807
|
+
.c4[aria-disabled='false']:active,
|
|
808
|
+
.c4:not(:disabled):not([aria-disabled]):focus,
|
|
809
|
+
.c4[aria-disabled='false']:focus,
|
|
810
|
+
.c4:not(:disabled):not([aria-disabled]):focus-visible,
|
|
811
|
+
.c4[aria-disabled='false']:focus-visible {
|
|
812
|
+
outline: none;
|
|
813
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
954
814
|
}
|
|
955
815
|
|
|
956
|
-
.c4:
|
|
957
|
-
.c4
|
|
816
|
+
.c4:not(:disabled):not([aria-disabled]):hover,
|
|
817
|
+
.c4[aria-disabled='false']:hover {
|
|
818
|
+
color: var(--charcoal-text5-hover);
|
|
958
819
|
background-color: var(--charcoal-brand-hover);
|
|
959
820
|
}
|
|
960
821
|
|
|
961
|
-
.c4:
|
|
962
|
-
.c4
|
|
822
|
+
.c4:not(:disabled):not([aria-disabled]):active,
|
|
823
|
+
.c4[aria-disabled='false']:active {
|
|
824
|
+
color: var(--charcoal-text5-press);
|
|
963
825
|
background-color: var(--charcoal-brand-press);
|
|
964
826
|
}
|
|
965
827
|
|
|
966
828
|
.c4:disabled,
|
|
967
|
-
.c4[aria-disabled]:not([aria-disabled=false]) {
|
|
829
|
+
.c4[aria-disabled]:not([aria-disabled='false']) {
|
|
968
830
|
opacity: 0.32;
|
|
969
831
|
}
|
|
970
832
|
|
|
971
|
-
.c4:not(:disabled):not([aria-disabled]):focus,
|
|
972
|
-
.c4[aria-disabled=false]:focus,
|
|
973
|
-
.c4:not(:disabled):not([aria-disabled]):active,
|
|
974
|
-
.c4[aria-disabled=false]:active {
|
|
975
|
-
outline: none;
|
|
976
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
.c4:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
980
|
-
.c4[aria-disabled=false]:focus:not(:focus-visible),
|
|
981
|
-
.c4:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
982
|
-
.c4[aria-disabled=false]:active:not(:focus-visible) {
|
|
983
|
-
outline: none;
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
.c4:not(:disabled):not([aria-disabled]):focus-visible,
|
|
987
|
-
.c4[aria-disabled=false]:focus-visible {
|
|
988
|
-
outline: none;
|
|
989
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
990
|
-
}
|
|
991
|
-
|
|
992
833
|
.c5 {
|
|
993
834
|
width: -webkit-fill-available;
|
|
994
835
|
width: -moz-available;
|
|
@@ -1008,65 +849,46 @@ exports[`Storyshots Button Layout Example 1`] = `
|
|
|
1008
849
|
-ms-user-select: none;
|
|
1009
850
|
user-select: none;
|
|
1010
851
|
white-space: nowrap;
|
|
1011
|
-
|
|
1012
|
-
background-color: var(--charcoal-surface3);
|
|
852
|
+
border-radius: 999999px;
|
|
1013
853
|
font-size: 14px;
|
|
1014
854
|
line-height: 22px;
|
|
1015
855
|
font-weight: bold;
|
|
1016
856
|
padding-right: 24px;
|
|
1017
857
|
padding-left: 24px;
|
|
1018
|
-
|
|
858
|
+
color: var(--charcoal-text2);
|
|
859
|
+
background-color: var(--charcoal-surface3);
|
|
1019
860
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1020
861
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1021
862
|
height: 40px;
|
|
1022
863
|
}
|
|
1023
864
|
|
|
1024
|
-
.c5:
|
|
1025
|
-
.c5
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
.c5
|
|
1030
|
-
|
|
1031
|
-
|
|
865
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
866
|
+
.c5[aria-disabled='false']:active,
|
|
867
|
+
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
868
|
+
.c5[aria-disabled='false']:focus,
|
|
869
|
+
.c5:not(:disabled):not([aria-disabled]):focus-visible,
|
|
870
|
+
.c5[aria-disabled='false']:focus-visible {
|
|
871
|
+
outline: none;
|
|
872
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1032
873
|
}
|
|
1033
874
|
|
|
1034
|
-
.c5:
|
|
1035
|
-
.c5
|
|
875
|
+
.c5:not(:disabled):not([aria-disabled]):hover,
|
|
876
|
+
.c5[aria-disabled='false']:hover {
|
|
877
|
+
color: var(--charcoal-text2-hover);
|
|
1036
878
|
background-color: var(--charcoal-surface3-hover);
|
|
1037
879
|
}
|
|
1038
880
|
|
|
1039
|
-
.c5:
|
|
1040
|
-
.c5
|
|
881
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
882
|
+
.c5[aria-disabled='false']:active {
|
|
883
|
+
color: var(--charcoal-text2-press);
|
|
1041
884
|
background-color: var(--charcoal-surface3-press);
|
|
1042
885
|
}
|
|
1043
886
|
|
|
1044
887
|
.c5:disabled,
|
|
1045
|
-
.c5[aria-disabled]:not([aria-disabled=false]) {
|
|
888
|
+
.c5[aria-disabled]:not([aria-disabled='false']) {
|
|
1046
889
|
opacity: 0.32;
|
|
1047
890
|
}
|
|
1048
891
|
|
|
1049
|
-
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
1050
|
-
.c5[aria-disabled=false]:focus,
|
|
1051
|
-
.c5:not(:disabled):not([aria-disabled]):active,
|
|
1052
|
-
.c5[aria-disabled=false]:active {
|
|
1053
|
-
outline: none;
|
|
1054
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
.c5:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1058
|
-
.c5[aria-disabled=false]:focus:not(:focus-visible),
|
|
1059
|
-
.c5:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1060
|
-
.c5[aria-disabled=false]:active:not(:focus-visible) {
|
|
1061
|
-
outline: none;
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
.c5:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1065
|
-
.c5[aria-disabled=false]:focus-visible {
|
|
1066
|
-
outline: none;
|
|
1067
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
892
|
<div
|
|
1071
893
|
data-dark={false}
|
|
1072
894
|
>
|
|
@@ -1219,6 +1041,8 @@ exports[`Storyshots Button Link 1`] = `
|
|
|
1219
1041
|
-ms-letter-spacing: inherit;
|
|
1220
1042
|
letter-spacing: inherit;
|
|
1221
1043
|
word-spacing: inherit;
|
|
1044
|
+
-webkit-text-decoration: none;
|
|
1045
|
+
text-decoration: none;
|
|
1222
1046
|
font: inherit;
|
|
1223
1047
|
margin: 0;
|
|
1224
1048
|
overflow: visible;
|
|
@@ -1258,65 +1082,46 @@ exports[`Storyshots Button Link 1`] = `
|
|
|
1258
1082
|
-ms-user-select: none;
|
|
1259
1083
|
user-select: none;
|
|
1260
1084
|
white-space: nowrap;
|
|
1261
|
-
|
|
1262
|
-
background-color: var(--charcoal-surface3);
|
|
1085
|
+
border-radius: 999999px;
|
|
1263
1086
|
font-size: 14px;
|
|
1264
1087
|
line-height: 22px;
|
|
1265
1088
|
font-weight: bold;
|
|
1266
1089
|
padding-right: 24px;
|
|
1267
1090
|
padding-left: 24px;
|
|
1268
|
-
|
|
1091
|
+
color: var(--charcoal-text2);
|
|
1092
|
+
background-color: var(--charcoal-surface3);
|
|
1269
1093
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1270
1094
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1271
1095
|
height: 40px;
|
|
1272
1096
|
}
|
|
1273
1097
|
|
|
1274
|
-
.c1:
|
|
1275
|
-
.c1
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
.c1
|
|
1280
|
-
|
|
1281
|
-
|
|
1098
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1099
|
+
.c1[aria-disabled='false']:active,
|
|
1100
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1101
|
+
.c1[aria-disabled='false']:focus,
|
|
1102
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1103
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
1104
|
+
outline: none;
|
|
1105
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1282
1106
|
}
|
|
1283
1107
|
|
|
1284
|
-
.c1:
|
|
1285
|
-
.c1
|
|
1108
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
1109
|
+
.c1[aria-disabled='false']:hover {
|
|
1110
|
+
color: var(--charcoal-text2-hover);
|
|
1286
1111
|
background-color: var(--charcoal-surface3-hover);
|
|
1287
1112
|
}
|
|
1288
1113
|
|
|
1289
|
-
.c1:
|
|
1290
|
-
.c1
|
|
1114
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1115
|
+
.c1[aria-disabled='false']:active {
|
|
1116
|
+
color: var(--charcoal-text2-press);
|
|
1291
1117
|
background-color: var(--charcoal-surface3-press);
|
|
1292
1118
|
}
|
|
1293
1119
|
|
|
1294
1120
|
.c1:disabled,
|
|
1295
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
1121
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
1296
1122
|
opacity: 0.32;
|
|
1297
1123
|
}
|
|
1298
1124
|
|
|
1299
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1300
|
-
.c1[aria-disabled=false]:focus,
|
|
1301
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1302
|
-
.c1[aria-disabled=false]:active {
|
|
1303
|
-
outline: none;
|
|
1304
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1308
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
1309
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1310
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
1311
|
-
outline: none;
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1315
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
1316
|
-
outline: none;
|
|
1317
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
1125
|
<div
|
|
1321
1126
|
data-dark={false}
|
|
1322
1127
|
>
|
|
@@ -1347,6 +1152,8 @@ exports[`Storyshots Button Navigation 1`] = `
|
|
|
1347
1152
|
-ms-letter-spacing: inherit;
|
|
1348
1153
|
letter-spacing: inherit;
|
|
1349
1154
|
word-spacing: inherit;
|
|
1155
|
+
-webkit-text-decoration: none;
|
|
1156
|
+
text-decoration: none;
|
|
1350
1157
|
font: inherit;
|
|
1351
1158
|
margin: 0;
|
|
1352
1159
|
overflow: visible;
|
|
@@ -1386,65 +1193,46 @@ exports[`Storyshots Button Navigation 1`] = `
|
|
|
1386
1193
|
-ms-user-select: none;
|
|
1387
1194
|
user-select: none;
|
|
1388
1195
|
white-space: nowrap;
|
|
1389
|
-
|
|
1390
|
-
background-color: var(--charcoal-surface6);
|
|
1196
|
+
border-radius: 999999px;
|
|
1391
1197
|
font-size: 14px;
|
|
1392
1198
|
line-height: 22px;
|
|
1393
1199
|
font-weight: bold;
|
|
1394
1200
|
padding-right: 24px;
|
|
1395
1201
|
padding-left: 24px;
|
|
1396
|
-
|
|
1202
|
+
color: var(--charcoal-text5);
|
|
1203
|
+
background-color: var(--charcoal-surface6);
|
|
1397
1204
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1398
1205
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1399
1206
|
height: 40px;
|
|
1400
1207
|
}
|
|
1401
1208
|
|
|
1402
|
-
.c1:
|
|
1403
|
-
.c1
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
.c1
|
|
1408
|
-
|
|
1409
|
-
|
|
1209
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1210
|
+
.c1[aria-disabled='false']:active,
|
|
1211
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1212
|
+
.c1[aria-disabled='false']:focus,
|
|
1213
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1214
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
1215
|
+
outline: none;
|
|
1216
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1410
1217
|
}
|
|
1411
1218
|
|
|
1412
|
-
.c1:
|
|
1413
|
-
.c1
|
|
1219
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
1220
|
+
.c1[aria-disabled='false']:hover {
|
|
1221
|
+
color: var(--charcoal-text5-hover);
|
|
1414
1222
|
background-color: var(--charcoal-surface6-hover);
|
|
1415
1223
|
}
|
|
1416
1224
|
|
|
1417
|
-
.c1:
|
|
1418
|
-
.c1
|
|
1225
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1226
|
+
.c1[aria-disabled='false']:active {
|
|
1227
|
+
color: var(--charcoal-text5-press);
|
|
1419
1228
|
background-color: var(--charcoal-surface6-press);
|
|
1420
1229
|
}
|
|
1421
1230
|
|
|
1422
1231
|
.c1:disabled,
|
|
1423
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
1232
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
1424
1233
|
opacity: 0.32;
|
|
1425
1234
|
}
|
|
1426
1235
|
|
|
1427
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1428
|
-
.c1[aria-disabled=false]:focus,
|
|
1429
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1430
|
-
.c1[aria-disabled=false]:active {
|
|
1431
|
-
outline: none;
|
|
1432
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1436
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
1437
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1438
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
1439
|
-
outline: none;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1443
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
1444
|
-
outline: none;
|
|
1445
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
1236
|
<div
|
|
1449
1237
|
data-dark={false}
|
|
1450
1238
|
>
|
|
@@ -1475,6 +1263,8 @@ exports[`Storyshots Button Nihongo 1`] = `
|
|
|
1475
1263
|
-ms-letter-spacing: inherit;
|
|
1476
1264
|
letter-spacing: inherit;
|
|
1477
1265
|
word-spacing: inherit;
|
|
1266
|
+
-webkit-text-decoration: none;
|
|
1267
|
+
text-decoration: none;
|
|
1478
1268
|
font: inherit;
|
|
1479
1269
|
margin: 0;
|
|
1480
1270
|
overflow: visible;
|
|
@@ -1514,65 +1304,46 @@ exports[`Storyshots Button Nihongo 1`] = `
|
|
|
1514
1304
|
-ms-user-select: none;
|
|
1515
1305
|
user-select: none;
|
|
1516
1306
|
white-space: nowrap;
|
|
1517
|
-
|
|
1518
|
-
background-color: var(--charcoal-surface3);
|
|
1307
|
+
border-radius: 999999px;
|
|
1519
1308
|
font-size: 14px;
|
|
1520
1309
|
line-height: 22px;
|
|
1521
1310
|
font-weight: bold;
|
|
1522
1311
|
padding-right: 24px;
|
|
1523
1312
|
padding-left: 24px;
|
|
1524
|
-
|
|
1313
|
+
color: var(--charcoal-text2);
|
|
1314
|
+
background-color: var(--charcoal-surface3);
|
|
1525
1315
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1526
1316
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1527
1317
|
height: 40px;
|
|
1528
1318
|
}
|
|
1529
1319
|
|
|
1530
|
-
.c1:
|
|
1531
|
-
.c1
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
.c1
|
|
1536
|
-
|
|
1537
|
-
|
|
1320
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1321
|
+
.c1[aria-disabled='false']:active,
|
|
1322
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1323
|
+
.c1[aria-disabled='false']:focus,
|
|
1324
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1325
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
1326
|
+
outline: none;
|
|
1327
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1538
1328
|
}
|
|
1539
1329
|
|
|
1540
|
-
.c1:
|
|
1541
|
-
.c1
|
|
1330
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
1331
|
+
.c1[aria-disabled='false']:hover {
|
|
1332
|
+
color: var(--charcoal-text2-hover);
|
|
1542
1333
|
background-color: var(--charcoal-surface3-hover);
|
|
1543
1334
|
}
|
|
1544
1335
|
|
|
1545
|
-
.c1:
|
|
1546
|
-
.c1
|
|
1336
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1337
|
+
.c1[aria-disabled='false']:active {
|
|
1338
|
+
color: var(--charcoal-text2-press);
|
|
1547
1339
|
background-color: var(--charcoal-surface3-press);
|
|
1548
1340
|
}
|
|
1549
1341
|
|
|
1550
1342
|
.c1:disabled,
|
|
1551
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
1343
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
1552
1344
|
opacity: 0.32;
|
|
1553
1345
|
}
|
|
1554
1346
|
|
|
1555
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1556
|
-
.c1[aria-disabled=false]:focus,
|
|
1557
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1558
|
-
.c1[aria-disabled=false]:active {
|
|
1559
|
-
outline: none;
|
|
1560
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1564
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
1565
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1566
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
1567
|
-
outline: none;
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1571
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
1572
|
-
outline: none;
|
|
1573
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
1347
|
<div
|
|
1577
1348
|
data-dark={false}
|
|
1578
1349
|
>
|
|
@@ -1603,6 +1374,8 @@ exports[`Storyshots Button Overlay 1`] = `
|
|
|
1603
1374
|
-ms-letter-spacing: inherit;
|
|
1604
1375
|
letter-spacing: inherit;
|
|
1605
1376
|
word-spacing: inherit;
|
|
1377
|
+
-webkit-text-decoration: none;
|
|
1378
|
+
text-decoration: none;
|
|
1606
1379
|
font: inherit;
|
|
1607
1380
|
margin: 0;
|
|
1608
1381
|
overflow: visible;
|
|
@@ -1642,65 +1415,46 @@ exports[`Storyshots Button Overlay 1`] = `
|
|
|
1642
1415
|
-ms-user-select: none;
|
|
1643
1416
|
user-select: none;
|
|
1644
1417
|
white-space: nowrap;
|
|
1645
|
-
|
|
1646
|
-
background-color: var(--charcoal-surface4);
|
|
1418
|
+
border-radius: 999999px;
|
|
1647
1419
|
font-size: 14px;
|
|
1648
1420
|
line-height: 22px;
|
|
1649
1421
|
font-weight: bold;
|
|
1650
1422
|
padding-right: 24px;
|
|
1651
1423
|
padding-left: 24px;
|
|
1652
|
-
|
|
1424
|
+
color: var(--charcoal-text5);
|
|
1425
|
+
background-color: var(--charcoal-surface4);
|
|
1653
1426
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1654
1427
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1655
1428
|
height: 40px;
|
|
1656
1429
|
}
|
|
1657
1430
|
|
|
1658
|
-
.c1:
|
|
1659
|
-
.c1
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
.c1
|
|
1664
|
-
|
|
1665
|
-
|
|
1431
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1432
|
+
.c1[aria-disabled='false']:active,
|
|
1433
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1434
|
+
.c1[aria-disabled='false']:focus,
|
|
1435
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1436
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
1437
|
+
outline: none;
|
|
1438
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1666
1439
|
}
|
|
1667
1440
|
|
|
1668
|
-
.c1:
|
|
1669
|
-
.c1
|
|
1441
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
1442
|
+
.c1[aria-disabled='false']:hover {
|
|
1443
|
+
color: var(--charcoal-text5-hover);
|
|
1670
1444
|
background-color: var(--charcoal-surface4-hover);
|
|
1671
1445
|
}
|
|
1672
1446
|
|
|
1673
|
-
.c1:
|
|
1674
|
-
.c1
|
|
1447
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1448
|
+
.c1[aria-disabled='false']:active {
|
|
1449
|
+
color: var(--charcoal-text5-press);
|
|
1675
1450
|
background-color: var(--charcoal-surface4-press);
|
|
1676
1451
|
}
|
|
1677
1452
|
|
|
1678
1453
|
.c1:disabled,
|
|
1679
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
1454
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
1680
1455
|
opacity: 0.32;
|
|
1681
1456
|
}
|
|
1682
1457
|
|
|
1683
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1684
|
-
.c1[aria-disabled=false]:focus,
|
|
1685
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1686
|
-
.c1[aria-disabled=false]:active {
|
|
1687
|
-
outline: none;
|
|
1688
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1692
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
1693
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1694
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
1695
|
-
outline: none;
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1699
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
1700
|
-
outline: none;
|
|
1701
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
1458
|
<div
|
|
1705
1459
|
data-dark={false}
|
|
1706
1460
|
>
|
|
@@ -1731,6 +1485,8 @@ exports[`Storyshots Button Primary 1`] = `
|
|
|
1731
1485
|
-ms-letter-spacing: inherit;
|
|
1732
1486
|
letter-spacing: inherit;
|
|
1733
1487
|
word-spacing: inherit;
|
|
1488
|
+
-webkit-text-decoration: none;
|
|
1489
|
+
text-decoration: none;
|
|
1734
1490
|
font: inherit;
|
|
1735
1491
|
margin: 0;
|
|
1736
1492
|
overflow: visible;
|
|
@@ -1770,65 +1526,46 @@ exports[`Storyshots Button Primary 1`] = `
|
|
|
1770
1526
|
-ms-user-select: none;
|
|
1771
1527
|
user-select: none;
|
|
1772
1528
|
white-space: nowrap;
|
|
1773
|
-
|
|
1774
|
-
background-color: var(--charcoal-brand);
|
|
1529
|
+
border-radius: 999999px;
|
|
1775
1530
|
font-size: 14px;
|
|
1776
1531
|
line-height: 22px;
|
|
1777
1532
|
font-weight: bold;
|
|
1778
1533
|
padding-right: 24px;
|
|
1779
1534
|
padding-left: 24px;
|
|
1780
|
-
|
|
1535
|
+
color: var(--charcoal-text5);
|
|
1536
|
+
background-color: var(--charcoal-brand);
|
|
1781
1537
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1782
1538
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1783
1539
|
height: 40px;
|
|
1784
1540
|
}
|
|
1785
1541
|
|
|
1786
|
-
.c1:
|
|
1787
|
-
.c1
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
.c1
|
|
1792
|
-
|
|
1793
|
-
|
|
1542
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1543
|
+
.c1[aria-disabled='false']:active,
|
|
1544
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1545
|
+
.c1[aria-disabled='false']:focus,
|
|
1546
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1547
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
1548
|
+
outline: none;
|
|
1549
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1794
1550
|
}
|
|
1795
1551
|
|
|
1796
|
-
.c1:
|
|
1797
|
-
.c1
|
|
1552
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
1553
|
+
.c1[aria-disabled='false']:hover {
|
|
1554
|
+
color: var(--charcoal-text5-hover);
|
|
1798
1555
|
background-color: var(--charcoal-brand-hover);
|
|
1799
1556
|
}
|
|
1800
1557
|
|
|
1801
|
-
.c1:
|
|
1802
|
-
.c1
|
|
1558
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1559
|
+
.c1[aria-disabled='false']:active {
|
|
1560
|
+
color: var(--charcoal-text5-press);
|
|
1803
1561
|
background-color: var(--charcoal-brand-press);
|
|
1804
1562
|
}
|
|
1805
1563
|
|
|
1806
1564
|
.c1:disabled,
|
|
1807
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
1565
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
1808
1566
|
opacity: 0.32;
|
|
1809
1567
|
}
|
|
1810
1568
|
|
|
1811
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1812
|
-
.c1[aria-disabled=false]:focus,
|
|
1813
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1814
|
-
.c1[aria-disabled=false]:active {
|
|
1815
|
-
outline: none;
|
|
1816
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1820
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
1821
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1822
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
1823
|
-
outline: none;
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1827
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
1828
|
-
outline: none;
|
|
1829
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
1569
|
<div
|
|
1833
1570
|
data-dark={false}
|
|
1834
1571
|
>
|
|
@@ -1859,6 +1596,8 @@ exports[`Storyshots Button Small 1`] = `
|
|
|
1859
1596
|
-ms-letter-spacing: inherit;
|
|
1860
1597
|
letter-spacing: inherit;
|
|
1861
1598
|
word-spacing: inherit;
|
|
1599
|
+
-webkit-text-decoration: none;
|
|
1600
|
+
text-decoration: none;
|
|
1862
1601
|
font: inherit;
|
|
1863
1602
|
margin: 0;
|
|
1864
1603
|
overflow: visible;
|
|
@@ -1898,65 +1637,46 @@ exports[`Storyshots Button Small 1`] = `
|
|
|
1898
1637
|
-ms-user-select: none;
|
|
1899
1638
|
user-select: none;
|
|
1900
1639
|
white-space: nowrap;
|
|
1901
|
-
|
|
1902
|
-
background-color: var(--charcoal-surface3);
|
|
1640
|
+
border-radius: 999999px;
|
|
1903
1641
|
font-size: 14px;
|
|
1904
1642
|
line-height: 22px;
|
|
1905
1643
|
font-weight: bold;
|
|
1906
1644
|
padding-right: 16px;
|
|
1907
1645
|
padding-left: 16px;
|
|
1908
|
-
|
|
1646
|
+
color: var(--charcoal-text2);
|
|
1647
|
+
background-color: var(--charcoal-surface3);
|
|
1909
1648
|
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1910
1649
|
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1911
1650
|
height: 32px;
|
|
1912
1651
|
}
|
|
1913
1652
|
|
|
1914
|
-
.c1:
|
|
1915
|
-
.c1
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
.c1
|
|
1920
|
-
|
|
1921
|
-
|
|
1653
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1654
|
+
.c1[aria-disabled='false']:active,
|
|
1655
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1656
|
+
.c1[aria-disabled='false']:focus,
|
|
1657
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1658
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
1659
|
+
outline: none;
|
|
1660
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1922
1661
|
}
|
|
1923
1662
|
|
|
1924
|
-
.c1:
|
|
1925
|
-
.c1
|
|
1663
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
1664
|
+
.c1[aria-disabled='false']:hover {
|
|
1665
|
+
color: var(--charcoal-text2-hover);
|
|
1926
1666
|
background-color: var(--charcoal-surface3-hover);
|
|
1927
1667
|
}
|
|
1928
1668
|
|
|
1929
|
-
.c1:
|
|
1930
|
-
.c1
|
|
1669
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1670
|
+
.c1[aria-disabled='false']:active {
|
|
1671
|
+
color: var(--charcoal-text2-press);
|
|
1931
1672
|
background-color: var(--charcoal-surface3-press);
|
|
1932
1673
|
}
|
|
1933
1674
|
|
|
1934
1675
|
.c1:disabled,
|
|
1935
|
-
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
1676
|
+
.c1[aria-disabled]:not([aria-disabled='false']) {
|
|
1936
1677
|
opacity: 0.32;
|
|
1937
1678
|
}
|
|
1938
1679
|
|
|
1939
|
-
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1940
|
-
.c1[aria-disabled=false]:focus,
|
|
1941
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1942
|
-
.c1[aria-disabled=false]:active {
|
|
1943
|
-
outline: none;
|
|
1944
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1948
|
-
.c1[aria-disabled=false]:focus:not(:focus-visible),
|
|
1949
|
-
.c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1950
|
-
.c1[aria-disabled=false]:active:not(:focus-visible) {
|
|
1951
|
-
outline: none;
|
|
1952
|
-
}
|
|
1953
|
-
|
|
1954
|
-
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1955
|
-
.c1[aria-disabled=false]:focus-visible {
|
|
1956
|
-
outline: none;
|
|
1957
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
1680
|
<div
|
|
1961
1681
|
data-dark={false}
|
|
1962
1682
|
>
|