@charcoal-ui/react 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Button/StyledButton.d.ts +1 -0
- package/dist/components/Button/StyledButton.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.story.d.ts +16 -32
- package/dist/components/Button/index.story.d.ts.map +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/ListItem/index.story.d.ts +7 -7
- package/dist/components/DropdownSelector/ListItem/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/MenuList/index.story.d.ts +6 -9
- package/dist/components/DropdownSelector/MenuList/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/Popover/index.story.d.ts +3 -7
- package/dist/components/DropdownSelector/Popover/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.story.d.ts +9 -12
- package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
- package/dist/components/Icon/index.story.d.ts +4 -26
- package/dist/components/Icon/index.story.d.ts.map +1 -1
- package/dist/components/IconButton/index.d.ts +1 -0
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/IconButton/index.story.d.ts +6 -25
- package/dist/components/IconButton/index.story.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts +8 -0
- package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts.map +1 -0
- package/dist/components/LoadingSpinner/index.d.ts +2 -2
- package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/index.story.d.ts +4 -7
- package/dist/components/LoadingSpinner/index.story.d.ts.map +1 -1
- package/dist/components/Modal/index.story.d.ts +16 -41
- package/dist/components/Modal/index.story.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.story.d.ts +12 -23
- package/dist/components/Radio/index.story.d.ts.map +1 -1
- package/dist/components/SegmentedControl/index.story.d.ts +5 -8
- package/dist/components/SegmentedControl/index.story.d.ts.map +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.story.d.ts +7 -12
- package/dist/components/Switch/index.story.d.ts.map +1 -1
- package/dist/components/TagItem/index.d.ts.map +1 -1
- package/dist/components/TagItem/index.story.d.ts +14 -24
- package/dist/components/TagItem/index.story.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.story.d.ts +7 -25
- package/dist/components/TextArea/TextArea.story.d.ts.map +1 -1
- package/dist/components/TextField/TextField.story.d.ts +13 -20
- package/dist/components/TextField/TextField.story.d.ts.map +1 -1
- package/dist/components/TextField/index.d.ts.map +1 -1
- package/dist/index.cjs.js +80 -86
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +80 -86
- package/dist/index.esm.js.map +1 -1
- package/dist/styled.d.ts +4 -4
- package/package.json +6 -6
- package/src/components/Button/StyledButton.tsx +19 -14
- package/src/components/Button/__snapshots__/index.story.storyshot +314 -118
- package/src/components/Button/index.story.tsx +141 -138
- package/src/components/Button/index.tsx +3 -0
- package/src/components/Checkbox/__snapshots__/index.story.storyshot +12 -27
- package/src/components/Checkbox/index.tsx +2 -12
- package/src/components/Clickable/__snapshots__/index.story.storyshot +2 -2
- package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +42 -37
- package/src/components/DropdownSelector/ListItem/index.story.tsx +8 -4
- package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +38 -38
- package/src/components/DropdownSelector/MenuList/index.story.tsx +33 -27
- package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +11 -5
- package/src/components/DropdownSelector/Popover/index.story.tsx +6 -6
- package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +145 -47
- package/src/components/DropdownSelector/index.story.tsx +207 -204
- package/src/components/DropdownSelector/index.tsx +17 -10
- package/src/components/Icon/__snapshots__/index.story.storyshot +1 -1
- package/src/components/Icon/index.story.tsx +8 -12
- package/src/components/IconButton/__snapshots__/index.story.storyshot +130 -13
- package/src/components/IconButton/index.story.tsx +30 -23
- package/src/components/IconButton/index.tsx +32 -20
- package/src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx +12 -0
- package/src/components/LoadingSpinner/__snapshots__/LoadingSpinnerIcon.story.storyshot +28 -0
- package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +1 -35
- package/src/components/LoadingSpinner/index.story.tsx +11 -54
- package/src/components/LoadingSpinner/index.tsx +1 -1
- package/src/components/Modal/__snapshots__/index.story.storyshot +212 -171
- package/src/components/Modal/index.story.tsx +139 -133
- package/src/components/MultiSelect/__snapshots__/index.story.storyshot +56 -4
- package/src/components/MultiSelect/index.tsx +3 -0
- package/src/components/Radio/__snapshots__/index.story.storyshot +981 -121
- package/src/components/Radio/index.story.tsx +128 -63
- package/src/components/Radio/index.tsx +10 -16
- package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +2 -2
- package/src/components/SegmentedControl/index.story.tsx +24 -29
- package/src/components/Switch/__snapshots__/index.story.storyshot +184 -26
- package/src/components/Switch/index.story.tsx +72 -48
- package/src/components/Switch/index.tsx +2 -7
- package/src/components/TagItem/__snapshots__/index.story.storyshot +72 -33
- package/src/components/TagItem/index.story.tsx +154 -159
- package/src/components/TagItem/index.tsx +2 -6
- package/src/components/TextArea/TextArea.story.tsx +29 -32
- package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +127 -73
- package/src/components/TextField/TextField.story.tsx +67 -66
- package/src/components/TextField/__snapshots__/TextField.story.storyshot +182 -147
- package/src/components/TextField/index.tsx +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Modal BottomSheet 1`] = `
|
|
4
4
|
.c0 {
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
-webkit-appearance: none;
|
|
@@ -71,13 +71,19 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
71
71
|
height: 40px;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
75
|
-
.c1[aria-disabled='false']:active,
|
|
76
74
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
77
|
-
.c1[aria-disabled='false']:focus
|
|
75
|
+
.c1[aria-disabled='false']:focus {
|
|
76
|
+
outline: none;
|
|
77
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
81
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
82
|
+
box-shadow: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
78
85
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
79
86
|
.c1[aria-disabled='false']:focus-visible {
|
|
80
|
-
outline: none;
|
|
81
87
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
82
88
|
}
|
|
83
89
|
|
|
@@ -130,13 +136,19 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
130
136
|
height: 40px;
|
|
131
137
|
}
|
|
132
138
|
|
|
133
|
-
.c12:not(:disabled):not([aria-disabled]):active,
|
|
134
|
-
.c12[aria-disabled='false']:active,
|
|
135
139
|
.c12:not(:disabled):not([aria-disabled]):focus,
|
|
136
|
-
.c12[aria-disabled='false']:focus
|
|
140
|
+
.c12[aria-disabled='false']:focus {
|
|
141
|
+
outline: none;
|
|
142
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.c12:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
146
|
+
.c12[aria-disabled='false']:focus:not(:focus-visible) {
|
|
147
|
+
box-shadow: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
137
150
|
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
138
151
|
.c12[aria-disabled='false']:focus-visible {
|
|
139
|
-
outline: none;
|
|
140
152
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
141
153
|
}
|
|
142
154
|
|
|
@@ -158,65 +170,6 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
158
170
|
}
|
|
159
171
|
|
|
160
172
|
.c13 {
|
|
161
|
-
width: -webkit-fill-available;
|
|
162
|
-
width: -moz-available;
|
|
163
|
-
width: stretch;
|
|
164
|
-
display: inline-grid;
|
|
165
|
-
-webkit-align-items: center;
|
|
166
|
-
-webkit-box-align: center;
|
|
167
|
-
-ms-flex-align: center;
|
|
168
|
-
align-items: center;
|
|
169
|
-
-webkit-box-pack: center;
|
|
170
|
-
-webkit-justify-content: center;
|
|
171
|
-
-ms-flex-pack: center;
|
|
172
|
-
justify-content: center;
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
-webkit-user-select: none;
|
|
175
|
-
-moz-user-select: none;
|
|
176
|
-
-ms-user-select: none;
|
|
177
|
-
user-select: none;
|
|
178
|
-
white-space: nowrap;
|
|
179
|
-
border-radius: 999999px;
|
|
180
|
-
font-size: 14px;
|
|
181
|
-
line-height: 22px;
|
|
182
|
-
font-weight: bold;
|
|
183
|
-
padding-right: 24px;
|
|
184
|
-
padding-left: 24px;
|
|
185
|
-
color: var(--charcoal-text2);
|
|
186
|
-
background-color: var(--charcoal-surface3);
|
|
187
|
-
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
188
|
-
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
189
|
-
height: 40px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.c13:not(:disabled):not([aria-disabled]):active,
|
|
193
|
-
.c13[aria-disabled='false']:active,
|
|
194
|
-
.c13:not(:disabled):not([aria-disabled]):focus,
|
|
195
|
-
.c13[aria-disabled='false']:focus,
|
|
196
|
-
.c13:not(:disabled):not([aria-disabled]):focus-visible,
|
|
197
|
-
.c13[aria-disabled='false']:focus-visible {
|
|
198
|
-
outline: none;
|
|
199
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.c13:not(:disabled):not([aria-disabled]):hover,
|
|
203
|
-
.c13[aria-disabled='false']:hover {
|
|
204
|
-
color: var(--charcoal-text2-hover);
|
|
205
|
-
background-color: var(--charcoal-surface3-hover);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.c13:not(:disabled):not([aria-disabled]):active,
|
|
209
|
-
.c13[aria-disabled='false']:active {
|
|
210
|
-
color: var(--charcoal-text2-press);
|
|
211
|
-
background-color: var(--charcoal-surface3-press);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.c13:disabled,
|
|
215
|
-
.c13[aria-disabled]:not([aria-disabled='false']) {
|
|
216
|
-
opacity: 0.32;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.c14 {
|
|
220
173
|
-webkit-user-select: none;
|
|
221
174
|
-moz-user-select: none;
|
|
222
175
|
-ms-user-select: none;
|
|
@@ -242,28 +195,34 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
242
195
|
transition: 0.2s background-color,0.2s box-shadow;
|
|
243
196
|
}
|
|
244
197
|
|
|
245
|
-
.
|
|
246
|
-
.
|
|
247
|
-
background-color: var(
|
|
198
|
+
.c13:not(:disabled):not([aria-disabled]):hover,
|
|
199
|
+
.c13[aria-disabled='false']:hover {
|
|
200
|
+
background-color: var(--charcoal-transparent-hover);
|
|
248
201
|
}
|
|
249
202
|
|
|
250
|
-
.
|
|
251
|
-
.
|
|
252
|
-
background-color: var(
|
|
203
|
+
.c13:not(:disabled):not([aria-disabled]):active,
|
|
204
|
+
.c13[aria-disabled='false']:active {
|
|
205
|
+
background-color: var(--charcoal-transparent-press);
|
|
253
206
|
}
|
|
254
207
|
|
|
255
|
-
.
|
|
256
|
-
.
|
|
257
|
-
.c14:not(:disabled):not([aria-disabled]):active,
|
|
258
|
-
.c14[aria-disabled='false']:active,
|
|
259
|
-
.c14:not(:disabled):not([aria-disabled]):focus-visible,
|
|
260
|
-
.c14[aria-disabled='false']:focus-visible {
|
|
208
|
+
.c13:not(:disabled):not([aria-disabled]):focus,
|
|
209
|
+
.c13[aria-disabled='false']:focus {
|
|
261
210
|
outline: none;
|
|
262
211
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
263
212
|
}
|
|
264
213
|
|
|
265
|
-
.
|
|
266
|
-
.
|
|
214
|
+
.c13:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
215
|
+
.c13[aria-disabled='false']:focus:not(:focus-visible) {
|
|
216
|
+
box-shadow: none;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.c13:not(:disabled):not([aria-disabled]):focus-visible,
|
|
220
|
+
.c13[aria-disabled='false']:focus-visible {
|
|
221
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.c13:disabled,
|
|
225
|
+
.c13[aria-disabled]:not([aria-disabled='false']) {
|
|
267
226
|
opacity: 0.32;
|
|
268
227
|
}
|
|
269
228
|
|
|
@@ -304,7 +263,7 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
304
263
|
background-color: var(--charcoal-surface4);
|
|
305
264
|
}
|
|
306
265
|
|
|
307
|
-
.
|
|
266
|
+
.c14 {
|
|
308
267
|
position: absolute;
|
|
309
268
|
top: 8px;
|
|
310
269
|
right: 8px;
|
|
@@ -313,13 +272,13 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
313
272
|
transition: 0.2s color;
|
|
314
273
|
}
|
|
315
274
|
|
|
316
|
-
.
|
|
317
|
-
.
|
|
275
|
+
.c14:not(:disabled):not([aria-disabled]):hover,
|
|
276
|
+
.c14[aria-disabled='false']:hover {
|
|
318
277
|
color: var(--charcoal-text3-hover);
|
|
319
278
|
}
|
|
320
279
|
|
|
321
|
-
.
|
|
322
|
-
.
|
|
280
|
+
.c14:not(:disabled):not([aria-disabled]):active,
|
|
281
|
+
.c14[aria-disabled='false']:active {
|
|
323
282
|
color: var(--charcoal-text3-press);
|
|
324
283
|
}
|
|
325
284
|
|
|
@@ -451,7 +410,12 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
451
410
|
<div
|
|
452
411
|
className="c2"
|
|
453
412
|
onPointerDown={[Function]}
|
|
454
|
-
style={
|
|
413
|
+
style={
|
|
414
|
+
Object {
|
|
415
|
+
"backgroundColor": "rgba(0, 0, 0, 0)",
|
|
416
|
+
"overflow": "hidden",
|
|
417
|
+
}
|
|
418
|
+
}
|
|
455
419
|
>
|
|
456
420
|
<div
|
|
457
421
|
className="c3"
|
|
@@ -459,7 +423,11 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
459
423
|
onKeyDown={[Function]}
|
|
460
424
|
role="dialog"
|
|
461
425
|
size="M"
|
|
462
|
-
style={
|
|
426
|
+
style={
|
|
427
|
+
Object {
|
|
428
|
+
"transform": " translateY(100%)",
|
|
429
|
+
}
|
|
430
|
+
}
|
|
463
431
|
tabIndex={-1}
|
|
464
432
|
>
|
|
465
433
|
<div
|
|
@@ -493,17 +461,10 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
493
461
|
>
|
|
494
462
|
削除する
|
|
495
463
|
</button>
|
|
496
|
-
<button
|
|
497
|
-
className="c0 c13"
|
|
498
|
-
disabled={false}
|
|
499
|
-
onClick={[Function]}
|
|
500
|
-
>
|
|
501
|
-
キャンセル
|
|
502
|
-
</button>
|
|
503
464
|
</div>
|
|
504
465
|
</div>
|
|
505
466
|
<button
|
|
506
|
-
className="c0 c14
|
|
467
|
+
className="c0 c13 c14"
|
|
507
468
|
onClick={[Function]}
|
|
508
469
|
>
|
|
509
470
|
<pixiv-icon
|
|
@@ -516,7 +477,7 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
516
477
|
</div>
|
|
517
478
|
`;
|
|
518
479
|
|
|
519
|
-
exports[`
|
|
480
|
+
exports[`Storybook Tests Modal Default 1`] = `
|
|
520
481
|
.c0 {
|
|
521
482
|
cursor: pointer;
|
|
522
483
|
-webkit-appearance: none;
|
|
@@ -587,13 +548,19 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
587
548
|
height: 40px;
|
|
588
549
|
}
|
|
589
550
|
|
|
590
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
591
|
-
.c1[aria-disabled='false']:active,
|
|
592
551
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
593
|
-
.c1[aria-disabled='false']:focus
|
|
552
|
+
.c1[aria-disabled='false']:focus {
|
|
553
|
+
outline: none;
|
|
554
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
558
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
559
|
+
box-shadow: none;
|
|
560
|
+
}
|
|
561
|
+
|
|
594
562
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
595
563
|
.c1[aria-disabled='false']:focus-visible {
|
|
596
|
-
outline: none;
|
|
597
564
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
598
565
|
}
|
|
599
566
|
|
|
@@ -646,13 +613,19 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
646
613
|
height: 40px;
|
|
647
614
|
}
|
|
648
615
|
|
|
649
|
-
.c25:not(:disabled):not([aria-disabled]):active,
|
|
650
|
-
.c25[aria-disabled='false']:active,
|
|
651
616
|
.c25:not(:disabled):not([aria-disabled]):focus,
|
|
652
|
-
.c25[aria-disabled='false']:focus
|
|
617
|
+
.c25[aria-disabled='false']:focus {
|
|
618
|
+
outline: none;
|
|
619
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.c25:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
623
|
+
.c25[aria-disabled='false']:focus:not(:focus-visible) {
|
|
624
|
+
box-shadow: none;
|
|
625
|
+
}
|
|
626
|
+
|
|
653
627
|
.c25:not(:disabled):not([aria-disabled]):focus-visible,
|
|
654
628
|
.c25[aria-disabled='false']:focus-visible {
|
|
655
|
-
outline: none;
|
|
656
629
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
657
630
|
}
|
|
658
631
|
|
|
@@ -705,13 +678,19 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
705
678
|
height: 40px;
|
|
706
679
|
}
|
|
707
680
|
|
|
708
|
-
.c26:not(:disabled):not([aria-disabled]):active,
|
|
709
|
-
.c26[aria-disabled='false']:active,
|
|
710
681
|
.c26:not(:disabled):not([aria-disabled]):focus,
|
|
711
|
-
.c26[aria-disabled='false']:focus
|
|
682
|
+
.c26[aria-disabled='false']:focus {
|
|
683
|
+
outline: none;
|
|
684
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.c26:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
688
|
+
.c26[aria-disabled='false']:focus:not(:focus-visible) {
|
|
689
|
+
box-shadow: none;
|
|
690
|
+
}
|
|
691
|
+
|
|
712
692
|
.c26:not(:disabled):not([aria-disabled]):focus-visible,
|
|
713
693
|
.c26[aria-disabled='false']:focus-visible {
|
|
714
|
-
outline: none;
|
|
715
694
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
716
695
|
}
|
|
717
696
|
|
|
@@ -865,12 +844,18 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
865
844
|
}
|
|
866
845
|
|
|
867
846
|
.c21:not(:disabled):not([aria-disabled]):focus,
|
|
868
|
-
.c21[aria-disabled='false']:focus
|
|
869
|
-
|
|
870
|
-
|
|
847
|
+
.c21[aria-disabled='false']:focus {
|
|
848
|
+
outline: none;
|
|
849
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.c21:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
853
|
+
.c21[aria-disabled='false']:focus:not(:focus-visible) {
|
|
854
|
+
box-shadow: none;
|
|
855
|
+
}
|
|
856
|
+
|
|
871
857
|
.c21:not(:disabled):not([aria-disabled]):focus-visible,
|
|
872
858
|
.c21[aria-disabled='false']:focus-visible {
|
|
873
|
-
outline: none;
|
|
874
859
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
875
860
|
}
|
|
876
861
|
|
|
@@ -879,6 +864,11 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
879
864
|
background-color: var(--charcoal-surface3-hover);
|
|
880
865
|
}
|
|
881
866
|
|
|
867
|
+
.c21:not(:disabled):not([aria-disabled]):active,
|
|
868
|
+
.c21[aria-disabled='false']:active {
|
|
869
|
+
background-color: var(--charcoal-surface3-press);
|
|
870
|
+
}
|
|
871
|
+
|
|
882
872
|
.c22 {
|
|
883
873
|
text-align: left;
|
|
884
874
|
font-size: 14px;
|
|
@@ -922,21 +912,27 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
922
912
|
|
|
923
913
|
.c27:not(:disabled):not([aria-disabled]):hover,
|
|
924
914
|
.c27[aria-disabled='false']:hover {
|
|
925
|
-
background-color: var(
|
|
915
|
+
background-color: var(--charcoal-transparent-hover);
|
|
926
916
|
}
|
|
927
917
|
|
|
928
918
|
.c27:not(:disabled):not([aria-disabled]):active,
|
|
929
919
|
.c27[aria-disabled='false']:active {
|
|
930
|
-
background-color: var(
|
|
920
|
+
background-color: var(--charcoal-transparent-press);
|
|
931
921
|
}
|
|
932
922
|
|
|
933
923
|
.c27:not(:disabled):not([aria-disabled]):focus,
|
|
934
|
-
.c27[aria-disabled='false']:focus
|
|
935
|
-
|
|
936
|
-
|
|
924
|
+
.c27[aria-disabled='false']:focus {
|
|
925
|
+
outline: none;
|
|
926
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.c27:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
930
|
+
.c27[aria-disabled='false']:focus:not(:focus-visible) {
|
|
931
|
+
box-shadow: none;
|
|
932
|
+
}
|
|
933
|
+
|
|
937
934
|
.c27:not(:disabled):not([aria-disabled]):focus-visible,
|
|
938
935
|
.c27[aria-disabled='false']:focus-visible {
|
|
939
|
-
outline: none;
|
|
940
936
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
941
937
|
}
|
|
942
938
|
|
|
@@ -1095,12 +1091,6 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
1095
1091
|
background-color: var(--charcoal-surface3-hover);
|
|
1096
1092
|
}
|
|
1097
1093
|
|
|
1098
|
-
.c17:not(:disabled):not([aria-disabled]):active,
|
|
1099
|
-
.c17 [aria-disabled='false']:active {
|
|
1100
|
-
outline: none;
|
|
1101
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
1094
|
.c17:focus-within {
|
|
1105
1095
|
outline: none;
|
|
1106
1096
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
@@ -1389,7 +1379,7 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
1389
1379
|
</div>
|
|
1390
1380
|
`;
|
|
1391
1381
|
|
|
1392
|
-
exports[`
|
|
1382
|
+
exports[`Storybook Tests Modal FullBottomSheet 1`] = `
|
|
1393
1383
|
.c0 {
|
|
1394
1384
|
cursor: pointer;
|
|
1395
1385
|
-webkit-appearance: none;
|
|
@@ -1460,13 +1450,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1460
1450
|
height: 40px;
|
|
1461
1451
|
}
|
|
1462
1452
|
|
|
1463
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1464
|
-
.c1[aria-disabled='false']:active,
|
|
1465
1453
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1466
|
-
.c1[aria-disabled='false']:focus
|
|
1454
|
+
.c1[aria-disabled='false']:focus {
|
|
1455
|
+
outline: none;
|
|
1456
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1460
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1461
|
+
box-shadow: none;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1467
1464
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1468
1465
|
.c1[aria-disabled='false']:focus-visible {
|
|
1469
|
-
outline: none;
|
|
1470
1466
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1471
1467
|
}
|
|
1472
1468
|
|
|
@@ -1519,13 +1515,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1519
1515
|
height: 40px;
|
|
1520
1516
|
}
|
|
1521
1517
|
|
|
1522
|
-
.c20:not(:disabled):not([aria-disabled]):active,
|
|
1523
|
-
.c20[aria-disabled='false']:active,
|
|
1524
1518
|
.c20:not(:disabled):not([aria-disabled]):focus,
|
|
1525
|
-
.c20[aria-disabled='false']:focus
|
|
1519
|
+
.c20[aria-disabled='false']:focus {
|
|
1520
|
+
outline: none;
|
|
1521
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
.c20:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1525
|
+
.c20[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1526
|
+
box-shadow: none;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1526
1529
|
.c20:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1527
1530
|
.c20[aria-disabled='false']:focus-visible {
|
|
1528
|
-
outline: none;
|
|
1529
1531
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1530
1532
|
}
|
|
1531
1533
|
|
|
@@ -1578,13 +1580,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1578
1580
|
height: 40px;
|
|
1579
1581
|
}
|
|
1580
1582
|
|
|
1581
|
-
.c21:not(:disabled):not([aria-disabled]):active,
|
|
1582
|
-
.c21[aria-disabled='false']:active,
|
|
1583
1583
|
.c21:not(:disabled):not([aria-disabled]):focus,
|
|
1584
|
-
.c21[aria-disabled='false']:focus
|
|
1584
|
+
.c21[aria-disabled='false']:focus {
|
|
1585
|
+
outline: none;
|
|
1586
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.c21:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1590
|
+
.c21[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1591
|
+
box-shadow: none;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1585
1594
|
.c21:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1586
1595
|
.c21[aria-disabled='false']:focus-visible {
|
|
1587
|
-
outline: none;
|
|
1588
1596
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1589
1597
|
}
|
|
1590
1598
|
|
|
@@ -1717,21 +1725,27 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1717
1725
|
|
|
1718
1726
|
.c22:not(:disabled):not([aria-disabled]):hover,
|
|
1719
1727
|
.c22[aria-disabled='false']:hover {
|
|
1720
|
-
background-color: var(
|
|
1728
|
+
background-color: var(--charcoal-transparent-hover);
|
|
1721
1729
|
}
|
|
1722
1730
|
|
|
1723
1731
|
.c22:not(:disabled):not([aria-disabled]):active,
|
|
1724
1732
|
.c22[aria-disabled='false']:active {
|
|
1725
|
-
background-color: var(
|
|
1733
|
+
background-color: var(--charcoal-transparent-press);
|
|
1726
1734
|
}
|
|
1727
1735
|
|
|
1728
1736
|
.c22:not(:disabled):not([aria-disabled]):focus,
|
|
1729
|
-
.c22[aria-disabled='false']:focus
|
|
1730
|
-
|
|
1731
|
-
|
|
1737
|
+
.c22[aria-disabled='false']:focus {
|
|
1738
|
+
outline: none;
|
|
1739
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.c22:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1743
|
+
.c22[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1744
|
+
box-shadow: none;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1732
1747
|
.c22:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1733
1748
|
.c22[aria-disabled='false']:focus-visible {
|
|
1734
|
-
outline: none;
|
|
1735
1749
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1736
1750
|
}
|
|
1737
1751
|
|
|
@@ -1890,12 +1904,6 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1890
1904
|
background-color: var(--charcoal-surface3-hover);
|
|
1891
1905
|
}
|
|
1892
1906
|
|
|
1893
|
-
.c17:not(:disabled):not([aria-disabled]):active,
|
|
1894
|
-
.c17 [aria-disabled='false']:active {
|
|
1895
|
-
outline: none;
|
|
1896
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
1907
|
.c17:focus-within {
|
|
1900
1908
|
outline: none;
|
|
1901
1909
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
@@ -2011,7 +2019,12 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
2011
2019
|
<div
|
|
2012
2020
|
className="c2"
|
|
2013
2021
|
onPointerDown={[Function]}
|
|
2014
|
-
style={
|
|
2022
|
+
style={
|
|
2023
|
+
Object {
|
|
2024
|
+
"backgroundColor": "rgba(0, 0, 0, 0)",
|
|
2025
|
+
"overflow": "hidden",
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2015
2028
|
>
|
|
2016
2029
|
<div
|
|
2017
2030
|
className="c3"
|
|
@@ -2019,7 +2032,11 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
2019
2032
|
onKeyDown={[Function]}
|
|
2020
2033
|
role="dialog"
|
|
2021
2034
|
size="M"
|
|
2022
|
-
style={
|
|
2035
|
+
style={
|
|
2036
|
+
Object {
|
|
2037
|
+
"transform": " translateY(100%)",
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2023
2040
|
tabIndex={-1}
|
|
2024
2041
|
>
|
|
2025
2042
|
<div
|
|
@@ -2156,7 +2173,7 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
2156
2173
|
</div>
|
|
2157
2174
|
`;
|
|
2158
2175
|
|
|
2159
|
-
exports[`
|
|
2176
|
+
exports[`Storybook Tests Modal InternalScroll 1`] = `
|
|
2160
2177
|
.c0 {
|
|
2161
2178
|
cursor: pointer;
|
|
2162
2179
|
-webkit-appearance: none;
|
|
@@ -2227,13 +2244,19 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
|
|
|
2227
2244
|
height: 40px;
|
|
2228
2245
|
}
|
|
2229
2246
|
|
|
2230
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
2231
|
-
.c1[aria-disabled='false']:active,
|
|
2232
2247
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
2233
|
-
.c1[aria-disabled='false']:focus
|
|
2248
|
+
.c1[aria-disabled='false']:focus {
|
|
2249
|
+
outline: none;
|
|
2250
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2254
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
2255
|
+
box-shadow: none;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2234
2258
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2235
2259
|
.c1[aria-disabled='false']:focus-visible {
|
|
2236
|
-
outline: none;
|
|
2237
2260
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2238
2261
|
}
|
|
2239
2262
|
|
|
@@ -2286,13 +2309,19 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
|
|
|
2286
2309
|
height: 40px;
|
|
2287
2310
|
}
|
|
2288
2311
|
|
|
2289
|
-
.c11:not(:disabled):not([aria-disabled]):active,
|
|
2290
|
-
.c11[aria-disabled='false']:active,
|
|
2291
2312
|
.c11:not(:disabled):not([aria-disabled]):focus,
|
|
2292
|
-
.c11[aria-disabled='false']:focus
|
|
2313
|
+
.c11[aria-disabled='false']:focus {
|
|
2314
|
+
outline: none;
|
|
2315
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
.c11:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2319
|
+
.c11[aria-disabled='false']:focus:not(:focus-visible) {
|
|
2320
|
+
box-shadow: none;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2293
2323
|
.c11:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2294
2324
|
.c11[aria-disabled='false']:focus-visible {
|
|
2295
|
-
outline: none;
|
|
2296
2325
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2297
2326
|
}
|
|
2298
2327
|
|
|
@@ -2510,7 +2539,7 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
|
|
|
2510
2539
|
</div>
|
|
2511
2540
|
`;
|
|
2512
2541
|
|
|
2513
|
-
exports[`
|
|
2542
|
+
exports[`Storybook Tests Modal NotDismmissableStory 1`] = `
|
|
2514
2543
|
.c0 {
|
|
2515
2544
|
cursor: pointer;
|
|
2516
2545
|
-webkit-appearance: none;
|
|
@@ -2581,13 +2610,19 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
|
|
|
2581
2610
|
height: 40px;
|
|
2582
2611
|
}
|
|
2583
2612
|
|
|
2584
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
2585
|
-
.c1[aria-disabled='false']:active,
|
|
2586
2613
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
2587
|
-
.c1[aria-disabled='false']:focus
|
|
2614
|
+
.c1[aria-disabled='false']:focus {
|
|
2615
|
+
outline: none;
|
|
2616
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2619
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2620
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
2621
|
+
box-shadow: none;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2588
2624
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2589
2625
|
.c1[aria-disabled='false']:focus-visible {
|
|
2590
|
-
outline: none;
|
|
2591
2626
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2592
2627
|
}
|
|
2593
2628
|
|
|
@@ -2640,13 +2675,19 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
|
|
|
2640
2675
|
height: 40px;
|
|
2641
2676
|
}
|
|
2642
2677
|
|
|
2643
|
-
.c12:not(:disabled):not([aria-disabled]):active,
|
|
2644
|
-
.c12[aria-disabled='false']:active,
|
|
2645
2678
|
.c12:not(:disabled):not([aria-disabled]):focus,
|
|
2646
|
-
.c12[aria-disabled='false']:focus
|
|
2679
|
+
.c12[aria-disabled='false']:focus {
|
|
2680
|
+
outline: none;
|
|
2681
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
.c12:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2685
|
+
.c12[aria-disabled='false']:focus:not(:focus-visible) {
|
|
2686
|
+
box-shadow: none;
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2647
2689
|
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2648
2690
|
.c12[aria-disabled='false']:focus-visible {
|
|
2649
|
-
outline: none;
|
|
2650
2691
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2651
2692
|
}
|
|
2652
2693
|
|