@charcoal-ui/react 3.5.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/_lib/compat.d.ts +1 -0
  2. package/dist/_lib/compat.d.ts.map +1 -1
  3. package/dist/components/Button/StyledButton.d.ts +12 -0
  4. package/dist/components/Button/StyledButton.d.ts.map +1 -0
  5. package/dist/components/Button/index.d.ts +2 -2
  6. package/dist/components/Button/index.d.ts.map +1 -1
  7. package/dist/components/Button/lib/variantToBackground.d.ts +3 -0
  8. package/dist/components/Button/lib/variantToBackground.d.ts.map +1 -0
  9. package/dist/components/Button/lib/variantToFont.d.ts +3 -0
  10. package/dist/components/Button/lib/variantToFont.d.ts.map +1 -0
  11. package/dist/components/Checkbox/index.d.ts.map +1 -1
  12. package/dist/components/Checkbox/index.story.d.ts +6 -15
  13. package/dist/components/Checkbox/index.story.d.ts.map +1 -1
  14. package/dist/components/Clickable/index.story.d.ts +4 -6
  15. package/dist/components/Clickable/index.story.d.ts.map +1 -1
  16. package/dist/components/DropdownSelector/DropdownMenuItem.d.ts.map +1 -1
  17. package/dist/components/DropdownSelector/ListItem/index.d.ts.map +1 -1
  18. package/dist/components/DropdownSelector/Popover/index.d.ts.map +1 -1
  19. package/dist/components/DropdownSelector/index.d.ts.map +1 -1
  20. package/dist/components/DropdownSelector/index.story.d.ts +1 -0
  21. package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
  22. package/dist/components/FieldLabel/index.d.ts.map +1 -1
  23. package/dist/components/Icon/index.story.d.ts +1 -1
  24. package/dist/components/IconButton/index.d.ts.map +1 -1
  25. package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
  26. package/dist/components/Modal/ModalPlumbing.d.ts.map +1 -1
  27. package/dist/components/Modal/index.d.ts.map +1 -1
  28. package/dist/components/Modal/index.story.d.ts +1 -0
  29. package/dist/components/Modal/index.story.d.ts.map +1 -1
  30. package/dist/components/MultiSelect/index.d.ts.map +1 -1
  31. package/dist/components/MultiSelect/index.story.d.ts +2 -0
  32. package/dist/components/MultiSelect/index.story.d.ts.map +1 -1
  33. package/dist/components/Radio/index.d.ts.map +1 -1
  34. package/dist/components/SegmentedControl/RadioGroupContext.d.ts +1 -1
  35. package/dist/components/SegmentedControl/RadioGroupContext.d.ts.map +1 -1
  36. package/dist/components/SegmentedControl/index.d.ts.map +1 -1
  37. package/dist/components/Switch/index.d.ts.map +1 -1
  38. package/dist/components/TagItem/index.d.ts.map +1 -1
  39. package/dist/components/TextField/TextField.story.d.ts.map +1 -1
  40. package/dist/components/TextField/index.d.ts.map +1 -1
  41. package/dist/index.cjs.js +1026 -384
  42. package/dist/index.cjs.js.map +1 -1
  43. package/dist/index.esm.js +991 -349
  44. package/dist/index.esm.js.map +1 -1
  45. package/dist/styled.d.ts +4 -4
  46. package/package.json +18 -21
  47. package/src/_lib/compat.ts +8 -0
  48. package/src/components/Button/StyledButton.tsx +66 -0
  49. package/src/components/Button/__snapshots__/index.story.storyshot +312 -592
  50. package/src/components/Button/index.tsx +14 -70
  51. package/src/components/Button/lib/variantToBackground.tsx +19 -0
  52. package/src/components/Button/lib/variantToFont.tsx +19 -0
  53. package/src/components/Checkbox/__snapshots__/index.story.storyshot +209 -40
  54. package/src/components/Checkbox/index.story.tsx +82 -64
  55. package/src/components/Checkbox/index.tsx +47 -17
  56. package/src/components/Clickable/__snapshots__/index.story.storyshot +4 -0
  57. package/src/components/Clickable/index.story.tsx +12 -9
  58. package/src/components/Clickable/index.tsx +1 -0
  59. package/src/components/DropdownSelector/DropdownMenuItem.tsx +6 -3
  60. package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +3 -10
  61. package/src/components/DropdownSelector/ListItem/index.tsx +6 -4
  62. package/src/components/DropdownSelector/MenuItemGroup/index.tsx +1 -1
  63. package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +4 -13
  64. package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +20 -37
  65. package/src/components/DropdownSelector/Popover/index.tsx +5 -8
  66. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +227 -294
  67. package/src/components/DropdownSelector/index.story.tsx +33 -0
  68. package/src/components/DropdownSelector/index.tsx +63 -20
  69. package/src/components/FieldLabel/index.tsx +77 -12
  70. package/src/components/IconButton/__snapshots__/index.story.storyshot +30 -54
  71. package/src/components/IconButton/index.tsx +51 -26
  72. package/src/components/LoadingSpinner/index.tsx +3 -6
  73. package/src/components/Modal/Dialog/index.tsx +1 -1
  74. package/src/components/Modal/ModalPlumbing.tsx +26 -5
  75. package/src/components/Modal/__snapshots__/index.story.storyshot +2450 -108
  76. package/src/components/Modal/index.story.tsx +27 -0
  77. package/src/components/Modal/index.tsx +19 -4
  78. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +528 -25
  79. package/src/components/MultiSelect/index.story.tsx +60 -0
  80. package/src/components/MultiSelect/index.tsx +82 -22
  81. package/src/components/Radio/__snapshots__/index.story.storyshot +32 -49
  82. package/src/components/Radio/index.tsx +71 -23
  83. package/src/components/SegmentedControl/RadioGroupContext.tsx +1 -1
  84. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +9 -10
  85. package/src/components/SegmentedControl/index.tsx +36 -16
  86. package/src/components/Switch/__snapshots__/index.story.storyshot +6 -18
  87. package/src/components/Switch/index.tsx +10 -15
  88. package/src/components/TagItem/__snapshots__/index.story.storyshot +39 -158
  89. package/src/components/TagItem/index.tsx +84 -19
  90. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +55 -91
  91. package/src/components/TextField/TextField.story.tsx +35 -18
  92. package/src/components/TextField/__snapshots__/TextField.story.storyshot +92 -148
  93. package/src/components/TextField/index.tsx +0 -1
  94. package/dist/components/Checkbox/performance.test.d.ts +0 -4
  95. package/dist/components/Checkbox/performance.test.d.ts.map +0 -1
  96. package/dist/components/Checkbox/snapshot.test.d.ts +0 -2
  97. package/dist/components/Checkbox/snapshot.test.d.ts.map +0 -1
  98. package/src/components/Checkbox/__snapshots__/snapshot.test.tsx.snap +0 -763
  99. package/src/components/Checkbox/performance.test.tsx +0 -30
  100. package/src/components/Checkbox/snapshot.test.tsx +0 -66
@@ -17,6 +17,8 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
17
17
  -ms-letter-spacing: inherit;
18
18
  letter-spacing: inherit;
19
19
  word-spacing: inherit;
20
+ -webkit-text-decoration: none;
21
+ text-decoration: none;
20
22
  font: inherit;
21
23
  margin: 0;
22
24
  overflow: visible;
@@ -56,63 +58,380 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
56
58
  -ms-user-select: none;
57
59
  user-select: none;
58
60
  white-space: nowrap;
59
- color: var(--charcoal-text2);
60
- background-color: var(--charcoal-surface3);
61
+ border-radius: 999999px;
61
62
  font-size: 14px;
62
63
  line-height: 22px;
63
64
  font-weight: bold;
64
65
  padding-right: 24px;
65
66
  padding-left: 24px;
66
- border-radius: 999999px;
67
+ color: var(--charcoal-text2);
68
+ background-color: var(--charcoal-surface3);
67
69
  -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
68
70
  transition: 0.2s color,0.2s background-color,0.2s box-shadow;
69
71
  height: 40px;
70
72
  }
71
73
 
72
- .c1:hover:not(:disabled):not([aria-disabled]),
73
- .c1:hover[aria-disabled=false] {
74
+ .c1:not(:disabled):not([aria-disabled]):active,
75
+ .c1[aria-disabled='false']:active,
76
+ .c1:not(:disabled):not([aria-disabled]):focus,
77
+ .c1[aria-disabled='false']:focus,
78
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
79
+ .c1[aria-disabled='false']:focus-visible {
80
+ outline: none;
81
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
82
+ }
83
+
84
+ .c1:not(:disabled):not([aria-disabled]):hover,
85
+ .c1[aria-disabled='false']:hover {
74
86
  color: var(--charcoal-text2-hover);
87
+ background-color: var(--charcoal-surface3-hover);
75
88
  }
76
89
 
77
- .c1:active:not(:disabled):not([aria-disabled]),
78
- .c1:active[aria-disabled=false] {
90
+ .c1:not(:disabled):not([aria-disabled]):active,
91
+ .c1[aria-disabled='false']:active {
79
92
  color: var(--charcoal-text2-press);
93
+ background-color: var(--charcoal-surface3-press);
94
+ }
95
+
96
+ .c1:disabled,
97
+ .c1[aria-disabled]:not([aria-disabled='false']) {
98
+ opacity: 0.32;
99
+ }
100
+
101
+ .c12 {
102
+ width: -webkit-fill-available;
103
+ width: -moz-available;
104
+ width: stretch;
105
+ display: inline-grid;
106
+ -webkit-align-items: center;
107
+ -webkit-box-align: center;
108
+ -ms-flex-align: center;
109
+ align-items: center;
110
+ -webkit-box-pack: center;
111
+ -webkit-justify-content: center;
112
+ -ms-flex-pack: center;
113
+ justify-content: center;
114
+ cursor: pointer;
115
+ -webkit-user-select: none;
116
+ -moz-user-select: none;
117
+ -ms-user-select: none;
118
+ user-select: none;
119
+ white-space: nowrap;
120
+ border-radius: 999999px;
121
+ font-size: 14px;
122
+ line-height: 22px;
123
+ font-weight: bold;
124
+ padding-right: 24px;
125
+ padding-left: 24px;
126
+ color: var(--charcoal-text5);
127
+ background-color: var(--charcoal-assertive);
128
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
129
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
130
+ height: 40px;
131
+ }
132
+
133
+ .c12:not(:disabled):not([aria-disabled]):active,
134
+ .c12[aria-disabled='false']:active,
135
+ .c12:not(:disabled):not([aria-disabled]):focus,
136
+ .c12[aria-disabled='false']:focus,
137
+ .c12:not(:disabled):not([aria-disabled]):focus-visible,
138
+ .c12[aria-disabled='false']:focus-visible {
139
+ outline: none;
140
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
141
+ }
142
+
143
+ .c12:not(:disabled):not([aria-disabled]):hover,
144
+ .c12[aria-disabled='false']:hover {
145
+ color: var(--charcoal-text5-hover);
146
+ background-color: var(--charcoal-assertive-hover);
147
+ }
148
+
149
+ .c12:not(:disabled):not([aria-disabled]):active,
150
+ .c12[aria-disabled='false']:active {
151
+ color: var(--charcoal-text5-press);
152
+ background-color: var(--charcoal-assertive-press);
153
+ }
154
+
155
+ .c12:disabled,
156
+ .c12[aria-disabled]:not([aria-disabled='false']) {
157
+ opacity: 0.32;
158
+ }
159
+
160
+ .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);
80
200
  }
81
201
 
82
- .c1:hover:not(:disabled):not([aria-disabled]),
83
- .c1:hover[aria-disabled=false] {
202
+ .c13:not(:disabled):not([aria-disabled]):hover,
203
+ .c13[aria-disabled='false']:hover {
204
+ color: var(--charcoal-text2-hover);
84
205
  background-color: var(--charcoal-surface3-hover);
85
206
  }
86
207
 
87
- .c1:active:not(:disabled):not([aria-disabled]),
88
- .c1:active[aria-disabled=false] {
208
+ .c13:not(:disabled):not([aria-disabled]):active,
209
+ .c13[aria-disabled='false']:active {
210
+ color: var(--charcoal-text2-press);
89
211
  background-color: var(--charcoal-surface3-press);
90
212
  }
91
213
 
92
- .c1:disabled,
93
- .c1[aria-disabled]:not([aria-disabled=false]) {
214
+ .c13:disabled,
215
+ .c13[aria-disabled]:not([aria-disabled='false']) {
94
216
  opacity: 0.32;
95
217
  }
96
218
 
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 {
219
+ .c14 {
220
+ -webkit-user-select: none;
221
+ -moz-user-select: none;
222
+ -ms-user-select: none;
223
+ user-select: none;
224
+ width: 32px;
225
+ height: 32px;
226
+ display: -webkit-box;
227
+ display: -webkit-flex;
228
+ display: -ms-flexbox;
229
+ display: flex;
230
+ -webkit-align-items: center;
231
+ -webkit-box-align: center;
232
+ -ms-flex-align: center;
233
+ align-items: center;
234
+ -webkit-box-pack: center;
235
+ -webkit-justify-content: center;
236
+ -ms-flex-pack: center;
237
+ justify-content: center;
238
+ color: var(--charcoal-text3);
239
+ background-color: var(--charcoal-transparent);
240
+ border-radius: 999999px;
241
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
242
+ transition: 0.2s background-color,0.2s box-shadow;
243
+ }
244
+
245
+ .c14:not(:disabled):not([aria-disabled]):hover,
246
+ .c14[aria-disabled='false']:hover {
247
+ background-color: var( --charcoal-transparent-hover );
248
+ }
249
+
250
+ .c14:not(:disabled):not([aria-disabled]):active,
251
+ .c14[aria-disabled='false']:active {
252
+ background-color: var( --charcoal-transparent-press );
253
+ }
254
+
255
+ .c14:not(:disabled):not([aria-disabled]):focus,
256
+ .c14[aria-disabled='false']:focus,
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 {
101
261
  outline: none;
102
262
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
103
263
  }
104
264
 
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;
265
+ .c14:disabled,
266
+ .c14[aria-disabled]:not([aria-disabled='false']) {
267
+ opacity: 0.32;
110
268
  }
111
269
 
112
- .c1:not(:disabled):not([aria-disabled]):focus-visible,
113
- .c1[aria-disabled=false]:focus-visible {
270
+ .c3 {
271
+ margin: auto;
272
+ position: relative;
273
+ height: -webkit-fit-content;
274
+ height: -moz-fit-content;
275
+ height: fit-content;
276
+ width: 440px;
277
+ background-color: var(--charcoal-surface1);
278
+ border-radius: 24px;
279
+ }
280
+
281
+ .c3:focus {
114
282
  outline: none;
115
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
283
+ }
284
+
285
+ .c2 {
286
+ z-index: 10;
287
+ overflow: auto;
288
+ display: -webkit-box;
289
+ display: -webkit-flex;
290
+ display: -ms-flexbox;
291
+ display: flex;
292
+ position: fixed;
293
+ top: 0;
294
+ left: 0;
295
+ width: -webkit-fill-available;
296
+ width: -moz-available;
297
+ height: 100%;
298
+ -webkit-box-pack: center;
299
+ -webkit-justify-content: center;
300
+ -ms-flex-pack: center;
301
+ justify-content: center;
302
+ padding: 40px 0;
303
+ box-sizing: border-box;
304
+ background-color: var(--charcoal-surface4);
305
+ }
306
+
307
+ .c15 {
308
+ position: absolute;
309
+ top: 8px;
310
+ right: 8px;
311
+ color: var(--charcoal-text3);
312
+ -webkit-transition: 0.2s color;
313
+ transition: 0.2s color;
314
+ }
315
+
316
+ .c15:not(:disabled):not([aria-disabled]):hover,
317
+ .c15[aria-disabled='false']:hover {
318
+ color: var(--charcoal-text3-hover);
319
+ }
320
+
321
+ .c15:not(:disabled):not([aria-disabled]):active,
322
+ .c15[aria-disabled='false']:active {
323
+ color: var(--charcoal-text3-press);
324
+ }
325
+
326
+ .c5 {
327
+ margin: 0;
328
+ font-weight: inherit;
329
+ font-size: inherit;
330
+ }
331
+
332
+ .c4 {
333
+ height: 64px;
334
+ display: grid;
335
+ -webkit-align-content: center;
336
+ -ms-flex-line-pack: center;
337
+ align-content: center;
338
+ -webkit-box-pack: center;
339
+ -webkit-justify-content: center;
340
+ -ms-flex-pack: center;
341
+ justify-content: center;
342
+ }
343
+
344
+ .c6 {
345
+ color: var(--charcoal-text1);
346
+ font-size: 16px;
347
+ line-height: 24px;
348
+ font-weight: bold;
349
+ display: flow-root;
350
+ }
351
+
352
+ .c6::before {
353
+ display: block;
354
+ width: 0;
355
+ height: 0;
356
+ content: '';
357
+ margin-top: -4px;
358
+ }
359
+
360
+ .c6::after {
361
+ display: block;
362
+ width: 0;
363
+ height: 0;
364
+ content: '';
365
+ margin-bottom: -4px;
366
+ }
367
+
368
+ .c9 {
369
+ padding-left: 16px;
370
+ padding-right: 16px;
371
+ }
372
+
373
+ .c7 {
374
+ padding-bottom: 40px;
375
+ }
376
+
377
+ .c11 {
378
+ display: grid;
379
+ grid-auto-flow: row;
380
+ grid-row-gap: 8px;
381
+ padding-top: 16px;
382
+ padding-left: 16px;
383
+ padding-right: 16px;
384
+ }
385
+
386
+ .c8 {
387
+ display: grid;
388
+ gap: 24px;
389
+ }
390
+
391
+ .c10 {
392
+ color: var(--charcoal-text2);
393
+ font-size: 14px;
394
+ line-height: 22px;
395
+ display: flow-root;
396
+ }
397
+
398
+ .c10::before {
399
+ display: block;
400
+ width: 0;
401
+ height: 0;
402
+ content: '';
403
+ margin-top: -4px;
404
+ }
405
+
406
+ .c10::after {
407
+ display: block;
408
+ width: 0;
409
+ height: 0;
410
+ content: '';
411
+ margin-bottom: -4px;
412
+ }
413
+
414
+ @media (max-width:743px) {
415
+ .c3 {
416
+ max-width: 440px;
417
+ width: calc(100% - 48px);
418
+ max-width: unset;
419
+ width: 100%;
420
+ border-radius: 0;
421
+ margin: auto 0 0 0;
422
+ }
423
+ }
424
+
425
+ @media (max-width:743px) {
426
+ .c2 {
427
+ padding: 0;
428
+ }
429
+ }
430
+
431
+ @media (max-width:743px) {
432
+ .c4 {
433
+ height: 48px;
434
+ }
116
435
  }
117
436
 
118
437
  <div
@@ -129,6 +448,70 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
129
448
  >
130
449
  Open Modal
131
450
  </button>
451
+ <div
452
+ className="c2"
453
+ onPointerDown={[Function]}
454
+ style={Object {}}
455
+ >
456
+ <div
457
+ className="c3"
458
+ onBlur={[Function]}
459
+ onKeyDown={[Function]}
460
+ role="dialog"
461
+ size="M"
462
+ style={Object {}}
463
+ tabIndex={-1}
464
+ >
465
+ <div
466
+ className="c4"
467
+ >
468
+ <h3
469
+ className="c5 c6"
470
+ >
471
+ Title
472
+ </h3>
473
+ </div>
474
+ <div
475
+ className="c7"
476
+ >
477
+ <div
478
+ className="c8"
479
+ >
480
+ <div
481
+ className="c9 c10"
482
+ >
483
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod placeat tenetur, necessitatibus laudantium cumque exercitationem provident. Quaerat iure enim, eveniet dolores earum odio quo possimus fugiat aspernatur, numquam, commodi repellat.
484
+ </div>
485
+ </div>
486
+ <div
487
+ className="c11"
488
+ >
489
+ <button
490
+ className="c0 c12"
491
+ disabled={false}
492
+ onClick={[Function]}
493
+ >
494
+ 削除する
495
+ </button>
496
+ <button
497
+ className="c0 c13"
498
+ disabled={false}
499
+ onClick={[Function]}
500
+ >
501
+ キャンセル
502
+ </button>
503
+ </div>
504
+ </div>
505
+ <button
506
+ className="c0 c14 c15"
507
+ onClick={[Function]}
508
+ >
509
+ <pixiv-icon
510
+ name="24/Close"
511
+ />
512
+ </button>
513
+ </div>
514
+ </div>
132
515
  </div>
133
516
  </div>
134
517
  `;
@@ -150,6 +533,8 @@ exports[`Storyshots Modal Default 1`] = `
150
533
  -ms-letter-spacing: inherit;
151
534
  letter-spacing: inherit;
152
535
  word-spacing: inherit;
536
+ -webkit-text-decoration: none;
537
+ text-decoration: none;
153
538
  font: inherit;
154
539
  margin: 0;
155
540
  overflow: visible;
@@ -189,63 +574,1424 @@ exports[`Storyshots Modal Default 1`] = `
189
574
  -ms-user-select: none;
190
575
  user-select: none;
191
576
  white-space: nowrap;
577
+ border-radius: 999999px;
578
+ font-size: 14px;
579
+ line-height: 22px;
580
+ font-weight: bold;
581
+ padding-right: 24px;
582
+ padding-left: 24px;
192
583
  color: var(--charcoal-text2);
193
584
  background-color: var(--charcoal-surface3);
585
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
586
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
587
+ height: 40px;
588
+ }
589
+
590
+ .c1:not(:disabled):not([aria-disabled]):active,
591
+ .c1[aria-disabled='false']:active,
592
+ .c1:not(:disabled):not([aria-disabled]):focus,
593
+ .c1[aria-disabled='false']:focus,
594
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
595
+ .c1[aria-disabled='false']:focus-visible {
596
+ outline: none;
597
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
598
+ }
599
+
600
+ .c1:not(:disabled):not([aria-disabled]):hover,
601
+ .c1[aria-disabled='false']:hover {
602
+ color: var(--charcoal-text2-hover);
603
+ background-color: var(--charcoal-surface3-hover);
604
+ }
605
+
606
+ .c1:not(:disabled):not([aria-disabled]):active,
607
+ .c1[aria-disabled='false']:active {
608
+ color: var(--charcoal-text2-press);
609
+ background-color: var(--charcoal-surface3-press);
610
+ }
611
+
612
+ .c1:disabled,
613
+ .c1[aria-disabled]:not([aria-disabled='false']) {
614
+ opacity: 0.32;
615
+ }
616
+
617
+ .c25 {
618
+ width: -webkit-fill-available;
619
+ width: -moz-available;
620
+ width: stretch;
621
+ display: inline-grid;
622
+ -webkit-align-items: center;
623
+ -webkit-box-align: center;
624
+ -ms-flex-align: center;
625
+ align-items: center;
626
+ -webkit-box-pack: center;
627
+ -webkit-justify-content: center;
628
+ -ms-flex-pack: center;
629
+ justify-content: center;
630
+ cursor: pointer;
631
+ -webkit-user-select: none;
632
+ -moz-user-select: none;
633
+ -ms-user-select: none;
634
+ user-select: none;
635
+ white-space: nowrap;
636
+ border-radius: 999999px;
194
637
  font-size: 14px;
195
638
  line-height: 22px;
196
639
  font-weight: bold;
197
640
  padding-right: 24px;
198
641
  padding-left: 24px;
642
+ color: var(--charcoal-text5);
643
+ background-color: var(--charcoal-brand);
644
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
645
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
646
+ height: 40px;
647
+ }
648
+
649
+ .c25:not(:disabled):not([aria-disabled]):active,
650
+ .c25[aria-disabled='false']:active,
651
+ .c25:not(:disabled):not([aria-disabled]):focus,
652
+ .c25[aria-disabled='false']:focus,
653
+ .c25:not(:disabled):not([aria-disabled]):focus-visible,
654
+ .c25[aria-disabled='false']:focus-visible {
655
+ outline: none;
656
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
657
+ }
658
+
659
+ .c25:not(:disabled):not([aria-disabled]):hover,
660
+ .c25[aria-disabled='false']:hover {
661
+ color: var(--charcoal-text5-hover);
662
+ background-color: var(--charcoal-brand-hover);
663
+ }
664
+
665
+ .c25:not(:disabled):not([aria-disabled]):active,
666
+ .c25[aria-disabled='false']:active {
667
+ color: var(--charcoal-text5-press);
668
+ background-color: var(--charcoal-brand-press);
669
+ }
670
+
671
+ .c25:disabled,
672
+ .c25[aria-disabled]:not([aria-disabled='false']) {
673
+ opacity: 0.32;
674
+ }
675
+
676
+ .c26 {
677
+ width: -webkit-fill-available;
678
+ width: -moz-available;
679
+ width: stretch;
680
+ display: inline-grid;
681
+ -webkit-align-items: center;
682
+ -webkit-box-align: center;
683
+ -ms-flex-align: center;
684
+ align-items: center;
685
+ -webkit-box-pack: center;
686
+ -webkit-justify-content: center;
687
+ -ms-flex-pack: center;
688
+ justify-content: center;
689
+ cursor: pointer;
690
+ -webkit-user-select: none;
691
+ -moz-user-select: none;
692
+ -ms-user-select: none;
693
+ user-select: none;
694
+ white-space: nowrap;
199
695
  border-radius: 999999px;
696
+ font-size: 14px;
697
+ line-height: 22px;
698
+ font-weight: bold;
699
+ padding-right: 24px;
700
+ padding-left: 24px;
701
+ color: var(--charcoal-text2);
702
+ background-color: var(--charcoal-surface3);
200
703
  -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
201
704
  transition: 0.2s color,0.2s background-color,0.2s box-shadow;
202
705
  height: 40px;
203
706
  }
204
707
 
205
- .c1:hover:not(:disabled):not([aria-disabled]),
206
- .c1:hover[aria-disabled=false] {
207
- color: var(--charcoal-text2-hover);
708
+ .c26:not(:disabled):not([aria-disabled]):active,
709
+ .c26[aria-disabled='false']:active,
710
+ .c26:not(:disabled):not([aria-disabled]):focus,
711
+ .c26[aria-disabled='false']:focus,
712
+ .c26:not(:disabled):not([aria-disabled]):focus-visible,
713
+ .c26[aria-disabled='false']:focus-visible {
714
+ outline: none;
715
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
716
+ }
717
+
718
+ .c26:not(:disabled):not([aria-disabled]):hover,
719
+ .c26[aria-disabled='false']:hover {
720
+ color: var(--charcoal-text2-hover);
721
+ background-color: var(--charcoal-surface3-hover);
722
+ }
723
+
724
+ .c26:not(:disabled):not([aria-disabled]):active,
725
+ .c26[aria-disabled='false']:active {
726
+ color: var(--charcoal-text2-press);
727
+ background-color: var(--charcoal-surface3-press);
728
+ }
729
+
730
+ .c26:disabled,
731
+ .c26[aria-disabled]:not([aria-disabled='false']) {
732
+ opacity: 0.32;
733
+ }
734
+
735
+ .c14 {
736
+ font-size: 14px;
737
+ line-height: 22px;
738
+ font-weight: bold;
739
+ display: flow-root;
740
+ color: var(--charcoal-text1);
741
+ }
742
+
743
+ .c14::before {
744
+ display: block;
745
+ width: 0;
746
+ height: 0;
747
+ content: '';
748
+ margin-top: -4px;
749
+ }
750
+
751
+ .c14::after {
752
+ display: block;
753
+ width: 0;
754
+ height: 0;
755
+ content: '';
756
+ margin-bottom: -4px;
757
+ }
758
+
759
+ .c16 {
760
+ font-size: 14px;
761
+ line-height: 22px;
762
+ display: flow-root;
763
+ color: var(--charcoal-text3);
764
+ -webkit-transition: 0.2s color,0.2s box-shadow;
765
+ transition: 0.2s color,0.2s box-shadow;
766
+ }
767
+
768
+ .c16::before {
769
+ display: block;
770
+ width: 0;
771
+ height: 0;
772
+ content: '';
773
+ margin-top: -4px;
774
+ }
775
+
776
+ .c16::after {
777
+ display: block;
778
+ width: 0;
779
+ height: 0;
780
+ content: '';
781
+ margin-bottom: -4px;
782
+ }
783
+
784
+ .c16:not(:disabled):not([aria-disabled]):hover,
785
+ .c16[aria-disabled='false']:hover {
786
+ color: var(--charcoal-text3-hover);
787
+ }
788
+
789
+ .c16:not(:disabled):not([aria-disabled]):active,
790
+ .c16[aria-disabled='false']:active {
791
+ color: var(--charcoal-text3-press);
792
+ }
793
+
794
+ .c16:not(:disabled):not([aria-disabled]):active,
795
+ .c16[aria-disabled='false']:active,
796
+ .c16:not(:disabled):not([aria-disabled]):focus,
797
+ .c16[aria-disabled='false']:focus,
798
+ .c16:not(:disabled):not([aria-disabled]):focus-visible,
799
+ .c16[aria-disabled='false']:focus-visible {
800
+ outline: none;
801
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
802
+ }
803
+
804
+ .c12 {
805
+ display: -webkit-inline-box;
806
+ display: -webkit-inline-flex;
807
+ display: -ms-inline-flexbox;
808
+ display: inline-flex;
809
+ -webkit-align-items: center;
810
+ -webkit-box-align: center;
811
+ -ms-flex-align: center;
812
+ align-items: center;
813
+ }
814
+
815
+ .c12 > .c15 {
816
+ margin-left: auto;
817
+ }
818
+
819
+ .c19 {
820
+ display: inline-block;
821
+ width: 100%;
822
+ }
823
+
824
+ .c19:disabled,
825
+ .c19[aria-disabled]:not([aria-disabled=false]) {
826
+ cursor: default;
827
+ opacity: 0.32;
828
+ }
829
+
830
+ .c20 {
831
+ width: 100%;
832
+ margin-bottom: 8px;
833
+ }
834
+
835
+ .c21 {
836
+ display: -webkit-box;
837
+ display: -webkit-flex;
838
+ display: -ms-flexbox;
839
+ display: flex;
840
+ -webkit-box-pack: justify;
841
+ -webkit-justify-content: space-between;
842
+ -ms-flex-pack: justify;
843
+ justify-content: space-between;
844
+ -webkit-align-items: center;
845
+ -webkit-box-align: center;
846
+ -ms-flex-align: center;
847
+ align-items: center;
848
+ height: 40px;
849
+ width: 100%;
850
+ box-sizing: border-box;
851
+ border: none;
852
+ cursor: pointer;
853
+ gap: 4px;
854
+ padding-right: 8px;
855
+ padding-left: 8px;
856
+ background-color: var(--charcoal-surface3);
857
+ border-radius: 4px;
858
+ -webkit-transition: 0.2s box-shadow,0.2s background-color;
859
+ transition: 0.2s box-shadow,0.2s background-color;
860
+ }
861
+
862
+ .c21:disabled,
863
+ .c21[aria-disabled]:not([aria-disabled=false]) {
864
+ cursor: default;
865
+ }
866
+
867
+ .c21:not(:disabled):not([aria-disabled]):focus,
868
+ .c21[aria-disabled='false']:focus,
869
+ .c21:not(:disabled):not([aria-disabled]):active,
870
+ .c21[aria-disabled='false']:active,
871
+ .c21:not(:disabled):not([aria-disabled]):focus-visible,
872
+ .c21[aria-disabled='false']:focus-visible {
873
+ outline: none;
874
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
875
+ }
876
+
877
+ .c21:not(:disabled):not([aria-disabled]):hover,
878
+ .c21[aria-disabled='false']:hover {
879
+ background-color: var(--charcoal-surface3-hover);
880
+ }
881
+
882
+ .c22 {
883
+ text-align: left;
884
+ font-size: 14px;
885
+ line-height: 22px;
886
+ display: flow-root;
887
+ color: var(--charcoal-text2);
888
+ overflow: hidden;
889
+ text-overflow: ellipsis;
890
+ white-space: nowrap;
891
+ }
892
+
893
+ .c23 {
894
+ color: var(--charcoal-text2);
895
+ }
896
+
897
+ .c27 {
898
+ -webkit-user-select: none;
899
+ -moz-user-select: none;
900
+ -ms-user-select: none;
901
+ user-select: none;
902
+ width: 32px;
903
+ height: 32px;
904
+ display: -webkit-box;
905
+ display: -webkit-flex;
906
+ display: -ms-flexbox;
907
+ display: flex;
908
+ -webkit-align-items: center;
909
+ -webkit-box-align: center;
910
+ -ms-flex-align: center;
911
+ align-items: center;
912
+ -webkit-box-pack: center;
913
+ -webkit-justify-content: center;
914
+ -ms-flex-pack: center;
915
+ justify-content: center;
916
+ color: var(--charcoal-text3);
917
+ background-color: var(--charcoal-transparent);
918
+ border-radius: 999999px;
919
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
920
+ transition: 0.2s background-color,0.2s box-shadow;
921
+ }
922
+
923
+ .c27:not(:disabled):not([aria-disabled]):hover,
924
+ .c27[aria-disabled='false']:hover {
925
+ background-color: var( --charcoal-transparent-hover );
926
+ }
927
+
928
+ .c27:not(:disabled):not([aria-disabled]):active,
929
+ .c27[aria-disabled='false']:active {
930
+ background-color: var( --charcoal-transparent-press );
931
+ }
932
+
933
+ .c27:not(:disabled):not([aria-disabled]):focus,
934
+ .c27[aria-disabled='false']:focus,
935
+ .c27:not(:disabled):not([aria-disabled]):active,
936
+ .c27[aria-disabled='false']:active,
937
+ .c27:not(:disabled):not([aria-disabled]):focus-visible,
938
+ .c27[aria-disabled='false']:focus-visible {
939
+ outline: none;
940
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
941
+ }
942
+
943
+ .c27:disabled,
944
+ .c27[aria-disabled]:not([aria-disabled='false']) {
945
+ opacity: 0.32;
946
+ }
947
+
948
+ .c3 {
949
+ margin: auto;
950
+ position: relative;
951
+ height: -webkit-fit-content;
952
+ height: -moz-fit-content;
953
+ height: fit-content;
954
+ width: 440px;
955
+ background-color: var(--charcoal-surface1);
956
+ border-radius: 24px;
957
+ }
958
+
959
+ .c3:focus {
960
+ outline: none;
961
+ }
962
+
963
+ .c2 {
964
+ z-index: 10;
965
+ overflow: auto;
966
+ display: -webkit-box;
967
+ display: -webkit-flex;
968
+ display: -ms-flexbox;
969
+ display: flex;
970
+ position: fixed;
971
+ top: 0;
972
+ left: 0;
973
+ width: -webkit-fill-available;
974
+ width: -moz-available;
975
+ height: 100%;
976
+ -webkit-box-pack: center;
977
+ -webkit-justify-content: center;
978
+ -ms-flex-pack: center;
979
+ justify-content: center;
980
+ padding: 40px 0;
981
+ box-sizing: border-box;
982
+ background-color: var(--charcoal-surface4);
983
+ }
984
+
985
+ .c28 {
986
+ position: absolute;
987
+ top: 8px;
988
+ right: 8px;
989
+ color: var(--charcoal-text3);
990
+ -webkit-transition: 0.2s color;
991
+ transition: 0.2s color;
992
+ }
993
+
994
+ .c28:not(:disabled):not([aria-disabled]):hover,
995
+ .c28[aria-disabled='false']:hover {
996
+ color: var(--charcoal-text3-hover);
997
+ }
998
+
999
+ .c28:not(:disabled):not([aria-disabled]):active,
1000
+ .c28[aria-disabled='false']:active {
1001
+ color: var(--charcoal-text3-press);
1002
+ }
1003
+
1004
+ .c5 {
1005
+ margin: 0;
1006
+ font-weight: inherit;
1007
+ font-size: inherit;
1008
+ }
1009
+
1010
+ .c4 {
1011
+ height: 64px;
1012
+ display: grid;
1013
+ -webkit-align-content: center;
1014
+ -ms-flex-line-pack: center;
1015
+ align-content: center;
1016
+ -webkit-box-pack: center;
1017
+ -webkit-justify-content: center;
1018
+ -ms-flex-pack: center;
1019
+ justify-content: center;
1020
+ }
1021
+
1022
+ .c6 {
1023
+ color: var(--charcoal-text1);
1024
+ font-size: 16px;
1025
+ line-height: 24px;
1026
+ font-weight: bold;
1027
+ display: flow-root;
1028
+ }
1029
+
1030
+ .c6::before {
1031
+ display: block;
1032
+ width: 0;
1033
+ height: 0;
1034
+ content: '';
1035
+ margin-top: -4px;
1036
+ }
1037
+
1038
+ .c6::after {
1039
+ display: block;
1040
+ width: 0;
1041
+ height: 0;
1042
+ content: '';
1043
+ margin-bottom: -4px;
1044
+ }
1045
+
1046
+ .c9 {
1047
+ padding-left: 16px;
1048
+ padding-right: 16px;
1049
+ }
1050
+
1051
+ .c7 {
1052
+ padding-bottom: 40px;
1053
+ }
1054
+
1055
+ .c24 {
1056
+ display: grid;
1057
+ grid-auto-flow: row;
1058
+ grid-row-gap: 8px;
1059
+ padding-top: 16px;
1060
+ padding-left: 16px;
1061
+ padding-right: 16px;
1062
+ }
1063
+
1064
+ .c11 {
1065
+ display: -webkit-box;
1066
+ display: -webkit-flex;
1067
+ display: -ms-flexbox;
1068
+ display: flex;
1069
+ -webkit-flex-direction: column;
1070
+ -ms-flex-direction: column;
1071
+ flex-direction: column;
1072
+ }
1073
+
1074
+ .c13 {
1075
+ margin-bottom: 8px;
1076
+ }
1077
+
1078
+ .c17 {
1079
+ display: grid;
1080
+ grid-template-columns: 1fr;
1081
+ height: 40px;
1082
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
1083
+ transition: 0.2s background-color,0.2s box-shadow;
1084
+ color: var(--charcoal-text2);
1085
+ background-color: var(--charcoal-surface3);
1086
+ border-radius: 4px;
1087
+ gap: 4px;
1088
+ padding: 0 8px;
1089
+ line-height: 22px;
1090
+ font-size: 14px;
1091
+ }
1092
+
1093
+ .c17:not(:disabled):not([aria-disabled]):hover,
1094
+ .c17 [aria-disabled='false']:hover {
1095
+ background-color: var(--charcoal-surface3-hover);
1096
+ }
1097
+
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
+ .c17:focus-within {
1105
+ outline: none;
1106
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1107
+ }
1108
+
1109
+ .c18 {
1110
+ border: none;
1111
+ box-sizing: border-box;
1112
+ outline: none;
1113
+ font-family: inherit;
1114
+ -webkit-transform-origin: top left;
1115
+ -ms-transform-origin: top left;
1116
+ transform-origin: top left;
1117
+ -webkit-transform: scale(0.875);
1118
+ -ms-transform: scale(0.875);
1119
+ transform: scale(0.875);
1120
+ width: calc(100% / 0.875);
1121
+ height: calc(100% / 0.875);
1122
+ font-size: calc(14px / 0.875);
1123
+ line-height: calc(22px / 0.875);
1124
+ padding-left: 0;
1125
+ padding-right: 0;
1126
+ border-radius: calc(4px / 0.875);
1127
+ -webkit-appearance: none;
1128
+ -moz-appearance: none;
1129
+ appearance: none;
1130
+ background: transparent;
1131
+ color: var(--charcoal-text2);
1132
+ }
1133
+
1134
+ .c18::-webkit-input-placeholder {
1135
+ color: var(--charcoal-text3);
1136
+ }
1137
+
1138
+ .c18::-moz-placeholder {
1139
+ color: var(--charcoal-text3);
1140
+ }
1141
+
1142
+ .c18:-ms-input-placeholder {
1143
+ color: var(--charcoal-text3);
1144
+ }
1145
+
1146
+ .c18::placeholder {
1147
+ color: var(--charcoal-text3);
1148
+ }
1149
+
1150
+ .c8 {
1151
+ display: grid;
1152
+ gap: 24px;
1153
+ }
1154
+
1155
+ .c10 {
1156
+ color: var(--charcoal-text2);
1157
+ font-size: 14px;
1158
+ line-height: 22px;
1159
+ display: flow-root;
1160
+ }
1161
+
1162
+ .c10::before {
1163
+ display: block;
1164
+ width: 0;
1165
+ height: 0;
1166
+ content: '';
1167
+ margin-top: -4px;
1168
+ }
1169
+
1170
+ .c10::after {
1171
+ display: block;
1172
+ width: 0;
1173
+ height: 0;
1174
+ content: '';
1175
+ margin-bottom: -4px;
1176
+ }
1177
+
1178
+ @media (max-width:743px) {
1179
+ .c3 {
1180
+ max-width: 440px;
1181
+ width: calc(100% - 48px);
1182
+ }
1183
+ }
1184
+
1185
+ @media (max-width:743px) {
1186
+
1187
+ }
1188
+
1189
+ @media (max-width:743px) {
1190
+
1191
+ }
1192
+
1193
+ <div
1194
+ data-dark={false}
1195
+ >
1196
+ <div
1197
+ aria-hidden={null}
1198
+ data-overlay-container={true}
1199
+ >
1200
+ <button
1201
+ className="c0 c1"
1202
+ disabled={false}
1203
+ onClick={[Function]}
1204
+ >
1205
+ Open Modal
1206
+ </button>
1207
+ <div
1208
+ className="c2"
1209
+ onPointerDown={[Function]}
1210
+ style={Object {}}
1211
+ >
1212
+ <div
1213
+ className="c3"
1214
+ onBlur={[Function]}
1215
+ onKeyDown={[Function]}
1216
+ role="dialog"
1217
+ size="M"
1218
+ style={Object {}}
1219
+ tabIndex={-1}
1220
+ >
1221
+ <div
1222
+ className="c4"
1223
+ >
1224
+ <h3
1225
+ className="c5 c6"
1226
+ >
1227
+ Title
1228
+ </h3>
1229
+ </div>
1230
+ <div
1231
+ className="c7"
1232
+ >
1233
+ <div
1234
+ className="c8"
1235
+ >
1236
+ <div
1237
+ className="c9 c10"
1238
+ >
1239
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod placeat tenetur, necessitatibus laudantium cumque exercitationem provident. Quaerat iure enim, eveniet dolores earum odio quo possimus fugiat aspernatur, numquam, commodi repellat.
1240
+ </div>
1241
+ <div
1242
+ className="c9"
1243
+ >
1244
+ <div
1245
+ className="c11"
1246
+ >
1247
+ <div
1248
+ className="c12 c13"
1249
+ >
1250
+ <label
1251
+ className="c14"
1252
+ htmlFor="test-id"
1253
+ id="test-id"
1254
+ >
1255
+ Name
1256
+ </label>
1257
+ <div
1258
+ className="c15 c16"
1259
+ >
1260
+ <span />
1261
+ </div>
1262
+ </div>
1263
+ <div
1264
+ className="c17"
1265
+ >
1266
+ <input
1267
+ aria-labelledby="test-id"
1268
+ className="c18"
1269
+ disabled={false}
1270
+ id="test-id"
1271
+ onChange={[Function]}
1272
+ placeholder="Nagisa"
1273
+ readOnly={false}
1274
+ required={false}
1275
+ type="text"
1276
+ value=""
1277
+ />
1278
+ </div>
1279
+ </div>
1280
+ </div>
1281
+ <div
1282
+ className="c9"
1283
+ >
1284
+ <div
1285
+ className="c11"
1286
+ >
1287
+ <div
1288
+ className="c12 c13"
1289
+ >
1290
+ <label
1291
+ className="c14"
1292
+ htmlFor="test-id"
1293
+ id="test-id"
1294
+ >
1295
+ Country
1296
+ </label>
1297
+ <div
1298
+ className="c15 c16"
1299
+ >
1300
+ <span />
1301
+ </div>
1302
+ </div>
1303
+ <div
1304
+ className="c17"
1305
+ >
1306
+ <input
1307
+ aria-labelledby="test-id"
1308
+ className="c18"
1309
+ disabled={false}
1310
+ id="test-id"
1311
+ onChange={[Function]}
1312
+ placeholder="Tokyo"
1313
+ readOnly={false}
1314
+ required={false}
1315
+ type="text"
1316
+ value=""
1317
+ />
1318
+ </div>
1319
+ </div>
1320
+ </div>
1321
+ <div
1322
+ className="c9"
1323
+ >
1324
+ <div
1325
+ className="c19"
1326
+ >
1327
+ <div
1328
+ className="c12 c20"
1329
+ >
1330
+ <label
1331
+ className="c14"
1332
+ >
1333
+ Fruits
1334
+ </label>
1335
+ <div
1336
+ className="c15 c16"
1337
+ >
1338
+ <span />
1339
+ </div>
1340
+ </div>
1341
+ <button
1342
+ className="c21"
1343
+ onClick={[Function]}
1344
+ type="button"
1345
+ >
1346
+ <span
1347
+ className="c22"
1348
+ >
1349
+ Apple
1350
+ </span>
1351
+ <pixiv-icon
1352
+ class="c23"
1353
+ name="16/Menu"
1354
+ />
1355
+ </button>
1356
+ </div>
1357
+ </div>
1358
+ </div>
1359
+ <div
1360
+ className="c24"
1361
+ >
1362
+ <button
1363
+ className="c0 c25"
1364
+ disabled={false}
1365
+ onClick={[Function]}
1366
+ >
1367
+ Apply
1368
+ </button>
1369
+ <button
1370
+ className="c0 c26"
1371
+ disabled={false}
1372
+ onClick={[Function]}
1373
+ >
1374
+ Cancel
1375
+ </button>
1376
+ </div>
1377
+ </div>
1378
+ <button
1379
+ className="c0 c27 c28"
1380
+ onClick={[Function]}
1381
+ >
1382
+ <pixiv-icon
1383
+ name="24/Close"
1384
+ />
1385
+ </button>
1386
+ </div>
1387
+ </div>
1388
+ </div>
1389
+ </div>
1390
+ `;
1391
+
1392
+ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
1393
+ .c0 {
1394
+ cursor: pointer;
1395
+ -webkit-appearance: none;
1396
+ -moz-appearance: none;
1397
+ appearance: none;
1398
+ background: transparent;
1399
+ padding: 0;
1400
+ border-style: none;
1401
+ outline: none;
1402
+ color: inherit;
1403
+ text-rendering: inherit;
1404
+ -webkit-letter-spacing: inherit;
1405
+ -moz-letter-spacing: inherit;
1406
+ -ms-letter-spacing: inherit;
1407
+ letter-spacing: inherit;
1408
+ word-spacing: inherit;
1409
+ -webkit-text-decoration: none;
1410
+ text-decoration: none;
1411
+ font: inherit;
1412
+ margin: 0;
1413
+ overflow: visible;
1414
+ text-transform: none;
1415
+ }
1416
+
1417
+ .c0:disabled,
1418
+ .c0[aria-disabled]:not([aria-disabled=false]) {
1419
+ cursor: default;
1420
+ }
1421
+
1422
+ .c0:focus {
1423
+ outline: none;
1424
+ }
1425
+
1426
+ .c0::-moz-focus-inner {
1427
+ border-style: none;
1428
+ padding: 0;
1429
+ }
1430
+
1431
+ .c1 {
1432
+ width: -webkit-min-content;
1433
+ width: -moz-min-content;
1434
+ width: min-content;
1435
+ display: inline-grid;
1436
+ -webkit-align-items: center;
1437
+ -webkit-box-align: center;
1438
+ -ms-flex-align: center;
1439
+ align-items: center;
1440
+ -webkit-box-pack: center;
1441
+ -webkit-justify-content: center;
1442
+ -ms-flex-pack: center;
1443
+ justify-content: center;
1444
+ cursor: pointer;
1445
+ -webkit-user-select: none;
1446
+ -moz-user-select: none;
1447
+ -ms-user-select: none;
1448
+ user-select: none;
1449
+ white-space: nowrap;
1450
+ border-radius: 999999px;
1451
+ font-size: 14px;
1452
+ line-height: 22px;
1453
+ font-weight: bold;
1454
+ padding-right: 24px;
1455
+ padding-left: 24px;
1456
+ color: var(--charcoal-text2);
1457
+ background-color: var(--charcoal-surface3);
1458
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1459
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1460
+ height: 40px;
1461
+ }
1462
+
1463
+ .c1:not(:disabled):not([aria-disabled]):active,
1464
+ .c1[aria-disabled='false']:active,
1465
+ .c1:not(:disabled):not([aria-disabled]):focus,
1466
+ .c1[aria-disabled='false']:focus,
1467
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
1468
+ .c1[aria-disabled='false']:focus-visible {
1469
+ outline: none;
1470
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1471
+ }
1472
+
1473
+ .c1:not(:disabled):not([aria-disabled]):hover,
1474
+ .c1[aria-disabled='false']:hover {
1475
+ color: var(--charcoal-text2-hover);
1476
+ background-color: var(--charcoal-surface3-hover);
1477
+ }
1478
+
1479
+ .c1:not(:disabled):not([aria-disabled]):active,
1480
+ .c1[aria-disabled='false']:active {
1481
+ color: var(--charcoal-text2-press);
1482
+ background-color: var(--charcoal-surface3-press);
1483
+ }
1484
+
1485
+ .c1:disabled,
1486
+ .c1[aria-disabled]:not([aria-disabled='false']) {
1487
+ opacity: 0.32;
1488
+ }
1489
+
1490
+ .c20 {
1491
+ width: -webkit-fill-available;
1492
+ width: -moz-available;
1493
+ width: stretch;
1494
+ display: inline-grid;
1495
+ -webkit-align-items: center;
1496
+ -webkit-box-align: center;
1497
+ -ms-flex-align: center;
1498
+ align-items: center;
1499
+ -webkit-box-pack: center;
1500
+ -webkit-justify-content: center;
1501
+ -ms-flex-pack: center;
1502
+ justify-content: center;
1503
+ cursor: pointer;
1504
+ -webkit-user-select: none;
1505
+ -moz-user-select: none;
1506
+ -ms-user-select: none;
1507
+ user-select: none;
1508
+ white-space: nowrap;
1509
+ border-radius: 999999px;
1510
+ font-size: 14px;
1511
+ line-height: 22px;
1512
+ font-weight: bold;
1513
+ padding-right: 24px;
1514
+ padding-left: 24px;
1515
+ color: var(--charcoal-text5);
1516
+ background-color: var(--charcoal-brand);
1517
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1518
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1519
+ height: 40px;
1520
+ }
1521
+
1522
+ .c20:not(:disabled):not([aria-disabled]):active,
1523
+ .c20[aria-disabled='false']:active,
1524
+ .c20:not(:disabled):not([aria-disabled]):focus,
1525
+ .c20[aria-disabled='false']:focus,
1526
+ .c20:not(:disabled):not([aria-disabled]):focus-visible,
1527
+ .c20[aria-disabled='false']:focus-visible {
1528
+ outline: none;
1529
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1530
+ }
1531
+
1532
+ .c20:not(:disabled):not([aria-disabled]):hover,
1533
+ .c20[aria-disabled='false']:hover {
1534
+ color: var(--charcoal-text5-hover);
1535
+ background-color: var(--charcoal-brand-hover);
1536
+ }
1537
+
1538
+ .c20:not(:disabled):not([aria-disabled]):active,
1539
+ .c20[aria-disabled='false']:active {
1540
+ color: var(--charcoal-text5-press);
1541
+ background-color: var(--charcoal-brand-press);
1542
+ }
1543
+
1544
+ .c20:disabled,
1545
+ .c20[aria-disabled]:not([aria-disabled='false']) {
1546
+ opacity: 0.32;
1547
+ }
1548
+
1549
+ .c21 {
1550
+ width: -webkit-fill-available;
1551
+ width: -moz-available;
1552
+ width: stretch;
1553
+ display: inline-grid;
1554
+ -webkit-align-items: center;
1555
+ -webkit-box-align: center;
1556
+ -ms-flex-align: center;
1557
+ align-items: center;
1558
+ -webkit-box-pack: center;
1559
+ -webkit-justify-content: center;
1560
+ -ms-flex-pack: center;
1561
+ justify-content: center;
1562
+ cursor: pointer;
1563
+ -webkit-user-select: none;
1564
+ -moz-user-select: none;
1565
+ -ms-user-select: none;
1566
+ user-select: none;
1567
+ white-space: nowrap;
1568
+ border-radius: 999999px;
1569
+ font-size: 14px;
1570
+ line-height: 22px;
1571
+ font-weight: bold;
1572
+ padding-right: 24px;
1573
+ padding-left: 24px;
1574
+ color: var(--charcoal-text2);
1575
+ background-color: var(--charcoal-surface3);
1576
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1577
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
1578
+ height: 40px;
1579
+ }
1580
+
1581
+ .c21:not(:disabled):not([aria-disabled]):active,
1582
+ .c21[aria-disabled='false']:active,
1583
+ .c21:not(:disabled):not([aria-disabled]):focus,
1584
+ .c21[aria-disabled='false']:focus,
1585
+ .c21:not(:disabled):not([aria-disabled]):focus-visible,
1586
+ .c21[aria-disabled='false']:focus-visible {
1587
+ outline: none;
1588
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1589
+ }
1590
+
1591
+ .c21:not(:disabled):not([aria-disabled]):hover,
1592
+ .c21[aria-disabled='false']:hover {
1593
+ color: var(--charcoal-text2-hover);
1594
+ background-color: var(--charcoal-surface3-hover);
1595
+ }
1596
+
1597
+ .c21:not(:disabled):not([aria-disabled]):active,
1598
+ .c21[aria-disabled='false']:active {
1599
+ color: var(--charcoal-text2-press);
1600
+ background-color: var(--charcoal-surface3-press);
1601
+ }
1602
+
1603
+ .c21:disabled,
1604
+ .c21[aria-disabled]:not([aria-disabled='false']) {
1605
+ opacity: 0.32;
1606
+ }
1607
+
1608
+ .c14 {
1609
+ font-size: 14px;
1610
+ line-height: 22px;
1611
+ font-weight: bold;
1612
+ display: flow-root;
1613
+ color: var(--charcoal-text1);
1614
+ }
1615
+
1616
+ .c14::before {
1617
+ display: block;
1618
+ width: 0;
1619
+ height: 0;
1620
+ content: '';
1621
+ margin-top: -4px;
1622
+ }
1623
+
1624
+ .c14::after {
1625
+ display: block;
1626
+ width: 0;
1627
+ height: 0;
1628
+ content: '';
1629
+ margin-bottom: -4px;
1630
+ }
1631
+
1632
+ .c16 {
1633
+ font-size: 14px;
1634
+ line-height: 22px;
1635
+ display: flow-root;
1636
+ color: var(--charcoal-text3);
1637
+ -webkit-transition: 0.2s color,0.2s box-shadow;
1638
+ transition: 0.2s color,0.2s box-shadow;
1639
+ }
1640
+
1641
+ .c16::before {
1642
+ display: block;
1643
+ width: 0;
1644
+ height: 0;
1645
+ content: '';
1646
+ margin-top: -4px;
1647
+ }
1648
+
1649
+ .c16::after {
1650
+ display: block;
1651
+ width: 0;
1652
+ height: 0;
1653
+ content: '';
1654
+ margin-bottom: -4px;
1655
+ }
1656
+
1657
+ .c16:not(:disabled):not([aria-disabled]):hover,
1658
+ .c16[aria-disabled='false']:hover {
1659
+ color: var(--charcoal-text3-hover);
1660
+ }
1661
+
1662
+ .c16:not(:disabled):not([aria-disabled]):active,
1663
+ .c16[aria-disabled='false']:active {
1664
+ color: var(--charcoal-text3-press);
1665
+ }
1666
+
1667
+ .c16:not(:disabled):not([aria-disabled]):active,
1668
+ .c16[aria-disabled='false']:active,
1669
+ .c16:not(:disabled):not([aria-disabled]):focus,
1670
+ .c16[aria-disabled='false']:focus,
1671
+ .c16:not(:disabled):not([aria-disabled]):focus-visible,
1672
+ .c16[aria-disabled='false']:focus-visible {
1673
+ outline: none;
1674
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1675
+ }
1676
+
1677
+ .c12 {
1678
+ display: -webkit-inline-box;
1679
+ display: -webkit-inline-flex;
1680
+ display: -ms-inline-flexbox;
1681
+ display: inline-flex;
1682
+ -webkit-align-items: center;
1683
+ -webkit-box-align: center;
1684
+ -ms-flex-align: center;
1685
+ align-items: center;
1686
+ }
1687
+
1688
+ .c12 > .c15 {
1689
+ margin-left: auto;
1690
+ }
1691
+
1692
+ .c22 {
1693
+ -webkit-user-select: none;
1694
+ -moz-user-select: none;
1695
+ -ms-user-select: none;
1696
+ user-select: none;
1697
+ width: 32px;
1698
+ height: 32px;
1699
+ display: -webkit-box;
1700
+ display: -webkit-flex;
1701
+ display: -ms-flexbox;
1702
+ display: flex;
1703
+ -webkit-align-items: center;
1704
+ -webkit-box-align: center;
1705
+ -ms-flex-align: center;
1706
+ align-items: center;
1707
+ -webkit-box-pack: center;
1708
+ -webkit-justify-content: center;
1709
+ -ms-flex-pack: center;
1710
+ justify-content: center;
1711
+ color: var(--charcoal-text3);
1712
+ background-color: var(--charcoal-transparent);
1713
+ border-radius: 999999px;
1714
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
1715
+ transition: 0.2s background-color,0.2s box-shadow;
1716
+ }
1717
+
1718
+ .c22:not(:disabled):not([aria-disabled]):hover,
1719
+ .c22[aria-disabled='false']:hover {
1720
+ background-color: var( --charcoal-transparent-hover );
1721
+ }
1722
+
1723
+ .c22:not(:disabled):not([aria-disabled]):active,
1724
+ .c22[aria-disabled='false']:active {
1725
+ background-color: var( --charcoal-transparent-press );
1726
+ }
1727
+
1728
+ .c22:not(:disabled):not([aria-disabled]):focus,
1729
+ .c22[aria-disabled='false']:focus,
1730
+ .c22:not(:disabled):not([aria-disabled]):active,
1731
+ .c22[aria-disabled='false']:active,
1732
+ .c22:not(:disabled):not([aria-disabled]):focus-visible,
1733
+ .c22[aria-disabled='false']:focus-visible {
1734
+ outline: none;
1735
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1736
+ }
1737
+
1738
+ .c22:disabled,
1739
+ .c22[aria-disabled]:not([aria-disabled='false']) {
1740
+ opacity: 0.32;
1741
+ }
1742
+
1743
+ .c3 {
1744
+ margin: auto;
1745
+ position: relative;
1746
+ height: -webkit-fit-content;
1747
+ height: -moz-fit-content;
1748
+ height: fit-content;
1749
+ width: 440px;
1750
+ background-color: var(--charcoal-surface1);
1751
+ border-radius: 24px;
1752
+ }
1753
+
1754
+ .c3:focus {
1755
+ outline: none;
1756
+ }
1757
+
1758
+ .c2 {
1759
+ z-index: 10;
1760
+ overflow: auto;
1761
+ display: -webkit-box;
1762
+ display: -webkit-flex;
1763
+ display: -ms-flexbox;
1764
+ display: flex;
1765
+ position: fixed;
1766
+ top: 0;
1767
+ left: 0;
1768
+ width: -webkit-fill-available;
1769
+ width: -moz-available;
1770
+ height: 100%;
1771
+ -webkit-box-pack: center;
1772
+ -webkit-justify-content: center;
1773
+ -ms-flex-pack: center;
1774
+ justify-content: center;
1775
+ padding: 40px 0;
1776
+ box-sizing: border-box;
1777
+ background-color: var(--charcoal-surface4);
1778
+ }
1779
+
1780
+ .c23 {
1781
+ position: absolute;
1782
+ top: 8px;
1783
+ right: 8px;
1784
+ color: var(--charcoal-text3);
1785
+ -webkit-transition: 0.2s color;
1786
+ transition: 0.2s color;
1787
+ }
1788
+
1789
+ .c23:not(:disabled):not([aria-disabled]):hover,
1790
+ .c23[aria-disabled='false']:hover {
1791
+ color: var(--charcoal-text3-hover);
1792
+ }
1793
+
1794
+ .c23:not(:disabled):not([aria-disabled]):active,
1795
+ .c23[aria-disabled='false']:active {
1796
+ color: var(--charcoal-text3-press);
1797
+ }
1798
+
1799
+ .c5 {
1800
+ margin: 0;
1801
+ font-weight: inherit;
1802
+ font-size: inherit;
1803
+ }
1804
+
1805
+ .c4 {
1806
+ height: 64px;
1807
+ display: grid;
1808
+ -webkit-align-content: center;
1809
+ -ms-flex-line-pack: center;
1810
+ align-content: center;
1811
+ -webkit-box-pack: center;
1812
+ -webkit-justify-content: center;
1813
+ -ms-flex-pack: center;
1814
+ justify-content: center;
1815
+ }
1816
+
1817
+ .c6 {
1818
+ color: var(--charcoal-text1);
1819
+ font-size: 16px;
1820
+ line-height: 24px;
1821
+ font-weight: bold;
1822
+ display: flow-root;
1823
+ }
1824
+
1825
+ .c6::before {
1826
+ display: block;
1827
+ width: 0;
1828
+ height: 0;
1829
+ content: '';
1830
+ margin-top: -4px;
1831
+ }
1832
+
1833
+ .c6::after {
1834
+ display: block;
1835
+ width: 0;
1836
+ height: 0;
1837
+ content: '';
1838
+ margin-bottom: -4px;
1839
+ }
1840
+
1841
+ .c9 {
1842
+ padding-left: 16px;
1843
+ padding-right: 16px;
1844
+ }
1845
+
1846
+ .c7 {
1847
+ padding-bottom: 40px;
1848
+ }
1849
+
1850
+ .c19 {
1851
+ display: grid;
1852
+ grid-auto-flow: row;
1853
+ grid-row-gap: 8px;
1854
+ padding-top: 16px;
1855
+ padding-left: 16px;
1856
+ padding-right: 16px;
208
1857
  }
209
1858
 
210
- .c1:active:not(:disabled):not([aria-disabled]),
211
- .c1:active[aria-disabled=false] {
212
- color: var(--charcoal-text2-press);
1859
+ .c11 {
1860
+ display: -webkit-box;
1861
+ display: -webkit-flex;
1862
+ display: -ms-flexbox;
1863
+ display: flex;
1864
+ -webkit-flex-direction: column;
1865
+ -ms-flex-direction: column;
1866
+ flex-direction: column;
213
1867
  }
214
1868
 
215
- .c1:hover:not(:disabled):not([aria-disabled]),
216
- .c1:hover[aria-disabled=false] {
217
- background-color: var(--charcoal-surface3-hover);
1869
+ .c13 {
1870
+ margin-bottom: 8px;
218
1871
  }
219
1872
 
220
- .c1:active:not(:disabled):not([aria-disabled]),
221
- .c1:active[aria-disabled=false] {
222
- background-color: var(--charcoal-surface3-press);
1873
+ .c17 {
1874
+ display: grid;
1875
+ grid-template-columns: 1fr;
1876
+ height: 40px;
1877
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
1878
+ transition: 0.2s background-color,0.2s box-shadow;
1879
+ color: var(--charcoal-text2);
1880
+ background-color: var(--charcoal-surface3);
1881
+ border-radius: 4px;
1882
+ gap: 4px;
1883
+ padding: 0 8px;
1884
+ line-height: 22px;
1885
+ font-size: 14px;
223
1886
  }
224
1887
 
225
- .c1:disabled,
226
- .c1[aria-disabled]:not([aria-disabled=false]) {
227
- opacity: 0.32;
1888
+ .c17:not(:disabled):not([aria-disabled]):hover,
1889
+ .c17 [aria-disabled='false']:hover {
1890
+ background-color: var(--charcoal-surface3-hover);
228
1891
  }
229
1892
 
230
- .c1:not(:disabled):not([aria-disabled]):focus,
231
- .c1[aria-disabled=false]:focus,
232
- .c1:not(:disabled):not([aria-disabled]):active,
233
- .c1[aria-disabled=false]:active {
1893
+ .c17:not(:disabled):not([aria-disabled]):active,
1894
+ .c17 [aria-disabled='false']:active {
234
1895
  outline: none;
235
1896
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
236
1897
  }
237
1898
 
238
- .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
239
- .c1[aria-disabled=false]:focus:not(:focus-visible),
240
- .c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
241
- .c1[aria-disabled=false]:active:not(:focus-visible) {
1899
+ .c17:focus-within {
242
1900
  outline: none;
1901
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
243
1902
  }
244
1903
 
245
- .c1:not(:disabled):not([aria-disabled]):focus-visible,
246
- .c1[aria-disabled=false]:focus-visible {
1904
+ .c18 {
1905
+ border: none;
1906
+ box-sizing: border-box;
247
1907
  outline: none;
248
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1908
+ font-family: inherit;
1909
+ -webkit-transform-origin: top left;
1910
+ -ms-transform-origin: top left;
1911
+ transform-origin: top left;
1912
+ -webkit-transform: scale(0.875);
1913
+ -ms-transform: scale(0.875);
1914
+ transform: scale(0.875);
1915
+ width: calc(100% / 0.875);
1916
+ height: calc(100% / 0.875);
1917
+ font-size: calc(14px / 0.875);
1918
+ line-height: calc(22px / 0.875);
1919
+ padding-left: 0;
1920
+ padding-right: 0;
1921
+ border-radius: calc(4px / 0.875);
1922
+ -webkit-appearance: none;
1923
+ -moz-appearance: none;
1924
+ appearance: none;
1925
+ background: transparent;
1926
+ color: var(--charcoal-text2);
1927
+ }
1928
+
1929
+ .c18::-webkit-input-placeholder {
1930
+ color: var(--charcoal-text3);
1931
+ }
1932
+
1933
+ .c18::-moz-placeholder {
1934
+ color: var(--charcoal-text3);
1935
+ }
1936
+
1937
+ .c18:-ms-input-placeholder {
1938
+ color: var(--charcoal-text3);
1939
+ }
1940
+
1941
+ .c18::placeholder {
1942
+ color: var(--charcoal-text3);
1943
+ }
1944
+
1945
+ .c8 {
1946
+ display: grid;
1947
+ gap: 24px;
1948
+ }
1949
+
1950
+ .c10 {
1951
+ color: var(--charcoal-text2);
1952
+ font-size: 14px;
1953
+ line-height: 22px;
1954
+ display: flow-root;
1955
+ }
1956
+
1957
+ .c10::before {
1958
+ display: block;
1959
+ width: 0;
1960
+ height: 0;
1961
+ content: '';
1962
+ margin-top: -4px;
1963
+ }
1964
+
1965
+ .c10::after {
1966
+ display: block;
1967
+ width: 0;
1968
+ height: 0;
1969
+ content: '';
1970
+ margin-bottom: -4px;
1971
+ }
1972
+
1973
+ @media (max-width:743px) {
1974
+ .c3 {
1975
+ max-width: 440px;
1976
+ width: calc(100% - 48px);
1977
+ max-width: unset;
1978
+ width: 100%;
1979
+ border-radius: 0;
1980
+ margin: auto 0 0 0;
1981
+ min-height: 100%;
1982
+ }
1983
+ }
1984
+
1985
+ @media (max-width:743px) {
1986
+ .c2 {
1987
+ padding: 0;
1988
+ }
1989
+ }
1990
+
1991
+ @media (max-width:743px) {
1992
+ .c4 {
1993
+ height: 48px;
1994
+ }
249
1995
  }
250
1996
 
251
1997
  <div
@@ -262,11 +2008,155 @@ exports[`Storyshots Modal Default 1`] = `
262
2008
  >
263
2009
  Open Modal
264
2010
  </button>
2011
+ <div
2012
+ className="c2"
2013
+ onPointerDown={[Function]}
2014
+ style={Object {}}
2015
+ >
2016
+ <div
2017
+ className="c3"
2018
+ onBlur={[Function]}
2019
+ onKeyDown={[Function]}
2020
+ role="dialog"
2021
+ size="M"
2022
+ style={Object {}}
2023
+ tabIndex={-1}
2024
+ >
2025
+ <div
2026
+ className="c4"
2027
+ >
2028
+ <h3
2029
+ className="c5 c6"
2030
+ >
2031
+ Title
2032
+ </h3>
2033
+ </div>
2034
+ <div
2035
+ className="c7"
2036
+ >
2037
+ <div
2038
+ className="c8"
2039
+ >
2040
+ <div
2041
+ className="c9 c10"
2042
+ >
2043
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod placeat tenetur, necessitatibus laudantium cumque exercitationem provident. Quaerat iure enim, eveniet dolores earum odio quo possimus fugiat aspernatur, numquam, commodi repellat.
2044
+ </div>
2045
+ <div
2046
+ className="c9"
2047
+ >
2048
+ <div
2049
+ className="c11"
2050
+ >
2051
+ <div
2052
+ className="c12 c13"
2053
+ >
2054
+ <label
2055
+ className="c14"
2056
+ htmlFor="test-id"
2057
+ id="test-id"
2058
+ >
2059
+ Name
2060
+ </label>
2061
+ <div
2062
+ className="c15 c16"
2063
+ >
2064
+ <span />
2065
+ </div>
2066
+ </div>
2067
+ <div
2068
+ className="c17"
2069
+ >
2070
+ <input
2071
+ aria-labelledby="test-id"
2072
+ className="c18"
2073
+ disabled={false}
2074
+ id="test-id"
2075
+ onChange={[Function]}
2076
+ placeholder="Nagisa"
2077
+ readOnly={false}
2078
+ required={false}
2079
+ type="text"
2080
+ value=""
2081
+ />
2082
+ </div>
2083
+ </div>
2084
+ </div>
2085
+ <div
2086
+ className="c9"
2087
+ >
2088
+ <div
2089
+ className="c11"
2090
+ >
2091
+ <div
2092
+ className="c12 c13"
2093
+ >
2094
+ <label
2095
+ className="c14"
2096
+ htmlFor="test-id"
2097
+ id="test-id"
2098
+ >
2099
+ Country
2100
+ </label>
2101
+ <div
2102
+ className="c15 c16"
2103
+ >
2104
+ <span />
2105
+ </div>
2106
+ </div>
2107
+ <div
2108
+ className="c17"
2109
+ >
2110
+ <input
2111
+ aria-labelledby="test-id"
2112
+ className="c18"
2113
+ disabled={false}
2114
+ id="test-id"
2115
+ onChange={[Function]}
2116
+ placeholder="Tokyo"
2117
+ readOnly={false}
2118
+ required={false}
2119
+ type="text"
2120
+ value=""
2121
+ />
2122
+ </div>
2123
+ </div>
2124
+ </div>
2125
+ </div>
2126
+ <div
2127
+ className="c19"
2128
+ >
2129
+ <button
2130
+ className="c0 c20"
2131
+ disabled={false}
2132
+ onClick={[Function]}
2133
+ >
2134
+ Apply
2135
+ </button>
2136
+ <button
2137
+ className="c0 c21"
2138
+ disabled={false}
2139
+ onClick={[Function]}
2140
+ >
2141
+ Cancel
2142
+ </button>
2143
+ </div>
2144
+ </div>
2145
+ <button
2146
+ className="c0 c22 c23"
2147
+ onClick={[Function]}
2148
+ >
2149
+ <pixiv-icon
2150
+ name="24/Close"
2151
+ />
2152
+ </button>
2153
+ </div>
2154
+ </div>
265
2155
  </div>
266
2156
  </div>
267
2157
  `;
268
2158
 
269
- exports[`Storyshots Modal Full Bottom Sheet 1`] = `
2159
+ exports[`Storyshots Modal Internal Scroll 1`] = `
270
2160
  .c0 {
271
2161
  cursor: pointer;
272
2162
  -webkit-appearance: none;
@@ -283,6 +2173,8 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
283
2173
  -ms-letter-spacing: inherit;
284
2174
  letter-spacing: inherit;
285
2175
  word-spacing: inherit;
2176
+ -webkit-text-decoration: none;
2177
+ text-decoration: none;
286
2178
  font: inherit;
287
2179
  margin: 0;
288
2180
  overflow: visible;
@@ -322,63 +2214,230 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
322
2214
  -ms-user-select: none;
323
2215
  user-select: none;
324
2216
  white-space: nowrap;
325
- color: var(--charcoal-text2);
326
- background-color: var(--charcoal-surface3);
2217
+ border-radius: 999999px;
327
2218
  font-size: 14px;
328
2219
  line-height: 22px;
329
2220
  font-weight: bold;
330
2221
  padding-right: 24px;
331
2222
  padding-left: 24px;
332
- border-radius: 999999px;
2223
+ color: var(--charcoal-text2);
2224
+ background-color: var(--charcoal-surface3);
333
2225
  -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
334
2226
  transition: 0.2s color,0.2s background-color,0.2s box-shadow;
335
2227
  height: 40px;
336
2228
  }
337
2229
 
338
- .c1:hover:not(:disabled):not([aria-disabled]),
339
- .c1:hover[aria-disabled=false] {
2230
+ .c1:not(:disabled):not([aria-disabled]):active,
2231
+ .c1[aria-disabled='false']:active,
2232
+ .c1:not(:disabled):not([aria-disabled]):focus,
2233
+ .c1[aria-disabled='false']:focus,
2234
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
2235
+ .c1[aria-disabled='false']:focus-visible {
2236
+ outline: none;
2237
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2238
+ }
2239
+
2240
+ .c1:not(:disabled):not([aria-disabled]):hover,
2241
+ .c1[aria-disabled='false']:hover {
340
2242
  color: var(--charcoal-text2-hover);
2243
+ background-color: var(--charcoal-surface3-hover);
341
2244
  }
342
2245
 
343
- .c1:active:not(:disabled):not([aria-disabled]),
344
- .c1:active[aria-disabled=false] {
2246
+ .c1:not(:disabled):not([aria-disabled]):active,
2247
+ .c1[aria-disabled='false']:active {
345
2248
  color: var(--charcoal-text2-press);
2249
+ background-color: var(--charcoal-surface3-press);
2250
+ }
2251
+
2252
+ .c1:disabled,
2253
+ .c1[aria-disabled]:not([aria-disabled='false']) {
2254
+ opacity: 0.32;
2255
+ }
2256
+
2257
+ .c11 {
2258
+ width: -webkit-fill-available;
2259
+ width: -moz-available;
2260
+ width: stretch;
2261
+ display: inline-grid;
2262
+ -webkit-align-items: center;
2263
+ -webkit-box-align: center;
2264
+ -ms-flex-align: center;
2265
+ align-items: center;
2266
+ -webkit-box-pack: center;
2267
+ -webkit-justify-content: center;
2268
+ -ms-flex-pack: center;
2269
+ justify-content: center;
2270
+ cursor: pointer;
2271
+ -webkit-user-select: none;
2272
+ -moz-user-select: none;
2273
+ -ms-user-select: none;
2274
+ user-select: none;
2275
+ white-space: nowrap;
2276
+ border-radius: 999999px;
2277
+ font-size: 14px;
2278
+ line-height: 22px;
2279
+ font-weight: bold;
2280
+ padding-right: 24px;
2281
+ padding-left: 24px;
2282
+ color: var(--charcoal-text2);
2283
+ background-color: var(--charcoal-surface3);
2284
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
2285
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
2286
+ height: 40px;
2287
+ }
2288
+
2289
+ .c11:not(:disabled):not([aria-disabled]):active,
2290
+ .c11[aria-disabled='false']:active,
2291
+ .c11:not(:disabled):not([aria-disabled]):focus,
2292
+ .c11[aria-disabled='false']:focus,
2293
+ .c11:not(:disabled):not([aria-disabled]):focus-visible,
2294
+ .c11[aria-disabled='false']:focus-visible {
2295
+ outline: none;
2296
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
346
2297
  }
347
2298
 
348
- .c1:hover:not(:disabled):not([aria-disabled]),
349
- .c1:hover[aria-disabled=false] {
2299
+ .c11:not(:disabled):not([aria-disabled]):hover,
2300
+ .c11[aria-disabled='false']:hover {
2301
+ color: var(--charcoal-text2-hover);
350
2302
  background-color: var(--charcoal-surface3-hover);
351
2303
  }
352
2304
 
353
- .c1:active:not(:disabled):not([aria-disabled]),
354
- .c1:active[aria-disabled=false] {
2305
+ .c11:not(:disabled):not([aria-disabled]):active,
2306
+ .c11[aria-disabled='false']:active {
2307
+ color: var(--charcoal-text2-press);
355
2308
  background-color: var(--charcoal-surface3-press);
356
2309
  }
357
2310
 
358
- .c1:disabled,
359
- .c1[aria-disabled]:not([aria-disabled=false]) {
2311
+ .c11:disabled,
2312
+ .c11[aria-disabled]:not([aria-disabled='false']) {
360
2313
  opacity: 0.32;
361
2314
  }
362
2315
 
363
- .c1:not(:disabled):not([aria-disabled]):focus,
364
- .c1[aria-disabled=false]:focus,
365
- .c1:not(:disabled):not([aria-disabled]):active,
366
- .c1[aria-disabled=false]:active {
367
- outline: none;
368
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2316
+ .c3 {
2317
+ margin: auto;
2318
+ position: relative;
2319
+ height: -webkit-fit-content;
2320
+ height: -moz-fit-content;
2321
+ height: fit-content;
2322
+ width: 440px;
2323
+ background-color: var(--charcoal-surface1);
2324
+ border-radius: 24px;
369
2325
  }
370
2326
 
371
- .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
372
- .c1[aria-disabled=false]:focus:not(:focus-visible),
373
- .c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
374
- .c1[aria-disabled=false]:active:not(:focus-visible) {
2327
+ .c3:focus {
375
2328
  outline: none;
376
2329
  }
377
2330
 
378
- .c1:not(:disabled):not([aria-disabled]):focus-visible,
379
- .c1[aria-disabled=false]:focus-visible {
380
- outline: none;
381
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2331
+ .c2 {
2332
+ z-index: 10;
2333
+ overflow: auto;
2334
+ display: -webkit-box;
2335
+ display: -webkit-flex;
2336
+ display: -ms-flexbox;
2337
+ display: flex;
2338
+ position: fixed;
2339
+ top: 0;
2340
+ left: 0;
2341
+ width: -webkit-fill-available;
2342
+ width: -moz-available;
2343
+ height: 100%;
2344
+ -webkit-box-pack: center;
2345
+ -webkit-justify-content: center;
2346
+ -ms-flex-pack: center;
2347
+ justify-content: center;
2348
+ padding: 40px 0;
2349
+ box-sizing: border-box;
2350
+ background-color: var(--charcoal-surface4);
2351
+ }
2352
+
2353
+ .c5 {
2354
+ margin: 0;
2355
+ font-weight: inherit;
2356
+ font-size: inherit;
2357
+ }
2358
+
2359
+ .c4 {
2360
+ height: 64px;
2361
+ display: grid;
2362
+ -webkit-align-content: center;
2363
+ -ms-flex-line-pack: center;
2364
+ align-content: center;
2365
+ -webkit-box-pack: center;
2366
+ -webkit-justify-content: center;
2367
+ -ms-flex-pack: center;
2368
+ justify-content: center;
2369
+ }
2370
+
2371
+ .c6 {
2372
+ color: var(--charcoal-text1);
2373
+ font-size: 16px;
2374
+ line-height: 24px;
2375
+ font-weight: bold;
2376
+ display: flow-root;
2377
+ }
2378
+
2379
+ .c6::before {
2380
+ display: block;
2381
+ width: 0;
2382
+ height: 0;
2383
+ content: '';
2384
+ margin-top: -4px;
2385
+ }
2386
+
2387
+ .c6::after {
2388
+ display: block;
2389
+ width: 0;
2390
+ height: 0;
2391
+ content: '';
2392
+ margin-bottom: -4px;
2393
+ }
2394
+
2395
+ .c7 {
2396
+ padding-bottom: 40px;
2397
+ }
2398
+
2399
+ .c9 {
2400
+ display: grid;
2401
+ grid-auto-flow: row;
2402
+ grid-row-gap: 8px;
2403
+ padding-top: 16px;
2404
+ padding-left: 16px;
2405
+ padding-right: 16px;
2406
+ }
2407
+
2408
+ .c8 {
2409
+ overflow: auto;
2410
+ max-height: calc( 100vh - 184px - 56px );
2411
+ }
2412
+
2413
+ .c10 {
2414
+ position: relative;
2415
+ }
2416
+
2417
+ .c10::before {
2418
+ content: '';
2419
+ pointer-events: none;
2420
+ border-top: 1px solid rgba(0,0,0,0.08);
2421
+ position: absolute;
2422
+ left: 0;
2423
+ top: 0;
2424
+ width: 100%;
2425
+ height: 100%;
2426
+ }
2427
+
2428
+ @media (max-width:743px) {
2429
+ .c3 {
2430
+ max-width: 440px;
2431
+ width: calc(100% - 48px);
2432
+ }
2433
+ }
2434
+
2435
+ @media (max-width:743px) {
2436
+
2437
+ }
2438
+
2439
+ @media (max-width:743px) {
2440
+
382
2441
  }
383
2442
 
384
2443
  <div
@@ -395,11 +2454,63 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
395
2454
  >
396
2455
  Open Modal
397
2456
  </button>
2457
+ <div
2458
+ className="c2"
2459
+ onPointerDown={[Function]}
2460
+ style={Object {}}
2461
+ >
2462
+ <div
2463
+ className="c3"
2464
+ onBlur={[Function]}
2465
+ onKeyDown={[Function]}
2466
+ role="dialog"
2467
+ size="M"
2468
+ style={Object {}}
2469
+ tabIndex={-1}
2470
+ >
2471
+ <div
2472
+ className="c4"
2473
+ >
2474
+ <h3
2475
+ className="c5 c6"
2476
+ >
2477
+ Title
2478
+ </h3>
2479
+ </div>
2480
+ <div
2481
+ className="c7"
2482
+ >
2483
+ <div
2484
+ className="c8"
2485
+ >
2486
+ <div
2487
+ style={
2488
+ Object {
2489
+ "background": "linear-gradient(#e66465, #9198e5)",
2490
+ "height": 1000,
2491
+ }
2492
+ }
2493
+ />
2494
+ </div>
2495
+ <div
2496
+ className="c9 c10"
2497
+ >
2498
+ <button
2499
+ className="c0 c11"
2500
+ disabled={false}
2501
+ onClick={[Function]}
2502
+ >
2503
+ Close
2504
+ </button>
2505
+ </div>
2506
+ </div>
2507
+ </div>
2508
+ </div>
398
2509
  </div>
399
2510
  </div>
400
2511
  `;
401
2512
 
402
- exports[`Storyshots Modal Internal Scroll 1`] = `
2513
+ exports[`Storyshots Modal Not Dismmissable Story 1`] = `
403
2514
  .c0 {
404
2515
  cursor: pointer;
405
2516
  -webkit-appearance: none;
@@ -416,6 +2527,8 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
416
2527
  -ms-letter-spacing: inherit;
417
2528
  letter-spacing: inherit;
418
2529
  word-spacing: inherit;
2530
+ -webkit-text-decoration: none;
2531
+ text-decoration: none;
419
2532
  font: inherit;
420
2533
  margin: 0;
421
2534
  overflow: visible;
@@ -455,63 +2568,243 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
455
2568
  -ms-user-select: none;
456
2569
  user-select: none;
457
2570
  white-space: nowrap;
458
- color: var(--charcoal-text2);
459
- background-color: var(--charcoal-surface3);
2571
+ border-radius: 999999px;
460
2572
  font-size: 14px;
461
2573
  line-height: 22px;
462
2574
  font-weight: bold;
463
2575
  padding-right: 24px;
464
2576
  padding-left: 24px;
465
- border-radius: 999999px;
2577
+ color: var(--charcoal-text2);
2578
+ background-color: var(--charcoal-surface3);
466
2579
  -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
467
2580
  transition: 0.2s color,0.2s background-color,0.2s box-shadow;
468
2581
  height: 40px;
469
2582
  }
470
2583
 
471
- .c1:hover:not(:disabled):not([aria-disabled]),
472
- .c1:hover[aria-disabled=false] {
473
- color: var(--charcoal-text2-hover);
474
- }
475
-
476
- .c1:active:not(:disabled):not([aria-disabled]),
477
- .c1:active[aria-disabled=false] {
478
- color: var(--charcoal-text2-press);
2584
+ .c1:not(:disabled):not([aria-disabled]):active,
2585
+ .c1[aria-disabled='false']:active,
2586
+ .c1:not(:disabled):not([aria-disabled]):focus,
2587
+ .c1[aria-disabled='false']:focus,
2588
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
2589
+ .c1[aria-disabled='false']:focus-visible {
2590
+ outline: none;
2591
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
479
2592
  }
480
2593
 
481
- .c1:hover:not(:disabled):not([aria-disabled]),
482
- .c1:hover[aria-disabled=false] {
2594
+ .c1:not(:disabled):not([aria-disabled]):hover,
2595
+ .c1[aria-disabled='false']:hover {
2596
+ color: var(--charcoal-text2-hover);
483
2597
  background-color: var(--charcoal-surface3-hover);
484
2598
  }
485
2599
 
486
- .c1:active:not(:disabled):not([aria-disabled]),
487
- .c1:active[aria-disabled=false] {
2600
+ .c1:not(:disabled):not([aria-disabled]):active,
2601
+ .c1[aria-disabled='false']:active {
2602
+ color: var(--charcoal-text2-press);
488
2603
  background-color: var(--charcoal-surface3-press);
489
2604
  }
490
2605
 
491
2606
  .c1:disabled,
492
- .c1[aria-disabled]:not([aria-disabled=false]) {
2607
+ .c1[aria-disabled]:not([aria-disabled='false']) {
493
2608
  opacity: 0.32;
494
2609
  }
495
2610
 
496
- .c1:not(:disabled):not([aria-disabled]):focus,
497
- .c1[aria-disabled=false]:focus,
498
- .c1:not(:disabled):not([aria-disabled]):active,
499
- .c1[aria-disabled=false]:active {
2611
+ .c12 {
2612
+ width: -webkit-fill-available;
2613
+ width: -moz-available;
2614
+ width: stretch;
2615
+ display: inline-grid;
2616
+ -webkit-align-items: center;
2617
+ -webkit-box-align: center;
2618
+ -ms-flex-align: center;
2619
+ align-items: center;
2620
+ -webkit-box-pack: center;
2621
+ -webkit-justify-content: center;
2622
+ -ms-flex-pack: center;
2623
+ justify-content: center;
2624
+ cursor: pointer;
2625
+ -webkit-user-select: none;
2626
+ -moz-user-select: none;
2627
+ -ms-user-select: none;
2628
+ user-select: none;
2629
+ white-space: nowrap;
2630
+ border-radius: 999999px;
2631
+ font-size: 14px;
2632
+ line-height: 22px;
2633
+ font-weight: bold;
2634
+ padding-right: 24px;
2635
+ padding-left: 24px;
2636
+ color: var(--charcoal-text5);
2637
+ background-color: var(--charcoal-brand);
2638
+ -webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
2639
+ transition: 0.2s color,0.2s background-color,0.2s box-shadow;
2640
+ height: 40px;
2641
+ }
2642
+
2643
+ .c12:not(:disabled):not([aria-disabled]):active,
2644
+ .c12[aria-disabled='false']:active,
2645
+ .c12:not(:disabled):not([aria-disabled]):focus,
2646
+ .c12[aria-disabled='false']:focus,
2647
+ .c12:not(:disabled):not([aria-disabled]):focus-visible,
2648
+ .c12[aria-disabled='false']:focus-visible {
500
2649
  outline: none;
501
2650
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
502
2651
  }
503
2652
 
504
- .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
505
- .c1[aria-disabled=false]:focus:not(:focus-visible),
506
- .c1:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
507
- .c1[aria-disabled=false]:active:not(:focus-visible) {
508
- outline: none;
2653
+ .c12:not(:disabled):not([aria-disabled]):hover,
2654
+ .c12[aria-disabled='false']:hover {
2655
+ color: var(--charcoal-text5-hover);
2656
+ background-color: var(--charcoal-brand-hover);
509
2657
  }
510
2658
 
511
- .c1:not(:disabled):not([aria-disabled]):focus-visible,
512
- .c1[aria-disabled=false]:focus-visible {
2659
+ .c12:not(:disabled):not([aria-disabled]):active,
2660
+ .c12[aria-disabled='false']:active {
2661
+ color: var(--charcoal-text5-press);
2662
+ background-color: var(--charcoal-brand-press);
2663
+ }
2664
+
2665
+ .c12:disabled,
2666
+ .c12[aria-disabled]:not([aria-disabled='false']) {
2667
+ opacity: 0.32;
2668
+ }
2669
+
2670
+ .c3 {
2671
+ margin: auto;
2672
+ position: relative;
2673
+ height: -webkit-fit-content;
2674
+ height: -moz-fit-content;
2675
+ height: fit-content;
2676
+ width: 440px;
2677
+ background-color: var(--charcoal-surface1);
2678
+ border-radius: 24px;
2679
+ }
2680
+
2681
+ .c3:focus {
513
2682
  outline: none;
514
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2683
+ }
2684
+
2685
+ .c2 {
2686
+ z-index: 10;
2687
+ overflow: auto;
2688
+ display: -webkit-box;
2689
+ display: -webkit-flex;
2690
+ display: -ms-flexbox;
2691
+ display: flex;
2692
+ position: fixed;
2693
+ top: 0;
2694
+ left: 0;
2695
+ width: -webkit-fill-available;
2696
+ width: -moz-available;
2697
+ height: 100%;
2698
+ -webkit-box-pack: center;
2699
+ -webkit-justify-content: center;
2700
+ -ms-flex-pack: center;
2701
+ justify-content: center;
2702
+ padding: 40px 0;
2703
+ box-sizing: border-box;
2704
+ background-color: var(--charcoal-surface4);
2705
+ }
2706
+
2707
+ .c5 {
2708
+ margin: 0;
2709
+ font-weight: inherit;
2710
+ font-size: inherit;
2711
+ }
2712
+
2713
+ .c4 {
2714
+ height: 64px;
2715
+ display: grid;
2716
+ -webkit-align-content: center;
2717
+ -ms-flex-line-pack: center;
2718
+ align-content: center;
2719
+ -webkit-box-pack: center;
2720
+ -webkit-justify-content: center;
2721
+ -ms-flex-pack: center;
2722
+ justify-content: center;
2723
+ }
2724
+
2725
+ .c6 {
2726
+ color: var(--charcoal-text1);
2727
+ font-size: 16px;
2728
+ line-height: 24px;
2729
+ font-weight: bold;
2730
+ display: flow-root;
2731
+ }
2732
+
2733
+ .c6::before {
2734
+ display: block;
2735
+ width: 0;
2736
+ height: 0;
2737
+ content: '';
2738
+ margin-top: -4px;
2739
+ }
2740
+
2741
+ .c6::after {
2742
+ display: block;
2743
+ width: 0;
2744
+ height: 0;
2745
+ content: '';
2746
+ margin-bottom: -4px;
2747
+ }
2748
+
2749
+ .c9 {
2750
+ padding-left: 16px;
2751
+ padding-right: 16px;
2752
+ }
2753
+
2754
+ .c7 {
2755
+ padding-bottom: 40px;
2756
+ }
2757
+
2758
+ .c11 {
2759
+ display: grid;
2760
+ grid-auto-flow: row;
2761
+ grid-row-gap: 8px;
2762
+ padding-top: 16px;
2763
+ padding-left: 16px;
2764
+ padding-right: 16px;
2765
+ }
2766
+
2767
+ .c8 {
2768
+ display: grid;
2769
+ gap: 24px;
2770
+ }
2771
+
2772
+ .c10 {
2773
+ color: var(--charcoal-text2);
2774
+ font-size: 14px;
2775
+ line-height: 22px;
2776
+ display: flow-root;
2777
+ }
2778
+
2779
+ .c10::before {
2780
+ display: block;
2781
+ width: 0;
2782
+ height: 0;
2783
+ content: '';
2784
+ margin-top: -4px;
2785
+ }
2786
+
2787
+ .c10::after {
2788
+ display: block;
2789
+ width: 0;
2790
+ height: 0;
2791
+ content: '';
2792
+ margin-bottom: -4px;
2793
+ }
2794
+
2795
+ @media (max-width:743px) {
2796
+ .c3 {
2797
+ max-width: 440px;
2798
+ width: calc(100% - 48px);
2799
+ }
2800
+ }
2801
+
2802
+ @media (max-width:743px) {
2803
+
2804
+ }
2805
+
2806
+ @media (max-width:743px) {
2807
+
515
2808
  }
516
2809
 
517
2810
  <div
@@ -528,6 +2821,55 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
528
2821
  >
529
2822
  Open Modal
530
2823
  </button>
2824
+ <div
2825
+ className="c2"
2826
+ onPointerDown={[Function]}
2827
+ style={Object {}}
2828
+ >
2829
+ <div
2830
+ className="c3"
2831
+ onBlur={[Function]}
2832
+ onKeyDown={[Function]}
2833
+ role="dialog"
2834
+ size="M"
2835
+ style={Object {}}
2836
+ tabIndex={-1}
2837
+ >
2838
+ <div
2839
+ className="c4"
2840
+ >
2841
+ <h3
2842
+ className="c5 c6"
2843
+ >
2844
+ Title
2845
+ </h3>
2846
+ </div>
2847
+ <div
2848
+ className="c7"
2849
+ >
2850
+ <div
2851
+ className="c8"
2852
+ >
2853
+ <div
2854
+ className="c9 c10"
2855
+ >
2856
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod placeat tenetur, necessitatibus laudantium cumque exercitationem provident. Quaerat iure enim, eveniet dolores earum odio quo possimus fugiat aspernatur, numquam, commodi repellat.
2857
+ </div>
2858
+ </div>
2859
+ <div
2860
+ className="c11"
2861
+ >
2862
+ <button
2863
+ className="c0 c12"
2864
+ disabled={false}
2865
+ onClick={[Function]}
2866
+ >
2867
+ OK
2868
+ </button>
2869
+ </div>
2870
+ </div>
2871
+ </div>
2872
+ </div>
531
2873
  </div>
532
2874
  </div>
533
2875
  `;