@digigov/react-core 2.0.0-8de46296 → 2.0.0-b3ec0588
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/Aside/__snapshots__/index.test.tsx.snap +3 -3
- package/CallToAction/__snapshots__/index.test.tsx.snap +6 -6
- package/DropdownButton/__snapshots__/index.test.tsx.snap +36 -36
- package/DropdownButton/index.d.ts +1 -1
- package/Hidden/__snapshots__/index.test.tsx.snap +9 -5
- package/NavListItemAction/index.d.ts +1 -1
- package/NavListItemButton/__snapshots__/index.test.tsx.snap +18 -18
- package/NavListItemButton/index.d.ts +1 -1
- package/PaginationListItem/index.d.ts +1 -1
- package/SvgIcon/__snapshots__/index.test.tsx.snap +62 -62
- package/SvgIcon/index.d.ts +5 -4
- package/SvgIcon/index.js +3 -3
- package/SvgIcon/index.test/index.js +20 -20
- package/TabsHeading/__snapshots__/index.test.tsx.snap +6 -3
- package/cjs/Aside/__snapshots__/index.test.tsx.snap +3 -3
- package/cjs/CallToAction/__snapshots__/index.test.tsx.snap +6 -6
- package/cjs/DropdownButton/__snapshots__/index.test.tsx.snap +36 -36
- package/cjs/Hidden/__snapshots__/index.test.tsx.snap +9 -5
- package/cjs/NavListItemButton/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/SvgIcon/__snapshots__/index.test.tsx.snap +62 -62
- package/cjs/SvgIcon/index.js +3 -3
- package/cjs/SvgIcon/index.test/index.js +20 -20
- package/cjs/TabsHeading/__snapshots__/index.test.tsx.snap +6 -3
- package/index.js +1 -1
- package/package.json +3 -3
- package/src/Aside/__snapshots__/index.test.tsx.snap +3 -3
- package/src/CallToAction/__snapshots__/index.test.tsx.snap +6 -6
- package/src/DropdownButton/__snapshots__/index.test.tsx.snap +36 -36
- package/src/Hidden/__snapshots__/index.test.tsx.snap +9 -5
- package/src/NavListItemButton/__snapshots__/index.test.tsx.snap +18 -18
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +62 -62
- package/src/SvgIcon/index.test.tsx +20 -20
- package/src/SvgIcon/index.tsx +6 -5
- package/src/TabsHeading/__snapshots__/index.test.tsx.snap +6 -3
|
@@ -57,31 +57,31 @@ exports[`renders the DropdownButton with arrow=true 1`] = `
|
|
|
57
57
|
>
|
|
58
58
|
<ForwardRef(Icon)
|
|
59
59
|
direction="down"
|
|
60
|
-
icon="
|
|
60
|
+
icon="chevron"
|
|
61
61
|
>
|
|
62
62
|
<ForwardRef(SvgIcon)
|
|
63
|
-
className="ds-svg-icon--
|
|
63
|
+
className="ds-svg-icon--chevron"
|
|
64
64
|
>
|
|
65
65
|
<ForwardRef(Base)
|
|
66
66
|
aria-hidden="true"
|
|
67
67
|
as="svg"
|
|
68
|
-
className="ds-svg-icon--
|
|
68
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
69
69
|
focusable="false"
|
|
70
70
|
viewBox="0 0 24 24"
|
|
71
71
|
>
|
|
72
72
|
<svg
|
|
73
73
|
aria-hidden="true"
|
|
74
|
-
className="ds-svg-icon--
|
|
74
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
75
75
|
focusable="false"
|
|
76
76
|
viewBox="0 0 24 24"
|
|
77
77
|
>
|
|
78
|
-
<
|
|
78
|
+
<chevron
|
|
79
79
|
direction="down"
|
|
80
80
|
>
|
|
81
81
|
<path
|
|
82
82
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
83
83
|
/>
|
|
84
|
-
</
|
|
84
|
+
</chevron>
|
|
85
85
|
</svg>
|
|
86
86
|
</ForwardRef(Base)>
|
|
87
87
|
</ForwardRef(SvgIcon)>
|
|
@@ -150,31 +150,31 @@ exports[`renders the DropdownButton with color=primary and arrow={true} 1`] = `
|
|
|
150
150
|
>
|
|
151
151
|
<ForwardRef(Icon)
|
|
152
152
|
direction="down"
|
|
153
|
-
icon="
|
|
153
|
+
icon="chevron"
|
|
154
154
|
>
|
|
155
155
|
<ForwardRef(SvgIcon)
|
|
156
|
-
className="ds-svg-icon--
|
|
156
|
+
className="ds-svg-icon--chevron"
|
|
157
157
|
>
|
|
158
158
|
<ForwardRef(Base)
|
|
159
159
|
aria-hidden="true"
|
|
160
160
|
as="svg"
|
|
161
|
-
className="ds-svg-icon--
|
|
161
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
162
162
|
focusable="false"
|
|
163
163
|
viewBox="0 0 24 24"
|
|
164
164
|
>
|
|
165
165
|
<svg
|
|
166
166
|
aria-hidden="true"
|
|
167
|
-
className="ds-svg-icon--
|
|
167
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
168
168
|
focusable="false"
|
|
169
169
|
viewBox="0 0 24 24"
|
|
170
170
|
>
|
|
171
|
-
<
|
|
171
|
+
<chevron
|
|
172
172
|
direction="down"
|
|
173
173
|
>
|
|
174
174
|
<path
|
|
175
175
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
176
176
|
/>
|
|
177
|
-
</
|
|
177
|
+
</chevron>
|
|
178
178
|
</svg>
|
|
179
179
|
</ForwardRef(Base)>
|
|
180
180
|
</ForwardRef(SvgIcon)>
|
|
@@ -286,31 +286,31 @@ exports[`renders the DropdownButton with color=primary variant="button" arrow={t
|
|
|
286
286
|
>
|
|
287
287
|
<ForwardRef(Icon)
|
|
288
288
|
direction="down"
|
|
289
|
-
icon="
|
|
289
|
+
icon="chevron"
|
|
290
290
|
>
|
|
291
291
|
<ForwardRef(SvgIcon)
|
|
292
|
-
className="ds-svg-icon--
|
|
292
|
+
className="ds-svg-icon--chevron"
|
|
293
293
|
>
|
|
294
294
|
<ForwardRef(Base)
|
|
295
295
|
aria-hidden="true"
|
|
296
296
|
as="svg"
|
|
297
|
-
className="ds-svg-icon--
|
|
297
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
298
298
|
focusable="false"
|
|
299
299
|
viewBox="0 0 24 24"
|
|
300
300
|
>
|
|
301
301
|
<svg
|
|
302
302
|
aria-hidden="true"
|
|
303
|
-
className="ds-svg-icon--
|
|
303
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
304
304
|
focusable="false"
|
|
305
305
|
viewBox="0 0 24 24"
|
|
306
306
|
>
|
|
307
|
-
<
|
|
307
|
+
<chevron
|
|
308
308
|
direction="down"
|
|
309
309
|
>
|
|
310
310
|
<path
|
|
311
311
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
312
312
|
/>
|
|
313
|
-
</
|
|
313
|
+
</chevron>
|
|
314
314
|
</svg>
|
|
315
315
|
</ForwardRef(Base)>
|
|
316
316
|
</ForwardRef(SvgIcon)>
|
|
@@ -362,31 +362,31 @@ exports[`renders the DropdownButton with color=primary variant="link" arrow={tru
|
|
|
362
362
|
>
|
|
363
363
|
<ForwardRef(Icon)
|
|
364
364
|
direction="down"
|
|
365
|
-
icon="
|
|
365
|
+
icon="chevron"
|
|
366
366
|
>
|
|
367
367
|
<ForwardRef(SvgIcon)
|
|
368
|
-
className="ds-svg-icon--
|
|
368
|
+
className="ds-svg-icon--chevron"
|
|
369
369
|
>
|
|
370
370
|
<ForwardRef(Base)
|
|
371
371
|
aria-hidden="true"
|
|
372
372
|
as="svg"
|
|
373
|
-
className="ds-svg-icon--
|
|
373
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
374
374
|
focusable="false"
|
|
375
375
|
viewBox="0 0 24 24"
|
|
376
376
|
>
|
|
377
377
|
<svg
|
|
378
378
|
aria-hidden="true"
|
|
379
|
-
className="ds-svg-icon--
|
|
379
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
380
380
|
focusable="false"
|
|
381
381
|
viewBox="0 0 24 24"
|
|
382
382
|
>
|
|
383
|
-
<
|
|
383
|
+
<chevron
|
|
384
384
|
direction="down"
|
|
385
385
|
>
|
|
386
386
|
<path
|
|
387
387
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
388
388
|
/>
|
|
389
|
-
</
|
|
389
|
+
</chevron>
|
|
390
390
|
</svg>
|
|
391
391
|
</ForwardRef(Base)>
|
|
392
392
|
</ForwardRef(SvgIcon)>
|
|
@@ -455,31 +455,31 @@ exports[`renders the DropdownButton with color=secondary and arrow={true} 1`] =
|
|
|
455
455
|
>
|
|
456
456
|
<ForwardRef(Icon)
|
|
457
457
|
direction="down"
|
|
458
|
-
icon="
|
|
458
|
+
icon="chevron"
|
|
459
459
|
>
|
|
460
460
|
<ForwardRef(SvgIcon)
|
|
461
|
-
className="ds-svg-icon--
|
|
461
|
+
className="ds-svg-icon--chevron"
|
|
462
462
|
>
|
|
463
463
|
<ForwardRef(Base)
|
|
464
464
|
aria-hidden="true"
|
|
465
465
|
as="svg"
|
|
466
|
-
className="ds-svg-icon--
|
|
466
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
467
467
|
focusable="false"
|
|
468
468
|
viewBox="0 0 24 24"
|
|
469
469
|
>
|
|
470
470
|
<svg
|
|
471
471
|
aria-hidden="true"
|
|
472
|
-
className="ds-svg-icon--
|
|
472
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
473
473
|
focusable="false"
|
|
474
474
|
viewBox="0 0 24 24"
|
|
475
475
|
>
|
|
476
|
-
<
|
|
476
|
+
<chevron
|
|
477
477
|
direction="down"
|
|
478
478
|
>
|
|
479
479
|
<path
|
|
480
480
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
481
481
|
/>
|
|
482
|
-
</
|
|
482
|
+
</chevron>
|
|
483
483
|
</svg>
|
|
484
484
|
</ForwardRef(Base)>
|
|
485
485
|
</ForwardRef(SvgIcon)>
|
|
@@ -552,31 +552,31 @@ exports[`renders the DropdownButton with color=warning variant="button" arrow={t
|
|
|
552
552
|
>
|
|
553
553
|
<ForwardRef(Icon)
|
|
554
554
|
direction="down"
|
|
555
|
-
icon="
|
|
555
|
+
icon="chevron"
|
|
556
556
|
>
|
|
557
557
|
<ForwardRef(SvgIcon)
|
|
558
|
-
className="ds-svg-icon--
|
|
558
|
+
className="ds-svg-icon--chevron"
|
|
559
559
|
>
|
|
560
560
|
<ForwardRef(Base)
|
|
561
561
|
aria-hidden="true"
|
|
562
562
|
as="svg"
|
|
563
|
-
className="ds-svg-icon--
|
|
563
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
564
564
|
focusable="false"
|
|
565
565
|
viewBox="0 0 24 24"
|
|
566
566
|
>
|
|
567
567
|
<svg
|
|
568
568
|
aria-hidden="true"
|
|
569
|
-
className="ds-svg-icon--
|
|
569
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
570
570
|
focusable="false"
|
|
571
571
|
viewBox="0 0 24 24"
|
|
572
572
|
>
|
|
573
|
-
<
|
|
573
|
+
<chevron
|
|
574
574
|
direction="down"
|
|
575
575
|
>
|
|
576
576
|
<path
|
|
577
577
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
578
578
|
/>
|
|
579
|
-
</
|
|
579
|
+
</chevron>
|
|
580
580
|
</svg>
|
|
581
581
|
</ForwardRef(Base)>
|
|
582
582
|
</ForwardRef(SvgIcon)>
|
|
@@ -6,7 +6,8 @@ exports[`renders the Hidden with \`lgUp\` props 1`] = `
|
|
|
6
6
|
>
|
|
7
7
|
<ForwardRef(Base)
|
|
8
8
|
as="div"
|
|
9
|
-
|
|
9
|
+
lgUpHidden={true}
|
|
10
|
+
xsUpHidden={false}
|
|
10
11
|
>
|
|
11
12
|
<div
|
|
12
13
|
className="ds-hidden-lg--up"
|
|
@@ -25,7 +26,8 @@ exports[`renders the Hidden with \`mdUp\` props 1`] = `
|
|
|
25
26
|
>
|
|
26
27
|
<ForwardRef(Base)
|
|
27
28
|
as="div"
|
|
28
|
-
|
|
29
|
+
mdUpHidden={true}
|
|
30
|
+
xsUpHidden={false}
|
|
29
31
|
>
|
|
30
32
|
<div
|
|
31
33
|
className="ds-hidden-md--up"
|
|
@@ -44,7 +46,8 @@ exports[`renders the Hidden with \`smUp\` props 1`] = `
|
|
|
44
46
|
>
|
|
45
47
|
<ForwardRef(Base)
|
|
46
48
|
as="div"
|
|
47
|
-
|
|
49
|
+
smUpHidden={true}
|
|
50
|
+
xsUpHidden={false}
|
|
48
51
|
>
|
|
49
52
|
<div
|
|
50
53
|
className="ds-hidden-sm--up"
|
|
@@ -63,7 +66,8 @@ exports[`renders the Hidden with \`xlUp\` props 1`] = `
|
|
|
63
66
|
>
|
|
64
67
|
<ForwardRef(Base)
|
|
65
68
|
as="div"
|
|
66
|
-
|
|
69
|
+
xlUpHidden={true}
|
|
70
|
+
xsUpHidden={false}
|
|
67
71
|
>
|
|
68
72
|
<div
|
|
69
73
|
className="ds-hidden-xl--up"
|
|
@@ -82,7 +86,7 @@ exports[`renders the Hidden with \`xsUp\` props 1`] = `
|
|
|
82
86
|
>
|
|
83
87
|
<ForwardRef(Base)
|
|
84
88
|
as="div"
|
|
85
|
-
|
|
89
|
+
xsUpHidden={true}
|
|
86
90
|
>
|
|
87
91
|
<div
|
|
88
92
|
className="ds-hidden-xs--up"
|
|
@@ -25,31 +25,31 @@ exports[`renders the NavListItemButton with active=false 1`] = `
|
|
|
25
25
|
>
|
|
26
26
|
<ForwardRef(Icon)
|
|
27
27
|
direction="down"
|
|
28
|
-
icon="
|
|
28
|
+
icon="chevron"
|
|
29
29
|
>
|
|
30
30
|
<ForwardRef(SvgIcon)
|
|
31
|
-
className="ds-svg-icon--
|
|
31
|
+
className="ds-svg-icon--chevron"
|
|
32
32
|
>
|
|
33
33
|
<ForwardRef(Base)
|
|
34
34
|
aria-hidden="true"
|
|
35
35
|
as="svg"
|
|
36
|
-
className="ds-svg-icon--
|
|
36
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
37
37
|
focusable="false"
|
|
38
38
|
viewBox="0 0 24 24"
|
|
39
39
|
>
|
|
40
40
|
<svg
|
|
41
41
|
aria-hidden="true"
|
|
42
|
-
className="ds-svg-icon--
|
|
42
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
43
43
|
focusable="false"
|
|
44
44
|
viewBox="0 0 24 24"
|
|
45
45
|
>
|
|
46
|
-
<
|
|
46
|
+
<chevron
|
|
47
47
|
direction="down"
|
|
48
48
|
>
|
|
49
49
|
<path
|
|
50
50
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
51
51
|
/>
|
|
52
|
-
</
|
|
52
|
+
</chevron>
|
|
53
53
|
</svg>
|
|
54
54
|
</ForwardRef(Base)>
|
|
55
55
|
</ForwardRef(SvgIcon)>
|
|
@@ -86,31 +86,31 @@ exports[`renders the NavListItemButton with active=true 1`] = `
|
|
|
86
86
|
>
|
|
87
87
|
<ForwardRef(Icon)
|
|
88
88
|
direction="up"
|
|
89
|
-
icon="
|
|
89
|
+
icon="chevron"
|
|
90
90
|
>
|
|
91
91
|
<ForwardRef(SvgIcon)
|
|
92
|
-
className="ds-svg-icon--
|
|
92
|
+
className="ds-svg-icon--chevron"
|
|
93
93
|
>
|
|
94
94
|
<ForwardRef(Base)
|
|
95
95
|
aria-hidden="true"
|
|
96
96
|
as="svg"
|
|
97
|
-
className="ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
98
98
|
focusable="false"
|
|
99
99
|
viewBox="0 0 24 24"
|
|
100
100
|
>
|
|
101
101
|
<svg
|
|
102
102
|
aria-hidden="true"
|
|
103
|
-
className="ds-svg-icon--
|
|
103
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
104
104
|
focusable="false"
|
|
105
105
|
viewBox="0 0 24 24"
|
|
106
106
|
>
|
|
107
|
-
<
|
|
107
|
+
<chevron
|
|
108
108
|
direction="up"
|
|
109
109
|
>
|
|
110
110
|
<path
|
|
111
111
|
d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
|
|
112
112
|
/>
|
|
113
|
-
</
|
|
113
|
+
</chevron>
|
|
114
114
|
</svg>
|
|
115
115
|
</ForwardRef(Base)>
|
|
116
116
|
</ForwardRef(SvgIcon)>
|
|
@@ -142,31 +142,31 @@ exports[`renders the NavListItemButton with no props 1`] = `
|
|
|
142
142
|
>
|
|
143
143
|
<ForwardRef(Icon)
|
|
144
144
|
direction="down"
|
|
145
|
-
icon="
|
|
145
|
+
icon="chevron"
|
|
146
146
|
>
|
|
147
147
|
<ForwardRef(SvgIcon)
|
|
148
|
-
className="ds-svg-icon--
|
|
148
|
+
className="ds-svg-icon--chevron"
|
|
149
149
|
>
|
|
150
150
|
<ForwardRef(Base)
|
|
151
151
|
aria-hidden="true"
|
|
152
152
|
as="svg"
|
|
153
|
-
className="ds-svg-icon--
|
|
153
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
154
154
|
focusable="false"
|
|
155
155
|
viewBox="0 0 24 24"
|
|
156
156
|
>
|
|
157
157
|
<svg
|
|
158
158
|
aria-hidden="true"
|
|
159
|
-
className="ds-svg-icon--
|
|
159
|
+
className="ds-svg-icon--chevron ds-svg-icon"
|
|
160
160
|
focusable="false"
|
|
161
161
|
viewBox="0 0 24 24"
|
|
162
162
|
>
|
|
163
|
-
<
|
|
163
|
+
<chevron
|
|
164
164
|
direction="down"
|
|
165
165
|
>
|
|
166
166
|
<path
|
|
167
167
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
168
168
|
/>
|
|
169
|
-
</
|
|
169
|
+
</chevron>
|
|
170
170
|
</svg>
|
|
171
171
|
</ForwardRef(Base)>
|
|
172
172
|
</ForwardRef(SvgIcon)>
|