@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
|
@@ -12,15 +12,15 @@ it('renders the CancelIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the CancelIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<CancelIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the CancelIcon with prop
|
|
16
|
-
expect(mount(<CancelIcon
|
|
15
|
+
it('renders the CancelIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<CancelIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the CancelIcon with prop
|
|
19
|
-
expect(mount(<CancelIcon
|
|
18
|
+
it('renders the CancelIcon with prop color=warning', () => {
|
|
19
|
+
expect(mount(<CancelIcon color="warning" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the CancelIcon with prop
|
|
22
|
-
expect(mount(<CancelIcon
|
|
21
|
+
it('renders the CancelIcon with prop color=warning and size=s', () => {
|
|
22
|
+
expect(mount(<CancelIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the CancelIcon with prop
|
|
25
|
-
expect(mount(<CancelIcon
|
|
24
|
+
it('renders the CancelIcon with prop color=error and size= xl', () => {
|
|
25
|
+
expect(mount(<CancelIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
26
26
|
});
|
|
@@ -71,28 +71,31 @@ exports[`renders the ChatIcon with no props 1`] = `
|
|
|
71
71
|
</ChatIcon>
|
|
72
72
|
`;
|
|
73
73
|
|
|
74
|
-
exports[`renders the ChatIcon with prop size=
|
|
74
|
+
exports[`renders the ChatIcon with prop color=error and size= xl 1`] = `
|
|
75
75
|
<ChatIcon
|
|
76
|
-
|
|
76
|
+
color="warning"
|
|
77
|
+
size="xl"
|
|
77
78
|
>
|
|
78
79
|
<ForwardRef(Icon)
|
|
80
|
+
color="warning"
|
|
79
81
|
icon="chat"
|
|
80
|
-
size="
|
|
82
|
+
size="xl"
|
|
81
83
|
>
|
|
82
84
|
<ForwardRef(SvgIcon)
|
|
83
85
|
className="ds-svg-icon--chat"
|
|
84
|
-
|
|
86
|
+
color="warning"
|
|
87
|
+
size="xl"
|
|
85
88
|
>
|
|
86
89
|
<ForwardRef(Base)
|
|
87
90
|
aria-hidden="true"
|
|
88
91
|
as="svg"
|
|
89
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
92
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
90
93
|
focusable="false"
|
|
91
94
|
viewBox="0 0 24 24"
|
|
92
95
|
>
|
|
93
96
|
<svg
|
|
94
97
|
aria-hidden="true"
|
|
95
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
98
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
96
99
|
focusable="false"
|
|
97
100
|
viewBox="0 0 24 24"
|
|
98
101
|
>
|
|
@@ -108,28 +111,28 @@ exports[`renders the ChatIcon with prop size=md 1`] = `
|
|
|
108
111
|
</ChatIcon>
|
|
109
112
|
`;
|
|
110
113
|
|
|
111
|
-
exports[`renders the ChatIcon with prop
|
|
114
|
+
exports[`renders the ChatIcon with prop color=light 1`] = `
|
|
112
115
|
<ChatIcon
|
|
113
|
-
|
|
116
|
+
color="light"
|
|
114
117
|
>
|
|
115
118
|
<ForwardRef(Icon)
|
|
119
|
+
color="light"
|
|
116
120
|
icon="chat"
|
|
117
|
-
size="xl"
|
|
118
121
|
>
|
|
119
122
|
<ForwardRef(SvgIcon)
|
|
120
123
|
className="ds-svg-icon--chat"
|
|
121
|
-
|
|
124
|
+
color="light"
|
|
122
125
|
>
|
|
123
126
|
<ForwardRef(Base)
|
|
124
127
|
aria-hidden="true"
|
|
125
128
|
as="svg"
|
|
126
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
129
|
+
className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
|
|
127
130
|
focusable="false"
|
|
128
131
|
viewBox="0 0 24 24"
|
|
129
132
|
>
|
|
130
133
|
<svg
|
|
131
134
|
aria-hidden="true"
|
|
132
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
135
|
+
className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
|
|
133
136
|
focusable="false"
|
|
134
137
|
viewBox="0 0 24 24"
|
|
135
138
|
>
|
|
@@ -145,31 +148,28 @@ exports[`renders the ChatIcon with prop size=xl 1`] = `
|
|
|
145
148
|
</ChatIcon>
|
|
146
149
|
`;
|
|
147
150
|
|
|
148
|
-
exports[`renders the ChatIcon with prop
|
|
151
|
+
exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
149
152
|
<ChatIcon
|
|
150
|
-
|
|
151
|
-
variant="warning"
|
|
153
|
+
color="warning"
|
|
152
154
|
>
|
|
153
155
|
<ForwardRef(Icon)
|
|
156
|
+
color="warning"
|
|
154
157
|
icon="chat"
|
|
155
|
-
size="xl"
|
|
156
|
-
variant="warning"
|
|
157
158
|
>
|
|
158
159
|
<ForwardRef(SvgIcon)
|
|
159
160
|
className="ds-svg-icon--chat"
|
|
160
|
-
|
|
161
|
-
variant="warning"
|
|
161
|
+
color="warning"
|
|
162
162
|
>
|
|
163
163
|
<ForwardRef(Base)
|
|
164
164
|
aria-hidden="true"
|
|
165
165
|
as="svg"
|
|
166
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon
|
|
166
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
167
167
|
focusable="false"
|
|
168
168
|
viewBox="0 0 24 24"
|
|
169
169
|
>
|
|
170
170
|
<svg
|
|
171
171
|
aria-hidden="true"
|
|
172
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon
|
|
172
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
173
173
|
focusable="false"
|
|
174
174
|
viewBox="0 0 24 24"
|
|
175
175
|
>
|
|
@@ -185,28 +185,31 @@ exports[`renders the ChatIcon with prop variant=error and size= xl 1`] = `
|
|
|
185
185
|
</ChatIcon>
|
|
186
186
|
`;
|
|
187
187
|
|
|
188
|
-
exports[`renders the ChatIcon with prop
|
|
188
|
+
exports[`renders the ChatIcon with prop color=warning and size=sm 1`] = `
|
|
189
189
|
<ChatIcon
|
|
190
|
-
|
|
190
|
+
color="warning"
|
|
191
|
+
size="sm"
|
|
191
192
|
>
|
|
192
193
|
<ForwardRef(Icon)
|
|
194
|
+
color="warning"
|
|
193
195
|
icon="chat"
|
|
194
|
-
|
|
196
|
+
size="sm"
|
|
195
197
|
>
|
|
196
198
|
<ForwardRef(SvgIcon)
|
|
197
199
|
className="ds-svg-icon--chat"
|
|
198
|
-
|
|
200
|
+
color="warning"
|
|
201
|
+
size="sm"
|
|
199
202
|
>
|
|
200
203
|
<ForwardRef(Base)
|
|
201
204
|
aria-hidden="true"
|
|
202
205
|
as="svg"
|
|
203
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
206
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
204
207
|
focusable="false"
|
|
205
208
|
viewBox="0 0 24 24"
|
|
206
209
|
>
|
|
207
210
|
<svg
|
|
208
211
|
aria-hidden="true"
|
|
209
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
212
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
210
213
|
focusable="false"
|
|
211
214
|
viewBox="0 0 24 24"
|
|
212
215
|
>
|
|
@@ -222,28 +225,28 @@ exports[`renders the ChatIcon with prop variant=light 1`] = `
|
|
|
222
225
|
</ChatIcon>
|
|
223
226
|
`;
|
|
224
227
|
|
|
225
|
-
exports[`renders the ChatIcon with prop
|
|
228
|
+
exports[`renders the ChatIcon with prop size=md 1`] = `
|
|
226
229
|
<ChatIcon
|
|
227
|
-
|
|
230
|
+
size="md"
|
|
228
231
|
>
|
|
229
232
|
<ForwardRef(Icon)
|
|
230
233
|
icon="chat"
|
|
231
|
-
|
|
234
|
+
size="md"
|
|
232
235
|
>
|
|
233
236
|
<ForwardRef(SvgIcon)
|
|
234
237
|
className="ds-svg-icon--chat"
|
|
235
|
-
|
|
238
|
+
size="md"
|
|
236
239
|
>
|
|
237
240
|
<ForwardRef(Base)
|
|
238
241
|
aria-hidden="true"
|
|
239
242
|
as="svg"
|
|
240
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
243
|
+
className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
|
|
241
244
|
focusable="false"
|
|
242
245
|
viewBox="0 0 24 24"
|
|
243
246
|
>
|
|
244
247
|
<svg
|
|
245
248
|
aria-hidden="true"
|
|
246
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
249
|
+
className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
|
|
247
250
|
focusable="false"
|
|
248
251
|
viewBox="0 0 24 24"
|
|
249
252
|
>
|
|
@@ -259,31 +262,28 @@ exports[`renders the ChatIcon with prop variant=warning 1`] = `
|
|
|
259
262
|
</ChatIcon>
|
|
260
263
|
`;
|
|
261
264
|
|
|
262
|
-
exports[`renders the ChatIcon with prop
|
|
265
|
+
exports[`renders the ChatIcon with prop size=xl 1`] = `
|
|
263
266
|
<ChatIcon
|
|
264
|
-
size="
|
|
265
|
-
variant="warning"
|
|
267
|
+
size="xl"
|
|
266
268
|
>
|
|
267
269
|
<ForwardRef(Icon)
|
|
268
270
|
icon="chat"
|
|
269
|
-
size="
|
|
270
|
-
variant="warning"
|
|
271
|
+
size="xl"
|
|
271
272
|
>
|
|
272
273
|
<ForwardRef(SvgIcon)
|
|
273
274
|
className="ds-svg-icon--chat"
|
|
274
|
-
size="
|
|
275
|
-
variant="warning"
|
|
275
|
+
size="xl"
|
|
276
276
|
>
|
|
277
277
|
<ForwardRef(Base)
|
|
278
278
|
aria-hidden="true"
|
|
279
279
|
as="svg"
|
|
280
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
280
|
+
className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
|
|
281
281
|
focusable="false"
|
|
282
282
|
viewBox="0 0 24 24"
|
|
283
283
|
>
|
|
284
284
|
<svg
|
|
285
285
|
aria-hidden="true"
|
|
286
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
286
|
+
className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
|
|
287
287
|
focusable="false"
|
|
288
288
|
viewBox="0 0 24 24"
|
|
289
289
|
>
|
|
@@ -15,15 +15,15 @@ it('renders the ChatIcon with prop size=md', () => {
|
|
|
15
15
|
it('renders the ChatIcon with prop size=xl', () => {
|
|
16
16
|
expect(mount(<ChatIcon size="xl" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the ChatIcon with prop
|
|
19
|
-
expect(mount(<ChatIcon
|
|
18
|
+
it('renders the ChatIcon with prop color=light', () => {
|
|
19
|
+
expect(mount(<ChatIcon color="light" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the ChatIcon with prop
|
|
22
|
-
expect(mount(<ChatIcon
|
|
21
|
+
it('renders the ChatIcon with prop color=warning', () => {
|
|
22
|
+
expect(mount(<ChatIcon color="warning" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the ChatIcon with prop
|
|
25
|
-
expect(mount(<ChatIcon
|
|
24
|
+
it('renders the ChatIcon with prop color=warning and size=sm', () => {
|
|
25
|
+
expect(mount(<ChatIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
26
26
|
});
|
|
27
|
-
it('renders the ChatIcon with prop
|
|
28
|
-
expect(mount(<ChatIcon
|
|
27
|
+
it('renders the ChatIcon with prop color=error and size= xl', () => {
|
|
28
|
+
expect(mount(<ChatIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
29
29
|
});
|
|
@@ -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
|
>
|
|
@@ -12,18 +12,18 @@ it('renders the CheckIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the CheckIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<CheckIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the CheckIcon with prop
|
|
16
|
-
expect(mount(<CheckIcon
|
|
15
|
+
it('renders the CheckIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<CheckIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the CheckIcon with prop
|
|
19
|
-
expect(mount(<CheckIcon
|
|
18
|
+
it('renders the CheckIcon with prop color=success', () => {
|
|
19
|
+
expect(mount(<CheckIcon color="success" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the CheckIcon with prop
|
|
22
|
-
expect(mount(<CheckIcon
|
|
21
|
+
it('renders the CheckIcon with prop color=warning', () => {
|
|
22
|
+
expect(mount(<CheckIcon color="warning" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the CheckIcon with prop
|
|
25
|
-
expect(mount(<CheckIcon
|
|
24
|
+
it('renders the CheckIcon with prop color=warning and size=s', () => {
|
|
25
|
+
expect(mount(<CheckIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
26
26
|
});
|
|
27
|
-
it('renders the CheckIcon with prop
|
|
28
|
-
expect(mount(<CheckIcon
|
|
27
|
+
it('renders the CheckIcon with prop color=error and size= xl', () => {
|
|
28
|
+
expect(mount(<CheckIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
29
29
|
});
|