@digigov/react-icons 2.0.0-af1b5f33 → 2.0.0-cbc56209
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 +22 -22
- 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 +20 -24
- package/GlobeIcon/config/index.js +2 -2
- package/GlobeIcon/index.test/index.js +6 -6
- package/Icon/__snapshots__/index.test.tsx.snap +1 -2
- 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 +22 -22
- 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 +20 -24
- package/cjs/GlobeIcon/config/index.js +2 -2
- package/cjs/GlobeIcon/index.test/index.js +6 -6
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +1 -2
- 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/lazy/index.js +229 -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/lazy/index.js +171 -0
- package/lazy/package.json +6 -0
- package/lazy.d.ts +27 -0
- 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 +22 -22
- 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 +20 -24
- package/src/GlobeIcon/config.tsx +1 -12
- package/src/GlobeIcon/index.test.tsx +6 -6
- package/src/Icon/__snapshots__/index.test.tsx.snap +1 -2
- 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/lazy.js +28 -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=warning 1`] = `
|
|
100
103
|
<PdfFileIcon
|
|
101
|
-
|
|
104
|
+
color="warning"
|
|
102
105
|
>
|
|
103
106
|
<ForwardRef(Icon)
|
|
107
|
+
color="warning"
|
|
104
108
|
icon="pdfFile"
|
|
105
|
-
size="xl"
|
|
106
109
|
>
|
|
107
110
|
<ForwardRef(SvgIcon)
|
|
108
111
|
className="ds-svg-icon--pdfFile"
|
|
109
|
-
|
|
112
|
+
color="warning"
|
|
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--warning 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--warning ds-svg-icon"
|
|
121
124
|
focusable="false"
|
|
122
125
|
viewBox="0 0 24 24"
|
|
123
126
|
>
|
|
@@ -146,31 +149,31 @@ 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 and size=s 1`] = `
|
|
150
153
|
<PdfFileIcon
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
color="warning"
|
|
155
|
+
size="sm"
|
|
153
156
|
>
|
|
154
157
|
<ForwardRef(Icon)
|
|
158
|
+
color="warning"
|
|
155
159
|
icon="pdfFile"
|
|
156
|
-
size="
|
|
157
|
-
variant="warning"
|
|
160
|
+
size="sm"
|
|
158
161
|
>
|
|
159
162
|
<ForwardRef(SvgIcon)
|
|
160
163
|
className="ds-svg-icon--pdfFile"
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
color="warning"
|
|
165
|
+
size="sm"
|
|
163
166
|
>
|
|
164
167
|
<ForwardRef(Base)
|
|
165
168
|
aria-hidden="true"
|
|
166
169
|
as="svg"
|
|
167
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--
|
|
170
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
168
171
|
focusable="false"
|
|
169
172
|
viewBox="0 0 24 24"
|
|
170
173
|
>
|
|
171
174
|
<svg
|
|
172
175
|
aria-hidden="true"
|
|
173
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--
|
|
176
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
174
177
|
focusable="false"
|
|
175
178
|
viewBox="0 0 24 24"
|
|
176
179
|
>
|
|
@@ -199,28 +202,28 @@ exports[`renders the PdfFileIcon with prop variant=error and size= xl 1`] = `
|
|
|
199
202
|
</PdfFileIcon>
|
|
200
203
|
`;
|
|
201
204
|
|
|
202
|
-
exports[`renders the PdfFileIcon with prop
|
|
205
|
+
exports[`renders the PdfFileIcon with prop color=white 1`] = `
|
|
203
206
|
<PdfFileIcon
|
|
204
|
-
|
|
207
|
+
color="white"
|
|
205
208
|
>
|
|
206
209
|
<ForwardRef(Icon)
|
|
210
|
+
color="white"
|
|
207
211
|
icon="pdfFile"
|
|
208
|
-
variant="light"
|
|
209
212
|
>
|
|
210
213
|
<ForwardRef(SvgIcon)
|
|
211
214
|
className="ds-svg-icon--pdfFile"
|
|
212
|
-
|
|
215
|
+
color="white"
|
|
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--white 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--white 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
|
>
|
|
@@ -21,28 +21,28 @@ it('renders the PdfFileIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_PdfFileIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the PdfFileIcon with prop
|
|
26
|
+
it('renders the PdfFileIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_PdfFileIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "warning"
|
|
31
31
|
});
|
|
32
|
-
it('renders the PdfFileIcon with prop
|
|
32
|
+
it('renders the PdfFileIcon with prop color=warning', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_PdfFileIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "warning",
|
|
37
37
|
size: "sm"
|
|
38
38
|
});
|
|
39
|
-
it('renders the PdfFileIcon with prop
|
|
39
|
+
it('renders the PdfFileIcon with prop color=warning and size=s', function () {
|
|
40
40
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
41
41
|
});
|
|
42
42
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_PdfFileIcon["default"], {
|
|
43
|
-
|
|
43
|
+
color: "warning",
|
|
44
44
|
size: "xl"
|
|
45
45
|
});
|
|
46
|
-
it('renders the PdfFileIcon with prop
|
|
46
|
+
it('renders the PdfFileIcon with prop color=error and size= xl', function () {
|
|
47
47
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
48
48
|
});
|
|
@@ -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=warning 1`] = `
|
|
74
77
|
<PlusIcon
|
|
75
|
-
|
|
78
|
+
color="warning"
|
|
76
79
|
>
|
|
77
80
|
<ForwardRef(Icon)
|
|
81
|
+
color="warning"
|
|
78
82
|
icon="plus"
|
|
79
|
-
size="xl"
|
|
80
83
|
>
|
|
81
84
|
<ForwardRef(SvgIcon)
|
|
82
85
|
className="ds-svg-icon--plus"
|
|
83
|
-
|
|
86
|
+
color="warning"
|
|
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--warning 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--warning ds-svg-icon"
|
|
95
98
|
focusable="false"
|
|
96
99
|
viewBox="0 0 24 24"
|
|
97
100
|
>
|
|
@@ -107,31 +110,31 @@ 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 and size=s 1`] = `
|
|
111
114
|
<PlusIcon
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
color="warning"
|
|
116
|
+
size="sm"
|
|
114
117
|
>
|
|
115
118
|
<ForwardRef(Icon)
|
|
119
|
+
color="warning"
|
|
116
120
|
icon="plus"
|
|
117
|
-
size="
|
|
118
|
-
variant="warning"
|
|
121
|
+
size="sm"
|
|
119
122
|
>
|
|
120
123
|
<ForwardRef(SvgIcon)
|
|
121
124
|
className="ds-svg-icon--plus"
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
color="warning"
|
|
126
|
+
size="sm"
|
|
124
127
|
>
|
|
125
128
|
<ForwardRef(Base)
|
|
126
129
|
aria-hidden="true"
|
|
127
130
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--
|
|
131
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
129
132
|
focusable="false"
|
|
130
133
|
viewBox="0 0 24 24"
|
|
131
134
|
>
|
|
132
135
|
<svg
|
|
133
136
|
aria-hidden="true"
|
|
134
|
-
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--
|
|
137
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
135
138
|
focusable="false"
|
|
136
139
|
viewBox="0 0 24 24"
|
|
137
140
|
>
|
|
@@ -147,28 +150,28 @@ exports[`renders the PlusIcon with prop variant=error and size= xl 1`] = `
|
|
|
147
150
|
</PlusIcon>
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
exports[`renders the PlusIcon with prop
|
|
153
|
+
exports[`renders the PlusIcon with prop color=white 1`] = `
|
|
151
154
|
<PlusIcon
|
|
152
|
-
|
|
155
|
+
color="white"
|
|
153
156
|
>
|
|
154
157
|
<ForwardRef(Icon)
|
|
158
|
+
color="white"
|
|
155
159
|
icon="plus"
|
|
156
|
-
variant="light"
|
|
157
160
|
>
|
|
158
161
|
<ForwardRef(SvgIcon)
|
|
159
162
|
className="ds-svg-icon--plus"
|
|
160
|
-
|
|
163
|
+
color="white"
|
|
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--white 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--white 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
|
>
|
|
@@ -21,28 +21,28 @@ it('renders the PlusIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_PlusIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the PlusIcon with prop
|
|
26
|
+
it('renders the PlusIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_PlusIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "warning"
|
|
31
31
|
});
|
|
32
|
-
it('renders the PlusIcon with prop
|
|
32
|
+
it('renders the PlusIcon with prop color=warning', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_PlusIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "warning",
|
|
37
37
|
size: "sm"
|
|
38
38
|
});
|
|
39
|
-
it('renders the PlusIcon with prop
|
|
39
|
+
it('renders the PlusIcon with prop color=warning and size=s', function () {
|
|
40
40
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
41
41
|
});
|
|
42
42
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_PlusIcon["default"], {
|
|
43
|
-
|
|
43
|
+
color: "warning",
|
|
44
44
|
size: "xl"
|
|
45
45
|
});
|
|
46
|
-
it('renders the PlusIcon with prop
|
|
46
|
+
it('renders the PlusIcon with prop color=error and size= xl', function () {
|
|
47
47
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
48
48
|
});
|