@charcoal-ui/react 3.4.0 → 3.6.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/Button/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.story.d.ts +1 -0
- package/dist/components/Checkbox/index.story.d.ts.map +1 -1
- package/dist/components/DropdownSelector/DropdownMenuItem.d.ts.map +1 -1
- package/dist/components/DropdownSelector/ListItem/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/Popover/index.d.ts.map +1 -1
- package/dist/components/DropdownSelector/index.d.ts.map +1 -1
- package/dist/components/FieldLabel/index.d.ts.map +1 -1
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/LoadingSpinner/index.d.ts.map +1 -1
- package/dist/components/Modal/ModalPlumbing.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.story.d.ts +1 -0
- package/dist/components/Modal/index.story.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.story.d.ts +2 -0
- package/dist/components/MultiSelect/index.story.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/SegmentedControl/index.d.ts.map +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/TagItem/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextField/TextField.story.d.ts.map +1 -1
- package/dist/components/TextField/index.d.ts +4 -0
- package/dist/components/TextField/index.d.ts.map +1 -1
- package/dist/components/TextField/useFocusWithClick.d.ts +3 -0
- package/dist/components/TextField/useFocusWithClick.d.ts.map +1 -0
- package/dist/index.cjs.js +935 -494
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +863 -422
- package/dist/index.esm.js.map +1 -1
- package/dist/styled.d.ts +4 -4
- package/package.json +9 -9
- package/src/components/Button/__snapshots__/index.story.storyshot +312 -592
- package/src/components/Button/index.tsx +50 -14
- package/src/components/Checkbox/__snapshots__/index.story.storyshot +209 -40
- package/src/components/Checkbox/__snapshots__/snapshot.test.tsx.snap +410 -80
- package/src/components/Checkbox/index.story.tsx +24 -0
- package/src/components/Checkbox/index.tsx +47 -17
- package/src/components/Clickable/__snapshots__/index.story.storyshot +4 -0
- package/src/components/Clickable/index.tsx +1 -0
- package/src/components/DropdownSelector/DropdownMenuItem.tsx +19 -3
- package/src/components/DropdownSelector/ListItem/__snapshots__/index.story.storyshot +3 -10
- package/src/components/DropdownSelector/ListItem/index.tsx +6 -4
- package/src/components/DropdownSelector/MenuItemGroup/index.tsx +1 -1
- package/src/components/DropdownSelector/MenuList/__snapshots__/index.story.storyshot +4 -13
- package/src/components/DropdownSelector/Popover/__snapshots__/index.story.storyshot +20 -37
- package/src/components/DropdownSelector/Popover/index.tsx +5 -8
- package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +60 -191
- package/src/components/DropdownSelector/index.tsx +70 -20
- package/src/components/FieldLabel/index.tsx +77 -12
- package/src/components/IconButton/__snapshots__/index.story.storyshot +30 -54
- package/src/components/IconButton/index.tsx +51 -26
- package/src/components/LoadingSpinner/index.tsx +3 -6
- package/src/components/Modal/Dialog/index.tsx +1 -1
- package/src/components/Modal/ModalPlumbing.tsx +26 -5
- package/src/components/Modal/__snapshots__/index.story.storyshot +2454 -108
- package/src/components/Modal/index.story.tsx +27 -0
- package/src/components/Modal/index.tsx +19 -4
- package/src/components/MultiSelect/__snapshots__/index.story.storyshot +528 -25
- package/src/components/MultiSelect/index.story.tsx +60 -0
- package/src/components/MultiSelect/index.tsx +82 -22
- package/src/components/Radio/__snapshots__/index.story.storyshot +32 -49
- package/src/components/Radio/index.tsx +71 -23
- package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +18 -19
- package/src/components/SegmentedControl/index.tsx +35 -15
- package/src/components/Switch/__snapshots__/index.story.storyshot +6 -18
- package/src/components/Switch/index.tsx +10 -15
- package/src/components/TagItem/__snapshots__/index.story.storyshot +39 -158
- package/src/components/TagItem/index.tsx +84 -19
- package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +126 -321
- package/src/components/TextArea/index.tsx +38 -43
- package/src/components/TextField/TextField.story.tsx +35 -19
- package/src/components/TextField/__snapshots__/TextField.story.storyshot +309 -563
- package/src/components/TextField/index.tsx +85 -84
- package/src/components/TextField/useFocusWithClick.tsx +22 -0
|
@@ -17,6 +17,8 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
17
17
|
-ms-letter-spacing: inherit;
|
|
18
18
|
letter-spacing: inherit;
|
|
19
19
|
word-spacing: inherit;
|
|
20
|
+
-webkit-text-decoration: none;
|
|
21
|
+
text-decoration: none;
|
|
20
22
|
font: inherit;
|
|
21
23
|
margin: 0;
|
|
22
24
|
overflow: visible;
|
|
@@ -86,33 +88,22 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
86
88
|
margin-bottom: -4px;
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
.c6:
|
|
90
|
-
.c6
|
|
91
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
92
|
+
.c6[aria-disabled='false']:hover {
|
|
91
93
|
color: var(--charcoal-text3-hover);
|
|
92
94
|
}
|
|
93
95
|
|
|
94
|
-
.c6:
|
|
95
|
-
.c6
|
|
96
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
97
|
+
.c6[aria-disabled='false']:active {
|
|
96
98
|
color: var(--charcoal-text3-press);
|
|
97
99
|
}
|
|
98
100
|
|
|
99
|
-
.c6:not(:disabled):not([aria-disabled]):focus,
|
|
100
|
-
.c6[aria-disabled=false]:focus,
|
|
101
101
|
.c6:not(:disabled):not([aria-disabled]):active,
|
|
102
|
-
.c6[aria-disabled=false]:active
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.c6:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
108
|
-
.c6[aria-disabled=false]:focus:not(:focus-visible),
|
|
109
|
-
.c6:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
110
|
-
.c6[aria-disabled=false]:active:not(:focus-visible) {
|
|
111
|
-
outline: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
102
|
+
.c6[aria-disabled='false']:active,
|
|
103
|
+
.c6:not(:disabled):not([aria-disabled]):focus,
|
|
104
|
+
.c6[aria-disabled='false']:focus,
|
|
114
105
|
.c6:not(:disabled):not([aria-disabled]):focus-visible,
|
|
115
|
-
.c6[aria-disabled=false]:focus-visible {
|
|
106
|
+
.c6[aria-disabled='false']:focus-visible {
|
|
116
107
|
outline: none;
|
|
117
108
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
118
109
|
}
|
|
@@ -147,46 +138,37 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
147
138
|
}
|
|
148
139
|
|
|
149
140
|
.c8 {
|
|
150
|
-
height: 40px;
|
|
151
141
|
display: grid;
|
|
152
|
-
|
|
142
|
+
grid-template-columns: 1fr;
|
|
143
|
+
height: 40px;
|
|
144
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
145
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
146
|
+
color: var(--charcoal-text2);
|
|
147
|
+
background-color: var(--charcoal-surface3);
|
|
148
|
+
border-radius: 4px;
|
|
149
|
+
gap: 4px;
|
|
150
|
+
padding: 0 8px;
|
|
151
|
+
line-height: 22px;
|
|
152
|
+
font-size: 14px;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
left: 8px;
|
|
159
|
-
-webkit-transform: translateY(-50%);
|
|
160
|
-
-ms-transform: translateY(-50%);
|
|
161
|
-
transform: translateY(-50%);
|
|
162
|
-
z-index: 1;
|
|
155
|
+
.c8:not(:disabled):not([aria-disabled]):hover,
|
|
156
|
+
.c8 [aria-disabled='false']:hover {
|
|
157
|
+
background-color: var(--charcoal-surface3-hover);
|
|
163
158
|
}
|
|
164
159
|
|
|
165
|
-
.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
-webkit-transform: translateY(-50%);
|
|
170
|
-
-ms-transform: translateY(-50%);
|
|
171
|
-
transform: translateY(-50%);
|
|
172
|
-
display: -webkit-box;
|
|
173
|
-
display: -webkit-flex;
|
|
174
|
-
display: -ms-flexbox;
|
|
175
|
-
display: flex;
|
|
176
|
-
gap: 8px;
|
|
160
|
+
.c8:not(:disabled):not([aria-disabled]):active,
|
|
161
|
+
.c8 [aria-disabled='false']:active {
|
|
162
|
+
outline: none;
|
|
163
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
177
164
|
}
|
|
178
165
|
|
|
179
|
-
.
|
|
180
|
-
|
|
181
|
-
-
|
|
182
|
-
-ms-user-select: none;
|
|
183
|
-
user-select: none;
|
|
184
|
-
font-size: 14px;
|
|
185
|
-
line-height: 22px;
|
|
186
|
-
color: var(--charcoal-text2);
|
|
166
|
+
.c8:focus-within {
|
|
167
|
+
outline: none;
|
|
168
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
187
169
|
}
|
|
188
170
|
|
|
189
|
-
.
|
|
171
|
+
.c9 {
|
|
190
172
|
border: none;
|
|
191
173
|
box-sizing: border-box;
|
|
192
174
|
outline: none;
|
|
@@ -201,57 +183,29 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
201
183
|
height: calc(100% / 0.875);
|
|
202
184
|
font-size: calc(14px / 0.875);
|
|
203
185
|
line-height: calc(22px / 0.875);
|
|
204
|
-
padding-left:
|
|
205
|
-
padding-right:
|
|
186
|
+
padding-left: 0;
|
|
187
|
+
padding-right: 0;
|
|
206
188
|
border-radius: calc(4px / 0.875);
|
|
207
189
|
-webkit-appearance: none;
|
|
208
190
|
-moz-appearance: none;
|
|
209
191
|
appearance: none;
|
|
210
|
-
background
|
|
192
|
+
background: transparent;
|
|
211
193
|
color: var(--charcoal-text2);
|
|
212
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
213
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
214
194
|
}
|
|
215
195
|
|
|
216
|
-
.
|
|
217
|
-
.c11:hover[aria-disabled=false] {
|
|
218
|
-
background-color: var(--charcoal-surface3-hover);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.c11:not(:disabled):not([aria-disabled]):focus,
|
|
222
|
-
.c11[aria-disabled=false]:focus,
|
|
223
|
-
.c11:not(:disabled):not([aria-disabled]):active,
|
|
224
|
-
.c11[aria-disabled=false]:active {
|
|
225
|
-
outline: none;
|
|
226
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.c11:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
230
|
-
.c11[aria-disabled=false]:focus:not(:focus-visible),
|
|
231
|
-
.c11:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
232
|
-
.c11[aria-disabled=false]:active:not(:focus-visible) {
|
|
233
|
-
outline: none;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.c11:not(:disabled):not([aria-disabled]):focus-visible,
|
|
237
|
-
.c11[aria-disabled=false]:focus-visible {
|
|
238
|
-
outline: none;
|
|
239
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.c11::-webkit-input-placeholder {
|
|
196
|
+
.c9::-webkit-input-placeholder {
|
|
243
197
|
color: var(--charcoal-text3);
|
|
244
198
|
}
|
|
245
199
|
|
|
246
|
-
.
|
|
200
|
+
.c9::-moz-placeholder {
|
|
247
201
|
color: var(--charcoal-text3);
|
|
248
202
|
}
|
|
249
203
|
|
|
250
|
-
.
|
|
204
|
+
.c9:-ms-input-placeholder {
|
|
251
205
|
color: var(--charcoal-text3);
|
|
252
206
|
}
|
|
253
207
|
|
|
254
|
-
.
|
|
208
|
+
.c9::placeholder {
|
|
255
209
|
color: var(--charcoal-text3);
|
|
256
210
|
}
|
|
257
211
|
|
|
@@ -301,7 +255,6 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
301
255
|
<span>
|
|
302
256
|
<button
|
|
303
257
|
className="c7"
|
|
304
|
-
onClick={[Function]}
|
|
305
258
|
>
|
|
306
259
|
Text Link
|
|
307
260
|
</button>
|
|
@@ -311,16 +264,9 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
311
264
|
<div
|
|
312
265
|
className="c8"
|
|
313
266
|
>
|
|
314
|
-
<span
|
|
315
|
-
className="c9"
|
|
316
|
-
>
|
|
317
|
-
<span
|
|
318
|
-
className="c10"
|
|
319
|
-
/>
|
|
320
|
-
</span>
|
|
321
267
|
<input
|
|
322
268
|
aria-labelledby="test-id"
|
|
323
|
-
className="
|
|
269
|
+
className="c9"
|
|
324
270
|
disabled={false}
|
|
325
271
|
id="test-id"
|
|
326
272
|
onChange={[Function]}
|
|
@@ -328,13 +274,6 @@ exports[`Storyshots TextField Default 1`] = `
|
|
|
328
274
|
readOnly={false}
|
|
329
275
|
type="text"
|
|
330
276
|
/>
|
|
331
|
-
<span
|
|
332
|
-
className="c12"
|
|
333
|
-
>
|
|
334
|
-
<span
|
|
335
|
-
className="c10"
|
|
336
|
-
/>
|
|
337
|
-
</span>
|
|
338
277
|
</div>
|
|
339
278
|
</div>
|
|
340
279
|
</div>
|
|
@@ -391,33 +330,22 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
391
330
|
margin-bottom: -4px;
|
|
392
331
|
}
|
|
393
332
|
|
|
394
|
-
.c5:
|
|
395
|
-
.c5
|
|
333
|
+
.c5:not(:disabled):not([aria-disabled]):hover,
|
|
334
|
+
.c5[aria-disabled='false']:hover {
|
|
396
335
|
color: var(--charcoal-text3-hover);
|
|
397
336
|
}
|
|
398
337
|
|
|
399
|
-
.c5:
|
|
400
|
-
.c5
|
|
338
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
339
|
+
.c5[aria-disabled='false']:active {
|
|
401
340
|
color: var(--charcoal-text3-press);
|
|
402
341
|
}
|
|
403
342
|
|
|
404
|
-
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
405
|
-
.c5[aria-disabled=false]:focus,
|
|
406
343
|
.c5:not(:disabled):not([aria-disabled]):active,
|
|
407
|
-
.c5[aria-disabled=false]:active
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.c5:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
413
|
-
.c5[aria-disabled=false]:focus:not(:focus-visible),
|
|
414
|
-
.c5:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
415
|
-
.c5[aria-disabled=false]:active:not(:focus-visible) {
|
|
416
|
-
outline: none;
|
|
417
|
-
}
|
|
418
|
-
|
|
344
|
+
.c5[aria-disabled='false']:active,
|
|
345
|
+
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
346
|
+
.c5[aria-disabled='false']:focus,
|
|
419
347
|
.c5:not(:disabled):not([aria-disabled]):focus-visible,
|
|
420
|
-
.c5[aria-disabled=false]:focus-visible {
|
|
348
|
+
.c5[aria-disabled='false']:focus-visible {
|
|
421
349
|
outline: none;
|
|
422
350
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
423
351
|
}
|
|
@@ -452,46 +380,60 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
452
380
|
}
|
|
453
381
|
|
|
454
382
|
.c6 {
|
|
455
|
-
height: 40px;
|
|
456
383
|
display: grid;
|
|
457
|
-
|
|
384
|
+
grid-template-columns: auto 1fr auto;
|
|
385
|
+
height: 40px;
|
|
386
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
387
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
388
|
+
color: var(--charcoal-text2);
|
|
389
|
+
background-color: var(--charcoal-surface3);
|
|
390
|
+
border-radius: 4px;
|
|
391
|
+
gap: 4px;
|
|
392
|
+
padding: 0 8px;
|
|
393
|
+
line-height: 22px;
|
|
394
|
+
font-size: 14px;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
398
|
+
.c6 [aria-disabled='false']:hover {
|
|
399
|
+
background-color: var(--charcoal-surface3-hover);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
403
|
+
.c6 [aria-disabled='false']:active {
|
|
404
|
+
outline: none;
|
|
405
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.c6:focus-within {
|
|
409
|
+
outline: none;
|
|
410
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
458
411
|
}
|
|
459
412
|
|
|
460
413
|
.c7 {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
-
|
|
466
|
-
|
|
467
|
-
|
|
414
|
+
display: -webkit-box;
|
|
415
|
+
display: -webkit-flex;
|
|
416
|
+
display: -ms-flexbox;
|
|
417
|
+
display: flex;
|
|
418
|
+
-webkit-align-items: center;
|
|
419
|
+
-webkit-box-align: center;
|
|
420
|
+
-ms-flex-align: center;
|
|
421
|
+
align-items: center;
|
|
468
422
|
}
|
|
469
423
|
|
|
470
|
-
.
|
|
471
|
-
position: absolute;
|
|
472
|
-
top: 50%;
|
|
473
|
-
right: 8px;
|
|
474
|
-
-webkit-transform: translateY(-50%);
|
|
475
|
-
-ms-transform: translateY(-50%);
|
|
476
|
-
transform: translateY(-50%);
|
|
424
|
+
.c9 {
|
|
477
425
|
display: -webkit-box;
|
|
478
426
|
display: -webkit-flex;
|
|
479
427
|
display: -ms-flexbox;
|
|
480
428
|
display: flex;
|
|
429
|
+
-webkit-align-items: center;
|
|
430
|
+
-webkit-box-align: center;
|
|
431
|
+
-ms-flex-align: center;
|
|
432
|
+
align-items: center;
|
|
481
433
|
gap: 8px;
|
|
482
434
|
}
|
|
483
435
|
|
|
484
436
|
.c8 {
|
|
485
|
-
-webkit-user-select: none;
|
|
486
|
-
-moz-user-select: none;
|
|
487
|
-
-ms-user-select: none;
|
|
488
|
-
user-select: none;
|
|
489
|
-
font-size: 14px;
|
|
490
|
-
line-height: 22px;
|
|
491
|
-
color: var(--charcoal-text2);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
.c9 {
|
|
495
437
|
border: none;
|
|
496
438
|
box-sizing: border-box;
|
|
497
439
|
outline: none;
|
|
@@ -506,63 +448,35 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
506
448
|
height: calc(100% / 0.875);
|
|
507
449
|
font-size: calc(14px / 0.875);
|
|
508
450
|
line-height: calc(22px / 0.875);
|
|
509
|
-
padding-left:
|
|
510
|
-
padding-right:
|
|
451
|
+
padding-left: 0;
|
|
452
|
+
padding-right: 0;
|
|
511
453
|
border-radius: calc(4px / 0.875);
|
|
512
454
|
-webkit-appearance: none;
|
|
513
455
|
-moz-appearance: none;
|
|
514
456
|
appearance: none;
|
|
515
|
-
background
|
|
457
|
+
background: transparent;
|
|
516
458
|
color: var(--charcoal-text2);
|
|
517
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
518
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.c9:hover:not(:disabled):not([aria-disabled]),
|
|
522
|
-
.c9:hover[aria-disabled=false] {
|
|
523
|
-
background-color: var(--charcoal-surface3-hover);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.c9:not(:disabled):not([aria-disabled]):focus,
|
|
527
|
-
.c9[aria-disabled=false]:focus,
|
|
528
|
-
.c9:not(:disabled):not([aria-disabled]):active,
|
|
529
|
-
.c9[aria-disabled=false]:active {
|
|
530
|
-
outline: none;
|
|
531
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.c9:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
535
|
-
.c9[aria-disabled=false]:focus:not(:focus-visible),
|
|
536
|
-
.c9:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
537
|
-
.c9[aria-disabled=false]:active:not(:focus-visible) {
|
|
538
|
-
outline: none;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.c9:not(:disabled):not([aria-disabled]):focus-visible,
|
|
542
|
-
.c9[aria-disabled=false]:focus-visible {
|
|
543
|
-
outline: none;
|
|
544
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
545
459
|
}
|
|
546
460
|
|
|
547
|
-
.
|
|
461
|
+
.c8::-webkit-input-placeholder {
|
|
548
462
|
color: var(--charcoal-text3);
|
|
549
463
|
}
|
|
550
464
|
|
|
551
|
-
.
|
|
465
|
+
.c8::-moz-placeholder {
|
|
552
466
|
color: var(--charcoal-text3);
|
|
553
467
|
}
|
|
554
468
|
|
|
555
|
-
.
|
|
469
|
+
.c8:-ms-input-placeholder {
|
|
556
470
|
color: var(--charcoal-text3);
|
|
557
471
|
}
|
|
558
472
|
|
|
559
|
-
.
|
|
473
|
+
.c8::placeholder {
|
|
560
474
|
color: var(--charcoal-text3);
|
|
561
475
|
}
|
|
562
476
|
|
|
563
|
-
.
|
|
564
|
-
font-size: 14px;
|
|
477
|
+
.c10 {
|
|
565
478
|
line-height: 22px;
|
|
479
|
+
font-size: 14px;
|
|
566
480
|
color: var(--charcoal-text3);
|
|
567
481
|
}
|
|
568
482
|
|
|
@@ -607,18 +521,14 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
607
521
|
<div
|
|
608
522
|
className="c6"
|
|
609
523
|
>
|
|
610
|
-
<
|
|
524
|
+
<div
|
|
611
525
|
className="c7"
|
|
612
526
|
>
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
>
|
|
616
|
-
/home/john/
|
|
617
|
-
</span>
|
|
618
|
-
</span>
|
|
527
|
+
/home/john/
|
|
528
|
+
</div>
|
|
619
529
|
<input
|
|
620
530
|
aria-labelledby="test-id"
|
|
621
|
-
className="
|
|
531
|
+
className="c8"
|
|
622
532
|
disabled={false}
|
|
623
533
|
id="test-id"
|
|
624
534
|
maxLength={200}
|
|
@@ -628,15 +538,11 @@ exports[`Storyshots TextField Has Affix 1`] = `
|
|
|
628
538
|
type="text"
|
|
629
539
|
/>
|
|
630
540
|
<span
|
|
631
|
-
className="
|
|
541
|
+
className="c9"
|
|
632
542
|
>
|
|
543
|
+
.png
|
|
633
544
|
<span
|
|
634
|
-
className="
|
|
635
|
-
>
|
|
636
|
-
.png
|
|
637
|
-
</span>
|
|
638
|
-
<span
|
|
639
|
-
className="c11"
|
|
545
|
+
className="c10"
|
|
640
546
|
>
|
|
641
547
|
0/200
|
|
642
548
|
</span>
|
|
@@ -663,6 +569,8 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
663
569
|
-ms-letter-spacing: inherit;
|
|
664
570
|
letter-spacing: inherit;
|
|
665
571
|
word-spacing: inherit;
|
|
572
|
+
-webkit-text-decoration: none;
|
|
573
|
+
text-decoration: none;
|
|
666
574
|
font: inherit;
|
|
667
575
|
margin: 0;
|
|
668
576
|
overflow: visible;
|
|
@@ -732,33 +640,22 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
732
640
|
margin-bottom: -4px;
|
|
733
641
|
}
|
|
734
642
|
|
|
735
|
-
.c6:
|
|
736
|
-
.c6
|
|
643
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
644
|
+
.c6[aria-disabled='false']:hover {
|
|
737
645
|
color: var(--charcoal-text3-hover);
|
|
738
646
|
}
|
|
739
647
|
|
|
740
|
-
.c6:
|
|
741
|
-
.c6
|
|
648
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
649
|
+
.c6[aria-disabled='false']:active {
|
|
742
650
|
color: var(--charcoal-text3-press);
|
|
743
651
|
}
|
|
744
652
|
|
|
745
|
-
.c6:not(:disabled):not([aria-disabled]):focus,
|
|
746
|
-
.c6[aria-disabled=false]:focus,
|
|
747
653
|
.c6:not(:disabled):not([aria-disabled]):active,
|
|
748
|
-
.c6[aria-disabled=false]:active
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.c6:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
754
|
-
.c6[aria-disabled=false]:focus:not(:focus-visible),
|
|
755
|
-
.c6:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
756
|
-
.c6[aria-disabled=false]:active:not(:focus-visible) {
|
|
757
|
-
outline: none;
|
|
758
|
-
}
|
|
759
|
-
|
|
654
|
+
.c6[aria-disabled='false']:active,
|
|
655
|
+
.c6:not(:disabled):not([aria-disabled]):focus,
|
|
656
|
+
.c6[aria-disabled='false']:focus,
|
|
760
657
|
.c6:not(:disabled):not([aria-disabled]):focus-visible,
|
|
761
|
-
.c6[aria-disabled=false]:focus-visible {
|
|
658
|
+
.c6[aria-disabled='false']:focus-visible {
|
|
762
659
|
outline: none;
|
|
763
660
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
764
661
|
}
|
|
@@ -793,46 +690,49 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
793
690
|
}
|
|
794
691
|
|
|
795
692
|
.c8 {
|
|
796
|
-
height: 40px;
|
|
797
693
|
display: grid;
|
|
798
|
-
|
|
694
|
+
grid-template-columns: 1fr auto;
|
|
695
|
+
height: 40px;
|
|
696
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
697
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
698
|
+
color: var(--charcoal-text2);
|
|
699
|
+
background-color: var(--charcoal-surface3);
|
|
700
|
+
border-radius: 4px;
|
|
701
|
+
gap: 4px;
|
|
702
|
+
padding: 0 8px;
|
|
703
|
+
line-height: 22px;
|
|
704
|
+
font-size: 14px;
|
|
799
705
|
}
|
|
800
706
|
|
|
801
|
-
.
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
left: 8px;
|
|
805
|
-
-webkit-transform: translateY(-50%);
|
|
806
|
-
-ms-transform: translateY(-50%);
|
|
807
|
-
transform: translateY(-50%);
|
|
808
|
-
z-index: 1;
|
|
707
|
+
.c8:not(:disabled):not([aria-disabled]):hover,
|
|
708
|
+
.c8 [aria-disabled='false']:hover {
|
|
709
|
+
background-color: var(--charcoal-surface3-hover);
|
|
809
710
|
}
|
|
810
711
|
|
|
811
|
-
.
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
712
|
+
.c8:not(:disabled):not([aria-disabled]):active,
|
|
713
|
+
.c8 [aria-disabled='false']:active {
|
|
714
|
+
outline: none;
|
|
715
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.c8:focus-within {
|
|
719
|
+
outline: none;
|
|
720
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.c10 {
|
|
818
724
|
display: -webkit-box;
|
|
819
725
|
display: -webkit-flex;
|
|
820
726
|
display: -ms-flexbox;
|
|
821
727
|
display: flex;
|
|
728
|
+
-webkit-align-items: center;
|
|
729
|
+
-webkit-box-align: center;
|
|
730
|
+
-ms-flex-align: center;
|
|
731
|
+
align-items: center;
|
|
822
732
|
gap: 8px;
|
|
823
733
|
}
|
|
824
734
|
|
|
825
|
-
.
|
|
826
|
-
-webkit-user-select: none;
|
|
827
|
-
-moz-user-select: none;
|
|
828
|
-
-ms-user-select: none;
|
|
829
|
-
user-select: none;
|
|
830
|
-
font-size: 14px;
|
|
831
|
-
line-height: 22px;
|
|
832
|
-
color: var(--charcoal-text2);
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
.c11 {
|
|
735
|
+
.c9 {
|
|
836
736
|
border: none;
|
|
837
737
|
box-sizing: border-box;
|
|
838
738
|
outline: none;
|
|
@@ -847,63 +747,35 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
847
747
|
height: calc(100% / 0.875);
|
|
848
748
|
font-size: calc(14px / 0.875);
|
|
849
749
|
line-height: calc(22px / 0.875);
|
|
850
|
-
padding-left:
|
|
851
|
-
padding-right:
|
|
750
|
+
padding-left: 0;
|
|
751
|
+
padding-right: 0;
|
|
852
752
|
border-radius: calc(4px / 0.875);
|
|
853
753
|
-webkit-appearance: none;
|
|
854
754
|
-moz-appearance: none;
|
|
855
755
|
appearance: none;
|
|
856
|
-
background
|
|
756
|
+
background: transparent;
|
|
857
757
|
color: var(--charcoal-text2);
|
|
858
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
859
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.c11:hover:not(:disabled):not([aria-disabled]),
|
|
863
|
-
.c11:hover[aria-disabled=false] {
|
|
864
|
-
background-color: var(--charcoal-surface3-hover);
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
.c11:not(:disabled):not([aria-disabled]):focus,
|
|
868
|
-
.c11[aria-disabled=false]:focus,
|
|
869
|
-
.c11:not(:disabled):not([aria-disabled]):active,
|
|
870
|
-
.c11[aria-disabled=false]:active {
|
|
871
|
-
outline: none;
|
|
872
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
.c11:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
876
|
-
.c11[aria-disabled=false]:focus:not(:focus-visible),
|
|
877
|
-
.c11:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
878
|
-
.c11[aria-disabled=false]:active:not(:focus-visible) {
|
|
879
|
-
outline: none;
|
|
880
758
|
}
|
|
881
759
|
|
|
882
|
-
.
|
|
883
|
-
.c11[aria-disabled=false]:focus-visible {
|
|
884
|
-
outline: none;
|
|
885
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
.c11::-webkit-input-placeholder {
|
|
760
|
+
.c9::-webkit-input-placeholder {
|
|
889
761
|
color: var(--charcoal-text3);
|
|
890
762
|
}
|
|
891
763
|
|
|
892
|
-
.
|
|
764
|
+
.c9::-moz-placeholder {
|
|
893
765
|
color: var(--charcoal-text3);
|
|
894
766
|
}
|
|
895
767
|
|
|
896
|
-
.
|
|
768
|
+
.c9:-ms-input-placeholder {
|
|
897
769
|
color: var(--charcoal-text3);
|
|
898
770
|
}
|
|
899
771
|
|
|
900
|
-
.
|
|
772
|
+
.c9::placeholder {
|
|
901
773
|
color: var(--charcoal-text3);
|
|
902
774
|
}
|
|
903
775
|
|
|
904
|
-
.
|
|
905
|
-
font-size: 14px;
|
|
776
|
+
.c11 {
|
|
906
777
|
line-height: 22px;
|
|
778
|
+
font-size: 14px;
|
|
907
779
|
color: var(--charcoal-text3);
|
|
908
780
|
}
|
|
909
781
|
|
|
@@ -953,7 +825,6 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
953
825
|
<span>
|
|
954
826
|
<button
|
|
955
827
|
className="c7"
|
|
956
|
-
onClick={[Function]}
|
|
957
828
|
>
|
|
958
829
|
Text Link
|
|
959
830
|
</button>
|
|
@@ -963,16 +834,9 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
963
834
|
<div
|
|
964
835
|
className="c8"
|
|
965
836
|
>
|
|
966
|
-
<span
|
|
967
|
-
className="c9"
|
|
968
|
-
>
|
|
969
|
-
<span
|
|
970
|
-
className="c10"
|
|
971
|
-
/>
|
|
972
|
-
</span>
|
|
973
837
|
<input
|
|
974
838
|
aria-labelledby="test-id"
|
|
975
|
-
className="
|
|
839
|
+
className="c9"
|
|
976
840
|
disabled={false}
|
|
977
841
|
id="test-id"
|
|
978
842
|
maxLength={100}
|
|
@@ -982,13 +846,10 @@ exports[`Storyshots TextField Has Count 1`] = `
|
|
|
982
846
|
type="text"
|
|
983
847
|
/>
|
|
984
848
|
<span
|
|
985
|
-
className="
|
|
849
|
+
className="c10"
|
|
986
850
|
>
|
|
987
851
|
<span
|
|
988
|
-
className="
|
|
989
|
-
/>
|
|
990
|
-
<span
|
|
991
|
-
className="c13"
|
|
852
|
+
className="c11"
|
|
992
853
|
>
|
|
993
854
|
0/100
|
|
994
855
|
</span>
|
|
@@ -1016,6 +877,8 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1016
877
|
-ms-letter-spacing: inherit;
|
|
1017
878
|
letter-spacing: inherit;
|
|
1018
879
|
word-spacing: inherit;
|
|
880
|
+
-webkit-text-decoration: none;
|
|
881
|
+
text-decoration: none;
|
|
1019
882
|
font: inherit;
|
|
1020
883
|
margin: 0;
|
|
1021
884
|
overflow: visible;
|
|
@@ -1108,33 +971,22 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1108
971
|
margin-bottom: -4px;
|
|
1109
972
|
}
|
|
1110
973
|
|
|
1111
|
-
.c8:
|
|
1112
|
-
.c8
|
|
974
|
+
.c8:not(:disabled):not([aria-disabled]):hover,
|
|
975
|
+
.c8[aria-disabled='false']:hover {
|
|
1113
976
|
color: var(--charcoal-text3-hover);
|
|
1114
977
|
}
|
|
1115
978
|
|
|
1116
|
-
.c8:
|
|
1117
|
-
.c8
|
|
979
|
+
.c8:not(:disabled):not([aria-disabled]):active,
|
|
980
|
+
.c8[aria-disabled='false']:active {
|
|
1118
981
|
color: var(--charcoal-text3-press);
|
|
1119
982
|
}
|
|
1120
983
|
|
|
1121
|
-
.c8:not(:disabled):not([aria-disabled]):focus,
|
|
1122
|
-
.c8[aria-disabled=false]:focus,
|
|
1123
984
|
.c8:not(:disabled):not([aria-disabled]):active,
|
|
1124
|
-
.c8[aria-disabled=false]:active
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
.c8:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1130
|
-
.c8[aria-disabled=false]:focus:not(:focus-visible),
|
|
1131
|
-
.c8:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1132
|
-
.c8[aria-disabled=false]:active:not(:focus-visible) {
|
|
1133
|
-
outline: none;
|
|
1134
|
-
}
|
|
1135
|
-
|
|
985
|
+
.c8[aria-disabled='false']:active,
|
|
986
|
+
.c8:not(:disabled):not([aria-disabled]):focus,
|
|
987
|
+
.c8[aria-disabled='false']:focus,
|
|
1136
988
|
.c8:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1137
|
-
.c8[aria-disabled=false]:focus-visible {
|
|
989
|
+
.c8[aria-disabled='false']:focus-visible {
|
|
1138
990
|
outline: none;
|
|
1139
991
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1140
992
|
}
|
|
@@ -1173,46 +1025,37 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1173
1025
|
}
|
|
1174
1026
|
|
|
1175
1027
|
.c10 {
|
|
1176
|
-
height: 40px;
|
|
1177
1028
|
display: grid;
|
|
1178
|
-
|
|
1029
|
+
grid-template-columns: 1fr;
|
|
1030
|
+
height: 40px;
|
|
1031
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1032
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
1033
|
+
color: var(--charcoal-text2);
|
|
1034
|
+
background-color: var(--charcoal-surface3);
|
|
1035
|
+
border-radius: 4px;
|
|
1036
|
+
gap: 4px;
|
|
1037
|
+
padding: 0 8px;
|
|
1038
|
+
line-height: 22px;
|
|
1039
|
+
font-size: 14px;
|
|
1179
1040
|
}
|
|
1180
1041
|
|
|
1181
|
-
.
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
left: 8px;
|
|
1185
|
-
-webkit-transform: translateY(-50%);
|
|
1186
|
-
-ms-transform: translateY(-50%);
|
|
1187
|
-
transform: translateY(-50%);
|
|
1188
|
-
z-index: 1;
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
.c14 {
|
|
1192
|
-
position: absolute;
|
|
1193
|
-
top: 50%;
|
|
1194
|
-
right: 8px;
|
|
1195
|
-
-webkit-transform: translateY(-50%);
|
|
1196
|
-
-ms-transform: translateY(-50%);
|
|
1197
|
-
transform: translateY(-50%);
|
|
1198
|
-
display: -webkit-box;
|
|
1199
|
-
display: -webkit-flex;
|
|
1200
|
-
display: -ms-flexbox;
|
|
1201
|
-
display: flex;
|
|
1202
|
-
gap: 8px;
|
|
1042
|
+
.c10:not(:disabled):not([aria-disabled]):hover,
|
|
1043
|
+
.c10 [aria-disabled='false']:hover {
|
|
1044
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1203
1045
|
}
|
|
1204
1046
|
|
|
1205
|
-
.
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1047
|
+
.c10:not(:disabled):not([aria-disabled]):active,
|
|
1048
|
+
.c10 [aria-disabled='false']:active {
|
|
1049
|
+
outline: none;
|
|
1050
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.c10:focus-within {
|
|
1054
|
+
outline: none;
|
|
1055
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1213
1056
|
}
|
|
1214
1057
|
|
|
1215
|
-
.
|
|
1058
|
+
.c11 {
|
|
1216
1059
|
border: none;
|
|
1217
1060
|
box-sizing: border-box;
|
|
1218
1061
|
outline: none;
|
|
@@ -1227,83 +1070,38 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1227
1070
|
height: calc(100% / 0.875);
|
|
1228
1071
|
font-size: calc(14px / 0.875);
|
|
1229
1072
|
line-height: calc(22px / 0.875);
|
|
1230
|
-
padding-left:
|
|
1231
|
-
padding-right:
|
|
1073
|
+
padding-left: 0;
|
|
1074
|
+
padding-right: 0;
|
|
1232
1075
|
border-radius: calc(4px / 0.875);
|
|
1233
1076
|
-webkit-appearance: none;
|
|
1234
1077
|
-moz-appearance: none;
|
|
1235
1078
|
appearance: none;
|
|
1236
|
-
background
|
|
1079
|
+
background: transparent;
|
|
1237
1080
|
color: var(--charcoal-text2);
|
|
1238
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1239
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
.c13:hover:not(:disabled):not([aria-disabled]),
|
|
1243
|
-
.c13:hover[aria-disabled=false] {
|
|
1244
|
-
background-color: var(--charcoal-surface3-hover);
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
.c13:not(:disabled):not([aria-disabled]):focus,
|
|
1248
|
-
.c13[aria-disabled=false]:focus,
|
|
1249
|
-
.c13:not(:disabled):not([aria-disabled]):active,
|
|
1250
|
-
.c13[aria-disabled=false]:active {
|
|
1251
|
-
outline: none;
|
|
1252
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
.c13:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1256
|
-
.c13[aria-disabled=false]:focus:not(:focus-visible),
|
|
1257
|
-
.c13:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1258
|
-
.c13[aria-disabled=false]:active:not(:focus-visible) {
|
|
1259
|
-
outline: none;
|
|
1260
1081
|
}
|
|
1261
1082
|
|
|
1262
|
-
.
|
|
1263
|
-
.c13[aria-disabled=false]:focus-visible {
|
|
1264
|
-
outline: none;
|
|
1265
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
.c13::-webkit-input-placeholder {
|
|
1083
|
+
.c11::-webkit-input-placeholder {
|
|
1269
1084
|
color: var(--charcoal-text3);
|
|
1270
1085
|
}
|
|
1271
1086
|
|
|
1272
|
-
.
|
|
1087
|
+
.c11::-moz-placeholder {
|
|
1273
1088
|
color: var(--charcoal-text3);
|
|
1274
1089
|
}
|
|
1275
1090
|
|
|
1276
|
-
.
|
|
1091
|
+
.c11:-ms-input-placeholder {
|
|
1277
1092
|
color: var(--charcoal-text3);
|
|
1278
1093
|
}
|
|
1279
1094
|
|
|
1280
|
-
.
|
|
1095
|
+
.c11::placeholder {
|
|
1281
1096
|
color: var(--charcoal-text3);
|
|
1282
1097
|
}
|
|
1283
1098
|
|
|
1284
|
-
.
|
|
1099
|
+
.c12 {
|
|
1285
1100
|
font-size: 14px;
|
|
1286
1101
|
line-height: 22px;
|
|
1287
|
-
|
|
1288
|
-
margin-top: 8px;
|
|
1289
|
-
margin-bottom: 0px;
|
|
1290
|
-
color: var(--charcoal-text1);
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
.c15::before {
|
|
1294
|
-
display: block;
|
|
1295
|
-
width: 0;
|
|
1296
|
-
height: 0;
|
|
1297
|
-
content: '';
|
|
1298
|
-
margin-top: -4px;
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
.c15::after {
|
|
1302
|
-
display: block;
|
|
1303
|
-
width: 0;
|
|
1304
|
-
height: 0;
|
|
1305
|
-
content: '';
|
|
1102
|
+
margin-top: 4px;
|
|
1306
1103
|
margin-bottom: -4px;
|
|
1104
|
+
color: var(--charcoal-text2);
|
|
1307
1105
|
}
|
|
1308
1106
|
|
|
1309
1107
|
.c0 {
|
|
@@ -1341,7 +1139,6 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1341
1139
|
<span>
|
|
1342
1140
|
<button
|
|
1343
1141
|
className="c9"
|
|
1344
|
-
onClick={[Function]}
|
|
1345
1142
|
>
|
|
1346
1143
|
Text Link
|
|
1347
1144
|
</button>
|
|
@@ -1351,17 +1148,10 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1351
1148
|
<div
|
|
1352
1149
|
className="c10"
|
|
1353
1150
|
>
|
|
1354
|
-
<span
|
|
1355
|
-
className="c11"
|
|
1356
|
-
>
|
|
1357
|
-
<span
|
|
1358
|
-
className="c12"
|
|
1359
|
-
/>
|
|
1360
|
-
</span>
|
|
1361
1151
|
<input
|
|
1362
1152
|
aria-labelledby="test-id"
|
|
1363
1153
|
aria-required={true}
|
|
1364
|
-
className="
|
|
1154
|
+
className="c11"
|
|
1365
1155
|
disabled={false}
|
|
1366
1156
|
id="test-id"
|
|
1367
1157
|
onChange={[Function]}
|
|
@@ -1369,16 +1159,9 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1369
1159
|
readOnly={false}
|
|
1370
1160
|
type="text"
|
|
1371
1161
|
/>
|
|
1372
|
-
<span
|
|
1373
|
-
className="c14"
|
|
1374
|
-
>
|
|
1375
|
-
<span
|
|
1376
|
-
className="c12"
|
|
1377
|
-
/>
|
|
1378
|
-
</span>
|
|
1379
1162
|
</div>
|
|
1380
1163
|
<p
|
|
1381
|
-
className="
|
|
1164
|
+
className="c12"
|
|
1382
1165
|
>
|
|
1383
1166
|
Assistive text
|
|
1384
1167
|
</p>
|
|
@@ -1388,7 +1171,7 @@ exports[`Storyshots TextField Has Label 1`] = `
|
|
|
1388
1171
|
`;
|
|
1389
1172
|
|
|
1390
1173
|
exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
1391
|
-
.
|
|
1174
|
+
.c11 {
|
|
1392
1175
|
cursor: pointer;
|
|
1393
1176
|
-webkit-appearance: none;
|
|
1394
1177
|
-moz-appearance: none;
|
|
@@ -1404,22 +1187,24 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1404
1187
|
-ms-letter-spacing: inherit;
|
|
1405
1188
|
letter-spacing: inherit;
|
|
1406
1189
|
word-spacing: inherit;
|
|
1190
|
+
-webkit-text-decoration: none;
|
|
1191
|
+
text-decoration: none;
|
|
1407
1192
|
font: inherit;
|
|
1408
1193
|
margin: 0;
|
|
1409
1194
|
overflow: visible;
|
|
1410
1195
|
text-transform: none;
|
|
1411
1196
|
}
|
|
1412
1197
|
|
|
1413
|
-
.
|
|
1414
|
-
.
|
|
1198
|
+
.c11:disabled,
|
|
1199
|
+
.c11[aria-disabled]:not([aria-disabled=false]) {
|
|
1415
1200
|
cursor: default;
|
|
1416
1201
|
}
|
|
1417
1202
|
|
|
1418
|
-
.
|
|
1203
|
+
.c11:focus {
|
|
1419
1204
|
outline: none;
|
|
1420
1205
|
}
|
|
1421
1206
|
|
|
1422
|
-
.
|
|
1207
|
+
.c11::-moz-focus-inner {
|
|
1423
1208
|
border-style: none;
|
|
1424
1209
|
padding: 0;
|
|
1425
1210
|
}
|
|
@@ -1473,33 +1258,22 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1473
1258
|
margin-bottom: -4px;
|
|
1474
1259
|
}
|
|
1475
1260
|
|
|
1476
|
-
.c5:
|
|
1477
|
-
.c5
|
|
1261
|
+
.c5:not(:disabled):not([aria-disabled]):hover,
|
|
1262
|
+
.c5[aria-disabled='false']:hover {
|
|
1478
1263
|
color: var(--charcoal-text3-hover);
|
|
1479
1264
|
}
|
|
1480
1265
|
|
|
1481
|
-
.c5:
|
|
1482
|
-
.c5
|
|
1266
|
+
.c5:not(:disabled):not([aria-disabled]):active,
|
|
1267
|
+
.c5[aria-disabled='false']:active {
|
|
1483
1268
|
color: var(--charcoal-text3-press);
|
|
1484
1269
|
}
|
|
1485
1270
|
|
|
1486
|
-
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
1487
|
-
.c5[aria-disabled=false]:focus,
|
|
1488
1271
|
.c5:not(:disabled):not([aria-disabled]):active,
|
|
1489
|
-
.c5[aria-disabled=false]:active
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
.c5:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1495
|
-
.c5[aria-disabled=false]:focus:not(:focus-visible),
|
|
1496
|
-
.c5:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1497
|
-
.c5[aria-disabled=false]:active:not(:focus-visible) {
|
|
1498
|
-
outline: none;
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1272
|
+
.c5[aria-disabled='false']:active,
|
|
1273
|
+
.c5:not(:disabled):not([aria-disabled]):focus,
|
|
1274
|
+
.c5[aria-disabled='false']:focus,
|
|
1501
1275
|
.c5:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1502
|
-
.c5[aria-disabled=false]:focus-visible {
|
|
1276
|
+
.c5[aria-disabled='false']:focus-visible {
|
|
1503
1277
|
outline: none;
|
|
1504
1278
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1505
1279
|
}
|
|
@@ -1519,7 +1293,7 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1519
1293
|
margin-left: auto;
|
|
1520
1294
|
}
|
|
1521
1295
|
|
|
1522
|
-
.
|
|
1296
|
+
.c12 {
|
|
1523
1297
|
-webkit-user-select: none;
|
|
1524
1298
|
-moz-user-select: none;
|
|
1525
1299
|
-ms-user-select: none;
|
|
@@ -1545,40 +1319,29 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1545
1319
|
transition: 0.2s background-color,0.2s box-shadow;
|
|
1546
1320
|
}
|
|
1547
1321
|
|
|
1548
|
-
.
|
|
1549
|
-
.
|
|
1550
|
-
background-color: var(--charcoal-surface4-hover);
|
|
1322
|
+
.c12:not(:disabled):not([aria-disabled]):hover,
|
|
1323
|
+
.c12[aria-disabled='false']:hover {
|
|
1324
|
+
background-color: var( --charcoal-surface4-hover );
|
|
1551
1325
|
}
|
|
1552
1326
|
|
|
1553
|
-
.
|
|
1554
|
-
.
|
|
1555
|
-
background-color: var(--charcoal-surface4-press);
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
.c13:disabled,
|
|
1559
|
-
.c13[aria-disabled]:not([aria-disabled=false]) {
|
|
1560
|
-
opacity: 0.32;
|
|
1327
|
+
.c12:not(:disabled):not([aria-disabled]):active,
|
|
1328
|
+
.c12[aria-disabled='false']:active {
|
|
1329
|
+
background-color: var( --charcoal-surface4-press );
|
|
1561
1330
|
}
|
|
1562
1331
|
|
|
1563
|
-
.
|
|
1564
|
-
.
|
|
1565
|
-
.
|
|
1566
|
-
.
|
|
1332
|
+
.c12:not(:disabled):not([aria-disabled]):focus,
|
|
1333
|
+
.c12[aria-disabled='false']:focus,
|
|
1334
|
+
.c12:not(:disabled):not([aria-disabled]):active,
|
|
1335
|
+
.c12[aria-disabled='false']:active,
|
|
1336
|
+
.c12:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1337
|
+
.c12[aria-disabled='false']:focus-visible {
|
|
1567
1338
|
outline: none;
|
|
1568
1339
|
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1569
1340
|
}
|
|
1570
1341
|
|
|
1571
|
-
.
|
|
1572
|
-
.
|
|
1573
|
-
.
|
|
1574
|
-
.c13[aria-disabled=false]:active:not(:focus-visible) {
|
|
1575
|
-
outline: none;
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
.c13:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1579
|
-
.c13[aria-disabled=false]:focus-visible {
|
|
1580
|
-
outline: none;
|
|
1581
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1342
|
+
.c12:disabled,
|
|
1343
|
+
.c12[aria-disabled]:not([aria-disabled='false']) {
|
|
1344
|
+
opacity: 0.32;
|
|
1582
1345
|
}
|
|
1583
1346
|
|
|
1584
1347
|
.c0 {
|
|
@@ -1596,46 +1359,60 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1596
1359
|
}
|
|
1597
1360
|
|
|
1598
1361
|
.c6 {
|
|
1599
|
-
height: 40px;
|
|
1600
1362
|
display: grid;
|
|
1601
|
-
|
|
1363
|
+
grid-template-columns: auto 1fr auto;
|
|
1364
|
+
height: 40px;
|
|
1365
|
+
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1366
|
+
transition: 0.2s background-color,0.2s box-shadow;
|
|
1367
|
+
color: var(--charcoal-text2);
|
|
1368
|
+
background-color: var(--charcoal-surface3);
|
|
1369
|
+
border-radius: 4px;
|
|
1370
|
+
gap: 4px;
|
|
1371
|
+
padding: 0 8px;
|
|
1372
|
+
line-height: 22px;
|
|
1373
|
+
font-size: 14px;
|
|
1602
1374
|
}
|
|
1603
1375
|
|
|
1604
|
-
.
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
left: 8px;
|
|
1608
|
-
-webkit-transform: translateY(-50%);
|
|
1609
|
-
-ms-transform: translateY(-50%);
|
|
1610
|
-
transform: translateY(-50%);
|
|
1611
|
-
z-index: 1;
|
|
1376
|
+
.c6:not(:disabled):not([aria-disabled]):hover,
|
|
1377
|
+
.c6 [aria-disabled='false']:hover {
|
|
1378
|
+
background-color: var(--charcoal-surface3-hover);
|
|
1612
1379
|
}
|
|
1613
1380
|
|
|
1614
|
-
.
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1381
|
+
.c6:not(:disabled):not([aria-disabled]):active,
|
|
1382
|
+
.c6 [aria-disabled='false']:active {
|
|
1383
|
+
outline: none;
|
|
1384
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
.c6:focus-within {
|
|
1388
|
+
outline: none;
|
|
1389
|
+
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
.c7 {
|
|
1621
1393
|
display: -webkit-box;
|
|
1622
1394
|
display: -webkit-flex;
|
|
1623
1395
|
display: -ms-flexbox;
|
|
1624
1396
|
display: flex;
|
|
1625
|
-
|
|
1397
|
+
-webkit-align-items: center;
|
|
1398
|
+
-webkit-box-align: center;
|
|
1399
|
+
-ms-flex-align: center;
|
|
1400
|
+
align-items: center;
|
|
1626
1401
|
}
|
|
1627
1402
|
|
|
1628
|
-
.
|
|
1629
|
-
-webkit-
|
|
1630
|
-
-
|
|
1631
|
-
-ms-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1403
|
+
.c10 {
|
|
1404
|
+
display: -webkit-box;
|
|
1405
|
+
display: -webkit-flex;
|
|
1406
|
+
display: -ms-flexbox;
|
|
1407
|
+
display: flex;
|
|
1408
|
+
-webkit-align-items: center;
|
|
1409
|
+
-webkit-box-align: center;
|
|
1410
|
+
-ms-flex-align: center;
|
|
1411
|
+
align-items: center;
|
|
1412
|
+
gap: 8px;
|
|
1636
1413
|
}
|
|
1637
1414
|
|
|
1638
|
-
.
|
|
1415
|
+
.c9 {
|
|
1639
1416
|
border: none;
|
|
1640
1417
|
box-sizing: border-box;
|
|
1641
1418
|
outline: none;
|
|
@@ -1650,64 +1427,42 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1650
1427
|
height: calc(100% / 0.875);
|
|
1651
1428
|
font-size: calc(14px / 0.875);
|
|
1652
1429
|
line-height: calc(22px / 0.875);
|
|
1653
|
-
padding-left:
|
|
1654
|
-
padding-right:
|
|
1430
|
+
padding-left: 0;
|
|
1431
|
+
padding-right: 0;
|
|
1655
1432
|
border-radius: calc(4px / 0.875);
|
|
1656
1433
|
-webkit-appearance: none;
|
|
1657
1434
|
-moz-appearance: none;
|
|
1658
1435
|
appearance: none;
|
|
1659
|
-
background
|
|
1436
|
+
background: transparent;
|
|
1660
1437
|
color: var(--charcoal-text2);
|
|
1661
|
-
-webkit-transition: 0.2s background-color,0.2s box-shadow;
|
|
1662
|
-
transition: 0.2s background-color,0.2s box-shadow;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
.c10:hover:not(:disabled):not([aria-disabled]),
|
|
1666
|
-
.c10:hover[aria-disabled=false] {
|
|
1667
|
-
background-color: var(--charcoal-surface3-hover);
|
|
1668
1438
|
}
|
|
1669
1439
|
|
|
1670
|
-
.
|
|
1671
|
-
.c10[aria-disabled=false]:focus,
|
|
1672
|
-
.c10:not(:disabled):not([aria-disabled]):active,
|
|
1673
|
-
.c10[aria-disabled=false]:active {
|
|
1674
|
-
outline: none;
|
|
1675
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
.c10:not(:disabled):not([aria-disabled]):focus:not(:focus-visible),
|
|
1679
|
-
.c10[aria-disabled=false]:focus:not(:focus-visible),
|
|
1680
|
-
.c10:not(:disabled):not([aria-disabled]):active:not(:focus-visible),
|
|
1681
|
-
.c10[aria-disabled=false]:active:not(:focus-visible) {
|
|
1682
|
-
outline: none;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
.c10:not(:disabled):not([aria-disabled]):focus-visible,
|
|
1686
|
-
.c10[aria-disabled=false]:focus-visible {
|
|
1687
|
-
outline: none;
|
|
1688
|
-
box-shadow: 0 0 0 4px rgba(0,150,250,0.32);
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
.c10::-webkit-input-placeholder {
|
|
1440
|
+
.c9::-webkit-input-placeholder {
|
|
1692
1441
|
color: var(--charcoal-text3);
|
|
1693
1442
|
}
|
|
1694
1443
|
|
|
1695
|
-
.
|
|
1444
|
+
.c9::-moz-placeholder {
|
|
1696
1445
|
color: var(--charcoal-text3);
|
|
1697
1446
|
}
|
|
1698
1447
|
|
|
1699
|
-
.
|
|
1448
|
+
.c9:-ms-input-placeholder {
|
|
1700
1449
|
color: var(--charcoal-text3);
|
|
1701
1450
|
}
|
|
1702
1451
|
|
|
1703
|
-
.
|
|
1452
|
+
.c9::placeholder {
|
|
1704
1453
|
color: var(--charcoal-text3);
|
|
1705
1454
|
}
|
|
1706
1455
|
|
|
1707
|
-
.
|
|
1456
|
+
.c8 {
|
|
1457
|
+
display: -webkit-box;
|
|
1458
|
+
display: -webkit-flex;
|
|
1459
|
+
display: -ms-flexbox;
|
|
1460
|
+
display: flex;
|
|
1461
|
+
-webkit-align-items: center;
|
|
1462
|
+
-webkit-box-align: center;
|
|
1463
|
+
-ms-flex-align: center;
|
|
1464
|
+
align-items: center;
|
|
1708
1465
|
color: #858585;
|
|
1709
|
-
margin-top: 2px;
|
|
1710
|
-
margin-right: 4px;
|
|
1711
1466
|
}
|
|
1712
1467
|
|
|
1713
1468
|
<div
|
|
@@ -1751,48 +1506,39 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
|
|
|
1751
1506
|
<div
|
|
1752
1507
|
className="c6"
|
|
1753
1508
|
>
|
|
1754
|
-
<
|
|
1509
|
+
<div
|
|
1755
1510
|
className="c7"
|
|
1756
1511
|
>
|
|
1757
|
-
<
|
|
1512
|
+
<div
|
|
1758
1513
|
className="c8"
|
|
1759
1514
|
>
|
|
1760
|
-
<
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
/>
|
|
1766
|
-
</div>
|
|
1767
|
-
</span>
|
|
1768
|
-
</span>
|
|
1515
|
+
<pixiv-icon
|
|
1516
|
+
name="16/Search"
|
|
1517
|
+
/>
|
|
1518
|
+
</div>
|
|
1519
|
+
</div>
|
|
1769
1520
|
<input
|
|
1770
1521
|
aria-labelledby="test-id"
|
|
1771
|
-
className="
|
|
1522
|
+
className="c9"
|
|
1772
1523
|
disabled={false}
|
|
1773
1524
|
id="test-id"
|
|
1774
1525
|
onChange={[Function]}
|
|
1775
|
-
placeholder="
|
|
1526
|
+
placeholder="作品を検索"
|
|
1776
1527
|
readOnly={false}
|
|
1777
1528
|
type="text"
|
|
1529
|
+
value=""
|
|
1778
1530
|
/>
|
|
1779
1531
|
<span
|
|
1780
|
-
className="
|
|
1532
|
+
className="c10"
|
|
1781
1533
|
>
|
|
1782
|
-
<
|
|
1783
|
-
className="
|
|
1534
|
+
<button
|
|
1535
|
+
className="c11 c12"
|
|
1536
|
+
onClick={[Function]}
|
|
1784
1537
|
>
|
|
1785
|
-
<
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
width={20}
|
|
1790
|
-
>
|
|
1791
|
-
<pixiv-icon
|
|
1792
|
-
name="16/Remove"
|
|
1793
|
-
/>
|
|
1794
|
-
</button>
|
|
1795
|
-
</span>
|
|
1538
|
+
<pixiv-icon
|
|
1539
|
+
name="16/Remove"
|
|
1540
|
+
/>
|
|
1541
|
+
</button>
|
|
1796
1542
|
</span>
|
|
1797
1543
|
</div>
|
|
1798
1544
|
</div>
|