@charcoal-ui/react 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/_lib/useForwardedRef.d.ts +3 -0
  2. package/dist/_lib/useForwardedRef.d.ts.map +1 -0
  3. package/dist/components/Clickable/index.d.ts.map +1 -1
  4. package/dist/components/DropdownSelector/DropdownPopover.d.ts.map +1 -1
  5. package/dist/components/DropdownSelector/Popover/index.d.ts.map +1 -1
  6. package/dist/components/DropdownSelector/Popover/usePreventScroll.d.ts +2 -0
  7. package/dist/components/DropdownSelector/Popover/usePreventScroll.d.ts.map +1 -0
  8. package/dist/components/DropdownSelector/index.story.d.ts +1 -0
  9. package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
  10. package/dist/components/Icon/index.story.d.ts +1 -1
  11. package/dist/components/Modal/Dialog/index.d.ts +26 -0
  12. package/dist/components/Modal/Dialog/index.d.ts.map +1 -0
  13. package/dist/components/Modal/ModalBackgroundContext.d.ts +6 -0
  14. package/dist/components/Modal/ModalBackgroundContext.d.ts.map +1 -0
  15. package/dist/components/Modal/ModalPlumbing.d.ts.map +1 -1
  16. package/dist/components/Modal/__stories__/InternalScrollStory.d.ts +4 -0
  17. package/dist/components/Modal/__stories__/InternalScrollStory.d.ts.map +1 -0
  18. package/dist/components/Modal/index.d.ts +12 -2
  19. package/dist/components/Modal/index.d.ts.map +1 -1
  20. package/dist/components/Modal/index.story.d.ts +3 -2
  21. package/dist/components/Modal/index.story.d.ts.map +1 -1
  22. package/dist/index.cjs.js +388 -299
  23. package/dist/index.cjs.js.map +1 -1
  24. package/dist/index.esm.js +350 -262
  25. package/dist/index.esm.js.map +1 -1
  26. package/package.json +6 -6
  27. package/src/_lib/useForwardedRef.tsx +16 -0
  28. package/src/components/Button/__snapshots__/index.story.storyshot +1971 -0
  29. package/src/components/Checkbox/__snapshots__/index.story.storyshot +390 -0
  30. package/src/components/Clickable/__snapshots__/index.story.storyshot +100 -0
  31. package/src/components/Clickable/index.tsx +17 -35
  32. package/src/components/DropdownSelector/DropdownPopover.tsx +0 -1
  33. package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +245 -0
  34. package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +555 -0
  35. package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +174 -0
  36. package/src/components/DropdownSelector/Popover/index.tsx +17 -2
  37. package/src/components/DropdownSelector/Popover/usePreventScroll.tsx +18 -0
  38. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +1241 -0
  39. package/src/components/DropdownSelector/index.story.tsx +69 -13
  40. package/src/components/Icon/__snapshots__/index.story.storyshot +12 -0
  41. package/src/components/{Button/__snapshots__/index.test.tsx.snap → IconButton/__snapshots__/index.story.storyshot} +94 -91
  42. package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +81 -0
  43. package/src/components/Modal/Dialog/index.tsx +82 -0
  44. package/src/components/Modal/ModalBackgroundContext.tsx +8 -0
  45. package/src/components/Modal/ModalPlumbing.tsx +16 -4
  46. package/src/components/Modal/__snapshots__/index.story.storyshot +533 -0
  47. package/src/components/Modal/__stories__/InternalScrollStory.tsx +75 -0
  48. package/src/components/Modal/index.story.tsx +57 -38
  49. package/src/components/Modal/index.tsx +63 -94
  50. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +511 -0
  51. package/src/components/Radio/__snapshots__/index.story.storyshot +319 -0
  52. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +483 -0
  53. package/src/components/Switch/__snapshots__/index.story.storyshot +454 -0
  54. package/src/components/TagItem/__snapshots__/index.story.storyshot +1181 -0
  55. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +1271 -0
  56. package/src/components/TextField/__snapshots__/TextField.story.storyshot +1800 -0
  57. package/dist/components/Button/index.test.d.ts +0 -4
  58. package/dist/components/Button/index.test.d.ts.map +0 -1
  59. package/src/components/Button/index.test.tsx +0 -24
@@ -0,0 +1,1971 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Storyshots Button Danger 1`] = `
4
+ .c0 {
5
+ cursor: pointer;
6
+ -webkit-appearance: none;
7
+ -moz-appearance: none;
8
+ appearance: none;
9
+ background: transparent;
10
+ padding: 0;
11
+ border-style: none;
12
+ outline: none;
13
+ color: inherit;
14
+ text-rendering: inherit;
15
+ -webkit-letter-spacing: inherit;
16
+ -moz-letter-spacing: inherit;
17
+ -ms-letter-spacing: inherit;
18
+ letter-spacing: inherit;
19
+ word-spacing: inherit;
20
+ font: inherit;
21
+ margin: 0;
22
+ overflow: visible;
23
+ text-transform: none;
24
+ }
25
+
26
+ .c0:disabled,
27
+ .c0[aria-disabled]:not([aria-disabled=false]) {
28
+ cursor: default;
29
+ }
30
+
31
+ .c0:focus {
32
+ outline: none;
33
+ }
34
+
35
+ .c0::-moz-focus-inner {
36
+ border-style: none;
37
+ padding: 0;
38
+ }
39
+
40
+ .c1 {
41
+ width: -webkit-min-content;
42
+ width: -moz-min-content;
43
+ width: min-content;
44
+ display: inline-grid;
45
+ -webkit-align-items: center;
46
+ -webkit-box-align: center;
47
+ -ms-flex-align: center;
48
+ align-items: center;
49
+ -webkit-box-pack: center;
50
+ -webkit-justify-content: center;
51
+ -ms-flex-pack: center;
52
+ justify-content: center;
53
+ cursor: pointer;
54
+ -webkit-user-select: none;
55
+ -moz-user-select: none;
56
+ -ms-user-select: none;
57
+ user-select: none;
58
+ white-space: nowrap;
59
+ color: var(--charcoal-text5);
60
+ background-color: var(--charcoal-assertive);
61
+ font-size: 14px;
62
+ line-height: 22px;
63
+ font-weight: bold;
64
+ padding-right: 24px;
65
+ padding-left: 24px;
66
+ border-radius: 999999px;
67
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
68
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
69
+ height: 40px;
70
+ }
71
+
72
+ .c1:hover:not(:disabled):not([aria-disabled]),
73
+ .c1:hover[aria-disabled=false] {
74
+ color: var(--charcoal-text5-hover);
75
+ }
76
+
77
+ .c1:active:not(:disabled):not([aria-disabled]),
78
+ .c1:active[aria-disabled=false] {
79
+ color: var(--charcoal-text5-press);
80
+ }
81
+
82
+ .c1:hover:not(:disabled):not([aria-disabled]),
83
+ .c1:hover[aria-disabled=false] {
84
+ background-color: var(--charcoal-assertive-hover);
85
+ }
86
+
87
+ .c1:active:not(:disabled):not([aria-disabled]),
88
+ .c1:active[aria-disabled=false] {
89
+ background-color: var(--charcoal-assertive-press);
90
+ }
91
+
92
+ .c1:disabled,
93
+ .c1[aria-disabled]:not([aria-disabled=false]) {
94
+ opacity: 0.32;
95
+ }
96
+
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
+ <div
119
+ data-dark={false}
120
+ >
121
+ <button
122
+ className="c0 c1"
123
+ disabled={false}
124
+ onClick={[Function]}
125
+ >
126
+ Button
127
+ </button>
128
+ </div>
129
+ `;
130
+
131
+ exports[`Storyshots Button Default 1`] = `
132
+ .c0 {
133
+ cursor: pointer;
134
+ -webkit-appearance: none;
135
+ -moz-appearance: none;
136
+ appearance: none;
137
+ background: transparent;
138
+ padding: 0;
139
+ border-style: none;
140
+ outline: none;
141
+ color: inherit;
142
+ text-rendering: inherit;
143
+ -webkit-letter-spacing: inherit;
144
+ -moz-letter-spacing: inherit;
145
+ -ms-letter-spacing: inherit;
146
+ letter-spacing: inherit;
147
+ word-spacing: inherit;
148
+ font: inherit;
149
+ margin: 0;
150
+ overflow: visible;
151
+ text-transform: none;
152
+ }
153
+
154
+ .c0:disabled,
155
+ .c0[aria-disabled]:not([aria-disabled=false]) {
156
+ cursor: default;
157
+ }
158
+
159
+ .c0:focus {
160
+ outline: none;
161
+ }
162
+
163
+ .c0::-moz-focus-inner {
164
+ border-style: none;
165
+ padding: 0;
166
+ }
167
+
168
+ .c1 {
169
+ width: -webkit-min-content;
170
+ width: -moz-min-content;
171
+ width: min-content;
172
+ display: inline-grid;
173
+ -webkit-align-items: center;
174
+ -webkit-box-align: center;
175
+ -ms-flex-align: center;
176
+ align-items: center;
177
+ -webkit-box-pack: center;
178
+ -webkit-justify-content: center;
179
+ -ms-flex-pack: center;
180
+ justify-content: center;
181
+ cursor: pointer;
182
+ -webkit-user-select: none;
183
+ -moz-user-select: none;
184
+ -ms-user-select: none;
185
+ user-select: none;
186
+ white-space: nowrap;
187
+ color: var(--charcoal-text2);
188
+ background-color: var(--charcoal-surface3);
189
+ font-size: 14px;
190
+ line-height: 22px;
191
+ font-weight: bold;
192
+ padding-right: 24px;
193
+ padding-left: 24px;
194
+ border-radius: 999999px;
195
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
196
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
197
+ height: 40px;
198
+ }
199
+
200
+ .c1:hover:not(:disabled):not([aria-disabled]),
201
+ .c1:hover[aria-disabled=false] {
202
+ color: var(--charcoal-text2-hover);
203
+ }
204
+
205
+ .c1:active:not(:disabled):not([aria-disabled]),
206
+ .c1:active[aria-disabled=false] {
207
+ color: var(--charcoal-text2-press);
208
+ }
209
+
210
+ .c1:hover:not(:disabled):not([aria-disabled]),
211
+ .c1:hover[aria-disabled=false] {
212
+ background-color: var(--charcoal-surface3-hover);
213
+ }
214
+
215
+ .c1:active:not(:disabled):not([aria-disabled]),
216
+ .c1:active[aria-disabled=false] {
217
+ background-color: var(--charcoal-surface3-press);
218
+ }
219
+
220
+ .c1:disabled,
221
+ .c1[aria-disabled]:not([aria-disabled=false]) {
222
+ opacity: 0.32;
223
+ }
224
+
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
+ <div
247
+ data-dark={false}
248
+ >
249
+ <button
250
+ className="c0 c1"
251
+ disabled={false}
252
+ onClick={[Function]}
253
+ >
254
+ Button
255
+ </button>
256
+ </div>
257
+ `;
258
+
259
+ exports[`Storyshots Button Disabled 1`] = `
260
+ .c0 {
261
+ cursor: pointer;
262
+ -webkit-appearance: none;
263
+ -moz-appearance: none;
264
+ appearance: none;
265
+ background: transparent;
266
+ padding: 0;
267
+ border-style: none;
268
+ outline: none;
269
+ color: inherit;
270
+ text-rendering: inherit;
271
+ -webkit-letter-spacing: inherit;
272
+ -moz-letter-spacing: inherit;
273
+ -ms-letter-spacing: inherit;
274
+ letter-spacing: inherit;
275
+ word-spacing: inherit;
276
+ font: inherit;
277
+ margin: 0;
278
+ overflow: visible;
279
+ text-transform: none;
280
+ }
281
+
282
+ .c0:disabled,
283
+ .c0[aria-disabled]:not([aria-disabled=false]) {
284
+ cursor: default;
285
+ }
286
+
287
+ .c0:focus {
288
+ outline: none;
289
+ }
290
+
291
+ .c0::-moz-focus-inner {
292
+ border-style: none;
293
+ padding: 0;
294
+ }
295
+
296
+ .c1 {
297
+ width: -webkit-min-content;
298
+ width: -moz-min-content;
299
+ width: min-content;
300
+ display: inline-grid;
301
+ -webkit-align-items: center;
302
+ -webkit-box-align: center;
303
+ -ms-flex-align: center;
304
+ align-items: center;
305
+ -webkit-box-pack: center;
306
+ -webkit-justify-content: center;
307
+ -ms-flex-pack: center;
308
+ justify-content: center;
309
+ cursor: pointer;
310
+ -webkit-user-select: none;
311
+ -moz-user-select: none;
312
+ -ms-user-select: none;
313
+ user-select: none;
314
+ white-space: nowrap;
315
+ color: var(--charcoal-text2);
316
+ background-color: var(--charcoal-surface3);
317
+ font-size: 14px;
318
+ line-height: 22px;
319
+ font-weight: bold;
320
+ padding-right: 24px;
321
+ padding-left: 24px;
322
+ border-radius: 999999px;
323
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
324
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
325
+ height: 40px;
326
+ }
327
+
328
+ .c1:hover:not(:disabled):not([aria-disabled]),
329
+ .c1:hover[aria-disabled=false] {
330
+ color: var(--charcoal-text2-hover);
331
+ }
332
+
333
+ .c1:active:not(:disabled):not([aria-disabled]),
334
+ .c1:active[aria-disabled=false] {
335
+ color: var(--charcoal-text2-press);
336
+ }
337
+
338
+ .c1:hover:not(:disabled):not([aria-disabled]),
339
+ .c1:hover[aria-disabled=false] {
340
+ background-color: var(--charcoal-surface3-hover);
341
+ }
342
+
343
+ .c1:active:not(:disabled):not([aria-disabled]),
344
+ .c1:active[aria-disabled=false] {
345
+ background-color: var(--charcoal-surface3-press);
346
+ }
347
+
348
+ .c1:disabled,
349
+ .c1[aria-disabled]:not([aria-disabled=false]) {
350
+ opacity: 0.32;
351
+ }
352
+
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
+ <div
375
+ data-dark={false}
376
+ >
377
+ <button
378
+ className="c0 c1"
379
+ disabled={true}
380
+ onClick={[Function]}
381
+ >
382
+ Button
383
+ </button>
384
+ </div>
385
+ `;
386
+
387
+ exports[`Storyshots Button Fixed 1`] = `
388
+ .c0 {
389
+ cursor: pointer;
390
+ -webkit-appearance: none;
391
+ -moz-appearance: none;
392
+ appearance: none;
393
+ background: transparent;
394
+ padding: 0;
395
+ border-style: none;
396
+ outline: none;
397
+ color: inherit;
398
+ text-rendering: inherit;
399
+ -webkit-letter-spacing: inherit;
400
+ -moz-letter-spacing: inherit;
401
+ -ms-letter-spacing: inherit;
402
+ letter-spacing: inherit;
403
+ word-spacing: inherit;
404
+ font: inherit;
405
+ margin: 0;
406
+ overflow: visible;
407
+ text-transform: none;
408
+ }
409
+
410
+ .c0:disabled,
411
+ .c0[aria-disabled]:not([aria-disabled=false]) {
412
+ cursor: default;
413
+ }
414
+
415
+ .c0:focus {
416
+ outline: none;
417
+ }
418
+
419
+ .c0::-moz-focus-inner {
420
+ border-style: none;
421
+ padding: 0;
422
+ }
423
+
424
+ .c1 {
425
+ width: -webkit-fill-available;
426
+ width: -moz-available;
427
+ width: stretch;
428
+ display: inline-grid;
429
+ -webkit-align-items: center;
430
+ -webkit-box-align: center;
431
+ -ms-flex-align: center;
432
+ align-items: center;
433
+ -webkit-box-pack: center;
434
+ -webkit-justify-content: center;
435
+ -ms-flex-pack: center;
436
+ justify-content: center;
437
+ cursor: pointer;
438
+ -webkit-user-select: none;
439
+ -moz-user-select: none;
440
+ -ms-user-select: none;
441
+ user-select: none;
442
+ white-space: nowrap;
443
+ color: var(--charcoal-text2);
444
+ background-color: var(--charcoal-surface3);
445
+ font-size: 14px;
446
+ line-height: 22px;
447
+ font-weight: bold;
448
+ padding-right: 24px;
449
+ padding-left: 24px;
450
+ border-radius: 999999px;
451
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
452
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
453
+ height: 40px;
454
+ }
455
+
456
+ .c1:hover:not(:disabled):not([aria-disabled]),
457
+ .c1:hover[aria-disabled=false] {
458
+ color: var(--charcoal-text2-hover);
459
+ }
460
+
461
+ .c1:active:not(:disabled):not([aria-disabled]),
462
+ .c1:active[aria-disabled=false] {
463
+ color: var(--charcoal-text2-press);
464
+ }
465
+
466
+ .c1:hover:not(:disabled):not([aria-disabled]),
467
+ .c1:hover[aria-disabled=false] {
468
+ background-color: var(--charcoal-surface3-hover);
469
+ }
470
+
471
+ .c1:active:not(:disabled):not([aria-disabled]),
472
+ .c1:active[aria-disabled=false] {
473
+ background-color: var(--charcoal-surface3-press);
474
+ }
475
+
476
+ .c1:disabled,
477
+ .c1[aria-disabled]:not([aria-disabled=false]) {
478
+ opacity: 0.32;
479
+ }
480
+
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
+ <div
503
+ data-dark={false}
504
+ >
505
+ <button
506
+ className="c0 c1"
507
+ disabled={false}
508
+ onClick={[Function]}
509
+ >
510
+ Button
511
+ </button>
512
+ </div>
513
+ `;
514
+
515
+ exports[`Storyshots Button Focus 1`] = `
516
+ .c0 {
517
+ cursor: pointer;
518
+ -webkit-appearance: none;
519
+ -moz-appearance: none;
520
+ appearance: none;
521
+ background: transparent;
522
+ padding: 0;
523
+ border-style: none;
524
+ outline: none;
525
+ color: inherit;
526
+ text-rendering: inherit;
527
+ -webkit-letter-spacing: inherit;
528
+ -moz-letter-spacing: inherit;
529
+ -ms-letter-spacing: inherit;
530
+ letter-spacing: inherit;
531
+ word-spacing: inherit;
532
+ font: inherit;
533
+ margin: 0;
534
+ overflow: visible;
535
+ text-transform: none;
536
+ }
537
+
538
+ .c0:disabled,
539
+ .c0[aria-disabled]:not([aria-disabled=false]) {
540
+ cursor: default;
541
+ }
542
+
543
+ .c0:focus {
544
+ outline: none;
545
+ }
546
+
547
+ .c0::-moz-focus-inner {
548
+ border-style: none;
549
+ padding: 0;
550
+ }
551
+
552
+ .c1 {
553
+ width: -webkit-min-content;
554
+ width: -moz-min-content;
555
+ width: min-content;
556
+ display: inline-grid;
557
+ -webkit-align-items: center;
558
+ -webkit-box-align: center;
559
+ -ms-flex-align: center;
560
+ align-items: center;
561
+ -webkit-box-pack: center;
562
+ -webkit-justify-content: center;
563
+ -ms-flex-pack: center;
564
+ justify-content: center;
565
+ cursor: pointer;
566
+ -webkit-user-select: none;
567
+ -moz-user-select: none;
568
+ -ms-user-select: none;
569
+ user-select: none;
570
+ white-space: nowrap;
571
+ color: var(--charcoal-text2);
572
+ background-color: var(--charcoal-surface3);
573
+ font-size: 14px;
574
+ line-height: 22px;
575
+ font-weight: bold;
576
+ padding-right: 24px;
577
+ padding-left: 24px;
578
+ border-radius: 999999px;
579
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
580
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
581
+ height: 40px;
582
+ }
583
+
584
+ .c1:hover:not(:disabled):not([aria-disabled]),
585
+ .c1:hover[aria-disabled=false] {
586
+ color: var(--charcoal-text2-hover);
587
+ }
588
+
589
+ .c1:active:not(:disabled):not([aria-disabled]),
590
+ .c1:active[aria-disabled=false] {
591
+ color: var(--charcoal-text2-press);
592
+ }
593
+
594
+ .c1:hover:not(:disabled):not([aria-disabled]),
595
+ .c1:hover[aria-disabled=false] {
596
+ background-color: var(--charcoal-surface3-hover);
597
+ }
598
+
599
+ .c1:active:not(:disabled):not([aria-disabled]),
600
+ .c1:active[aria-disabled=false] {
601
+ background-color: var(--charcoal-surface3-press);
602
+ }
603
+
604
+ .c1:disabled,
605
+ .c1[aria-disabled]:not([aria-disabled=false]) {
606
+ opacity: 0.32;
607
+ }
608
+
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
+ <div
631
+ data-dark={false}
632
+ >
633
+ <button
634
+ className="c0 c1"
635
+ disabled={false}
636
+ onMouseOver={[Function]}
637
+ >
638
+ Mouse over to focus
639
+ </button>
640
+ </div>
641
+ `;
642
+
643
+ exports[`Storyshots Button Layout Example 1`] = `
644
+ .c0 {
645
+ cursor: pointer;
646
+ -webkit-appearance: none;
647
+ -moz-appearance: none;
648
+ appearance: none;
649
+ background: transparent;
650
+ padding: 0;
651
+ border-style: none;
652
+ outline: none;
653
+ color: inherit;
654
+ text-rendering: inherit;
655
+ -webkit-letter-spacing: inherit;
656
+ -moz-letter-spacing: inherit;
657
+ -ms-letter-spacing: inherit;
658
+ letter-spacing: inherit;
659
+ word-spacing: inherit;
660
+ font: inherit;
661
+ margin: 0;
662
+ overflow: visible;
663
+ text-transform: none;
664
+ }
665
+
666
+ .c0:disabled,
667
+ .c0[aria-disabled]:not([aria-disabled=false]) {
668
+ cursor: default;
669
+ }
670
+
671
+ .c0:focus {
672
+ outline: none;
673
+ }
674
+
675
+ .c0::-moz-focus-inner {
676
+ border-style: none;
677
+ padding: 0;
678
+ }
679
+
680
+ .c1 {
681
+ width: -webkit-min-content;
682
+ width: -moz-min-content;
683
+ width: min-content;
684
+ display: inline-grid;
685
+ -webkit-align-items: center;
686
+ -webkit-box-align: center;
687
+ -ms-flex-align: center;
688
+ align-items: center;
689
+ -webkit-box-pack: center;
690
+ -webkit-justify-content: center;
691
+ -ms-flex-pack: center;
692
+ justify-content: center;
693
+ cursor: pointer;
694
+ -webkit-user-select: none;
695
+ -moz-user-select: none;
696
+ -ms-user-select: none;
697
+ user-select: none;
698
+ white-space: nowrap;
699
+ color: var(--charcoal-text2);
700
+ background-color: var(--charcoal-surface3);
701
+ font-size: 14px;
702
+ line-height: 22px;
703
+ font-weight: bold;
704
+ padding-right: 24px;
705
+ padding-left: 24px;
706
+ border-radius: 999999px;
707
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
708
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
709
+ height: 40px;
710
+ }
711
+
712
+ .c1:hover:not(:disabled):not([aria-disabled]),
713
+ .c1:hover[aria-disabled=false] {
714
+ color: var(--charcoal-text2-hover);
715
+ }
716
+
717
+ .c1:active:not(:disabled):not([aria-disabled]),
718
+ .c1:active[aria-disabled=false] {
719
+ color: var(--charcoal-text2-press);
720
+ }
721
+
722
+ .c1:hover:not(:disabled):not([aria-disabled]),
723
+ .c1:hover[aria-disabled=false] {
724
+ background-color: var(--charcoal-surface3-hover);
725
+ }
726
+
727
+ .c1:active:not(:disabled):not([aria-disabled]),
728
+ .c1:active[aria-disabled=false] {
729
+ background-color: var(--charcoal-surface3-press);
730
+ }
731
+
732
+ .c1:disabled,
733
+ .c1[aria-disabled]:not([aria-disabled=false]) {
734
+ opacity: 0.32;
735
+ }
736
+
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
+ .c2 {
759
+ width: -webkit-min-content;
760
+ width: -moz-min-content;
761
+ width: min-content;
762
+ display: inline-grid;
763
+ -webkit-align-items: center;
764
+ -webkit-box-align: center;
765
+ -ms-flex-align: center;
766
+ align-items: center;
767
+ -webkit-box-pack: center;
768
+ -webkit-justify-content: center;
769
+ -ms-flex-pack: center;
770
+ justify-content: center;
771
+ cursor: pointer;
772
+ -webkit-user-select: none;
773
+ -moz-user-select: none;
774
+ -ms-user-select: none;
775
+ user-select: none;
776
+ white-space: nowrap;
777
+ color: var(--charcoal-text5);
778
+ background-color: var(--charcoal-surface6);
779
+ font-size: 14px;
780
+ line-height: 22px;
781
+ font-weight: bold;
782
+ padding-right: 24px;
783
+ padding-left: 24px;
784
+ border-radius: 999999px;
785
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
786
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
787
+ height: 40px;
788
+ }
789
+
790
+ .c2:hover:not(:disabled):not([aria-disabled]),
791
+ .c2:hover[aria-disabled=false] {
792
+ color: var(--charcoal-text5-hover);
793
+ }
794
+
795
+ .c2:active:not(:disabled):not([aria-disabled]),
796
+ .c2:active[aria-disabled=false] {
797
+ color: var(--charcoal-text5-press);
798
+ }
799
+
800
+ .c2:hover:not(:disabled):not([aria-disabled]),
801
+ .c2:hover[aria-disabled=false] {
802
+ background-color: var(--charcoal-surface6-hover);
803
+ }
804
+
805
+ .c2:active:not(:disabled):not([aria-disabled]),
806
+ .c2:active[aria-disabled=false] {
807
+ background-color: var(--charcoal-surface6-press);
808
+ }
809
+
810
+ .c2:disabled,
811
+ .c2[aria-disabled]:not([aria-disabled=false]) {
812
+ opacity: 0.32;
813
+ }
814
+
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
+ .c3 {
837
+ width: -webkit-min-content;
838
+ width: -moz-min-content;
839
+ width: min-content;
840
+ display: inline-grid;
841
+ -webkit-align-items: center;
842
+ -webkit-box-align: center;
843
+ -ms-flex-align: center;
844
+ align-items: center;
845
+ -webkit-box-pack: center;
846
+ -webkit-justify-content: center;
847
+ -ms-flex-pack: center;
848
+ justify-content: center;
849
+ cursor: pointer;
850
+ -webkit-user-select: none;
851
+ -moz-user-select: none;
852
+ -ms-user-select: none;
853
+ user-select: none;
854
+ white-space: nowrap;
855
+ color: var(--charcoal-text5);
856
+ background-color: var(--charcoal-assertive);
857
+ font-size: 14px;
858
+ line-height: 22px;
859
+ font-weight: bold;
860
+ padding-right: 24px;
861
+ padding-left: 24px;
862
+ border-radius: 999999px;
863
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
864
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
865
+ height: 40px;
866
+ }
867
+
868
+ .c3:hover:not(:disabled):not([aria-disabled]),
869
+ .c3:hover[aria-disabled=false] {
870
+ color: var(--charcoal-text5-hover);
871
+ }
872
+
873
+ .c3:active:not(:disabled):not([aria-disabled]),
874
+ .c3:active[aria-disabled=false] {
875
+ color: var(--charcoal-text5-press);
876
+ }
877
+
878
+ .c3:hover:not(:disabled):not([aria-disabled]),
879
+ .c3:hover[aria-disabled=false] {
880
+ background-color: var(--charcoal-assertive-hover);
881
+ }
882
+
883
+ .c3:active:not(:disabled):not([aria-disabled]),
884
+ .c3:active[aria-disabled=false] {
885
+ background-color: var(--charcoal-assertive-press);
886
+ }
887
+
888
+ .c3:disabled,
889
+ .c3[aria-disabled]:not([aria-disabled=false]) {
890
+ opacity: 0.32;
891
+ }
892
+
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
+ .c4 {
915
+ width: -webkit-fill-available;
916
+ width: -moz-available;
917
+ width: stretch;
918
+ display: inline-grid;
919
+ -webkit-align-items: center;
920
+ -webkit-box-align: center;
921
+ -ms-flex-align: center;
922
+ align-items: center;
923
+ -webkit-box-pack: center;
924
+ -webkit-justify-content: center;
925
+ -ms-flex-pack: center;
926
+ justify-content: center;
927
+ cursor: pointer;
928
+ -webkit-user-select: none;
929
+ -moz-user-select: none;
930
+ -ms-user-select: none;
931
+ user-select: none;
932
+ white-space: nowrap;
933
+ color: var(--charcoal-text5);
934
+ background-color: var(--charcoal-brand);
935
+ font-size: 14px;
936
+ line-height: 22px;
937
+ font-weight: bold;
938
+ padding-right: 24px;
939
+ padding-left: 24px;
940
+ border-radius: 999999px;
941
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
942
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
943
+ height: 40px;
944
+ }
945
+
946
+ .c4:hover:not(:disabled):not([aria-disabled]),
947
+ .c4:hover[aria-disabled=false] {
948
+ color: var(--charcoal-text5-hover);
949
+ }
950
+
951
+ .c4:active:not(:disabled):not([aria-disabled]),
952
+ .c4:active[aria-disabled=false] {
953
+ color: var(--charcoal-text5-press);
954
+ }
955
+
956
+ .c4:hover:not(:disabled):not([aria-disabled]),
957
+ .c4:hover[aria-disabled=false] {
958
+ background-color: var(--charcoal-brand-hover);
959
+ }
960
+
961
+ .c4:active:not(:disabled):not([aria-disabled]),
962
+ .c4:active[aria-disabled=false] {
963
+ background-color: var(--charcoal-brand-press);
964
+ }
965
+
966
+ .c4:disabled,
967
+ .c4[aria-disabled]:not([aria-disabled=false]) {
968
+ opacity: 0.32;
969
+ }
970
+
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
+ .c5 {
993
+ width: -webkit-fill-available;
994
+ width: -moz-available;
995
+ width: stretch;
996
+ display: inline-grid;
997
+ -webkit-align-items: center;
998
+ -webkit-box-align: center;
999
+ -ms-flex-align: center;
1000
+ align-items: center;
1001
+ -webkit-box-pack: center;
1002
+ -webkit-justify-content: center;
1003
+ -ms-flex-pack: center;
1004
+ justify-content: center;
1005
+ cursor: pointer;
1006
+ -webkit-user-select: none;
1007
+ -moz-user-select: none;
1008
+ -ms-user-select: none;
1009
+ user-select: none;
1010
+ white-space: nowrap;
1011
+ color: var(--charcoal-text2);
1012
+ background-color: var(--charcoal-surface3);
1013
+ font-size: 14px;
1014
+ line-height: 22px;
1015
+ font-weight: bold;
1016
+ padding-right: 24px;
1017
+ padding-left: 24px;
1018
+ border-radius: 999999px;
1019
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1020
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1021
+ height: 40px;
1022
+ }
1023
+
1024
+ .c5:hover:not(:disabled):not([aria-disabled]),
1025
+ .c5:hover[aria-disabled=false] {
1026
+ color: var(--charcoal-text2-hover);
1027
+ }
1028
+
1029
+ .c5:active:not(:disabled):not([aria-disabled]),
1030
+ .c5:active[aria-disabled=false] {
1031
+ color: var(--charcoal-text2-press);
1032
+ }
1033
+
1034
+ .c5:hover:not(:disabled):not([aria-disabled]),
1035
+ .c5:hover[aria-disabled=false] {
1036
+ background-color: var(--charcoal-surface3-hover);
1037
+ }
1038
+
1039
+ .c5:active:not(:disabled):not([aria-disabled]),
1040
+ .c5:active[aria-disabled=false] {
1041
+ background-color: var(--charcoal-surface3-press);
1042
+ }
1043
+
1044
+ .c5:disabled,
1045
+ .c5[aria-disabled]:not([aria-disabled=false]) {
1046
+ opacity: 0.32;
1047
+ }
1048
+
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
+ <div
1071
+ data-dark={false}
1072
+ >
1073
+ <div
1074
+ css="
1075
+ display: grid;
1076
+ gap: 24px;
1077
+ "
1078
+ >
1079
+ <div
1080
+ css="
1081
+ display: grid;
1082
+ grid: auto / auto-flow min-content;
1083
+ gap: 8px;
1084
+ "
1085
+ >
1086
+ <button
1087
+ className="c0 c1"
1088
+ disabled={false}
1089
+ >
1090
+ Grid
1091
+ </button>
1092
+ <button
1093
+ className="c0 c2"
1094
+ disabled={false}
1095
+ >
1096
+ Layout
1097
+ </button>
1098
+ <button
1099
+ className="c0 c3"
1100
+ disabled={false}
1101
+ >
1102
+ Sample
1103
+ </button>
1104
+ </div>
1105
+ <div
1106
+ css="
1107
+ display: grid;
1108
+ grid: auto-flow auto / 392px;
1109
+ gap: 8px;
1110
+ "
1111
+ >
1112
+ <button
1113
+ className="c0 c4"
1114
+ disabled={false}
1115
+ >
1116
+ Submit
1117
+ </button>
1118
+ <button
1119
+ className="c0 c5"
1120
+ disabled={false}
1121
+ >
1122
+ Cancel
1123
+ </button>
1124
+ </div>
1125
+ <div
1126
+ css="
1127
+ display: flex;
1128
+
1129
+ & > * + * {
1130
+ margin-left: 8px;
1131
+ }
1132
+ "
1133
+ >
1134
+ <button
1135
+ className="c0 c1"
1136
+ disabled={false}
1137
+ >
1138
+ Flex
1139
+ </button>
1140
+ <button
1141
+ className="c0 c2"
1142
+ disabled={false}
1143
+ >
1144
+ Layout
1145
+ </button>
1146
+ <button
1147
+ className="c0 c3"
1148
+ disabled={false}
1149
+ >
1150
+ Sample
1151
+ </button>
1152
+ </div>
1153
+ <div
1154
+ css="
1155
+ display: flex;
1156
+ flex-direction: column;
1157
+ width: 392px;
1158
+
1159
+ & > * + * {
1160
+ margin-top: 8px;
1161
+ }
1162
+ "
1163
+ >
1164
+ <button
1165
+ className="c0 c4"
1166
+ disabled={false}
1167
+ >
1168
+ Submit
1169
+ </button>
1170
+ <button
1171
+ className="c0 c5"
1172
+ disabled={false}
1173
+ >
1174
+ Cancel
1175
+ </button>
1176
+ </div>
1177
+ <div
1178
+ css="
1179
+ display: flex;
1180
+ flex-direction: column;
1181
+ width: 392px;
1182
+
1183
+ & > * + * {
1184
+ margin-top: 8px;
1185
+ }
1186
+ "
1187
+ >
1188
+ <button
1189
+ className="c0 c4"
1190
+ disabled={false}
1191
+ >
1192
+ すべて見る
1193
+ </button>
1194
+ <button
1195
+ className="c0 c1"
1196
+ disabled={false}
1197
+ >
1198
+ 作品を投稿
1199
+ </button>
1200
+ </div>
1201
+ </div>
1202
+ </div>
1203
+ `;
1204
+
1205
+ exports[`Storyshots Button Link 1`] = `
1206
+ .c0 {
1207
+ cursor: pointer;
1208
+ -webkit-appearance: none;
1209
+ -moz-appearance: none;
1210
+ appearance: none;
1211
+ background: transparent;
1212
+ padding: 0;
1213
+ border-style: none;
1214
+ outline: none;
1215
+ color: inherit;
1216
+ text-rendering: inherit;
1217
+ -webkit-letter-spacing: inherit;
1218
+ -moz-letter-spacing: inherit;
1219
+ -ms-letter-spacing: inherit;
1220
+ letter-spacing: inherit;
1221
+ word-spacing: inherit;
1222
+ font: inherit;
1223
+ margin: 0;
1224
+ overflow: visible;
1225
+ text-transform: none;
1226
+ }
1227
+
1228
+ .c0:disabled,
1229
+ .c0[aria-disabled]:not([aria-disabled=false]) {
1230
+ cursor: default;
1231
+ }
1232
+
1233
+ .c0:focus {
1234
+ outline: none;
1235
+ }
1236
+
1237
+ .c0::-moz-focus-inner {
1238
+ border-style: none;
1239
+ padding: 0;
1240
+ }
1241
+
1242
+ .c1 {
1243
+ width: -webkit-min-content;
1244
+ width: -moz-min-content;
1245
+ width: min-content;
1246
+ display: inline-grid;
1247
+ -webkit-align-items: center;
1248
+ -webkit-box-align: center;
1249
+ -ms-flex-align: center;
1250
+ align-items: center;
1251
+ -webkit-box-pack: center;
1252
+ -webkit-justify-content: center;
1253
+ -ms-flex-pack: center;
1254
+ justify-content: center;
1255
+ cursor: pointer;
1256
+ -webkit-user-select: none;
1257
+ -moz-user-select: none;
1258
+ -ms-user-select: none;
1259
+ user-select: none;
1260
+ white-space: nowrap;
1261
+ color: var(--charcoal-text2);
1262
+ background-color: var(--charcoal-surface3);
1263
+ font-size: 14px;
1264
+ line-height: 22px;
1265
+ font-weight: bold;
1266
+ padding-right: 24px;
1267
+ padding-left: 24px;
1268
+ border-radius: 999999px;
1269
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1270
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1271
+ height: 40px;
1272
+ }
1273
+
1274
+ .c1:hover:not(:disabled):not([aria-disabled]),
1275
+ .c1:hover[aria-disabled=false] {
1276
+ color: var(--charcoal-text2-hover);
1277
+ }
1278
+
1279
+ .c1:active:not(:disabled):not([aria-disabled]),
1280
+ .c1:active[aria-disabled=false] {
1281
+ color: var(--charcoal-text2-press);
1282
+ }
1283
+
1284
+ .c1:hover:not(:disabled):not([aria-disabled]),
1285
+ .c1:hover[aria-disabled=false] {
1286
+ background-color: var(--charcoal-surface3-hover);
1287
+ }
1288
+
1289
+ .c1:active:not(:disabled):not([aria-disabled]),
1290
+ .c1:active[aria-disabled=false] {
1291
+ background-color: var(--charcoal-surface3-press);
1292
+ }
1293
+
1294
+ .c1:disabled,
1295
+ .c1[aria-disabled]:not([aria-disabled=false]) {
1296
+ opacity: 0.32;
1297
+ }
1298
+
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
+ <div
1321
+ data-dark={false}
1322
+ >
1323
+ <a
1324
+ className="c0 c1"
1325
+ href="#"
1326
+ onClick={[Function]}
1327
+ >
1328
+ Button
1329
+ </a>
1330
+ </div>
1331
+ `;
1332
+
1333
+ exports[`Storyshots Button Navigation 1`] = `
1334
+ .c0 {
1335
+ cursor: pointer;
1336
+ -webkit-appearance: none;
1337
+ -moz-appearance: none;
1338
+ appearance: none;
1339
+ background: transparent;
1340
+ padding: 0;
1341
+ border-style: none;
1342
+ outline: none;
1343
+ color: inherit;
1344
+ text-rendering: inherit;
1345
+ -webkit-letter-spacing: inherit;
1346
+ -moz-letter-spacing: inherit;
1347
+ -ms-letter-spacing: inherit;
1348
+ letter-spacing: inherit;
1349
+ word-spacing: inherit;
1350
+ font: inherit;
1351
+ margin: 0;
1352
+ overflow: visible;
1353
+ text-transform: none;
1354
+ }
1355
+
1356
+ .c0:disabled,
1357
+ .c0[aria-disabled]:not([aria-disabled=false]) {
1358
+ cursor: default;
1359
+ }
1360
+
1361
+ .c0:focus {
1362
+ outline: none;
1363
+ }
1364
+
1365
+ .c0::-moz-focus-inner {
1366
+ border-style: none;
1367
+ padding: 0;
1368
+ }
1369
+
1370
+ .c1 {
1371
+ width: -webkit-min-content;
1372
+ width: -moz-min-content;
1373
+ width: min-content;
1374
+ display: inline-grid;
1375
+ -webkit-align-items: center;
1376
+ -webkit-box-align: center;
1377
+ -ms-flex-align: center;
1378
+ align-items: center;
1379
+ -webkit-box-pack: center;
1380
+ -webkit-justify-content: center;
1381
+ -ms-flex-pack: center;
1382
+ justify-content: center;
1383
+ cursor: pointer;
1384
+ -webkit-user-select: none;
1385
+ -moz-user-select: none;
1386
+ -ms-user-select: none;
1387
+ user-select: none;
1388
+ white-space: nowrap;
1389
+ color: var(--charcoal-text5);
1390
+ background-color: var(--charcoal-surface6);
1391
+ font-size: 14px;
1392
+ line-height: 22px;
1393
+ font-weight: bold;
1394
+ padding-right: 24px;
1395
+ padding-left: 24px;
1396
+ border-radius: 999999px;
1397
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1398
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1399
+ height: 40px;
1400
+ }
1401
+
1402
+ .c1:hover:not(:disabled):not([aria-disabled]),
1403
+ .c1:hover[aria-disabled=false] {
1404
+ color: var(--charcoal-text5-hover);
1405
+ }
1406
+
1407
+ .c1:active:not(:disabled):not([aria-disabled]),
1408
+ .c1:active[aria-disabled=false] {
1409
+ color: var(--charcoal-text5-press);
1410
+ }
1411
+
1412
+ .c1:hover:not(:disabled):not([aria-disabled]),
1413
+ .c1:hover[aria-disabled=false] {
1414
+ background-color: var(--charcoal-surface6-hover);
1415
+ }
1416
+
1417
+ .c1:active:not(:disabled):not([aria-disabled]),
1418
+ .c1:active[aria-disabled=false] {
1419
+ background-color: var(--charcoal-surface6-press);
1420
+ }
1421
+
1422
+ .c1:disabled,
1423
+ .c1[aria-disabled]:not([aria-disabled=false]) {
1424
+ opacity: 0.32;
1425
+ }
1426
+
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
+ <div
1449
+ data-dark={false}
1450
+ >
1451
+ <button
1452
+ className="c0 c1"
1453
+ disabled={false}
1454
+ onClick={[Function]}
1455
+ >
1456
+ Button
1457
+ </button>
1458
+ </div>
1459
+ `;
1460
+
1461
+ exports[`Storyshots Button Nihongo 1`] = `
1462
+ .c0 {
1463
+ cursor: pointer;
1464
+ -webkit-appearance: none;
1465
+ -moz-appearance: none;
1466
+ appearance: none;
1467
+ background: transparent;
1468
+ padding: 0;
1469
+ border-style: none;
1470
+ outline: none;
1471
+ color: inherit;
1472
+ text-rendering: inherit;
1473
+ -webkit-letter-spacing: inherit;
1474
+ -moz-letter-spacing: inherit;
1475
+ -ms-letter-spacing: inherit;
1476
+ letter-spacing: inherit;
1477
+ word-spacing: inherit;
1478
+ font: inherit;
1479
+ margin: 0;
1480
+ overflow: visible;
1481
+ text-transform: none;
1482
+ }
1483
+
1484
+ .c0:disabled,
1485
+ .c0[aria-disabled]:not([aria-disabled=false]) {
1486
+ cursor: default;
1487
+ }
1488
+
1489
+ .c0:focus {
1490
+ outline: none;
1491
+ }
1492
+
1493
+ .c0::-moz-focus-inner {
1494
+ border-style: none;
1495
+ padding: 0;
1496
+ }
1497
+
1498
+ .c1 {
1499
+ width: -webkit-min-content;
1500
+ width: -moz-min-content;
1501
+ width: min-content;
1502
+ display: inline-grid;
1503
+ -webkit-align-items: center;
1504
+ -webkit-box-align: center;
1505
+ -ms-flex-align: center;
1506
+ align-items: center;
1507
+ -webkit-box-pack: center;
1508
+ -webkit-justify-content: center;
1509
+ -ms-flex-pack: center;
1510
+ justify-content: center;
1511
+ cursor: pointer;
1512
+ -webkit-user-select: none;
1513
+ -moz-user-select: none;
1514
+ -ms-user-select: none;
1515
+ user-select: none;
1516
+ white-space: nowrap;
1517
+ color: var(--charcoal-text2);
1518
+ background-color: var(--charcoal-surface3);
1519
+ font-size: 14px;
1520
+ line-height: 22px;
1521
+ font-weight: bold;
1522
+ padding-right: 24px;
1523
+ padding-left: 24px;
1524
+ border-radius: 999999px;
1525
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1526
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1527
+ height: 40px;
1528
+ }
1529
+
1530
+ .c1:hover:not(:disabled):not([aria-disabled]),
1531
+ .c1:hover[aria-disabled=false] {
1532
+ color: var(--charcoal-text2-hover);
1533
+ }
1534
+
1535
+ .c1:active:not(:disabled):not([aria-disabled]),
1536
+ .c1:active[aria-disabled=false] {
1537
+ color: var(--charcoal-text2-press);
1538
+ }
1539
+
1540
+ .c1:hover:not(:disabled):not([aria-disabled]),
1541
+ .c1:hover[aria-disabled=false] {
1542
+ background-color: var(--charcoal-surface3-hover);
1543
+ }
1544
+
1545
+ .c1:active:not(:disabled):not([aria-disabled]),
1546
+ .c1:active[aria-disabled=false] {
1547
+ background-color: var(--charcoal-surface3-press);
1548
+ }
1549
+
1550
+ .c1:disabled,
1551
+ .c1[aria-disabled]:not([aria-disabled=false]) {
1552
+ opacity: 0.32;
1553
+ }
1554
+
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
+ <div
1577
+ data-dark={false}
1578
+ >
1579
+ <button
1580
+ className="c0 c1"
1581
+ disabled={false}
1582
+ onClick={[Function]}
1583
+ >
1584
+ 日本語だよ
1585
+ </button>
1586
+ </div>
1587
+ `;
1588
+
1589
+ exports[`Storyshots Button Overlay 1`] = `
1590
+ .c0 {
1591
+ cursor: pointer;
1592
+ -webkit-appearance: none;
1593
+ -moz-appearance: none;
1594
+ appearance: none;
1595
+ background: transparent;
1596
+ padding: 0;
1597
+ border-style: none;
1598
+ outline: none;
1599
+ color: inherit;
1600
+ text-rendering: inherit;
1601
+ -webkit-letter-spacing: inherit;
1602
+ -moz-letter-spacing: inherit;
1603
+ -ms-letter-spacing: inherit;
1604
+ letter-spacing: inherit;
1605
+ word-spacing: inherit;
1606
+ font: inherit;
1607
+ margin: 0;
1608
+ overflow: visible;
1609
+ text-transform: none;
1610
+ }
1611
+
1612
+ .c0:disabled,
1613
+ .c0[aria-disabled]:not([aria-disabled=false]) {
1614
+ cursor: default;
1615
+ }
1616
+
1617
+ .c0:focus {
1618
+ outline: none;
1619
+ }
1620
+
1621
+ .c0::-moz-focus-inner {
1622
+ border-style: none;
1623
+ padding: 0;
1624
+ }
1625
+
1626
+ .c1 {
1627
+ width: -webkit-min-content;
1628
+ width: -moz-min-content;
1629
+ width: min-content;
1630
+ display: inline-grid;
1631
+ -webkit-align-items: center;
1632
+ -webkit-box-align: center;
1633
+ -ms-flex-align: center;
1634
+ align-items: center;
1635
+ -webkit-box-pack: center;
1636
+ -webkit-justify-content: center;
1637
+ -ms-flex-pack: center;
1638
+ justify-content: center;
1639
+ cursor: pointer;
1640
+ -webkit-user-select: none;
1641
+ -moz-user-select: none;
1642
+ -ms-user-select: none;
1643
+ user-select: none;
1644
+ white-space: nowrap;
1645
+ color: var(--charcoal-text5);
1646
+ background-color: var(--charcoal-surface4);
1647
+ font-size: 14px;
1648
+ line-height: 22px;
1649
+ font-weight: bold;
1650
+ padding-right: 24px;
1651
+ padding-left: 24px;
1652
+ border-radius: 999999px;
1653
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1654
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1655
+ height: 40px;
1656
+ }
1657
+
1658
+ .c1:hover:not(:disabled):not([aria-disabled]),
1659
+ .c1:hover[aria-disabled=false] {
1660
+ color: var(--charcoal-text5-hover);
1661
+ }
1662
+
1663
+ .c1:active:not(:disabled):not([aria-disabled]),
1664
+ .c1:active[aria-disabled=false] {
1665
+ color: var(--charcoal-text5-press);
1666
+ }
1667
+
1668
+ .c1:hover:not(:disabled):not([aria-disabled]),
1669
+ .c1:hover[aria-disabled=false] {
1670
+ background-color: var(--charcoal-surface4-hover);
1671
+ }
1672
+
1673
+ .c1:active:not(:disabled):not([aria-disabled]),
1674
+ .c1:active[aria-disabled=false] {
1675
+ background-color: var(--charcoal-surface4-press);
1676
+ }
1677
+
1678
+ .c1:disabled,
1679
+ .c1[aria-disabled]:not([aria-disabled=false]) {
1680
+ opacity: 0.32;
1681
+ }
1682
+
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
+ <div
1705
+ data-dark={false}
1706
+ >
1707
+ <button
1708
+ className="c0 c1"
1709
+ disabled={false}
1710
+ onClick={[Function]}
1711
+ >
1712
+ Button
1713
+ </button>
1714
+ </div>
1715
+ `;
1716
+
1717
+ exports[`Storyshots Button Primary 1`] = `
1718
+ .c0 {
1719
+ cursor: pointer;
1720
+ -webkit-appearance: none;
1721
+ -moz-appearance: none;
1722
+ appearance: none;
1723
+ background: transparent;
1724
+ padding: 0;
1725
+ border-style: none;
1726
+ outline: none;
1727
+ color: inherit;
1728
+ text-rendering: inherit;
1729
+ -webkit-letter-spacing: inherit;
1730
+ -moz-letter-spacing: inherit;
1731
+ -ms-letter-spacing: inherit;
1732
+ letter-spacing: inherit;
1733
+ word-spacing: inherit;
1734
+ font: inherit;
1735
+ margin: 0;
1736
+ overflow: visible;
1737
+ text-transform: none;
1738
+ }
1739
+
1740
+ .c0:disabled,
1741
+ .c0[aria-disabled]:not([aria-disabled=false]) {
1742
+ cursor: default;
1743
+ }
1744
+
1745
+ .c0:focus {
1746
+ outline: none;
1747
+ }
1748
+
1749
+ .c0::-moz-focus-inner {
1750
+ border-style: none;
1751
+ padding: 0;
1752
+ }
1753
+
1754
+ .c1 {
1755
+ width: -webkit-min-content;
1756
+ width: -moz-min-content;
1757
+ width: min-content;
1758
+ display: inline-grid;
1759
+ -webkit-align-items: center;
1760
+ -webkit-box-align: center;
1761
+ -ms-flex-align: center;
1762
+ align-items: center;
1763
+ -webkit-box-pack: center;
1764
+ -webkit-justify-content: center;
1765
+ -ms-flex-pack: center;
1766
+ justify-content: center;
1767
+ cursor: pointer;
1768
+ -webkit-user-select: none;
1769
+ -moz-user-select: none;
1770
+ -ms-user-select: none;
1771
+ user-select: none;
1772
+ white-space: nowrap;
1773
+ color: var(--charcoal-text5);
1774
+ background-color: var(--charcoal-brand);
1775
+ font-size: 14px;
1776
+ line-height: 22px;
1777
+ font-weight: bold;
1778
+ padding-right: 24px;
1779
+ padding-left: 24px;
1780
+ border-radius: 999999px;
1781
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1782
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1783
+ height: 40px;
1784
+ }
1785
+
1786
+ .c1:hover:not(:disabled):not([aria-disabled]),
1787
+ .c1:hover[aria-disabled=false] {
1788
+ color: var(--charcoal-text5-hover);
1789
+ }
1790
+
1791
+ .c1:active:not(:disabled):not([aria-disabled]),
1792
+ .c1:active[aria-disabled=false] {
1793
+ color: var(--charcoal-text5-press);
1794
+ }
1795
+
1796
+ .c1:hover:not(:disabled):not([aria-disabled]),
1797
+ .c1:hover[aria-disabled=false] {
1798
+ background-color: var(--charcoal-brand-hover);
1799
+ }
1800
+
1801
+ .c1:active:not(:disabled):not([aria-disabled]),
1802
+ .c1:active[aria-disabled=false] {
1803
+ background-color: var(--charcoal-brand-press);
1804
+ }
1805
+
1806
+ .c1:disabled,
1807
+ .c1[aria-disabled]:not([aria-disabled=false]) {
1808
+ opacity: 0.32;
1809
+ }
1810
+
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
+ <div
1833
+ data-dark={false}
1834
+ >
1835
+ <button
1836
+ className="c0 c1"
1837
+ disabled={false}
1838
+ onClick={[Function]}
1839
+ >
1840
+ Button
1841
+ </button>
1842
+ </div>
1843
+ `;
1844
+
1845
+ exports[`Storyshots Button Small 1`] = `
1846
+ .c0 {
1847
+ cursor: pointer;
1848
+ -webkit-appearance: none;
1849
+ -moz-appearance: none;
1850
+ appearance: none;
1851
+ background: transparent;
1852
+ padding: 0;
1853
+ border-style: none;
1854
+ outline: none;
1855
+ color: inherit;
1856
+ text-rendering: inherit;
1857
+ -webkit-letter-spacing: inherit;
1858
+ -moz-letter-spacing: inherit;
1859
+ -ms-letter-spacing: inherit;
1860
+ letter-spacing: inherit;
1861
+ word-spacing: inherit;
1862
+ font: inherit;
1863
+ margin: 0;
1864
+ overflow: visible;
1865
+ text-transform: none;
1866
+ }
1867
+
1868
+ .c0:disabled,
1869
+ .c0[aria-disabled]:not([aria-disabled=false]) {
1870
+ cursor: default;
1871
+ }
1872
+
1873
+ .c0:focus {
1874
+ outline: none;
1875
+ }
1876
+
1877
+ .c0::-moz-focus-inner {
1878
+ border-style: none;
1879
+ padding: 0;
1880
+ }
1881
+
1882
+ .c1 {
1883
+ width: -webkit-min-content;
1884
+ width: -moz-min-content;
1885
+ width: min-content;
1886
+ display: inline-grid;
1887
+ -webkit-align-items: center;
1888
+ -webkit-box-align: center;
1889
+ -ms-flex-align: center;
1890
+ align-items: center;
1891
+ -webkit-box-pack: center;
1892
+ -webkit-justify-content: center;
1893
+ -ms-flex-pack: center;
1894
+ justify-content: center;
1895
+ cursor: pointer;
1896
+ -webkit-user-select: none;
1897
+ -moz-user-select: none;
1898
+ -ms-user-select: none;
1899
+ user-select: none;
1900
+ white-space: nowrap;
1901
+ color: var(--charcoal-text2);
1902
+ background-color: var(--charcoal-surface3);
1903
+ font-size: 14px;
1904
+ line-height: 22px;
1905
+ font-weight: bold;
1906
+ padding-right: 16px;
1907
+ padding-left: 16px;
1908
+ border-radius: 999999px;
1909
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1910
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1911
+ height: 32px;
1912
+ }
1913
+
1914
+ .c1:hover:not(:disabled):not([aria-disabled]),
1915
+ .c1:hover[aria-disabled=false] {
1916
+ color: var(--charcoal-text2-hover);
1917
+ }
1918
+
1919
+ .c1:active:not(:disabled):not([aria-disabled]),
1920
+ .c1:active[aria-disabled=false] {
1921
+ color: var(--charcoal-text2-press);
1922
+ }
1923
+
1924
+ .c1:hover:not(:disabled):not([aria-disabled]),
1925
+ .c1:hover[aria-disabled=false] {
1926
+ background-color: var(--charcoal-surface3-hover);
1927
+ }
1928
+
1929
+ .c1:active:not(:disabled):not([aria-disabled]),
1930
+ .c1:active[aria-disabled=false] {
1931
+ background-color: var(--charcoal-surface3-press);
1932
+ }
1933
+
1934
+ .c1:disabled,
1935
+ .c1[aria-disabled]:not([aria-disabled=false]) {
1936
+ opacity: 0.32;
1937
+ }
1938
+
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
+ <div
1961
+ data-dark={false}
1962
+ >
1963
+ <button
1964
+ className="c0 c1"
1965
+ disabled={false}
1966
+ onClick={[Function]}
1967
+ >
1968
+ Button
1969
+ </button>
1970
+ </div>
1971
+ `;