@charcoal-ui/react 3.6.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/_lib/compat.d.ts +1 -0
- package/dist/_lib/compat.d.ts.map +1 -1
- package/dist/components/Button/StyledButton.d.ts +13 -0
- package/dist/components/Button/StyledButton.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +3 -2
- 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/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 -16
- 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/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 -11
- 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/RadioGroupContext.d.ts +1 -1
- package/dist/components/SegmentedControl/RadioGroupContext.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 +418 -206
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +387 -175
- package/dist/index.esm.js.map +1 -1
- package/dist/styled.d.ts +4 -4
- package/package.json +17 -20
- package/src/_lib/compat.ts +8 -0
- package/src/components/Button/StyledButton.tsx +71 -0
- 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 +15 -104
- 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 +12 -27
- package/src/components/Checkbox/index.story.tsx +82 -88
- package/src/components/Checkbox/index.tsx +2 -12
- package/src/components/Clickable/__snapshots__/index.story.storyshot +2 -2
- package/src/components/Clickable/index.story.tsx +12 -9
- package/src/components/DropdownSelector/DropdownMenuItem.tsx +1 -14
- 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 +313 -151
- package/src/components/DropdownSelector/index.story.tsx +207 -171
- package/src/components/DropdownSelector/index.tsx +22 -22
- 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 +231 -194
- 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/RadioGroupContext.tsx +1 -1
- package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +11 -11
- package/src/components/SegmentedControl/index.story.tsx +24 -29
- package/src/components/SegmentedControl/index.tsx +1 -1
- 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 +139 -83
- package/src/components/TextField/TextField.story.tsx +67 -66
- package/src/components/TextField/__snapshots__/TextField.story.storyshot +198 -162
- package/src/components/TextField/index.tsx +0 -7
- 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 -1093
- package/src/components/Checkbox/performance.test.tsx +0 -30
- package/src/components/Checkbox/snapshot.test.tsx +0 -66
|
@@ -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,16 +410,24 @@ 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"
|
|
458
422
|
onBlur={[Function]}
|
|
459
|
-
onFocus={null}
|
|
460
423
|
onKeyDown={[Function]}
|
|
461
424
|
role="dialog"
|
|
462
425
|
size="M"
|
|
463
|
-
style={
|
|
426
|
+
style={
|
|
427
|
+
Object {
|
|
428
|
+
"transform": " translateY(100%)",
|
|
429
|
+
}
|
|
430
|
+
}
|
|
464
431
|
tabIndex={-1}
|
|
465
432
|
>
|
|
466
433
|
<div
|
|
@@ -494,17 +461,10 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
494
461
|
>
|
|
495
462
|
削除する
|
|
496
463
|
</button>
|
|
497
|
-
<button
|
|
498
|
-
className="c0 c13"
|
|
499
|
-
disabled={false}
|
|
500
|
-
onClick={[Function]}
|
|
501
|
-
>
|
|
502
|
-
キャンセル
|
|
503
|
-
</button>
|
|
504
464
|
</div>
|
|
505
465
|
</div>
|
|
506
466
|
<button
|
|
507
|
-
className="c0 c14
|
|
467
|
+
className="c0 c13 c14"
|
|
508
468
|
onClick={[Function]}
|
|
509
469
|
>
|
|
510
470
|
<pixiv-icon
|
|
@@ -517,7 +477,7 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
|
|
|
517
477
|
</div>
|
|
518
478
|
`;
|
|
519
479
|
|
|
520
|
-
exports[`
|
|
480
|
+
exports[`Storybook Tests Modal Default 1`] = `
|
|
521
481
|
.c0 {
|
|
522
482
|
cursor: pointer;
|
|
523
483
|
-webkit-appearance: none;
|
|
@@ -588,13 +548,19 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
588
548
|
height: 40px;
|
|
589
549
|
}
|
|
590
550
|
|
|
591
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
592
|
-
.c1[aria-disabled='false']:active,
|
|
593
551
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
594
|
-
.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
|
+
|
|
595
562
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
596
563
|
.c1[aria-disabled='false']:focus-visible {
|
|
597
|
-
outline: none;
|
|
598
564
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
599
565
|
}
|
|
600
566
|
|
|
@@ -647,13 +613,19 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
647
613
|
height: 40px;
|
|
648
614
|
}
|
|
649
615
|
|
|
650
|
-
.c25:not(:disabled):not([aria-disabled]):active,
|
|
651
|
-
.c25[aria-disabled='false']:active,
|
|
652
616
|
.c25:not(:disabled):not([aria-disabled]):focus,
|
|
653
|
-
.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
|
+
|
|
654
627
|
.c25:not(:disabled):not([aria-disabled]):focus-visible,
|
|
655
628
|
.c25[aria-disabled='false']:focus-visible {
|
|
656
|
-
outline: none;
|
|
657
629
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
658
630
|
}
|
|
659
631
|
|
|
@@ -706,13 +678,19 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
706
678
|
height: 40px;
|
|
707
679
|
}
|
|
708
680
|
|
|
709
|
-
.c26:not(:disabled):not([aria-disabled]):active,
|
|
710
|
-
.c26[aria-disabled='false']:active,
|
|
711
681
|
.c26:not(:disabled):not([aria-disabled]):focus,
|
|
712
|
-
.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
|
+
|
|
713
692
|
.c26:not(:disabled):not([aria-disabled]):focus-visible,
|
|
714
693
|
.c26[aria-disabled='false']:focus-visible {
|
|
715
|
-
outline: none;
|
|
716
694
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
717
695
|
}
|
|
718
696
|
|
|
@@ -851,12 +829,13 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
851
829
|
box-sizing: border-box;
|
|
852
830
|
border: none;
|
|
853
831
|
cursor: pointer;
|
|
832
|
+
gap: 4px;
|
|
854
833
|
padding-right: 8px;
|
|
855
834
|
padding-left: 8px;
|
|
856
835
|
background-color: var(--charcoal-surface3);
|
|
857
836
|
border-radius: 4px;
|
|
858
|
-
-webkit-transition: 0.2s box-shadow;
|
|
859
|
-
transition: 0.2s box-shadow;
|
|
837
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
838
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
860
839
|
}
|
|
861
840
|
|
|
862
841
|
.c21:disabled,
|
|
@@ -865,37 +844,40 @@ 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
|
|
|
862
|
+
.c21:not(:disabled):not([aria-disabled]):hover,
|
|
863
|
+
.c21[aria-disabled='false']:hover {
|
|
864
|
+
background-color: var(--charcoal-surface3-hover);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.c21:not(:disabled):not([aria-disabled]):active,
|
|
868
|
+
.c21[aria-disabled='false']:active {
|
|
869
|
+
background-color: var(--charcoal-surface3-press);
|
|
870
|
+
}
|
|
871
|
+
|
|
877
872
|
.c22 {
|
|
878
873
|
text-align: left;
|
|
879
874
|
font-size: 14px;
|
|
880
875
|
line-height: 22px;
|
|
881
876
|
display: flow-root;
|
|
882
877
|
color: var(--charcoal-text2);
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
display: block;
|
|
887
|
-
width: 0;
|
|
888
|
-
height: 0;
|
|
889
|
-
content: '';
|
|
890
|
-
margin-top: -4px;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
.c22::after {
|
|
894
|
-
display: block;
|
|
895
|
-
width: 0;
|
|
896
|
-
height: 0;
|
|
897
|
-
content: '';
|
|
898
|
-
margin-bottom: -4px;
|
|
878
|
+
overflow: hidden;
|
|
879
|
+
text-overflow: ellipsis;
|
|
880
|
+
white-space: nowrap;
|
|
899
881
|
}
|
|
900
882
|
|
|
901
883
|
.c23 {
|
|
@@ -930,21 +912,27 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
930
912
|
|
|
931
913
|
.c27:not(:disabled):not([aria-disabled]):hover,
|
|
932
914
|
.c27[aria-disabled='false']:hover {
|
|
933
|
-
background-color: var(
|
|
915
|
+
background-color: var(--charcoal-transparent-hover);
|
|
934
916
|
}
|
|
935
917
|
|
|
936
918
|
.c27:not(:disabled):not([aria-disabled]):active,
|
|
937
919
|
.c27[aria-disabled='false']:active {
|
|
938
|
-
background-color: var(
|
|
920
|
+
background-color: var(--charcoal-transparent-press);
|
|
939
921
|
}
|
|
940
922
|
|
|
941
923
|
.c27:not(:disabled):not([aria-disabled]):focus,
|
|
942
|
-
.c27[aria-disabled='false']:focus
|
|
943
|
-
|
|
944
|
-
|
|
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
|
+
|
|
945
934
|
.c27:not(:disabled):not([aria-disabled]):focus-visible,
|
|
946
935
|
.c27[aria-disabled='false']:focus-visible {
|
|
947
|
-
outline: none;
|
|
948
936
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
949
937
|
}
|
|
950
938
|
|
|
@@ -1103,12 +1091,6 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
1103
1091
|
background-color: var(--charcoal-surface3-hover);
|
|
1104
1092
|
}
|
|
1105
1093
|
|
|
1106
|
-
.c17:not(:disabled):not([aria-disabled]):active,
|
|
1107
|
-
.c17 [aria-disabled='false']:active {
|
|
1108
|
-
outline: none;
|
|
1109
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
1094
|
.c17:focus-within {
|
|
1113
1095
|
outline: none;
|
|
1114
1096
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
@@ -1220,7 +1202,6 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
1220
1202
|
<div
|
|
1221
1203
|
className="c3"
|
|
1222
1204
|
onBlur={[Function]}
|
|
1223
|
-
onFocus={null}
|
|
1224
1205
|
onKeyDown={[Function]}
|
|
1225
1206
|
role="dialog"
|
|
1226
1207
|
size="M"
|
|
@@ -1280,7 +1261,9 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
1280
1261
|
onChange={[Function]}
|
|
1281
1262
|
placeholder="Nagisa"
|
|
1282
1263
|
readOnly={false}
|
|
1264
|
+
required={false}
|
|
1283
1265
|
type="text"
|
|
1266
|
+
value=""
|
|
1284
1267
|
/>
|
|
1285
1268
|
</div>
|
|
1286
1269
|
</div>
|
|
@@ -1318,7 +1301,9 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
1318
1301
|
onChange={[Function]}
|
|
1319
1302
|
placeholder="Tokyo"
|
|
1320
1303
|
readOnly={false}
|
|
1304
|
+
required={false}
|
|
1321
1305
|
type="text"
|
|
1306
|
+
value=""
|
|
1322
1307
|
/>
|
|
1323
1308
|
</div>
|
|
1324
1309
|
</div>
|
|
@@ -1394,7 +1379,7 @@ exports[`Storyshots Modal Default 1`] = `
|
|
|
1394
1379
|
</div>
|
|
1395
1380
|
`;
|
|
1396
1381
|
|
|
1397
|
-
exports[`
|
|
1382
|
+
exports[`Storybook Tests Modal FullBottomSheet 1`] = `
|
|
1398
1383
|
.c0 {
|
|
1399
1384
|
cursor: pointer;
|
|
1400
1385
|
-webkit-appearance: none;
|
|
@@ -1465,13 +1450,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1465
1450
|
height: 40px;
|
|
1466
1451
|
}
|
|
1467
1452
|
|
|
1468
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1469
|
-
.c1[aria-disabled='false']:active,
|
|
1470
1453
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
1471
|
-
.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
|
+
|
|
1472
1464
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1473
1465
|
.c1[aria-disabled='false']:focus-visible {
|
|
1474
|
-
outline: none;
|
|
1475
1466
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1476
1467
|
}
|
|
1477
1468
|
|
|
@@ -1524,13 +1515,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1524
1515
|
height: 40px;
|
|
1525
1516
|
}
|
|
1526
1517
|
|
|
1527
|
-
.c20:not(:disabled):not([aria-disabled]):active,
|
|
1528
|
-
.c20[aria-disabled='false']:active,
|
|
1529
1518
|
.c20:not(:disabled):not([aria-disabled]):focus,
|
|
1530
|
-
.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
|
+
|
|
1531
1529
|
.c20:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1532
1530
|
.c20[aria-disabled='false']:focus-visible {
|
|
1533
|
-
outline: none;
|
|
1534
1531
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1535
1532
|
}
|
|
1536
1533
|
|
|
@@ -1583,13 +1580,19 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1583
1580
|
height: 40px;
|
|
1584
1581
|
}
|
|
1585
1582
|
|
|
1586
|
-
.c21:not(:disabled):not([aria-disabled]):active,
|
|
1587
|
-
.c21[aria-disabled='false']:active,
|
|
1588
1583
|
.c21:not(:disabled):not([aria-disabled]):focus,
|
|
1589
|
-
.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
|
+
|
|
1590
1594
|
.c21:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1591
1595
|
.c21[aria-disabled='false']:focus-visible {
|
|
1592
|
-
outline: none;
|
|
1593
1596
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1594
1597
|
}
|
|
1595
1598
|
|
|
@@ -1722,21 +1725,27 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1722
1725
|
|
|
1723
1726
|
.c22:not(:disabled):not([aria-disabled]):hover,
|
|
1724
1727
|
.c22[aria-disabled='false']:hover {
|
|
1725
|
-
background-color: var(
|
|
1728
|
+
background-color: var(--charcoal-transparent-hover);
|
|
1726
1729
|
}
|
|
1727
1730
|
|
|
1728
1731
|
.c22:not(:disabled):not([aria-disabled]):active,
|
|
1729
1732
|
.c22[aria-disabled='false']:active {
|
|
1730
|
-
background-color: var(
|
|
1733
|
+
background-color: var(--charcoal-transparent-press);
|
|
1731
1734
|
}
|
|
1732
1735
|
|
|
1733
1736
|
.c22:not(:disabled):not([aria-disabled]):focus,
|
|
1734
|
-
.c22[aria-disabled='false']:focus
|
|
1735
|
-
|
|
1736
|
-
|
|
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
|
+
|
|
1737
1747
|
.c22:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1738
1748
|
.c22[aria-disabled='false']:focus-visible {
|
|
1739
|
-
outline: none;
|
|
1740
1749
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1741
1750
|
}
|
|
1742
1751
|
|
|
@@ -1895,12 +1904,6 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
1895
1904
|
background-color: var(--charcoal-surface3-hover);
|
|
1896
1905
|
}
|
|
1897
1906
|
|
|
1898
|
-
.c17:not(:disabled):not([aria-disabled]):active,
|
|
1899
|
-
.c17 [aria-disabled='false']:active {
|
|
1900
|
-
outline: none;
|
|
1901
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1902
|
-
}
|
|
1903
|
-
|
|
1904
1907
|
.c17:focus-within {
|
|
1905
1908
|
outline: none;
|
|
1906
1909
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
@@ -2016,16 +2019,24 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
2016
2019
|
<div
|
|
2017
2020
|
className="c2"
|
|
2018
2021
|
onPointerDown={[Function]}
|
|
2019
|
-
style={
|
|
2022
|
+
style={
|
|
2023
|
+
Object {
|
|
2024
|
+
"backgroundColor": "rgba(0, 0, 0, 0)",
|
|
2025
|
+
"overflow": "hidden",
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2020
2028
|
>
|
|
2021
2029
|
<div
|
|
2022
2030
|
className="c3"
|
|
2023
2031
|
onBlur={[Function]}
|
|
2024
|
-
onFocus={null}
|
|
2025
2032
|
onKeyDown={[Function]}
|
|
2026
2033
|
role="dialog"
|
|
2027
2034
|
size="M"
|
|
2028
|
-
style={
|
|
2035
|
+
style={
|
|
2036
|
+
Object {
|
|
2037
|
+
"transform": " translateY(100%)",
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2029
2040
|
tabIndex={-1}
|
|
2030
2041
|
>
|
|
2031
2042
|
<div
|
|
@@ -2081,7 +2092,9 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
2081
2092
|
onChange={[Function]}
|
|
2082
2093
|
placeholder="Nagisa"
|
|
2083
2094
|
readOnly={false}
|
|
2095
|
+
required={false}
|
|
2084
2096
|
type="text"
|
|
2097
|
+
value=""
|
|
2085
2098
|
/>
|
|
2086
2099
|
</div>
|
|
2087
2100
|
</div>
|
|
@@ -2119,7 +2132,9 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
2119
2132
|
onChange={[Function]}
|
|
2120
2133
|
placeholder="Tokyo"
|
|
2121
2134
|
readOnly={false}
|
|
2135
|
+
required={false}
|
|
2122
2136
|
type="text"
|
|
2137
|
+
value=""
|
|
2123
2138
|
/>
|
|
2124
2139
|
</div>
|
|
2125
2140
|
</div>
|
|
@@ -2158,7 +2173,7 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
|
|
|
2158
2173
|
</div>
|
|
2159
2174
|
`;
|
|
2160
2175
|
|
|
2161
|
-
exports[`
|
|
2176
|
+
exports[`Storybook Tests Modal InternalScroll 1`] = `
|
|
2162
2177
|
.c0 {
|
|
2163
2178
|
cursor: pointer;
|
|
2164
2179
|
-webkit-appearance: none;
|
|
@@ -2229,13 +2244,19 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
|
|
|
2229
2244
|
height: 40px;
|
|
2230
2245
|
}
|
|
2231
2246
|
|
|
2232
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
2233
|
-
.c1[aria-disabled='false']:active,
|
|
2234
2247
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
2235
|
-
.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
|
+
|
|
2236
2258
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2237
2259
|
.c1[aria-disabled='false']:focus-visible {
|
|
2238
|
-
outline: none;
|
|
2239
2260
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2240
2261
|
}
|
|
2241
2262
|
|
|
@@ -2288,13 +2309,19 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
|
|
|
2288
2309
|
height: 40px;
|
|
2289
2310
|
}
|
|
2290
2311
|
|
|
2291
|
-
.c11:not(:disabled):not([aria-disabled]):active,
|
|
2292
|
-
.c11[aria-disabled='false']:active,
|
|
2293
2312
|
.c11:not(:disabled):not([aria-disabled]):focus,
|
|
2294
|
-
.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
|
+
|
|
2295
2323
|
.c11:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2296
2324
|
.c11[aria-disabled='false']:focus-visible {
|
|
2297
|
-
outline: none;
|
|
2298
2325
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2299
2326
|
}
|
|
2300
2327
|
|
|
@@ -2464,7 +2491,6 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
|
|
|
2464
2491
|
<div
|
|
2465
2492
|
className="c3"
|
|
2466
2493
|
onBlur={[Function]}
|
|
2467
|
-
onFocus={null}
|
|
2468
2494
|
onKeyDown={[Function]}
|
|
2469
2495
|
role="dialog"
|
|
2470
2496
|
size="M"
|
|
@@ -2513,7 +2539,7 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
|
|
|
2513
2539
|
</div>
|
|
2514
2540
|
`;
|
|
2515
2541
|
|
|
2516
|
-
exports[`
|
|
2542
|
+
exports[`Storybook Tests Modal NotDismmissableStory 1`] = `
|
|
2517
2543
|
.c0 {
|
|
2518
2544
|
cursor: pointer;
|
|
2519
2545
|
-webkit-appearance: none;
|
|
@@ -2584,13 +2610,19 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
|
|
|
2584
2610
|
height: 40px;
|
|
2585
2611
|
}
|
|
2586
2612
|
|
|
2587
|
-
.c1:not(:disabled):not([aria-disabled]):active,
|
|
2588
|
-
.c1[aria-disabled='false']:active,
|
|
2589
2613
|
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
2590
|
-
.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
|
+
|
|
2591
2624
|
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2592
2625
|
.c1[aria-disabled='false']:focus-visible {
|
|
2593
|
-
outline: none;
|
|
2594
2626
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2595
2627
|
}
|
|
2596
2628
|
|
|
@@ -2643,13 +2675,19 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
|
|
|
2643
2675
|
height: 40px;
|
|
2644
2676
|
}
|
|
2645
2677
|
|
|
2646
|
-
.c12:not(:disabled):not([aria-disabled]):active,
|
|
2647
|
-
.c12[aria-disabled='false']:active,
|
|
2648
2678
|
.c12:not(:disabled):not([aria-disabled]):focus,
|
|
2649
|
-
.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
|
+
|
|
2650
2689
|
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2651
2690
|
.c12[aria-disabled='false']:focus-visible {
|
|
2652
|
-
outline: none;
|
|
2653
2691
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2654
2692
|
}
|
|
2655
2693
|
|
|
@@ -2832,7 +2870,6 @@ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
|
|
|
2832
2870
|
<div
|
|
2833
2871
|
className="c3"
|
|
2834
2872
|
onBlur={[Function]}
|
|
2835
|
-
onFocus={null}
|
|
2836
2873
|
onKeyDown={[Function]}
|
|
2837
2874
|
role="dialog"
|
|
2838
2875
|
size="M"
|