@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
|
@@ -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
|
>
|
|
@@ -18,28 +18,28 @@ it('renders the ExclamationIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(ExclamationIcon, {
|
|
21
|
-
|
|
21
|
+
color: "light"
|
|
22
22
|
});
|
|
23
|
-
it('renders the ExclamationIcon with prop
|
|
23
|
+
it('renders the ExclamationIcon with prop color=light', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(ExclamationIcon, {
|
|
27
|
-
|
|
27
|
+
color: "warning"
|
|
28
28
|
});
|
|
29
|
-
it('renders the ExclamationIcon with prop
|
|
29
|
+
it('renders the ExclamationIcon with prop color=warning', function () {
|
|
30
30
|
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
var _ref6 = /*#__PURE__*/React.createElement(ExclamationIcon, {
|
|
33
|
-
|
|
33
|
+
color: "error",
|
|
34
34
|
size: "sm"
|
|
35
35
|
});
|
|
36
|
-
it('renders the ExclamationIcon with prop
|
|
36
|
+
it('renders the ExclamationIcon with prop color=error and size=sm', function () {
|
|
37
37
|
expect(mount(_ref6)).toMatchSnapshot();
|
|
38
38
|
});
|
|
39
39
|
var _ref7 = /*#__PURE__*/React.createElement(ExclamationIcon, {
|
|
40
|
-
|
|
40
|
+
color: "info",
|
|
41
41
|
size: "xl"
|
|
42
42
|
});
|
|
43
|
-
it('renders the ExclamationIcon with prop
|
|
43
|
+
it('renders the ExclamationIcon with prop color=info and size= xl', function () {
|
|
44
44
|
expect(mount(_ref7)).toMatchSnapshot();
|
|
45
45
|
});
|
|
@@ -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"
|
|
@@ -6,20 +6,20 @@ it('renders the GlobeIcon with no props', function () {
|
|
|
6
6
|
expect(mount(_ref)).toMatchSnapshot();
|
|
7
7
|
});
|
|
8
8
|
var _ref2 = /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
9
|
-
|
|
9
|
+
color: "dark"
|
|
10
10
|
});
|
|
11
|
-
it('renders the GlobeIcon with prop
|
|
11
|
+
it('renders the GlobeIcon with prop color=dark', function () {
|
|
12
12
|
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
13
|
});
|
|
14
14
|
var _ref3 = /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
15
|
-
|
|
15
|
+
color: "light"
|
|
16
16
|
});
|
|
17
|
-
it('renders the GlobeIcon prop
|
|
17
|
+
it('renders the GlobeIcon prop color= "light"', function () {
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
21
|
-
|
|
21
|
+
color: "error"
|
|
22
22
|
});
|
|
23
|
-
it('renders the GlobeIcon prop
|
|
23
|
+
it('renders the GlobeIcon prop color= "error"', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
@@ -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
|
>
|
|
@@ -18,28 +18,28 @@ it('renders the LockIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(LockIcon, {
|
|
21
|
-
|
|
21
|
+
color: "light"
|
|
22
22
|
});
|
|
23
|
-
it('renders the LockIcon with prop
|
|
23
|
+
it('renders the LockIcon with prop color=light', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(LockIcon, {
|
|
27
|
-
|
|
27
|
+
color: "warning"
|
|
28
28
|
});
|
|
29
|
-
it('renders the LockIcon with prop
|
|
29
|
+
it('renders the LockIcon with prop color=warning', function () {
|
|
30
30
|
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
var _ref6 = /*#__PURE__*/React.createElement(LockIcon, {
|
|
33
|
-
|
|
33
|
+
color: "warning",
|
|
34
34
|
size: "sm"
|
|
35
35
|
});
|
|
36
|
-
it('renders the LockIcon with prop
|
|
36
|
+
it('renders the LockIcon with prop color=warning and size=sm', function () {
|
|
37
37
|
expect(mount(_ref6)).toMatchSnapshot();
|
|
38
38
|
});
|
|
39
39
|
var _ref7 = /*#__PURE__*/React.createElement(LockIcon, {
|
|
40
|
-
|
|
40
|
+
color: "warning",
|
|
41
41
|
size: "xl"
|
|
42
42
|
});
|
|
43
|
-
it('renders the LockIcon with prop
|
|
43
|
+
it('renders the LockIcon with prop color=error and size= xl', function () {
|
|
44
44
|
expect(mount(_ref7)).toMatchSnapshot();
|
|
45
45
|
});
|