@digigov/react-icons 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/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 +39 -39
- package/PrintIcon/index.test/index.js +8 -8
- 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 +39 -39
- package/cjs/PrintIcon/index.test/index.js +8 -8
- 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/index.js +1 -1
- package/package.json +3 -3
- 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 +39 -39
- package/src/PrintIcon/index.test.tsx +8 -8
- 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
|
@@ -27,28 +27,28 @@ it('renders the ChatIcon with prop size=xl', function () {
|
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "light"
|
|
31
31
|
});
|
|
32
|
-
it('renders the ChatIcon with prop
|
|
32
|
+
it('renders the ChatIcon with prop color=light', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "warning"
|
|
37
37
|
});
|
|
38
|
-
it('renders the ChatIcon with prop
|
|
38
|
+
it('renders the ChatIcon with prop color=warning', function () {
|
|
39
39
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
40
40
|
});
|
|
41
41
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
|
|
42
|
-
|
|
42
|
+
color: "warning",
|
|
43
43
|
size: "sm"
|
|
44
44
|
});
|
|
45
|
-
it('renders the ChatIcon with prop
|
|
45
|
+
it('renders the ChatIcon with prop color=warning and size=sm', function () {
|
|
46
46
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
47
47
|
});
|
|
48
48
|
var _ref8 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
|
|
49
|
-
|
|
49
|
+
color: "warning",
|
|
50
50
|
size: "xl"
|
|
51
51
|
});
|
|
52
|
-
it('renders the ChatIcon with prop
|
|
52
|
+
it('renders the ChatIcon with prop color=error and size= xl', function () {
|
|
53
53
|
expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
|
|
54
54
|
});
|
|
@@ -33,28 +33,31 @@ exports[`renders the CheckIcon with no props 1`] = `
|
|
|
33
33
|
</CheckIcon>
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
|
-
exports[`renders the CheckIcon with prop size=
|
|
36
|
+
exports[`renders the CheckIcon with prop color=error and size= xl 1`] = `
|
|
37
37
|
<CheckIcon
|
|
38
|
-
|
|
38
|
+
color="warning"
|
|
39
|
+
size="xl"
|
|
39
40
|
>
|
|
40
41
|
<ForwardRef(Icon)
|
|
42
|
+
color="warning"
|
|
41
43
|
icon="check"
|
|
42
|
-
size="
|
|
44
|
+
size="xl"
|
|
43
45
|
>
|
|
44
46
|
<ForwardRef(SvgIcon)
|
|
45
47
|
className="ds-svg-icon--check"
|
|
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--check ds-svg-icon--
|
|
54
|
+
className="ds-svg-icon--check 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--check ds-svg-icon--
|
|
60
|
+
className="ds-svg-icon--check 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 CheckIcon with prop size=m 1`] = `
|
|
|
70
73
|
</CheckIcon>
|
|
71
74
|
`;
|
|
72
75
|
|
|
73
|
-
exports[`renders the CheckIcon with prop
|
|
76
|
+
exports[`renders the CheckIcon with prop color=light 1`] = `
|
|
74
77
|
<CheckIcon
|
|
75
|
-
|
|
78
|
+
color="light"
|
|
76
79
|
>
|
|
77
80
|
<ForwardRef(Icon)
|
|
81
|
+
color="light"
|
|
78
82
|
icon="check"
|
|
79
|
-
size="xl"
|
|
80
83
|
>
|
|
81
84
|
<ForwardRef(SvgIcon)
|
|
82
85
|
className="ds-svg-icon--check"
|
|
83
|
-
|
|
86
|
+
color="light"
|
|
84
87
|
>
|
|
85
88
|
<ForwardRef(Base)
|
|
86
89
|
aria-hidden="true"
|
|
87
90
|
as="svg"
|
|
88
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--check 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--check ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--check 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 CheckIcon with prop size=xl 1`] = `
|
|
|
107
110
|
</CheckIcon>
|
|
108
111
|
`;
|
|
109
112
|
|
|
110
|
-
exports[`renders the CheckIcon with prop
|
|
113
|
+
exports[`renders the CheckIcon with prop color=success 1`] = `
|
|
111
114
|
<CheckIcon
|
|
112
|
-
|
|
113
|
-
variant="warning"
|
|
115
|
+
color="success"
|
|
114
116
|
>
|
|
115
117
|
<ForwardRef(Icon)
|
|
118
|
+
color="success"
|
|
116
119
|
icon="check"
|
|
117
|
-
size="xl"
|
|
118
|
-
variant="warning"
|
|
119
120
|
>
|
|
120
121
|
<ForwardRef(SvgIcon)
|
|
121
122
|
className="ds-svg-icon--check"
|
|
122
|
-
|
|
123
|
-
variant="warning"
|
|
123
|
+
color="success"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
128
|
+
className="ds-svg-icon--check ds-svg-icon--success 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--check ds-svg-icon--
|
|
134
|
+
className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
|
|
135
135
|
focusable="false"
|
|
136
136
|
viewBox="0 0 24 24"
|
|
137
137
|
>
|
|
@@ -147,28 +147,28 @@ exports[`renders the CheckIcon with prop variant=error and size= xl 1`] = `
|
|
|
147
147
|
</CheckIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the CheckIcon with prop
|
|
150
|
+
exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
151
151
|
<CheckIcon
|
|
152
|
-
|
|
152
|
+
color="warning"
|
|
153
153
|
>
|
|
154
154
|
<ForwardRef(Icon)
|
|
155
|
+
color="warning"
|
|
155
156
|
icon="check"
|
|
156
|
-
variant="light"
|
|
157
157
|
>
|
|
158
158
|
<ForwardRef(SvgIcon)
|
|
159
159
|
className="ds-svg-icon--check"
|
|
160
|
-
|
|
160
|
+
color="warning"
|
|
161
161
|
>
|
|
162
162
|
<ForwardRef(Base)
|
|
163
163
|
aria-hidden="true"
|
|
164
164
|
as="svg"
|
|
165
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
165
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
|
|
166
166
|
focusable="false"
|
|
167
167
|
viewBox="0 0 24 24"
|
|
168
168
|
>
|
|
169
169
|
<svg
|
|
170
170
|
aria-hidden="true"
|
|
171
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
171
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
|
|
172
172
|
focusable="false"
|
|
173
173
|
viewBox="0 0 24 24"
|
|
174
174
|
>
|
|
@@ -184,28 +184,31 @@ exports[`renders the CheckIcon with prop variant=light 1`] = `
|
|
|
184
184
|
</CheckIcon>
|
|
185
185
|
`;
|
|
186
186
|
|
|
187
|
-
exports[`renders the CheckIcon with prop
|
|
187
|
+
exports[`renders the CheckIcon with prop color=warning and size=s 1`] = `
|
|
188
188
|
<CheckIcon
|
|
189
|
-
|
|
189
|
+
color="warning"
|
|
190
|
+
size="sm"
|
|
190
191
|
>
|
|
191
192
|
<ForwardRef(Icon)
|
|
193
|
+
color="warning"
|
|
192
194
|
icon="check"
|
|
193
|
-
|
|
195
|
+
size="sm"
|
|
194
196
|
>
|
|
195
197
|
<ForwardRef(SvgIcon)
|
|
196
198
|
className="ds-svg-icon--check"
|
|
197
|
-
|
|
199
|
+
color="warning"
|
|
200
|
+
size="sm"
|
|
198
201
|
>
|
|
199
202
|
<ForwardRef(Base)
|
|
200
203
|
aria-hidden="true"
|
|
201
204
|
as="svg"
|
|
202
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm 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--check ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
209
212
|
focusable="false"
|
|
210
213
|
viewBox="0 0 24 24"
|
|
211
214
|
>
|
|
@@ -221,28 +224,28 @@ exports[`renders the CheckIcon with prop variant=success 1`] = `
|
|
|
221
224
|
</CheckIcon>
|
|
222
225
|
`;
|
|
223
226
|
|
|
224
|
-
exports[`renders the CheckIcon with prop
|
|
227
|
+
exports[`renders the CheckIcon with prop size=m 1`] = `
|
|
225
228
|
<CheckIcon
|
|
226
|
-
|
|
229
|
+
size="md"
|
|
227
230
|
>
|
|
228
231
|
<ForwardRef(Icon)
|
|
229
232
|
icon="check"
|
|
230
|
-
|
|
233
|
+
size="md"
|
|
231
234
|
>
|
|
232
235
|
<ForwardRef(SvgIcon)
|
|
233
236
|
className="ds-svg-icon--check"
|
|
234
|
-
|
|
237
|
+
size="md"
|
|
235
238
|
>
|
|
236
239
|
<ForwardRef(Base)
|
|
237
240
|
aria-hidden="true"
|
|
238
241
|
as="svg"
|
|
239
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
242
|
+
className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
|
|
240
243
|
focusable="false"
|
|
241
244
|
viewBox="0 0 24 24"
|
|
242
245
|
>
|
|
243
246
|
<svg
|
|
244
247
|
aria-hidden="true"
|
|
245
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
248
|
+
className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
|
|
246
249
|
focusable="false"
|
|
247
250
|
viewBox="0 0 24 24"
|
|
248
251
|
>
|
|
@@ -258,31 +261,28 @@ exports[`renders the CheckIcon with prop variant=warning 1`] = `
|
|
|
258
261
|
</CheckIcon>
|
|
259
262
|
`;
|
|
260
263
|
|
|
261
|
-
exports[`renders the CheckIcon with prop
|
|
264
|
+
exports[`renders the CheckIcon with prop size=xl 1`] = `
|
|
262
265
|
<CheckIcon
|
|
263
|
-
size="
|
|
264
|
-
variant="warning"
|
|
266
|
+
size="xl"
|
|
265
267
|
>
|
|
266
268
|
<ForwardRef(Icon)
|
|
267
269
|
icon="check"
|
|
268
|
-
size="
|
|
269
|
-
variant="warning"
|
|
270
|
+
size="xl"
|
|
270
271
|
>
|
|
271
272
|
<ForwardRef(SvgIcon)
|
|
272
273
|
className="ds-svg-icon--check"
|
|
273
|
-
size="
|
|
274
|
-
variant="warning"
|
|
274
|
+
size="xl"
|
|
275
275
|
>
|
|
276
276
|
<ForwardRef(Base)
|
|
277
277
|
aria-hidden="true"
|
|
278
278
|
as="svg"
|
|
279
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
279
|
+
className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
|
|
280
280
|
focusable="false"
|
|
281
281
|
viewBox="0 0 24 24"
|
|
282
282
|
>
|
|
283
283
|
<svg
|
|
284
284
|
aria-hidden="true"
|
|
285
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
285
|
+
className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
|
|
286
286
|
focusable="false"
|
|
287
287
|
viewBox="0 0 24 24"
|
|
288
288
|
>
|
|
@@ -21,34 +21,34 @@ it('renders the CheckIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_CheckIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "light"
|
|
25
25
|
});
|
|
26
|
-
it('renders the CheckIcon with prop
|
|
26
|
+
it('renders the CheckIcon with prop color=light', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_CheckIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "success"
|
|
31
31
|
});
|
|
32
|
-
it('renders the CheckIcon with prop
|
|
32
|
+
it('renders the CheckIcon with prop color=success', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_CheckIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "warning"
|
|
37
37
|
});
|
|
38
|
-
it('renders the CheckIcon with prop
|
|
38
|
+
it('renders the CheckIcon with prop color=warning', function () {
|
|
39
39
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
40
40
|
});
|
|
41
41
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_CheckIcon["default"], {
|
|
42
|
-
|
|
42
|
+
color: "warning",
|
|
43
43
|
size: "sm"
|
|
44
44
|
});
|
|
45
|
-
it('renders the CheckIcon with prop
|
|
45
|
+
it('renders the CheckIcon with prop color=warning and size=s', function () {
|
|
46
46
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
47
47
|
});
|
|
48
48
|
var _ref8 = /*#__PURE__*/_react["default"].createElement(_CheckIcon["default"], {
|
|
49
|
-
|
|
49
|
+
color: "warning",
|
|
50
50
|
size: "xl"
|
|
51
51
|
});
|
|
52
|
-
it('renders the CheckIcon with prop
|
|
52
|
+
it('renders the CheckIcon with prop color=error and size= xl', function () {
|
|
53
53
|
expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
|
|
54
54
|
});
|
|
@@ -41,28 +41,31 @@ exports[`renders the DownloadIcon with no props 1`] = `
|
|
|
41
41
|
</DownloadIcon>
|
|
42
42
|
`;
|
|
43
43
|
|
|
44
|
-
exports[`renders the DownloadIcon with prop size=
|
|
44
|
+
exports[`renders the DownloadIcon with prop color=error and size= xl 1`] = `
|
|
45
45
|
<DownloadIcon
|
|
46
|
-
|
|
46
|
+
color="warning"
|
|
47
|
+
size="xl"
|
|
47
48
|
>
|
|
48
49
|
<ForwardRef(Icon)
|
|
50
|
+
color="warning"
|
|
49
51
|
icon="download"
|
|
50
|
-
size="
|
|
52
|
+
size="xl"
|
|
51
53
|
>
|
|
52
54
|
<ForwardRef(SvgIcon)
|
|
53
55
|
className="ds-svg-icon--download"
|
|
54
|
-
|
|
56
|
+
color="warning"
|
|
57
|
+
size="xl"
|
|
55
58
|
>
|
|
56
59
|
<ForwardRef(Base)
|
|
57
60
|
aria-hidden="true"
|
|
58
61
|
as="svg"
|
|
59
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
62
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
60
63
|
focusable="false"
|
|
61
64
|
viewBox="0 0 24 24"
|
|
62
65
|
>
|
|
63
66
|
<svg
|
|
64
67
|
aria-hidden="true"
|
|
65
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
68
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
66
69
|
focusable="false"
|
|
67
70
|
viewBox="0 0 24 24"
|
|
68
71
|
>
|
|
@@ -86,28 +89,28 @@ exports[`renders the DownloadIcon with prop size=m 1`] = `
|
|
|
86
89
|
</DownloadIcon>
|
|
87
90
|
`;
|
|
88
91
|
|
|
89
|
-
exports[`renders the DownloadIcon with prop
|
|
92
|
+
exports[`renders the DownloadIcon with prop color=light 1`] = `
|
|
90
93
|
<DownloadIcon
|
|
91
|
-
|
|
94
|
+
color="light"
|
|
92
95
|
>
|
|
93
96
|
<ForwardRef(Icon)
|
|
97
|
+
color="light"
|
|
94
98
|
icon="download"
|
|
95
|
-
size="xl"
|
|
96
99
|
>
|
|
97
100
|
<ForwardRef(SvgIcon)
|
|
98
101
|
className="ds-svg-icon--download"
|
|
99
|
-
|
|
102
|
+
color="light"
|
|
100
103
|
>
|
|
101
104
|
<ForwardRef(Base)
|
|
102
105
|
aria-hidden="true"
|
|
103
106
|
as="svg"
|
|
104
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
107
|
+
className="ds-svg-icon--download ds-svg-icon--light ds-svg-icon"
|
|
105
108
|
focusable="false"
|
|
106
109
|
viewBox="0 0 24 24"
|
|
107
110
|
>
|
|
108
111
|
<svg
|
|
109
112
|
aria-hidden="true"
|
|
110
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
113
|
+
className="ds-svg-icon--download ds-svg-icon--light ds-svg-icon"
|
|
111
114
|
focusable="false"
|
|
112
115
|
viewBox="0 0 24 24"
|
|
113
116
|
>
|
|
@@ -131,31 +134,28 @@ exports[`renders the DownloadIcon with prop size=xl 1`] = `
|
|
|
131
134
|
</DownloadIcon>
|
|
132
135
|
`;
|
|
133
136
|
|
|
134
|
-
exports[`renders the DownloadIcon with prop
|
|
137
|
+
exports[`renders the DownloadIcon with prop color=warning 1`] = `
|
|
135
138
|
<DownloadIcon
|
|
136
|
-
|
|
137
|
-
variant="warning"
|
|
139
|
+
color="warning"
|
|
138
140
|
>
|
|
139
141
|
<ForwardRef(Icon)
|
|
142
|
+
color="warning"
|
|
140
143
|
icon="download"
|
|
141
|
-
size="xl"
|
|
142
|
-
variant="warning"
|
|
143
144
|
>
|
|
144
145
|
<ForwardRef(SvgIcon)
|
|
145
146
|
className="ds-svg-icon--download"
|
|
146
|
-
|
|
147
|
-
variant="warning"
|
|
147
|
+
color="warning"
|
|
148
148
|
>
|
|
149
149
|
<ForwardRef(Base)
|
|
150
150
|
aria-hidden="true"
|
|
151
151
|
as="svg"
|
|
152
|
-
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon
|
|
152
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
|
|
153
153
|
focusable="false"
|
|
154
154
|
viewBox="0 0 24 24"
|
|
155
155
|
>
|
|
156
156
|
<svg
|
|
157
157
|
aria-hidden="true"
|
|
158
|
-
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon
|
|
158
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
|
|
159
159
|
focusable="false"
|
|
160
160
|
viewBox="0 0 24 24"
|
|
161
161
|
>
|
|
@@ -179,28 +179,31 @@ exports[`renders the DownloadIcon with prop variant=error and size= xl 1`] = `
|
|
|
179
179
|
</DownloadIcon>
|
|
180
180
|
`;
|
|
181
181
|
|
|
182
|
-
exports[`renders the DownloadIcon with prop
|
|
182
|
+
exports[`renders the DownloadIcon with prop color=warning and size=s 1`] = `
|
|
183
183
|
<DownloadIcon
|
|
184
|
-
|
|
184
|
+
color="warning"
|
|
185
|
+
size="sm"
|
|
185
186
|
>
|
|
186
187
|
<ForwardRef(Icon)
|
|
188
|
+
color="warning"
|
|
187
189
|
icon="download"
|
|
188
|
-
|
|
190
|
+
size="sm"
|
|
189
191
|
>
|
|
190
192
|
<ForwardRef(SvgIcon)
|
|
191
193
|
className="ds-svg-icon--download"
|
|
192
|
-
|
|
194
|
+
color="warning"
|
|
195
|
+
size="sm"
|
|
193
196
|
>
|
|
194
197
|
<ForwardRef(Base)
|
|
195
198
|
aria-hidden="true"
|
|
196
199
|
as="svg"
|
|
197
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
200
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
198
201
|
focusable="false"
|
|
199
202
|
viewBox="0 0 24 24"
|
|
200
203
|
>
|
|
201
204
|
<svg
|
|
202
205
|
aria-hidden="true"
|
|
203
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
206
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
204
207
|
focusable="false"
|
|
205
208
|
viewBox="0 0 24 24"
|
|
206
209
|
>
|
|
@@ -224,28 +227,28 @@ exports[`renders the DownloadIcon with prop variant=light 1`] = `
|
|
|
224
227
|
</DownloadIcon>
|
|
225
228
|
`;
|
|
226
229
|
|
|
227
|
-
exports[`renders the DownloadIcon with prop
|
|
230
|
+
exports[`renders the DownloadIcon with prop size=m 1`] = `
|
|
228
231
|
<DownloadIcon
|
|
229
|
-
|
|
232
|
+
size="md"
|
|
230
233
|
>
|
|
231
234
|
<ForwardRef(Icon)
|
|
232
235
|
icon="download"
|
|
233
|
-
|
|
236
|
+
size="md"
|
|
234
237
|
>
|
|
235
238
|
<ForwardRef(SvgIcon)
|
|
236
239
|
className="ds-svg-icon--download"
|
|
237
|
-
|
|
240
|
+
size="md"
|
|
238
241
|
>
|
|
239
242
|
<ForwardRef(Base)
|
|
240
243
|
aria-hidden="true"
|
|
241
244
|
as="svg"
|
|
242
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
245
|
+
className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
|
|
243
246
|
focusable="false"
|
|
244
247
|
viewBox="0 0 24 24"
|
|
245
248
|
>
|
|
246
249
|
<svg
|
|
247
250
|
aria-hidden="true"
|
|
248
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
251
|
+
className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
|
|
249
252
|
focusable="false"
|
|
250
253
|
viewBox="0 0 24 24"
|
|
251
254
|
>
|
|
@@ -269,31 +272,28 @@ exports[`renders the DownloadIcon with prop variant=warning 1`] = `
|
|
|
269
272
|
</DownloadIcon>
|
|
270
273
|
`;
|
|
271
274
|
|
|
272
|
-
exports[`renders the DownloadIcon with prop
|
|
275
|
+
exports[`renders the DownloadIcon with prop size=xl 1`] = `
|
|
273
276
|
<DownloadIcon
|
|
274
|
-
size="
|
|
275
|
-
variant="warning"
|
|
277
|
+
size="xl"
|
|
276
278
|
>
|
|
277
279
|
<ForwardRef(Icon)
|
|
278
280
|
icon="download"
|
|
279
|
-
size="
|
|
280
|
-
variant="warning"
|
|
281
|
+
size="xl"
|
|
281
282
|
>
|
|
282
283
|
<ForwardRef(SvgIcon)
|
|
283
284
|
className="ds-svg-icon--download"
|
|
284
|
-
size="
|
|
285
|
-
variant="warning"
|
|
285
|
+
size="xl"
|
|
286
286
|
>
|
|
287
287
|
<ForwardRef(Base)
|
|
288
288
|
aria-hidden="true"
|
|
289
289
|
as="svg"
|
|
290
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
290
|
+
className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
|
|
291
291
|
focusable="false"
|
|
292
292
|
viewBox="0 0 24 24"
|
|
293
293
|
>
|
|
294
294
|
<svg
|
|
295
295
|
aria-hidden="true"
|
|
296
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
296
|
+
className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
|
|
297
297
|
focusable="false"
|
|
298
298
|
viewBox="0 0 24 24"
|
|
299
299
|
>
|
|
@@ -21,28 +21,28 @@ it('renders the DownloadIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_DownloadIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "light"
|
|
25
25
|
});
|
|
26
|
-
it('renders the DownloadIcon with prop
|
|
26
|
+
it('renders the DownloadIcon with prop color=light', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_DownloadIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "warning"
|
|
31
31
|
});
|
|
32
|
-
it('renders the DownloadIcon with prop
|
|
32
|
+
it('renders the DownloadIcon with prop color=warning', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_DownloadIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "warning",
|
|
37
37
|
size: "sm"
|
|
38
38
|
});
|
|
39
|
-
it('renders the DownloadIcon with prop
|
|
39
|
+
it('renders the DownloadIcon 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(_DownloadIcon["default"], {
|
|
43
|
-
|
|
43
|
+
color: "warning",
|
|
44
44
|
size: "xl"
|
|
45
45
|
});
|
|
46
|
-
it('renders the DownloadIcon with prop
|
|
46
|
+
it('renders the DownloadIcon with prop color=error and size= xl', function () {
|
|
47
47
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
48
48
|
});
|