@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
|
@@ -33,28 +33,31 @@ exports[`renders the LockIcon with no props 1`] = `
|
|
|
33
33
|
</LockIcon>
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
|
-
exports[`renders the LockIcon with prop size=
|
|
36
|
+
exports[`renders the LockIcon with prop color=error and size= xl 1`] = `
|
|
37
37
|
<LockIcon
|
|
38
|
-
|
|
38
|
+
color="warning"
|
|
39
|
+
size="xl"
|
|
39
40
|
>
|
|
40
41
|
<ForwardRef(Icon)
|
|
42
|
+
color="warning"
|
|
41
43
|
icon="lock"
|
|
42
|
-
size="
|
|
44
|
+
size="xl"
|
|
43
45
|
>
|
|
44
46
|
<ForwardRef(SvgIcon)
|
|
45
47
|
className="ds-svg-icon--lock"
|
|
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--lock ds-svg-icon--
|
|
54
|
+
className="ds-svg-icon--lock 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--lock ds-svg-icon--
|
|
60
|
+
className="ds-svg-icon--lock 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 LockIcon with prop size=md 1`] = `
|
|
|
70
73
|
</LockIcon>
|
|
71
74
|
`;
|
|
72
75
|
|
|
73
|
-
exports[`renders the LockIcon with prop
|
|
76
|
+
exports[`renders the LockIcon with prop color=light 1`] = `
|
|
74
77
|
<LockIcon
|
|
75
|
-
|
|
78
|
+
color="light"
|
|
76
79
|
>
|
|
77
80
|
<ForwardRef(Icon)
|
|
81
|
+
color="light"
|
|
78
82
|
icon="lock"
|
|
79
|
-
size="xl"
|
|
80
83
|
>
|
|
81
84
|
<ForwardRef(SvgIcon)
|
|
82
85
|
className="ds-svg-icon--lock"
|
|
83
|
-
|
|
86
|
+
color="light"
|
|
84
87
|
>
|
|
85
88
|
<ForwardRef(Base)
|
|
86
89
|
aria-hidden="true"
|
|
87
90
|
as="svg"
|
|
88
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--lock 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--lock ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--lock 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 LockIcon with prop size=xl 1`] = `
|
|
|
107
110
|
</LockIcon>
|
|
108
111
|
`;
|
|
109
112
|
|
|
110
|
-
exports[`renders the LockIcon with prop
|
|
113
|
+
exports[`renders the LockIcon with prop color=warning 1`] = `
|
|
111
114
|
<LockIcon
|
|
112
|
-
|
|
113
|
-
variant="warning"
|
|
115
|
+
color="warning"
|
|
114
116
|
>
|
|
115
117
|
<ForwardRef(Icon)
|
|
118
|
+
color="warning"
|
|
116
119
|
icon="lock"
|
|
117
|
-
size="xl"
|
|
118
|
-
variant="warning"
|
|
119
120
|
>
|
|
120
121
|
<ForwardRef(SvgIcon)
|
|
121
122
|
className="ds-svg-icon--lock"
|
|
122
|
-
|
|
123
|
-
variant="warning"
|
|
123
|
+
color="warning"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon
|
|
128
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
129
129
|
focusable="false"
|
|
130
130
|
viewBox="0 0 24 24"
|
|
131
131
|
>
|
|
132
132
|
<svg
|
|
133
133
|
aria-hidden="true"
|
|
134
|
-
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon
|
|
134
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
135
135
|
focusable="false"
|
|
136
136
|
viewBox="0 0 24 24"
|
|
137
137
|
>
|
|
@@ -147,28 +147,31 @@ exports[`renders the LockIcon with prop variant=error and size= xl 1`] = `
|
|
|
147
147
|
</LockIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the LockIcon with prop
|
|
150
|
+
exports[`renders the LockIcon with prop color=warning and size=sm 1`] = `
|
|
151
151
|
<LockIcon
|
|
152
|
-
|
|
152
|
+
color="warning"
|
|
153
|
+
size="sm"
|
|
153
154
|
>
|
|
154
155
|
<ForwardRef(Icon)
|
|
156
|
+
color="warning"
|
|
155
157
|
icon="lock"
|
|
156
|
-
|
|
158
|
+
size="sm"
|
|
157
159
|
>
|
|
158
160
|
<ForwardRef(SvgIcon)
|
|
159
161
|
className="ds-svg-icon--lock"
|
|
160
|
-
|
|
162
|
+
color="warning"
|
|
163
|
+
size="sm"
|
|
161
164
|
>
|
|
162
165
|
<ForwardRef(Base)
|
|
163
166
|
aria-hidden="true"
|
|
164
167
|
as="svg"
|
|
165
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
166
169
|
focusable="false"
|
|
167
170
|
viewBox="0 0 24 24"
|
|
168
171
|
>
|
|
169
172
|
<svg
|
|
170
173
|
aria-hidden="true"
|
|
171
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
172
175
|
focusable="false"
|
|
173
176
|
viewBox="0 0 24 24"
|
|
174
177
|
>
|
|
@@ -184,28 +187,28 @@ exports[`renders the LockIcon with prop variant=light 1`] = `
|
|
|
184
187
|
</LockIcon>
|
|
185
188
|
`;
|
|
186
189
|
|
|
187
|
-
exports[`renders the LockIcon with prop
|
|
190
|
+
exports[`renders the LockIcon with prop size=md 1`] = `
|
|
188
191
|
<LockIcon
|
|
189
|
-
|
|
192
|
+
size="md"
|
|
190
193
|
>
|
|
191
194
|
<ForwardRef(Icon)
|
|
192
195
|
icon="lock"
|
|
193
|
-
|
|
196
|
+
size="md"
|
|
194
197
|
>
|
|
195
198
|
<ForwardRef(SvgIcon)
|
|
196
199
|
className="ds-svg-icon--lock"
|
|
197
|
-
|
|
200
|
+
size="md"
|
|
198
201
|
>
|
|
199
202
|
<ForwardRef(Base)
|
|
200
203
|
aria-hidden="true"
|
|
201
204
|
as="svg"
|
|
202
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--lock 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--lock ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--lock 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 LockIcon with prop variant=warning 1`] = `
|
|
|
221
224
|
</LockIcon>
|
|
222
225
|
`;
|
|
223
226
|
|
|
224
|
-
exports[`renders the LockIcon with prop
|
|
227
|
+
exports[`renders the LockIcon with prop size=xl 1`] = `
|
|
225
228
|
<LockIcon
|
|
226
|
-
size="
|
|
227
|
-
variant="warning"
|
|
229
|
+
size="xl"
|
|
228
230
|
>
|
|
229
231
|
<ForwardRef(Icon)
|
|
230
232
|
icon="lock"
|
|
231
|
-
size="
|
|
232
|
-
variant="warning"
|
|
233
|
+
size="xl"
|
|
233
234
|
>
|
|
234
235
|
<ForwardRef(SvgIcon)
|
|
235
236
|
className="ds-svg-icon--lock"
|
|
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--lock ds-svg-icon--
|
|
242
|
+
className="ds-svg-icon--lock 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--lock ds-svg-icon--
|
|
248
|
+
className="ds-svg-icon--lock ds-svg-icon--xl ds-svg-icon"
|
|
249
249
|
focusable="false"
|
|
250
250
|
viewBox="0 0 24 24"
|
|
251
251
|
>
|
|
@@ -12,15 +12,15 @@ it('renders the LockIcon with prop size=md', () => {
|
|
|
12
12
|
it('renders the LockIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<LockIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the LockIcon with prop
|
|
16
|
-
expect(mount(<LockIcon
|
|
15
|
+
it('renders the LockIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<LockIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the LockIcon with prop
|
|
19
|
-
expect(mount(<LockIcon
|
|
18
|
+
it('renders the LockIcon with prop color=warning', () => {
|
|
19
|
+
expect(mount(<LockIcon color="warning" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the LockIcon with prop
|
|
22
|
-
expect(mount(<LockIcon
|
|
21
|
+
it('renders the LockIcon with prop color=warning and size=sm', () => {
|
|
22
|
+
expect(mount(<LockIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the LockIcon with prop
|
|
25
|
-
expect(mount(<LockIcon
|
|
24
|
+
it('renders the LockIcon with prop color=error and size= xl', () => {
|
|
25
|
+
expect(mount(<LockIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
26
26
|
});
|
|
@@ -36,28 +36,31 @@ exports[`renders the LoginIcon with no props 1`] = `
|
|
|
36
36
|
</LoginIcon>
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
|
-
exports[`renders the LoginIcon with prop size=
|
|
39
|
+
exports[`renders the LoginIcon with prop color=error and size= xl 1`] = `
|
|
40
40
|
<LoginIcon
|
|
41
|
-
|
|
41
|
+
color="warning"
|
|
42
|
+
size="xl"
|
|
42
43
|
>
|
|
43
44
|
<ForwardRef(Icon)
|
|
45
|
+
color="warning"
|
|
44
46
|
icon="login"
|
|
45
|
-
size="
|
|
47
|
+
size="xl"
|
|
46
48
|
>
|
|
47
49
|
<ForwardRef(SvgIcon)
|
|
48
50
|
className="ds-svg-icon--login"
|
|
49
|
-
|
|
51
|
+
color="warning"
|
|
52
|
+
size="xl"
|
|
50
53
|
>
|
|
51
54
|
<ForwardRef(Base)
|
|
52
55
|
aria-hidden="true"
|
|
53
56
|
as="svg"
|
|
54
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
57
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
55
58
|
focusable="false"
|
|
56
59
|
viewBox="0 0 24 24"
|
|
57
60
|
>
|
|
58
61
|
<svg
|
|
59
62
|
aria-hidden="true"
|
|
60
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
63
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
61
64
|
focusable="false"
|
|
62
65
|
viewBox="0 0 24 24"
|
|
63
66
|
>
|
|
@@ -76,28 +79,28 @@ exports[`renders the LoginIcon with prop size=md 1`] = `
|
|
|
76
79
|
</LoginIcon>
|
|
77
80
|
`;
|
|
78
81
|
|
|
79
|
-
exports[`renders the LoginIcon with prop
|
|
82
|
+
exports[`renders the LoginIcon with prop color=light 1`] = `
|
|
80
83
|
<LoginIcon
|
|
81
|
-
|
|
84
|
+
color="light"
|
|
82
85
|
>
|
|
83
86
|
<ForwardRef(Icon)
|
|
87
|
+
color="light"
|
|
84
88
|
icon="login"
|
|
85
|
-
size="xl"
|
|
86
89
|
>
|
|
87
90
|
<ForwardRef(SvgIcon)
|
|
88
91
|
className="ds-svg-icon--login"
|
|
89
|
-
|
|
92
|
+
color="light"
|
|
90
93
|
>
|
|
91
94
|
<ForwardRef(Base)
|
|
92
95
|
aria-hidden="true"
|
|
93
96
|
as="svg"
|
|
94
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--login ds-svg-icon--light ds-svg-icon"
|
|
95
98
|
focusable="false"
|
|
96
99
|
viewBox="0 0 24 24"
|
|
97
100
|
>
|
|
98
101
|
<svg
|
|
99
102
|
aria-hidden="true"
|
|
100
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
103
|
+
className="ds-svg-icon--login ds-svg-icon--light ds-svg-icon"
|
|
101
104
|
focusable="false"
|
|
102
105
|
viewBox="0 0 24 24"
|
|
103
106
|
>
|
|
@@ -116,31 +119,28 @@ exports[`renders the LoginIcon with prop size=xl 1`] = `
|
|
|
116
119
|
</LoginIcon>
|
|
117
120
|
`;
|
|
118
121
|
|
|
119
|
-
exports[`renders the LoginIcon with prop
|
|
122
|
+
exports[`renders the LoginIcon with prop color=warning 1`] = `
|
|
120
123
|
<LoginIcon
|
|
121
|
-
|
|
122
|
-
variant="warning"
|
|
124
|
+
color="warning"
|
|
123
125
|
>
|
|
124
126
|
<ForwardRef(Icon)
|
|
127
|
+
color="warning"
|
|
125
128
|
icon="login"
|
|
126
|
-
size="xl"
|
|
127
|
-
variant="warning"
|
|
128
129
|
>
|
|
129
130
|
<ForwardRef(SvgIcon)
|
|
130
131
|
className="ds-svg-icon--login"
|
|
131
|
-
|
|
132
|
-
variant="warning"
|
|
132
|
+
color="warning"
|
|
133
133
|
>
|
|
134
134
|
<ForwardRef(Base)
|
|
135
135
|
aria-hidden="true"
|
|
136
136
|
as="svg"
|
|
137
|
-
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon
|
|
137
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon"
|
|
138
138
|
focusable="false"
|
|
139
139
|
viewBox="0 0 24 24"
|
|
140
140
|
>
|
|
141
141
|
<svg
|
|
142
142
|
aria-hidden="true"
|
|
143
|
-
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon
|
|
143
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon"
|
|
144
144
|
focusable="false"
|
|
145
145
|
viewBox="0 0 24 24"
|
|
146
146
|
>
|
|
@@ -159,28 +159,31 @@ exports[`renders the LoginIcon with prop variant=error and size= xl 1`] = `
|
|
|
159
159
|
</LoginIcon>
|
|
160
160
|
`;
|
|
161
161
|
|
|
162
|
-
exports[`renders the LoginIcon with prop
|
|
162
|
+
exports[`renders the LoginIcon with prop color=warning and size=s 1`] = `
|
|
163
163
|
<LoginIcon
|
|
164
|
-
|
|
164
|
+
color="warning"
|
|
165
|
+
size="sm"
|
|
165
166
|
>
|
|
166
167
|
<ForwardRef(Icon)
|
|
168
|
+
color="warning"
|
|
167
169
|
icon="login"
|
|
168
|
-
|
|
170
|
+
size="sm"
|
|
169
171
|
>
|
|
170
172
|
<ForwardRef(SvgIcon)
|
|
171
173
|
className="ds-svg-icon--login"
|
|
172
|
-
|
|
174
|
+
color="warning"
|
|
175
|
+
size="sm"
|
|
173
176
|
>
|
|
174
177
|
<ForwardRef(Base)
|
|
175
178
|
aria-hidden="true"
|
|
176
179
|
as="svg"
|
|
177
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
180
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
178
181
|
focusable="false"
|
|
179
182
|
viewBox="0 0 24 24"
|
|
180
183
|
>
|
|
181
184
|
<svg
|
|
182
185
|
aria-hidden="true"
|
|
183
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
186
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
184
187
|
focusable="false"
|
|
185
188
|
viewBox="0 0 24 24"
|
|
186
189
|
>
|
|
@@ -199,28 +202,28 @@ exports[`renders the LoginIcon with prop variant=light 1`] = `
|
|
|
199
202
|
</LoginIcon>
|
|
200
203
|
`;
|
|
201
204
|
|
|
202
|
-
exports[`renders the LoginIcon with prop
|
|
205
|
+
exports[`renders the LoginIcon with prop size=md 1`] = `
|
|
203
206
|
<LoginIcon
|
|
204
|
-
|
|
207
|
+
size="md"
|
|
205
208
|
>
|
|
206
209
|
<ForwardRef(Icon)
|
|
207
210
|
icon="login"
|
|
208
|
-
|
|
211
|
+
size="md"
|
|
209
212
|
>
|
|
210
213
|
<ForwardRef(SvgIcon)
|
|
211
214
|
className="ds-svg-icon--login"
|
|
212
|
-
|
|
215
|
+
size="md"
|
|
213
216
|
>
|
|
214
217
|
<ForwardRef(Base)
|
|
215
218
|
aria-hidden="true"
|
|
216
219
|
as="svg"
|
|
217
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
220
|
+
className="ds-svg-icon--login ds-svg-icon--md 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--login ds-svg-icon--
|
|
226
|
+
className="ds-svg-icon--login ds-svg-icon--md ds-svg-icon"
|
|
224
227
|
focusable="false"
|
|
225
228
|
viewBox="0 0 24 24"
|
|
226
229
|
>
|
|
@@ -239,31 +242,28 @@ exports[`renders the LoginIcon with prop variant=warning 1`] = `
|
|
|
239
242
|
</LoginIcon>
|
|
240
243
|
`;
|
|
241
244
|
|
|
242
|
-
exports[`renders the LoginIcon with prop
|
|
245
|
+
exports[`renders the LoginIcon with prop size=xl 1`] = `
|
|
243
246
|
<LoginIcon
|
|
244
|
-
size="
|
|
245
|
-
variant="warning"
|
|
247
|
+
size="xl"
|
|
246
248
|
>
|
|
247
249
|
<ForwardRef(Icon)
|
|
248
250
|
icon="login"
|
|
249
|
-
size="
|
|
250
|
-
variant="warning"
|
|
251
|
+
size="xl"
|
|
251
252
|
>
|
|
252
253
|
<ForwardRef(SvgIcon)
|
|
253
254
|
className="ds-svg-icon--login"
|
|
254
|
-
size="
|
|
255
|
-
variant="warning"
|
|
255
|
+
size="xl"
|
|
256
256
|
>
|
|
257
257
|
<ForwardRef(Base)
|
|
258
258
|
aria-hidden="true"
|
|
259
259
|
as="svg"
|
|
260
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
260
|
+
className="ds-svg-icon--login ds-svg-icon--xl ds-svg-icon"
|
|
261
261
|
focusable="false"
|
|
262
262
|
viewBox="0 0 24 24"
|
|
263
263
|
>
|
|
264
264
|
<svg
|
|
265
265
|
aria-hidden="true"
|
|
266
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
266
|
+
className="ds-svg-icon--login ds-svg-icon--xl ds-svg-icon"
|
|
267
267
|
focusable="false"
|
|
268
268
|
viewBox="0 0 24 24"
|
|
269
269
|
>
|
|
@@ -12,15 +12,15 @@ it('renders the LoginIcon with prop size=md', () => {
|
|
|
12
12
|
it('renders the LoginIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<LoginIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the LoginIcon with prop
|
|
16
|
-
expect(mount(<LoginIcon
|
|
15
|
+
it('renders the LoginIcon with prop color=light', () => {
|
|
16
|
+
expect(mount(<LoginIcon color="light" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the LoginIcon with prop
|
|
19
|
-
expect(mount(<LoginIcon
|
|
18
|
+
it('renders the LoginIcon with prop color=warning', () => {
|
|
19
|
+
expect(mount(<LoginIcon color="warning" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
|
-
it('renders the LoginIcon with prop
|
|
22
|
-
expect(mount(<LoginIcon
|
|
21
|
+
it('renders the LoginIcon with prop color=warning and size=s', () => {
|
|
22
|
+
expect(mount(<LoginIcon color="warning" size="sm" />)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
|
-
it('renders the LoginIcon with prop
|
|
25
|
-
expect(mount(<LoginIcon
|
|
24
|
+
it('renders the LoginIcon with prop color=error and size= xl', () => {
|
|
25
|
+
expect(mount(<LoginIcon color="warning" size="xl" />)).toMatchSnapshot();
|
|
26
26
|
});
|