@digigov/react-icons 2.0.0-af1b5f33 → 2.0.0-cbc56209
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 +22 -22
- 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 +20 -24
- package/GlobeIcon/config/index.js +2 -2
- package/GlobeIcon/index.test/index.js +6 -6
- package/Icon/__snapshots__/index.test.tsx.snap +1 -2
- 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 +22 -22
- 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 +20 -24
- package/cjs/GlobeIcon/config/index.js +2 -2
- package/cjs/GlobeIcon/index.test/index.js +6 -6
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +1 -2
- 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/lazy/index.js +229 -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/lazy/index.js +171 -0
- package/lazy/package.json +6 -0
- package/lazy.d.ts +27 -0
- 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 +22 -22
- 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 +20 -24
- package/src/GlobeIcon/config.tsx +1 -12
- package/src/GlobeIcon/index.test.tsx +6 -6
- package/src/Icon/__snapshots__/index.test.tsx.snap +1 -2
- 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/lazy.js +28 -0
- package/src/registry.js +6 -4
|
@@ -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=warning 1`] = `
|
|
126
132
|
<ExclamationIcon
|
|
127
|
-
|
|
128
|
-
variant="error"
|
|
133
|
+
color="warning"
|
|
129
134
|
>
|
|
130
135
|
<ForwardRef(Icon)
|
|
136
|
+
color="warning"
|
|
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="warning"
|
|
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--warning 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--warning 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=white 1`] = `
|
|
171
174
|
<ExclamationIcon
|
|
172
|
-
|
|
173
|
-
variant="info"
|
|
175
|
+
color="white"
|
|
174
176
|
>
|
|
175
177
|
<ForwardRef(Icon)
|
|
178
|
+
color="white"
|
|
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="white"
|
|
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--white 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--white 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: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the ExclamationIcon with prop
|
|
23
|
+
it('renders the ExclamationIcon with prop color=white', 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"
|
|
@@ -27,9 +27,8 @@ exports[`renders the GlobeIcon prop variant= "error" 1`] = `
|
|
|
27
27
|
>
|
|
28
28
|
<globe>
|
|
29
29
|
<path
|
|
30
|
-
d="M12,
|
|
30
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
31
31
|
/>
|
|
32
|
-
|
|
33
32
|
</globe>
|
|
34
33
|
</svg>
|
|
35
34
|
</ForwardRef(Base)>
|
|
@@ -38,36 +37,35 @@ exports[`renders the GlobeIcon prop variant= "error" 1`] = `
|
|
|
38
37
|
</GlobeIcon>
|
|
39
38
|
`;
|
|
40
39
|
|
|
41
|
-
exports[`renders the GlobeIcon prop
|
|
40
|
+
exports[`renders the GlobeIcon prop color= "white" 1`] = `
|
|
42
41
|
<GlobeIcon
|
|
43
|
-
|
|
42
|
+
color="white"
|
|
44
43
|
>
|
|
45
44
|
<ForwardRef(Icon)
|
|
45
|
+
color="white"
|
|
46
46
|
icon="globe"
|
|
47
|
-
variant="light"
|
|
48
47
|
>
|
|
49
48
|
<ForwardRef(SvgIcon)
|
|
50
49
|
className="ds-svg-icon--globe"
|
|
51
|
-
|
|
50
|
+
color="white"
|
|
52
51
|
>
|
|
53
52
|
<ForwardRef(Base)
|
|
54
53
|
aria-hidden="true"
|
|
55
54
|
as="svg"
|
|
56
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
55
|
+
className="ds-svg-icon--globe ds-svg-icon--white ds-svg-icon"
|
|
57
56
|
focusable="false"
|
|
58
57
|
viewBox="0 0 24 24"
|
|
59
58
|
>
|
|
60
59
|
<svg
|
|
61
60
|
aria-hidden="true"
|
|
62
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
61
|
+
className="ds-svg-icon--globe ds-svg-icon--white ds-svg-icon"
|
|
63
62
|
focusable="false"
|
|
64
63
|
viewBox="0 0 24 24"
|
|
65
64
|
>
|
|
66
65
|
<globe>
|
|
67
66
|
<path
|
|
68
|
-
d="M12,
|
|
67
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
69
68
|
/>
|
|
70
|
-
|
|
71
69
|
</globe>
|
|
72
70
|
</svg>
|
|
73
71
|
</ForwardRef(Base)>
|
|
@@ -99,9 +97,8 @@ exports[`renders the GlobeIcon with no props 1`] = `
|
|
|
99
97
|
>
|
|
100
98
|
<globe>
|
|
101
99
|
<path
|
|
102
|
-
d="M12,
|
|
100
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
103
101
|
/>
|
|
104
|
-
|
|
105
102
|
</globe>
|
|
106
103
|
</svg>
|
|
107
104
|
</ForwardRef(Base)>
|
|
@@ -110,36 +107,35 @@ exports[`renders the GlobeIcon with no props 1`] = `
|
|
|
110
107
|
</GlobeIcon>
|
|
111
108
|
`;
|
|
112
109
|
|
|
113
|
-
exports[`renders the GlobeIcon with prop
|
|
110
|
+
exports[`renders the GlobeIcon with prop color=base-content 1`] = `
|
|
114
111
|
<GlobeIcon
|
|
115
|
-
|
|
112
|
+
color="base-content"
|
|
116
113
|
>
|
|
117
114
|
<ForwardRef(Icon)
|
|
115
|
+
color="base-content"
|
|
118
116
|
icon="globe"
|
|
119
|
-
variant="dark"
|
|
120
117
|
>
|
|
121
118
|
<ForwardRef(SvgIcon)
|
|
122
119
|
className="ds-svg-icon--globe"
|
|
123
|
-
|
|
120
|
+
color="base-content"
|
|
124
121
|
>
|
|
125
122
|
<ForwardRef(Base)
|
|
126
123
|
aria-hidden="true"
|
|
127
124
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
125
|
+
className="ds-svg-icon--globe ds-svg-icon--base-content ds-svg-icon"
|
|
129
126
|
focusable="false"
|
|
130
127
|
viewBox="0 0 24 24"
|
|
131
128
|
>
|
|
132
129
|
<svg
|
|
133
130
|
aria-hidden="true"
|
|
134
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
131
|
+
className="ds-svg-icon--globe ds-svg-icon--base-content ds-svg-icon"
|
|
135
132
|
focusable="false"
|
|
136
133
|
viewBox="0 0 24 24"
|
|
137
134
|
>
|
|
138
135
|
<globe>
|
|
139
136
|
<path
|
|
140
|
-
d="M12,
|
|
137
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
141
138
|
/>
|
|
142
|
-
|
|
143
139
|
</globe>
|
|
144
140
|
</svg>
|
|
145
141
|
</ForwardRef(Base)>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
var _ref = /*#__PURE__*/React.createElement("path", {
|
|
3
|
-
d: "M12,
|
|
3
|
+
d: "M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
4
4
|
});
|
|
5
5
|
export function globe() {
|
|
6
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref
|
|
6
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref);
|
|
7
7
|
}
|
|
8
8
|
globe.props = [];
|
|
9
9
|
export default globe;
|
|
@@ -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: "base-content"
|
|
10
10
|
});
|
|
11
|
-
it('renders the GlobeIcon with prop
|
|
11
|
+
it('renders the GlobeIcon with prop color=base-content', function () {
|
|
12
12
|
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
13
|
});
|
|
14
14
|
var _ref3 = /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
15
|
-
|
|
15
|
+
color: "white"
|
|
16
16
|
});
|
|
17
|
-
it('renders the GlobeIcon prop
|
|
17
|
+
it('renders the GlobeIcon prop color= "white"', 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
|
});
|
|
@@ -332,9 +332,8 @@ exports[`renders the Icon with prop prop icon=globe 1`] = `
|
|
|
332
332
|
>
|
|
333
333
|
<globe>
|
|
334
334
|
<path
|
|
335
|
-
d="M12,
|
|
335
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
336
336
|
/>
|
|
337
|
-
|
|
338
337
|
</globe>
|
|
339
338
|
</svg>
|
|
340
339
|
</ForwardRef(Base)>
|