@charcoal-ui/react 4.3.0-beta.5 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MultiSelect/context.d.ts +14 -0
- package/dist/components/MultiSelect/context.d.ts.map +1 -0
- package/dist/components/MultiSelect/index.d.ts +38 -0
- package/dist/components/MultiSelect/index.d.ts.map +1 -0
- package/dist/index.cjs.js +318 -216
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +111 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +281 -181
- package/dist/index.esm.js.map +1 -1
- package/dist/layered.css +111 -0
- package/dist/layered.css.map +1 -1
- package/package.json +6 -7
- package/src/components/Button/__snapshots__/index.story.storyshot +89 -71
- package/src/components/Checkbox/CheckboxInput/__snapshots__/index.story.storyshot +50 -53
- package/src/components/Checkbox/__snapshots__/index.story.storyshot +108 -102
- package/src/components/Clickable/__snapshots__/index.story.storyshot +19 -17
- package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +45 -54
- package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +238 -275
- package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +28 -50
- package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +780 -1158
- package/src/components/Icon/__snapshots__/index.story.storyshot +9 -7
- package/src/components/IconButton/__snapshots__/index.story.storyshot +43 -37
- package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +52 -64
- package/src/components/Modal/__snapshots__/index.story.storyshot +568 -716
- package/src/components/MultiSelect/__snapshots__/index.story.storyshot +531 -0
- package/src/components/MultiSelect/context.ts +23 -0
- package/src/components/MultiSelect/index.css +139 -0
- package/src/components/MultiSelect/index.story.tsx +118 -0
- package/src/components/MultiSelect/index.test.tsx +255 -0
- package/src/components/MultiSelect/index.tsx +153 -0
- package/src/components/Radio/__snapshots__/index.story.storyshot +313 -367
- package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +116 -228
- package/src/components/Switch/__snapshots__/index.story.storyshot +74 -73
- package/src/components/TagItem/__snapshots__/index.story.storyshot +177 -193
- package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +372 -533
- package/src/components/TextField/__snapshots__/TextField.story.storyshot +444 -583
- package/src/index.ts +6 -0
|
@@ -1,65 +1,53 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Storybook Tests > react/TextField > Affix 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
data-dark={false}
|
|
6
|
-
>
|
|
4
|
+
<div>
|
|
7
5
|
<div
|
|
8
|
-
|
|
9
|
-
className="charcoal-text-field-root"
|
|
6
|
+
data-dark="false"
|
|
10
7
|
>
|
|
11
8
|
<div
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Object {
|
|
15
|
-
"border": 0,
|
|
16
|
-
"clip": "rect(0 0 0 0)",
|
|
17
|
-
"clipPath": "inset(50%)",
|
|
18
|
-
"height": "1px",
|
|
19
|
-
"margin": "-1px",
|
|
20
|
-
"overflow": "hidden",
|
|
21
|
-
"padding": 0,
|
|
22
|
-
"position": "absolute",
|
|
23
|
-
"whiteSpace": "nowrap",
|
|
24
|
-
"width": "1px",
|
|
25
|
-
}
|
|
26
|
-
}
|
|
9
|
+
aria-disabled="false"
|
|
10
|
+
class="charcoal-text-field-root"
|
|
27
11
|
>
|
|
28
|
-
<label
|
|
29
|
-
className="charcoal-field-label"
|
|
30
|
-
htmlFor="test-id"
|
|
31
|
-
id="test-id"
|
|
32
|
-
>
|
|
33
|
-
Label
|
|
34
|
-
</label>
|
|
35
12
|
<div
|
|
36
|
-
|
|
13
|
+
class="charcoal-field-label-root"
|
|
14
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
37
15
|
>
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
16
|
+
<label
|
|
17
|
+
class="charcoal-field-label"
|
|
18
|
+
for="test-id"
|
|
19
|
+
id="test-id"
|
|
20
|
+
>
|
|
21
|
+
Label
|
|
22
|
+
</label>
|
|
23
|
+
<div
|
|
24
|
+
class="charcoal-field-label-sub-label"
|
|
25
|
+
>
|
|
26
|
+
<span />
|
|
27
|
+
</div>
|
|
49
28
|
</div>
|
|
50
|
-
<input
|
|
51
|
-
aria-labelledby="test-id"
|
|
52
|
-
className="charcoal-text-field-input"
|
|
53
|
-
data-invalid={false}
|
|
54
|
-
disabled={false}
|
|
55
|
-
id="test-id"
|
|
56
|
-
onChange={[Function]}
|
|
57
|
-
type="text"
|
|
58
|
-
/>
|
|
59
29
|
<div
|
|
60
|
-
|
|
30
|
+
class="charcoal-text-field-container"
|
|
31
|
+
data-invalid="false"
|
|
61
32
|
>
|
|
62
|
-
|
|
33
|
+
<div
|
|
34
|
+
class="charcoal-text-field-prefix"
|
|
35
|
+
>
|
|
36
|
+
/home/john/
|
|
37
|
+
</div>
|
|
38
|
+
<input
|
|
39
|
+
aria-labelledby="test-id"
|
|
40
|
+
class="charcoal-text-field-input"
|
|
41
|
+
data-invalid="false"
|
|
42
|
+
id="test-id"
|
|
43
|
+
type="text"
|
|
44
|
+
value=""
|
|
45
|
+
/>
|
|
46
|
+
<div
|
|
47
|
+
class="charcoal-text-field-suffix"
|
|
48
|
+
>
|
|
49
|
+
.png
|
|
50
|
+
</div>
|
|
63
51
|
</div>
|
|
64
52
|
</div>
|
|
65
53
|
</div>
|
|
@@ -67,649 +55,534 @@ exports[`Storybook Tests > react/TextField > Affix 1`] = `
|
|
|
67
55
|
`;
|
|
68
56
|
|
|
69
57
|
exports[`Storybook Tests > react/TextField > AssistiveText 1`] = `
|
|
70
|
-
<div
|
|
71
|
-
data-dark={false}
|
|
72
|
-
>
|
|
58
|
+
<div>
|
|
73
59
|
<div
|
|
74
|
-
|
|
75
|
-
className="charcoal-text-field-root"
|
|
60
|
+
data-dark="false"
|
|
76
61
|
>
|
|
77
62
|
<div
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
Object {
|
|
81
|
-
"border": 0,
|
|
82
|
-
"clip": "rect(0 0 0 0)",
|
|
83
|
-
"clipPath": "inset(50%)",
|
|
84
|
-
"height": "1px",
|
|
85
|
-
"margin": "-1px",
|
|
86
|
-
"overflow": "hidden",
|
|
87
|
-
"padding": 0,
|
|
88
|
-
"position": "absolute",
|
|
89
|
-
"whiteSpace": "nowrap",
|
|
90
|
-
"width": "1px",
|
|
91
|
-
}
|
|
92
|
-
}
|
|
63
|
+
aria-disabled="false"
|
|
64
|
+
class="charcoal-text-field-root"
|
|
93
65
|
>
|
|
94
|
-
<
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
id="test-id"
|
|
66
|
+
<div
|
|
67
|
+
class="charcoal-field-label-root"
|
|
68
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
98
69
|
>
|
|
99
|
-
|
|
100
|
-
|
|
70
|
+
<label
|
|
71
|
+
class="charcoal-field-label"
|
|
72
|
+
for="test-id"
|
|
73
|
+
id="test-id"
|
|
74
|
+
>
|
|
75
|
+
Label
|
|
76
|
+
</label>
|
|
77
|
+
<div
|
|
78
|
+
class="charcoal-field-label-sub-label"
|
|
79
|
+
>
|
|
80
|
+
<span />
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
101
83
|
<div
|
|
102
|
-
|
|
84
|
+
class="charcoal-text-field-container"
|
|
85
|
+
data-invalid="false"
|
|
103
86
|
>
|
|
104
|
-
<
|
|
87
|
+
<input
|
|
88
|
+
aria-describedby="test-id"
|
|
89
|
+
aria-labelledby="test-id"
|
|
90
|
+
class="charcoal-text-field-input"
|
|
91
|
+
data-invalid="false"
|
|
92
|
+
id="test-id"
|
|
93
|
+
type="text"
|
|
94
|
+
value=""
|
|
95
|
+
/>
|
|
105
96
|
</div>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
data-invalid={false}
|
|
110
|
-
>
|
|
111
|
-
<input
|
|
112
|
-
aria-describedby="test-id"
|
|
113
|
-
aria-labelledby="test-id"
|
|
114
|
-
className="charcoal-text-field-input"
|
|
115
|
-
data-invalid={false}
|
|
116
|
-
disabled={false}
|
|
97
|
+
<div
|
|
98
|
+
class="charcoal-text-field-assistive-text"
|
|
99
|
+
data-invalid="false"
|
|
117
100
|
id="test-id"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</div>
|
|
122
|
-
<div
|
|
123
|
-
className="charcoal-text-field-assistive-text"
|
|
124
|
-
data-invalid={false}
|
|
125
|
-
id="test-id"
|
|
126
|
-
>
|
|
127
|
-
説明が入ります
|
|
101
|
+
>
|
|
102
|
+
説明が入ります
|
|
103
|
+
</div>
|
|
128
104
|
</div>
|
|
129
105
|
</div>
|
|
130
106
|
</div>
|
|
131
107
|
`;
|
|
132
108
|
|
|
133
109
|
exports[`Storybook Tests > react/TextField > Default 1`] = `
|
|
134
|
-
<div
|
|
135
|
-
data-dark={false}
|
|
136
|
-
>
|
|
110
|
+
<div>
|
|
137
111
|
<div
|
|
138
|
-
|
|
139
|
-
className="charcoal-text-field-root"
|
|
112
|
+
data-dark="false"
|
|
140
113
|
>
|
|
141
114
|
<div
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
Object {
|
|
145
|
-
"border": 0,
|
|
146
|
-
"clip": "rect(0 0 0 0)",
|
|
147
|
-
"clipPath": "inset(50%)",
|
|
148
|
-
"height": "1px",
|
|
149
|
-
"margin": "-1px",
|
|
150
|
-
"overflow": "hidden",
|
|
151
|
-
"padding": 0,
|
|
152
|
-
"position": "absolute",
|
|
153
|
-
"whiteSpace": "nowrap",
|
|
154
|
-
"width": "1px",
|
|
155
|
-
}
|
|
156
|
-
}
|
|
115
|
+
aria-disabled="false"
|
|
116
|
+
class="charcoal-text-field-root"
|
|
157
117
|
>
|
|
158
|
-
<
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
id="test-id"
|
|
118
|
+
<div
|
|
119
|
+
class="charcoal-field-label-root"
|
|
120
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
162
121
|
>
|
|
163
|
-
|
|
164
|
-
|
|
122
|
+
<label
|
|
123
|
+
class="charcoal-field-label"
|
|
124
|
+
for="test-id"
|
|
125
|
+
id="test-id"
|
|
126
|
+
>
|
|
127
|
+
Label
|
|
128
|
+
</label>
|
|
129
|
+
<div
|
|
130
|
+
class="charcoal-field-label-sub-label"
|
|
131
|
+
>
|
|
132
|
+
<span>
|
|
133
|
+
<button
|
|
134
|
+
class="charcoal-clickable"
|
|
135
|
+
>
|
|
136
|
+
Text Link
|
|
137
|
+
</button>
|
|
138
|
+
</span>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
165
141
|
<div
|
|
166
|
-
|
|
142
|
+
class="charcoal-text-field-container"
|
|
143
|
+
data-invalid="false"
|
|
167
144
|
>
|
|
168
|
-
<
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
145
|
+
<input
|
|
146
|
+
aria-invalid="false"
|
|
147
|
+
aria-labelledby="test-id"
|
|
148
|
+
class="charcoal-text-field-input"
|
|
149
|
+
data-invalid="false"
|
|
150
|
+
id="test-id"
|
|
151
|
+
placeholder="TextField"
|
|
152
|
+
type="text"
|
|
153
|
+
value=""
|
|
154
|
+
/>
|
|
175
155
|
</div>
|
|
176
156
|
</div>
|
|
177
|
-
<div
|
|
178
|
-
className="charcoal-text-field-container"
|
|
179
|
-
data-invalid={false}
|
|
180
|
-
>
|
|
181
|
-
<input
|
|
182
|
-
aria-invalid={false}
|
|
183
|
-
aria-labelledby="test-id"
|
|
184
|
-
className="charcoal-text-field-input"
|
|
185
|
-
data-invalid={false}
|
|
186
|
-
disabled={false}
|
|
187
|
-
id="test-id"
|
|
188
|
-
onChange={[Function]}
|
|
189
|
-
placeholder="TextField"
|
|
190
|
-
readOnly={false}
|
|
191
|
-
type="text"
|
|
192
|
-
/>
|
|
193
|
-
</div>
|
|
194
157
|
</div>
|
|
195
158
|
</div>
|
|
196
159
|
`;
|
|
197
160
|
|
|
198
161
|
exports[`Storybook Tests > react/TextField > Disabled 1`] = `
|
|
199
|
-
<div
|
|
200
|
-
data-dark={false}
|
|
201
|
-
>
|
|
162
|
+
<div>
|
|
202
163
|
<div
|
|
203
|
-
|
|
204
|
-
className="charcoal-text-field-root"
|
|
164
|
+
data-dark="false"
|
|
205
165
|
>
|
|
206
166
|
<div
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
Object {
|
|
210
|
-
"border": 0,
|
|
211
|
-
"clip": "rect(0 0 0 0)",
|
|
212
|
-
"clipPath": "inset(50%)",
|
|
213
|
-
"height": "1px",
|
|
214
|
-
"margin": "-1px",
|
|
215
|
-
"overflow": "hidden",
|
|
216
|
-
"padding": 0,
|
|
217
|
-
"position": "absolute",
|
|
218
|
-
"whiteSpace": "nowrap",
|
|
219
|
-
"width": "1px",
|
|
220
|
-
}
|
|
221
|
-
}
|
|
167
|
+
aria-disabled="true"
|
|
168
|
+
class="charcoal-text-field-root"
|
|
222
169
|
>
|
|
223
|
-
<
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
id="test-id"
|
|
170
|
+
<div
|
|
171
|
+
class="charcoal-field-label-root"
|
|
172
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
227
173
|
>
|
|
228
|
-
|
|
229
|
-
|
|
174
|
+
<label
|
|
175
|
+
class="charcoal-field-label"
|
|
176
|
+
for="test-id"
|
|
177
|
+
id="test-id"
|
|
178
|
+
>
|
|
179
|
+
Label
|
|
180
|
+
</label>
|
|
181
|
+
<div
|
|
182
|
+
class="charcoal-field-label-sub-label"
|
|
183
|
+
>
|
|
184
|
+
<span />
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
230
187
|
<div
|
|
231
|
-
|
|
188
|
+
aria-disabled="true"
|
|
189
|
+
class="charcoal-text-field-container"
|
|
190
|
+
data-invalid="false"
|
|
232
191
|
>
|
|
233
|
-
<
|
|
192
|
+
<input
|
|
193
|
+
aria-labelledby="test-id"
|
|
194
|
+
class="charcoal-text-field-input"
|
|
195
|
+
data-invalid="false"
|
|
196
|
+
disabled=""
|
|
197
|
+
id="test-id"
|
|
198
|
+
type="text"
|
|
199
|
+
value=""
|
|
200
|
+
/>
|
|
234
201
|
</div>
|
|
235
202
|
</div>
|
|
236
|
-
<div
|
|
237
|
-
aria-disabled={true}
|
|
238
|
-
className="charcoal-text-field-container"
|
|
239
|
-
data-invalid={false}
|
|
240
|
-
>
|
|
241
|
-
<input
|
|
242
|
-
aria-labelledby="test-id"
|
|
243
|
-
className="charcoal-text-field-input"
|
|
244
|
-
data-invalid={false}
|
|
245
|
-
disabled={true}
|
|
246
|
-
id="test-id"
|
|
247
|
-
onChange={[Function]}
|
|
248
|
-
type="text"
|
|
249
|
-
/>
|
|
250
|
-
</div>
|
|
251
203
|
</div>
|
|
252
204
|
</div>
|
|
253
205
|
`;
|
|
254
206
|
|
|
255
207
|
exports[`Storybook Tests > react/TextField > Invalid 1`] = `
|
|
256
|
-
<div
|
|
257
|
-
data-dark={false}
|
|
258
|
-
>
|
|
208
|
+
<div>
|
|
259
209
|
<div
|
|
260
|
-
|
|
261
|
-
className="charcoal-text-field-root"
|
|
210
|
+
data-dark="false"
|
|
262
211
|
>
|
|
263
212
|
<div
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Object {
|
|
267
|
-
"border": 0,
|
|
268
|
-
"clip": "rect(0 0 0 0)",
|
|
269
|
-
"clipPath": "inset(50%)",
|
|
270
|
-
"height": "1px",
|
|
271
|
-
"margin": "-1px",
|
|
272
|
-
"overflow": "hidden",
|
|
273
|
-
"padding": 0,
|
|
274
|
-
"position": "absolute",
|
|
275
|
-
"whiteSpace": "nowrap",
|
|
276
|
-
"width": "1px",
|
|
277
|
-
}
|
|
278
|
-
}
|
|
213
|
+
aria-disabled="false"
|
|
214
|
+
class="charcoal-text-field-root"
|
|
279
215
|
>
|
|
280
|
-
<
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
id="test-id"
|
|
216
|
+
<div
|
|
217
|
+
class="charcoal-field-label-root"
|
|
218
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
284
219
|
>
|
|
285
|
-
|
|
286
|
-
|
|
220
|
+
<label
|
|
221
|
+
class="charcoal-field-label"
|
|
222
|
+
for="test-id"
|
|
223
|
+
id="test-id"
|
|
224
|
+
>
|
|
225
|
+
Label
|
|
226
|
+
</label>
|
|
227
|
+
<div
|
|
228
|
+
class="charcoal-field-label-sub-label"
|
|
229
|
+
>
|
|
230
|
+
<span />
|
|
231
|
+
</div>
|
|
232
|
+
</div>
|
|
287
233
|
<div
|
|
288
|
-
|
|
234
|
+
class="charcoal-text-field-container"
|
|
235
|
+
data-invalid="true"
|
|
289
236
|
>
|
|
290
|
-
<
|
|
237
|
+
<input
|
|
238
|
+
aria-describedby="test-id"
|
|
239
|
+
aria-invalid="true"
|
|
240
|
+
aria-labelledby="test-id"
|
|
241
|
+
class="charcoal-text-field-input"
|
|
242
|
+
data-invalid="true"
|
|
243
|
+
id="test-id"
|
|
244
|
+
type="text"
|
|
245
|
+
value=""
|
|
246
|
+
/>
|
|
291
247
|
</div>
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
data-invalid={true}
|
|
296
|
-
>
|
|
297
|
-
<input
|
|
298
|
-
aria-describedby="test-id"
|
|
299
|
-
aria-invalid={true}
|
|
300
|
-
aria-labelledby="test-id"
|
|
301
|
-
className="charcoal-text-field-input"
|
|
302
|
-
data-invalid={true}
|
|
303
|
-
disabled={false}
|
|
248
|
+
<div
|
|
249
|
+
class="charcoal-text-field-assistive-text"
|
|
250
|
+
data-invalid="true"
|
|
304
251
|
id="test-id"
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
</div>
|
|
309
|
-
<div
|
|
310
|
-
className="charcoal-text-field-assistive-text"
|
|
311
|
-
data-invalid={true}
|
|
312
|
-
id="test-id"
|
|
313
|
-
>
|
|
314
|
-
エラーメッセージ
|
|
252
|
+
>
|
|
253
|
+
エラーメッセージ
|
|
254
|
+
</div>
|
|
315
255
|
</div>
|
|
316
256
|
</div>
|
|
317
257
|
</div>
|
|
318
258
|
`;
|
|
319
259
|
|
|
320
260
|
exports[`Storybook Tests > react/TextField > Label 1`] = `
|
|
321
|
-
<div
|
|
322
|
-
data-dark={false}
|
|
323
|
-
>
|
|
261
|
+
<div>
|
|
324
262
|
<div
|
|
325
|
-
|
|
326
|
-
className="charcoal-text-field-root"
|
|
263
|
+
data-dark="false"
|
|
327
264
|
>
|
|
328
265
|
<div
|
|
329
|
-
|
|
266
|
+
aria-disabled="false"
|
|
267
|
+
class="charcoal-text-field-root"
|
|
330
268
|
>
|
|
331
|
-
<
|
|
332
|
-
|
|
333
|
-
htmlFor="test-id"
|
|
334
|
-
id="test-id"
|
|
269
|
+
<div
|
|
270
|
+
class="charcoal-field-label-root"
|
|
335
271
|
>
|
|
336
|
-
|
|
337
|
-
|
|
272
|
+
<label
|
|
273
|
+
class="charcoal-field-label"
|
|
274
|
+
for="test-id"
|
|
275
|
+
id="test-id"
|
|
276
|
+
>
|
|
277
|
+
Label
|
|
278
|
+
</label>
|
|
279
|
+
<div
|
|
280
|
+
class="charcoal-field-label-sub-label"
|
|
281
|
+
>
|
|
282
|
+
<span />
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
338
285
|
<div
|
|
339
|
-
|
|
286
|
+
class="charcoal-text-field-container"
|
|
287
|
+
data-invalid="false"
|
|
340
288
|
>
|
|
341
|
-
<
|
|
289
|
+
<input
|
|
290
|
+
aria-labelledby="test-id"
|
|
291
|
+
class="charcoal-text-field-input"
|
|
292
|
+
data-invalid="false"
|
|
293
|
+
id="test-id"
|
|
294
|
+
type="text"
|
|
295
|
+
value=""
|
|
296
|
+
/>
|
|
342
297
|
</div>
|
|
343
298
|
</div>
|
|
344
|
-
<div
|
|
345
|
-
className="charcoal-text-field-container"
|
|
346
|
-
data-invalid={false}
|
|
347
|
-
>
|
|
348
|
-
<input
|
|
349
|
-
aria-labelledby="test-id"
|
|
350
|
-
className="charcoal-text-field-input"
|
|
351
|
-
data-invalid={false}
|
|
352
|
-
disabled={false}
|
|
353
|
-
id="test-id"
|
|
354
|
-
onChange={[Function]}
|
|
355
|
-
type="text"
|
|
356
|
-
/>
|
|
357
|
-
</div>
|
|
358
299
|
</div>
|
|
359
300
|
</div>
|
|
360
301
|
`;
|
|
361
302
|
|
|
362
303
|
exports[`Storybook Tests > react/TextField > Number 1`] = `
|
|
363
|
-
<div
|
|
364
|
-
data-dark={false}
|
|
365
|
-
>
|
|
304
|
+
<div>
|
|
366
305
|
<div
|
|
367
|
-
|
|
368
|
-
className="charcoal-text-field-root"
|
|
306
|
+
data-dark="false"
|
|
369
307
|
>
|
|
370
308
|
<div
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
Object {
|
|
374
|
-
"border": 0,
|
|
375
|
-
"clip": "rect(0 0 0 0)",
|
|
376
|
-
"clipPath": "inset(50%)",
|
|
377
|
-
"height": "1px",
|
|
378
|
-
"margin": "-1px",
|
|
379
|
-
"overflow": "hidden",
|
|
380
|
-
"padding": 0,
|
|
381
|
-
"position": "absolute",
|
|
382
|
-
"whiteSpace": "nowrap",
|
|
383
|
-
"width": "1px",
|
|
384
|
-
}
|
|
385
|
-
}
|
|
309
|
+
aria-disabled="false"
|
|
310
|
+
class="charcoal-text-field-root"
|
|
386
311
|
>
|
|
387
|
-
<label
|
|
388
|
-
className="charcoal-field-label"
|
|
389
|
-
htmlFor="test-id"
|
|
390
|
-
id="test-id"
|
|
391
|
-
/>
|
|
392
312
|
<div
|
|
393
|
-
|
|
313
|
+
class="charcoal-field-label-root"
|
|
314
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
394
315
|
>
|
|
395
|
-
<
|
|
316
|
+
<label
|
|
317
|
+
class="charcoal-field-label"
|
|
318
|
+
for="test-id"
|
|
319
|
+
id="test-id"
|
|
320
|
+
/>
|
|
321
|
+
<div
|
|
322
|
+
class="charcoal-field-label-sub-label"
|
|
323
|
+
>
|
|
324
|
+
<span />
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
<div
|
|
328
|
+
class="charcoal-text-field-container"
|
|
329
|
+
data-invalid="false"
|
|
330
|
+
>
|
|
331
|
+
<input
|
|
332
|
+
aria-labelledby="test-id"
|
|
333
|
+
class="charcoal-text-field-input"
|
|
334
|
+
data-invalid="false"
|
|
335
|
+
id="test-id"
|
|
336
|
+
type="number"
|
|
337
|
+
value="0"
|
|
338
|
+
/>
|
|
396
339
|
</div>
|
|
397
|
-
</div>
|
|
398
|
-
<div
|
|
399
|
-
className="charcoal-text-field-container"
|
|
400
|
-
data-invalid={false}
|
|
401
|
-
>
|
|
402
|
-
<input
|
|
403
|
-
aria-labelledby="test-id"
|
|
404
|
-
className="charcoal-text-field-input"
|
|
405
|
-
data-invalid={false}
|
|
406
|
-
disabled={false}
|
|
407
|
-
id="test-id"
|
|
408
|
-
onChange={[Function]}
|
|
409
|
-
onWheel={[Function]}
|
|
410
|
-
type="number"
|
|
411
|
-
value="0"
|
|
412
|
-
/>
|
|
413
340
|
</div>
|
|
414
341
|
</div>
|
|
415
342
|
</div>
|
|
416
343
|
`;
|
|
417
344
|
|
|
418
345
|
exports[`Storybook Tests > react/TextField > Placeholder 1`] = `
|
|
419
|
-
<div
|
|
420
|
-
data-dark={false}
|
|
421
|
-
>
|
|
346
|
+
<div>
|
|
422
347
|
<div
|
|
423
|
-
|
|
424
|
-
className="charcoal-text-field-root"
|
|
348
|
+
data-dark="false"
|
|
425
349
|
>
|
|
426
350
|
<div
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
Object {
|
|
430
|
-
"border": 0,
|
|
431
|
-
"clip": "rect(0 0 0 0)",
|
|
432
|
-
"clipPath": "inset(50%)",
|
|
433
|
-
"height": "1px",
|
|
434
|
-
"margin": "-1px",
|
|
435
|
-
"overflow": "hidden",
|
|
436
|
-
"padding": 0,
|
|
437
|
-
"position": "absolute",
|
|
438
|
-
"whiteSpace": "nowrap",
|
|
439
|
-
"width": "1px",
|
|
440
|
-
}
|
|
441
|
-
}
|
|
351
|
+
aria-disabled="false"
|
|
352
|
+
class="charcoal-text-field-root"
|
|
442
353
|
>
|
|
443
|
-
<
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
id="test-id"
|
|
354
|
+
<div
|
|
355
|
+
class="charcoal-field-label-root"
|
|
356
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
447
357
|
>
|
|
448
|
-
|
|
449
|
-
|
|
358
|
+
<label
|
|
359
|
+
class="charcoal-field-label"
|
|
360
|
+
for="test-id"
|
|
361
|
+
id="test-id"
|
|
362
|
+
>
|
|
363
|
+
Label
|
|
364
|
+
</label>
|
|
365
|
+
<div
|
|
366
|
+
class="charcoal-field-label-sub-label"
|
|
367
|
+
>
|
|
368
|
+
<span />
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
450
371
|
<div
|
|
451
|
-
|
|
372
|
+
class="charcoal-text-field-container"
|
|
373
|
+
data-invalid="false"
|
|
452
374
|
>
|
|
453
|
-
<
|
|
375
|
+
<input
|
|
376
|
+
aria-labelledby="test-id"
|
|
377
|
+
class="charcoal-text-field-input"
|
|
378
|
+
data-invalid="false"
|
|
379
|
+
id="test-id"
|
|
380
|
+
placeholder="Placeholder"
|
|
381
|
+
type="text"
|
|
382
|
+
value=""
|
|
383
|
+
/>
|
|
454
384
|
</div>
|
|
455
385
|
</div>
|
|
456
|
-
<div
|
|
457
|
-
className="charcoal-text-field-container"
|
|
458
|
-
data-invalid={false}
|
|
459
|
-
>
|
|
460
|
-
<input
|
|
461
|
-
aria-labelledby="test-id"
|
|
462
|
-
className="charcoal-text-field-input"
|
|
463
|
-
data-invalid={false}
|
|
464
|
-
disabled={false}
|
|
465
|
-
id="test-id"
|
|
466
|
-
onChange={[Function]}
|
|
467
|
-
placeholder="Placeholder"
|
|
468
|
-
type="text"
|
|
469
|
-
/>
|
|
470
|
-
</div>
|
|
471
386
|
</div>
|
|
472
387
|
</div>
|
|
473
388
|
`;
|
|
474
389
|
|
|
475
390
|
exports[`Storybook Tests > react/TextField > Prefix 1`] = `
|
|
476
|
-
<div
|
|
477
|
-
data-dark={false}
|
|
478
|
-
>
|
|
391
|
+
<div>
|
|
479
392
|
<div
|
|
480
|
-
|
|
481
|
-
className="charcoal-text-field-root"
|
|
393
|
+
data-dark="false"
|
|
482
394
|
>
|
|
483
395
|
<div
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
Object {
|
|
487
|
-
"border": 0,
|
|
488
|
-
"clip": "rect(0 0 0 0)",
|
|
489
|
-
"clipPath": "inset(50%)",
|
|
490
|
-
"height": "1px",
|
|
491
|
-
"margin": "-1px",
|
|
492
|
-
"overflow": "hidden",
|
|
493
|
-
"padding": 0,
|
|
494
|
-
"position": "absolute",
|
|
495
|
-
"whiteSpace": "nowrap",
|
|
496
|
-
"width": "1px",
|
|
497
|
-
}
|
|
498
|
-
}
|
|
396
|
+
aria-disabled="false"
|
|
397
|
+
class="charcoal-text-field-root"
|
|
499
398
|
>
|
|
500
|
-
<label
|
|
501
|
-
className="charcoal-field-label"
|
|
502
|
-
htmlFor="test-id"
|
|
503
|
-
id="test-id"
|
|
504
|
-
>
|
|
505
|
-
Label
|
|
506
|
-
</label>
|
|
507
399
|
<div
|
|
508
|
-
|
|
400
|
+
class="charcoal-field-label-root"
|
|
401
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
509
402
|
>
|
|
510
|
-
<
|
|
403
|
+
<label
|
|
404
|
+
class="charcoal-field-label"
|
|
405
|
+
for="test-id"
|
|
406
|
+
id="test-id"
|
|
407
|
+
>
|
|
408
|
+
Label
|
|
409
|
+
</label>
|
|
410
|
+
<div
|
|
411
|
+
class="charcoal-field-label-sub-label"
|
|
412
|
+
>
|
|
413
|
+
<span />
|
|
414
|
+
</div>
|
|
511
415
|
</div>
|
|
512
|
-
</div>
|
|
513
|
-
<div
|
|
514
|
-
className="charcoal-text-field-container"
|
|
515
|
-
data-invalid={false}
|
|
516
|
-
>
|
|
517
416
|
<div
|
|
518
|
-
|
|
417
|
+
class="charcoal-text-field-container"
|
|
418
|
+
data-invalid="false"
|
|
519
419
|
>
|
|
520
420
|
<div
|
|
521
|
-
|
|
522
|
-
Object {
|
|
523
|
-
"alignItems": "center",
|
|
524
|
-
"color": "var(--charcoal-text3)",
|
|
525
|
-
"display": "flex",
|
|
526
|
-
}
|
|
527
|
-
}
|
|
421
|
+
class="charcoal-text-field-prefix"
|
|
528
422
|
>
|
|
529
|
-
<
|
|
530
|
-
|
|
531
|
-
|
|
423
|
+
<div
|
|
424
|
+
style="display: flex; align-items: center;"
|
|
425
|
+
>
|
|
426
|
+
<pixiv-icon
|
|
427
|
+
name="16/Search"
|
|
428
|
+
/>
|
|
429
|
+
</div>
|
|
532
430
|
</div>
|
|
431
|
+
<input
|
|
432
|
+
aria-labelledby="test-id"
|
|
433
|
+
class="charcoal-text-field-input"
|
|
434
|
+
data-invalid="false"
|
|
435
|
+
id="test-id"
|
|
436
|
+
type="text"
|
|
437
|
+
value=""
|
|
438
|
+
/>
|
|
533
439
|
</div>
|
|
534
|
-
<input
|
|
535
|
-
aria-labelledby="test-id"
|
|
536
|
-
className="charcoal-text-field-input"
|
|
537
|
-
data-invalid={false}
|
|
538
|
-
disabled={false}
|
|
539
|
-
id="test-id"
|
|
540
|
-
onChange={[Function]}
|
|
541
|
-
type="text"
|
|
542
|
-
/>
|
|
543
440
|
</div>
|
|
544
441
|
</div>
|
|
545
442
|
</div>
|
|
546
443
|
`;
|
|
547
444
|
|
|
548
445
|
exports[`Storybook Tests > react/TextField > ReadOnly 1`] = `
|
|
549
|
-
<div
|
|
550
|
-
data-dark={false}
|
|
551
|
-
>
|
|
446
|
+
<div>
|
|
552
447
|
<div
|
|
553
|
-
|
|
554
|
-
className="charcoal-text-field-root"
|
|
448
|
+
data-dark="false"
|
|
555
449
|
>
|
|
556
450
|
<div
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
Object {
|
|
560
|
-
"border": 0,
|
|
561
|
-
"clip": "rect(0 0 0 0)",
|
|
562
|
-
"clipPath": "inset(50%)",
|
|
563
|
-
"height": "1px",
|
|
564
|
-
"margin": "-1px",
|
|
565
|
-
"overflow": "hidden",
|
|
566
|
-
"padding": 0,
|
|
567
|
-
"position": "absolute",
|
|
568
|
-
"whiteSpace": "nowrap",
|
|
569
|
-
"width": "1px",
|
|
570
|
-
}
|
|
571
|
-
}
|
|
451
|
+
aria-disabled="false"
|
|
452
|
+
class="charcoal-text-field-root"
|
|
572
453
|
>
|
|
573
|
-
<
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
id="test-id"
|
|
454
|
+
<div
|
|
455
|
+
class="charcoal-field-label-root"
|
|
456
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
577
457
|
>
|
|
578
|
-
|
|
579
|
-
|
|
458
|
+
<label
|
|
459
|
+
class="charcoal-field-label"
|
|
460
|
+
for="test-id"
|
|
461
|
+
id="test-id"
|
|
462
|
+
>
|
|
463
|
+
Label
|
|
464
|
+
</label>
|
|
465
|
+
<div
|
|
466
|
+
class="charcoal-field-label-sub-label"
|
|
467
|
+
>
|
|
468
|
+
<span />
|
|
469
|
+
</div>
|
|
470
|
+
</div>
|
|
580
471
|
<div
|
|
581
|
-
|
|
472
|
+
class="charcoal-text-field-container"
|
|
473
|
+
data-invalid="false"
|
|
582
474
|
>
|
|
583
|
-
<
|
|
475
|
+
<input
|
|
476
|
+
aria-labelledby="test-id"
|
|
477
|
+
class="charcoal-text-field-input"
|
|
478
|
+
data-invalid="false"
|
|
479
|
+
id="test-id"
|
|
480
|
+
readonly=""
|
|
481
|
+
type="text"
|
|
482
|
+
value="読み取り専用"
|
|
483
|
+
/>
|
|
584
484
|
</div>
|
|
585
485
|
</div>
|
|
586
|
-
<div
|
|
587
|
-
className="charcoal-text-field-container"
|
|
588
|
-
data-invalid={false}
|
|
589
|
-
>
|
|
590
|
-
<input
|
|
591
|
-
aria-labelledby="test-id"
|
|
592
|
-
className="charcoal-text-field-input"
|
|
593
|
-
data-invalid={false}
|
|
594
|
-
disabled={false}
|
|
595
|
-
id="test-id"
|
|
596
|
-
onChange={[Function]}
|
|
597
|
-
readOnly={true}
|
|
598
|
-
type="text"
|
|
599
|
-
value="読み取り専用"
|
|
600
|
-
/>
|
|
601
|
-
</div>
|
|
602
486
|
</div>
|
|
603
487
|
</div>
|
|
604
488
|
`;
|
|
605
489
|
|
|
606
490
|
exports[`Storybook Tests > react/TextField > RequiredText 1`] = `
|
|
607
|
-
<div
|
|
608
|
-
data-dark={false}
|
|
609
|
-
>
|
|
491
|
+
<div>
|
|
610
492
|
<div
|
|
611
|
-
|
|
612
|
-
className="charcoal-text-field-root"
|
|
493
|
+
data-dark="false"
|
|
613
494
|
>
|
|
614
495
|
<div
|
|
615
|
-
|
|
496
|
+
aria-disabled="false"
|
|
497
|
+
class="charcoal-text-field-root"
|
|
616
498
|
>
|
|
617
|
-
<label
|
|
618
|
-
className="charcoal-field-label"
|
|
619
|
-
htmlFor="test-id"
|
|
620
|
-
id="test-id"
|
|
621
|
-
>
|
|
622
|
-
Label
|
|
623
|
-
</label>
|
|
624
499
|
<div
|
|
625
|
-
|
|
500
|
+
class="charcoal-field-label-root"
|
|
626
501
|
>
|
|
627
|
-
|
|
502
|
+
<label
|
|
503
|
+
class="charcoal-field-label"
|
|
504
|
+
for="test-id"
|
|
505
|
+
id="test-id"
|
|
506
|
+
>
|
|
507
|
+
Label
|
|
508
|
+
</label>
|
|
509
|
+
<div
|
|
510
|
+
class="charcoal-field-label-required-text"
|
|
511
|
+
>
|
|
512
|
+
*必須
|
|
513
|
+
</div>
|
|
514
|
+
<div
|
|
515
|
+
class="charcoal-field-label-sub-label"
|
|
516
|
+
>
|
|
517
|
+
<span />
|
|
518
|
+
</div>
|
|
628
519
|
</div>
|
|
629
520
|
<div
|
|
630
|
-
|
|
521
|
+
class="charcoal-text-field-container"
|
|
522
|
+
data-invalid="false"
|
|
631
523
|
>
|
|
632
|
-
<
|
|
524
|
+
<input
|
|
525
|
+
aria-labelledby="test-id"
|
|
526
|
+
class="charcoal-text-field-input"
|
|
527
|
+
data-invalid="false"
|
|
528
|
+
id="test-id"
|
|
529
|
+
type="text"
|
|
530
|
+
value=""
|
|
531
|
+
/>
|
|
633
532
|
</div>
|
|
634
533
|
</div>
|
|
635
|
-
<div
|
|
636
|
-
className="charcoal-text-field-container"
|
|
637
|
-
data-invalid={false}
|
|
638
|
-
>
|
|
639
|
-
<input
|
|
640
|
-
aria-labelledby="test-id"
|
|
641
|
-
className="charcoal-text-field-input"
|
|
642
|
-
data-invalid={false}
|
|
643
|
-
disabled={false}
|
|
644
|
-
id="test-id"
|
|
645
|
-
onChange={[Function]}
|
|
646
|
-
type="text"
|
|
647
|
-
/>
|
|
648
|
-
</div>
|
|
649
534
|
</div>
|
|
650
535
|
</div>
|
|
651
536
|
`;
|
|
652
537
|
|
|
653
538
|
exports[`Storybook Tests > react/TextField > ShowCount 1`] = `
|
|
654
|
-
<div
|
|
655
|
-
data-dark={false}
|
|
656
|
-
>
|
|
539
|
+
<div>
|
|
657
540
|
<div
|
|
658
|
-
|
|
659
|
-
className="charcoal-text-field-root"
|
|
541
|
+
data-dark="false"
|
|
660
542
|
>
|
|
661
543
|
<div
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
Object {
|
|
665
|
-
"border": 0,
|
|
666
|
-
"clip": "rect(0 0 0 0)",
|
|
667
|
-
"clipPath": "inset(50%)",
|
|
668
|
-
"height": "1px",
|
|
669
|
-
"margin": "-1px",
|
|
670
|
-
"overflow": "hidden",
|
|
671
|
-
"padding": 0,
|
|
672
|
-
"position": "absolute",
|
|
673
|
-
"whiteSpace": "nowrap",
|
|
674
|
-
"width": "1px",
|
|
675
|
-
}
|
|
676
|
-
}
|
|
544
|
+
aria-disabled="false"
|
|
545
|
+
class="charcoal-text-field-root"
|
|
677
546
|
>
|
|
678
|
-
<label
|
|
679
|
-
className="charcoal-field-label"
|
|
680
|
-
htmlFor="test-id"
|
|
681
|
-
id="test-id"
|
|
682
|
-
>
|
|
683
|
-
Label
|
|
684
|
-
</label>
|
|
685
547
|
<div
|
|
686
|
-
|
|
548
|
+
class="charcoal-field-label-root"
|
|
549
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
687
550
|
>
|
|
688
|
-
<
|
|
551
|
+
<label
|
|
552
|
+
class="charcoal-field-label"
|
|
553
|
+
for="test-id"
|
|
554
|
+
id="test-id"
|
|
555
|
+
>
|
|
556
|
+
Label
|
|
557
|
+
</label>
|
|
558
|
+
<div
|
|
559
|
+
class="charcoal-field-label-sub-label"
|
|
560
|
+
>
|
|
561
|
+
<span />
|
|
562
|
+
</div>
|
|
689
563
|
</div>
|
|
690
|
-
</div>
|
|
691
|
-
<div
|
|
692
|
-
className="charcoal-text-field-container"
|
|
693
|
-
data-invalid={false}
|
|
694
|
-
>
|
|
695
|
-
<input
|
|
696
|
-
aria-labelledby="test-id"
|
|
697
|
-
className="charcoal-text-field-input"
|
|
698
|
-
data-invalid={false}
|
|
699
|
-
disabled={false}
|
|
700
|
-
id="test-id"
|
|
701
|
-
maxLength={100}
|
|
702
|
-
onChange={[Function]}
|
|
703
|
-
type="text"
|
|
704
|
-
/>
|
|
705
564
|
<div
|
|
706
|
-
|
|
565
|
+
class="charcoal-text-field-container"
|
|
566
|
+
data-invalid="false"
|
|
707
567
|
>
|
|
708
|
-
<
|
|
709
|
-
|
|
568
|
+
<input
|
|
569
|
+
aria-labelledby="test-id"
|
|
570
|
+
class="charcoal-text-field-input"
|
|
571
|
+
data-invalid="false"
|
|
572
|
+
id="test-id"
|
|
573
|
+
maxlength="100"
|
|
574
|
+
type="text"
|
|
575
|
+
value=""
|
|
576
|
+
/>
|
|
577
|
+
<div
|
|
578
|
+
class="charcoal-text-field-suffix"
|
|
710
579
|
>
|
|
711
|
-
|
|
712
|
-
|
|
580
|
+
<span
|
|
581
|
+
class="charcoal-text-field-line-counter"
|
|
582
|
+
>
|
|
583
|
+
0/100
|
|
584
|
+
</span>
|
|
585
|
+
</div>
|
|
713
586
|
</div>
|
|
714
587
|
</div>
|
|
715
588
|
</div>
|
|
@@ -717,63 +590,51 @@ exports[`Storybook Tests > react/TextField > ShowCount 1`] = `
|
|
|
717
590
|
`;
|
|
718
591
|
|
|
719
592
|
exports[`Storybook Tests > react/TextField > SubLabel 1`] = `
|
|
720
|
-
<div
|
|
721
|
-
data-dark={false}
|
|
722
|
-
>
|
|
593
|
+
<div>
|
|
723
594
|
<div
|
|
724
|
-
|
|
725
|
-
className="charcoal-text-field-root"
|
|
595
|
+
data-dark="false"
|
|
726
596
|
>
|
|
727
597
|
<div
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
Object {
|
|
731
|
-
"border": 0,
|
|
732
|
-
"clip": "rect(0 0 0 0)",
|
|
733
|
-
"clipPath": "inset(50%)",
|
|
734
|
-
"height": "1px",
|
|
735
|
-
"margin": "-1px",
|
|
736
|
-
"overflow": "hidden",
|
|
737
|
-
"padding": 0,
|
|
738
|
-
"position": "absolute",
|
|
739
|
-
"whiteSpace": "nowrap",
|
|
740
|
-
"width": "1px",
|
|
741
|
-
}
|
|
742
|
-
}
|
|
598
|
+
aria-disabled="false"
|
|
599
|
+
class="charcoal-text-field-root"
|
|
743
600
|
>
|
|
744
|
-
<
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
id="test-id"
|
|
601
|
+
<div
|
|
602
|
+
class="charcoal-field-label-root"
|
|
603
|
+
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
|
|
748
604
|
>
|
|
749
|
-
|
|
750
|
-
|
|
605
|
+
<label
|
|
606
|
+
class="charcoal-field-label"
|
|
607
|
+
for="test-id"
|
|
608
|
+
id="test-id"
|
|
609
|
+
>
|
|
610
|
+
Label
|
|
611
|
+
</label>
|
|
612
|
+
<div
|
|
613
|
+
class="charcoal-field-label-sub-label"
|
|
614
|
+
>
|
|
615
|
+
<span>
|
|
616
|
+
<button
|
|
617
|
+
class="charcoal-clickable"
|
|
618
|
+
>
|
|
619
|
+
Text Link
|
|
620
|
+
</button>
|
|
621
|
+
</span>
|
|
622
|
+
</div>
|
|
623
|
+
</div>
|
|
751
624
|
<div
|
|
752
|
-
|
|
625
|
+
class="charcoal-text-field-container"
|
|
626
|
+
data-invalid="false"
|
|
753
627
|
>
|
|
754
|
-
<
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
628
|
+
<input
|
|
629
|
+
aria-labelledby="test-id"
|
|
630
|
+
class="charcoal-text-field-input"
|
|
631
|
+
data-invalid="false"
|
|
632
|
+
id="test-id"
|
|
633
|
+
type="text"
|
|
634
|
+
value=""
|
|
635
|
+
/>
|
|
761
636
|
</div>
|
|
762
637
|
</div>
|
|
763
|
-
<div
|
|
764
|
-
className="charcoal-text-field-container"
|
|
765
|
-
data-invalid={false}
|
|
766
|
-
>
|
|
767
|
-
<input
|
|
768
|
-
aria-labelledby="test-id"
|
|
769
|
-
className="charcoal-text-field-input"
|
|
770
|
-
data-invalid={false}
|
|
771
|
-
disabled={false}
|
|
772
|
-
id="test-id"
|
|
773
|
-
onChange={[Function]}
|
|
774
|
-
type="text"
|
|
775
|
-
/>
|
|
776
|
-
</div>
|
|
777
638
|
</div>
|
|
778
639
|
</div>
|
|
779
640
|
`;
|