@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
|
@@ -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
|
>
|
|
@@ -12,15 +12,15 @@ it('renders the DownloadIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the DownloadIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<DownloadIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the DownloadIcon with prop
|
|
16
|
-
expect(mount(<DownloadIcon
|
|
15
|
+
it('renders the DownloadIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<DownloadIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the DownloadIcon with prop
|
|
19
|
-
expect(mount(<DownloadIcon
|
|
18
|
+
it('renders the DownloadIcon with prop color=warning', () => {
|
|
19
|
+
expect(mount(<DownloadIcon color="warning" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the DownloadIcon with prop
|
|
22
|
-
expect(mount(<DownloadIcon
|
|
21
|
+
it('renders the DownloadIcon with prop color=warning and size=s', () => {
|
|
22
|
+
expect(mount(<DownloadIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the DownloadIcon with prop
|
|
25
|
-
expect(mount(<DownloadIcon
|
|
24
|
+
it('renders the DownloadIcon with prop color=error and size= xl', () => {
|
|
25
|
+
expect(mount(<DownloadIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
26
26
|
});
|
|
@@ -38,28 +38,31 @@ exports[`renders the ExclamationIcon with no props 1`] = `
|
|
|
38
38
|
</ExclamationIcon>
|
|
39
39
|
`;
|
|
40
40
|
|
|
41
|
-
exports[`renders the ExclamationIcon with prop size=
|
|
41
|
+
exports[`renders the ExclamationIcon with prop color=error and size=sm 1`] = `
|
|
42
42
|
<ExclamationIcon
|
|
43
|
-
|
|
43
|
+
color="error"
|
|
44
|
+
size="sm"
|
|
44
45
|
>
|
|
45
46
|
<ForwardRef(Icon)
|
|
47
|
+
color="error"
|
|
46
48
|
icon="exclamation"
|
|
47
|
-
size="
|
|
49
|
+
size="sm"
|
|
48
50
|
>
|
|
49
51
|
<ForwardRef(SvgIcon)
|
|
50
52
|
className="ds-svg-icon--exclamation"
|
|
51
|
-
|
|
53
|
+
color="error"
|
|
54
|
+
size="sm"
|
|
52
55
|
>
|
|
53
56
|
<ForwardRef(Base)
|
|
54
57
|
aria-hidden="true"
|
|
55
58
|
as="svg"
|
|
56
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
59
|
+
className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
|
|
57
60
|
focusable="false"
|
|
58
61
|
viewBox="0 0 24 24"
|
|
59
62
|
>
|
|
60
63
|
<svg
|
|
61
64
|
aria-hidden="true"
|
|
62
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
65
|
+
className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
|
|
63
66
|
focusable="false"
|
|
64
67
|
viewBox="0 0 24 24"
|
|
65
68
|
>
|
|
@@ -80,28 +83,31 @@ exports[`renders the ExclamationIcon with prop size=md 1`] = `
|
|
|
80
83
|
</ExclamationIcon>
|
|
81
84
|
`;
|
|
82
85
|
|
|
83
|
-
exports[`renders the ExclamationIcon with prop size=xl 1`] = `
|
|
86
|
+
exports[`renders the ExclamationIcon with prop color=info and size= xl 1`] = `
|
|
84
87
|
<ExclamationIcon
|
|
88
|
+
color="info"
|
|
85
89
|
size="xl"
|
|
86
90
|
>
|
|
87
91
|
<ForwardRef(Icon)
|
|
92
|
+
color="info"
|
|
88
93
|
icon="exclamation"
|
|
89
94
|
size="xl"
|
|
90
95
|
>
|
|
91
96
|
<ForwardRef(SvgIcon)
|
|
92
97
|
className="ds-svg-icon--exclamation"
|
|
98
|
+
color="info"
|
|
93
99
|
size="xl"
|
|
94
100
|
>
|
|
95
101
|
<ForwardRef(Base)
|
|
96
102
|
aria-hidden="true"
|
|
97
103
|
as="svg"
|
|
98
|
-
className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
|
|
104
|
+
className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
|
|
99
105
|
focusable="false"
|
|
100
106
|
viewBox="0 0 24 24"
|
|
101
107
|
>
|
|
102
108
|
<svg
|
|
103
109
|
aria-hidden="true"
|
|
104
|
-
className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
|
|
110
|
+
className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
|
|
105
111
|
focusable="false"
|
|
106
112
|
viewBox="0 0 24 24"
|
|
107
113
|
>
|
|
@@ -122,31 +128,28 @@ exports[`renders the ExclamationIcon with prop size=xl 1`] = `
|
|
|
122
128
|
</ExclamationIcon>
|
|
123
129
|
`;
|
|
124
130
|
|
|
125
|
-
exports[`renders the ExclamationIcon with prop
|
|
131
|
+
exports[`renders the ExclamationIcon with prop color=light 1`] = `
|
|
126
132
|
<ExclamationIcon
|
|
127
|
-
|
|
128
|
-
variant="error"
|
|
133
|
+
color="light"
|
|
129
134
|
>
|
|
130
135
|
<ForwardRef(Icon)
|
|
136
|
+
color="light"
|
|
131
137
|
icon="exclamation"
|
|
132
|
-
size="sm"
|
|
133
|
-
variant="error"
|
|
134
138
|
>
|
|
135
139
|
<ForwardRef(SvgIcon)
|
|
136
140
|
className="ds-svg-icon--exclamation"
|
|
137
|
-
|
|
138
|
-
variant="error"
|
|
141
|
+
color="light"
|
|
139
142
|
>
|
|
140
143
|
<ForwardRef(Base)
|
|
141
144
|
aria-hidden="true"
|
|
142
145
|
as="svg"
|
|
143
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
146
|
+
className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
|
|
144
147
|
focusable="false"
|
|
145
148
|
viewBox="0 0 24 24"
|
|
146
149
|
>
|
|
147
150
|
<svg
|
|
148
151
|
aria-hidden="true"
|
|
149
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
152
|
+
className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
|
|
150
153
|
focusable="false"
|
|
151
154
|
viewBox="0 0 24 24"
|
|
152
155
|
>
|
|
@@ -167,31 +170,28 @@ exports[`renders the ExclamationIcon with prop variant=error and size=sm 1`] = `
|
|
|
167
170
|
</ExclamationIcon>
|
|
168
171
|
`;
|
|
169
172
|
|
|
170
|
-
exports[`renders the ExclamationIcon with prop
|
|
173
|
+
exports[`renders the ExclamationIcon with prop color=warning 1`] = `
|
|
171
174
|
<ExclamationIcon
|
|
172
|
-
|
|
173
|
-
variant="info"
|
|
175
|
+
color="warning"
|
|
174
176
|
>
|
|
175
177
|
<ForwardRef(Icon)
|
|
178
|
+
color="warning"
|
|
176
179
|
icon="exclamation"
|
|
177
|
-
size="xl"
|
|
178
|
-
variant="info"
|
|
179
180
|
>
|
|
180
181
|
<ForwardRef(SvgIcon)
|
|
181
182
|
className="ds-svg-icon--exclamation"
|
|
182
|
-
|
|
183
|
-
variant="info"
|
|
183
|
+
color="warning"
|
|
184
184
|
>
|
|
185
185
|
<ForwardRef(Base)
|
|
186
186
|
aria-hidden="true"
|
|
187
187
|
as="svg"
|
|
188
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
188
|
+
className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
|
|
189
189
|
focusable="false"
|
|
190
190
|
viewBox="0 0 24 24"
|
|
191
191
|
>
|
|
192
192
|
<svg
|
|
193
193
|
aria-hidden="true"
|
|
194
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
194
|
+
className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
|
|
195
195
|
focusable="false"
|
|
196
196
|
viewBox="0 0 24 24"
|
|
197
197
|
>
|
|
@@ -212,28 +212,28 @@ exports[`renders the ExclamationIcon with prop variant=info and size= xl 1`] = `
|
|
|
212
212
|
</ExclamationIcon>
|
|
213
213
|
`;
|
|
214
214
|
|
|
215
|
-
exports[`renders the ExclamationIcon with prop
|
|
215
|
+
exports[`renders the ExclamationIcon with prop size=md 1`] = `
|
|
216
216
|
<ExclamationIcon
|
|
217
|
-
|
|
217
|
+
size="md"
|
|
218
218
|
>
|
|
219
219
|
<ForwardRef(Icon)
|
|
220
220
|
icon="exclamation"
|
|
221
|
-
|
|
221
|
+
size="md"
|
|
222
222
|
>
|
|
223
223
|
<ForwardRef(SvgIcon)
|
|
224
224
|
className="ds-svg-icon--exclamation"
|
|
225
|
-
|
|
225
|
+
size="md"
|
|
226
226
|
>
|
|
227
227
|
<ForwardRef(Base)
|
|
228
228
|
aria-hidden="true"
|
|
229
229
|
as="svg"
|
|
230
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
230
|
+
className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
|
|
231
231
|
focusable="false"
|
|
232
232
|
viewBox="0 0 24 24"
|
|
233
233
|
>
|
|
234
234
|
<svg
|
|
235
235
|
aria-hidden="true"
|
|
236
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
236
|
+
className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
|
|
237
237
|
focusable="false"
|
|
238
238
|
viewBox="0 0 24 24"
|
|
239
239
|
>
|
|
@@ -254,28 +254,28 @@ exports[`renders the ExclamationIcon with prop variant=light 1`] = `
|
|
|
254
254
|
</ExclamationIcon>
|
|
255
255
|
`;
|
|
256
256
|
|
|
257
|
-
exports[`renders the ExclamationIcon with prop
|
|
257
|
+
exports[`renders the ExclamationIcon with prop size=xl 1`] = `
|
|
258
258
|
<ExclamationIcon
|
|
259
|
-
|
|
259
|
+
size="xl"
|
|
260
260
|
>
|
|
261
261
|
<ForwardRef(Icon)
|
|
262
262
|
icon="exclamation"
|
|
263
|
-
|
|
263
|
+
size="xl"
|
|
264
264
|
>
|
|
265
265
|
<ForwardRef(SvgIcon)
|
|
266
266
|
className="ds-svg-icon--exclamation"
|
|
267
|
-
|
|
267
|
+
size="xl"
|
|
268
268
|
>
|
|
269
269
|
<ForwardRef(Base)
|
|
270
270
|
aria-hidden="true"
|
|
271
271
|
as="svg"
|
|
272
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
272
|
+
className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
|
|
273
273
|
focusable="false"
|
|
274
274
|
viewBox="0 0 24 24"
|
|
275
275
|
>
|
|
276
276
|
<svg
|
|
277
277
|
aria-hidden="true"
|
|
278
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
278
|
+
className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
|
|
279
279
|
focusable="false"
|
|
280
280
|
viewBox="0 0 24 24"
|
|
281
281
|
>
|
|
@@ -12,15 +12,15 @@ it('renders the ExclamationIcon with prop size=md', () => {
|
|
|
12
12
|
it('renders the ExclamationIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<ExclamationIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the ExclamationIcon with prop
|
|
16
|
-
expect(mount(<ExclamationIcon
|
|
15
|
+
it('renders the ExclamationIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<ExclamationIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the ExclamationIcon with prop
|
|
19
|
-
expect(mount(<ExclamationIcon
|
|
18
|
+
it('renders the ExclamationIcon with prop color=warning', () => {
|
|
19
|
+
expect(mount(<ExclamationIcon color="warning" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the ExclamationIcon with prop
|
|
22
|
-
expect(mount(<ExclamationIcon
|
|
21
|
+
it('renders the ExclamationIcon with prop color=error and size=sm', () => {
|
|
22
|
+
expect(mount(<ExclamationIcon color="error" size="sm" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the ExclamationIcon with prop
|
|
25
|
-
expect(mount(<ExclamationIcon
|
|
24
|
+
it('renders the ExclamationIcon with prop color=info and size= xl', () => {
|
|
25
|
+
expect(mount(<ExclamationIcon color="info" size="xl" />)).toMatchSnapshot();
|
|
26
26
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`renders the GlobeIcon prop
|
|
3
|
+
exports[`renders the GlobeIcon prop color= "error" 1`] = `
|
|
4
4
|
<GlobeIcon
|
|
5
|
-
|
|
5
|
+
color="error"
|
|
6
6
|
>
|
|
7
7
|
<ForwardRef(Icon)
|
|
8
|
+
color="error"
|
|
8
9
|
icon="globe"
|
|
9
|
-
variant="error"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(SvgIcon)
|
|
12
12
|
className="ds-svg-icon--globe"
|
|
13
|
-
|
|
13
|
+
color="error"
|
|
14
14
|
>
|
|
15
15
|
<ForwardRef(Base)
|
|
16
16
|
aria-hidden="true"
|
|
@@ -38,17 +38,17 @@ exports[`renders the GlobeIcon prop variant= "error" 1`] = `
|
|
|
38
38
|
</GlobeIcon>
|
|
39
39
|
`;
|
|
40
40
|
|
|
41
|
-
exports[`renders the GlobeIcon prop
|
|
41
|
+
exports[`renders the GlobeIcon prop color= "light" 1`] = `
|
|
42
42
|
<GlobeIcon
|
|
43
|
-
|
|
43
|
+
color="light"
|
|
44
44
|
>
|
|
45
45
|
<ForwardRef(Icon)
|
|
46
|
+
color="light"
|
|
46
47
|
icon="globe"
|
|
47
|
-
variant="light"
|
|
48
48
|
>
|
|
49
49
|
<ForwardRef(SvgIcon)
|
|
50
50
|
className="ds-svg-icon--globe"
|
|
51
|
-
|
|
51
|
+
color="light"
|
|
52
52
|
>
|
|
53
53
|
<ForwardRef(Base)
|
|
54
54
|
aria-hidden="true"
|
|
@@ -110,17 +110,17 @@ exports[`renders the GlobeIcon with no props 1`] = `
|
|
|
110
110
|
</GlobeIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the GlobeIcon with prop
|
|
113
|
+
exports[`renders the GlobeIcon with prop color=dark 1`] = `
|
|
114
114
|
<GlobeIcon
|
|
115
|
-
|
|
115
|
+
color="dark"
|
|
116
116
|
>
|
|
117
117
|
<ForwardRef(Icon)
|
|
118
|
+
color="dark"
|
|
118
119
|
icon="globe"
|
|
119
|
-
variant="dark"
|
|
120
120
|
>
|
|
121
121
|
<ForwardRef(SvgIcon)
|
|
122
122
|
className="ds-svg-icon--globe"
|
|
123
|
-
|
|
123
|
+
color="dark"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
@@ -7,13 +7,13 @@ it('renders the GlobeIcon with no props', () => {
|
|
|
7
7
|
expect(mount(<GlobeIcon />)).toMatchSnapshot();
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
it('renders the GlobeIcon with prop
|
|
11
|
-
expect(mount(<GlobeIcon
|
|
10
|
+
it('renders the GlobeIcon with prop color=dark', () => {
|
|
11
|
+
expect(mount(<GlobeIcon color="dark" />)).toMatchSnapshot();
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
it('renders the GlobeIcon prop
|
|
15
|
-
expect(mount(<GlobeIcon
|
|
14
|
+
it('renders the GlobeIcon prop color= "light"', () => {
|
|
15
|
+
expect(mount(<GlobeIcon color="light" />)).toMatchSnapshot();
|
|
16
16
|
});
|
|
17
|
-
it('renders the GlobeIcon prop
|
|
18
|
-
expect(mount(<GlobeIcon
|
|
17
|
+
it('renders the GlobeIcon prop color= "error"', () => {
|
|
18
|
+
expect(mount(<GlobeIcon color="error" />)).toMatchSnapshot();
|
|
19
19
|
});
|