@charcoal-ui/react 4.0.0-beta.4 → 4.0.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/README.md +1 -1
  2. package/dist/_lib/useClassNames.d.ts +2 -2
  3. package/dist/_lib/useClassNames.d.ts.map +1 -1
  4. package/dist/components/Checkbox/CheckboxInput/index.d.ts +11 -0
  5. package/dist/components/Checkbox/CheckboxInput/index.d.ts.map +1 -0
  6. package/dist/components/Checkbox/CheckboxWithLabel.d.ts +9 -0
  7. package/dist/components/Checkbox/CheckboxWithLabel.d.ts.map +1 -0
  8. package/dist/components/Checkbox/index.d.ts +9 -7
  9. package/dist/components/Checkbox/index.d.ts.map +1 -1
  10. package/dist/components/Clickable/index.d.ts +10 -13
  11. package/dist/components/Clickable/index.d.ts.map +1 -1
  12. package/dist/components/DropdownSelector/index.d.ts.map +1 -1
  13. package/dist/components/FieldLabel/index.d.ts +1 -0
  14. package/dist/components/FieldLabel/index.d.ts.map +1 -1
  15. package/dist/components/IconButton/index.d.ts +7 -5
  16. package/dist/components/IconButton/index.d.ts.map +1 -1
  17. package/dist/components/LoadingSpinner/index.d.ts +1 -0
  18. package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
  19. package/dist/components/Modal/Dialog/index.d.ts +6 -24
  20. package/dist/components/Modal/Dialog/index.d.ts.map +1 -1
  21. package/dist/components/Modal/ModalPlumbing.d.ts +10 -3
  22. package/dist/components/Modal/ModalPlumbing.d.ts.map +1 -1
  23. package/dist/components/Modal/index.d.ts +5 -1
  24. package/dist/components/Modal/index.d.ts.map +1 -1
  25. package/dist/components/Radio/index.d.ts +3 -5
  26. package/dist/components/Radio/index.d.ts.map +1 -1
  27. package/dist/components/SegmentedControl/index.d.ts +1 -0
  28. package/dist/components/SegmentedControl/index.d.ts.map +1 -1
  29. package/dist/components/Switch/SwitchInput/index.d.ts +9 -0
  30. package/dist/components/Switch/SwitchInput/index.d.ts.map +1 -0
  31. package/dist/components/Switch/SwitchWithLabel.d.ts +9 -0
  32. package/dist/components/Switch/SwitchWithLabel.d.ts.map +1 -0
  33. package/dist/components/Switch/index.d.ts +4 -15
  34. package/dist/components/Switch/index.d.ts.map +1 -1
  35. package/dist/components/TagItem/index.d.ts +14 -15
  36. package/dist/components/TagItem/index.d.ts.map +1 -1
  37. package/dist/components/TextArea/index.d.ts +28 -18
  38. package/dist/components/TextArea/index.d.ts.map +1 -1
  39. package/dist/components/TextField/index.d.ts +32 -19
  40. package/dist/components/TextField/index.d.ts.map +1 -1
  41. package/dist/core/SSRProvider.d.ts +3 -1
  42. package/dist/core/SSRProvider.d.ts.map +1 -1
  43. package/dist/index.cjs.js +471 -845
  44. package/dist/index.cjs.js.map +1 -1
  45. package/dist/index.css +732 -28
  46. package/dist/index.css.map +1 -1
  47. package/dist/index.d.ts +2 -3
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.esm.js +427 -800
  50. package/dist/index.esm.js.map +1 -1
  51. package/dist/styled.d.ts +4 -4
  52. package/package.json +11 -10
  53. package/src/_lib/useClassNames.ts +3 -9
  54. package/src/components/Button/__snapshots__/index.story.storyshot +9 -9
  55. package/src/components/Button/index.story.tsx +1 -1
  56. package/src/components/Checkbox/CheckboxInput/__snapshots__/index.story.storyshot +77 -0
  57. package/src/components/Checkbox/CheckboxInput/index.css +111 -0
  58. package/src/components/{CheckboxInput → Checkbox/CheckboxInput}/index.story.tsx +17 -1
  59. package/src/components/Checkbox/CheckboxInput/index.tsx +47 -0
  60. package/src/components/Checkbox/CheckboxWithLabel.tsx +24 -0
  61. package/src/components/Checkbox/__snapshots__/index.story.storyshot +59 -140
  62. package/src/components/Checkbox/index.css +2 -2
  63. package/src/components/Checkbox/index.story.tsx +18 -13
  64. package/src/components/Checkbox/index.tsx +23 -15
  65. package/src/components/Clickable/__snapshots__/index.story.storyshot +4 -80
  66. package/src/components/Clickable/index.css +41 -0
  67. package/src/components/Clickable/index.story.tsx +2 -2
  68. package/src/components/Clickable/index.tsx +25 -85
  69. package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +11 -136
  70. package/src/components/DropdownSelector/ListItem/index.story.tsx +1 -1
  71. package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +3 -3
  72. package/src/components/DropdownSelector/MenuList/index.story.tsx +1 -1
  73. package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +1 -1
  74. package/src/components/DropdownSelector/Popover/index.story.tsx +1 -1
  75. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +184 -1435
  76. package/src/components/DropdownSelector/index.story.tsx +2 -2
  77. package/src/components/DropdownSelector/index.tsx +9 -38
  78. package/src/components/FieldLabel/index.css +35 -0
  79. package/src/components/FieldLabel/index.tsx +15 -105
  80. package/src/components/Icon/__snapshots__/index.story.storyshot +1 -1
  81. package/src/components/Icon/index.story.tsx +1 -1
  82. package/src/components/IconButton/__snapshots__/index.story.storyshot +15 -291
  83. package/src/components/IconButton/index.css +118 -0
  84. package/src/components/IconButton/index.story.tsx +3 -3
  85. package/src/components/IconButton/index.tsx +41 -118
  86. package/src/components/LoadingSpinner/__snapshots__/LoadingSpinnerIcon.story.storyshot +2 -17
  87. package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +44 -132
  88. package/src/components/LoadingSpinner/index.css +42 -0
  89. package/src/components/LoadingSpinner/index.story.tsx +1 -1
  90. package/src/components/LoadingSpinner/index.tsx +26 -52
  91. package/src/components/Modal/Dialog/index.css +44 -0
  92. package/src/components/Modal/Dialog/index.tsx +13 -57
  93. package/src/components/Modal/ModalPlumbing.css +40 -0
  94. package/src/components/Modal/ModalPlumbing.tsx +22 -61
  95. package/src/components/Modal/__snapshots__/index.story.storyshot +479 -1893
  96. package/src/components/Modal/index.css +36 -0
  97. package/src/components/Modal/index.story.tsx +2 -2
  98. package/src/components/Modal/index.tsx +37 -72
  99. package/src/components/Radio/__snapshots__/index.story.storyshot +55 -780
  100. package/src/components/Radio/index.css +97 -0
  101. package/src/components/Radio/index.story.tsx +2 -11
  102. package/src/components/Radio/index.test.tsx +0 -1
  103. package/src/components/Radio/index.tsx +50 -161
  104. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +32 -262
  105. package/src/components/SegmentedControl/index.css +50 -0
  106. package/src/components/SegmentedControl/index.story.tsx +1 -1
  107. package/src/components/SegmentedControl/index.tsx +20 -89
  108. package/src/components/Switch/SwitchInput/index.css +82 -0
  109. package/src/components/Switch/SwitchInput/index.tsx +40 -0
  110. package/src/components/Switch/SwitchWithLabel.tsx +24 -0
  111. package/src/components/Switch/__snapshots__/index.story.storyshot +33 -536
  112. package/src/components/Switch/index.css +23 -0
  113. package/src/components/Switch/index.story.tsx +6 -1
  114. package/src/components/Switch/index.tsx +43 -140
  115. package/src/components/TagItem/__snapshots__/index.story.storyshot +161 -1138
  116. package/src/components/TagItem/index.css +140 -0
  117. package/src/components/TagItem/index.story.tsx +2 -2
  118. package/src/components/TagItem/index.tsx +76 -220
  119. package/src/components/TextArea/TextArea.story.tsx +1 -1
  120. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +214 -1368
  121. package/src/components/TextArea/index.tsx +68 -91
  122. package/src/components/TextField/TextField.story.tsx +1 -1
  123. package/src/components/TextField/__snapshots__/TextField.story.storyshot +287 -1627
  124. package/src/components/TextField/index.tsx +77 -105
  125. package/src/core/SSRProvider.tsx +12 -1
  126. package/src/index.ts +5 -8
  127. package/src/type.d.ts +6 -0
  128. package/dist/components/CheckboxInput/index.d.ts +0 -9
  129. package/dist/components/CheckboxInput/index.d.ts.map +0 -1
  130. package/dist/components/MultiSelect/context.d.ts +0 -14
  131. package/dist/components/MultiSelect/context.d.ts.map +0 -1
  132. package/dist/components/MultiSelect/index.d.ts +0 -36
  133. package/dist/components/MultiSelect/index.d.ts.map +0 -1
  134. package/src/components/CheckboxInput/__snapshots__/index.story.storyshot +0 -109
  135. package/src/components/CheckboxInput/index.css +0 -77
  136. package/src/components/CheckboxInput/index.tsx +0 -53
  137. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +0 -1054
  138. package/src/components/MultiSelect/context.ts +0 -23
  139. package/src/components/MultiSelect/index.story.tsx +0 -112
  140. package/src/components/MultiSelect/index.test.tsx +0 -263
  141. package/src/components/MultiSelect/index.tsx +0 -282
@@ -1,8 +1,17 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Storybook Tests DropdownSelector AssistiveText 1`] = `
3
+ exports[`Storybook Tests react/DropdownSelector AssistiveText 1`] = `
4
+ .c4 {
5
+ font-size: 14px;
6
+ line-height: 22px;
7
+ margin: 0;
8
+ color: var(--charcoal-text2);
9
+ }
10
+
4
11
  .c0 {
5
- display: inline-block;
12
+ display: grid;
13
+ grid-template-columns: 1fr;
14
+ grid-gap: 4px;
6
15
  width: 100%;
7
16
  }
8
17
 
@@ -13,10 +22,8 @@ exports[`Storybook Tests DropdownSelector AssistiveText 1`] = `
13
22
  }
14
23
 
15
24
  .c1 {
16
- display: -webkit-box;
17
- display: -webkit-flex;
18
- display: -ms-flexbox;
19
- display: flex;
25
+ display: grid;
26
+ grid-template-columns: 1fr auto;
20
27
  -webkit-box-pack: justify;
21
28
  -webkit-justify-content: space-between;
22
29
  -ms-flex-pack: justify;
@@ -85,30 +92,6 @@ exports[`Storybook Tests DropdownSelector AssistiveText 1`] = `
85
92
  color: var(--charcoal-text2);
86
93
  }
87
94
 
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
-
112
95
  <div
113
96
  data-dark={false}
114
97
  >
@@ -176,19 +159,21 @@ exports[`Storybook Tests DropdownSelector AssistiveText 1`] = `
176
159
  name="16/Menu"
177
160
  />
178
161
  </button>
179
- <div
162
+ <p
180
163
  className="c4"
181
164
  >
182
165
  assistiveText
183
- </div>
166
+ </p>
184
167
  </div>
185
168
  </div>
186
169
  </div>
187
170
  `;
188
171
 
189
- exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
172
+ exports[`Storybook Tests react/DropdownSelector CustomChildren 1`] = `
190
173
  .c0 {
191
- display: inline-block;
174
+ display: grid;
175
+ grid-template-columns: 1fr;
176
+ grid-gap: 4px;
192
177
  width: 100%;
193
178
  }
194
179
 
@@ -199,10 +184,8 @@ exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
199
184
  }
200
185
 
201
186
  .c1 {
202
- display: -webkit-box;
203
- display: -webkit-flex;
204
- display: -ms-flexbox;
205
- display: flex;
187
+ display: grid;
188
+ grid-template-columns: 1fr auto;
206
189
  -webkit-box-pack: justify;
207
190
  -webkit-justify-content: space-between;
208
191
  -ms-flex-pack: justify;
@@ -351,9 +334,11 @@ exports[`Storybook Tests DropdownSelector CustomChildren 1`] = `
351
334
  </div>
352
335
  `;
353
336
 
354
- exports[`Storybook Tests DropdownSelector Default 1`] = `
337
+ exports[`Storybook Tests react/DropdownSelector Default 1`] = `
355
338
  .c0 {
356
- display: inline-block;
339
+ display: grid;
340
+ grid-template-columns: 1fr;
341
+ grid-gap: 4px;
357
342
  width: 100%;
358
343
  }
359
344
 
@@ -364,10 +349,8 @@ exports[`Storybook Tests DropdownSelector Default 1`] = `
364
349
  }
365
350
 
366
351
  .c1 {
367
- display: -webkit-box;
368
- display: -webkit-flex;
369
- display: -ms-flexbox;
370
- display: flex;
352
+ display: grid;
353
+ grid-template-columns: 1fr auto;
371
354
  -webkit-box-pack: justify;
372
355
  -webkit-justify-content: space-between;
373
356
  -ms-flex-pack: justify;
@@ -508,9 +491,11 @@ exports[`Storybook Tests DropdownSelector Default 1`] = `
508
491
  </div>
509
492
  `;
510
493
 
511
- exports[`Storybook Tests DropdownSelector Disabled 1`] = `
494
+ exports[`Storybook Tests react/DropdownSelector Disabled 1`] = `
512
495
  .c0 {
513
- display: inline-block;
496
+ display: grid;
497
+ grid-template-columns: 1fr;
498
+ grid-gap: 4px;
514
499
  width: 100%;
515
500
  }
516
501
 
@@ -521,10 +506,8 @@ exports[`Storybook Tests DropdownSelector Disabled 1`] = `
521
506
  }
522
507
 
523
508
  .c1 {
524
- display: -webkit-box;
525
- display: -webkit-flex;
526
- display: -ms-flexbox;
527
- display: flex;
509
+ display: grid;
510
+ grid-template-columns: 1fr auto;
528
511
  -webkit-box-pack: justify;
529
512
  -webkit-justify-content: space-between;
530
513
  -ms-flex-pack: justify;
@@ -667,9 +650,11 @@ exports[`Storybook Tests DropdownSelector Disabled 1`] = `
667
650
  </div>
668
651
  `;
669
652
 
670
- exports[`Storybook Tests DropdownSelector DisabledItem 1`] = `
653
+ exports[`Storybook Tests react/DropdownSelector DisabledItem 1`] = `
671
654
  .c0 {
672
- display: inline-block;
655
+ display: grid;
656
+ grid-template-columns: 1fr;
657
+ grid-gap: 4px;
673
658
  width: 100%;
674
659
  }
675
660
 
@@ -680,10 +665,8 @@ exports[`Storybook Tests DropdownSelector DisabledItem 1`] = `
680
665
  }
681
666
 
682
667
  .c1 {
683
- display: -webkit-box;
684
- display: -webkit-flex;
685
- display: -ms-flexbox;
686
- display: flex;
668
+ display: grid;
669
+ grid-template-columns: 1fr auto;
687
670
  -webkit-box-pack: justify;
688
671
  -webkit-justify-content: space-between;
689
672
  -ms-flex-pack: justify;
@@ -835,9 +818,11 @@ exports[`Storybook Tests DropdownSelector DisabledItem 1`] = `
835
818
  </div>
836
819
  `;
837
820
 
838
- exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
821
+ exports[`Storybook Tests react/DropdownSelector InFormTag 1`] = `
839
822
  .c0 {
840
- display: inline-block;
823
+ display: grid;
824
+ grid-template-columns: 1fr;
825
+ grid-gap: 4px;
841
826
  width: 100%;
842
827
  }
843
828
 
@@ -848,10 +833,8 @@ exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
848
833
  }
849
834
 
850
835
  .c1 {
851
- display: -webkit-box;
852
- display: -webkit-flex;
853
- display: -ms-flexbox;
854
- display: flex;
836
+ display: grid;
837
+ grid-template-columns: 1fr auto;
855
838
  -webkit-box-pack: justify;
856
839
  -webkit-justify-content: space-between;
857
840
  -ms-flex-pack: justify;
@@ -1005,953 +988,33 @@ exports[`Storybook Tests DropdownSelector InFormTag 1`] = `
1005
988
  </button>
1006
989
  </form>
1007
990
  </div>
1008
- `;
1009
-
1010
- exports[`Storybook Tests DropdownSelector InModal 1`] = `
1011
- .c26 {
1012
- cursor: pointer;
1013
- -webkit-appearance: none;
1014
- -moz-appearance: none;
1015
- appearance: none;
1016
- background: transparent;
1017
- padding: 0;
1018
- border-style: none;
1019
- outline: none;
1020
- color: inherit;
1021
- text-rendering: inherit;
1022
- -webkit-letter-spacing: inherit;
1023
- -moz-letter-spacing: inherit;
1024
- -ms-letter-spacing: inherit;
1025
- letter-spacing: inherit;
1026
- word-spacing: inherit;
1027
- -webkit-text-decoration: none;
1028
- text-decoration: none;
1029
- font: inherit;
1030
- margin: 0;
1031
- overflow: visible;
1032
- text-transform: none;
1033
- }
1034
-
1035
- .c26:disabled,
1036
- .c26[aria-disabled]:not([aria-disabled=false]) {
1037
- cursor: default;
1038
- }
1039
-
1040
- .c26:focus {
1041
- outline: none;
1042
- }
1043
-
1044
- .c26::-moz-focus-inner {
1045
- border-style: none;
1046
- padding: 0;
1047
- }
1048
-
1049
- .c9 {
1050
- font-size: 14px;
1051
- line-height: 22px;
1052
- font-weight: bold;
1053
- display: flow-root;
1054
- color: var(--charcoal-text1);
1055
- }
1056
-
1057
- .c9::before {
1058
- display: block;
1059
- width: 0;
1060
- height: 0;
1061
- content: '';
1062
- margin-top: -4px;
1063
- }
1064
-
1065
- .c9::after {
1066
- display: block;
1067
- width: 0;
1068
- height: 0;
1069
- content: '';
1070
- margin-bottom: -4px;
1071
- }
1072
-
1073
- .c11 {
1074
- font-size: 14px;
1075
- line-height: 22px;
1076
- display: flow-root;
1077
- color: var(--charcoal-text2);
1078
- }
1079
-
1080
- .c11::before {
1081
- display: block;
1082
- width: 0;
1083
- height: 0;
1084
- content: '';
1085
- margin-top: -4px;
1086
- }
1087
-
1088
- .c11::after {
1089
- display: block;
1090
- width: 0;
1091
- height: 0;
1092
- content: '';
1093
- margin-bottom: -4px;
1094
- }
1095
-
1096
- .c13 {
1097
- font-size: 14px;
1098
- line-height: 22px;
1099
- display: flow-root;
1100
- color: var(--charcoal-text3);
1101
- -webkit-transition: 0.2s color,0.2s box-shadow;
1102
- transition: 0.2s color,0.2s box-shadow;
1103
- }
1104
-
1105
- .c13::before {
1106
- display: block;
1107
- width: 0;
1108
- height: 0;
1109
- content: '';
1110
- margin-top: -4px;
1111
- }
1112
-
1113
- .c13::after {
1114
- display: block;
1115
- width: 0;
1116
- height: 0;
1117
- content: '';
1118
- margin-bottom: -4px;
1119
- }
1120
-
1121
- .c13:not(:disabled):not([aria-disabled]):hover,
1122
- .c13[aria-disabled='false']:hover {
1123
- color: var(--charcoal-text3-hover);
1124
- }
1125
-
1126
- .c13:not(:disabled):not([aria-disabled]):active,
1127
- .c13[aria-disabled='false']:active {
1128
- color: var(--charcoal-text3-press);
1129
- }
1130
-
1131
- .c13:not(:disabled):not([aria-disabled]):active,
1132
- .c13[aria-disabled='false']:active,
1133
- .c13:not(:disabled):not([aria-disabled]):focus,
1134
- .c13[aria-disabled='false']:focus,
1135
- .c13:not(:disabled):not([aria-disabled]):focus-visible,
1136
- .c13[aria-disabled='false']:focus-visible {
1137
- outline: none;
1138
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1139
- }
1140
-
1141
- .c7 {
1142
- display: -webkit-inline-box;
1143
- display: -webkit-inline-flex;
1144
- display: -ms-inline-flexbox;
1145
- display: inline-flex;
1146
- -webkit-align-items: center;
1147
- -webkit-box-align: center;
1148
- -ms-flex-align: center;
1149
- align-items: center;
1150
- }
1151
-
1152
- .c7 > .c10 {
1153
- margin-left: 4px;
1154
- }
1155
-
1156
- .c7 > .c12 {
1157
- margin-left: auto;
1158
- }
1159
-
1160
- .c6 {
1161
- display: inline-block;
1162
- width: 100%;
1163
- }
1164
-
1165
- .c6:disabled,
1166
- .c6[aria-disabled]:not([aria-disabled=false]) {
1167
- cursor: default;
1168
- opacity: 0.32;
1169
- }
1170
-
1171
- .c8 {
1172
- width: 100%;
1173
- margin-bottom: 8px;
1174
- }
1175
-
1176
- .c14 {
1177
- display: -webkit-box;
1178
- display: -webkit-flex;
1179
- display: -ms-flexbox;
1180
- display: flex;
1181
- -webkit-box-pack: justify;
1182
- -webkit-justify-content: space-between;
1183
- -ms-flex-pack: justify;
1184
- justify-content: space-between;
1185
- -webkit-align-items: center;
1186
- -webkit-box-align: center;
1187
- -ms-flex-align: center;
1188
- align-items: center;
1189
- height: 40px;
1190
- width: 100%;
1191
- box-sizing: border-box;
1192
- border: none;
1193
- cursor: pointer;
1194
- gap: 4px;
1195
- padding-right: 8px;
1196
- padding-left: 8px;
1197
- background-color: var(--charcoal-surface3);
1198
- border-radius: 4px;
1199
- -webkit-transition: 0.2s box-shadow,0.2s background-color;
1200
- transition: 0.2s box-shadow,0.2s background-color;
1201
- }
1202
-
1203
- .c14:disabled,
1204
- .c14[aria-disabled]:not([aria-disabled=false]) {
1205
- cursor: default;
1206
- }
1207
-
1208
- .c14:not(:disabled):not([aria-disabled]):focus,
1209
- .c14[aria-disabled='false']:focus {
1210
- outline: none;
1211
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1212
- }
1213
-
1214
- .c14:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1215
- .c14[aria-disabled='false']:focus:not(:focus-visible) {
1216
- box-shadow: none;
1217
- }
1218
-
1219
- .c14:not(:disabled):not([aria-disabled]):focus-visible,
1220
- .c14[aria-disabled='false']:focus-visible {
1221
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1222
- }
1223
-
1224
- .c14:not(:disabled):not([aria-disabled]):hover,
1225
- .c14[aria-disabled='false']:hover {
1226
- background-color: var(--charcoal-surface3-hover);
1227
- }
1228
-
1229
- .c14:not(:disabled):not([aria-disabled]):active,
1230
- .c14[aria-disabled='false']:active {
1231
- background-color: var(--charcoal-surface3-press);
1232
- }
1233
-
1234
- .c15 {
1235
- text-align: left;
1236
- font-size: 14px;
1237
- line-height: 22px;
1238
- display: flow-root;
1239
- color: var(--charcoal-text2);
1240
- overflow: hidden;
1241
- text-overflow: ellipsis;
1242
- white-space: nowrap;
1243
- }
1244
-
1245
- .c16 {
1246
- color: var(--charcoal-text2);
1247
- }
1248
-
1249
- .c17 {
1250
- margin-top: 8px;
1251
- font-size: 14px;
1252
- color: var(--charcoal-text2);
1253
- line-height: 22px;
1254
- display: flow-root;
1255
- }
1256
-
1257
- .c17::before {
1258
- display: block;
1259
- width: 0;
1260
- height: 0;
1261
- content: '';
1262
- margin-top: -4px;
1263
- }
1264
-
1265
- .c17::after {
1266
- display: block;
1267
- width: 0;
1268
- height: 0;
1269
- content: '';
1270
- margin-bottom: -4px;
1271
- }
1272
-
1273
- .c27 {
1274
- -webkit-user-select: none;
1275
- -moz-user-select: none;
1276
- -ms-user-select: none;
1277
- user-select: none;
1278
- width: 32px;
1279
- height: 32px;
1280
- display: -webkit-box;
1281
- display: -webkit-flex;
1282
- display: -ms-flexbox;
1283
- display: flex;
1284
- -webkit-align-items: center;
1285
- -webkit-box-align: center;
1286
- -ms-flex-align: center;
1287
- align-items: center;
1288
- -webkit-box-pack: center;
1289
- -webkit-justify-content: center;
1290
- -ms-flex-pack: center;
1291
- justify-content: center;
1292
- color: var(--charcoal-text3);
1293
- background-color: var(--charcoal-transparent);
1294
- border-radius: 999999px;
1295
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1296
- transition: 0.2s background-color,0.2s box-shadow;
1297
- }
1298
-
1299
- .c27:not(:disabled):not([aria-disabled]):hover,
1300
- .c27[aria-disabled='false']:hover {
1301
- color: var(--charcoal-text3-hover);
1302
- background-color: var(--charcoal-transparent-hover);
1303
- }
1304
-
1305
- .c27:not(:disabled):not([aria-disabled]):active,
1306
- .c27[aria-disabled='false']:active {
1307
- color: var(--charcoal-text3-press);
1308
- background-color: var(--charcoal-transparent-press);
1309
- }
1310
-
1311
- .c27:not(:disabled):not([aria-disabled]):focus,
1312
- .c27[aria-disabled='false']:focus {
1313
- outline: none;
1314
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1315
- }
1316
-
1317
- .c27:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1318
- .c27[aria-disabled='false']:focus:not(:focus-visible) {
1319
- box-shadow: none;
1320
- }
1321
-
1322
- .c27:not(:disabled):not([aria-disabled]):focus-visible,
1323
- .c27[aria-disabled='false']:focus-visible {
1324
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1325
- }
1326
-
1327
- .c27:disabled,
1328
- .c27[aria-disabled]:not([aria-disabled='false']) {
1329
- opacity: 0.32;
1330
- }
1331
-
1332
- .c1 {
1333
- margin: auto;
1334
- position: relative;
1335
- height: -webkit-fit-content;
1336
- height: -moz-fit-content;
1337
- height: fit-content;
1338
- width: 440px;
1339
- background-color: var(--charcoal-surface1);
1340
- border-radius: 24px;
1341
- }
1342
-
1343
- .c1:focus {
1344
- outline: none;
1345
- }
1346
-
1347
- .c0 {
1348
- z-index: 10;
1349
- overflow: auto;
1350
- display: -webkit-box;
1351
- display: -webkit-flex;
1352
- display: -ms-flexbox;
1353
- display: flex;
1354
- position: fixed;
1355
- top: 0;
1356
- left: 0;
1357
- width: -webkit-fill-available;
1358
- width: -moz-available;
1359
- height: 100%;
1360
- -webkit-box-pack: center;
1361
- -webkit-justify-content: center;
1362
- -ms-flex-pack: center;
1363
- justify-content: center;
1364
- padding: 40px 0;
1365
- box-sizing: border-box;
1366
- background-color: var(--charcoal-surface4);
1367
- }
1368
-
1369
- .c28 {
1370
- position: absolute;
1371
- top: 8px;
1372
- right: 8px;
1373
- color: var(--charcoal-text3);
1374
- -webkit-transition: 0.2s color;
1375
- transition: 0.2s color;
1376
- }
1377
-
1378
- .c28:not(:disabled):not([aria-disabled]):hover,
1379
- .c28[aria-disabled='false']:hover {
1380
- color: var(--charcoal-text3-hover);
1381
- }
1382
-
1383
- .c28:not(:disabled):not([aria-disabled]):active,
1384
- .c28[aria-disabled='false']:active {
1385
- color: var(--charcoal-text3-press);
1386
- }
1387
-
1388
- .c3 {
1389
- margin: 0;
1390
- font-weight: inherit;
1391
- font-size: inherit;
1392
- }
1393
-
1394
- .c2 {
1395
- height: 64px;
1396
- display: grid;
1397
- -webkit-align-content: center;
1398
- -ms-flex-line-pack: center;
1399
- align-content: center;
1400
- -webkit-box-pack: center;
1401
- -webkit-justify-content: center;
1402
- -ms-flex-pack: center;
1403
- justify-content: center;
1404
- }
1405
-
1406
- .c4 {
1407
- color: var(--charcoal-text1);
1408
- font-size: 16px;
1409
- line-height: 24px;
1410
- font-weight: bold;
1411
- display: flow-root;
1412
- }
1413
-
1414
- .c4::before {
1415
- display: block;
1416
- width: 0;
1417
- height: 0;
1418
- content: '';
1419
- margin-top: -4px;
1420
- }
1421
-
1422
- .c4::after {
1423
- display: block;
1424
- width: 0;
1425
- height: 0;
1426
- content: '';
1427
- margin-bottom: -4px;
1428
- }
1429
-
1430
- .c5 {
1431
- padding-bottom: 40px;
1432
- }
1433
-
1434
- .c18 {
1435
- display: -webkit-box;
1436
- display: -webkit-flex;
1437
- display: -ms-flexbox;
1438
- display: flex;
1439
- -webkit-flex-direction: column;
1440
- -ms-flex-direction: column;
1441
- flex-direction: column;
1442
- }
1443
-
1444
- .c19 {
1445
- margin-bottom: 8px;
1446
- }
1447
-
1448
- .c20 {
1449
- display: grid;
1450
- grid-template-columns: 1fr;
1451
- height: 40px;
1452
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1453
- transition: 0.2s background-color,0.2s box-shadow;
1454
- color: var(--charcoal-text2);
1455
- background-color: var(--charcoal-surface3);
1456
- border-radius: 4px;
1457
- gap: 4px;
1458
- padding: 0 8px;
1459
- line-height: 22px;
1460
- font-size: 14px;
1461
- }
1462
-
1463
- .c20:not(:disabled):not([aria-disabled]):hover,
1464
- .c20 [aria-disabled='false']:hover {
1465
- background-color: var(--charcoal-surface3-hover);
1466
- }
1467
-
1468
- .c20:focus-within {
1469
- outline: none;
1470
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1471
- }
1472
-
1473
- .c21 {
1474
- border: none;
1475
- box-sizing: border-box;
1476
- outline: none;
1477
- font-family: inherit;
1478
- -webkit-transform-origin: top left;
1479
- -ms-transform-origin: top left;
1480
- transform-origin: top left;
1481
- -webkit-transform: scale(0.875);
1482
- -ms-transform: scale(0.875);
1483
- transform: scale(0.875);
1484
- width: calc(100% / 0.875);
1485
- height: calc(100% / 0.875);
1486
- font-size: calc(14px / 0.875);
1487
- line-height: calc(22px / 0.875);
1488
- padding-left: 0;
1489
- padding-right: 0;
1490
- border-radius: calc(4px / 0.875);
1491
- -webkit-appearance: none;
1492
- -moz-appearance: none;
1493
- appearance: none;
1494
- background: transparent;
1495
- color: var(--charcoal-text2);
1496
- }
1497
-
1498
- .c21::-webkit-input-placeholder {
1499
- color: var(--charcoal-text3);
1500
- }
1501
-
1502
- .c21::-moz-placeholder {
1503
- color: var(--charcoal-text3);
1504
- }
1505
-
1506
- .c21:-ms-input-placeholder {
1507
- color: var(--charcoal-text3);
1508
- }
1509
-
1510
- .c21::placeholder {
1511
- color: var(--charcoal-text3);
1512
- }
1513
-
1514
- .c22 {
1515
- font-size: 14px;
1516
- line-height: 22px;
1517
- margin-top: 4px;
1518
- margin-bottom: -4px;
1519
- color: var(--charcoal-text2);
1520
- }
1521
-
1522
- .c23 {
1523
- display: -webkit-box;
1524
- display: -webkit-flex;
1525
- display: -ms-flexbox;
1526
- display: flex;
1527
- -webkit-flex-direction: column;
1528
- -ms-flex-direction: column;
1529
- flex-direction: column;
1530
- }
1531
-
1532
- .c24 {
1533
- position: relative;
1534
- overflow: hidden;
1535
- color: var(--charcoal-text2);
1536
- background-color: var(--charcoal-surface3);
1537
- border-radius: 4px;
1538
- -webkit-transition: 0.2s background-color,0.2s box-shadow;
1539
- transition: 0.2s background-color,0.2s box-shadow;
1540
- height: calc(22px * 4 + 18px);
1541
- }
1542
-
1543
- .c24:not([aria-disabled]):hover,
1544
- .c24 [aria-disabled='false']:hover {
1545
- background-color: var(--charcoal-surface3-hover);
1546
- }
1547
-
1548
- .c24:focus-within {
1549
- outline: none;
1550
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1551
- }
1552
-
1553
- .c25 {
1554
- border: none;
1555
- outline: none;
1556
- resize: none;
1557
- font-family: inherit;
1558
- color: inherit;
1559
- box-sizing: border-box;
1560
- -webkit-transform-origin: top left;
1561
- -ms-transform-origin: top left;
1562
- transform-origin: top left;
1563
- -webkit-transform: scale(0.875);
1564
- -ms-transform: scale(0.875);
1565
- transform: scale(0.875);
1566
- width: calc(100% / 0.875);
1567
- font-size: calc(14px / 0.875);
1568
- line-height: calc(22px / 0.875);
1569
- padding: calc(9px / 0.875) calc(8px / 0.875);
1570
- height: calc(22px / 0.875 * 4 + 20px);
1571
- -webkit-appearance: none;
1572
- -moz-appearance: none;
1573
- appearance: none;
1574
- background: none;
1575
- }
1576
-
1577
- .c25::-webkit-input-placeholder {
1578
- color: var(--charcoal-text3);
1579
- }
1580
-
1581
- .c25::-moz-placeholder {
1582
- color: var(--charcoal-text3);
1583
- }
1584
-
1585
- .c25:-ms-input-placeholder {
1586
- color: var(--charcoal-text3);
1587
- }
1588
-
1589
- .c25::placeholder {
1590
- color: var(--charcoal-text3);
1591
- }
1592
-
1593
- @media (max-width:743px) {
1594
- .c1 {
1595
- max-width: 440px;
1596
- width: calc(100% - 48px);
1597
- max-width: unset;
1598
- width: 100%;
1599
- border-radius: 0;
1600
- margin: auto 0 0 0;
1601
- min-height: 100%;
1602
- }
1603
- }
1604
-
1605
- @media (max-width:743px) {
1606
- .c0 {
1607
- padding: 0;
1608
- }
1609
- }
1610
-
1611
- @media (max-width:743px) {
1612
- .c2 {
1613
- height: 48px;
1614
- }
1615
- }
1616
-
1617
- <div
1618
- data-dark={false}
1619
- >
1620
- <div
1621
- style={
1622
- Object {
1623
- "height": "10px",
1624
- }
1625
- }
1626
- >
1627
- <button
1628
- onClick={[Function]}
1629
- >
1630
- open
1631
- </button>
1632
- <div
1633
- className="c0"
1634
- onClick={[Function]}
1635
- onPointerDown={[Function]}
1636
- style={
1637
- Object {
1638
- "backgroundColor": "rgba(0, 0, 0, 0)",
1639
- "overflow": "hidden",
1640
- }
1641
- }
1642
- >
1643
- <div
1644
- className="c1"
1645
- onBlur={[Function]}
1646
- onKeyDown={[Function]}
1647
- role="dialog"
1648
- size="M"
1649
- style={
1650
- Object {
1651
- "transform": " translateY(100%)",
1652
- }
1653
- }
1654
- tabIndex={-1}
1655
- >
1656
- <div
1657
- className="c2"
1658
- >
1659
- <h3
1660
- className="c3 c4"
1661
- >
1662
- modal
1663
- </h3>
1664
- </div>
1665
- <div
1666
- className="c5"
1667
- >
1668
- <div
1669
- style={
1670
- Object {
1671
- "display": "grid",
1672
- "gap": 40,
1673
- "padding": 16,
1674
- }
1675
- }
1676
- >
1677
- <div
1678
- className="c6"
1679
- >
1680
- <div
1681
- className="c7 c8"
1682
- >
1683
- <label
1684
- className="c9"
1685
- >
1686
- DropdownSelector1
1687
- </label>
1688
- <span
1689
- className="c10 c11"
1690
- >
1691
- required
1692
- </span>
1693
- <div
1694
- className="c12 c13"
1695
- >
1696
- <span />
1697
- </div>
1698
- </div>
1699
- <div
1700
- aria-hidden="true"
1701
- style={
1702
- Object {
1703
- "border": 0,
1704
- "clip": "rect(0 0 0 0)",
1705
- "clipPath": "inset(50%)",
1706
- "height": "1px",
1707
- "margin": "-1px",
1708
- "overflow": "hidden",
1709
- "padding": 0,
1710
- "position": "absolute",
1711
- "whiteSpace": "nowrap",
1712
- "width": "1px",
1713
- }
1714
- }
1715
- >
1716
- <select
1717
- onChange={[Function]}
1718
- tabIndex={-1}
1719
- value="1"
1720
- >
1721
- <option
1722
- value="1"
1723
- >
1724
- 1
1725
- </option>
1726
- <option
1727
- value="2"
1728
- >
1729
- 2
1730
- </option>
1731
- <option
1732
- value="3"
1733
- >
1734
- 3
1735
- </option>
1736
- </select>
1737
- </div>
1738
- <button
1739
- className="c14"
1740
- onClick={[Function]}
1741
- type="button"
1742
- >
1743
- <span
1744
- className="c15"
1745
- >
1746
- Option 1
1747
- </span>
1748
- <pixiv-icon
1749
- class="c16"
1750
- name="16/Menu"
1751
- />
1752
- </button>
1753
- <div
1754
- className="c17"
1755
- >
1756
- assistiveText
1757
- </div>
1758
- </div>
1759
- <div
1760
- className="c18"
1761
- >
1762
- <div
1763
- className="c7 c19"
1764
- >
1765
- <label
1766
- className="c9"
1767
- htmlFor="test-id"
1768
- id="test-id"
1769
- >
1770
- TextField
1771
- </label>
1772
- <span
1773
- className="c10 c11"
1774
- >
1775
- required
1776
- </span>
1777
- <div
1778
- className="c12 c13"
1779
- >
1780
- <span />
1781
- </div>
1782
- </div>
1783
- <div
1784
- className="c20"
1785
- >
1786
- <input
1787
- aria-labelledby="test-id"
1788
- aria-required={true}
1789
- className="c21"
1790
- disabled={false}
1791
- id="test-id"
1792
- onChange={[Function]}
1793
- placeholder="placeholder"
1794
- readOnly={false}
1795
- required={false}
1796
- type="text"
1797
- value=""
1798
- />
1799
- </div>
1800
- <p
1801
- className="c22"
1802
- >
1803
- assistiveText
1804
- </p>
1805
- </div>
1806
- <div
1807
- className="c23"
1808
- >
1809
- <div
1810
- className="c7 c19"
1811
- >
1812
- <label
1813
- className="c9"
1814
- htmlFor="test-id"
1815
- id="test-id"
1816
- >
1817
- TextArea
1818
- </label>
1819
- <span
1820
- className="c10 c11"
1821
- >
1822
- required
1823
- </span>
1824
- <div
1825
- className="c12 c13"
1826
- >
1827
- <span />
1828
- </div>
1829
- </div>
1830
- <div
1831
- className="c24"
1832
- rows={4}
1833
- >
1834
- <textarea
1835
- aria-labelledby="test-id"
1836
- aria-required={true}
1837
- className="c25"
1838
- disabled={false}
1839
- id="test-id"
1840
- onChange={[Function]}
1841
- placeholder="placeholder"
1842
- readOnly={false}
1843
- required={false}
1844
- rows={4}
1845
- value=""
1846
- />
1847
- </div>
1848
- <p
1849
- className="c22"
1850
- >
1851
- assistiveText
1852
- </p>
1853
- </div>
1854
- <div
1855
- className="c6"
1856
- >
1857
- <div
1858
- className="c7 c8"
1859
- >
1860
- <label
1861
- className="c9"
1862
- >
1863
- DropdownSelector2
1864
- </label>
1865
- <span
1866
- className="c10 c11"
1867
- >
1868
- required
1869
- </span>
1870
- <div
1871
- className="c12 c13"
1872
- >
1873
- <span />
1874
- </div>
1875
- </div>
1876
- <div
1877
- aria-hidden="true"
1878
- style={
1879
- Object {
1880
- "border": 0,
1881
- "clip": "rect(0 0 0 0)",
1882
- "clipPath": "inset(50%)",
1883
- "height": "1px",
1884
- "margin": "-1px",
1885
- "overflow": "hidden",
1886
- "padding": 0,
1887
- "position": "absolute",
1888
- "whiteSpace": "nowrap",
1889
- "width": "1px",
1890
- }
1891
- }
1892
- >
1893
- <select
1894
- onChange={[Function]}
1895
- tabIndex={-1}
1896
- value="2"
1897
- >
1898
- <option
1899
- value="1"
1900
- >
1901
- 1
1902
- </option>
1903
- <option
1904
- value="2"
1905
- >
1906
- 2
1907
- </option>
1908
- <option
1909
- value="3"
1910
- >
1911
- 3
1912
- </option>
1913
- </select>
1914
- </div>
1915
- <button
1916
- className="c14"
1917
- onClick={[Function]}
1918
- type="button"
1919
- >
1920
- <span
1921
- className="c15"
1922
- >
1923
- Option 2
1924
- </span>
1925
- <pixiv-icon
1926
- class="c16"
1927
- name="16/Menu"
1928
- />
1929
- </button>
1930
- <div
1931
- className="c17"
1932
- >
1933
- assistiveText
1934
- </div>
1935
- </div>
1936
- </div>
1937
- </div>
1938
- <button
1939
- className="c26 c27 c28"
1940
- onClick={[Function]}
1941
- >
1942
- <pixiv-icon
1943
- name="24/Close"
1944
- />
1945
- </button>
1946
- </div>
1947
- </div>
991
+ `;
992
+
993
+ exports[`Storybook Tests react/DropdownSelector InModal 1`] = `
994
+ <div
995
+ data-dark={false}
996
+ >
997
+ <div
998
+ style={
999
+ Object {
1000
+ "height": "10px",
1001
+ }
1002
+ }
1003
+ >
1004
+ <button
1005
+ onClick={[Function]}
1006
+ >
1007
+ open
1008
+ </button>
1948
1009
  </div>
1949
1010
  </div>
1950
1011
  `;
1951
1012
 
1952
- exports[`Storybook Tests DropdownSelector Invalid 1`] = `
1013
+ exports[`Storybook Tests react/DropdownSelector Invalid 1`] = `
1953
1014
  .c0 {
1954
- display: inline-block;
1015
+ display: grid;
1016
+ grid-template-columns: 1fr;
1017
+ grid-gap: 4px;
1955
1018
  width: 100%;
1956
1019
  }
1957
1020
 
@@ -1962,10 +1025,8 @@ exports[`Storybook Tests DropdownSelector Invalid 1`] = `
1962
1025
  }
1963
1026
 
1964
1027
  .c1 {
1965
- display: -webkit-box;
1966
- display: -webkit-flex;
1967
- display: -ms-flexbox;
1968
- display: flex;
1028
+ display: grid;
1029
+ grid-template-columns: 1fr auto;
1969
1030
  -webkit-box-pack: justify;
1970
1031
  -webkit-justify-content: space-between;
1971
1032
  -ms-flex-pack: justify;
@@ -2111,9 +1172,18 @@ exports[`Storybook Tests DropdownSelector Invalid 1`] = `
2111
1172
  </div>
2112
1173
  `;
2113
1174
 
2114
- exports[`Storybook Tests DropdownSelector InvalidAssistiveText 1`] = `
1175
+ exports[`Storybook Tests react/DropdownSelector InvalidAssistiveText 1`] = `
1176
+ .c4 {
1177
+ font-size: 14px;
1178
+ line-height: 22px;
1179
+ margin: 0;
1180
+ color: var(--charcoal-assertive);
1181
+ }
1182
+
2115
1183
  .c0 {
2116
- display: inline-block;
1184
+ display: grid;
1185
+ grid-template-columns: 1fr;
1186
+ grid-gap: 4px;
2117
1187
  width: 100%;
2118
1188
  }
2119
1189
 
@@ -2124,10 +1194,8 @@ exports[`Storybook Tests DropdownSelector InvalidAssistiveText 1`] = `
2124
1194
  }
2125
1195
 
2126
1196
  .c1 {
2127
- display: -webkit-box;
2128
- display: -webkit-flex;
2129
- display: -ms-flexbox;
2130
- display: flex;
1197
+ display: grid;
1198
+ grid-template-columns: 1fr auto;
2131
1199
  -webkit-box-pack: justify;
2132
1200
  -webkit-justify-content: space-between;
2133
1201
  -ms-flex-pack: justify;
@@ -2201,31 +1269,6 @@ exports[`Storybook Tests DropdownSelector InvalidAssistiveText 1`] = `
2201
1269
  color: var(--charcoal-text2);
2202
1270
  }
2203
1271
 
2204
- .c4 {
2205
- margin-top: 8px;
2206
- font-size: 14px;
2207
- color: var(--charcoal-text2);
2208
- line-height: 22px;
2209
- display: flow-root;
2210
- color: var(--charcoal-assertive);
2211
- }
2212
-
2213
- .c4::before {
2214
- display: block;
2215
- width: 0;
2216
- height: 0;
2217
- content: '';
2218
- margin-top: -4px;
2219
- }
2220
-
2221
- .c4::after {
2222
- display: block;
2223
- width: 0;
2224
- height: 0;
2225
- content: '';
2226
- margin-bottom: -4px;
2227
- }
2228
-
2229
1272
  <div
2230
1273
  data-dark={false}
2231
1274
  >
@@ -2293,103 +1336,21 @@ exports[`Storybook Tests DropdownSelector InvalidAssistiveText 1`] = `
2293
1336
  name="16/Menu"
2294
1337
  />
2295
1338
  </button>
2296
- <div
1339
+ <p
2297
1340
  className="c4"
2298
1341
  >
2299
1342
  assistiveText
2300
- </div>
1343
+ </p>
2301
1344
  </div>
2302
1345
  </div>
2303
1346
  </div>
2304
1347
  `;
2305
1348
 
2306
- exports[`Storybook Tests DropdownSelector Label 1`] = `
2307
- .c3 {
2308
- font-size: 14px;
2309
- line-height: 22px;
2310
- font-weight: bold;
2311
- display: flow-root;
2312
- color: var(--charcoal-text1);
2313
- }
2314
-
2315
- .c3::before {
2316
- display: block;
2317
- width: 0;
2318
- height: 0;
2319
- content: '';
2320
- margin-top: -4px;
2321
- }
2322
-
2323
- .c3::after {
2324
- display: block;
2325
- width: 0;
2326
- height: 0;
2327
- content: '';
2328
- margin-bottom: -4px;
2329
- }
2330
-
2331
- .c5 {
2332
- font-size: 14px;
2333
- line-height: 22px;
2334
- display: flow-root;
2335
- color: var(--charcoal-text3);
2336
- -webkit-transition: 0.2s color,0.2s box-shadow;
2337
- transition: 0.2s color,0.2s box-shadow;
2338
- }
2339
-
2340
- .c5::before {
2341
- display: block;
2342
- width: 0;
2343
- height: 0;
2344
- content: '';
2345
- margin-top: -4px;
2346
- }
2347
-
2348
- .c5::after {
2349
- display: block;
2350
- width: 0;
2351
- height: 0;
2352
- content: '';
2353
- margin-bottom: -4px;
2354
- }
2355
-
2356
- .c5:not(:disabled):not([aria-disabled]):hover,
2357
- .c5[aria-disabled='false']:hover {
2358
- color: var(--charcoal-text3-hover);
2359
- }
2360
-
2361
- .c5:not(:disabled):not([aria-disabled]):active,
2362
- .c5[aria-disabled='false']:active {
2363
- color: var(--charcoal-text3-press);
2364
- }
2365
-
2366
- .c5:not(:disabled):not([aria-disabled]):active,
2367
- .c5[aria-disabled='false']:active,
2368
- .c5:not(:disabled):not([aria-disabled]):focus,
2369
- .c5[aria-disabled='false']:focus,
2370
- .c5:not(:disabled):not([aria-disabled]):focus-visible,
2371
- .c5[aria-disabled='false']:focus-visible {
2372
- outline: none;
2373
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2374
- }
2375
-
2376
- .c1 {
2377
- display: -webkit-inline-box;
2378
- display: -webkit-inline-flex;
2379
- display: -ms-inline-flexbox;
2380
- display: inline-flex;
2381
- -webkit-align-items: center;
2382
- -webkit-box-align: center;
2383
- -ms-flex-align: center;
2384
- align-items: center;
2385
- }
2386
-
2387
- .c1 > .c4 {
2388
- margin-left: auto;
2389
- }
2390
-
1349
+ exports[`Storybook Tests react/DropdownSelector Label 1`] = `
2391
1350
  .c0 {
2392
- display: inline-block;
1351
+ display: grid;
1352
+ grid-template-columns: 1fr;
1353
+ grid-gap: 4px;
2393
1354
  width: 100%;
2394
1355
  }
2395
1356
 
@@ -2399,16 +1360,9 @@ exports[`Storybook Tests DropdownSelector Label 1`] = `
2399
1360
  opacity: 0.32;
2400
1361
  }
2401
1362
 
2402
- .c2 {
2403
- width: 100%;
2404
- margin-bottom: 8px;
2405
- }
2406
-
2407
- .c6 {
2408
- display: -webkit-box;
2409
- display: -webkit-flex;
2410
- display: -ms-flexbox;
2411
- display: flex;
1363
+ .c1 {
1364
+ display: grid;
1365
+ grid-template-columns: 1fr auto;
2412
1366
  -webkit-box-pack: justify;
2413
1367
  -webkit-justify-content: space-between;
2414
1368
  -ms-flex-pack: justify;
@@ -2431,38 +1385,38 @@ exports[`Storybook Tests DropdownSelector Label 1`] = `
2431
1385
  transition: 0.2s box-shadow,0.2s background-color;
2432
1386
  }
2433
1387
 
2434
- .c6:disabled,
2435
- .c6[aria-disabled]:not([aria-disabled=false]) {
1388
+ .c1:disabled,
1389
+ .c1[aria-disabled]:not([aria-disabled=false]) {
2436
1390
  cursor: default;
2437
1391
  }
2438
1392
 
2439
- .c6:not(:disabled):not([aria-disabled]):focus,
2440
- .c6[aria-disabled='false']:focus {
1393
+ .c1:not(:disabled):not([aria-disabled]):focus,
1394
+ .c1[aria-disabled='false']:focus {
2441
1395
  outline: none;
2442
1396
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2443
1397
  }
2444
1398
 
2445
- .c6:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
2446
- .c6[aria-disabled='false']:focus:not(:focus-visible) {
1399
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1400
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
2447
1401
  box-shadow: none;
2448
1402
  }
2449
1403
 
2450
- .c6:not(:disabled):not([aria-disabled]):focus-visible,
2451
- .c6[aria-disabled='false']:focus-visible {
1404
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
1405
+ .c1[aria-disabled='false']:focus-visible {
2452
1406
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2453
1407
  }
2454
1408
 
2455
- .c6:not(:disabled):not([aria-disabled]):hover,
2456
- .c6[aria-disabled='false']:hover {
1409
+ .c1:not(:disabled):not([aria-disabled]):hover,
1410
+ .c1[aria-disabled='false']:hover {
2457
1411
  background-color: var(--charcoal-surface3-hover);
2458
1412
  }
2459
1413
 
2460
- .c6:not(:disabled):not([aria-disabled]):active,
2461
- .c6[aria-disabled='false']:active {
1414
+ .c1:not(:disabled):not([aria-disabled]):active,
1415
+ .c1[aria-disabled='false']:active {
2462
1416
  background-color: var(--charcoal-surface3-press);
2463
1417
  }
2464
1418
 
2465
- .c7 {
1419
+ .c2 {
2466
1420
  text-align: left;
2467
1421
  font-size: 14px;
2468
1422
  line-height: 22px;
@@ -2473,7 +1427,7 @@ exports[`Storybook Tests DropdownSelector Label 1`] = `
2473
1427
  white-space: nowrap;
2474
1428
  }
2475
1429
 
2476
- .c8 {
1430
+ .c3 {
2477
1431
  color: var(--charcoal-text2);
2478
1432
  }
2479
1433
 
@@ -2491,15 +1445,15 @@ exports[`Storybook Tests DropdownSelector Label 1`] = `
2491
1445
  className="c0"
2492
1446
  >
2493
1447
  <div
2494
- className="c1 c2"
1448
+ className="charcoal-field-label-root"
2495
1449
  >
2496
1450
  <label
2497
- className="c3"
1451
+ className="charcoal-field-label"
2498
1452
  >
2499
1453
  Label
2500
1454
  </label>
2501
1455
  <div
2502
- className="c4 c5"
1456
+ className="charcoal-field-label-sub-label"
2503
1457
  >
2504
1458
  <span />
2505
1459
  </div>
@@ -2544,17 +1498,17 @@ exports[`Storybook Tests DropdownSelector Label 1`] = `
2544
1498
  </select>
2545
1499
  </div>
2546
1500
  <button
2547
- className="c6"
1501
+ className="c1"
2548
1502
  onClick={[Function]}
2549
1503
  type="button"
2550
1504
  >
2551
1505
  <span
2552
- className="c7"
1506
+ className="c2"
2553
1507
  >
2554
1508
  Option 1
2555
1509
  </span>
2556
1510
  <pixiv-icon
2557
- class="c8"
1511
+ class="c3"
2558
1512
  name="16/Menu"
2559
1513
  />
2560
1514
  </button>
@@ -2563,9 +1517,11 @@ exports[`Storybook Tests DropdownSelector Label 1`] = `
2563
1517
  </div>
2564
1518
  `;
2565
1519
 
2566
- exports[`Storybook Tests DropdownSelector LongNames 1`] = `
1520
+ exports[`Storybook Tests react/DropdownSelector LongNames 1`] = `
2567
1521
  .c0 {
2568
- display: inline-block;
1522
+ display: grid;
1523
+ grid-template-columns: 1fr;
1524
+ grid-gap: 4px;
2569
1525
  width: 100%;
2570
1526
  }
2571
1527
 
@@ -2576,10 +1532,8 @@ exports[`Storybook Tests DropdownSelector LongNames 1`] = `
2576
1532
  }
2577
1533
 
2578
1534
  .c1 {
2579
- display: -webkit-box;
2580
- display: -webkit-flex;
2581
- display: -ms-flexbox;
2582
- display: flex;
1535
+ display: grid;
1536
+ grid-template-columns: 1fr auto;
2583
1537
  -webkit-box-pack: justify;
2584
1538
  -webkit-justify-content: space-between;
2585
1539
  -ms-flex-pack: justify;
@@ -2720,120 +1674,11 @@ exports[`Storybook Tests DropdownSelector LongNames 1`] = `
2720
1674
  </div>
2721
1675
  `;
2722
1676
 
2723
- exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
2724
- .c3 {
2725
- font-size: 14px;
2726
- line-height: 22px;
2727
- font-weight: bold;
2728
- display: flow-root;
2729
- color: var(--charcoal-text1);
2730
- }
2731
-
2732
- .c3::before {
2733
- display: block;
2734
- width: 0;
2735
- height: 0;
2736
- content: '';
2737
- margin-top: -4px;
2738
- }
2739
-
2740
- .c3::after {
2741
- display: block;
2742
- width: 0;
2743
- height: 0;
2744
- content: '';
2745
- margin-bottom: -4px;
2746
- }
2747
-
2748
- .c5 {
2749
- font-size: 14px;
2750
- line-height: 22px;
2751
- display: flow-root;
2752
- color: var(--charcoal-text2);
2753
- }
2754
-
2755
- .c5::before {
2756
- display: block;
2757
- width: 0;
2758
- height: 0;
2759
- content: '';
2760
- margin-top: -4px;
2761
- }
2762
-
2763
- .c5::after {
2764
- display: block;
2765
- width: 0;
2766
- height: 0;
2767
- content: '';
2768
- margin-bottom: -4px;
2769
- }
2770
-
2771
- .c7 {
2772
- font-size: 14px;
2773
- line-height: 22px;
2774
- display: flow-root;
2775
- color: var(--charcoal-text3);
2776
- -webkit-transition: 0.2s color,0.2s box-shadow;
2777
- transition: 0.2s color,0.2s box-shadow;
2778
- }
2779
-
2780
- .c7::before {
2781
- display: block;
2782
- width: 0;
2783
- height: 0;
2784
- content: '';
2785
- margin-top: -4px;
2786
- }
2787
-
2788
- .c7::after {
2789
- display: block;
2790
- width: 0;
2791
- height: 0;
2792
- content: '';
2793
- margin-bottom: -4px;
2794
- }
2795
-
2796
- .c7:not(:disabled):not([aria-disabled]):hover,
2797
- .c7[aria-disabled='false']:hover {
2798
- color: var(--charcoal-text3-hover);
2799
- }
2800
-
2801
- .c7:not(:disabled):not([aria-disabled]):active,
2802
- .c7[aria-disabled='false']:active {
2803
- color: var(--charcoal-text3-press);
2804
- }
2805
-
2806
- .c7:not(:disabled):not([aria-disabled]):active,
2807
- .c7[aria-disabled='false']:active,
2808
- .c7:not(:disabled):not([aria-disabled]):focus,
2809
- .c7[aria-disabled='false']:focus,
2810
- .c7:not(:disabled):not([aria-disabled]):focus-visible,
2811
- .c7[aria-disabled='false']:focus-visible {
2812
- outline: none;
2813
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2814
- }
2815
-
2816
- .c1 {
2817
- display: -webkit-inline-box;
2818
- display: -webkit-inline-flex;
2819
- display: -ms-inline-flexbox;
2820
- display: inline-flex;
2821
- -webkit-align-items: center;
2822
- -webkit-box-align: center;
2823
- -ms-flex-align: center;
2824
- align-items: center;
2825
- }
2826
-
2827
- .c1 > .c4 {
2828
- margin-left: 4px;
2829
- }
2830
-
2831
- .c1 > .c6 {
2832
- margin-left: auto;
2833
- }
2834
-
1677
+ exports[`Storybook Tests react/DropdownSelector RequiredText 1`] = `
2835
1678
  .c0 {
2836
- display: inline-block;
1679
+ display: grid;
1680
+ grid-template-columns: 1fr;
1681
+ grid-gap: 4px;
2837
1682
  width: 100%;
2838
1683
  }
2839
1684
 
@@ -2843,16 +1688,9 @@ exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
2843
1688
  opacity: 0.32;
2844
1689
  }
2845
1690
 
2846
- .c2 {
2847
- width: 100%;
2848
- margin-bottom: 8px;
2849
- }
2850
-
2851
- .c8 {
2852
- display: -webkit-box;
2853
- display: -webkit-flex;
2854
- display: -ms-flexbox;
2855
- display: flex;
1691
+ .c1 {
1692
+ display: grid;
1693
+ grid-template-columns: 1fr auto;
2856
1694
  -webkit-box-pack: justify;
2857
1695
  -webkit-justify-content: space-between;
2858
1696
  -ms-flex-pack: justify;
@@ -2875,43 +1713,43 @@ exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
2875
1713
  transition: 0.2s box-shadow,0.2s background-color;
2876
1714
  }
2877
1715
 
2878
- .c8:disabled,
2879
- .c8[aria-disabled]:not([aria-disabled=false]) {
1716
+ .c1:disabled,
1717
+ .c1[aria-disabled]:not([aria-disabled=false]) {
2880
1718
  cursor: default;
2881
1719
  }
2882
1720
 
2883
- .c8:not(:disabled):not([aria-disabled]):focus,
2884
- .c8[aria-disabled='false']:focus {
1721
+ .c1:not(:disabled):not([aria-disabled]):focus,
1722
+ .c1[aria-disabled='false']:focus {
2885
1723
  outline: none;
2886
1724
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2887
1725
  }
2888
1726
 
2889
- .c8:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
2890
- .c8[aria-disabled='false']:focus:not(:focus-visible) {
1727
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
1728
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
2891
1729
  box-shadow: none;
2892
1730
  }
2893
1731
 
2894
- .c8:not(:disabled):not([aria-disabled]):focus-visible,
2895
- .c8[aria-disabled='false']:focus-visible {
1732
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
1733
+ .c1[aria-disabled='false']:focus-visible {
2896
1734
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
2897
1735
  }
2898
1736
 
2899
- .c8:not(:disabled):not([aria-disabled]):hover,
2900
- .c8[aria-disabled='false']:hover {
1737
+ .c1:not(:disabled):not([aria-disabled]):hover,
1738
+ .c1[aria-disabled='false']:hover {
2901
1739
  background-color: var(--charcoal-surface3-hover);
2902
1740
  }
2903
1741
 
2904
- .c8:not(:disabled):not([aria-disabled]):active,
2905
- .c8[aria-disabled='false']:active {
1742
+ .c1:not(:disabled):not([aria-disabled]):active,
1743
+ .c1[aria-disabled='false']:active {
2906
1744
  background-color: var(--charcoal-surface3-press);
2907
1745
  }
2908
1746
 
2909
- .c8:not(:disabled):not([aria-disabled]),
2910
- .c8[aria-disabled='false'] {
1747
+ .c1:not(:disabled):not([aria-disabled]),
1748
+ .c1[aria-disabled='false'] {
2911
1749
  box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
2912
1750
  }
2913
1751
 
2914
- .c9 {
1752
+ .c2 {
2915
1753
  text-align: left;
2916
1754
  font-size: 14px;
2917
1755
  line-height: 22px;
@@ -2922,7 +1760,7 @@ exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
2922
1760
  white-space: nowrap;
2923
1761
  }
2924
1762
 
2925
- .c10 {
1763
+ .c3 {
2926
1764
  color: var(--charcoal-text2);
2927
1765
  }
2928
1766
 
@@ -2940,20 +1778,20 @@ exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
2940
1778
  className="c0"
2941
1779
  >
2942
1780
  <div
2943
- className="c1 c2"
1781
+ className="charcoal-field-label-root"
2944
1782
  >
2945
1783
  <label
2946
- className="c3"
1784
+ className="charcoal-field-label"
2947
1785
  >
2948
1786
  Label
2949
1787
  </label>
2950
- <span
2951
- className="c4 c5"
1788
+ <div
1789
+ className="charcoal-field-label-required-text"
2952
1790
  >
2953
1791
  required
2954
- </span>
1792
+ </div>
2955
1793
  <div
2956
- className="c6 c7"
1794
+ className="charcoal-field-label-sub-label"
2957
1795
  >
2958
1796
  <span />
2959
1797
  </div>
@@ -2998,17 +1836,17 @@ exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
2998
1836
  </select>
2999
1837
  </div>
3000
1838
  <button
3001
- className="c8"
1839
+ className="c1"
3002
1840
  onClick={[Function]}
3003
1841
  type="button"
3004
1842
  >
3005
1843
  <span
3006
- className="c9"
1844
+ className="c2"
3007
1845
  >
3008
1846
  Option 1
3009
1847
  </span>
3010
1848
  <pixiv-icon
3011
- class="c10"
1849
+ class="c3"
3012
1850
  name="16/Menu"
3013
1851
  />
3014
1852
  </button>
@@ -3017,9 +1855,11 @@ exports[`Storybook Tests DropdownSelector RequiredText 1`] = `
3017
1855
  </div>
3018
1856
  `;
3019
1857
 
3020
- exports[`Storybook Tests DropdownSelector Section 1`] = `
1858
+ exports[`Storybook Tests react/DropdownSelector Section 1`] = `
3021
1859
  .c0 {
3022
- display: inline-block;
1860
+ display: grid;
1861
+ grid-template-columns: 1fr;
1862
+ grid-gap: 4px;
3023
1863
  width: 100%;
3024
1864
  }
3025
1865
 
@@ -3030,10 +1870,8 @@ exports[`Storybook Tests DropdownSelector Section 1`] = `
3030
1870
  }
3031
1871
 
3032
1872
  .c1 {
3033
- display: -webkit-box;
3034
- display: -webkit-flex;
3035
- display: -ms-flexbox;
3036
- display: flex;
1873
+ display: grid;
1874
+ grid-template-columns: 1fr auto;
3037
1875
  -webkit-box-pack: justify;
3038
1876
  -webkit-justify-content: space-between;
3039
1877
  -ms-flex-pack: justify;
@@ -3189,93 +2027,11 @@ exports[`Storybook Tests DropdownSelector Section 1`] = `
3189
2027
  </div>
3190
2028
  `;
3191
2029
 
3192
- exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
3193
- .c3 {
3194
- font-size: 14px;
3195
- line-height: 22px;
3196
- font-weight: bold;
3197
- display: flow-root;
3198
- color: var(--charcoal-text1);
3199
- }
3200
-
3201
- .c3::before {
3202
- display: block;
3203
- width: 0;
3204
- height: 0;
3205
- content: '';
3206
- margin-top: -4px;
3207
- }
3208
-
3209
- .c3::after {
3210
- display: block;
3211
- width: 0;
3212
- height: 0;
3213
- content: '';
3214
- margin-bottom: -4px;
3215
- }
3216
-
3217
- .c5 {
3218
- font-size: 14px;
3219
- line-height: 22px;
3220
- display: flow-root;
3221
- color: var(--charcoal-text3);
3222
- -webkit-transition: 0.2s color,0.2s box-shadow;
3223
- transition: 0.2s color,0.2s box-shadow;
3224
- }
3225
-
3226
- .c5::before {
3227
- display: block;
3228
- width: 0;
3229
- height: 0;
3230
- content: '';
3231
- margin-top: -4px;
3232
- }
3233
-
3234
- .c5::after {
3235
- display: block;
3236
- width: 0;
3237
- height: 0;
3238
- content: '';
3239
- margin-bottom: -4px;
3240
- }
3241
-
3242
- .c5:not(:disabled):not([aria-disabled]):hover,
3243
- .c5[aria-disabled='false']:hover {
3244
- color: var(--charcoal-text3-hover);
3245
- }
3246
-
3247
- .c5:not(:disabled):not([aria-disabled]):active,
3248
- .c5[aria-disabled='false']:active {
3249
- color: var(--charcoal-text3-press);
3250
- }
3251
-
3252
- .c5:not(:disabled):not([aria-disabled]):active,
3253
- .c5[aria-disabled='false']:active,
3254
- .c5:not(:disabled):not([aria-disabled]):focus,
3255
- .c5[aria-disabled='false']:focus,
3256
- .c5:not(:disabled):not([aria-disabled]):focus-visible,
3257
- .c5[aria-disabled='false']:focus-visible {
3258
- outline: none;
3259
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
3260
- }
3261
-
3262
- .c1 {
3263
- display: -webkit-inline-box;
3264
- display: -webkit-inline-flex;
3265
- display: -ms-inline-flexbox;
3266
- display: inline-flex;
3267
- -webkit-align-items: center;
3268
- -webkit-box-align: center;
3269
- -ms-flex-align: center;
3270
- align-items: center;
3271
- }
3272
-
3273
- .c1 > .c4 {
3274
- margin-left: auto;
3275
- }
3276
-
2030
+ exports[`Storybook Tests react/DropdownSelector SubLabel 1`] = `
3277
2031
  .c0 {
3278
- display: inline-block;
2032
+ display: grid;
2033
+ grid-template-columns: 1fr;
2034
+ grid-gap: 4px;
3279
2035
  width: 100%;
3280
2036
  }
3281
2037
 
@@ -3285,16 +2041,9 @@ exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
3285
2041
  opacity: 0.32;
3286
2042
  }
3287
2043
 
3288
- .c2 {
3289
- width: 100%;
3290
- margin-bottom: 8px;
3291
- }
3292
-
3293
- .c6 {
3294
- display: -webkit-box;
3295
- display: -webkit-flex;
3296
- display: -ms-flexbox;
3297
- display: flex;
2044
+ .c1 {
2045
+ display: grid;
2046
+ grid-template-columns: 1fr auto;
3298
2047
  -webkit-box-pack: justify;
3299
2048
  -webkit-justify-content: space-between;
3300
2049
  -ms-flex-pack: justify;
@@ -3317,43 +2066,43 @@ exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
3317
2066
  transition: 0.2s box-shadow,0.2s background-color;
3318
2067
  }
3319
2068
 
3320
- .c6:disabled,
3321
- .c6[aria-disabled]:not([aria-disabled=false]) {
2069
+ .c1:disabled,
2070
+ .c1[aria-disabled]:not([aria-disabled=false]) {
3322
2071
  cursor: default;
3323
2072
  }
3324
2073
 
3325
- .c6:not(:disabled):not([aria-disabled]):focus,
3326
- .c6[aria-disabled='false']:focus {
2074
+ .c1:not(:disabled):not([aria-disabled]):focus,
2075
+ .c1[aria-disabled='false']:focus {
3327
2076
  outline: none;
3328
2077
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
3329
2078
  }
3330
2079
 
3331
- .c6:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
3332
- .c6[aria-disabled='false']:focus:not(:focus-visible) {
2080
+ .c1:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
2081
+ .c1[aria-disabled='false']:focus:not(:focus-visible) {
3333
2082
  box-shadow: none;
3334
2083
  }
3335
2084
 
3336
- .c6:not(:disabled):not([aria-disabled]):focus-visible,
3337
- .c6[aria-disabled='false']:focus-visible {
2085
+ .c1:not(:disabled):not([aria-disabled]):focus-visible,
2086
+ .c1[aria-disabled='false']:focus-visible {
3338
2087
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
3339
2088
  }
3340
2089
 
3341
- .c6:not(:disabled):not([aria-disabled]):hover,
3342
- .c6[aria-disabled='false']:hover {
2090
+ .c1:not(:disabled):not([aria-disabled]):hover,
2091
+ .c1[aria-disabled='false']:hover {
3343
2092
  background-color: var(--charcoal-surface3-hover);
3344
2093
  }
3345
2094
 
3346
- .c6:not(:disabled):not([aria-disabled]):active,
3347
- .c6[aria-disabled='false']:active {
2095
+ .c1:not(:disabled):not([aria-disabled]):active,
2096
+ .c1[aria-disabled='false']:active {
3348
2097
  background-color: var(--charcoal-surface3-press);
3349
2098
  }
3350
2099
 
3351
- .c6:not(:disabled):not([aria-disabled]),
3352
- .c6[aria-disabled='false'] {
2100
+ .c1:not(:disabled):not([aria-disabled]),
2101
+ .c1[aria-disabled='false'] {
3353
2102
  box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
3354
2103
  }
3355
2104
 
3356
- .c7 {
2105
+ .c2 {
3357
2106
  text-align: left;
3358
2107
  font-size: 14px;
3359
2108
  line-height: 22px;
@@ -3364,7 +2113,7 @@ exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
3364
2113
  white-space: nowrap;
3365
2114
  }
3366
2115
 
3367
- .c8 {
2116
+ .c3 {
3368
2117
  color: var(--charcoal-text2);
3369
2118
  }
3370
2119
 
@@ -3382,15 +2131,15 @@ exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
3382
2131
  className="c0"
3383
2132
  >
3384
2133
  <div
3385
- className="c1 c2"
2134
+ className="charcoal-field-label-root"
3386
2135
  >
3387
2136
  <label
3388
- className="c3"
2137
+ className="charcoal-field-label"
3389
2138
  >
3390
2139
  Label
3391
2140
  </label>
3392
2141
  <div
3393
- className="c4 c5"
2142
+ className="charcoal-field-label-sub-label"
3394
2143
  >
3395
2144
  <span>
3396
2145
  SubLabel
@@ -3437,17 +2186,17 @@ exports[`Storybook Tests DropdownSelector SubLabel 1`] = `
3437
2186
  </select>
3438
2187
  </div>
3439
2188
  <button
3440
- className="c6"
2189
+ className="c1"
3441
2190
  onClick={[Function]}
3442
2191
  type="button"
3443
2192
  >
3444
2193
  <span
3445
- className="c7"
2194
+ className="c2"
3446
2195
  >
3447
2196
  Option 1
3448
2197
  </span>
3449
2198
  <pixiv-icon
3450
- class="c8"
2199
+ class="c3"
3451
2200
  name="16/Menu"
3452
2201
  />
3453
2202
  </button>