@charcoal-ui/react 4.0.0-beta.3 → 4.0.0-beta.5

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 (176) hide show
  1. package/dist/_lib/useClassNames.d.ts +2 -2
  2. package/dist/_lib/useClassNames.d.ts.map +1 -1
  3. package/dist/components/Checkbox/CheckboxInput/index.d.ts +11 -0
  4. package/dist/components/Checkbox/CheckboxInput/index.d.ts.map +1 -0
  5. package/dist/components/Checkbox/CheckboxWithLabel.d.ts +9 -0
  6. package/dist/components/Checkbox/CheckboxWithLabel.d.ts.map +1 -0
  7. package/dist/components/Checkbox/index.d.ts +12 -21
  8. package/dist/components/Checkbox/index.d.ts.map +1 -1
  9. package/dist/components/Clickable/index.d.ts +10 -13
  10. package/dist/components/Clickable/index.d.ts.map +1 -1
  11. package/dist/components/DropdownSelector/Popover/index.d.ts +1 -2
  12. package/dist/components/DropdownSelector/Popover/index.d.ts.map +1 -1
  13. package/dist/components/DropdownSelector/index.d.ts.map +1 -1
  14. package/dist/components/FieldLabel/index.d.ts +1 -0
  15. package/dist/components/FieldLabel/index.d.ts.map +1 -1
  16. package/dist/components/IconButton/index.d.ts +7 -5
  17. package/dist/components/IconButton/index.d.ts.map +1 -1
  18. package/dist/components/LoadingSpinner/index.d.ts +1 -0
  19. package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
  20. package/dist/components/Modal/Dialog/index.d.ts +6 -24
  21. package/dist/components/Modal/Dialog/index.d.ts.map +1 -1
  22. package/dist/components/Modal/ModalPlumbing.d.ts +10 -3
  23. package/dist/components/Modal/ModalPlumbing.d.ts.map +1 -1
  24. package/dist/components/Modal/index.d.ts +2 -2
  25. package/dist/components/Modal/index.d.ts.map +1 -1
  26. package/dist/components/Modal/useCustomModalOverlay.d.ts.map +1 -1
  27. package/dist/components/Radio/index.d.ts +6 -8
  28. package/dist/components/Radio/index.d.ts.map +1 -1
  29. package/dist/components/SegmentedControl/index.d.ts +1 -0
  30. package/dist/components/SegmentedControl/index.d.ts.map +1 -1
  31. package/dist/components/Switch/SwitchInput/index.d.ts +9 -0
  32. package/dist/components/Switch/SwitchInput/index.d.ts.map +1 -0
  33. package/dist/components/Switch/SwitchWithLabel.d.ts +9 -0
  34. package/dist/components/Switch/SwitchWithLabel.d.ts.map +1 -0
  35. package/dist/components/Switch/index.d.ts +4 -15
  36. package/dist/components/Switch/index.d.ts.map +1 -1
  37. package/dist/components/TagItem/index.d.ts +14 -15
  38. package/dist/components/TagItem/index.d.ts.map +1 -1
  39. package/dist/components/TextArea/index.d.ts +28 -18
  40. package/dist/components/TextArea/index.d.ts.map +1 -1
  41. package/dist/components/TextField/index.d.ts +32 -19
  42. package/dist/components/TextField/index.d.ts.map +1 -1
  43. package/dist/core/CharcoalProvider.d.ts +1 -1
  44. package/dist/core/CharcoalProvider.d.ts.map +1 -1
  45. package/dist/index.cjs.js +456 -1079
  46. package/dist/index.cjs.js.map +1 -1
  47. package/dist/index.css +790 -0
  48. package/dist/index.css.map +1 -1
  49. package/dist/index.d.ts +1 -2
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.esm.js +454 -1075
  52. package/dist/index.esm.js.map +1 -1
  53. package/dist/styled.d.ts +4 -4
  54. package/package.json +17 -19
  55. package/src/_lib/useClassNames.ts +3 -9
  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/Checkbox/CheckboxInput/index.story.tsx +51 -0
  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 +103 -538
  62. package/src/components/Checkbox/index.css +21 -0
  63. package/src/components/Checkbox/index.story.tsx +48 -78
  64. package/src/components/Checkbox/index.tsx +32 -162
  65. package/src/components/Clickable/__snapshots__/index.story.storyshot +2 -78
  66. package/src/components/Clickable/index.css +41 -0
  67. package/src/components/Clickable/index.story.tsx +1 -1
  68. package/src/components/Clickable/index.tsx +25 -85
  69. package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +10 -135
  70. package/src/components/DropdownSelector/Popover/index.tsx +1 -2
  71. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +308 -1014
  72. package/src/components/DropdownSelector/index.tsx +9 -38
  73. package/src/components/FieldLabel/index.css +35 -0
  74. package/src/components/FieldLabel/index.tsx +15 -105
  75. package/src/components/IconButton/__snapshots__/index.story.storyshot +18 -296
  76. package/src/components/IconButton/index.css +118 -0
  77. package/src/components/IconButton/index.story.tsx +16 -39
  78. package/src/components/IconButton/index.tsx +41 -118
  79. package/src/components/LoadingSpinner/__snapshots__/LoadingSpinnerIcon.story.storyshot +2 -17
  80. package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +79 -29
  81. package/src/components/LoadingSpinner/index.css +42 -0
  82. package/src/components/LoadingSpinner/index.story.tsx +18 -7
  83. package/src/components/LoadingSpinner/index.tsx +26 -52
  84. package/src/components/Modal/Dialog/index.css +44 -0
  85. package/src/components/Modal/Dialog/index.tsx +13 -57
  86. package/src/components/Modal/ModalPlumbing.css +40 -0
  87. package/src/components/Modal/ModalPlumbing.tsx +22 -61
  88. package/src/components/Modal/__snapshots__/index.story.storyshot +459 -1881
  89. package/src/components/Modal/index.css +36 -0
  90. package/src/components/Modal/index.tsx +27 -74
  91. package/src/components/Modal/useCustomModalOverlay.tsx +5 -4
  92. package/src/components/Radio/__snapshots__/index.story.storyshot +51 -776
  93. package/src/components/Radio/index.css +97 -0
  94. package/src/components/Radio/index.story.tsx +20 -30
  95. package/src/components/Radio/index.test.tsx +0 -1
  96. package/src/components/Radio/index.tsx +60 -170
  97. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +30 -260
  98. package/src/components/SegmentedControl/index.css +50 -0
  99. package/src/components/SegmentedControl/index.tsx +20 -89
  100. package/src/components/Switch/SwitchInput/index.css +82 -0
  101. package/src/components/Switch/SwitchInput/index.tsx +40 -0
  102. package/src/components/Switch/SwitchWithLabel.tsx +24 -0
  103. package/src/components/Switch/__snapshots__/index.story.storyshot +34 -538
  104. package/src/components/Switch/index.css +23 -0
  105. package/src/components/Switch/index.story.tsx +15 -18
  106. package/src/components/Switch/index.tsx +43 -140
  107. package/src/components/TagItem/__snapshots__/index.story.storyshot +212 -1063
  108. package/src/components/TagItem/index.css +140 -0
  109. package/src/components/TagItem/index.story.tsx +44 -161
  110. package/src/components/TagItem/index.tsx +76 -220
  111. package/src/components/TextArea/TextArea.story.tsx +62 -24
  112. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +1024 -792
  113. package/src/components/TextArea/index.tsx +68 -89
  114. package/src/components/TextField/TextField.story.tsx +77 -67
  115. package/src/components/TextField/__snapshots__/TextField.story.storyshot +1152 -1274
  116. package/src/components/TextField/index.tsx +77 -103
  117. package/src/components/a11y.test.tsx +1 -1
  118. package/src/core/CharcoalProvider.tsx +1 -1
  119. package/src/index.ts +0 -7
  120. package/src/type.d.ts +6 -0
  121. package/dist/components/Button/index.story.d.ts +0 -22
  122. package/dist/components/Button/index.story.d.ts.map +0 -1
  123. package/dist/components/Button/index.test.d.ts +0 -2
  124. package/dist/components/Button/index.test.d.ts.map +0 -1
  125. package/dist/components/Checkbox/index.story.d.ts +0 -8
  126. package/dist/components/Checkbox/index.story.d.ts.map +0 -1
  127. package/dist/components/Clickable/index.story.d.ts +0 -6
  128. package/dist/components/Clickable/index.story.d.ts.map +0 -1
  129. package/dist/components/DropdownSelector/ListItem/index.story.d.ts +0 -9
  130. package/dist/components/DropdownSelector/ListItem/index.story.d.ts.map +0 -1
  131. package/dist/components/DropdownSelector/MenuList/index.story.d.ts +0 -8
  132. package/dist/components/DropdownSelector/MenuList/index.story.d.ts.map +0 -1
  133. package/dist/components/DropdownSelector/Popover/index.story.d.ts +0 -5
  134. package/dist/components/DropdownSelector/Popover/index.story.d.ts.map +0 -1
  135. package/dist/components/DropdownSelector/index.story.d.ts +0 -19
  136. package/dist/components/DropdownSelector/index.story.d.ts.map +0 -1
  137. package/dist/components/Icon/index.story.d.ts +0 -6
  138. package/dist/components/Icon/index.story.d.ts.map +0 -1
  139. package/dist/components/IconButton/index.story.d.ts +0 -9
  140. package/dist/components/IconButton/index.story.d.ts.map +0 -1
  141. package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts +0 -8
  142. package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts.map +0 -1
  143. package/dist/components/LoadingSpinner/index.story.d.ts +0 -6
  144. package/dist/components/LoadingSpinner/index.story.d.ts.map +0 -1
  145. package/dist/components/Modal/index.story.d.ts +0 -21
  146. package/dist/components/Modal/index.story.d.ts.map +0 -1
  147. package/dist/components/MultiSelect/context.d.ts +0 -14
  148. package/dist/components/MultiSelect/context.d.ts.map +0 -1
  149. package/dist/components/MultiSelect/index.d.ts +0 -36
  150. package/dist/components/MultiSelect/index.d.ts.map +0 -1
  151. package/dist/components/MultiSelect/index.story.d.ts +0 -82
  152. package/dist/components/MultiSelect/index.story.d.ts.map +0 -1
  153. package/dist/components/MultiSelect/index.test.d.ts +0 -2
  154. package/dist/components/MultiSelect/index.test.d.ts.map +0 -1
  155. package/dist/components/Radio/index.story.d.ts +0 -26
  156. package/dist/components/Radio/index.story.d.ts.map +0 -1
  157. package/dist/components/Radio/index.test.d.ts +0 -2
  158. package/dist/components/Radio/index.test.d.ts.map +0 -1
  159. package/dist/components/SegmentedControl/index.story.d.ts +0 -7
  160. package/dist/components/SegmentedControl/index.story.d.ts.map +0 -1
  161. package/dist/components/Switch/index.story.d.ts +0 -9
  162. package/dist/components/Switch/index.story.d.ts.map +0 -1
  163. package/dist/components/TagItem/index.story.d.ts +0 -16
  164. package/dist/components/TagItem/index.story.d.ts.map +0 -1
  165. package/dist/components/TextArea/TextArea.story.d.ts +0 -9
  166. package/dist/components/TextArea/TextArea.story.d.ts.map +0 -1
  167. package/dist/components/TextField/TextField.story.d.ts +0 -22
  168. package/dist/components/TextField/TextField.story.d.ts.map +0 -1
  169. package/dist/components/a11y.test.d.ts +0 -2
  170. package/dist/components/a11y.test.d.ts.map +0 -1
  171. package/src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx +0 -13
  172. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +0 -1066
  173. package/src/components/MultiSelect/context.ts +0 -23
  174. package/src/components/MultiSelect/index.story.tsx +0 -216
  175. package/src/components/MultiSelect/index.test.tsx +0 -263
  176. package/src/components/MultiSelect/index.tsx +0 -281
@@ -1,143 +1,882 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
+ exports[`Storybook Tests TextArea AssistiveText 1`] = `
4
+ .c3 {
5
+ font-size: 14px;
6
+ line-height: 22px;
7
+ margin: 0;
8
+ color: var(--charcoal-text2);
9
+ }
10
+
11
+ .c0 {
12
+ display: grid;
13
+ grid-template-columns: 1fr;
14
+ grid-gap: 4px;
15
+ }
16
+
17
+ .c1 {
18
+ position: relative;
19
+ overflow: hidden;
20
+ color: var(--charcoal-text2);
21
+ background-color: var(--charcoal-surface3);
22
+ border-radius: 4px;
23
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
24
+ transition: 0.2s background-color,0.2s box-shadow;
25
+ height: calc(22px * 4 + 18px);
26
+ }
27
+
28
+ .c1:not([aria-disabled]):hover,
29
+ .c1 [aria-disabled='false']:hover {
30
+ background-color: var(--charcoal-surface3-hover);
31
+ }
32
+
33
+ .c1:focus-within {
34
+ outline: none;
35
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
36
+ }
37
+
38
+ .c2 {
39
+ border: none;
40
+ outline: none;
41
+ resize: none;
42
+ font-family: inherit;
43
+ color: inherit;
44
+ box-sizing: border-box;
45
+ -webkit-transform-origin: top left;
46
+ -ms-transform-origin: top left;
47
+ transform-origin: top left;
48
+ -webkit-transform: scale(0.875);
49
+ -ms-transform: scale(0.875);
50
+ transform: scale(0.875);
51
+ width: calc(100% / 0.875);
52
+ font-size: calc(14px / 0.875);
53
+ line-height: calc(22px / 0.875);
54
+ padding: calc(9px / 0.875) calc(8px / 0.875);
55
+ height: calc(22px / 0.875 * 4 + 20px);
56
+ -webkit-appearance: none;
57
+ -moz-appearance: none;
58
+ appearance: none;
59
+ background: none;
60
+ }
61
+
62
+ .c2::-webkit-input-placeholder {
63
+ color: var(--charcoal-text3);
64
+ }
65
+
66
+ .c2::-moz-placeholder {
67
+ color: var(--charcoal-text3);
68
+ }
69
+
70
+ .c2:-ms-input-placeholder {
71
+ color: var(--charcoal-text3);
72
+ }
73
+
74
+ .c2::placeholder {
75
+ color: var(--charcoal-text3);
76
+ }
77
+
78
+ <div
79
+ data-dark={false}
80
+ >
81
+ <div
82
+ className="c0"
83
+ >
84
+ <div
85
+ className="charcoal-field-label-root"
86
+ style={
87
+ Object {
88
+ "border": 0,
89
+ "clip": "rect(0 0 0 0)",
90
+ "clipPath": "inset(50%)",
91
+ "height": "1px",
92
+ "margin": "-1px",
93
+ "overflow": "hidden",
94
+ "padding": 0,
95
+ "position": "absolute",
96
+ "whiteSpace": "nowrap",
97
+ "width": "1px",
98
+ }
99
+ }
100
+ >
101
+ <label
102
+ className="charcoal-field-label"
103
+ htmlFor="test-id"
104
+ id="test-id"
105
+ >
106
+ Label
107
+ </label>
108
+ <div
109
+ className="charcoal-field-label-sub-label"
110
+ >
111
+ <span />
112
+ </div>
113
+ </div>
114
+ <div
115
+ className="c1"
116
+ rows={4}
117
+ >
118
+ <textarea
119
+ aria-describedby="test-id"
120
+ aria-labelledby="test-id"
121
+ className="c2"
122
+ id="test-id"
123
+ onChange={[Function]}
124
+ rows={4}
125
+ />
126
+ </div>
127
+ <p
128
+ className="c3"
129
+ id="test-id"
130
+ >
131
+ 説明が入ります
132
+ </p>
133
+ </div>
134
+ </div>
135
+ `;
136
+
3
137
  exports[`Storybook Tests TextArea AutoHeight 1`] = `
4
- .c7 {
5
- cursor: pointer;
138
+ .c0 {
139
+ display: grid;
140
+ grid-template-columns: 1fr;
141
+ grid-gap: 4px;
142
+ }
143
+
144
+ .c1 {
145
+ position: relative;
146
+ overflow: hidden;
147
+ color: var(--charcoal-text2);
148
+ background-color: var(--charcoal-surface3);
149
+ border-radius: 4px;
150
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
151
+ transition: 0.2s background-color,0.2s box-shadow;
152
+ height: calc(22px * 4 + 18px);
153
+ }
154
+
155
+ .c1:not([aria-disabled]):hover,
156
+ .c1 [aria-disabled='false']:hover {
157
+ background-color: var(--charcoal-surface3-hover);
158
+ }
159
+
160
+ .c1:focus-within {
161
+ outline: none;
162
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
163
+ }
164
+
165
+ .c2 {
166
+ border: none;
167
+ outline: none;
168
+ resize: none;
169
+ font-family: inherit;
170
+ color: inherit;
171
+ box-sizing: border-box;
172
+ -webkit-transform-origin: top left;
173
+ -ms-transform-origin: top left;
174
+ transform-origin: top left;
175
+ -webkit-transform: scale(0.875);
176
+ -ms-transform: scale(0.875);
177
+ transform: scale(0.875);
178
+ width: calc(100% / 0.875);
179
+ font-size: calc(14px / 0.875);
180
+ line-height: calc(22px / 0.875);
181
+ padding: calc(9px / 0.875) calc(8px / 0.875);
182
+ height: calc(22px / 0.875 * 4 + 20px);
183
+ -webkit-appearance: none;
184
+ -moz-appearance: none;
185
+ appearance: none;
186
+ background: none;
187
+ }
188
+
189
+ .c2::-webkit-input-placeholder {
190
+ color: var(--charcoal-text3);
191
+ }
192
+
193
+ .c2::-moz-placeholder {
194
+ color: var(--charcoal-text3);
195
+ }
196
+
197
+ .c2:-ms-input-placeholder {
198
+ color: var(--charcoal-text3);
199
+ }
200
+
201
+ .c2::placeholder {
202
+ color: var(--charcoal-text3);
203
+ }
204
+
205
+ <div
206
+ data-dark={false}
207
+ >
208
+ <div
209
+ className="c0"
210
+ >
211
+ <div
212
+ className="charcoal-field-label-root"
213
+ style={
214
+ Object {
215
+ "border": 0,
216
+ "clip": "rect(0 0 0 0)",
217
+ "clipPath": "inset(50%)",
218
+ "height": "1px",
219
+ "margin": "-1px",
220
+ "overflow": "hidden",
221
+ "padding": 0,
222
+ "position": "absolute",
223
+ "whiteSpace": "nowrap",
224
+ "width": "1px",
225
+ }
226
+ }
227
+ >
228
+ <label
229
+ className="charcoal-field-label"
230
+ htmlFor="test-id"
231
+ id="test-id"
232
+ >
233
+ Label
234
+ </label>
235
+ <div
236
+ className="charcoal-field-label-sub-label"
237
+ >
238
+ <span />
239
+ </div>
240
+ </div>
241
+ <div
242
+ className="c1"
243
+ rows={4}
244
+ >
245
+ <textarea
246
+ aria-labelledby="test-id"
247
+ className="c2"
248
+ id="test-id"
249
+ onChange={[Function]}
250
+ rows={4}
251
+ />
252
+ </div>
253
+ </div>
254
+ </div>
255
+ `;
256
+
257
+ exports[`Storybook Tests TextArea Default 1`] = `
258
+ .c0 {
259
+ display: grid;
260
+ grid-template-columns: 1fr;
261
+ grid-gap: 4px;
262
+ }
263
+
264
+ .c1 {
265
+ position: relative;
266
+ overflow: hidden;
267
+ color: var(--charcoal-text2);
268
+ background-color: var(--charcoal-surface3);
269
+ border-radius: 4px;
270
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
271
+ transition: 0.2s background-color,0.2s box-shadow;
272
+ height: calc(22px * 4 + 18px);
273
+ }
274
+
275
+ .c1:not([aria-disabled]):hover,
276
+ .c1 [aria-disabled='false']:hover {
277
+ background-color: var(--charcoal-surface3-hover);
278
+ }
279
+
280
+ .c1:focus-within {
281
+ outline: none;
282
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
283
+ }
284
+
285
+ .c2 {
286
+ border: none;
287
+ outline: none;
288
+ resize: none;
289
+ font-family: inherit;
290
+ color: inherit;
291
+ box-sizing: border-box;
292
+ -webkit-transform-origin: top left;
293
+ -ms-transform-origin: top left;
294
+ transform-origin: top left;
295
+ -webkit-transform: scale(0.875);
296
+ -ms-transform: scale(0.875);
297
+ transform: scale(0.875);
298
+ width: calc(100% / 0.875);
299
+ font-size: calc(14px / 0.875);
300
+ line-height: calc(22px / 0.875);
301
+ padding: calc(9px / 0.875) calc(8px / 0.875);
302
+ height: calc(22px / 0.875 * 4 + 20px);
303
+ -webkit-appearance: none;
304
+ -moz-appearance: none;
305
+ appearance: none;
306
+ background: none;
307
+ }
308
+
309
+ .c2::-webkit-input-placeholder {
310
+ color: var(--charcoal-text3);
311
+ }
312
+
313
+ .c2::-moz-placeholder {
314
+ color: var(--charcoal-text3);
315
+ }
316
+
317
+ .c2:-ms-input-placeholder {
318
+ color: var(--charcoal-text3);
319
+ }
320
+
321
+ .c2::placeholder {
322
+ color: var(--charcoal-text3);
323
+ }
324
+
325
+ <div
326
+ data-dark={false}
327
+ >
328
+ <div
329
+ className="c0"
330
+ >
331
+ <div
332
+ className="charcoal-field-label-root"
333
+ style={
334
+ Object {
335
+ "border": 0,
336
+ "clip": "rect(0 0 0 0)",
337
+ "clipPath": "inset(50%)",
338
+ "height": "1px",
339
+ "margin": "-1px",
340
+ "overflow": "hidden",
341
+ "padding": 0,
342
+ "position": "absolute",
343
+ "whiteSpace": "nowrap",
344
+ "width": "1px",
345
+ }
346
+ }
347
+ >
348
+ <label
349
+ className="charcoal-field-label"
350
+ htmlFor="test-id"
351
+ id="test-id"
352
+ >
353
+ Label
354
+ </label>
355
+ <div
356
+ className="charcoal-field-label-sub-label"
357
+ >
358
+ <span>
359
+ <button
360
+ className="charcoal-clickable"
361
+ onClick={[Function]}
362
+ >
363
+ Text Link
364
+ </button>
365
+ </span>
366
+ </div>
367
+ </div>
368
+ <div
369
+ className="c1"
370
+ rows={4}
371
+ >
372
+ <textarea
373
+ aria-invalid={false}
374
+ aria-labelledby="test-id"
375
+ className="c2"
376
+ id="test-id"
377
+ onChange={[Function]}
378
+ placeholder="Text Area"
379
+ readOnly={false}
380
+ rows={4}
381
+ />
382
+ </div>
383
+ </div>
384
+ </div>
385
+ `;
386
+
387
+ exports[`Storybook Tests TextArea Disabled 1`] = `
388
+ .c0 {
389
+ display: grid;
390
+ grid-template-columns: 1fr;
391
+ grid-gap: 4px;
392
+ opacity: 0.32;
393
+ }
394
+
395
+ .c1 {
396
+ position: relative;
397
+ overflow: hidden;
398
+ color: var(--charcoal-text2);
399
+ background-color: var(--charcoal-surface3);
400
+ border-radius: 4px;
401
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
402
+ transition: 0.2s background-color,0.2s box-shadow;
403
+ height: calc(22px * 4 + 18px);
404
+ }
405
+
406
+ .c1:not([aria-disabled]):hover,
407
+ .c1 [aria-disabled='false']:hover {
408
+ background-color: var(--charcoal-surface3-hover);
409
+ }
410
+
411
+ .c1:focus-within {
412
+ outline: none;
413
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
414
+ }
415
+
416
+ .c2 {
417
+ border: none;
418
+ outline: none;
419
+ resize: none;
420
+ font-family: inherit;
421
+ color: inherit;
422
+ box-sizing: border-box;
423
+ -webkit-transform-origin: top left;
424
+ -ms-transform-origin: top left;
425
+ transform-origin: top left;
426
+ -webkit-transform: scale(0.875);
427
+ -ms-transform: scale(0.875);
428
+ transform: scale(0.875);
429
+ width: calc(100% / 0.875);
430
+ font-size: calc(14px / 0.875);
431
+ line-height: calc(22px / 0.875);
432
+ padding: calc(9px / 0.875) calc(8px / 0.875);
433
+ height: calc(22px / 0.875 * 4 + 20px);
6
434
  -webkit-appearance: none;
7
435
  -moz-appearance: none;
8
436
  appearance: none;
9
- background: transparent;
10
- padding: 0;
11
- border-style: none;
12
- outline: none;
13
- color: inherit;
14
- text-rendering: inherit;
15
- -webkit-letter-spacing: inherit;
16
- -moz-letter-spacing: inherit;
17
- -ms-letter-spacing: inherit;
18
- letter-spacing: inherit;
19
- word-spacing: inherit;
20
- -webkit-text-decoration: none;
21
- text-decoration: none;
22
- font: inherit;
23
- margin: 0;
24
- overflow: visible;
25
- text-transform: none;
437
+ background: none;
26
438
  }
27
439
 
28
- .c7:disabled,
29
- .c7[aria-disabled]:not([aria-disabled=false]) {
30
- cursor: default;
440
+ .c2::-webkit-input-placeholder {
441
+ color: var(--charcoal-text3);
31
442
  }
32
443
 
33
- .c7:focus {
34
- outline: none;
444
+ .c2::-moz-placeholder {
445
+ color: var(--charcoal-text3);
446
+ }
447
+
448
+ .c2:-ms-input-placeholder {
449
+ color: var(--charcoal-text3);
35
450
  }
36
451
 
37
- .c7::-moz-focus-inner {
38
- border-style: none;
39
- padding: 0;
452
+ .c2::placeholder {
453
+ color: var(--charcoal-text3);
40
454
  }
41
455
 
42
- .c4 {
456
+ <div
457
+ data-dark={false}
458
+ >
459
+ <div
460
+ className="c0"
461
+ >
462
+ <div
463
+ className="charcoal-field-label-root"
464
+ style={
465
+ Object {
466
+ "border": 0,
467
+ "clip": "rect(0 0 0 0)",
468
+ "clipPath": "inset(50%)",
469
+ "height": "1px",
470
+ "margin": "-1px",
471
+ "overflow": "hidden",
472
+ "padding": 0,
473
+ "position": "absolute",
474
+ "whiteSpace": "nowrap",
475
+ "width": "1px",
476
+ }
477
+ }
478
+ >
479
+ <label
480
+ className="charcoal-field-label"
481
+ htmlFor="test-id"
482
+ id="test-id"
483
+ >
484
+ Label
485
+ </label>
486
+ <div
487
+ className="charcoal-field-label-sub-label"
488
+ >
489
+ <span />
490
+ </div>
491
+ </div>
492
+ <div
493
+ aria-disabled="true"
494
+ className="c1"
495
+ rows={4}
496
+ >
497
+ <textarea
498
+ aria-labelledby="test-id"
499
+ className="c2"
500
+ id="test-id"
501
+ onChange={[Function]}
502
+ rows={4}
503
+ />
504
+ </div>
505
+ </div>
506
+ </div>
507
+ `;
508
+
509
+ exports[`Storybook Tests TextArea Invalid 1`] = `
510
+ .c3 {
43
511
  font-size: 14px;
44
512
  line-height: 22px;
45
- font-weight: bold;
46
- display: flow-root;
47
- color: var(--charcoal-text1);
513
+ margin: 0;
514
+ color: var(--charcoal-assertive);
515
+ }
516
+
517
+ .c0 {
518
+ display: grid;
519
+ grid-template-columns: 1fr;
520
+ grid-gap: 4px;
521
+ }
522
+
523
+ .c1 {
524
+ position: relative;
525
+ overflow: hidden;
526
+ color: var(--charcoal-text2);
527
+ background-color: var(--charcoal-surface3);
528
+ border-radius: 4px;
529
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
530
+ transition: 0.2s background-color,0.2s box-shadow;
531
+ height: calc(22px * 4 + 18px);
532
+ box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
48
533
  }
49
534
 
50
- .c4::before {
51
- display: block;
52
- width: 0;
53
- height: 0;
54
- content: '';
55
- margin-top: -4px;
535
+ .c1:not([aria-disabled]):hover,
536
+ .c1 [aria-disabled='false']:hover {
537
+ background-color: var(--charcoal-surface3-hover);
56
538
  }
57
539
 
58
- .c4::after {
59
- display: block;
60
- width: 0;
61
- height: 0;
62
- content: '';
63
- margin-bottom: -4px;
540
+ .c1:focus-within {
541
+ outline: none;
542
+ box-shadow: 0 0 0 4px rgba(255,43,0,0.32);
64
543
  }
65
544
 
66
- .c6 {
67
- font-size: 14px;
68
- line-height: 22px;
69
- display: flow-root;
545
+ .c2 {
546
+ border: none;
547
+ outline: none;
548
+ resize: none;
549
+ font-family: inherit;
550
+ color: inherit;
551
+ box-sizing: border-box;
552
+ -webkit-transform-origin: top left;
553
+ -ms-transform-origin: top left;
554
+ transform-origin: top left;
555
+ -webkit-transform: scale(0.875);
556
+ -ms-transform: scale(0.875);
557
+ transform: scale(0.875);
558
+ width: calc(100% / 0.875);
559
+ font-size: calc(14px / 0.875);
560
+ line-height: calc(22px / 0.875);
561
+ padding: calc(9px / 0.875) calc(8px / 0.875);
562
+ height: calc(22px / 0.875 * 4 + 20px);
563
+ -webkit-appearance: none;
564
+ -moz-appearance: none;
565
+ appearance: none;
566
+ background: none;
567
+ }
568
+
569
+ .c2::-webkit-input-placeholder {
570
+ color: var(--charcoal-text3);
571
+ }
572
+
573
+ .c2::-moz-placeholder {
574
+ color: var(--charcoal-text3);
575
+ }
576
+
577
+ .c2:-ms-input-placeholder {
578
+ color: var(--charcoal-text3);
579
+ }
580
+
581
+ .c2::placeholder {
582
+ color: var(--charcoal-text3);
583
+ }
584
+
585
+ <div
586
+ data-dark={false}
587
+ >
588
+ <div
589
+ className="c0"
590
+ >
591
+ <div
592
+ className="charcoal-field-label-root"
593
+ style={
594
+ Object {
595
+ "border": 0,
596
+ "clip": "rect(0 0 0 0)",
597
+ "clipPath": "inset(50%)",
598
+ "height": "1px",
599
+ "margin": "-1px",
600
+ "overflow": "hidden",
601
+ "padding": 0,
602
+ "position": "absolute",
603
+ "whiteSpace": "nowrap",
604
+ "width": "1px",
605
+ }
606
+ }
607
+ >
608
+ <label
609
+ className="charcoal-field-label"
610
+ htmlFor="test-id"
611
+ id="test-id"
612
+ >
613
+ Label
614
+ </label>
615
+ <div
616
+ className="charcoal-field-label-sub-label"
617
+ >
618
+ <span />
619
+ </div>
620
+ </div>
621
+ <div
622
+ className="c1"
623
+ rows={4}
624
+ >
625
+ <textarea
626
+ aria-describedby="test-id"
627
+ aria-invalid={true}
628
+ aria-labelledby="test-id"
629
+ className="c2"
630
+ id="test-id"
631
+ onChange={[Function]}
632
+ rows={4}
633
+ />
634
+ </div>
635
+ <p
636
+ className="c3"
637
+ id="test-id"
638
+ >
639
+ エラーメッセージ
640
+ </p>
641
+ </div>
642
+ </div>
643
+ `;
644
+
645
+ exports[`Storybook Tests TextArea Label 1`] = `
646
+ .c0 {
647
+ display: grid;
648
+ grid-template-columns: 1fr;
649
+ grid-gap: 4px;
650
+ }
651
+
652
+ .c1 {
653
+ position: relative;
654
+ overflow: hidden;
655
+ color: var(--charcoal-text2);
656
+ background-color: var(--charcoal-surface3);
657
+ border-radius: 4px;
658
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
659
+ transition: 0.2s background-color,0.2s box-shadow;
660
+ height: calc(22px * 4 + 18px);
661
+ }
662
+
663
+ .c1:not([aria-disabled]):hover,
664
+ .c1 [aria-disabled='false']:hover {
665
+ background-color: var(--charcoal-surface3-hover);
666
+ }
667
+
668
+ .c1:focus-within {
669
+ outline: none;
670
+ box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
671
+ }
672
+
673
+ .c2 {
674
+ border: none;
675
+ outline: none;
676
+ resize: none;
677
+ font-family: inherit;
678
+ color: inherit;
679
+ box-sizing: border-box;
680
+ -webkit-transform-origin: top left;
681
+ -ms-transform-origin: top left;
682
+ transform-origin: top left;
683
+ -webkit-transform: scale(0.875);
684
+ -ms-transform: scale(0.875);
685
+ transform: scale(0.875);
686
+ width: calc(100% / 0.875);
687
+ font-size: calc(14px / 0.875);
688
+ line-height: calc(22px / 0.875);
689
+ padding: calc(9px / 0.875) calc(8px / 0.875);
690
+ height: calc(22px / 0.875 * 4 + 20px);
691
+ -webkit-appearance: none;
692
+ -moz-appearance: none;
693
+ appearance: none;
694
+ background: none;
695
+ }
696
+
697
+ .c2::-webkit-input-placeholder {
698
+ color: var(--charcoal-text3);
699
+ }
700
+
701
+ .c2::-moz-placeholder {
70
702
  color: var(--charcoal-text3);
71
- -webkit-transition: 0.2s color,0.2s box-shadow;
72
- transition: 0.2s color,0.2s box-shadow;
73
703
  }
74
704
 
75
- .c6::before {
76
- display: block;
77
- width: 0;
78
- height: 0;
79
- content: '';
80
- margin-top: -4px;
705
+ .c2:-ms-input-placeholder {
706
+ color: var(--charcoal-text3);
707
+ }
708
+
709
+ .c2::placeholder {
710
+ color: var(--charcoal-text3);
81
711
  }
82
712
 
83
- .c6::after {
84
- display: block;
85
- width: 0;
86
- height: 0;
87
- content: '';
88
- margin-bottom: -4px;
713
+ <div
714
+ data-dark={false}
715
+ >
716
+ <div
717
+ className="c0"
718
+ >
719
+ <div
720
+ className="charcoal-field-label-root"
721
+ >
722
+ <label
723
+ className="charcoal-field-label"
724
+ htmlFor="test-id"
725
+ id="test-id"
726
+ >
727
+ Label
728
+ </label>
729
+ <div
730
+ className="charcoal-field-label-sub-label"
731
+ >
732
+ <span />
733
+ </div>
734
+ </div>
735
+ <div
736
+ className="c1"
737
+ rows={4}
738
+ >
739
+ <textarea
740
+ aria-labelledby="test-id"
741
+ className="c2"
742
+ id="test-id"
743
+ onChange={[Function]}
744
+ rows={4}
745
+ />
746
+ </div>
747
+ </div>
748
+ </div>
749
+ `;
750
+
751
+ exports[`Storybook Tests TextArea Placeholder 1`] = `
752
+ .c0 {
753
+ display: grid;
754
+ grid-template-columns: 1fr;
755
+ grid-gap: 4px;
89
756
  }
90
757
 
91
- .c6:not(:disabled):not([aria-disabled]):hover,
92
- .c6[aria-disabled='false']:hover {
93
- color: var(--charcoal-text3-hover);
758
+ .c1 {
759
+ position: relative;
760
+ overflow: hidden;
761
+ color: var(--charcoal-text2);
762
+ background-color: var(--charcoal-surface3);
763
+ border-radius: 4px;
764
+ -webkit-transition: 0.2s background-color,0.2s box-shadow;
765
+ transition: 0.2s background-color,0.2s box-shadow;
766
+ height: calc(22px * 4 + 18px);
94
767
  }
95
768
 
96
- .c6:not(:disabled):not([aria-disabled]):active,
97
- .c6[aria-disabled='false']:active {
98
- color: var(--charcoal-text3-press);
769
+ .c1:not([aria-disabled]):hover,
770
+ .c1 [aria-disabled='false']:hover {
771
+ background-color: var(--charcoal-surface3-hover);
99
772
  }
100
773
 
101
- .c6:not(:disabled):not([aria-disabled]):active,
102
- .c6[aria-disabled='false']:active,
103
- .c6:not(:disabled):not([aria-disabled]):focus,
104
- .c6[aria-disabled='false']:focus,
105
- .c6:not(:disabled):not([aria-disabled]):focus-visible,
106
- .c6[aria-disabled='false']:focus-visible {
774
+ .c1:focus-within {
107
775
  outline: none;
108
776
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
109
777
  }
110
778
 
111
779
  .c2 {
112
- display: -webkit-inline-box;
113
- display: -webkit-inline-flex;
114
- display: -ms-inline-flexbox;
115
- display: inline-flex;
116
- -webkit-align-items: center;
117
- -webkit-box-align: center;
118
- -ms-flex-align: center;
119
- align-items: center;
780
+ border: none;
781
+ outline: none;
782
+ resize: none;
783
+ font-family: inherit;
784
+ color: inherit;
785
+ box-sizing: border-box;
786
+ -webkit-transform-origin: top left;
787
+ -ms-transform-origin: top left;
788
+ transform-origin: top left;
789
+ -webkit-transform: scale(0.875);
790
+ -ms-transform: scale(0.875);
791
+ transform: scale(0.875);
792
+ width: calc(100% / 0.875);
793
+ font-size: calc(14px / 0.875);
794
+ line-height: calc(22px / 0.875);
795
+ padding: calc(9px / 0.875) calc(8px / 0.875);
796
+ height: calc(22px / 0.875 * 4 + 20px);
797
+ -webkit-appearance: none;
798
+ -moz-appearance: none;
799
+ appearance: none;
800
+ background: none;
801
+ }
802
+
803
+ .c2::-webkit-input-placeholder {
804
+ color: var(--charcoal-text3);
805
+ }
806
+
807
+ .c2::-moz-placeholder {
808
+ color: var(--charcoal-text3);
809
+ }
810
+
811
+ .c2:-ms-input-placeholder {
812
+ color: var(--charcoal-text3);
120
813
  }
121
814
 
122
- .c2 > .c5 {
123
- margin-left: auto;
815
+ .c2::placeholder {
816
+ color: var(--charcoal-text3);
124
817
  }
125
818
 
126
- .c3 {
127
- margin-bottom: 8px;
819
+ <div
820
+ data-dark={false}
821
+ >
822
+ <div
823
+ className="c0"
824
+ >
825
+ <div
826
+ className="charcoal-field-label-root"
827
+ style={
828
+ Object {
829
+ "border": 0,
830
+ "clip": "rect(0 0 0 0)",
831
+ "clipPath": "inset(50%)",
832
+ "height": "1px",
833
+ "margin": "-1px",
834
+ "overflow": "hidden",
835
+ "padding": 0,
836
+ "position": "absolute",
837
+ "whiteSpace": "nowrap",
838
+ "width": "1px",
839
+ }
840
+ }
841
+ >
842
+ <label
843
+ className="charcoal-field-label"
844
+ htmlFor="test-id"
845
+ id="test-id"
846
+ >
847
+ Label
848
+ </label>
849
+ <div
850
+ className="charcoal-field-label-sub-label"
851
+ >
852
+ <span />
853
+ </div>
854
+ </div>
855
+ <div
856
+ className="c1"
857
+ rows={4}
858
+ >
859
+ <textarea
860
+ aria-labelledby="test-id"
861
+ className="c2"
862
+ id="test-id"
863
+ onChange={[Function]}
864
+ placeholder="Placeholder"
865
+ rows={4}
866
+ />
867
+ </div>
868
+ </div>
869
+ </div>
870
+ `;
871
+
872
+ exports[`Storybook Tests TextArea ReadOnly 1`] = `
873
+ .c0 {
874
+ display: grid;
875
+ grid-template-columns: 1fr;
876
+ grid-gap: 4px;
128
877
  }
129
878
 
130
879
  .c1 {
131
- display: -webkit-box;
132
- display: -webkit-flex;
133
- display: -ms-flexbox;
134
- display: flex;
135
- -webkit-flex-direction: column;
136
- -ms-flex-direction: column;
137
- flex-direction: column;
138
- }
139
-
140
- .c8 {
141
880
  position: relative;
142
881
  overflow: hidden;
143
882
  color: var(--charcoal-text2);
@@ -148,17 +887,17 @@ exports[`Storybook Tests TextArea AutoHeight 1`] = `
148
887
  height: calc(22px * 4 + 18px);
149
888
  }
150
889
 
151
- .c8:not([aria-disabled]):hover,
152
- .c8 [aria-disabled='false']:hover {
890
+ .c1:not([aria-disabled]):hover,
891
+ .c1 [aria-disabled='false']:hover {
153
892
  background-color: var(--charcoal-surface3-hover);
154
893
  }
155
894
 
156
- .c8:focus-within {
895
+ .c1:focus-within {
157
896
  outline: none;
158
897
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
159
898
  }
160
899
 
161
- .c9 {
900
+ .c2 {
162
901
  border: none;
163
902
  outline: none;
164
903
  resize: none;
@@ -182,27 +921,22 @@ exports[`Storybook Tests TextArea AutoHeight 1`] = `
182
921
  background: none;
183
922
  }
184
923
 
185
- .c9::-webkit-input-placeholder {
924
+ .c2::-webkit-input-placeholder {
186
925
  color: var(--charcoal-text3);
187
926
  }
188
927
 
189
- .c9::-moz-placeholder {
928
+ .c2::-moz-placeholder {
190
929
  color: var(--charcoal-text3);
191
930
  }
192
931
 
193
- .c9:-ms-input-placeholder {
932
+ .c2:-ms-input-placeholder {
194
933
  color: var(--charcoal-text3);
195
934
  }
196
935
 
197
- .c9::placeholder {
936
+ .c2::placeholder {
198
937
  color: var(--charcoal-text3);
199
938
  }
200
939
 
201
- .c0 {
202
- display: grid;
203
- gap: 24px;
204
- }
205
-
206
940
  <div
207
941
  data-dark={false}
208
942
  >
@@ -210,205 +944,61 @@ exports[`Storybook Tests TextArea AutoHeight 1`] = `
210
944
  className="c0"
211
945
  >
212
946
  <div
213
- className="c1"
214
- >
215
- <div
216
- className="c2 c3"
217
- style={
218
- Object {
219
- "border": 0,
220
- "clip": "rect(0 0 0 0)",
221
- "clipPath": "inset(50%)",
222
- "height": "1px",
223
- "margin": "-1px",
224
- "overflow": "hidden",
225
- "padding": 0,
226
- "position": "absolute",
227
- "whiteSpace": "nowrap",
228
- "width": "1px",
229
- }
947
+ className="charcoal-field-label-root"
948
+ style={
949
+ Object {
950
+ "border": 0,
951
+ "clip": "rect(0 0 0 0)",
952
+ "clipPath": "inset(50%)",
953
+ "height": "1px",
954
+ "margin": "-1px",
955
+ "overflow": "hidden",
956
+ "padding": 0,
957
+ "position": "absolute",
958
+ "whiteSpace": "nowrap",
959
+ "width": "1px",
230
960
  }
961
+ }
962
+ >
963
+ <label
964
+ className="charcoal-field-label"
965
+ htmlFor="test-id"
966
+ id="test-id"
231
967
  >
232
- <label
233
- className="c4"
234
- htmlFor="test-id"
235
- id="test-id"
236
- >
237
- Label
238
- </label>
239
- <div
240
- className="c5 c6"
241
- >
242
- <span>
243
- <button
244
- className="c7"
245
- onClick={[Function]}
246
- >
247
- Text Link
248
- </button>
249
- </span>
250
- </div>
251
- </div>
968
+ Label
969
+ </label>
252
970
  <div
253
- className="c8"
254
- rows={4}
971
+ className="charcoal-field-label-sub-label"
255
972
  >
256
- <textarea
257
- aria-labelledby="test-id"
258
- className="c9"
259
- disabled={false}
260
- id="test-id"
261
- onChange={[Function]}
262
- placeholder="Text Area"
263
- readOnly={false}
264
- required={false}
265
- rows={4}
266
- value=""
267
- />
973
+ <span />
268
974
  </div>
269
975
  </div>
976
+ <div
977
+ className="c1"
978
+ rows={4}
979
+ >
980
+ <textarea
981
+ aria-labelledby="test-id"
982
+ className="c2"
983
+ id="test-id"
984
+ onChange={[Function]}
985
+ readOnly={true}
986
+ rows={4}
987
+ value="読み取り専用"
988
+ />
989
+ </div>
270
990
  </div>
271
991
  </div>
272
992
  `;
273
993
 
274
- exports[`Storybook Tests TextArea Default 1`] = `
275
- .c7 {
276
- cursor: pointer;
277
- -webkit-appearance: none;
278
- -moz-appearance: none;
279
- appearance: none;
280
- background: transparent;
281
- padding: 0;
282
- border-style: none;
283
- outline: none;
284
- color: inherit;
285
- text-rendering: inherit;
286
- -webkit-letter-spacing: inherit;
287
- -moz-letter-spacing: inherit;
288
- -ms-letter-spacing: inherit;
289
- letter-spacing: inherit;
290
- word-spacing: inherit;
291
- -webkit-text-decoration: none;
292
- text-decoration: none;
293
- font: inherit;
294
- margin: 0;
295
- overflow: visible;
296
- text-transform: none;
297
- }
298
-
299
- .c7:disabled,
300
- .c7[aria-disabled]:not([aria-disabled=false]) {
301
- cursor: default;
302
- }
303
-
304
- .c7:focus {
305
- outline: none;
306
- }
307
-
308
- .c7::-moz-focus-inner {
309
- border-style: none;
310
- padding: 0;
311
- }
312
-
313
- .c4 {
314
- font-size: 14px;
315
- line-height: 22px;
316
- font-weight: bold;
317
- display: flow-root;
318
- color: var(--charcoal-text1);
319
- }
320
-
321
- .c4::before {
322
- display: block;
323
- width: 0;
324
- height: 0;
325
- content: '';
326
- margin-top: -4px;
327
- }
328
-
329
- .c4::after {
330
- display: block;
331
- width: 0;
332
- height: 0;
333
- content: '';
334
- margin-bottom: -4px;
335
- }
336
-
337
- .c6 {
338
- font-size: 14px;
339
- line-height: 22px;
340
- display: flow-root;
341
- color: var(--charcoal-text3);
342
- -webkit-transition: 0.2s color,0.2s box-shadow;
343
- transition: 0.2s color,0.2s box-shadow;
344
- }
345
-
346
- .c6::before {
347
- display: block;
348
- width: 0;
349
- height: 0;
350
- content: '';
351
- margin-top: -4px;
352
- }
353
-
354
- .c6::after {
355
- display: block;
356
- width: 0;
357
- height: 0;
358
- content: '';
359
- margin-bottom: -4px;
360
- }
361
-
362
- .c6:not(:disabled):not([aria-disabled]):hover,
363
- .c6[aria-disabled='false']:hover {
364
- color: var(--charcoal-text3-hover);
365
- }
366
-
367
- .c6:not(:disabled):not([aria-disabled]):active,
368
- .c6[aria-disabled='false']:active {
369
- color: var(--charcoal-text3-press);
370
- }
371
-
372
- .c6:not(:disabled):not([aria-disabled]):active,
373
- .c6[aria-disabled='false']:active,
374
- .c6:not(:disabled):not([aria-disabled]):focus,
375
- .c6[aria-disabled='false']:focus,
376
- .c6:not(:disabled):not([aria-disabled]):focus-visible,
377
- .c6[aria-disabled='false']:focus-visible {
378
- outline: none;
379
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
380
- }
381
-
382
- .c2 {
383
- display: -webkit-inline-box;
384
- display: -webkit-inline-flex;
385
- display: -ms-inline-flexbox;
386
- display: inline-flex;
387
- -webkit-align-items: center;
388
- -webkit-box-align: center;
389
- -ms-flex-align: center;
390
- align-items: center;
391
- }
392
-
393
- .c2 > .c5 {
394
- margin-left: auto;
395
- }
396
-
397
- .c3 {
398
- margin-bottom: 8px;
994
+ exports[`Storybook Tests TextArea Required 1`] = `
995
+ .c0 {
996
+ display: grid;
997
+ grid-template-columns: 1fr;
998
+ grid-gap: 4px;
399
999
  }
400
1000
 
401
1001
  .c1 {
402
- display: -webkit-box;
403
- display: -webkit-flex;
404
- display: -ms-flexbox;
405
- display: flex;
406
- -webkit-flex-direction: column;
407
- -ms-flex-direction: column;
408
- flex-direction: column;
409
- }
410
-
411
- .c8 {
412
1002
  position: relative;
413
1003
  overflow: hidden;
414
1004
  color: var(--charcoal-text2);
@@ -419,17 +1009,17 @@ exports[`Storybook Tests TextArea Default 1`] = `
419
1009
  height: calc(22px * 4 + 18px);
420
1010
  }
421
1011
 
422
- .c8:not([aria-disabled]):hover,
423
- .c8 [aria-disabled='false']:hover {
1012
+ .c1:not([aria-disabled]):hover,
1013
+ .c1 [aria-disabled='false']:hover {
424
1014
  background-color: var(--charcoal-surface3-hover);
425
1015
  }
426
1016
 
427
- .c8:focus-within {
1017
+ .c1:focus-within {
428
1018
  outline: none;
429
1019
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
430
1020
  }
431
1021
 
432
- .c9 {
1022
+ .c2 {
433
1023
  border: none;
434
1024
  outline: none;
435
1025
  resize: none;
@@ -453,27 +1043,22 @@ exports[`Storybook Tests TextArea Default 1`] = `
453
1043
  background: none;
454
1044
  }
455
1045
 
456
- .c9::-webkit-input-placeholder {
1046
+ .c2::-webkit-input-placeholder {
457
1047
  color: var(--charcoal-text3);
458
1048
  }
459
1049
 
460
- .c9::-moz-placeholder {
1050
+ .c2::-moz-placeholder {
461
1051
  color: var(--charcoal-text3);
462
1052
  }
463
1053
 
464
- .c9:-ms-input-placeholder {
1054
+ .c2:-ms-input-placeholder {
465
1055
  color: var(--charcoal-text3);
466
1056
  }
467
1057
 
468
- .c9::placeholder {
1058
+ .c2::placeholder {
469
1059
  color: var(--charcoal-text3);
470
1060
  }
471
1061
 
472
- .c0 {
473
- display: grid;
474
- gap: 24px;
475
- }
476
-
477
1062
  <div
478
1063
  data-dark={false}
479
1064
  >
@@ -481,205 +1066,64 @@ exports[`Storybook Tests TextArea Default 1`] = `
481
1066
  className="c0"
482
1067
  >
483
1068
  <div
484
- className="c1"
1069
+ className="charcoal-field-label-root"
1070
+ style={
1071
+ Object {
1072
+ "border": 0,
1073
+ "clip": "rect(0 0 0 0)",
1074
+ "clipPath": "inset(50%)",
1075
+ "height": "1px",
1076
+ "margin": "-1px",
1077
+ "overflow": "hidden",
1078
+ "padding": 0,
1079
+ "position": "absolute",
1080
+ "whiteSpace": "nowrap",
1081
+ "width": "1px",
1082
+ }
1083
+ }
485
1084
  >
1085
+ <label
1086
+ className="charcoal-field-label"
1087
+ htmlFor="test-id"
1088
+ id="test-id"
1089
+ >
1090
+ Label
1091
+ </label>
486
1092
  <div
487
- className="c2 c3"
488
- style={
489
- Object {
490
- "border": 0,
491
- "clip": "rect(0 0 0 0)",
492
- "clipPath": "inset(50%)",
493
- "height": "1px",
494
- "margin": "-1px",
495
- "overflow": "hidden",
496
- "padding": 0,
497
- "position": "absolute",
498
- "whiteSpace": "nowrap",
499
- "width": "1px",
500
- }
501
- }
1093
+ className="charcoal-field-label-required-text"
502
1094
  >
503
- <label
504
- className="c4"
505
- htmlFor="test-id"
506
- id="test-id"
507
- >
508
- Label
509
- </label>
510
- <div
511
- className="c5 c6"
512
- >
513
- <span>
514
- <button
515
- className="c7"
516
- onClick={[Function]}
517
- >
518
- Text Link
519
- </button>
520
- </span>
521
- </div>
1095
+ *必須
522
1096
  </div>
523
1097
  <div
524
- className="c8"
525
- rows={4}
1098
+ className="charcoal-field-label-sub-label"
526
1099
  >
527
- <textarea
528
- aria-labelledby="test-id"
529
- className="c9"
530
- disabled={false}
531
- id="test-id"
532
- onChange={[Function]}
533
- placeholder="Text Area"
534
- readOnly={false}
535
- required={false}
536
- rows={4}
537
- value=""
538
- />
1100
+ <span />
539
1101
  </div>
540
1102
  </div>
1103
+ <div
1104
+ className="c1"
1105
+ rows={4}
1106
+ >
1107
+ <textarea
1108
+ aria-labelledby="test-id"
1109
+ className="c2"
1110
+ id="test-id"
1111
+ onChange={[Function]}
1112
+ rows={4}
1113
+ />
1114
+ </div>
541
1115
  </div>
542
1116
  </div>
543
1117
  `;
544
1118
 
545
- exports[`Storybook Tests TextArea HasCount 1`] = `
546
- .c7 {
547
- cursor: pointer;
548
- -webkit-appearance: none;
549
- -moz-appearance: none;
550
- appearance: none;
551
- background: transparent;
552
- padding: 0;
553
- border-style: none;
554
- outline: none;
555
- color: inherit;
556
- text-rendering: inherit;
557
- -webkit-letter-spacing: inherit;
558
- -moz-letter-spacing: inherit;
559
- -ms-letter-spacing: inherit;
560
- letter-spacing: inherit;
561
- word-spacing: inherit;
562
- -webkit-text-decoration: none;
563
- text-decoration: none;
564
- font: inherit;
565
- margin: 0;
566
- overflow: visible;
567
- text-transform: none;
568
- }
569
-
570
- .c7:disabled,
571
- .c7[aria-disabled]:not([aria-disabled=false]) {
572
- cursor: default;
573
- }
574
-
575
- .c7:focus {
576
- outline: none;
577
- }
578
-
579
- .c7::-moz-focus-inner {
580
- border-style: none;
581
- padding: 0;
582
- }
583
-
584
- .c4 {
585
- font-size: 14px;
586
- line-height: 22px;
587
- font-weight: bold;
588
- display: flow-root;
589
- color: var(--charcoal-text1);
590
- }
591
-
592
- .c4::before {
593
- display: block;
594
- width: 0;
595
- height: 0;
596
- content: '';
597
- margin-top: -4px;
598
- }
599
-
600
- .c4::after {
601
- display: block;
602
- width: 0;
603
- height: 0;
604
- content: '';
605
- margin-bottom: -4px;
606
- }
607
-
608
- .c6 {
609
- font-size: 14px;
610
- line-height: 22px;
611
- display: flow-root;
612
- color: var(--charcoal-text3);
613
- -webkit-transition: 0.2s color,0.2s box-shadow;
614
- transition: 0.2s color,0.2s box-shadow;
615
- }
616
-
617
- .c6::before {
618
- display: block;
619
- width: 0;
620
- height: 0;
621
- content: '';
622
- margin-top: -4px;
623
- }
624
-
625
- .c6::after {
626
- display: block;
627
- width: 0;
628
- height: 0;
629
- content: '';
630
- margin-bottom: -4px;
631
- }
632
-
633
- .c6:not(:disabled):not([aria-disabled]):hover,
634
- .c6[aria-disabled='false']:hover {
635
- color: var(--charcoal-text3-hover);
636
- }
637
-
638
- .c6:not(:disabled):not([aria-disabled]):active,
639
- .c6[aria-disabled='false']:active {
640
- color: var(--charcoal-text3-press);
641
- }
642
-
643
- .c6:not(:disabled):not([aria-disabled]):active,
644
- .c6[aria-disabled='false']:active,
645
- .c6:not(:disabled):not([aria-disabled]):focus,
646
- .c6[aria-disabled='false']:focus,
647
- .c6:not(:disabled):not([aria-disabled]):focus-visible,
648
- .c6[aria-disabled='false']:focus-visible {
649
- outline: none;
650
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
651
- }
652
-
653
- .c2 {
654
- display: -webkit-inline-box;
655
- display: -webkit-inline-flex;
656
- display: -ms-inline-flexbox;
657
- display: inline-flex;
658
- -webkit-align-items: center;
659
- -webkit-box-align: center;
660
- -ms-flex-align: center;
661
- align-items: center;
662
- }
663
-
664
- .c2 > .c5 {
665
- margin-left: auto;
666
- }
667
-
668
- .c3 {
669
- margin-bottom: 8px;
1119
+ exports[`Storybook Tests TextArea ShowCount 1`] = `
1120
+ .c0 {
1121
+ display: grid;
1122
+ grid-template-columns: 1fr;
1123
+ grid-gap: 4px;
670
1124
  }
671
1125
 
672
1126
  .c1 {
673
- display: -webkit-box;
674
- display: -webkit-flex;
675
- display: -ms-flexbox;
676
- display: flex;
677
- -webkit-flex-direction: column;
678
- -ms-flex-direction: column;
679
- flex-direction: column;
680
- }
681
-
682
- .c8 {
683
1127
  position: relative;
684
1128
  overflow: hidden;
685
1129
  color: var(--charcoal-text2);
@@ -690,17 +1134,17 @@ exports[`Storybook Tests TextArea HasCount 1`] = `
690
1134
  height: calc(22px * 5 + 18px);
691
1135
  }
692
1136
 
693
- .c8:not([aria-disabled]):hover,
694
- .c8 [aria-disabled='false']:hover {
1137
+ .c1:not([aria-disabled]):hover,
1138
+ .c1 [aria-disabled='false']:hover {
695
1139
  background-color: var(--charcoal-surface3-hover);
696
1140
  }
697
1141
 
698
- .c8:focus-within {
1142
+ .c1:focus-within {
699
1143
  outline: none;
700
1144
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
701
1145
  }
702
1146
 
703
- .c9 {
1147
+ .c2 {
704
1148
  border: none;
705
1149
  outline: none;
706
1150
  resize: none;
@@ -724,23 +1168,23 @@ exports[`Storybook Tests TextArea HasCount 1`] = `
724
1168
  background: none;
725
1169
  }
726
1170
 
727
- .c9::-webkit-input-placeholder {
1171
+ .c2::-webkit-input-placeholder {
728
1172
  color: var(--charcoal-text3);
729
1173
  }
730
1174
 
731
- .c9::-moz-placeholder {
1175
+ .c2::-moz-placeholder {
732
1176
  color: var(--charcoal-text3);
733
1177
  }
734
1178
 
735
- .c9:-ms-input-placeholder {
1179
+ .c2:-ms-input-placeholder {
736
1180
  color: var(--charcoal-text3);
737
1181
  }
738
1182
 
739
- .c9::placeholder {
1183
+ .c2::placeholder {
740
1184
  color: var(--charcoal-text3);
741
1185
  }
742
1186
 
743
- .c10 {
1187
+ .c3 {
744
1188
  position: absolute;
745
1189
  bottom: 9px;
746
1190
  right: 8px;
@@ -749,11 +1193,6 @@ exports[`Storybook Tests TextArea HasCount 1`] = `
749
1193
  color: var(--charcoal-text3);
750
1194
  }
751
1195
 
752
- .c0 {
753
- display: grid;
754
- gap: 24px;
755
- }
756
-
757
1196
  <div
758
1197
  data-dark={false}
759
1198
  >
@@ -761,246 +1200,65 @@ exports[`Storybook Tests TextArea HasCount 1`] = `
761
1200
  className="c0"
762
1201
  >
763
1202
  <div
764
- className="c1"
765
- >
766
- <div
767
- className="c2 c3"
768
- style={
769
- Object {
770
- "border": 0,
771
- "clip": "rect(0 0 0 0)",
772
- "clipPath": "inset(50%)",
773
- "height": "1px",
774
- "margin": "-1px",
775
- "overflow": "hidden",
776
- "padding": 0,
777
- "position": "absolute",
778
- "whiteSpace": "nowrap",
779
- "width": "1px",
780
- }
1203
+ className="charcoal-field-label-root"
1204
+ style={
1205
+ Object {
1206
+ "border": 0,
1207
+ "clip": "rect(0 0 0 0)",
1208
+ "clipPath": "inset(50%)",
1209
+ "height": "1px",
1210
+ "margin": "-1px",
1211
+ "overflow": "hidden",
1212
+ "padding": 0,
1213
+ "position": "absolute",
1214
+ "whiteSpace": "nowrap",
1215
+ "width": "1px",
781
1216
  }
1217
+ }
1218
+ >
1219
+ <label
1220
+ className="charcoal-field-label"
1221
+ htmlFor="test-id"
1222
+ id="test-id"
782
1223
  >
783
- <label
784
- className="c4"
785
- htmlFor="test-id"
786
- id="test-id"
787
- >
788
- Label
789
- </label>
790
- <div
791
- className="c5 c6"
792
- >
793
- <span>
794
- <button
795
- className="c7"
796
- onClick={[Function]}
797
- >
798
- Text Link
799
- </button>
800
- </span>
801
- </div>
802
- </div>
1224
+ Label
1225
+ </label>
803
1226
  <div
804
- className="c8"
805
- rows={5}
1227
+ className="charcoal-field-label-sub-label"
806
1228
  >
807
- <textarea
808
- aria-labelledby="test-id"
809
- className="c9"
810
- disabled={false}
811
- id="test-id"
812
- maxLength={100}
813
- onChange={[Function]}
814
- placeholder="Text Area"
815
- readOnly={false}
816
- required={false}
817
- rows={4}
818
- value=""
819
- />
820
- <span
821
- className="c10"
822
- >
823
- 0/100
824
- </span>
1229
+ <span />
825
1230
  </div>
826
1231
  </div>
1232
+ <div
1233
+ className="c1"
1234
+ rows={5}
1235
+ >
1236
+ <textarea
1237
+ aria-labelledby="test-id"
1238
+ className="c2"
1239
+ id="test-id"
1240
+ maxLength={100}
1241
+ onChange={[Function]}
1242
+ rows={4}
1243
+ />
1244
+ <span
1245
+ className="c3"
1246
+ >
1247
+ 0/100
1248
+ </span>
1249
+ </div>
827
1250
  </div>
828
1251
  </div>
829
1252
  `;
830
1253
 
831
- exports[`Storybook Tests TextArea HasLabel 1`] = `
832
- .c9 {
833
- cursor: pointer;
834
- -webkit-appearance: none;
835
- -moz-appearance: none;
836
- appearance: none;
837
- background: transparent;
838
- padding: 0;
839
- border-style: none;
840
- outline: none;
841
- color: inherit;
842
- text-rendering: inherit;
843
- -webkit-letter-spacing: inherit;
844
- -moz-letter-spacing: inherit;
845
- -ms-letter-spacing: inherit;
846
- letter-spacing: inherit;
847
- word-spacing: inherit;
848
- -webkit-text-decoration: none;
849
- text-decoration: none;
850
- font: inherit;
851
- margin: 0;
852
- overflow: visible;
853
- text-transform: none;
854
- }
855
-
856
- .c9:disabled,
857
- .c9[aria-disabled]:not([aria-disabled=false]) {
858
- cursor: default;
859
- }
860
-
861
- .c9:focus {
862
- outline: none;
863
- }
864
-
865
- .c9::-moz-focus-inner {
866
- border-style: none;
867
- padding: 0;
868
- }
869
-
870
- .c4 {
871
- font-size: 14px;
872
- line-height: 22px;
873
- font-weight: bold;
874
- display: flow-root;
875
- color: var(--charcoal-text1);
876
- }
877
-
878
- .c4::before {
879
- display: block;
880
- width: 0;
881
- height: 0;
882
- content: '';
883
- margin-top: -4px;
884
- }
885
-
886
- .c4::after {
887
- display: block;
888
- width: 0;
889
- height: 0;
890
- content: '';
891
- margin-bottom: -4px;
892
- }
893
-
894
- .c6 {
895
- font-size: 14px;
896
- line-height: 22px;
897
- display: flow-root;
898
- color: var(--charcoal-text2);
899
- }
900
-
901
- .c6::before {
902
- display: block;
903
- width: 0;
904
- height: 0;
905
- content: '';
906
- margin-top: -4px;
907
- }
908
-
909
- .c6::after {
910
- display: block;
911
- width: 0;
912
- height: 0;
913
- content: '';
914
- margin-bottom: -4px;
915
- }
916
-
917
- .c8 {
918
- font-size: 14px;
919
- line-height: 22px;
920
- display: flow-root;
921
- color: var(--charcoal-text3);
922
- -webkit-transition: 0.2s color,0.2s box-shadow;
923
- transition: 0.2s color,0.2s box-shadow;
924
- }
925
-
926
- .c8::before {
927
- display: block;
928
- width: 0;
929
- height: 0;
930
- content: '';
931
- margin-top: -4px;
932
- }
933
-
934
- .c8::after {
935
- display: block;
936
- width: 0;
937
- height: 0;
938
- content: '';
939
- margin-bottom: -4px;
940
- }
941
-
942
- .c8:not(:disabled):not([aria-disabled]):hover,
943
- .c8[aria-disabled='false']:hover {
944
- color: var(--charcoal-text3-hover);
945
- }
946
-
947
- .c8:not(:disabled):not([aria-disabled]):active,
948
- .c8[aria-disabled='false']:active {
949
- color: var(--charcoal-text3-press);
950
- }
951
-
952
- .c8:not(:disabled):not([aria-disabled]):active,
953
- .c8[aria-disabled='false']:active,
954
- .c8:not(:disabled):not([aria-disabled]):focus,
955
- .c8[aria-disabled='false']:focus,
956
- .c8:not(:disabled):not([aria-disabled]):focus-visible,
957
- .c8[aria-disabled='false']:focus-visible {
958
- outline: none;
959
- box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
960
- }
961
-
962
- .c2 {
963
- display: -webkit-inline-box;
964
- display: -webkit-inline-flex;
965
- display: -ms-inline-flexbox;
966
- display: inline-flex;
967
- -webkit-align-items: center;
968
- -webkit-box-align: center;
969
- -ms-flex-align: center;
970
- align-items: center;
971
- }
972
-
973
- .c2 > .c5 {
974
- margin-left: 4px;
975
- }
976
-
977
- .c2 > .c7 {
978
- margin-left: auto;
979
- }
980
-
981
- .c3 {
982
- margin-bottom: 8px;
983
- }
984
-
985
- .c12 {
986
- font-size: 14px;
987
- line-height: 22px;
988
- margin-top: 4px;
989
- margin-bottom: -4px;
990
- color: var(--charcoal-text2);
1254
+ exports[`Storybook Tests TextArea SubLabel 1`] = `
1255
+ .c0 {
1256
+ display: grid;
1257
+ grid-template-columns: 1fr;
1258
+ grid-gap: 4px;
991
1259
  }
992
1260
 
993
1261
  .c1 {
994
- display: -webkit-box;
995
- display: -webkit-flex;
996
- display: -ms-flexbox;
997
- display: flex;
998
- -webkit-flex-direction: column;
999
- -ms-flex-direction: column;
1000
- flex-direction: column;
1001
- }
1002
-
1003
- .c10 {
1004
1262
  position: relative;
1005
1263
  overflow: hidden;
1006
1264
  color: var(--charcoal-text2);
@@ -1011,17 +1269,17 @@ exports[`Storybook Tests TextArea HasLabel 1`] = `
1011
1269
  height: calc(22px * 4 + 18px);
1012
1270
  }
1013
1271
 
1014
- .c10:not([aria-disabled]):hover,
1015
- .c10 [aria-disabled='false']:hover {
1272
+ .c1:not([aria-disabled]):hover,
1273
+ .c1 [aria-disabled='false']:hover {
1016
1274
  background-color: var(--charcoal-surface3-hover);
1017
1275
  }
1018
1276
 
1019
- .c10:focus-within {
1277
+ .c1:focus-within {
1020
1278
  outline: none;
1021
1279
  box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
1022
1280
  }
1023
1281
 
1024
- .c11 {
1282
+ .c2 {
1025
1283
  border: none;
1026
1284
  outline: none;
1027
1285
  resize: none;
@@ -1045,27 +1303,22 @@ exports[`Storybook Tests TextArea HasLabel 1`] = `
1045
1303
  background: none;
1046
1304
  }
1047
1305
 
1048
- .c11::-webkit-input-placeholder {
1306
+ .c2::-webkit-input-placeholder {
1049
1307
  color: var(--charcoal-text3);
1050
1308
  }
1051
1309
 
1052
- .c11::-moz-placeholder {
1310
+ .c2::-moz-placeholder {
1053
1311
  color: var(--charcoal-text3);
1054
1312
  }
1055
1313
 
1056
- .c11:-ms-input-placeholder {
1314
+ .c2:-ms-input-placeholder {
1057
1315
  color: var(--charcoal-text3);
1058
1316
  }
1059
1317
 
1060
- .c11::placeholder {
1318
+ .c2::placeholder {
1061
1319
  color: var(--charcoal-text3);
1062
1320
  }
1063
1321
 
1064
- .c0 {
1065
- display: grid;
1066
- gap: 24px;
1067
- }
1068
-
1069
1322
  <div
1070
1323
  data-dark={false}
1071
1324
  >
@@ -1073,59 +1326,38 @@ exports[`Storybook Tests TextArea HasLabel 1`] = `
1073
1326
  className="c0"
1074
1327
  >
1075
1328
  <div
1076
- className="c1"
1329
+ className="charcoal-field-label-root"
1077
1330
  >
1331
+ <label
1332
+ className="charcoal-field-label"
1333
+ htmlFor="test-id"
1334
+ id="test-id"
1335
+ >
1336
+ Label
1337
+ </label>
1078
1338
  <div
1079
- className="c2 c3"
1339
+ className="charcoal-field-label-sub-label"
1080
1340
  >
1081
- <label
1082
- className="c4"
1083
- htmlFor="test-id"
1084
- id="test-id"
1085
- >
1086
- Label
1087
- </label>
1088
- <span
1089
- className="c5 c6"
1090
- >
1091
- *必須
1341
+ <span>
1342
+ <button
1343
+ className="charcoal-clickable"
1344
+ >
1345
+ Text Link
1346
+ </button>
1092
1347
  </span>
1093
- <div
1094
- className="c7 c8"
1095
- >
1096
- <span>
1097
- <button
1098
- className="c9"
1099
- onClick={[Function]}
1100
- >
1101
- Text Link
1102
- </button>
1103
- </span>
1104
- </div>
1105
1348
  </div>
1106
- <div
1107
- className="c10"
1349
+ </div>
1350
+ <div
1351
+ className="c1"
1352
+ rows={4}
1353
+ >
1354
+ <textarea
1355
+ aria-labelledby="test-id"
1356
+ className="c2"
1357
+ id="test-id"
1358
+ onChange={[Function]}
1108
1359
  rows={4}
1109
- >
1110
- <textarea
1111
- aria-labelledby="test-id"
1112
- aria-required={true}
1113
- className="c11"
1114
- disabled={false}
1115
- id="test-id"
1116
- onChange={[Function]}
1117
- placeholder="Text Area"
1118
- readOnly={false}
1119
- required={false}
1120
- rows={4}
1121
- value=""
1122
- />
1123
- </div>
1124
- <p
1125
- className="c12"
1126
- >
1127
- Assistive text
1128
- </p>
1360
+ />
1129
1361
  </div>
1130
1362
  </div>
1131
1363
  </div>