@charcoal-ui/react 3.9.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DropdownSelector/MenuItem/internals/useMenuItemHandleKeyDown.d.ts.map +1 -1
- package/dist/components/DropdownSelector/MenuList/MenuListContext.d.ts +2 -1
- package/dist/components/DropdownSelector/MenuList/MenuListContext.d.ts.map +1 -1
- package/dist/components/DropdownSelector/MenuList/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/MenuList/internals/getValuesRecursive.d.ts +2 -1
- package/dist/components/DropdownSelector/MenuList/internals/getValuesRecursive.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.d.ts +4 -0
- package/dist/components/DropdownSelector/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.story.d.ts +12 -5
- package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/index.story.d.ts.map +1 -1
- package/dist/components/Modal/index.story.d.ts +1 -0
- package/dist/components/Modal/index.story.d.ts.map +1 -1
- package/dist/components/Modal/useCustomModalOverlay.d.ts.map +1 -1
- package/dist/index.cjs.js +49 -25
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +60 -36
- package/dist/index.esm.js.map +1 -1
- package/package.json +9 -7
- package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +5 -3
- package/src/components/DropdownSelector/ListItem/index.tsx +5 -1
- package/src/components/DropdownSelector/MenuItem/internals/useMenuItemHandleKeyDown.tsx +29 -18
- package/src/components/DropdownSelector/MenuList/MenuListContext.ts +3 -2
- package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +15 -9
- package/src/components/DropdownSelector/MenuList/index.tsx +6 -4
- package/src/components/DropdownSelector/MenuList/internals/getValuesRecursive.tsx +11 -8
- package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +2666 -396
- package/src/components/DropdownSelector/index.story.tsx +264 -103
- package/src/components/DropdownSelector/index.tsx +35 -7
- package/src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx +1 -0
- package/src/components/LoadingSpinner/index.story.tsx +1 -0
- package/src/components/Modal/__snapshots__/index.story.storyshot +990 -0
- package/src/components/Modal/index.story.tsx +23 -0
- package/src/components/Modal/useCustomModalOverlay.tsx +5 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Storybook Tests DropdownSelector
|
|
3
|
+
exports[`Storybook Tests DropdownSelector AssistiveText 1`] = `
|
|
4
4
|
.c0 {
|
|
5
5
|
display: inline-block;
|
|
6
6
|
width: 100%;
|
|
@@ -85,6 +85,30 @@ exports[`Storybook Tests DropdownSelector Basic 1`] = `
|
|
|
85
85
|
color: var(--charcoal-text2);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
.c4 {
|
|
89
|
+
margin-top: 8px;
|
|
90
|
+
font-size: 14px;
|
|
91
|
+
color: var(--charcoal-text2);
|
|
92
|
+
line-height: 22px;
|
|
93
|
+
display: flow-root;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.c4::before {
|
|
97
|
+
display: block;
|
|
98
|
+
width: 0;
|
|
99
|
+
height: 0;
|
|
100
|
+
content: '';
|
|
101
|
+
margin-top: -4px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.c4::after {
|
|
105
|
+
display: block;
|
|
106
|
+
width: 0;
|
|
107
|
+
height: 0;
|
|
108
|
+
content: '';
|
|
109
|
+
margin-bottom: -4px;
|
|
110
|
+
}
|
|
111
|
+
|
|
88
112
|
<div
|
|
89
113
|
data-dark={false}
|
|
90
114
|
>
|
|
@@ -98,6 +122,44 @@ exports[`Storybook Tests DropdownSelector Basic 1`] = `
|
|
|
98
122
|
<div
|
|
99
123
|
className="c0"
|
|
100
124
|
>
|
|
125
|
+
<div
|
|
126
|
+
aria-hidden="true"
|
|
127
|
+
style={
|
|
128
|
+
Object {
|
|
129
|
+
"border": 0,
|
|
130
|
+
"clip": "rect(0 0 0 0)",
|
|
131
|
+
"clipPath": "inset(50%)",
|
|
132
|
+
"height": "1px",
|
|
133
|
+
"margin": "-1px",
|
|
134
|
+
"overflow": "hidden",
|
|
135
|
+
"padding": 0,
|
|
136
|
+
"position": "absolute",
|
|
137
|
+
"whiteSpace": "nowrap",
|
|
138
|
+
"width": "1px",
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
>
|
|
142
|
+
<select
|
|
143
|
+
tabIndex={-1}
|
|
144
|
+
value="1"
|
|
145
|
+
>
|
|
146
|
+
<option
|
|
147
|
+
value="1"
|
|
148
|
+
>
|
|
149
|
+
1
|
|
150
|
+
</option>
|
|
151
|
+
<option
|
|
152
|
+
value="2"
|
|
153
|
+
>
|
|
154
|
+
2
|
|
155
|
+
</option>
|
|
156
|
+
<option
|
|
157
|
+
value="3"
|
|
158
|
+
>
|
|
159
|
+
3
|
|
160
|
+
</option>
|
|
161
|
+
</select>
|
|
162
|
+
</div>
|
|
101
163
|
<button
|
|
102
164
|
className="c1"
|
|
103
165
|
onClick={[Function]}
|
|
@@ -106,13 +168,18 @@ exports[`Storybook Tests DropdownSelector Basic 1`] = `
|
|
|
106
168
|
<span
|
|
107
169
|
className="c2"
|
|
108
170
|
>
|
|
109
|
-
|
|
171
|
+
Option 1
|
|
110
172
|
</span>
|
|
111
173
|
<pixiv-icon
|
|
112
174
|
class="c3"
|
|
113
175
|
name="16/Menu"
|
|
114
176
|
/>
|
|
115
177
|
</button>
|
|
178
|
+
<div
|
|
179
|
+
className="c4"
|
|
180
|
+
>
|
|
181
|
+
assistiveText
|
|
182
|
+
</div>
|
|
116
183
|
</div>
|
|
117
184
|
</div>
|
|
118
185
|
</div>
|
|
@@ -216,6 +283,44 @@ exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
|
|
|
216
283
|
<div
|
|
217
284
|
className="c0"
|
|
218
285
|
>
|
|
286
|
+
<div
|
|
287
|
+
aria-hidden="true"
|
|
288
|
+
style={
|
|
289
|
+
Object {
|
|
290
|
+
"border": 0,
|
|
291
|
+
"clip": "rect(0 0 0 0)",
|
|
292
|
+
"clipPath": "inset(50%)",
|
|
293
|
+
"height": "1px",
|
|
294
|
+
"margin": "-1px",
|
|
295
|
+
"overflow": "hidden",
|
|
296
|
+
"padding": 0,
|
|
297
|
+
"position": "absolute",
|
|
298
|
+
"whiteSpace": "nowrap",
|
|
299
|
+
"width": "1px",
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
>
|
|
303
|
+
<select
|
|
304
|
+
tabIndex={-1}
|
|
305
|
+
value="bold"
|
|
306
|
+
>
|
|
307
|
+
<option
|
|
308
|
+
value="normal"
|
|
309
|
+
>
|
|
310
|
+
normal
|
|
311
|
+
</option>
|
|
312
|
+
<option
|
|
313
|
+
value="bold"
|
|
314
|
+
>
|
|
315
|
+
bold
|
|
316
|
+
</option>
|
|
317
|
+
<option
|
|
318
|
+
value="italic"
|
|
319
|
+
>
|
|
320
|
+
italic
|
|
321
|
+
</option>
|
|
322
|
+
</select>
|
|
323
|
+
</div>
|
|
219
324
|
<button
|
|
220
325
|
className="c1"
|
|
221
326
|
onClick={[Function]}
|
|
@@ -227,12 +332,11 @@ exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
|
|
|
227
332
|
<div
|
|
228
333
|
style={
|
|
229
334
|
Object {
|
|
230
|
-
"color": "pink",
|
|
231
335
|
"fontWeight": "bold",
|
|
232
336
|
}
|
|
233
337
|
}
|
|
234
338
|
>
|
|
235
|
-
|
|
339
|
+
Bold
|
|
236
340
|
</div>
|
|
237
341
|
</span>
|
|
238
342
|
<pixiv-icon
|
|
@@ -245,7 +349,7 @@ exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
|
|
|
245
349
|
</div>
|
|
246
350
|
`;
|
|
247
351
|
|
|
248
|
-
exports[`Storybook Tests DropdownSelector
|
|
352
|
+
exports[`Storybook Tests DropdownSelector Default 1`] = `
|
|
249
353
|
.c0 {
|
|
250
354
|
display: inline-block;
|
|
251
355
|
width: 100%;
|
|
@@ -320,7 +424,7 @@ exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
|
|
|
320
424
|
font-size: 14px;
|
|
321
425
|
line-height: 22px;
|
|
322
426
|
display: flow-root;
|
|
323
|
-
color: var(--charcoal-
|
|
427
|
+
color: var(--charcoal-text3);
|
|
324
428
|
overflow: hidden;
|
|
325
429
|
text-overflow: ellipsis;
|
|
326
430
|
white-space: nowrap;
|
|
@@ -333,7 +437,7 @@ exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
|
|
|
333
437
|
<div
|
|
334
438
|
data-dark={false}
|
|
335
439
|
>
|
|
336
|
-
<
|
|
440
|
+
<div
|
|
337
441
|
style={
|
|
338
442
|
Object {
|
|
339
443
|
"width": 288,
|
|
@@ -343,6 +447,44 @@ exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
|
|
|
343
447
|
<div
|
|
344
448
|
className="c0"
|
|
345
449
|
>
|
|
450
|
+
<div
|
|
451
|
+
aria-hidden="true"
|
|
452
|
+
style={
|
|
453
|
+
Object {
|
|
454
|
+
"border": 0,
|
|
455
|
+
"clip": "rect(0 0 0 0)",
|
|
456
|
+
"clipPath": "inset(50%)",
|
|
457
|
+
"height": "1px",
|
|
458
|
+
"margin": "-1px",
|
|
459
|
+
"overflow": "hidden",
|
|
460
|
+
"padding": 0,
|
|
461
|
+
"position": "absolute",
|
|
462
|
+
"whiteSpace": "nowrap",
|
|
463
|
+
"width": "1px",
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
>
|
|
467
|
+
<select
|
|
468
|
+
tabIndex={-1}
|
|
469
|
+
value=""
|
|
470
|
+
>
|
|
471
|
+
<option
|
|
472
|
+
value="1"
|
|
473
|
+
>
|
|
474
|
+
1
|
|
475
|
+
</option>
|
|
476
|
+
<option
|
|
477
|
+
value="2"
|
|
478
|
+
>
|
|
479
|
+
2
|
|
480
|
+
</option>
|
|
481
|
+
<option
|
|
482
|
+
value="3"
|
|
483
|
+
>
|
|
484
|
+
3
|
|
485
|
+
</option>
|
|
486
|
+
</select>
|
|
487
|
+
</div>
|
|
346
488
|
<button
|
|
347
489
|
className="c1"
|
|
348
490
|
onClick={[Function]}
|
|
@@ -350,68 +492,32 @@ exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
|
|
|
350
492
|
>
|
|
351
493
|
<span
|
|
352
494
|
className="c2"
|
|
353
|
-
|
|
495
|
+
>
|
|
496
|
+
Placeholder
|
|
497
|
+
</span>
|
|
354
498
|
<pixiv-icon
|
|
355
499
|
class="c3"
|
|
356
500
|
name="16/Menu"
|
|
357
501
|
/>
|
|
358
502
|
</button>
|
|
359
503
|
</div>
|
|
360
|
-
</
|
|
504
|
+
</div>
|
|
361
505
|
</div>
|
|
362
506
|
`;
|
|
363
507
|
|
|
364
|
-
exports[`Storybook Tests DropdownSelector
|
|
365
|
-
.
|
|
366
|
-
cursor: pointer;
|
|
367
|
-
-webkit-appearance: none;
|
|
368
|
-
-moz-appearance: none;
|
|
369
|
-
appearance: none;
|
|
370
|
-
background: transparent;
|
|
371
|
-
padding: 0;
|
|
372
|
-
border-style: none;
|
|
373
|
-
outline: none;
|
|
374
|
-
color: inherit;
|
|
375
|
-
text-rendering: inherit;
|
|
376
|
-
-webkit-letter-spacing: inherit;
|
|
377
|
-
-moz-letter-spacing: inherit;
|
|
378
|
-
-ms-letter-spacing: inherit;
|
|
379
|
-
letter-spacing: inherit;
|
|
380
|
-
word-spacing: inherit;
|
|
381
|
-
-webkit-text-decoration: none;
|
|
382
|
-
text-decoration: none;
|
|
383
|
-
font: inherit;
|
|
384
|
-
margin: 0;
|
|
385
|
-
overflow: visible;
|
|
386
|
-
text-transform: none;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.c11:disabled,
|
|
390
|
-
.c11[aria-disabled]:not([aria-disabled=false]) {
|
|
391
|
-
cursor: default;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.c11:focus {
|
|
395
|
-
outline: none;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.c11::-moz-focus-inner {
|
|
399
|
-
border-style: none;
|
|
400
|
-
padding: 0;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.c7 {
|
|
508
|
+
exports[`Storybook Tests DropdownSelector Disabled 1`] = `
|
|
509
|
+
.c0 {
|
|
404
510
|
display: inline-block;
|
|
405
511
|
width: 100%;
|
|
406
512
|
}
|
|
407
513
|
|
|
408
|
-
.
|
|
409
|
-
.
|
|
514
|
+
.c0:disabled,
|
|
515
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
410
516
|
cursor: default;
|
|
411
517
|
opacity: 0.32;
|
|
412
518
|
}
|
|
413
519
|
|
|
414
|
-
.
|
|
520
|
+
.c1 {
|
|
415
521
|
display: -webkit-box;
|
|
416
522
|
display: -webkit-flex;
|
|
417
523
|
display: -ms-flexbox;
|
|
@@ -438,38 +544,38 @@ exports[`Storybook Tests DropdownSelector InModal 1`] = `
|
|
|
438
544
|
transition: 0.2s box-shadow,0.2s background-color;
|
|
439
545
|
}
|
|
440
546
|
|
|
441
|
-
.
|
|
442
|
-
.
|
|
547
|
+
.c1:disabled,
|
|
548
|
+
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
443
549
|
cursor: default;
|
|
444
550
|
}
|
|
445
551
|
|
|
446
|
-
.
|
|
447
|
-
.
|
|
552
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
553
|
+
.c1[aria-disabled='false']:focus {
|
|
448
554
|
outline: none;
|
|
449
555
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
450
556
|
}
|
|
451
557
|
|
|
452
|
-
.
|
|
453
|
-
.
|
|
558
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
559
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
454
560
|
box-shadow: none;
|
|
455
561
|
}
|
|
456
562
|
|
|
457
|
-
.
|
|
458
|
-
.
|
|
563
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
564
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
459
565
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
460
566
|
}
|
|
461
567
|
|
|
462
|
-
.
|
|
463
|
-
.
|
|
568
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
569
|
+
.c1[aria-disabled='false']:hover {
|
|
464
570
|
background-color: var(--charcoal-surface3-hover);
|
|
465
571
|
}
|
|
466
572
|
|
|
467
|
-
.
|
|
468
|
-
.
|
|
573
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
574
|
+
.c1[aria-disabled='false']:active {
|
|
469
575
|
background-color: var(--charcoal-surface3-press);
|
|
470
576
|
}
|
|
471
577
|
|
|
472
|
-
.
|
|
578
|
+
.c2 {
|
|
473
579
|
text-align: left;
|
|
474
580
|
font-size: 14px;
|
|
475
581
|
line-height: 22px;
|
|
@@ -480,149 +586,1722 @@ exports[`Storybook Tests DropdownSelector InModal 1`] = `
|
|
|
480
586
|
white-space: nowrap;
|
|
481
587
|
}
|
|
482
588
|
|
|
483
|
-
.
|
|
589
|
+
.c3 {
|
|
484
590
|
color: var(--charcoal-text2);
|
|
485
591
|
}
|
|
486
592
|
|
|
487
|
-
|
|
488
|
-
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
593
|
+
<div
|
|
594
|
+
data-dark={false}
|
|
595
|
+
>
|
|
596
|
+
<div
|
|
597
|
+
style={
|
|
598
|
+
Object {
|
|
599
|
+
"width": 288,
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
>
|
|
603
|
+
<div
|
|
604
|
+
aria-disabled={true}
|
|
605
|
+
className="c0"
|
|
606
|
+
>
|
|
607
|
+
<div
|
|
608
|
+
aria-hidden="true"
|
|
609
|
+
style={
|
|
610
|
+
Object {
|
|
611
|
+
"border": 0,
|
|
612
|
+
"clip": "rect(0 0 0 0)",
|
|
613
|
+
"clipPath": "inset(50%)",
|
|
614
|
+
"height": "1px",
|
|
615
|
+
"margin": "-1px",
|
|
616
|
+
"overflow": "hidden",
|
|
617
|
+
"padding": 0,
|
|
618
|
+
"position": "absolute",
|
|
619
|
+
"whiteSpace": "nowrap",
|
|
620
|
+
"width": "1px",
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
>
|
|
624
|
+
<select
|
|
625
|
+
tabIndex={-1}
|
|
626
|
+
value="1"
|
|
627
|
+
>
|
|
628
|
+
<option
|
|
629
|
+
value="1"
|
|
630
|
+
>
|
|
631
|
+
1
|
|
632
|
+
</option>
|
|
633
|
+
<option
|
|
634
|
+
value="2"
|
|
635
|
+
>
|
|
636
|
+
2
|
|
637
|
+
</option>
|
|
638
|
+
<option
|
|
639
|
+
value="3"
|
|
640
|
+
>
|
|
641
|
+
3
|
|
642
|
+
</option>
|
|
643
|
+
</select>
|
|
644
|
+
</div>
|
|
645
|
+
<button
|
|
646
|
+
className="c1"
|
|
647
|
+
disabled={true}
|
|
648
|
+
onClick={[Function]}
|
|
649
|
+
type="button"
|
|
650
|
+
>
|
|
651
|
+
<span
|
|
652
|
+
className="c2"
|
|
653
|
+
>
|
|
654
|
+
Option 1
|
|
655
|
+
</span>
|
|
656
|
+
<pixiv-icon
|
|
657
|
+
class="c3"
|
|
658
|
+
name="16/Menu"
|
|
659
|
+
/>
|
|
660
|
+
</button>
|
|
661
|
+
</div>
|
|
662
|
+
</div>
|
|
663
|
+
</div>
|
|
664
|
+
`;
|
|
665
|
+
|
|
666
|
+
exports[`Storybook Tests DropdownSelector DisabledItem 1`] = `
|
|
667
|
+
.c0 {
|
|
668
|
+
display: inline-block;
|
|
669
|
+
width: 100%;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.c0:disabled,
|
|
673
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
674
|
+
cursor: default;
|
|
675
|
+
opacity: 0.32;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.c1 {
|
|
494
679
|
display: -webkit-box;
|
|
495
680
|
display: -webkit-flex;
|
|
496
681
|
display: -ms-flexbox;
|
|
497
682
|
display: flex;
|
|
683
|
+
-webkit-box-pack: justify;
|
|
684
|
+
-webkit-justify-content: space-between;
|
|
685
|
+
-ms-flex-pack: justify;
|
|
686
|
+
justify-content: space-between;
|
|
498
687
|
-webkit-align-items: center;
|
|
499
688
|
-webkit-box-align: center;
|
|
500
689
|
-ms-flex-align: center;
|
|
501
690
|
align-items: center;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
.
|
|
514
|
-
.c12[aria-disabled='false']:hover {
|
|
515
|
-
color: var(--charcoal-text3-hover);
|
|
516
|
-
background-color: var(--charcoal-transparent-hover);
|
|
691
|
+
height: 40px;
|
|
692
|
+
width: 100%;
|
|
693
|
+
box-sizing: border-box;
|
|
694
|
+
border: none;
|
|
695
|
+
cursor: pointer;
|
|
696
|
+
gap: 4px;
|
|
697
|
+
padding-right: 8px;
|
|
698
|
+
padding-left: 8px;
|
|
699
|
+
background-color: var(--charcoal-surface3);
|
|
700
|
+
border-radius: 4px;
|
|
701
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
702
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
517
703
|
}
|
|
518
704
|
|
|
519
|
-
.
|
|
520
|
-
.
|
|
521
|
-
|
|
522
|
-
background-color: var(--charcoal-transparent-press);
|
|
705
|
+
.c1:disabled,
|
|
706
|
+
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
707
|
+
cursor: default;
|
|
523
708
|
}
|
|
524
709
|
|
|
525
|
-
.
|
|
526
|
-
.
|
|
710
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
711
|
+
.c1[aria-disabled='false']:focus {
|
|
527
712
|
outline: none;
|
|
528
713
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
529
714
|
}
|
|
530
715
|
|
|
531
|
-
.
|
|
532
|
-
.
|
|
716
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
717
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
533
718
|
box-shadow: none;
|
|
534
719
|
}
|
|
535
720
|
|
|
536
|
-
.
|
|
537
|
-
.
|
|
721
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
722
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
538
723
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
539
724
|
}
|
|
540
725
|
|
|
541
|
-
.
|
|
542
|
-
.
|
|
543
|
-
|
|
726
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
727
|
+
.c1[aria-disabled='false']:hover {
|
|
728
|
+
background-color: var(--charcoal-surface3-hover);
|
|
544
729
|
}
|
|
545
730
|
|
|
546
|
-
.c1
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
height: -webkit-fit-content;
|
|
550
|
-
height: -moz-fit-content;
|
|
551
|
-
height: fit-content;
|
|
552
|
-
width: 440px;
|
|
553
|
-
background-color: var(--charcoal-surface1);
|
|
554
|
-
border-radius: 24px;
|
|
731
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
732
|
+
.c1[aria-disabled='false']:active {
|
|
733
|
+
background-color: var(--charcoal-surface3-press);
|
|
555
734
|
}
|
|
556
735
|
|
|
557
|
-
.
|
|
736
|
+
.c2 {
|
|
737
|
+
text-align: left;
|
|
738
|
+
font-size: 14px;
|
|
739
|
+
line-height: 22px;
|
|
740
|
+
display: flow-root;
|
|
741
|
+
color: var(--charcoal-text2);
|
|
742
|
+
overflow: hidden;
|
|
743
|
+
text-overflow: ellipsis;
|
|
744
|
+
white-space: nowrap;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.c3 {
|
|
748
|
+
color: var(--charcoal-text2);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
<div
|
|
752
|
+
data-dark={false}
|
|
753
|
+
>
|
|
754
|
+
<div
|
|
755
|
+
style={
|
|
756
|
+
Object {
|
|
757
|
+
"width": 288,
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
>
|
|
761
|
+
<div
|
|
762
|
+
className="c0"
|
|
763
|
+
>
|
|
764
|
+
<div
|
|
765
|
+
aria-hidden="true"
|
|
766
|
+
style={
|
|
767
|
+
Object {
|
|
768
|
+
"border": 0,
|
|
769
|
+
"clip": "rect(0 0 0 0)",
|
|
770
|
+
"clipPath": "inset(50%)",
|
|
771
|
+
"height": "1px",
|
|
772
|
+
"margin": "-1px",
|
|
773
|
+
"overflow": "hidden",
|
|
774
|
+
"padding": 0,
|
|
775
|
+
"position": "absolute",
|
|
776
|
+
"whiteSpace": "nowrap",
|
|
777
|
+
"width": "1px",
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
>
|
|
781
|
+
<select
|
|
782
|
+
tabIndex={-1}
|
|
783
|
+
value="2"
|
|
784
|
+
>
|
|
785
|
+
<option
|
|
786
|
+
value="1"
|
|
787
|
+
>
|
|
788
|
+
1
|
|
789
|
+
</option>
|
|
790
|
+
<option
|
|
791
|
+
disabled={true}
|
|
792
|
+
value="2"
|
|
793
|
+
>
|
|
794
|
+
2
|
|
795
|
+
</option>
|
|
796
|
+
<option
|
|
797
|
+
value="3"
|
|
798
|
+
>
|
|
799
|
+
3
|
|
800
|
+
</option>
|
|
801
|
+
<option
|
|
802
|
+
value="4"
|
|
803
|
+
>
|
|
804
|
+
4
|
|
805
|
+
</option>
|
|
806
|
+
<option
|
|
807
|
+
value="5"
|
|
808
|
+
>
|
|
809
|
+
5
|
|
810
|
+
</option>
|
|
811
|
+
</select>
|
|
812
|
+
</div>
|
|
813
|
+
<button
|
|
814
|
+
className="c1"
|
|
815
|
+
onClick={[Function]}
|
|
816
|
+
type="button"
|
|
817
|
+
>
|
|
818
|
+
<span
|
|
819
|
+
className="c2"
|
|
820
|
+
>
|
|
821
|
+
Option 2 (disabled)
|
|
822
|
+
</span>
|
|
823
|
+
<pixiv-icon
|
|
824
|
+
class="c3"
|
|
825
|
+
name="16/Menu"
|
|
826
|
+
/>
|
|
827
|
+
</button>
|
|
828
|
+
</div>
|
|
829
|
+
</div>
|
|
830
|
+
</div>
|
|
831
|
+
`;
|
|
832
|
+
|
|
833
|
+
exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
|
|
834
|
+
.c4 {
|
|
835
|
+
cursor: pointer;
|
|
836
|
+
-webkit-appearance: none;
|
|
837
|
+
-moz-appearance: none;
|
|
838
|
+
appearance: none;
|
|
839
|
+
background: transparent;
|
|
840
|
+
padding: 0;
|
|
841
|
+
border-style: none;
|
|
842
|
+
outline: none;
|
|
843
|
+
color: inherit;
|
|
844
|
+
text-rendering: inherit;
|
|
845
|
+
-webkit-letter-spacing: inherit;
|
|
846
|
+
-moz-letter-spacing: inherit;
|
|
847
|
+
-ms-letter-spacing: inherit;
|
|
848
|
+
letter-spacing: inherit;
|
|
849
|
+
word-spacing: inherit;
|
|
850
|
+
-webkit-text-decoration: none;
|
|
851
|
+
text-decoration: none;
|
|
852
|
+
font: inherit;
|
|
853
|
+
margin: 0;
|
|
854
|
+
overflow: visible;
|
|
855
|
+
text-transform: none;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.c4:disabled,
|
|
859
|
+
.c4[aria-disabled]:not([aria-disabled=false]) {
|
|
860
|
+
cursor: default;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.c4:focus {
|
|
864
|
+
outline: none;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.c4::-moz-focus-inner {
|
|
868
|
+
border-style: none;
|
|
869
|
+
padding: 0;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.c5 {
|
|
873
|
+
width: -webkit-min-content;
|
|
874
|
+
width: -moz-min-content;
|
|
875
|
+
width: min-content;
|
|
876
|
+
display: inline-grid;
|
|
877
|
+
-webkit-align-items: center;
|
|
878
|
+
-webkit-box-align: center;
|
|
879
|
+
-ms-flex-align: center;
|
|
880
|
+
align-items: center;
|
|
881
|
+
-webkit-box-pack: center;
|
|
882
|
+
-webkit-justify-content: center;
|
|
883
|
+
-ms-flex-pack: center;
|
|
884
|
+
justify-content: center;
|
|
885
|
+
cursor: pointer;
|
|
886
|
+
-webkit-user-select: none;
|
|
887
|
+
-moz-user-select: none;
|
|
888
|
+
-ms-user-select: none;
|
|
889
|
+
user-select: none;
|
|
890
|
+
white-space: nowrap;
|
|
891
|
+
border-radius: 999999px;
|
|
892
|
+
font-size: 14px;
|
|
893
|
+
line-height: 22px;
|
|
894
|
+
font-weight: bold;
|
|
895
|
+
padding-right: 24px;
|
|
896
|
+
padding-left: 24px;
|
|
897
|
+
color: var(--charcoal-text5);
|
|
898
|
+
background-color: var(--charcoal-brand);
|
|
899
|
+
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
900
|
+
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
901
|
+
height: 40px;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
905
|
+
.c5[aria-disabled='false']:focus {
|
|
906
|
+
outline: none;
|
|
907
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.c5:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
911
|
+
.c5[aria-disabled='false']:focus:not(:focus-visible) {
|
|
912
|
+
box-shadow: none;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.c5:not(:disabled):not([aria-disabled]):focus-visible,
|
|
916
|
+
.c5[aria-disabled='false']:focus-visible {
|
|
917
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.c5:not(:disabled):not([aria-disabled]):hover,
|
|
921
|
+
.c5[aria-disabled='false']:hover {
|
|
922
|
+
color: var(--charcoal-text5-hover);
|
|
923
|
+
background-color: var(--charcoal-brand-hover);
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
927
|
+
.c5[aria-disabled='false']:active {
|
|
928
|
+
color: var(--charcoal-text5-press);
|
|
929
|
+
background-color: var(--charcoal-brand-press);
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.c5:disabled,
|
|
933
|
+
.c5[aria-disabled]:not([aria-disabled='false']) {
|
|
934
|
+
opacity: 0.32;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
.c0 {
|
|
938
|
+
display: inline-block;
|
|
939
|
+
width: 100%;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.c0:disabled,
|
|
943
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
944
|
+
cursor: default;
|
|
945
|
+
opacity: 0.32;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.c1 {
|
|
949
|
+
display: -webkit-box;
|
|
950
|
+
display: -webkit-flex;
|
|
951
|
+
display: -ms-flexbox;
|
|
952
|
+
display: flex;
|
|
953
|
+
-webkit-box-pack: justify;
|
|
954
|
+
-webkit-justify-content: space-between;
|
|
955
|
+
-ms-flex-pack: justify;
|
|
956
|
+
justify-content: space-between;
|
|
957
|
+
-webkit-align-items: center;
|
|
958
|
+
-webkit-box-align: center;
|
|
959
|
+
-ms-flex-align: center;
|
|
960
|
+
align-items: center;
|
|
961
|
+
height: 40px;
|
|
962
|
+
width: 100%;
|
|
963
|
+
box-sizing: border-box;
|
|
964
|
+
border: none;
|
|
965
|
+
cursor: pointer;
|
|
966
|
+
gap: 4px;
|
|
967
|
+
padding-right: 8px;
|
|
968
|
+
padding-left: 8px;
|
|
969
|
+
background-color: var(--charcoal-surface3);
|
|
970
|
+
border-radius: 4px;
|
|
971
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
972
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.c1:disabled,
|
|
976
|
+
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
977
|
+
cursor: default;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
981
|
+
.c1[aria-disabled='false']:focus {
|
|
982
|
+
outline: none;
|
|
983
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
987
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
988
|
+
box-shadow: none;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
992
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
993
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
997
|
+
.c1[aria-disabled='false']:hover {
|
|
998
|
+
background-color: var(--charcoal-surface3-hover);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
1002
|
+
.c1[aria-disabled='false']:active {
|
|
1003
|
+
background-color: var(--charcoal-surface3-press);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.c2 {
|
|
1007
|
+
text-align: left;
|
|
1008
|
+
font-size: 14px;
|
|
1009
|
+
line-height: 22px;
|
|
1010
|
+
display: flow-root;
|
|
1011
|
+
color: var(--charcoal-text2);
|
|
1012
|
+
overflow: hidden;
|
|
1013
|
+
text-overflow: ellipsis;
|
|
1014
|
+
white-space: nowrap;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.c3 {
|
|
1018
|
+
color: var(--charcoal-text2);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
<div
|
|
1022
|
+
data-dark={false}
|
|
1023
|
+
>
|
|
1024
|
+
<form
|
|
1025
|
+
onSubmit={[Function]}
|
|
1026
|
+
style={
|
|
1027
|
+
Object {
|
|
1028
|
+
"display": "flex",
|
|
1029
|
+
"width": 288,
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
>
|
|
1033
|
+
<div
|
|
1034
|
+
className="c0"
|
|
1035
|
+
>
|
|
1036
|
+
<div
|
|
1037
|
+
aria-hidden="true"
|
|
1038
|
+
style={
|
|
1039
|
+
Object {
|
|
1040
|
+
"border": 0,
|
|
1041
|
+
"clip": "rect(0 0 0 0)",
|
|
1042
|
+
"clipPath": "inset(50%)",
|
|
1043
|
+
"height": "1px",
|
|
1044
|
+
"margin": "-1px",
|
|
1045
|
+
"overflow": "hidden",
|
|
1046
|
+
"padding": 0,
|
|
1047
|
+
"position": "absolute",
|
|
1048
|
+
"whiteSpace": "nowrap",
|
|
1049
|
+
"width": "1px",
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
>
|
|
1053
|
+
<select
|
|
1054
|
+
name="exampleOption"
|
|
1055
|
+
tabIndex={-1}
|
|
1056
|
+
value="1"
|
|
1057
|
+
>
|
|
1058
|
+
<option
|
|
1059
|
+
value="1"
|
|
1060
|
+
>
|
|
1061
|
+
1
|
|
1062
|
+
</option>
|
|
1063
|
+
<option
|
|
1064
|
+
value="2"
|
|
1065
|
+
>
|
|
1066
|
+
2
|
|
1067
|
+
</option>
|
|
1068
|
+
<option
|
|
1069
|
+
value="3"
|
|
1070
|
+
>
|
|
1071
|
+
3
|
|
1072
|
+
</option>
|
|
1073
|
+
</select>
|
|
1074
|
+
</div>
|
|
1075
|
+
<button
|
|
1076
|
+
className="c1"
|
|
1077
|
+
onClick={[Function]}
|
|
1078
|
+
type="button"
|
|
1079
|
+
>
|
|
1080
|
+
<span
|
|
1081
|
+
className="c2"
|
|
1082
|
+
>
|
|
1083
|
+
Option 1
|
|
1084
|
+
</span>
|
|
1085
|
+
<pixiv-icon
|
|
1086
|
+
class="c3"
|
|
1087
|
+
name="16/Menu"
|
|
1088
|
+
/>
|
|
1089
|
+
</button>
|
|
1090
|
+
</div>
|
|
1091
|
+
<button
|
|
1092
|
+
className="c4 c5"
|
|
1093
|
+
disabled={false}
|
|
1094
|
+
style={
|
|
1095
|
+
Object {
|
|
1096
|
+
"marginLeft": 16,
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
type="submit"
|
|
1100
|
+
>
|
|
1101
|
+
submit
|
|
1102
|
+
</button>
|
|
1103
|
+
</form>
|
|
1104
|
+
</div>
|
|
1105
|
+
`;
|
|
1106
|
+
|
|
1107
|
+
exports[`Storybook Tests DropdownSelector InModal 1`] = `
|
|
1108
|
+
.c26 {
|
|
1109
|
+
cursor: pointer;
|
|
1110
|
+
-webkit-appearance: none;
|
|
1111
|
+
-moz-appearance: none;
|
|
1112
|
+
appearance: none;
|
|
1113
|
+
background: transparent;
|
|
1114
|
+
padding: 0;
|
|
1115
|
+
border-style: none;
|
|
1116
|
+
outline: none;
|
|
1117
|
+
color: inherit;
|
|
1118
|
+
text-rendering: inherit;
|
|
1119
|
+
-webkit-letter-spacing: inherit;
|
|
1120
|
+
-moz-letter-spacing: inherit;
|
|
1121
|
+
-ms-letter-spacing: inherit;
|
|
1122
|
+
letter-spacing: inherit;
|
|
1123
|
+
word-spacing: inherit;
|
|
1124
|
+
-webkit-text-decoration: none;
|
|
1125
|
+
text-decoration: none;
|
|
1126
|
+
font: inherit;
|
|
1127
|
+
margin: 0;
|
|
1128
|
+
overflow: visible;
|
|
1129
|
+
text-transform: none;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.c26:disabled,
|
|
1133
|
+
.c26[aria-disabled]:not([aria-disabled=false]) {
|
|
1134
|
+
cursor: default;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.c26:focus {
|
|
1138
|
+
outline: none;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.c26::-moz-focus-inner {
|
|
1142
|
+
border-style: none;
|
|
1143
|
+
padding: 0;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.c9 {
|
|
1147
|
+
font-size: 14px;
|
|
1148
|
+
line-height: 22px;
|
|
1149
|
+
font-weight: bold;
|
|
1150
|
+
display: flow-root;
|
|
1151
|
+
color: var(--charcoal-text1);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.c9::before {
|
|
1155
|
+
display: block;
|
|
1156
|
+
width: 0;
|
|
1157
|
+
height: 0;
|
|
1158
|
+
content: '';
|
|
1159
|
+
margin-top: -4px;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
.c9::after {
|
|
1163
|
+
display: block;
|
|
1164
|
+
width: 0;
|
|
1165
|
+
height: 0;
|
|
1166
|
+
content: '';
|
|
1167
|
+
margin-bottom: -4px;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.c11 {
|
|
1171
|
+
font-size: 14px;
|
|
1172
|
+
line-height: 22px;
|
|
1173
|
+
display: flow-root;
|
|
1174
|
+
color: var(--charcoal-text2);
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.c11::before {
|
|
1178
|
+
display: block;
|
|
1179
|
+
width: 0;
|
|
1180
|
+
height: 0;
|
|
1181
|
+
content: '';
|
|
1182
|
+
margin-top: -4px;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.c11::after {
|
|
1186
|
+
display: block;
|
|
1187
|
+
width: 0;
|
|
1188
|
+
height: 0;
|
|
1189
|
+
content: '';
|
|
1190
|
+
margin-bottom: -4px;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.c13 {
|
|
1194
|
+
font-size: 14px;
|
|
1195
|
+
line-height: 22px;
|
|
1196
|
+
display: flow-root;
|
|
1197
|
+
color: var(--charcoal-text3);
|
|
1198
|
+
-webkit-transition: 0.2s color,0.2s box-shadow;
|
|
1199
|
+
transition: 0.2s color,0.2s box-shadow;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
.c13::before {
|
|
1203
|
+
display: block;
|
|
1204
|
+
width: 0;
|
|
1205
|
+
height: 0;
|
|
1206
|
+
content: '';
|
|
1207
|
+
margin-top: -4px;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.c13::after {
|
|
1211
|
+
display: block;
|
|
1212
|
+
width: 0;
|
|
1213
|
+
height: 0;
|
|
1214
|
+
content: '';
|
|
1215
|
+
margin-bottom: -4px;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.c13:not(:disabled):not([aria-disabled]):hover,
|
|
1219
|
+
.c13[aria-disabled='false']:hover {
|
|
1220
|
+
color: var(--charcoal-text3-hover);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
.c13:not(:disabled):not([aria-disabled]):active,
|
|
1224
|
+
.c13[aria-disabled='false']:active {
|
|
1225
|
+
color: var(--charcoal-text3-press);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
.c13:not(:disabled):not([aria-disabled]):active,
|
|
1229
|
+
.c13[aria-disabled='false']:active,
|
|
1230
|
+
.c13:not(:disabled):not([aria-disabled]):focus,
|
|
1231
|
+
.c13[aria-disabled='false']:focus,
|
|
1232
|
+
.c13:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1233
|
+
.c13[aria-disabled='false']:focus-visible {
|
|
1234
|
+
outline: none;
|
|
1235
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.c7 {
|
|
1239
|
+
display: -webkit-inline-box;
|
|
1240
|
+
display: -webkit-inline-flex;
|
|
1241
|
+
display: -ms-inline-flexbox;
|
|
1242
|
+
display: inline-flex;
|
|
1243
|
+
-webkit-align-items: center;
|
|
1244
|
+
-webkit-box-align: center;
|
|
1245
|
+
-ms-flex-align: center;
|
|
1246
|
+
align-items: center;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.c7 > .c10 {
|
|
1250
|
+
margin-left: 4px;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
.c7 > .c12 {
|
|
1254
|
+
margin-left: auto;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
.c6 {
|
|
1258
|
+
display: inline-block;
|
|
1259
|
+
width: 100%;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
.c6:disabled,
|
|
1263
|
+
.c6[aria-disabled]:not([aria-disabled=false]) {
|
|
1264
|
+
cursor: default;
|
|
1265
|
+
opacity: 0.32;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
.c8 {
|
|
1269
|
+
width: 100%;
|
|
1270
|
+
margin-bottom: 8px;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
.c14 {
|
|
1274
|
+
display: -webkit-box;
|
|
1275
|
+
display: -webkit-flex;
|
|
1276
|
+
display: -ms-flexbox;
|
|
1277
|
+
display: flex;
|
|
1278
|
+
-webkit-box-pack: justify;
|
|
1279
|
+
-webkit-justify-content: space-between;
|
|
1280
|
+
-ms-flex-pack: justify;
|
|
1281
|
+
justify-content: space-between;
|
|
1282
|
+
-webkit-align-items: center;
|
|
1283
|
+
-webkit-box-align: center;
|
|
1284
|
+
-ms-flex-align: center;
|
|
1285
|
+
align-items: center;
|
|
1286
|
+
height: 40px;
|
|
1287
|
+
width: 100%;
|
|
1288
|
+
box-sizing: border-box;
|
|
1289
|
+
border: none;
|
|
1290
|
+
cursor: pointer;
|
|
1291
|
+
gap: 4px;
|
|
1292
|
+
padding-right: 8px;
|
|
1293
|
+
padding-left: 8px;
|
|
1294
|
+
background-color: var(--charcoal-surface3);
|
|
1295
|
+
border-radius: 4px;
|
|
1296
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
1297
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.c14:disabled,
|
|
1301
|
+
.c14[aria-disabled]:not([aria-disabled=false]) {
|
|
1302
|
+
cursor: default;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
.c14:not(:disabled):not([aria-disabled]):focus,
|
|
1306
|
+
.c14[aria-disabled='false']:focus {
|
|
1307
|
+
outline: none;
|
|
1308
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
.c14:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1312
|
+
.c14[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1313
|
+
box-shadow: none;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
.c14:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1317
|
+
.c14[aria-disabled='false']:focus-visible {
|
|
1318
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
.c14:not(:disabled):not([aria-disabled]):hover,
|
|
1322
|
+
.c14[aria-disabled='false']:hover {
|
|
1323
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
.c14:not(:disabled):not([aria-disabled]):active,
|
|
1327
|
+
.c14[aria-disabled='false']:active {
|
|
1328
|
+
background-color: var(--charcoal-surface3-press);
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
.c15 {
|
|
1332
|
+
text-align: left;
|
|
1333
|
+
font-size: 14px;
|
|
1334
|
+
line-height: 22px;
|
|
1335
|
+
display: flow-root;
|
|
1336
|
+
color: var(--charcoal-text2);
|
|
1337
|
+
overflow: hidden;
|
|
1338
|
+
text-overflow: ellipsis;
|
|
1339
|
+
white-space: nowrap;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
.c16 {
|
|
1343
|
+
color: var(--charcoal-text2);
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
.c17 {
|
|
1347
|
+
margin-top: 8px;
|
|
1348
|
+
font-size: 14px;
|
|
1349
|
+
color: var(--charcoal-text2);
|
|
1350
|
+
line-height: 22px;
|
|
1351
|
+
display: flow-root;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
.c17::before {
|
|
1355
|
+
display: block;
|
|
1356
|
+
width: 0;
|
|
1357
|
+
height: 0;
|
|
1358
|
+
content: '';
|
|
1359
|
+
margin-top: -4px;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
.c17::after {
|
|
1363
|
+
display: block;
|
|
1364
|
+
width: 0;
|
|
1365
|
+
height: 0;
|
|
1366
|
+
content: '';
|
|
1367
|
+
margin-bottom: -4px;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
.c27 {
|
|
1371
|
+
-webkit-user-select: none;
|
|
1372
|
+
-moz-user-select: none;
|
|
1373
|
+
-ms-user-select: none;
|
|
1374
|
+
user-select: none;
|
|
1375
|
+
width: 32px;
|
|
1376
|
+
height: 32px;
|
|
1377
|
+
display: -webkit-box;
|
|
1378
|
+
display: -webkit-flex;
|
|
1379
|
+
display: -ms-flexbox;
|
|
1380
|
+
display: flex;
|
|
1381
|
+
-webkit-align-items: center;
|
|
1382
|
+
-webkit-box-align: center;
|
|
1383
|
+
-ms-flex-align: center;
|
|
1384
|
+
align-items: center;
|
|
1385
|
+
-webkit-box-pack: center;
|
|
1386
|
+
-webkit-justify-content: center;
|
|
1387
|
+
-ms-flex-pack: center;
|
|
1388
|
+
justify-content: center;
|
|
1389
|
+
color: var(--charcoal-text3);
|
|
1390
|
+
background-color: var(--charcoal-transparent);
|
|
1391
|
+
border-radius: 999999px;
|
|
1392
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1393
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
.c27:not(:disabled):not([aria-disabled]):hover,
|
|
1397
|
+
.c27[aria-disabled='false']:hover {
|
|
1398
|
+
color: var(--charcoal-text3-hover);
|
|
1399
|
+
background-color: var(--charcoal-transparent-hover);
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.c27:not(:disabled):not([aria-disabled]):active,
|
|
1403
|
+
.c27[aria-disabled='false']:active {
|
|
1404
|
+
color: var(--charcoal-text3-press);
|
|
1405
|
+
background-color: var(--charcoal-transparent-press);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
.c27:not(:disabled):not([aria-disabled]):focus,
|
|
1409
|
+
.c27[aria-disabled='false']:focus {
|
|
1410
|
+
outline: none;
|
|
1411
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
.c27:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1415
|
+
.c27[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1416
|
+
box-shadow: none;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
.c27:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1420
|
+
.c27[aria-disabled='false']:focus-visible {
|
|
1421
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
.c27:disabled,
|
|
1425
|
+
.c27[aria-disabled]:not([aria-disabled='false']) {
|
|
1426
|
+
opacity: 0.32;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
.c1 {
|
|
1430
|
+
margin: auto;
|
|
1431
|
+
position: relative;
|
|
1432
|
+
height: -webkit-fit-content;
|
|
1433
|
+
height: -moz-fit-content;
|
|
1434
|
+
height: fit-content;
|
|
1435
|
+
width: 440px;
|
|
1436
|
+
background-color: var(--charcoal-surface1);
|
|
1437
|
+
border-radius: 24px;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
.c1:focus {
|
|
1441
|
+
outline: none;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
.c0 {
|
|
1445
|
+
z-index: 10;
|
|
1446
|
+
overflow: auto;
|
|
1447
|
+
display: -webkit-box;
|
|
1448
|
+
display: -webkit-flex;
|
|
1449
|
+
display: -ms-flexbox;
|
|
1450
|
+
display: flex;
|
|
1451
|
+
position: fixed;
|
|
1452
|
+
top: 0;
|
|
1453
|
+
left: 0;
|
|
1454
|
+
width: -webkit-fill-available;
|
|
1455
|
+
width: -moz-available;
|
|
1456
|
+
height: 100%;
|
|
1457
|
+
-webkit-box-pack: center;
|
|
1458
|
+
-webkit-justify-content: center;
|
|
1459
|
+
-ms-flex-pack: center;
|
|
1460
|
+
justify-content: center;
|
|
1461
|
+
padding: 40px 0;
|
|
1462
|
+
box-sizing: border-box;
|
|
1463
|
+
background-color: var(--charcoal-surface4);
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
.c28 {
|
|
1467
|
+
position: absolute;
|
|
1468
|
+
top: 8px;
|
|
1469
|
+
right: 8px;
|
|
1470
|
+
color: var(--charcoal-text3);
|
|
1471
|
+
-webkit-transition: 0.2s color;
|
|
1472
|
+
transition: 0.2s color;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.c28:not(:disabled):not([aria-disabled]):hover,
|
|
1476
|
+
.c28[aria-disabled='false']:hover {
|
|
1477
|
+
color: var(--charcoal-text3-hover);
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.c28:not(:disabled):not([aria-disabled]):active,
|
|
1481
|
+
.c28[aria-disabled='false']:active {
|
|
1482
|
+
color: var(--charcoal-text3-press);
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
.c3 {
|
|
1486
|
+
margin: 0;
|
|
1487
|
+
font-weight: inherit;
|
|
1488
|
+
font-size: inherit;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
.c2 {
|
|
1492
|
+
height: 64px;
|
|
1493
|
+
display: grid;
|
|
1494
|
+
-webkit-align-content: center;
|
|
1495
|
+
-ms-flex-line-pack: center;
|
|
1496
|
+
align-content: center;
|
|
1497
|
+
-webkit-box-pack: center;
|
|
1498
|
+
-webkit-justify-content: center;
|
|
1499
|
+
-ms-flex-pack: center;
|
|
1500
|
+
justify-content: center;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
.c4 {
|
|
1504
|
+
color: var(--charcoal-text1);
|
|
1505
|
+
font-size: 16px;
|
|
1506
|
+
line-height: 24px;
|
|
1507
|
+
font-weight: bold;
|
|
1508
|
+
display: flow-root;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
.c4::before {
|
|
1512
|
+
display: block;
|
|
1513
|
+
width: 0;
|
|
1514
|
+
height: 0;
|
|
1515
|
+
content: '';
|
|
1516
|
+
margin-top: -4px;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
.c4::after {
|
|
1520
|
+
display: block;
|
|
1521
|
+
width: 0;
|
|
1522
|
+
height: 0;
|
|
1523
|
+
content: '';
|
|
1524
|
+
margin-bottom: -4px;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
.c5 {
|
|
1528
|
+
padding-bottom: 40px;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
.c18 {
|
|
1532
|
+
display: -webkit-box;
|
|
1533
|
+
display: -webkit-flex;
|
|
1534
|
+
display: -ms-flexbox;
|
|
1535
|
+
display: flex;
|
|
1536
|
+
-webkit-flex-direction: column;
|
|
1537
|
+
-ms-flex-direction: column;
|
|
1538
|
+
flex-direction: column;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
.c19 {
|
|
1542
|
+
margin-bottom: 8px;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
.c20 {
|
|
1546
|
+
display: grid;
|
|
1547
|
+
grid-template-columns: 1fr;
|
|
1548
|
+
height: 40px;
|
|
1549
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1550
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
1551
|
+
color: var(--charcoal-text2);
|
|
1552
|
+
background-color: var(--charcoal-surface3);
|
|
1553
|
+
border-radius: 4px;
|
|
1554
|
+
gap: 4px;
|
|
1555
|
+
padding: 0 8px;
|
|
1556
|
+
line-height: 22px;
|
|
1557
|
+
font-size: 14px;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
.c20:not(:disabled):not([aria-disabled]):hover,
|
|
1561
|
+
.c20 [aria-disabled='false']:hover {
|
|
1562
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.c20:focus-within {
|
|
1566
|
+
outline: none;
|
|
1567
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
.c21 {
|
|
1571
|
+
border: none;
|
|
1572
|
+
box-sizing: border-box;
|
|
1573
|
+
outline: none;
|
|
1574
|
+
font-family: inherit;
|
|
1575
|
+
-webkit-transform-origin: top left;
|
|
1576
|
+
-ms-transform-origin: top left;
|
|
1577
|
+
transform-origin: top left;
|
|
1578
|
+
-webkit-transform: scale(0.875);
|
|
1579
|
+
-ms-transform: scale(0.875);
|
|
1580
|
+
transform: scale(0.875);
|
|
1581
|
+
width: calc(100% / 0.875);
|
|
1582
|
+
height: calc(100% / 0.875);
|
|
1583
|
+
font-size: calc(14px / 0.875);
|
|
1584
|
+
line-height: calc(22px / 0.875);
|
|
1585
|
+
padding-left: 0;
|
|
1586
|
+
padding-right: 0;
|
|
1587
|
+
border-radius: calc(4px / 0.875);
|
|
1588
|
+
-webkit-appearance: none;
|
|
1589
|
+
-moz-appearance: none;
|
|
1590
|
+
appearance: none;
|
|
1591
|
+
background: transparent;
|
|
1592
|
+
color: var(--charcoal-text2);
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
.c21::-webkit-input-placeholder {
|
|
1596
|
+
color: var(--charcoal-text3);
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
.c21::-moz-placeholder {
|
|
1600
|
+
color: var(--charcoal-text3);
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
.c21:-ms-input-placeholder {
|
|
1604
|
+
color: var(--charcoal-text3);
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
.c21::placeholder {
|
|
1608
|
+
color: var(--charcoal-text3);
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
.c22 {
|
|
1612
|
+
font-size: 14px;
|
|
1613
|
+
line-height: 22px;
|
|
1614
|
+
margin-top: 4px;
|
|
1615
|
+
margin-bottom: -4px;
|
|
1616
|
+
color: var(--charcoal-text2);
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.c23 {
|
|
1620
|
+
display: -webkit-box;
|
|
1621
|
+
display: -webkit-flex;
|
|
1622
|
+
display: -ms-flexbox;
|
|
1623
|
+
display: flex;
|
|
1624
|
+
-webkit-flex-direction: column;
|
|
1625
|
+
-ms-flex-direction: column;
|
|
1626
|
+
flex-direction: column;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
.c24 {
|
|
1630
|
+
position: relative;
|
|
1631
|
+
overflow: hidden;
|
|
1632
|
+
color: var(--charcoal-text2);
|
|
1633
|
+
background-color: var(--charcoal-surface3);
|
|
1634
|
+
border-radius: 4px;
|
|
1635
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1636
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
1637
|
+
height: calc(22px * 4 + 18px);
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
.c24:not([aria-disabled]):hover,
|
|
1641
|
+
.c24 [aria-disabled='false']:hover {
|
|
1642
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
.c24:focus-within {
|
|
1646
|
+
outline: none;
|
|
1647
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
.c25 {
|
|
1651
|
+
border: none;
|
|
1652
|
+
outline: none;
|
|
1653
|
+
resize: none;
|
|
1654
|
+
font-family: inherit;
|
|
1655
|
+
color: inherit;
|
|
1656
|
+
box-sizing: border-box;
|
|
1657
|
+
-webkit-transform-origin: top left;
|
|
1658
|
+
-ms-transform-origin: top left;
|
|
1659
|
+
transform-origin: top left;
|
|
1660
|
+
-webkit-transform: scale(0.875);
|
|
1661
|
+
-ms-transform: scale(0.875);
|
|
1662
|
+
transform: scale(0.875);
|
|
1663
|
+
width: calc(100% / 0.875);
|
|
1664
|
+
font-size: calc(14px / 0.875);
|
|
1665
|
+
line-height: calc(22px / 0.875);
|
|
1666
|
+
padding: calc(9px / 0.875) calc(8px / 0.875);
|
|
1667
|
+
height: calc(22px / 0.875 * 4 + 20px);
|
|
1668
|
+
-webkit-appearance: none;
|
|
1669
|
+
-moz-appearance: none;
|
|
1670
|
+
appearance: none;
|
|
1671
|
+
background: none;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
.c25::-webkit-input-placeholder {
|
|
1675
|
+
color: var(--charcoal-text3);
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
.c25::-moz-placeholder {
|
|
1679
|
+
color: var(--charcoal-text3);
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
.c25:-ms-input-placeholder {
|
|
1683
|
+
color: var(--charcoal-text3);
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
.c25::placeholder {
|
|
1687
|
+
color: var(--charcoal-text3);
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
@media (max-width:743px) {
|
|
1691
|
+
.c1 {
|
|
1692
|
+
max-width: 440px;
|
|
1693
|
+
width: calc(100% - 48px);
|
|
1694
|
+
max-width: unset;
|
|
1695
|
+
width: 100%;
|
|
1696
|
+
border-radius: 0;
|
|
1697
|
+
margin: auto 0 0 0;
|
|
1698
|
+
min-height: 100%;
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
@media (max-width:743px) {
|
|
1703
|
+
.c0 {
|
|
1704
|
+
padding: 0;
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
@media (max-width:743px) {
|
|
1709
|
+
.c2 {
|
|
1710
|
+
height: 48px;
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
<div
|
|
1715
|
+
data-dark={false}
|
|
1716
|
+
>
|
|
1717
|
+
<div
|
|
1718
|
+
style={
|
|
1719
|
+
Object {
|
|
1720
|
+
"height": "10px",
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
>
|
|
1724
|
+
<button
|
|
1725
|
+
onClick={[Function]}
|
|
1726
|
+
>
|
|
1727
|
+
open
|
|
1728
|
+
</button>
|
|
1729
|
+
<div
|
|
1730
|
+
className="c0"
|
|
1731
|
+
onClick={[Function]}
|
|
1732
|
+
onPointerDown={[Function]}
|
|
1733
|
+
style={
|
|
1734
|
+
Object {
|
|
1735
|
+
"backgroundColor": "rgba(0, 0, 0, 0)",
|
|
1736
|
+
"overflow": "hidden",
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
>
|
|
1740
|
+
<div
|
|
1741
|
+
className="c1"
|
|
1742
|
+
onBlur={[Function]}
|
|
1743
|
+
onKeyDown={[Function]}
|
|
1744
|
+
role="dialog"
|
|
1745
|
+
size="M"
|
|
1746
|
+
style={
|
|
1747
|
+
Object {
|
|
1748
|
+
"transform": " translateY(100%)",
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
tabIndex={-1}
|
|
1752
|
+
>
|
|
1753
|
+
<div
|
|
1754
|
+
className="c2"
|
|
1755
|
+
>
|
|
1756
|
+
<h3
|
|
1757
|
+
className="c3 c4"
|
|
1758
|
+
>
|
|
1759
|
+
modal
|
|
1760
|
+
</h3>
|
|
1761
|
+
</div>
|
|
1762
|
+
<div
|
|
1763
|
+
className="c5"
|
|
1764
|
+
>
|
|
1765
|
+
<div
|
|
1766
|
+
style={
|
|
1767
|
+
Object {
|
|
1768
|
+
"display": "grid",
|
|
1769
|
+
"gap": 40,
|
|
1770
|
+
"padding": 16,
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
>
|
|
1774
|
+
<div
|
|
1775
|
+
className="c6"
|
|
1776
|
+
>
|
|
1777
|
+
<div
|
|
1778
|
+
className="c7 c8"
|
|
1779
|
+
>
|
|
1780
|
+
<label
|
|
1781
|
+
className="c9"
|
|
1782
|
+
>
|
|
1783
|
+
DropdownSelector1
|
|
1784
|
+
</label>
|
|
1785
|
+
<span
|
|
1786
|
+
className="c10 c11"
|
|
1787
|
+
>
|
|
1788
|
+
required
|
|
1789
|
+
</span>
|
|
1790
|
+
<div
|
|
1791
|
+
className="c12 c13"
|
|
1792
|
+
>
|
|
1793
|
+
<span />
|
|
1794
|
+
</div>
|
|
1795
|
+
</div>
|
|
1796
|
+
<div
|
|
1797
|
+
aria-hidden="true"
|
|
1798
|
+
style={
|
|
1799
|
+
Object {
|
|
1800
|
+
"border": 0,
|
|
1801
|
+
"clip": "rect(0 0 0 0)",
|
|
1802
|
+
"clipPath": "inset(50%)",
|
|
1803
|
+
"height": "1px",
|
|
1804
|
+
"margin": "-1px",
|
|
1805
|
+
"overflow": "hidden",
|
|
1806
|
+
"padding": 0,
|
|
1807
|
+
"position": "absolute",
|
|
1808
|
+
"whiteSpace": "nowrap",
|
|
1809
|
+
"width": "1px",
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
>
|
|
1813
|
+
<select
|
|
1814
|
+
tabIndex={-1}
|
|
1815
|
+
value="1"
|
|
1816
|
+
>
|
|
1817
|
+
<option
|
|
1818
|
+
value="1"
|
|
1819
|
+
>
|
|
1820
|
+
1
|
|
1821
|
+
</option>
|
|
1822
|
+
<option
|
|
1823
|
+
value="2"
|
|
1824
|
+
>
|
|
1825
|
+
2
|
|
1826
|
+
</option>
|
|
1827
|
+
<option
|
|
1828
|
+
value="3"
|
|
1829
|
+
>
|
|
1830
|
+
3
|
|
1831
|
+
</option>
|
|
1832
|
+
</select>
|
|
1833
|
+
</div>
|
|
1834
|
+
<button
|
|
1835
|
+
className="c14"
|
|
1836
|
+
onClick={[Function]}
|
|
1837
|
+
type="button"
|
|
1838
|
+
>
|
|
1839
|
+
<span
|
|
1840
|
+
className="c15"
|
|
1841
|
+
>
|
|
1842
|
+
Option 1
|
|
1843
|
+
</span>
|
|
1844
|
+
<pixiv-icon
|
|
1845
|
+
class="c16"
|
|
1846
|
+
name="16/Menu"
|
|
1847
|
+
/>
|
|
1848
|
+
</button>
|
|
1849
|
+
<div
|
|
1850
|
+
className="c17"
|
|
1851
|
+
>
|
|
1852
|
+
assistiveText
|
|
1853
|
+
</div>
|
|
1854
|
+
</div>
|
|
1855
|
+
<div
|
|
1856
|
+
className="c18"
|
|
1857
|
+
>
|
|
1858
|
+
<div
|
|
1859
|
+
className="c7 c19"
|
|
1860
|
+
>
|
|
1861
|
+
<label
|
|
1862
|
+
className="c9"
|
|
1863
|
+
htmlFor="test-id"
|
|
1864
|
+
id="test-id"
|
|
1865
|
+
>
|
|
1866
|
+
TextField
|
|
1867
|
+
</label>
|
|
1868
|
+
<span
|
|
1869
|
+
className="c10 c11"
|
|
1870
|
+
>
|
|
1871
|
+
required
|
|
1872
|
+
</span>
|
|
1873
|
+
<div
|
|
1874
|
+
className="c12 c13"
|
|
1875
|
+
>
|
|
1876
|
+
<span />
|
|
1877
|
+
</div>
|
|
1878
|
+
</div>
|
|
1879
|
+
<div
|
|
1880
|
+
className="c20"
|
|
1881
|
+
>
|
|
1882
|
+
<input
|
|
1883
|
+
aria-labelledby="test-id"
|
|
1884
|
+
aria-required={true}
|
|
1885
|
+
className="c21"
|
|
1886
|
+
disabled={false}
|
|
1887
|
+
id="test-id"
|
|
1888
|
+
onChange={[Function]}
|
|
1889
|
+
placeholder="placeholder"
|
|
1890
|
+
readOnly={false}
|
|
1891
|
+
required={false}
|
|
1892
|
+
type="text"
|
|
1893
|
+
value=""
|
|
1894
|
+
/>
|
|
1895
|
+
</div>
|
|
1896
|
+
<p
|
|
1897
|
+
className="c22"
|
|
1898
|
+
>
|
|
1899
|
+
assistiveText
|
|
1900
|
+
</p>
|
|
1901
|
+
</div>
|
|
1902
|
+
<div
|
|
1903
|
+
className="c23"
|
|
1904
|
+
>
|
|
1905
|
+
<div
|
|
1906
|
+
className="c7 c19"
|
|
1907
|
+
>
|
|
1908
|
+
<label
|
|
1909
|
+
className="c9"
|
|
1910
|
+
htmlFor="test-id"
|
|
1911
|
+
id="test-id"
|
|
1912
|
+
>
|
|
1913
|
+
TextArea
|
|
1914
|
+
</label>
|
|
1915
|
+
<span
|
|
1916
|
+
className="c10 c11"
|
|
1917
|
+
>
|
|
1918
|
+
required
|
|
1919
|
+
</span>
|
|
1920
|
+
<div
|
|
1921
|
+
className="c12 c13"
|
|
1922
|
+
>
|
|
1923
|
+
<span />
|
|
1924
|
+
</div>
|
|
1925
|
+
</div>
|
|
1926
|
+
<div
|
|
1927
|
+
className="c24"
|
|
1928
|
+
rows={4}
|
|
1929
|
+
>
|
|
1930
|
+
<textarea
|
|
1931
|
+
aria-labelledby="test-id"
|
|
1932
|
+
aria-required={true}
|
|
1933
|
+
className="c25"
|
|
1934
|
+
disabled={false}
|
|
1935
|
+
id="test-id"
|
|
1936
|
+
onChange={[Function]}
|
|
1937
|
+
placeholder="placeholder"
|
|
1938
|
+
readOnly={false}
|
|
1939
|
+
required={false}
|
|
1940
|
+
rows={4}
|
|
1941
|
+
value=""
|
|
1942
|
+
/>
|
|
1943
|
+
</div>
|
|
1944
|
+
<p
|
|
1945
|
+
className="c22"
|
|
1946
|
+
>
|
|
1947
|
+
assistiveText
|
|
1948
|
+
</p>
|
|
1949
|
+
</div>
|
|
1950
|
+
<div
|
|
1951
|
+
className="c6"
|
|
1952
|
+
>
|
|
1953
|
+
<div
|
|
1954
|
+
className="c7 c8"
|
|
1955
|
+
>
|
|
1956
|
+
<label
|
|
1957
|
+
className="c9"
|
|
1958
|
+
>
|
|
1959
|
+
DropdownSelector2
|
|
1960
|
+
</label>
|
|
1961
|
+
<span
|
|
1962
|
+
className="c10 c11"
|
|
1963
|
+
>
|
|
1964
|
+
required
|
|
1965
|
+
</span>
|
|
1966
|
+
<div
|
|
1967
|
+
className="c12 c13"
|
|
1968
|
+
>
|
|
1969
|
+
<span />
|
|
1970
|
+
</div>
|
|
1971
|
+
</div>
|
|
1972
|
+
<div
|
|
1973
|
+
aria-hidden="true"
|
|
1974
|
+
style={
|
|
1975
|
+
Object {
|
|
1976
|
+
"border": 0,
|
|
1977
|
+
"clip": "rect(0 0 0 0)",
|
|
1978
|
+
"clipPath": "inset(50%)",
|
|
1979
|
+
"height": "1px",
|
|
1980
|
+
"margin": "-1px",
|
|
1981
|
+
"overflow": "hidden",
|
|
1982
|
+
"padding": 0,
|
|
1983
|
+
"position": "absolute",
|
|
1984
|
+
"whiteSpace": "nowrap",
|
|
1985
|
+
"width": "1px",
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
>
|
|
1989
|
+
<select
|
|
1990
|
+
tabIndex={-1}
|
|
1991
|
+
value="2"
|
|
1992
|
+
>
|
|
1993
|
+
<option
|
|
1994
|
+
value="1"
|
|
1995
|
+
>
|
|
1996
|
+
1
|
|
1997
|
+
</option>
|
|
1998
|
+
<option
|
|
1999
|
+
value="2"
|
|
2000
|
+
>
|
|
2001
|
+
2
|
|
2002
|
+
</option>
|
|
2003
|
+
<option
|
|
2004
|
+
value="3"
|
|
2005
|
+
>
|
|
2006
|
+
3
|
|
2007
|
+
</option>
|
|
2008
|
+
</select>
|
|
2009
|
+
</div>
|
|
2010
|
+
<button
|
|
2011
|
+
className="c14"
|
|
2012
|
+
onClick={[Function]}
|
|
2013
|
+
type="button"
|
|
2014
|
+
>
|
|
2015
|
+
<span
|
|
2016
|
+
className="c15"
|
|
2017
|
+
>
|
|
2018
|
+
Option 2
|
|
2019
|
+
</span>
|
|
2020
|
+
<pixiv-icon
|
|
2021
|
+
class="c16"
|
|
2022
|
+
name="16/Menu"
|
|
2023
|
+
/>
|
|
2024
|
+
</button>
|
|
2025
|
+
<div
|
|
2026
|
+
className="c17"
|
|
2027
|
+
>
|
|
2028
|
+
assistiveText
|
|
2029
|
+
</div>
|
|
2030
|
+
</div>
|
|
2031
|
+
</div>
|
|
2032
|
+
</div>
|
|
2033
|
+
<button
|
|
2034
|
+
className="c26 c27 c28"
|
|
2035
|
+
onClick={[Function]}
|
|
2036
|
+
>
|
|
2037
|
+
<pixiv-icon
|
|
2038
|
+
name="24/Close"
|
|
2039
|
+
/>
|
|
2040
|
+
</button>
|
|
2041
|
+
</div>
|
|
2042
|
+
</div>
|
|
2043
|
+
</div>
|
|
2044
|
+
</div>
|
|
2045
|
+
`;
|
|
2046
|
+
|
|
2047
|
+
exports[`Storybook Tests DropdownSelector Invalid 1`] = `
|
|
2048
|
+
.c0 {
|
|
2049
|
+
display: inline-block;
|
|
2050
|
+
width: 100%;
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
.c0:disabled,
|
|
2054
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
2055
|
+
cursor: default;
|
|
2056
|
+
opacity: 0.32;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
.c1 {
|
|
2060
|
+
display: -webkit-box;
|
|
2061
|
+
display: -webkit-flex;
|
|
2062
|
+
display: -ms-flexbox;
|
|
2063
|
+
display: flex;
|
|
2064
|
+
-webkit-box-pack: justify;
|
|
2065
|
+
-webkit-justify-content: space-between;
|
|
2066
|
+
-ms-flex-pack: justify;
|
|
2067
|
+
justify-content: space-between;
|
|
2068
|
+
-webkit-align-items: center;
|
|
2069
|
+
-webkit-box-align: center;
|
|
2070
|
+
-ms-flex-align: center;
|
|
2071
|
+
align-items: center;
|
|
2072
|
+
height: 40px;
|
|
2073
|
+
width: 100%;
|
|
2074
|
+
box-sizing: border-box;
|
|
2075
|
+
border: none;
|
|
2076
|
+
cursor: pointer;
|
|
2077
|
+
gap: 4px;
|
|
2078
|
+
padding-right: 8px;
|
|
2079
|
+
padding-left: 8px;
|
|
2080
|
+
background-color: var(--charcoal-surface3);
|
|
2081
|
+
border-radius: 4px;
|
|
2082
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
2083
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
.c1:disabled,
|
|
2087
|
+
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
2088
|
+
cursor: default;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
2092
|
+
.c1[aria-disabled='false']:focus {
|
|
2093
|
+
outline: none;
|
|
2094
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2098
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
2099
|
+
box-shadow: none;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2103
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
2104
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
2108
|
+
.c1[aria-disabled='false']:hover {
|
|
2109
|
+
background-color: var(--charcoal-surface3-hover);
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
2113
|
+
.c1[aria-disabled='false']:active {
|
|
2114
|
+
background-color: var(--charcoal-surface3-press);
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
.c1:not(:disabled):not([aria-disabled]),
|
|
2118
|
+
.c1[aria-disabled='false'] {
|
|
2119
|
+
box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
.c2 {
|
|
2123
|
+
text-align: left;
|
|
2124
|
+
font-size: 14px;
|
|
2125
|
+
line-height: 22px;
|
|
2126
|
+
display: flow-root;
|
|
2127
|
+
color: var(--charcoal-text2);
|
|
2128
|
+
overflow: hidden;
|
|
2129
|
+
text-overflow: ellipsis;
|
|
2130
|
+
white-space: nowrap;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
.c3 {
|
|
2134
|
+
color: var(--charcoal-text2);
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
<div
|
|
2138
|
+
data-dark={false}
|
|
2139
|
+
>
|
|
2140
|
+
<div
|
|
2141
|
+
style={
|
|
2142
|
+
Object {
|
|
2143
|
+
"width": 288,
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
>
|
|
2147
|
+
<div
|
|
2148
|
+
className="c0"
|
|
2149
|
+
>
|
|
2150
|
+
<div
|
|
2151
|
+
aria-hidden="true"
|
|
2152
|
+
style={
|
|
2153
|
+
Object {
|
|
2154
|
+
"border": 0,
|
|
2155
|
+
"clip": "rect(0 0 0 0)",
|
|
2156
|
+
"clipPath": "inset(50%)",
|
|
2157
|
+
"height": "1px",
|
|
2158
|
+
"margin": "-1px",
|
|
2159
|
+
"overflow": "hidden",
|
|
2160
|
+
"padding": 0,
|
|
2161
|
+
"position": "absolute",
|
|
2162
|
+
"whiteSpace": "nowrap",
|
|
2163
|
+
"width": "1px",
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
>
|
|
2167
|
+
<select
|
|
2168
|
+
tabIndex={-1}
|
|
2169
|
+
value="1"
|
|
2170
|
+
>
|
|
2171
|
+
<option
|
|
2172
|
+
value="1"
|
|
2173
|
+
>
|
|
2174
|
+
1
|
|
2175
|
+
</option>
|
|
2176
|
+
<option
|
|
2177
|
+
value="2"
|
|
2178
|
+
>
|
|
2179
|
+
2
|
|
2180
|
+
</option>
|
|
2181
|
+
<option
|
|
2182
|
+
value="3"
|
|
2183
|
+
>
|
|
2184
|
+
3
|
|
2185
|
+
</option>
|
|
2186
|
+
</select>
|
|
2187
|
+
</div>
|
|
2188
|
+
<button
|
|
2189
|
+
className="c1"
|
|
2190
|
+
onClick={[Function]}
|
|
2191
|
+
type="button"
|
|
2192
|
+
>
|
|
2193
|
+
<span
|
|
2194
|
+
className="c2"
|
|
2195
|
+
>
|
|
2196
|
+
Option 1
|
|
2197
|
+
</span>
|
|
2198
|
+
<pixiv-icon
|
|
2199
|
+
class="c3"
|
|
2200
|
+
name="16/Menu"
|
|
2201
|
+
/>
|
|
2202
|
+
</button>
|
|
2203
|
+
</div>
|
|
2204
|
+
</div>
|
|
2205
|
+
</div>
|
|
2206
|
+
`;
|
|
2207
|
+
|
|
2208
|
+
exports[`Storybook Tests DropdownSelector InvalidAssistiveText 1`] = `
|
|
2209
|
+
.c0 {
|
|
2210
|
+
display: inline-block;
|
|
2211
|
+
width: 100%;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
.c0:disabled,
|
|
2215
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
2216
|
+
cursor: default;
|
|
2217
|
+
opacity: 0.32;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
.c1 {
|
|
2221
|
+
display: -webkit-box;
|
|
2222
|
+
display: -webkit-flex;
|
|
2223
|
+
display: -ms-flexbox;
|
|
2224
|
+
display: flex;
|
|
2225
|
+
-webkit-box-pack: justify;
|
|
2226
|
+
-webkit-justify-content: space-between;
|
|
2227
|
+
-ms-flex-pack: justify;
|
|
2228
|
+
justify-content: space-between;
|
|
2229
|
+
-webkit-align-items: center;
|
|
2230
|
+
-webkit-box-align: center;
|
|
2231
|
+
-ms-flex-align: center;
|
|
2232
|
+
align-items: center;
|
|
2233
|
+
height: 40px;
|
|
2234
|
+
width: 100%;
|
|
2235
|
+
box-sizing: border-box;
|
|
2236
|
+
border: none;
|
|
2237
|
+
cursor: pointer;
|
|
2238
|
+
gap: 4px;
|
|
2239
|
+
padding-right: 8px;
|
|
2240
|
+
padding-left: 8px;
|
|
2241
|
+
background-color: var(--charcoal-surface3);
|
|
2242
|
+
border-radius: 4px;
|
|
2243
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
2244
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
.c1:disabled,
|
|
2248
|
+
.c1[aria-disabled]:not([aria-disabled=false]) {
|
|
2249
|
+
cursor: default;
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
.c1:not(:disabled):not([aria-disabled]):focus,
|
|
2253
|
+
.c1[aria-disabled='false']:focus {
|
|
558
2254
|
outline: none;
|
|
2255
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
.c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2259
|
+
.c1[aria-disabled='false']:focus:not(:focus-visible) {
|
|
2260
|
+
box-shadow: none;
|
|
559
2261
|
}
|
|
560
2262
|
|
|
561
|
-
.
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
display: -webkit-box;
|
|
565
|
-
display: -webkit-flex;
|
|
566
|
-
display: -ms-flexbox;
|
|
567
|
-
display: flex;
|
|
568
|
-
position: fixed;
|
|
569
|
-
top: 0;
|
|
570
|
-
left: 0;
|
|
571
|
-
width: -webkit-fill-available;
|
|
572
|
-
width: -moz-available;
|
|
573
|
-
height: 100%;
|
|
574
|
-
-webkit-box-pack: center;
|
|
575
|
-
-webkit-justify-content: center;
|
|
576
|
-
-ms-flex-pack: center;
|
|
577
|
-
justify-content: center;
|
|
578
|
-
padding: 40px 0;
|
|
579
|
-
box-sizing: border-box;
|
|
580
|
-
background-color: var(--charcoal-surface4);
|
|
2263
|
+
.c1:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2264
|
+
.c1[aria-disabled='false']:focus-visible {
|
|
2265
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
581
2266
|
}
|
|
582
2267
|
|
|
583
|
-
.
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
right: 8px;
|
|
587
|
-
color: var(--charcoal-text3);
|
|
588
|
-
-webkit-transition: 0.2s color;
|
|
589
|
-
transition: 0.2s color;
|
|
2268
|
+
.c1:not(:disabled):not([aria-disabled]):hover,
|
|
2269
|
+
.c1[aria-disabled='false']:hover {
|
|
2270
|
+
background-color: var(--charcoal-surface3-hover);
|
|
590
2271
|
}
|
|
591
2272
|
|
|
592
|
-
.
|
|
593
|
-
.
|
|
594
|
-
color: var(--charcoal-
|
|
2273
|
+
.c1:not(:disabled):not([aria-disabled]):active,
|
|
2274
|
+
.c1[aria-disabled='false']:active {
|
|
2275
|
+
background-color: var(--charcoal-surface3-press);
|
|
595
2276
|
}
|
|
596
2277
|
|
|
597
|
-
.
|
|
598
|
-
.
|
|
599
|
-
|
|
2278
|
+
.c1:not(:disabled):not([aria-disabled]),
|
|
2279
|
+
.c1[aria-disabled='false'] {
|
|
2280
|
+
box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
|
|
600
2281
|
}
|
|
601
2282
|
|
|
602
|
-
.
|
|
603
|
-
|
|
604
|
-
font-
|
|
605
|
-
|
|
2283
|
+
.c2 {
|
|
2284
|
+
text-align: left;
|
|
2285
|
+
font-size: 14px;
|
|
2286
|
+
line-height: 22px;
|
|
2287
|
+
display: flow-root;
|
|
2288
|
+
color: var(--charcoal-text2);
|
|
2289
|
+
overflow: hidden;
|
|
2290
|
+
text-overflow: ellipsis;
|
|
2291
|
+
white-space: nowrap;
|
|
606
2292
|
}
|
|
607
2293
|
|
|
608
|
-
.
|
|
609
|
-
|
|
610
|
-
display: grid;
|
|
611
|
-
-webkit-align-content: center;
|
|
612
|
-
-ms-flex-line-pack: center;
|
|
613
|
-
align-content: center;
|
|
614
|
-
-webkit-box-pack: center;
|
|
615
|
-
-webkit-justify-content: center;
|
|
616
|
-
-ms-flex-pack: center;
|
|
617
|
-
justify-content: center;
|
|
2294
|
+
.c3 {
|
|
2295
|
+
color: var(--charcoal-text2);
|
|
618
2296
|
}
|
|
619
2297
|
|
|
620
2298
|
.c4 {
|
|
621
|
-
|
|
622
|
-
font-size:
|
|
623
|
-
|
|
624
|
-
|
|
2299
|
+
margin-top: 8px;
|
|
2300
|
+
font-size: 14px;
|
|
2301
|
+
color: var(--charcoal-text2);
|
|
2302
|
+
line-height: 22px;
|
|
625
2303
|
display: flow-root;
|
|
2304
|
+
color: var(--charcoal-assertive);
|
|
626
2305
|
}
|
|
627
2306
|
|
|
628
2307
|
.c4::before {
|
|
@@ -641,49 +2320,254 @@ exports[`Storybook Tests DropdownSelector InModal 1`] = `
|
|
|
641
2320
|
margin-bottom: -4px;
|
|
642
2321
|
}
|
|
643
2322
|
|
|
2323
|
+
<div
|
|
2324
|
+
data-dark={false}
|
|
2325
|
+
>
|
|
2326
|
+
<div
|
|
2327
|
+
style={
|
|
2328
|
+
Object {
|
|
2329
|
+
"width": 288,
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
>
|
|
2333
|
+
<div
|
|
2334
|
+
className="c0"
|
|
2335
|
+
>
|
|
2336
|
+
<div
|
|
2337
|
+
aria-hidden="true"
|
|
2338
|
+
style={
|
|
2339
|
+
Object {
|
|
2340
|
+
"border": 0,
|
|
2341
|
+
"clip": "rect(0 0 0 0)",
|
|
2342
|
+
"clipPath": "inset(50%)",
|
|
2343
|
+
"height": "1px",
|
|
2344
|
+
"margin": "-1px",
|
|
2345
|
+
"overflow": "hidden",
|
|
2346
|
+
"padding": 0,
|
|
2347
|
+
"position": "absolute",
|
|
2348
|
+
"whiteSpace": "nowrap",
|
|
2349
|
+
"width": "1px",
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
>
|
|
2353
|
+
<select
|
|
2354
|
+
tabIndex={-1}
|
|
2355
|
+
value="1"
|
|
2356
|
+
>
|
|
2357
|
+
<option
|
|
2358
|
+
value="1"
|
|
2359
|
+
>
|
|
2360
|
+
1
|
|
2361
|
+
</option>
|
|
2362
|
+
<option
|
|
2363
|
+
value="2"
|
|
2364
|
+
>
|
|
2365
|
+
2
|
|
2366
|
+
</option>
|
|
2367
|
+
<option
|
|
2368
|
+
value="3"
|
|
2369
|
+
>
|
|
2370
|
+
3
|
|
2371
|
+
</option>
|
|
2372
|
+
</select>
|
|
2373
|
+
</div>
|
|
2374
|
+
<button
|
|
2375
|
+
className="c1"
|
|
2376
|
+
onClick={[Function]}
|
|
2377
|
+
type="button"
|
|
2378
|
+
>
|
|
2379
|
+
<span
|
|
2380
|
+
className="c2"
|
|
2381
|
+
>
|
|
2382
|
+
Option 1
|
|
2383
|
+
</span>
|
|
2384
|
+
<pixiv-icon
|
|
2385
|
+
class="c3"
|
|
2386
|
+
name="16/Menu"
|
|
2387
|
+
/>
|
|
2388
|
+
</button>
|
|
2389
|
+
<div
|
|
2390
|
+
className="c4"
|
|
2391
|
+
>
|
|
2392
|
+
assistiveText
|
|
2393
|
+
</div>
|
|
2394
|
+
</div>
|
|
2395
|
+
</div>
|
|
2396
|
+
</div>
|
|
2397
|
+
`;
|
|
2398
|
+
|
|
2399
|
+
exports[`Storybook Tests DropdownSelector Label 1`] = `
|
|
2400
|
+
.c3 {
|
|
2401
|
+
font-size: 14px;
|
|
2402
|
+
line-height: 22px;
|
|
2403
|
+
font-weight: bold;
|
|
2404
|
+
display: flow-root;
|
|
2405
|
+
color: var(--charcoal-text1);
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
.c3::before {
|
|
2409
|
+
display: block;
|
|
2410
|
+
width: 0;
|
|
2411
|
+
height: 0;
|
|
2412
|
+
content: '';
|
|
2413
|
+
margin-top: -4px;
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
.c3::after {
|
|
2417
|
+
display: block;
|
|
2418
|
+
width: 0;
|
|
2419
|
+
height: 0;
|
|
2420
|
+
content: '';
|
|
2421
|
+
margin-bottom: -4px;
|
|
2422
|
+
}
|
|
2423
|
+
|
|
644
2424
|
.c5 {
|
|
645
|
-
|
|
2425
|
+
font-size: 14px;
|
|
2426
|
+
line-height: 22px;
|
|
2427
|
+
display: flow-root;
|
|
2428
|
+
color: var(--charcoal-text3);
|
|
2429
|
+
-webkit-transition: 0.2s color,0.2s box-shadow;
|
|
2430
|
+
transition: 0.2s color,0.2s box-shadow;
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
.c5::before {
|
|
2434
|
+
display: block;
|
|
2435
|
+
width: 0;
|
|
2436
|
+
height: 0;
|
|
2437
|
+
content: '';
|
|
2438
|
+
margin-top: -4px;
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
.c5::after {
|
|
2442
|
+
display: block;
|
|
2443
|
+
width: 0;
|
|
2444
|
+
height: 0;
|
|
2445
|
+
content: '';
|
|
2446
|
+
margin-bottom: -4px;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
.c5:not(:disabled):not([aria-disabled]):hover,
|
|
2450
|
+
.c5[aria-disabled='false']:hover {
|
|
2451
|
+
color: var(--charcoal-text3-hover);
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
2455
|
+
.c5[aria-disabled='false']:active {
|
|
2456
|
+
color: var(--charcoal-text3-press);
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
2460
|
+
.c5[aria-disabled='false']:active,
|
|
2461
|
+
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
2462
|
+
.c5[aria-disabled='false']:focus,
|
|
2463
|
+
.c5:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2464
|
+
.c5[aria-disabled='false']:focus-visible {
|
|
2465
|
+
outline: none;
|
|
2466
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
.c1 {
|
|
2470
|
+
display: -webkit-inline-box;
|
|
2471
|
+
display: -webkit-inline-flex;
|
|
2472
|
+
display: -ms-inline-flexbox;
|
|
2473
|
+
display: inline-flex;
|
|
2474
|
+
-webkit-align-items: center;
|
|
2475
|
+
-webkit-box-align: center;
|
|
2476
|
+
-ms-flex-align: center;
|
|
2477
|
+
align-items: center;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
.c1 > .c4 {
|
|
2481
|
+
margin-left: auto;
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
.c0 {
|
|
2485
|
+
display: inline-block;
|
|
2486
|
+
width: 100%;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
.c0:disabled,
|
|
2490
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
2491
|
+
cursor: default;
|
|
2492
|
+
opacity: 0.32;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
.c2 {
|
|
2496
|
+
width: 100%;
|
|
2497
|
+
margin-bottom: 8px;
|
|
646
2498
|
}
|
|
647
2499
|
|
|
648
2500
|
.c6 {
|
|
649
|
-
border: solid 1px rgba(0,0,0,0.08);
|
|
650
2501
|
display: -webkit-box;
|
|
651
2502
|
display: -webkit-flex;
|
|
652
2503
|
display: -ms-flexbox;
|
|
653
2504
|
display: flex;
|
|
654
|
-
-webkit-box-pack:
|
|
655
|
-
-webkit-justify-content:
|
|
656
|
-
-ms-flex-pack:
|
|
657
|
-
justify-content:
|
|
2505
|
+
-webkit-box-pack: justify;
|
|
2506
|
+
-webkit-justify-content: space-between;
|
|
2507
|
+
-ms-flex-pack: justify;
|
|
2508
|
+
justify-content: space-between;
|
|
658
2509
|
-webkit-align-items: center;
|
|
659
2510
|
-webkit-box-align: center;
|
|
660
2511
|
-ms-flex-align: center;
|
|
661
2512
|
align-items: center;
|
|
662
|
-
height:
|
|
2513
|
+
height: 40px;
|
|
2514
|
+
width: 100%;
|
|
2515
|
+
box-sizing: border-box;
|
|
2516
|
+
border: none;
|
|
2517
|
+
cursor: pointer;
|
|
2518
|
+
gap: 4px;
|
|
2519
|
+
padding-right: 8px;
|
|
2520
|
+
padding-left: 8px;
|
|
2521
|
+
background-color: var(--charcoal-surface3);
|
|
2522
|
+
border-radius: 4px;
|
|
2523
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
2524
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
663
2525
|
}
|
|
664
2526
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
width: calc(100% - 48px);
|
|
669
|
-
max-width: unset;
|
|
670
|
-
width: 100%;
|
|
671
|
-
border-radius: 0;
|
|
672
|
-
margin: auto 0 0 0;
|
|
673
|
-
min-height: 100%;
|
|
674
|
-
}
|
|
2527
|
+
.c6:disabled,
|
|
2528
|
+
.c6[aria-disabled]:not([aria-disabled=false]) {
|
|
2529
|
+
cursor: default;
|
|
675
2530
|
}
|
|
676
2531
|
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
2532
|
+
.c6:not(:disabled):not([aria-disabled]):focus,
|
|
2533
|
+
.c6[aria-disabled='false']:focus {
|
|
2534
|
+
outline: none;
|
|
2535
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
.c6:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2539
|
+
.c6[aria-disabled='false']:focus:not(:focus-visible) {
|
|
2540
|
+
box-shadow: none;
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
.c6:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2544
|
+
.c6[aria-disabled='false']:focus-visible {
|
|
2545
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
2549
|
+
.c6[aria-disabled='false']:hover {
|
|
2550
|
+
background-color: var(--charcoal-surface3-hover);
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
2554
|
+
.c6[aria-disabled='false']:active {
|
|
2555
|
+
background-color: var(--charcoal-surface3-press);
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
.c7 {
|
|
2559
|
+
text-align: left;
|
|
2560
|
+
font-size: 14px;
|
|
2561
|
+
line-height: 22px;
|
|
2562
|
+
display: flow-root;
|
|
2563
|
+
color: var(--charcoal-text2);
|
|
2564
|
+
overflow: hidden;
|
|
2565
|
+
text-overflow: ellipsis;
|
|
2566
|
+
white-space: nowrap;
|
|
681
2567
|
}
|
|
682
2568
|
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
height: 48px;
|
|
686
|
-
}
|
|
2569
|
+
.c8 {
|
|
2570
|
+
color: var(--charcoal-text2);
|
|
687
2571
|
}
|
|
688
2572
|
|
|
689
2573
|
<div
|
|
@@ -692,122 +2576,80 @@ exports[`Storybook Tests DropdownSelector InModal 1`] = `
|
|
|
692
2576
|
<div
|
|
693
2577
|
style={
|
|
694
2578
|
Object {
|
|
695
|
-
"
|
|
2579
|
+
"width": 288,
|
|
696
2580
|
}
|
|
697
2581
|
}
|
|
698
2582
|
>
|
|
699
|
-
<button
|
|
700
|
-
onClick={[Function]}
|
|
701
|
-
>
|
|
702
|
-
open
|
|
703
|
-
</button>
|
|
704
2583
|
<div
|
|
705
2584
|
className="c0"
|
|
706
|
-
onClick={[Function]}
|
|
707
|
-
onPointerDown={[Function]}
|
|
708
|
-
style={
|
|
709
|
-
Object {
|
|
710
|
-
"backgroundColor": "rgba(0, 0, 0, 0)",
|
|
711
|
-
"overflow": "hidden",
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
2585
|
>
|
|
715
2586
|
<div
|
|
716
|
-
className="c1"
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
2587
|
+
className="c1 c2"
|
|
2588
|
+
>
|
|
2589
|
+
<label
|
|
2590
|
+
className="c3"
|
|
2591
|
+
>
|
|
2592
|
+
Label
|
|
2593
|
+
</label>
|
|
2594
|
+
<div
|
|
2595
|
+
className="c4 c5"
|
|
2596
|
+
>
|
|
2597
|
+
<span />
|
|
2598
|
+
</div>
|
|
2599
|
+
</div>
|
|
2600
|
+
<div
|
|
2601
|
+
aria-hidden="true"
|
|
721
2602
|
style={
|
|
722
2603
|
Object {
|
|
723
|
-
"
|
|
2604
|
+
"border": 0,
|
|
2605
|
+
"clip": "rect(0 0 0 0)",
|
|
2606
|
+
"clipPath": "inset(50%)",
|
|
2607
|
+
"height": "1px",
|
|
2608
|
+
"margin": "-1px",
|
|
2609
|
+
"overflow": "hidden",
|
|
2610
|
+
"padding": 0,
|
|
2611
|
+
"position": "absolute",
|
|
2612
|
+
"whiteSpace": "nowrap",
|
|
2613
|
+
"width": "1px",
|
|
724
2614
|
}
|
|
725
2615
|
}
|
|
726
|
-
tabIndex={-1}
|
|
727
2616
|
>
|
|
728
|
-
<
|
|
729
|
-
|
|
2617
|
+
<select
|
|
2618
|
+
tabIndex={-1}
|
|
2619
|
+
value="1"
|
|
730
2620
|
>
|
|
731
|
-
<
|
|
732
|
-
|
|
2621
|
+
<option
|
|
2622
|
+
value="1"
|
|
733
2623
|
>
|
|
734
|
-
|
|
735
|
-
</
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
className="c5"
|
|
739
|
-
>
|
|
740
|
-
<div
|
|
741
|
-
style={
|
|
742
|
-
Object {
|
|
743
|
-
"padding": "16px",
|
|
744
|
-
}
|
|
745
|
-
}
|
|
2624
|
+
1
|
|
2625
|
+
</option>
|
|
2626
|
+
<option
|
|
2627
|
+
value="2"
|
|
746
2628
|
>
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
<button
|
|
756
|
-
className="c8"
|
|
757
|
-
onClick={[Function]}
|
|
758
|
-
type="button"
|
|
759
|
-
>
|
|
760
|
-
<span
|
|
761
|
-
className="c9"
|
|
762
|
-
>
|
|
763
|
-
Apple
|
|
764
|
-
</span>
|
|
765
|
-
<pixiv-icon
|
|
766
|
-
class="c10"
|
|
767
|
-
name="16/Menu"
|
|
768
|
-
/>
|
|
769
|
-
</button>
|
|
770
|
-
</div>
|
|
771
|
-
<div
|
|
772
|
-
className="c6"
|
|
773
|
-
>
|
|
774
|
-
256px
|
|
775
|
-
</div>
|
|
776
|
-
<div
|
|
777
|
-
className="c7"
|
|
778
|
-
>
|
|
779
|
-
<button
|
|
780
|
-
className="c8"
|
|
781
|
-
onClick={[Function]}
|
|
782
|
-
type="button"
|
|
783
|
-
>
|
|
784
|
-
<span
|
|
785
|
-
className="c9"
|
|
786
|
-
>
|
|
787
|
-
Apple
|
|
788
|
-
</span>
|
|
789
|
-
<pixiv-icon
|
|
790
|
-
class="c10"
|
|
791
|
-
name="16/Menu"
|
|
792
|
-
/>
|
|
793
|
-
</button>
|
|
794
|
-
</div>
|
|
795
|
-
<div
|
|
796
|
-
className="c6"
|
|
797
|
-
>
|
|
798
|
-
256px
|
|
799
|
-
</div>
|
|
800
|
-
</div>
|
|
801
|
-
</div>
|
|
802
|
-
<button
|
|
803
|
-
className="c11 c12 c13"
|
|
804
|
-
onClick={[Function]}
|
|
805
|
-
>
|
|
806
|
-
<pixiv-icon
|
|
807
|
-
name="24/Close"
|
|
808
|
-
/>
|
|
809
|
-
</button>
|
|
2629
|
+
2
|
|
2630
|
+
</option>
|
|
2631
|
+
<option
|
|
2632
|
+
value="3"
|
|
2633
|
+
>
|
|
2634
|
+
3
|
|
2635
|
+
</option>
|
|
2636
|
+
</select>
|
|
810
2637
|
</div>
|
|
2638
|
+
<button
|
|
2639
|
+
className="c6"
|
|
2640
|
+
onClick={[Function]}
|
|
2641
|
+
type="button"
|
|
2642
|
+
>
|
|
2643
|
+
<span
|
|
2644
|
+
className="c7"
|
|
2645
|
+
>
|
|
2646
|
+
Option 1
|
|
2647
|
+
</span>
|
|
2648
|
+
<pixiv-icon
|
|
2649
|
+
class="c8"
|
|
2650
|
+
name="16/Menu"
|
|
2651
|
+
/>
|
|
2652
|
+
</button>
|
|
811
2653
|
</div>
|
|
812
2654
|
</div>
|
|
813
2655
|
</div>
|
|
@@ -911,6 +2753,44 @@ exports[`Storybook Tests DropdownSelector LongNames 1`] = `
|
|
|
911
2753
|
<div
|
|
912
2754
|
className="c0"
|
|
913
2755
|
>
|
|
2756
|
+
<div
|
|
2757
|
+
aria-hidden="true"
|
|
2758
|
+
style={
|
|
2759
|
+
Object {
|
|
2760
|
+
"border": 0,
|
|
2761
|
+
"clip": "rect(0 0 0 0)",
|
|
2762
|
+
"clipPath": "inset(50%)",
|
|
2763
|
+
"height": "1px",
|
|
2764
|
+
"margin": "-1px",
|
|
2765
|
+
"overflow": "hidden",
|
|
2766
|
+
"padding": 0,
|
|
2767
|
+
"position": "absolute",
|
|
2768
|
+
"whiteSpace": "nowrap",
|
|
2769
|
+
"width": "1px",
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
>
|
|
2773
|
+
<select
|
|
2774
|
+
tabIndex={-1}
|
|
2775
|
+
value="1"
|
|
2776
|
+
>
|
|
2777
|
+
<option
|
|
2778
|
+
value="1"
|
|
2779
|
+
>
|
|
2780
|
+
1
|
|
2781
|
+
</option>
|
|
2782
|
+
<option
|
|
2783
|
+
value="2"
|
|
2784
|
+
>
|
|
2785
|
+
2
|
|
2786
|
+
</option>
|
|
2787
|
+
<option
|
|
2788
|
+
value="3"
|
|
2789
|
+
>
|
|
2790
|
+
3
|
|
2791
|
+
</option>
|
|
2792
|
+
</select>
|
|
2793
|
+
</div>
|
|
914
2794
|
<button
|
|
915
2795
|
className="c1"
|
|
916
2796
|
onClick={[Function]}
|
|
@@ -931,122 +2811,135 @@ exports[`Storybook Tests DropdownSelector LongNames 1`] = `
|
|
|
931
2811
|
</div>
|
|
932
2812
|
`;
|
|
933
2813
|
|
|
934
|
-
exports[`Storybook Tests DropdownSelector
|
|
935
|
-
.
|
|
936
|
-
|
|
937
|
-
-
|
|
938
|
-
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
padding: 0;
|
|
942
|
-
border-style: none;
|
|
943
|
-
outline: none;
|
|
944
|
-
color: inherit;
|
|
945
|
-
text-rendering: inherit;
|
|
946
|
-
-webkit-letter-spacing: inherit;
|
|
947
|
-
-moz-letter-spacing: inherit;
|
|
948
|
-
-ms-letter-spacing: inherit;
|
|
949
|
-
letter-spacing: inherit;
|
|
950
|
-
word-spacing: inherit;
|
|
951
|
-
-webkit-text-decoration: none;
|
|
952
|
-
text-decoration: none;
|
|
953
|
-
font: inherit;
|
|
954
|
-
margin: 0;
|
|
955
|
-
overflow: visible;
|
|
956
|
-
text-transform: none;
|
|
2814
|
+
exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
|
|
2815
|
+
.c3 {
|
|
2816
|
+
font-size: 14px;
|
|
2817
|
+
line-height: 22px;
|
|
2818
|
+
font-weight: bold;
|
|
2819
|
+
display: flow-root;
|
|
2820
|
+
color: var(--charcoal-text1);
|
|
957
2821
|
}
|
|
958
2822
|
|
|
959
|
-
.
|
|
960
|
-
|
|
961
|
-
|
|
2823
|
+
.c3::before {
|
|
2824
|
+
display: block;
|
|
2825
|
+
width: 0;
|
|
2826
|
+
height: 0;
|
|
2827
|
+
content: '';
|
|
2828
|
+
margin-top: -4px;
|
|
962
2829
|
}
|
|
963
2830
|
|
|
964
|
-
.
|
|
965
|
-
|
|
2831
|
+
.c3::after {
|
|
2832
|
+
display: block;
|
|
2833
|
+
width: 0;
|
|
2834
|
+
height: 0;
|
|
2835
|
+
content: '';
|
|
2836
|
+
margin-bottom: -4px;
|
|
966
2837
|
}
|
|
967
2838
|
|
|
968
|
-
.
|
|
969
|
-
|
|
970
|
-
|
|
2839
|
+
.c5 {
|
|
2840
|
+
font-size: 14px;
|
|
2841
|
+
line-height: 22px;
|
|
2842
|
+
display: flow-root;
|
|
2843
|
+
color: var(--charcoal-text2);
|
|
971
2844
|
}
|
|
972
2845
|
|
|
973
|
-
.
|
|
974
|
-
|
|
975
|
-
width:
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
user-select: none;
|
|
991
|
-
white-space: nowrap;
|
|
992
|
-
border-radius: 999999px;
|
|
2846
|
+
.c5::before {
|
|
2847
|
+
display: block;
|
|
2848
|
+
width: 0;
|
|
2849
|
+
height: 0;
|
|
2850
|
+
content: '';
|
|
2851
|
+
margin-top: -4px;
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
.c5::after {
|
|
2855
|
+
display: block;
|
|
2856
|
+
width: 0;
|
|
2857
|
+
height: 0;
|
|
2858
|
+
content: '';
|
|
2859
|
+
margin-bottom: -4px;
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
.c7 {
|
|
993
2863
|
font-size: 14px;
|
|
994
2864
|
line-height: 22px;
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
background-color: var(--charcoal-surface3);
|
|
1000
|
-
-webkit-transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1001
|
-
transition: 0.2s color,0.2s background-color,0.2s box-shadow;
|
|
1002
|
-
height: 40px;
|
|
2865
|
+
display: flow-root;
|
|
2866
|
+
color: var(--charcoal-text3);
|
|
2867
|
+
-webkit-transition: 0.2s color,0.2s box-shadow;
|
|
2868
|
+
transition: 0.2s color,0.2s box-shadow;
|
|
1003
2869
|
}
|
|
1004
2870
|
|
|
1005
|
-
.
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
2871
|
+
.c7::before {
|
|
2872
|
+
display: block;
|
|
2873
|
+
width: 0;
|
|
2874
|
+
height: 0;
|
|
2875
|
+
content: '';
|
|
2876
|
+
margin-top: -4px;
|
|
1009
2877
|
}
|
|
1010
2878
|
|
|
1011
|
-
.
|
|
1012
|
-
|
|
1013
|
-
|
|
2879
|
+
.c7::after {
|
|
2880
|
+
display: block;
|
|
2881
|
+
width: 0;
|
|
2882
|
+
height: 0;
|
|
2883
|
+
content: '';
|
|
2884
|
+
margin-bottom: -4px;
|
|
1014
2885
|
}
|
|
1015
2886
|
|
|
1016
|
-
.
|
|
1017
|
-
.
|
|
1018
|
-
|
|
2887
|
+
.c7:not(:disabled):not([aria-disabled]):hover,
|
|
2888
|
+
.c7[aria-disabled='false']:hover {
|
|
2889
|
+
color: var(--charcoal-text3-hover);
|
|
1019
2890
|
}
|
|
1020
2891
|
|
|
1021
|
-
.
|
|
1022
|
-
.
|
|
1023
|
-
color: var(--charcoal-
|
|
1024
|
-
background-color: var(--charcoal-surface3-hover);
|
|
2892
|
+
.c7:not(:disabled):not([aria-disabled]):active,
|
|
2893
|
+
.c7[aria-disabled='false']:active {
|
|
2894
|
+
color: var(--charcoal-text3-press);
|
|
1025
2895
|
}
|
|
1026
2896
|
|
|
1027
|
-
.
|
|
1028
|
-
.
|
|
1029
|
-
|
|
1030
|
-
|
|
2897
|
+
.c7:not(:disabled):not([aria-disabled]):active,
|
|
2898
|
+
.c7[aria-disabled='false']:active,
|
|
2899
|
+
.c7:not(:disabled):not([aria-disabled]):focus,
|
|
2900
|
+
.c7[aria-disabled='false']:focus,
|
|
2901
|
+
.c7:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2902
|
+
.c7[aria-disabled='false']:focus-visible {
|
|
2903
|
+
outline: none;
|
|
2904
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
.c1 {
|
|
2908
|
+
display: -webkit-inline-box;
|
|
2909
|
+
display: -webkit-inline-flex;
|
|
2910
|
+
display: -ms-inline-flexbox;
|
|
2911
|
+
display: inline-flex;
|
|
2912
|
+
-webkit-align-items: center;
|
|
2913
|
+
-webkit-box-align: center;
|
|
2914
|
+
-ms-flex-align: center;
|
|
2915
|
+
align-items: center;
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
.c1 > .c4 {
|
|
2919
|
+
margin-left: 4px;
|
|
1031
2920
|
}
|
|
1032
2921
|
|
|
1033
|
-
.c1
|
|
1034
|
-
|
|
1035
|
-
opacity: 0.32;
|
|
2922
|
+
.c1 > .c6 {
|
|
2923
|
+
margin-left: auto;
|
|
1036
2924
|
}
|
|
1037
2925
|
|
|
1038
|
-
.
|
|
2926
|
+
.c0 {
|
|
1039
2927
|
display: inline-block;
|
|
1040
2928
|
width: 100%;
|
|
1041
2929
|
}
|
|
1042
2930
|
|
|
1043
|
-
.
|
|
1044
|
-
.
|
|
2931
|
+
.c0:disabled,
|
|
2932
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
1045
2933
|
cursor: default;
|
|
1046
2934
|
opacity: 0.32;
|
|
1047
2935
|
}
|
|
1048
2936
|
|
|
1049
|
-
.
|
|
2937
|
+
.c2 {
|
|
2938
|
+
width: 100%;
|
|
2939
|
+
margin-bottom: 8px;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
.c8 {
|
|
1050
2943
|
display: -webkit-box;
|
|
1051
2944
|
display: -webkit-flex;
|
|
1052
2945
|
display: -ms-flexbox;
|
|
@@ -1073,38 +2966,43 @@ exports[`Storybook Tests DropdownSelector Playground 1`] = `
|
|
|
1073
2966
|
transition: 0.2s box-shadow,0.2s background-color;
|
|
1074
2967
|
}
|
|
1075
2968
|
|
|
1076
|
-
.
|
|
1077
|
-
.
|
|
2969
|
+
.c8:disabled,
|
|
2970
|
+
.c8[aria-disabled]:not([aria-disabled=false]) {
|
|
1078
2971
|
cursor: default;
|
|
1079
2972
|
}
|
|
1080
2973
|
|
|
1081
|
-
.
|
|
1082
|
-
.
|
|
2974
|
+
.c8:not(:disabled):not([aria-disabled]):focus,
|
|
2975
|
+
.c8[aria-disabled='false']:focus {
|
|
1083
2976
|
outline: none;
|
|
1084
2977
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1085
2978
|
}
|
|
1086
2979
|
|
|
1087
|
-
.
|
|
1088
|
-
.
|
|
2980
|
+
.c8:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
2981
|
+
.c8[aria-disabled='false']:focus:not(:focus-visible) {
|
|
1089
2982
|
box-shadow: none;
|
|
1090
2983
|
}
|
|
1091
2984
|
|
|
1092
|
-
.
|
|
1093
|
-
.
|
|
2985
|
+
.c8:not(:disabled):not([aria-disabled]):focus-visible,
|
|
2986
|
+
.c8[aria-disabled='false']:focus-visible {
|
|
1094
2987
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1095
2988
|
}
|
|
1096
2989
|
|
|
1097
|
-
.
|
|
1098
|
-
.
|
|
2990
|
+
.c8:not(:disabled):not([aria-disabled]):hover,
|
|
2991
|
+
.c8[aria-disabled='false']:hover {
|
|
1099
2992
|
background-color: var(--charcoal-surface3-hover);
|
|
1100
2993
|
}
|
|
1101
2994
|
|
|
1102
|
-
.
|
|
1103
|
-
.
|
|
2995
|
+
.c8:not(:disabled):not([aria-disabled]):active,
|
|
2996
|
+
.c8[aria-disabled='false']:active {
|
|
1104
2997
|
background-color: var(--charcoal-surface3-press);
|
|
1105
2998
|
}
|
|
1106
2999
|
|
|
1107
|
-
.
|
|
3000
|
+
.c8:not(:disabled):not([aria-disabled]),
|
|
3001
|
+
.c8[aria-disabled='false'] {
|
|
3002
|
+
box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
.c9 {
|
|
1108
3006
|
text-align: left;
|
|
1109
3007
|
font-size: 14px;
|
|
1110
3008
|
line-height: 22px;
|
|
@@ -1115,7 +3013,7 @@ exports[`Storybook Tests DropdownSelector Playground 1`] = `
|
|
|
1115
3013
|
white-space: nowrap;
|
|
1116
3014
|
}
|
|
1117
3015
|
|
|
1118
|
-
.
|
|
3016
|
+
.c10 {
|
|
1119
3017
|
color: var(--charcoal-text2);
|
|
1120
3018
|
}
|
|
1121
3019
|
|
|
@@ -1129,25 +3027,78 @@ exports[`Storybook Tests DropdownSelector Playground 1`] = `
|
|
|
1129
3027
|
}
|
|
1130
3028
|
}
|
|
1131
3029
|
>
|
|
1132
|
-
<button
|
|
1133
|
-
className="c0 c1"
|
|
1134
|
-
disabled={false}
|
|
1135
|
-
/>
|
|
1136
3030
|
<div
|
|
1137
|
-
className="
|
|
3031
|
+
className="c0"
|
|
1138
3032
|
>
|
|
3033
|
+
<div
|
|
3034
|
+
className="c1 c2"
|
|
3035
|
+
>
|
|
3036
|
+
<label
|
|
3037
|
+
className="c3"
|
|
3038
|
+
>
|
|
3039
|
+
Label
|
|
3040
|
+
</label>
|
|
3041
|
+
<span
|
|
3042
|
+
className="c4 c5"
|
|
3043
|
+
>
|
|
3044
|
+
required
|
|
3045
|
+
</span>
|
|
3046
|
+
<div
|
|
3047
|
+
className="c6 c7"
|
|
3048
|
+
>
|
|
3049
|
+
<span />
|
|
3050
|
+
</div>
|
|
3051
|
+
</div>
|
|
3052
|
+
<div
|
|
3053
|
+
aria-hidden="true"
|
|
3054
|
+
style={
|
|
3055
|
+
Object {
|
|
3056
|
+
"border": 0,
|
|
3057
|
+
"clip": "rect(0 0 0 0)",
|
|
3058
|
+
"clipPath": "inset(50%)",
|
|
3059
|
+
"height": "1px",
|
|
3060
|
+
"margin": "-1px",
|
|
3061
|
+
"overflow": "hidden",
|
|
3062
|
+
"padding": 0,
|
|
3063
|
+
"position": "absolute",
|
|
3064
|
+
"whiteSpace": "nowrap",
|
|
3065
|
+
"width": "1px",
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
>
|
|
3069
|
+
<select
|
|
3070
|
+
tabIndex={-1}
|
|
3071
|
+
value="1"
|
|
3072
|
+
>
|
|
3073
|
+
<option
|
|
3074
|
+
value="1"
|
|
3075
|
+
>
|
|
3076
|
+
1
|
|
3077
|
+
</option>
|
|
3078
|
+
<option
|
|
3079
|
+
value="2"
|
|
3080
|
+
>
|
|
3081
|
+
2
|
|
3082
|
+
</option>
|
|
3083
|
+
<option
|
|
3084
|
+
value="3"
|
|
3085
|
+
>
|
|
3086
|
+
3
|
|
3087
|
+
</option>
|
|
3088
|
+
</select>
|
|
3089
|
+
</div>
|
|
1139
3090
|
<button
|
|
1140
|
-
className="
|
|
3091
|
+
className="c8"
|
|
1141
3092
|
onClick={[Function]}
|
|
1142
3093
|
type="button"
|
|
1143
3094
|
>
|
|
1144
3095
|
<span
|
|
1145
|
-
className="
|
|
3096
|
+
className="c9"
|
|
1146
3097
|
>
|
|
1147
|
-
|
|
3098
|
+
Option 1
|
|
1148
3099
|
</span>
|
|
1149
3100
|
<pixiv-icon
|
|
1150
|
-
class="
|
|
3101
|
+
class="c10"
|
|
1151
3102
|
name="16/Menu"
|
|
1152
3103
|
/>
|
|
1153
3104
|
</button>
|
|
@@ -1156,7 +3107,7 @@ exports[`Storybook Tests DropdownSelector Playground 1`] = `
|
|
|
1156
3107
|
</div>
|
|
1157
3108
|
`;
|
|
1158
3109
|
|
|
1159
|
-
exports[`Storybook Tests DropdownSelector
|
|
3110
|
+
exports[`Storybook Tests DropdownSelector Section 1`] = `
|
|
1160
3111
|
.c0 {
|
|
1161
3112
|
display: inline-block;
|
|
1162
3113
|
width: 100%;
|
|
@@ -1254,6 +3205,59 @@ exports[`Storybook Tests DropdownSelector SectionList 1`] = `
|
|
|
1254
3205
|
<div
|
|
1255
3206
|
className="c0"
|
|
1256
3207
|
>
|
|
3208
|
+
<div
|
|
3209
|
+
aria-hidden="true"
|
|
3210
|
+
style={
|
|
3211
|
+
Object {
|
|
3212
|
+
"border": 0,
|
|
3213
|
+
"clip": "rect(0 0 0 0)",
|
|
3214
|
+
"clipPath": "inset(50%)",
|
|
3215
|
+
"height": "1px",
|
|
3216
|
+
"margin": "-1px",
|
|
3217
|
+
"overflow": "hidden",
|
|
3218
|
+
"padding": 0,
|
|
3219
|
+
"position": "absolute",
|
|
3220
|
+
"whiteSpace": "nowrap",
|
|
3221
|
+
"width": "1px",
|
|
3222
|
+
}
|
|
3223
|
+
}
|
|
3224
|
+
>
|
|
3225
|
+
<select
|
|
3226
|
+
tabIndex={-1}
|
|
3227
|
+
value="banana"
|
|
3228
|
+
>
|
|
3229
|
+
<option
|
|
3230
|
+
value="apple"
|
|
3231
|
+
>
|
|
3232
|
+
apple
|
|
3233
|
+
</option>
|
|
3234
|
+
<option
|
|
3235
|
+
value="banana"
|
|
3236
|
+
>
|
|
3237
|
+
banana
|
|
3238
|
+
</option>
|
|
3239
|
+
<option
|
|
3240
|
+
value="orange"
|
|
3241
|
+
>
|
|
3242
|
+
orange
|
|
3243
|
+
</option>
|
|
3244
|
+
<option
|
|
3245
|
+
value="bicycle"
|
|
3246
|
+
>
|
|
3247
|
+
bicycle
|
|
3248
|
+
</option>
|
|
3249
|
+
<option
|
|
3250
|
+
value="car"
|
|
3251
|
+
>
|
|
3252
|
+
car
|
|
3253
|
+
</option>
|
|
3254
|
+
<option
|
|
3255
|
+
value="train"
|
|
3256
|
+
>
|
|
3257
|
+
train
|
|
3258
|
+
</option>
|
|
3259
|
+
</select>
|
|
3260
|
+
</div>
|
|
1257
3261
|
<button
|
|
1258
3262
|
className="c1"
|
|
1259
3263
|
onClick={[Function]}
|
|
@@ -1262,7 +3266,7 @@ exports[`Storybook Tests DropdownSelector SectionList 1`] = `
|
|
|
1262
3266
|
<span
|
|
1263
3267
|
className="c2"
|
|
1264
3268
|
>
|
|
1265
|
-
|
|
3269
|
+
Banana
|
|
1266
3270
|
</span>
|
|
1267
3271
|
<pixiv-icon
|
|
1268
3272
|
class="c3"
|
|
@@ -1273,3 +3277,269 @@ exports[`Storybook Tests DropdownSelector SectionList 1`] = `
|
|
|
1273
3277
|
</div>
|
|
1274
3278
|
</div>
|
|
1275
3279
|
`;
|
|
3280
|
+
|
|
3281
|
+
exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
|
|
3282
|
+
.c3 {
|
|
3283
|
+
font-size: 14px;
|
|
3284
|
+
line-height: 22px;
|
|
3285
|
+
font-weight: bold;
|
|
3286
|
+
display: flow-root;
|
|
3287
|
+
color: var(--charcoal-text1);
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
.c3::before {
|
|
3291
|
+
display: block;
|
|
3292
|
+
width: 0;
|
|
3293
|
+
height: 0;
|
|
3294
|
+
content: '';
|
|
3295
|
+
margin-top: -4px;
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3298
|
+
.c3::after {
|
|
3299
|
+
display: block;
|
|
3300
|
+
width: 0;
|
|
3301
|
+
height: 0;
|
|
3302
|
+
content: '';
|
|
3303
|
+
margin-bottom: -4px;
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
.c5 {
|
|
3307
|
+
font-size: 14px;
|
|
3308
|
+
line-height: 22px;
|
|
3309
|
+
display: flow-root;
|
|
3310
|
+
color: var(--charcoal-text3);
|
|
3311
|
+
-webkit-transition: 0.2s color,0.2s box-shadow;
|
|
3312
|
+
transition: 0.2s color,0.2s box-shadow;
|
|
3313
|
+
}
|
|
3314
|
+
|
|
3315
|
+
.c5::before {
|
|
3316
|
+
display: block;
|
|
3317
|
+
width: 0;
|
|
3318
|
+
height: 0;
|
|
3319
|
+
content: '';
|
|
3320
|
+
margin-top: -4px;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
.c5::after {
|
|
3324
|
+
display: block;
|
|
3325
|
+
width: 0;
|
|
3326
|
+
height: 0;
|
|
3327
|
+
content: '';
|
|
3328
|
+
margin-bottom: -4px;
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
.c5:not(:disabled):not([aria-disabled]):hover,
|
|
3332
|
+
.c5[aria-disabled='false']:hover {
|
|
3333
|
+
color: var(--charcoal-text3-hover);
|
|
3334
|
+
}
|
|
3335
|
+
|
|
3336
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
3337
|
+
.c5[aria-disabled='false']:active {
|
|
3338
|
+
color: var(--charcoal-text3-press);
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
3342
|
+
.c5[aria-disabled='false']:active,
|
|
3343
|
+
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
3344
|
+
.c5[aria-disabled='false']:focus,
|
|
3345
|
+
.c5:not(:disabled):not([aria-disabled]):focus-visible,
|
|
3346
|
+
.c5[aria-disabled='false']:focus-visible {
|
|
3347
|
+
outline: none;
|
|
3348
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
.c1 {
|
|
3352
|
+
display: -webkit-inline-box;
|
|
3353
|
+
display: -webkit-inline-flex;
|
|
3354
|
+
display: -ms-inline-flexbox;
|
|
3355
|
+
display: inline-flex;
|
|
3356
|
+
-webkit-align-items: center;
|
|
3357
|
+
-webkit-box-align: center;
|
|
3358
|
+
-ms-flex-align: center;
|
|
3359
|
+
align-items: center;
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
.c1 > .c4 {
|
|
3363
|
+
margin-left: auto;
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
.c0 {
|
|
3367
|
+
display: inline-block;
|
|
3368
|
+
width: 100%;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
.c0:disabled,
|
|
3372
|
+
.c0[aria-disabled]:not([aria-disabled=false]) {
|
|
3373
|
+
cursor: default;
|
|
3374
|
+
opacity: 0.32;
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
.c2 {
|
|
3378
|
+
width: 100%;
|
|
3379
|
+
margin-bottom: 8px;
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
.c6 {
|
|
3383
|
+
display: -webkit-box;
|
|
3384
|
+
display: -webkit-flex;
|
|
3385
|
+
display: -ms-flexbox;
|
|
3386
|
+
display: flex;
|
|
3387
|
+
-webkit-box-pack: justify;
|
|
3388
|
+
-webkit-justify-content: space-between;
|
|
3389
|
+
-ms-flex-pack: justify;
|
|
3390
|
+
justify-content: space-between;
|
|
3391
|
+
-webkit-align-items: center;
|
|
3392
|
+
-webkit-box-align: center;
|
|
3393
|
+
-ms-flex-align: center;
|
|
3394
|
+
align-items: center;
|
|
3395
|
+
height: 40px;
|
|
3396
|
+
width: 100%;
|
|
3397
|
+
box-sizing: border-box;
|
|
3398
|
+
border: none;
|
|
3399
|
+
cursor: pointer;
|
|
3400
|
+
gap: 4px;
|
|
3401
|
+
padding-right: 8px;
|
|
3402
|
+
padding-left: 8px;
|
|
3403
|
+
background-color: var(--charcoal-surface3);
|
|
3404
|
+
border-radius: 4px;
|
|
3405
|
+
-webkit-transition: 0.2s box-shadow,0.2s background-color;
|
|
3406
|
+
transition: 0.2s box-shadow,0.2s background-color;
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
.c6:disabled,
|
|
3410
|
+
.c6[aria-disabled]:not([aria-disabled=false]) {
|
|
3411
|
+
cursor: default;
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
.c6:not(:disabled):not([aria-disabled]):focus,
|
|
3415
|
+
.c6[aria-disabled='false']:focus {
|
|
3416
|
+
outline: none;
|
|
3417
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
3418
|
+
}
|
|
3419
|
+
|
|
3420
|
+
.c6:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
3421
|
+
.c6[aria-disabled='false']:focus:not(:focus-visible) {
|
|
3422
|
+
box-shadow: none;
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
.c6:not(:disabled):not([aria-disabled]):focus-visible,
|
|
3426
|
+
.c6[aria-disabled='false']:focus-visible {
|
|
3427
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3430
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
3431
|
+
.c6[aria-disabled='false']:hover {
|
|
3432
|
+
background-color: var(--charcoal-surface3-hover);
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
3436
|
+
.c6[aria-disabled='false']:active {
|
|
3437
|
+
background-color: var(--charcoal-surface3-press);
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
.c6:not(:disabled):not([aria-disabled]),
|
|
3441
|
+
.c6[aria-disabled='false'] {
|
|
3442
|
+
box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
|
|
3443
|
+
}
|
|
3444
|
+
|
|
3445
|
+
.c7 {
|
|
3446
|
+
text-align: left;
|
|
3447
|
+
font-size: 14px;
|
|
3448
|
+
line-height: 22px;
|
|
3449
|
+
display: flow-root;
|
|
3450
|
+
color: var(--charcoal-text2);
|
|
3451
|
+
overflow: hidden;
|
|
3452
|
+
text-overflow: ellipsis;
|
|
3453
|
+
white-space: nowrap;
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
.c8 {
|
|
3457
|
+
color: var(--charcoal-text2);
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
<div
|
|
3461
|
+
data-dark={false}
|
|
3462
|
+
>
|
|
3463
|
+
<div
|
|
3464
|
+
style={
|
|
3465
|
+
Object {
|
|
3466
|
+
"width": 288,
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
>
|
|
3470
|
+
<div
|
|
3471
|
+
className="c0"
|
|
3472
|
+
>
|
|
3473
|
+
<div
|
|
3474
|
+
className="c1 c2"
|
|
3475
|
+
>
|
|
3476
|
+
<label
|
|
3477
|
+
className="c3"
|
|
3478
|
+
>
|
|
3479
|
+
Label
|
|
3480
|
+
</label>
|
|
3481
|
+
<div
|
|
3482
|
+
className="c4 c5"
|
|
3483
|
+
>
|
|
3484
|
+
<span>
|
|
3485
|
+
SubLabel
|
|
3486
|
+
</span>
|
|
3487
|
+
</div>
|
|
3488
|
+
</div>
|
|
3489
|
+
<div
|
|
3490
|
+
aria-hidden="true"
|
|
3491
|
+
style={
|
|
3492
|
+
Object {
|
|
3493
|
+
"border": 0,
|
|
3494
|
+
"clip": "rect(0 0 0 0)",
|
|
3495
|
+
"clipPath": "inset(50%)",
|
|
3496
|
+
"height": "1px",
|
|
3497
|
+
"margin": "-1px",
|
|
3498
|
+
"overflow": "hidden",
|
|
3499
|
+
"padding": 0,
|
|
3500
|
+
"position": "absolute",
|
|
3501
|
+
"whiteSpace": "nowrap",
|
|
3502
|
+
"width": "1px",
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
>
|
|
3506
|
+
<select
|
|
3507
|
+
tabIndex={-1}
|
|
3508
|
+
value="1"
|
|
3509
|
+
>
|
|
3510
|
+
<option
|
|
3511
|
+
value="1"
|
|
3512
|
+
>
|
|
3513
|
+
1
|
|
3514
|
+
</option>
|
|
3515
|
+
<option
|
|
3516
|
+
value="2"
|
|
3517
|
+
>
|
|
3518
|
+
2
|
|
3519
|
+
</option>
|
|
3520
|
+
<option
|
|
3521
|
+
value="3"
|
|
3522
|
+
>
|
|
3523
|
+
3
|
|
3524
|
+
</option>
|
|
3525
|
+
</select>
|
|
3526
|
+
</div>
|
|
3527
|
+
<button
|
|
3528
|
+
className="c6"
|
|
3529
|
+
onClick={[Function]}
|
|
3530
|
+
type="button"
|
|
3531
|
+
>
|
|
3532
|
+
<span
|
|
3533
|
+
className="c7"
|
|
3534
|
+
>
|
|
3535
|
+
Option 1
|
|
3536
|
+
</span>
|
|
3537
|
+
<pixiv-icon
|
|
3538
|
+
class="c8"
|
|
3539
|
+
name="16/Menu"
|
|
3540
|
+
/>
|
|
3541
|
+
</button>
|
|
3542
|
+
</div>
|
|
3543
|
+
</div>
|
|
3544
|
+
</div>
|
|
3545
|
+
`;
|