@nypl/design-system-react-components 0.26.0 → 0.26.1
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/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,16 @@ Currently, this repo is in Prerelease. When it is released, this project will ad
|
|
|
8
8
|
|
|
9
9
|
## Prerelease
|
|
10
10
|
|
|
11
|
+
## 0.26.1 (April 22, 2022)
|
|
12
|
+
|
|
13
|
+
### Updates
|
|
14
|
+
|
|
15
|
+
- Updates storybook URL from /reservoir/v0_26 to /reservoir/v0.
|
|
16
|
+
|
|
17
|
+
### Fixes
|
|
18
|
+
|
|
19
|
+
- Adds updated package-lock file to fix bad installations.
|
|
20
|
+
|
|
11
21
|
## 0.26.0 (April 22, 2022)
|
|
12
22
|
|
|
13
23
|
### Adds
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nypl/design-system-react-components",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "NYPL Reservoir Design System React Components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"analyze": "size-limit --why",
|
|
34
34
|
"generate-sass-resources": "gulp",
|
|
35
35
|
"storybook": "start-storybook -p 6006 -s ./.storybook/public",
|
|
36
|
-
"build-storybook:
|
|
36
|
+
"build-storybook:v0": "npm run prebuild:storybook && build-storybook -c .storybook -o ./reservoir/v0",
|
|
37
37
|
"prebuild:storybook": "npm run test:generate-output"
|
|
38
38
|
},
|
|
39
39
|
"lint-staged": {
|
|
@@ -360,7 +360,7 @@ exports[`Card Renders the UI snapshot correctly 5`] = `
|
|
|
360
360
|
|
|
361
361
|
exports[`Card Renders the UI snapshot correctly 6`] = `
|
|
362
362
|
<div
|
|
363
|
-
className="chakra-linkbox css-
|
|
363
|
+
className="chakra-linkbox css-hng3kb"
|
|
364
364
|
>
|
|
365
365
|
<div
|
|
366
366
|
className="css-1xdhyk6"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Checkbox Renders the UI snapshot correctly 1`] = `
|
|
4
4
|
<label
|
|
5
|
-
className="chakra-checkbox css-
|
|
5
|
+
className="chakra-checkbox css-scawxr"
|
|
6
6
|
onClick={[Function]}
|
|
7
7
|
>
|
|
8
8
|
<input
|
|
@@ -65,7 +65,7 @@ exports[`Checkbox Renders the UI snapshot correctly 1`] = `
|
|
|
65
65
|
|
|
66
66
|
exports[`Checkbox Renders the UI snapshot correctly 2`] = `
|
|
67
67
|
<label
|
|
68
|
-
className="chakra-checkbox css-
|
|
68
|
+
className="chakra-checkbox css-scawxr"
|
|
69
69
|
data-checked=""
|
|
70
70
|
onClick={[Function]}
|
|
71
71
|
>
|
|
@@ -131,7 +131,7 @@ exports[`Checkbox Renders the UI snapshot correctly 2`] = `
|
|
|
131
131
|
|
|
132
132
|
exports[`Checkbox Renders the UI snapshot correctly 3`] = `
|
|
133
133
|
<label
|
|
134
|
-
className="chakra-checkbox css-
|
|
134
|
+
className="chakra-checkbox css-scawxr"
|
|
135
135
|
data-checked=""
|
|
136
136
|
onClick={[Function]}
|
|
137
137
|
>
|
|
@@ -219,7 +219,7 @@ exports[`Checkbox Renders the UI snapshot correctly 3`] = `
|
|
|
219
219
|
|
|
220
220
|
exports[`Checkbox Renders the UI snapshot correctly 4`] = `
|
|
221
221
|
<label
|
|
222
|
-
className="chakra-checkbox css-
|
|
222
|
+
className="chakra-checkbox css-scawxr"
|
|
223
223
|
onClick={[Function]}
|
|
224
224
|
>
|
|
225
225
|
<input
|
|
@@ -282,7 +282,7 @@ exports[`Checkbox Renders the UI snapshot correctly 4`] = `
|
|
|
282
282
|
|
|
283
283
|
exports[`Checkbox Renders the UI snapshot correctly 5`] = `
|
|
284
284
|
<label
|
|
285
|
-
className="chakra-checkbox css-
|
|
285
|
+
className="chakra-checkbox css-scawxr"
|
|
286
286
|
data-invalid=""
|
|
287
287
|
onClick={[Function]}
|
|
288
288
|
>
|
|
@@ -348,7 +348,7 @@ exports[`Checkbox Renders the UI snapshot correctly 5`] = `
|
|
|
348
348
|
|
|
349
349
|
exports[`Checkbox Renders the UI snapshot correctly 6`] = `
|
|
350
350
|
<label
|
|
351
|
-
className="chakra-checkbox css-
|
|
351
|
+
className="chakra-checkbox css-scawxr"
|
|
352
352
|
data-disabled=""
|
|
353
353
|
onClick={[Function]}
|
|
354
354
|
>
|
|
@@ -414,7 +414,7 @@ exports[`Checkbox Renders the UI snapshot correctly 6`] = `
|
|
|
414
414
|
|
|
415
415
|
exports[`Checkbox Renders the UI snapshot correctly 7`] = `
|
|
416
416
|
<label
|
|
417
|
-
className="chakra-checkbox css-
|
|
417
|
+
className="chakra-checkbox css-scawxr"
|
|
418
418
|
onClick={[Function]}
|
|
419
419
|
>
|
|
420
420
|
<input
|
|
@@ -490,7 +490,7 @@ exports[`Checkbox Renders the UI snapshot correctly 7`] = `
|
|
|
490
490
|
|
|
491
491
|
exports[`Checkbox Renders the UI snapshot correctly 8`] = `
|
|
492
492
|
<label
|
|
493
|
-
className="chakra-checkbox css-
|
|
493
|
+
className="chakra-checkbox css-wkfjn4"
|
|
494
494
|
onClick={[Function]}
|
|
495
495
|
>
|
|
496
496
|
<input
|
|
@@ -553,7 +553,7 @@ exports[`Checkbox Renders the UI snapshot correctly 8`] = `
|
|
|
553
553
|
|
|
554
554
|
exports[`Checkbox Renders the UI snapshot correctly 9`] = `
|
|
555
555
|
<label
|
|
556
|
-
className="chakra-checkbox css-
|
|
556
|
+
className="chakra-checkbox css-scawxr"
|
|
557
557
|
data-testid="testid"
|
|
558
558
|
onClick={[Function]}
|
|
559
559
|
>
|
|
@@ -15,7 +15,7 @@ exports[`Checkbox renders the UI snapshot correctly 1`] = `
|
|
|
15
15
|
id="column"
|
|
16
16
|
>
|
|
17
17
|
<label
|
|
18
|
-
className="chakra-checkbox css-
|
|
18
|
+
className="chakra-checkbox css-scawxr"
|
|
19
19
|
onClick={[Function]}
|
|
20
20
|
>
|
|
21
21
|
<input
|
|
@@ -76,7 +76,7 @@ exports[`Checkbox renders the UI snapshot correctly 1`] = `
|
|
|
76
76
|
</span>
|
|
77
77
|
</label>
|
|
78
78
|
<label
|
|
79
|
-
className="chakra-checkbox css-
|
|
79
|
+
className="chakra-checkbox css-scawxr"
|
|
80
80
|
onClick={[Function]}
|
|
81
81
|
>
|
|
82
82
|
<input
|
|
@@ -155,7 +155,7 @@ exports[`Checkbox renders the UI snapshot correctly 2`] = `
|
|
|
155
155
|
id="row"
|
|
156
156
|
>
|
|
157
157
|
<label
|
|
158
|
-
className="chakra-checkbox css-
|
|
158
|
+
className="chakra-checkbox css-scawxr"
|
|
159
159
|
onClick={[Function]}
|
|
160
160
|
>
|
|
161
161
|
<input
|
|
@@ -216,7 +216,7 @@ exports[`Checkbox renders the UI snapshot correctly 2`] = `
|
|
|
216
216
|
</span>
|
|
217
217
|
</label>
|
|
218
218
|
<label
|
|
219
|
-
className="chakra-checkbox css-
|
|
219
|
+
className="chakra-checkbox css-scawxr"
|
|
220
220
|
onClick={[Function]}
|
|
221
221
|
>
|
|
222
222
|
<input
|
|
@@ -295,7 +295,7 @@ exports[`Checkbox renders the UI snapshot correctly 3`] = `
|
|
|
295
295
|
id="noLabel"
|
|
296
296
|
>
|
|
297
297
|
<label
|
|
298
|
-
className="chakra-checkbox css-
|
|
298
|
+
className="chakra-checkbox css-scawxr"
|
|
299
299
|
onClick={[Function]}
|
|
300
300
|
>
|
|
301
301
|
<input
|
|
@@ -356,7 +356,7 @@ exports[`Checkbox renders the UI snapshot correctly 3`] = `
|
|
|
356
356
|
</span>
|
|
357
357
|
</label>
|
|
358
358
|
<label
|
|
359
|
-
className="chakra-checkbox css-
|
|
359
|
+
className="chakra-checkbox css-scawxr"
|
|
360
360
|
onClick={[Function]}
|
|
361
361
|
>
|
|
362
362
|
<input
|
|
@@ -435,7 +435,7 @@ exports[`Checkbox renders the UI snapshot correctly 4`] = `
|
|
|
435
435
|
id="helperText"
|
|
436
436
|
>
|
|
437
437
|
<label
|
|
438
|
-
className="chakra-checkbox css-
|
|
438
|
+
className="chakra-checkbox css-scawxr"
|
|
439
439
|
onClick={[Function]}
|
|
440
440
|
>
|
|
441
441
|
<input
|
|
@@ -496,7 +496,7 @@ exports[`Checkbox renders the UI snapshot correctly 4`] = `
|
|
|
496
496
|
</span>
|
|
497
497
|
</label>
|
|
498
498
|
<label
|
|
499
|
-
className="chakra-checkbox css-
|
|
499
|
+
className="chakra-checkbox css-scawxr"
|
|
500
500
|
onClick={[Function]}
|
|
501
501
|
>
|
|
502
502
|
<input
|
|
@@ -587,7 +587,7 @@ exports[`Checkbox renders the UI snapshot correctly 5`] = `
|
|
|
587
587
|
id="invalidText"
|
|
588
588
|
>
|
|
589
589
|
<label
|
|
590
|
-
className="chakra-checkbox css-
|
|
590
|
+
className="chakra-checkbox css-scawxr"
|
|
591
591
|
onClick={[Function]}
|
|
592
592
|
>
|
|
593
593
|
<input
|
|
@@ -648,7 +648,7 @@ exports[`Checkbox renders the UI snapshot correctly 5`] = `
|
|
|
648
648
|
</span>
|
|
649
649
|
</label>
|
|
650
650
|
<label
|
|
651
|
-
className="chakra-checkbox css-
|
|
651
|
+
className="chakra-checkbox css-scawxr"
|
|
652
652
|
onClick={[Function]}
|
|
653
653
|
>
|
|
654
654
|
<input
|
|
@@ -727,7 +727,7 @@ exports[`Checkbox renders the UI snapshot correctly 6`] = `
|
|
|
727
727
|
id="noRequiredLabel"
|
|
728
728
|
>
|
|
729
729
|
<label
|
|
730
|
-
className="chakra-checkbox css-
|
|
730
|
+
className="chakra-checkbox css-scawxr"
|
|
731
731
|
onClick={[Function]}
|
|
732
732
|
>
|
|
733
733
|
<input
|
|
@@ -788,7 +788,7 @@ exports[`Checkbox renders the UI snapshot correctly 6`] = `
|
|
|
788
788
|
</span>
|
|
789
789
|
</label>
|
|
790
790
|
<label
|
|
791
|
-
className="chakra-checkbox css-
|
|
791
|
+
className="chakra-checkbox css-scawxr"
|
|
792
792
|
onClick={[Function]}
|
|
793
793
|
>
|
|
794
794
|
<input
|
|
@@ -870,7 +870,7 @@ exports[`Checkbox renders the UI snapshot correctly 7`] = `
|
|
|
870
870
|
id="required"
|
|
871
871
|
>
|
|
872
872
|
<label
|
|
873
|
-
className="chakra-checkbox css-
|
|
873
|
+
className="chakra-checkbox css-scawxr"
|
|
874
874
|
onClick={[Function]}
|
|
875
875
|
>
|
|
876
876
|
<input
|
|
@@ -931,7 +931,7 @@ exports[`Checkbox renders the UI snapshot correctly 7`] = `
|
|
|
931
931
|
</span>
|
|
932
932
|
</label>
|
|
933
933
|
<label
|
|
934
|
-
className="chakra-checkbox css-
|
|
934
|
+
className="chakra-checkbox css-scawxr"
|
|
935
935
|
onClick={[Function]}
|
|
936
936
|
>
|
|
937
937
|
<input
|
|
@@ -1010,7 +1010,7 @@ exports[`Checkbox renders the UI snapshot correctly 8`] = `
|
|
|
1010
1010
|
id="invalid"
|
|
1011
1011
|
>
|
|
1012
1012
|
<label
|
|
1013
|
-
className="chakra-checkbox css-
|
|
1013
|
+
className="chakra-checkbox css-scawxr"
|
|
1014
1014
|
data-invalid=""
|
|
1015
1015
|
onClick={[Function]}
|
|
1016
1016
|
>
|
|
@@ -1074,7 +1074,7 @@ exports[`Checkbox renders the UI snapshot correctly 8`] = `
|
|
|
1074
1074
|
</span>
|
|
1075
1075
|
</label>
|
|
1076
1076
|
<label
|
|
1077
|
-
className="chakra-checkbox css-
|
|
1077
|
+
className="chakra-checkbox css-scawxr"
|
|
1078
1078
|
data-invalid=""
|
|
1079
1079
|
onClick={[Function]}
|
|
1080
1080
|
>
|
|
@@ -1156,7 +1156,7 @@ exports[`Checkbox renders the UI snapshot correctly 9`] = `
|
|
|
1156
1156
|
id="disabled"
|
|
1157
1157
|
>
|
|
1158
1158
|
<label
|
|
1159
|
-
className="chakra-checkbox css-
|
|
1159
|
+
className="chakra-checkbox css-scawxr"
|
|
1160
1160
|
data-disabled=""
|
|
1161
1161
|
onClick={[Function]}
|
|
1162
1162
|
>
|
|
@@ -1220,7 +1220,7 @@ exports[`Checkbox renders the UI snapshot correctly 9`] = `
|
|
|
1220
1220
|
</span>
|
|
1221
1221
|
</label>
|
|
1222
1222
|
<label
|
|
1223
|
-
className="chakra-checkbox css-
|
|
1223
|
+
className="chakra-checkbox css-scawxr"
|
|
1224
1224
|
data-disabled=""
|
|
1225
1225
|
onClick={[Function]}
|
|
1226
1226
|
>
|
|
@@ -1302,7 +1302,7 @@ exports[`Checkbox renders the UI snapshot correctly 10`] = `
|
|
|
1302
1302
|
id="jsxLabels"
|
|
1303
1303
|
>
|
|
1304
1304
|
<label
|
|
1305
|
-
className="chakra-checkbox css-
|
|
1305
|
+
className="chakra-checkbox css-scawxr"
|
|
1306
1306
|
onClick={[Function]}
|
|
1307
1307
|
>
|
|
1308
1308
|
<input
|
|
@@ -1375,7 +1375,7 @@ exports[`Checkbox renders the UI snapshot correctly 10`] = `
|
|
|
1375
1375
|
</span>
|
|
1376
1376
|
</label>
|
|
1377
1377
|
<label
|
|
1378
|
-
className="chakra-checkbox css-
|
|
1378
|
+
className="chakra-checkbox css-scawxr"
|
|
1379
1379
|
onClick={[Function]}
|
|
1380
1380
|
>
|
|
1381
1381
|
<input
|
|
@@ -1466,7 +1466,7 @@ exports[`Checkbox renders the UI snapshot correctly 11`] = `
|
|
|
1466
1466
|
id="chakraProps"
|
|
1467
1467
|
>
|
|
1468
1468
|
<label
|
|
1469
|
-
className="chakra-checkbox css-
|
|
1469
|
+
className="chakra-checkbox css-scawxr"
|
|
1470
1470
|
onClick={[Function]}
|
|
1471
1471
|
>
|
|
1472
1472
|
<input
|
|
@@ -1527,7 +1527,7 @@ exports[`Checkbox renders the UI snapshot correctly 11`] = `
|
|
|
1527
1527
|
</span>
|
|
1528
1528
|
</label>
|
|
1529
1529
|
<label
|
|
1530
|
-
className="chakra-checkbox css-
|
|
1530
|
+
className="chakra-checkbox css-scawxr"
|
|
1531
1531
|
onClick={[Function]}
|
|
1532
1532
|
>
|
|
1533
1533
|
<input
|
|
@@ -1607,7 +1607,7 @@ exports[`Checkbox renders the UI snapshot correctly 12`] = `
|
|
|
1607
1607
|
id="otherProps"
|
|
1608
1608
|
>
|
|
1609
1609
|
<label
|
|
1610
|
-
className="chakra-checkbox css-
|
|
1610
|
+
className="chakra-checkbox css-scawxr"
|
|
1611
1611
|
onClick={[Function]}
|
|
1612
1612
|
>
|
|
1613
1613
|
<input
|
|
@@ -1668,7 +1668,7 @@ exports[`Checkbox renders the UI snapshot correctly 12`] = `
|
|
|
1668
1668
|
</span>
|
|
1669
1669
|
</label>
|
|
1670
1670
|
<label
|
|
1671
|
-
className="chakra-checkbox css-
|
|
1671
|
+
className="chakra-checkbox css-scawxr"
|
|
1672
1672
|
onClick={[Function]}
|
|
1673
1673
|
>
|
|
1674
1674
|
<input
|