@digigov/react-icons 2.0.0-af1b5f33 → 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/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/AccessibilityIcon/index.test/index.js +12 -12
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/BurgerIcon/index.test/index.js +8 -8
- package/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/CancelIcon/index.test/index.js +8 -8
- package/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ChatIcon/index.test/index.js +8 -8
- package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/CheckIcon/index.test/index.js +10 -10
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/DownloadIcon/index.test/index.js +8 -8
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/ExclamationIcon/index.test/index.js +8 -8
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/GlobeIcon/index.test/index.js +6 -6
- package/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LockIcon/index.test/index.js +8 -8
- package/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LoginIcon/index.test/index.js +8 -8
- package/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/MinusIcon/index.test/index.js +8 -8
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/MoreVertIcon/index.test/index.js +12 -12
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PdfFileIcon/index.test/index.js +8 -8
- package/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PlusIcon/index.test/index.js +8 -8
- package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/PrintIcon/config/index.js +15 -0
- package/PrintIcon/config/package.json +6 -0
- package/PrintIcon/config.d.ts +8 -0
- package/PrintIcon/index.d.ts +4 -0
- package/PrintIcon/index.js +9 -0
- package/PrintIcon/index.test/index.js +45 -0
- package/PrintIcon/index.test/package.json +6 -0
- package/PrintIcon/index.test.d.ts +1 -0
- package/PrintIcon/package.json +6 -0
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ReplyIcon/index.test/index.js +8 -8
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/RestoreIcon/index.test/index.js +8 -8
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/UncheckIcon/index.test/index.js +12 -12
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/AccessibilityIcon/index.test/index.js +12 -12
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/cjs/BurgerIcon/index.test/index.js +8 -8
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/CancelIcon/index.test/index.js +8 -8
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ChatIcon/index.test/index.js +8 -8
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/cjs/CheckIcon/index.test/index.js +10 -10
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/DownloadIcon/index.test/index.js +8 -8
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/cjs/ExclamationIcon/index.test/index.js +8 -8
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/GlobeIcon/index.test/index.js +6 -6
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LockIcon/index.test/index.js +8 -8
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LoginIcon/index.test/index.js +8 -8
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/MinusIcon/index.test/index.js +8 -8
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/MoreVertIcon/index.test/index.js +12 -12
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PdfFileIcon/index.test/index.js +8 -8
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PlusIcon/index.test/index.js +8 -8
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/cjs/PrintIcon/config/index.js +23 -0
- package/cjs/PrintIcon/index.js +16 -0
- package/cjs/PrintIcon/index.test/index.js +48 -0
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ReplyIcon/index.test/index.js +8 -8
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/RestoreIcon/index.test/index.js +8 -8
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/cjs/UncheckIcon/index.test/index.js +12 -12
- package/cjs/icons/index.js +11 -0
- package/cjs/index.js +11 -0
- package/cjs/registry/index.js +5 -3
- package/icons/index.js +1 -0
- package/icons.d.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +3 -2
- package/package.json +3 -3
- package/registry/index.js +5 -3
- package/registry.d.ts +2 -1
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/AccessibilityIcon/index.test.tsx +12 -12
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/src/BurgerIcon/index.test.tsx +8 -8
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/CancelIcon/index.test.tsx +8 -8
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ChatIcon/index.test.tsx +8 -8
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/src/CheckIcon/index.test.tsx +10 -10
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/DownloadIcon/index.test.tsx +8 -8
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/src/ExclamationIcon/index.test.tsx +8 -8
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/GlobeIcon/index.test.tsx +6 -6
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LockIcon/index.test.tsx +8 -8
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LoginIcon/index.test.tsx +8 -8
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/MinusIcon/index.test.tsx +8 -8
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/MoreVertIcon/index.test.tsx +12 -12
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PdfFileIcon/index.test.tsx +8 -8
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PlusIcon/index.test.tsx +8 -8
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/src/PrintIcon/config.tsx +16 -0
- package/src/PrintIcon/index.test.tsx +26 -0
- package/src/PrintIcon/index.tsx +8 -0
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ReplyIcon/index.test.tsx +8 -8
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/RestoreIcon/index.test.tsx +8 -8
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/src/UncheckIcon/index.test.tsx +12 -12
- package/src/icons.ts +3 -0
- package/src/index.ts +1 -0
- package/src/registry.js +6 -4
|
@@ -46,28 +46,31 @@ exports[`renders the PdfFileIcon with no props 1`] = `
|
|
|
46
46
|
</PdfFileIcon>
|
|
47
47
|
`;
|
|
48
48
|
|
|
49
|
-
exports[`renders the PdfFileIcon with prop size=
|
|
49
|
+
exports[`renders the PdfFileIcon with prop color=error and size= xl 1`] = `
|
|
50
50
|
<PdfFileIcon
|
|
51
|
-
|
|
51
|
+
color="warning"
|
|
52
|
+
size="xl"
|
|
52
53
|
>
|
|
53
54
|
<ForwardRef(Icon)
|
|
55
|
+
color="warning"
|
|
54
56
|
icon="pdfFile"
|
|
55
|
-
size="
|
|
57
|
+
size="xl"
|
|
56
58
|
>
|
|
57
59
|
<ForwardRef(SvgIcon)
|
|
58
60
|
className="ds-svg-icon--pdfFile"
|
|
59
|
-
|
|
61
|
+
color="warning"
|
|
62
|
+
size="xl"
|
|
60
63
|
>
|
|
61
64
|
<ForwardRef(Base)
|
|
62
65
|
aria-hidden="true"
|
|
63
66
|
as="svg"
|
|
64
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
67
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
65
68
|
focusable="false"
|
|
66
69
|
viewBox="0 0 24 24"
|
|
67
70
|
>
|
|
68
71
|
<svg
|
|
69
72
|
aria-hidden="true"
|
|
70
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
73
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
71
74
|
focusable="false"
|
|
72
75
|
viewBox="0 0 24 24"
|
|
73
76
|
>
|
|
@@ -96,28 +99,28 @@ exports[`renders the PdfFileIcon with prop size=m 1`] = `
|
|
|
96
99
|
</PdfFileIcon>
|
|
97
100
|
`;
|
|
98
101
|
|
|
99
|
-
exports[`renders the PdfFileIcon with prop
|
|
102
|
+
exports[`renders the PdfFileIcon with prop color=light 1`] = `
|
|
100
103
|
<PdfFileIcon
|
|
101
|
-
|
|
104
|
+
color="light"
|
|
102
105
|
>
|
|
103
106
|
<ForwardRef(Icon)
|
|
107
|
+
color="light"
|
|
104
108
|
icon="pdfFile"
|
|
105
|
-
size="xl"
|
|
106
109
|
>
|
|
107
110
|
<ForwardRef(SvgIcon)
|
|
108
111
|
className="ds-svg-icon--pdfFile"
|
|
109
|
-
|
|
112
|
+
color="light"
|
|
110
113
|
>
|
|
111
114
|
<ForwardRef(Base)
|
|
112
115
|
aria-hidden="true"
|
|
113
116
|
as="svg"
|
|
114
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
117
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
|
|
115
118
|
focusable="false"
|
|
116
119
|
viewBox="0 0 24 24"
|
|
117
120
|
>
|
|
118
121
|
<svg
|
|
119
122
|
aria-hidden="true"
|
|
120
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
123
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
|
|
121
124
|
focusable="false"
|
|
122
125
|
viewBox="0 0 24 24"
|
|
123
126
|
>
|
|
@@ -146,31 +149,28 @@ exports[`renders the PdfFileIcon with prop size=xl 1`] = `
|
|
|
146
149
|
</PdfFileIcon>
|
|
147
150
|
`;
|
|
148
151
|
|
|
149
|
-
exports[`renders the PdfFileIcon with prop
|
|
152
|
+
exports[`renders the PdfFileIcon with prop color=warning 1`] = `
|
|
150
153
|
<PdfFileIcon
|
|
151
|
-
|
|
152
|
-
variant="warning"
|
|
154
|
+
color="warning"
|
|
153
155
|
>
|
|
154
156
|
<ForwardRef(Icon)
|
|
157
|
+
color="warning"
|
|
155
158
|
icon="pdfFile"
|
|
156
|
-
size="xl"
|
|
157
|
-
variant="warning"
|
|
158
159
|
>
|
|
159
160
|
<ForwardRef(SvgIcon)
|
|
160
161
|
className="ds-svg-icon--pdfFile"
|
|
161
|
-
|
|
162
|
-
variant="warning"
|
|
162
|
+
color="warning"
|
|
163
163
|
>
|
|
164
164
|
<ForwardRef(Base)
|
|
165
165
|
aria-hidden="true"
|
|
166
166
|
as="svg"
|
|
167
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon
|
|
167
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
168
168
|
focusable="false"
|
|
169
169
|
viewBox="0 0 24 24"
|
|
170
170
|
>
|
|
171
171
|
<svg
|
|
172
172
|
aria-hidden="true"
|
|
173
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon
|
|
173
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
174
174
|
focusable="false"
|
|
175
175
|
viewBox="0 0 24 24"
|
|
176
176
|
>
|
|
@@ -199,28 +199,31 @@ exports[`renders the PdfFileIcon with prop variant=error and size= xl 1`] = `
|
|
|
199
199
|
</PdfFileIcon>
|
|
200
200
|
`;
|
|
201
201
|
|
|
202
|
-
exports[`renders the PdfFileIcon with prop
|
|
202
|
+
exports[`renders the PdfFileIcon with prop color=warning and size=s 1`] = `
|
|
203
203
|
<PdfFileIcon
|
|
204
|
-
|
|
204
|
+
color="warning"
|
|
205
|
+
size="sm"
|
|
205
206
|
>
|
|
206
207
|
<ForwardRef(Icon)
|
|
208
|
+
color="warning"
|
|
207
209
|
icon="pdfFile"
|
|
208
|
-
|
|
210
|
+
size="sm"
|
|
209
211
|
>
|
|
210
212
|
<ForwardRef(SvgIcon)
|
|
211
213
|
className="ds-svg-icon--pdfFile"
|
|
212
|
-
|
|
214
|
+
color="warning"
|
|
215
|
+
size="sm"
|
|
213
216
|
>
|
|
214
217
|
<ForwardRef(Base)
|
|
215
218
|
aria-hidden="true"
|
|
216
219
|
as="svg"
|
|
217
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
220
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
218
221
|
focusable="false"
|
|
219
222
|
viewBox="0 0 24 24"
|
|
220
223
|
>
|
|
221
224
|
<svg
|
|
222
225
|
aria-hidden="true"
|
|
223
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
226
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
224
227
|
focusable="false"
|
|
225
228
|
viewBox="0 0 24 24"
|
|
226
229
|
>
|
|
@@ -249,28 +252,28 @@ exports[`renders the PdfFileIcon with prop variant=light 1`] = `
|
|
|
249
252
|
</PdfFileIcon>
|
|
250
253
|
`;
|
|
251
254
|
|
|
252
|
-
exports[`renders the PdfFileIcon with prop
|
|
255
|
+
exports[`renders the PdfFileIcon with prop size=m 1`] = `
|
|
253
256
|
<PdfFileIcon
|
|
254
|
-
|
|
257
|
+
size="md"
|
|
255
258
|
>
|
|
256
259
|
<ForwardRef(Icon)
|
|
257
260
|
icon="pdfFile"
|
|
258
|
-
|
|
261
|
+
size="md"
|
|
259
262
|
>
|
|
260
263
|
<ForwardRef(SvgIcon)
|
|
261
264
|
className="ds-svg-icon--pdfFile"
|
|
262
|
-
|
|
265
|
+
size="md"
|
|
263
266
|
>
|
|
264
267
|
<ForwardRef(Base)
|
|
265
268
|
aria-hidden="true"
|
|
266
269
|
as="svg"
|
|
267
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
270
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
|
|
268
271
|
focusable="false"
|
|
269
272
|
viewBox="0 0 24 24"
|
|
270
273
|
>
|
|
271
274
|
<svg
|
|
272
275
|
aria-hidden="true"
|
|
273
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
276
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
|
|
274
277
|
focusable="false"
|
|
275
278
|
viewBox="0 0 24 24"
|
|
276
279
|
>
|
|
@@ -299,31 +302,28 @@ exports[`renders the PdfFileIcon with prop variant=warning 1`] = `
|
|
|
299
302
|
</PdfFileIcon>
|
|
300
303
|
`;
|
|
301
304
|
|
|
302
|
-
exports[`renders the PdfFileIcon with prop
|
|
305
|
+
exports[`renders the PdfFileIcon with prop size=xl 1`] = `
|
|
303
306
|
<PdfFileIcon
|
|
304
|
-
size="
|
|
305
|
-
variant="warning"
|
|
307
|
+
size="xl"
|
|
306
308
|
>
|
|
307
309
|
<ForwardRef(Icon)
|
|
308
310
|
icon="pdfFile"
|
|
309
|
-
size="
|
|
310
|
-
variant="warning"
|
|
311
|
+
size="xl"
|
|
311
312
|
>
|
|
312
313
|
<ForwardRef(SvgIcon)
|
|
313
314
|
className="ds-svg-icon--pdfFile"
|
|
314
|
-
size="
|
|
315
|
-
variant="warning"
|
|
315
|
+
size="xl"
|
|
316
316
|
>
|
|
317
317
|
<ForwardRef(Base)
|
|
318
318
|
aria-hidden="true"
|
|
319
319
|
as="svg"
|
|
320
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
320
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
|
|
321
321
|
focusable="false"
|
|
322
322
|
viewBox="0 0 24 24"
|
|
323
323
|
>
|
|
324
324
|
<svg
|
|
325
325
|
aria-hidden="true"
|
|
326
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
326
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
|
|
327
327
|
focusable="false"
|
|
328
328
|
viewBox="0 0 24 24"
|
|
329
329
|
>
|
|
@@ -12,15 +12,15 @@ it('renders the PdfFileIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the PdfFileIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<PdfFileIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the PdfFileIcon with prop
|
|
16
|
-
expect(mount(<PdfFileIcon
|
|
15
|
+
it('renders the PdfFileIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<PdfFileIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the PdfFileIcon with prop
|
|
19
|
-
expect(mount(<PdfFileIcon
|
|
18
|
+
it('renders the PdfFileIcon with prop color=warning', () => {
|
|
19
|
+
expect(mount(<PdfFileIcon color="warning" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the PdfFileIcon with prop
|
|
22
|
-
expect(mount(<PdfFileIcon
|
|
21
|
+
it('renders the PdfFileIcon with prop color=warning and size=s', () => {
|
|
22
|
+
expect(mount(<PdfFileIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the PdfFileIcon with prop
|
|
25
|
-
expect(mount(<PdfFileIcon
|
|
24
|
+
it('renders the PdfFileIcon with prop color=error and size= xl', () => {
|
|
25
|
+
expect(mount(<PdfFileIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
26
26
|
});
|
|
@@ -33,28 +33,31 @@ exports[`renders the PlusIcon with no props 1`] = `
|
|
|
33
33
|
</PlusIcon>
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
|
-
exports[`renders the PlusIcon with prop size=
|
|
36
|
+
exports[`renders the PlusIcon with prop color=error and size= xl 1`] = `
|
|
37
37
|
<PlusIcon
|
|
38
|
-
|
|
38
|
+
color="warning"
|
|
39
|
+
size="xl"
|
|
39
40
|
>
|
|
40
41
|
<ForwardRef(Icon)
|
|
42
|
+
color="warning"
|
|
41
43
|
icon="plus"
|
|
42
|
-
size="
|
|
44
|
+
size="xl"
|
|
43
45
|
>
|
|
44
46
|
<ForwardRef(SvgIcon)
|
|
45
47
|
className="ds-svg-icon--plus"
|
|
46
|
-
|
|
48
|
+
color="warning"
|
|
49
|
+
size="xl"
|
|
47
50
|
>
|
|
48
51
|
<ForwardRef(Base)
|
|
49
52
|
aria-hidden="true"
|
|
50
53
|
as="svg"
|
|
51
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
54
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
52
55
|
focusable="false"
|
|
53
56
|
viewBox="0 0 24 24"
|
|
54
57
|
>
|
|
55
58
|
<svg
|
|
56
59
|
aria-hidden="true"
|
|
57
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
60
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
58
61
|
focusable="false"
|
|
59
62
|
viewBox="0 0 24 24"
|
|
60
63
|
>
|
|
@@ -70,28 +73,28 @@ exports[`renders the PlusIcon with prop size=m 1`] = `
|
|
|
70
73
|
</PlusIcon>
|
|
71
74
|
`;
|
|
72
75
|
|
|
73
|
-
exports[`renders the PlusIcon with prop
|
|
76
|
+
exports[`renders the PlusIcon with prop color=light 1`] = `
|
|
74
77
|
<PlusIcon
|
|
75
|
-
|
|
78
|
+
color="light"
|
|
76
79
|
>
|
|
77
80
|
<ForwardRef(Icon)
|
|
81
|
+
color="light"
|
|
78
82
|
icon="plus"
|
|
79
|
-
size="xl"
|
|
80
83
|
>
|
|
81
84
|
<ForwardRef(SvgIcon)
|
|
82
85
|
className="ds-svg-icon--plus"
|
|
83
|
-
|
|
86
|
+
color="light"
|
|
84
87
|
>
|
|
85
88
|
<ForwardRef(Base)
|
|
86
89
|
aria-hidden="true"
|
|
87
90
|
as="svg"
|
|
88
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--plus ds-svg-icon--light ds-svg-icon"
|
|
89
92
|
focusable="false"
|
|
90
93
|
viewBox="0 0 24 24"
|
|
91
94
|
>
|
|
92
95
|
<svg
|
|
93
96
|
aria-hidden="true"
|
|
94
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--plus ds-svg-icon--light ds-svg-icon"
|
|
95
98
|
focusable="false"
|
|
96
99
|
viewBox="0 0 24 24"
|
|
97
100
|
>
|
|
@@ -107,31 +110,28 @@ exports[`renders the PlusIcon with prop size=xl 1`] = `
|
|
|
107
110
|
</PlusIcon>
|
|
108
111
|
`;
|
|
109
112
|
|
|
110
|
-
exports[`renders the PlusIcon with prop
|
|
113
|
+
exports[`renders the PlusIcon with prop color=warning 1`] = `
|
|
111
114
|
<PlusIcon
|
|
112
|
-
|
|
113
|
-
variant="warning"
|
|
115
|
+
color="warning"
|
|
114
116
|
>
|
|
115
117
|
<ForwardRef(Icon)
|
|
118
|
+
color="warning"
|
|
116
119
|
icon="plus"
|
|
117
|
-
size="xl"
|
|
118
|
-
variant="warning"
|
|
119
120
|
>
|
|
120
121
|
<ForwardRef(SvgIcon)
|
|
121
122
|
className="ds-svg-icon--plus"
|
|
122
|
-
|
|
123
|
-
variant="warning"
|
|
123
|
+
color="warning"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon
|
|
128
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon"
|
|
129
129
|
focusable="false"
|
|
130
130
|
viewBox="0 0 24 24"
|
|
131
131
|
>
|
|
132
132
|
<svg
|
|
133
133
|
aria-hidden="true"
|
|
134
|
-
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon
|
|
134
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon"
|
|
135
135
|
focusable="false"
|
|
136
136
|
viewBox="0 0 24 24"
|
|
137
137
|
>
|
|
@@ -147,28 +147,31 @@ exports[`renders the PlusIcon with prop variant=error and size= xl 1`] = `
|
|
|
147
147
|
</PlusIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the PlusIcon with prop
|
|
150
|
+
exports[`renders the PlusIcon with prop color=warning and size=s 1`] = `
|
|
151
151
|
<PlusIcon
|
|
152
|
-
|
|
152
|
+
color="warning"
|
|
153
|
+
size="sm"
|
|
153
154
|
>
|
|
154
155
|
<ForwardRef(Icon)
|
|
156
|
+
color="warning"
|
|
155
157
|
icon="plus"
|
|
156
|
-
|
|
158
|
+
size="sm"
|
|
157
159
|
>
|
|
158
160
|
<ForwardRef(SvgIcon)
|
|
159
161
|
className="ds-svg-icon--plus"
|
|
160
|
-
|
|
162
|
+
color="warning"
|
|
163
|
+
size="sm"
|
|
161
164
|
>
|
|
162
165
|
<ForwardRef(Base)
|
|
163
166
|
aria-hidden="true"
|
|
164
167
|
as="svg"
|
|
165
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
166
169
|
focusable="false"
|
|
167
170
|
viewBox="0 0 24 24"
|
|
168
171
|
>
|
|
169
172
|
<svg
|
|
170
173
|
aria-hidden="true"
|
|
171
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
172
175
|
focusable="false"
|
|
173
176
|
viewBox="0 0 24 24"
|
|
174
177
|
>
|
|
@@ -184,28 +187,28 @@ exports[`renders the PlusIcon with prop variant=light 1`] = `
|
|
|
184
187
|
</PlusIcon>
|
|
185
188
|
`;
|
|
186
189
|
|
|
187
|
-
exports[`renders the PlusIcon with prop
|
|
190
|
+
exports[`renders the PlusIcon with prop size=m 1`] = `
|
|
188
191
|
<PlusIcon
|
|
189
|
-
|
|
192
|
+
size="md"
|
|
190
193
|
>
|
|
191
194
|
<ForwardRef(Icon)
|
|
192
195
|
icon="plus"
|
|
193
|
-
|
|
196
|
+
size="md"
|
|
194
197
|
>
|
|
195
198
|
<ForwardRef(SvgIcon)
|
|
196
199
|
className="ds-svg-icon--plus"
|
|
197
|
-
|
|
200
|
+
size="md"
|
|
198
201
|
>
|
|
199
202
|
<ForwardRef(Base)
|
|
200
203
|
aria-hidden="true"
|
|
201
204
|
as="svg"
|
|
202
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--plus ds-svg-icon--md ds-svg-icon"
|
|
203
206
|
focusable="false"
|
|
204
207
|
viewBox="0 0 24 24"
|
|
205
208
|
>
|
|
206
209
|
<svg
|
|
207
210
|
aria-hidden="true"
|
|
208
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--plus ds-svg-icon--md ds-svg-icon"
|
|
209
212
|
focusable="false"
|
|
210
213
|
viewBox="0 0 24 24"
|
|
211
214
|
>
|
|
@@ -221,31 +224,28 @@ exports[`renders the PlusIcon with prop variant=warning 1`] = `
|
|
|
221
224
|
</PlusIcon>
|
|
222
225
|
`;
|
|
223
226
|
|
|
224
|
-
exports[`renders the PlusIcon with prop
|
|
227
|
+
exports[`renders the PlusIcon with prop size=xl 1`] = `
|
|
225
228
|
<PlusIcon
|
|
226
|
-
size="
|
|
227
|
-
variant="warning"
|
|
229
|
+
size="xl"
|
|
228
230
|
>
|
|
229
231
|
<ForwardRef(Icon)
|
|
230
232
|
icon="plus"
|
|
231
|
-
size="
|
|
232
|
-
variant="warning"
|
|
233
|
+
size="xl"
|
|
233
234
|
>
|
|
234
235
|
<ForwardRef(SvgIcon)
|
|
235
236
|
className="ds-svg-icon--plus"
|
|
236
|
-
size="
|
|
237
|
-
variant="warning"
|
|
237
|
+
size="xl"
|
|
238
238
|
>
|
|
239
239
|
<ForwardRef(Base)
|
|
240
240
|
aria-hidden="true"
|
|
241
241
|
as="svg"
|
|
242
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
242
|
+
className="ds-svg-icon--plus ds-svg-icon--xl ds-svg-icon"
|
|
243
243
|
focusable="false"
|
|
244
244
|
viewBox="0 0 24 24"
|
|
245
245
|
>
|
|
246
246
|
<svg
|
|
247
247
|
aria-hidden="true"
|
|
248
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
248
|
+
className="ds-svg-icon--plus ds-svg-icon--xl ds-svg-icon"
|
|
249
249
|
focusable="false"
|
|
250
250
|
viewBox="0 0 24 24"
|
|
251
251
|
>
|
|
@@ -12,15 +12,15 @@ it('renders the PlusIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the PlusIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<PlusIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the PlusIcon with prop
|
|
16
|
-
expect(mount(<PlusIcon
|
|
15
|
+
it('renders the PlusIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<PlusIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the PlusIcon with prop
|
|
19
|
-
expect(mount(<PlusIcon
|
|
18
|
+
it('renders the PlusIcon with prop color=warning', () => {
|
|
19
|
+
expect(mount(<PlusIcon color="warning" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the PlusIcon with prop
|
|
22
|
-
expect(mount(<PlusIcon
|
|
21
|
+
it('renders the PlusIcon with prop color=warning and size=s', () => {
|
|
22
|
+
expect(mount(<PlusIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the PlusIcon with prop
|
|
25
|
-
expect(mount(<PlusIcon
|
|
24
|
+
it('renders the PlusIcon with prop color=error and size= xl', () => {
|
|
25
|
+
expect(mount(<PlusIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
26
26
|
});
|