@digigov/react-icons 2.0.0-b3ec0588 → 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 +6 -6
- package/AccessibilityIcon/index.test/index.js +2 -2
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/BurgerIcon/index.test/index.js +6 -6
- package/CancelIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/CancelIcon/index.test/index.js +2 -2
- package/ChatIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/ChatIcon/index.test/index.js +2 -2
- package/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/CheckIcon/index.test/index.js +2 -2
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/DownloadIcon/index.test/index.js +2 -2
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/ExclamationIcon/index.test/index.js +2 -2
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -20
- package/GlobeIcon/config/index.js +2 -2
- package/GlobeIcon/index.test/index.js +4 -4
- package/Icon/__snapshots__/index.test.tsx.snap +1 -2
- package/LockIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/LockIcon/index.test/index.js +2 -2
- package/LoginIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/LoginIcon/index.test/index.js +2 -2
- package/MinusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/MinusIcon/index.test/index.js +2 -2
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/PdfFileIcon/index.test/index.js +2 -2
- package/PlusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/PlusIcon/index.test/index.js +2 -2
- package/PrintIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/PrintIcon/index.test/index.js +2 -2
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/ReplyIcon/index.test/index.js +2 -2
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/RestoreIcon/index.test/index.js +2 -2
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +21 -21
- package/UncheckIcon/index.test/index.js +2 -2
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +6 -6
- package/cjs/AccessibilityIcon/index.test/index.js +2 -2
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/BurgerIcon/index.test/index.js +6 -6
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/CancelIcon/index.test/index.js +2 -2
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/ChatIcon/index.test/index.js +2 -2
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/cjs/CheckIcon/index.test/index.js +2 -2
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/DownloadIcon/index.test/index.js +2 -2
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/ExclamationIcon/index.test/index.js +2 -2
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -20
- package/cjs/GlobeIcon/config/index.js +2 -2
- package/cjs/GlobeIcon/index.test/index.js +4 -4
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +1 -2
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/LockIcon/index.test/index.js +2 -2
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/LoginIcon/index.test/index.js +2 -2
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/MinusIcon/index.test/index.js +2 -2
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/PdfFileIcon/index.test/index.js +2 -2
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/PlusIcon/index.test/index.js +2 -2
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/PrintIcon/index.test/index.js +2 -2
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/ReplyIcon/index.test/index.js +2 -2
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/RestoreIcon/index.test/index.js +2 -2
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +21 -21
- package/cjs/UncheckIcon/index.test/index.js +2 -2
- package/cjs/lazy/index.js +229 -0
- package/index.js +1 -1
- package/lazy/index.js +171 -0
- package/lazy/package.json +6 -0
- package/lazy.d.ts +27 -0
- package/package.json +3 -3
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +6 -6
- package/src/AccessibilityIcon/index.test.tsx +2 -2
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/BurgerIcon/index.test.tsx +6 -6
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/CancelIcon/index.test.tsx +2 -2
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/ChatIcon/index.test.tsx +2 -2
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/src/CheckIcon/index.test.tsx +2 -2
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/DownloadIcon/index.test.tsx +2 -2
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/ExclamationIcon/index.test.tsx +2 -2
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -20
- package/src/GlobeIcon/config.tsx +1 -12
- package/src/GlobeIcon/index.test.tsx +4 -4
- package/src/Icon/__snapshots__/index.test.tsx.snap +1 -2
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/LockIcon/index.test.tsx +2 -2
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/LoginIcon/index.test.tsx +2 -2
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/MinusIcon/index.test.tsx +2 -2
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/PdfFileIcon/index.test.tsx +2 -2
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/PlusIcon/index.test.tsx +2 -2
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/PrintIcon/index.test.tsx +2 -2
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/ReplyIcon/index.test.tsx +2 -2
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/RestoreIcon/index.test.tsx +2 -2
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +21 -21
- package/src/UncheckIcon/index.test.tsx +2 -2
- package/src/lazy.js +28 -0
|
@@ -89,28 +89,28 @@ exports[`renders the DownloadIcon with prop color=error and size= xl 1`] = `
|
|
|
89
89
|
</DownloadIcon>
|
|
90
90
|
`;
|
|
91
91
|
|
|
92
|
-
exports[`renders the DownloadIcon with prop color=
|
|
92
|
+
exports[`renders the DownloadIcon with prop color=warning 1`] = `
|
|
93
93
|
<DownloadIcon
|
|
94
|
-
color="
|
|
94
|
+
color="warning"
|
|
95
95
|
>
|
|
96
96
|
<ForwardRef(Icon)
|
|
97
|
-
color="
|
|
97
|
+
color="warning"
|
|
98
98
|
icon="download"
|
|
99
99
|
>
|
|
100
100
|
<ForwardRef(SvgIcon)
|
|
101
101
|
className="ds-svg-icon--download"
|
|
102
|
-
color="
|
|
102
|
+
color="warning"
|
|
103
103
|
>
|
|
104
104
|
<ForwardRef(Base)
|
|
105
105
|
aria-hidden="true"
|
|
106
106
|
as="svg"
|
|
107
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
107
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
|
|
108
108
|
focusable="false"
|
|
109
109
|
viewBox="0 0 24 24"
|
|
110
110
|
>
|
|
111
111
|
<svg
|
|
112
112
|
aria-hidden="true"
|
|
113
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
113
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
|
|
114
114
|
focusable="false"
|
|
115
115
|
viewBox="0 0 24 24"
|
|
116
116
|
>
|
|
@@ -134,28 +134,31 @@ exports[`renders the DownloadIcon with prop color=light 1`] = `
|
|
|
134
134
|
</DownloadIcon>
|
|
135
135
|
`;
|
|
136
136
|
|
|
137
|
-
exports[`renders the DownloadIcon with prop color=warning 1`] = `
|
|
137
|
+
exports[`renders the DownloadIcon with prop color=warning and size=s 1`] = `
|
|
138
138
|
<DownloadIcon
|
|
139
139
|
color="warning"
|
|
140
|
+
size="sm"
|
|
140
141
|
>
|
|
141
142
|
<ForwardRef(Icon)
|
|
142
143
|
color="warning"
|
|
143
144
|
icon="download"
|
|
145
|
+
size="sm"
|
|
144
146
|
>
|
|
145
147
|
<ForwardRef(SvgIcon)
|
|
146
148
|
className="ds-svg-icon--download"
|
|
147
149
|
color="warning"
|
|
150
|
+
size="sm"
|
|
148
151
|
>
|
|
149
152
|
<ForwardRef(Base)
|
|
150
153
|
aria-hidden="true"
|
|
151
154
|
as="svg"
|
|
152
|
-
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
|
|
155
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
153
156
|
focusable="false"
|
|
154
157
|
viewBox="0 0 24 24"
|
|
155
158
|
>
|
|
156
159
|
<svg
|
|
157
160
|
aria-hidden="true"
|
|
158
|
-
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
|
|
161
|
+
className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
159
162
|
focusable="false"
|
|
160
163
|
viewBox="0 0 24 24"
|
|
161
164
|
>
|
|
@@ -179,31 +182,28 @@ exports[`renders the DownloadIcon with prop color=warning 1`] = `
|
|
|
179
182
|
</DownloadIcon>
|
|
180
183
|
`;
|
|
181
184
|
|
|
182
|
-
exports[`renders the DownloadIcon with prop color=
|
|
185
|
+
exports[`renders the DownloadIcon with prop color=white 1`] = `
|
|
183
186
|
<DownloadIcon
|
|
184
|
-
color="
|
|
185
|
-
size="sm"
|
|
187
|
+
color="white"
|
|
186
188
|
>
|
|
187
189
|
<ForwardRef(Icon)
|
|
188
|
-
color="
|
|
190
|
+
color="white"
|
|
189
191
|
icon="download"
|
|
190
|
-
size="sm"
|
|
191
192
|
>
|
|
192
193
|
<ForwardRef(SvgIcon)
|
|
193
194
|
className="ds-svg-icon--download"
|
|
194
|
-
color="
|
|
195
|
-
size="sm"
|
|
195
|
+
color="white"
|
|
196
196
|
>
|
|
197
197
|
<ForwardRef(Base)
|
|
198
198
|
aria-hidden="true"
|
|
199
199
|
as="svg"
|
|
200
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
200
|
+
className="ds-svg-icon--download ds-svg-icon--white ds-svg-icon"
|
|
201
201
|
focusable="false"
|
|
202
202
|
viewBox="0 0 24 24"
|
|
203
203
|
>
|
|
204
204
|
<svg
|
|
205
205
|
aria-hidden="true"
|
|
206
|
-
className="ds-svg-icon--download ds-svg-icon--
|
|
206
|
+
className="ds-svg-icon--download ds-svg-icon--white ds-svg-icon"
|
|
207
207
|
focusable="false"
|
|
208
208
|
viewBox="0 0 24 24"
|
|
209
209
|
>
|
|
@@ -18,9 +18,9 @@ it('renders the DownloadIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(DownloadIcon, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the DownloadIcon with prop color=
|
|
23
|
+
it('renders the DownloadIcon with prop color=white', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(DownloadIcon, {
|
|
@@ -128,28 +128,28 @@ exports[`renders the ExclamationIcon with prop color=info and size= xl 1`] = `
|
|
|
128
128
|
</ExclamationIcon>
|
|
129
129
|
`;
|
|
130
130
|
|
|
131
|
-
exports[`renders the ExclamationIcon with prop color=
|
|
131
|
+
exports[`renders the ExclamationIcon with prop color=warning 1`] = `
|
|
132
132
|
<ExclamationIcon
|
|
133
|
-
color="
|
|
133
|
+
color="warning"
|
|
134
134
|
>
|
|
135
135
|
<ForwardRef(Icon)
|
|
136
|
-
color="
|
|
136
|
+
color="warning"
|
|
137
137
|
icon="exclamation"
|
|
138
138
|
>
|
|
139
139
|
<ForwardRef(SvgIcon)
|
|
140
140
|
className="ds-svg-icon--exclamation"
|
|
141
|
-
color="
|
|
141
|
+
color="warning"
|
|
142
142
|
>
|
|
143
143
|
<ForwardRef(Base)
|
|
144
144
|
aria-hidden="true"
|
|
145
145
|
as="svg"
|
|
146
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
146
|
+
className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
|
|
147
147
|
focusable="false"
|
|
148
148
|
viewBox="0 0 24 24"
|
|
149
149
|
>
|
|
150
150
|
<svg
|
|
151
151
|
aria-hidden="true"
|
|
152
|
-
className="ds-svg-icon--exclamation ds-svg-icon--
|
|
152
|
+
className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
|
|
153
153
|
focusable="false"
|
|
154
154
|
viewBox="0 0 24 24"
|
|
155
155
|
>
|
|
@@ -170,28 +170,28 @@ exports[`renders the ExclamationIcon with prop color=light 1`] = `
|
|
|
170
170
|
</ExclamationIcon>
|
|
171
171
|
`;
|
|
172
172
|
|
|
173
|
-
exports[`renders the ExclamationIcon with prop color=
|
|
173
|
+
exports[`renders the ExclamationIcon with prop color=white 1`] = `
|
|
174
174
|
<ExclamationIcon
|
|
175
|
-
color="
|
|
175
|
+
color="white"
|
|
176
176
|
>
|
|
177
177
|
<ForwardRef(Icon)
|
|
178
|
-
color="
|
|
178
|
+
color="white"
|
|
179
179
|
icon="exclamation"
|
|
180
180
|
>
|
|
181
181
|
<ForwardRef(SvgIcon)
|
|
182
182
|
className="ds-svg-icon--exclamation"
|
|
183
|
-
color="
|
|
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
|
>
|
|
@@ -18,9 +18,9 @@ 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
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the ExclamationIcon with prop color=
|
|
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,9 +27,8 @@ exports[`renders the GlobeIcon prop color= "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 color= "error" 1`] = `
|
|
|
38
37
|
</GlobeIcon>
|
|
39
38
|
`;
|
|
40
39
|
|
|
41
|
-
exports[`renders the GlobeIcon prop color= "
|
|
40
|
+
exports[`renders the GlobeIcon prop color= "white" 1`] = `
|
|
42
41
|
<GlobeIcon
|
|
43
|
-
color="
|
|
42
|
+
color="white"
|
|
44
43
|
>
|
|
45
44
|
<ForwardRef(Icon)
|
|
46
|
-
color="
|
|
45
|
+
color="white"
|
|
47
46
|
icon="globe"
|
|
48
47
|
>
|
|
49
48
|
<ForwardRef(SvgIcon)
|
|
50
49
|
className="ds-svg-icon--globe"
|
|
51
|
-
color="
|
|
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 color=
|
|
110
|
+
exports[`renders the GlobeIcon with prop color=base-content 1`] = `
|
|
114
111
|
<GlobeIcon
|
|
115
|
-
color="
|
|
112
|
+
color="base-content"
|
|
116
113
|
>
|
|
117
114
|
<ForwardRef(Icon)
|
|
118
|
-
color="
|
|
115
|
+
color="base-content"
|
|
119
116
|
icon="globe"
|
|
120
117
|
>
|
|
121
118
|
<ForwardRef(SvgIcon)
|
|
122
119
|
className="ds-svg-icon--globe"
|
|
123
|
-
color="
|
|
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,15 +6,15 @@ 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
|
-
color: "
|
|
9
|
+
color: "base-content"
|
|
10
10
|
});
|
|
11
|
-
it('renders the GlobeIcon with prop color=
|
|
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
|
-
color: "
|
|
15
|
+
color: "white"
|
|
16
16
|
});
|
|
17
|
-
it('renders the GlobeIcon prop color= "
|
|
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, {
|
|
@@ -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)>
|
|
@@ -73,28 +73,28 @@ exports[`renders the LockIcon with prop color=error and size= xl 1`] = `
|
|
|
73
73
|
</LockIcon>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
|
-
exports[`renders the LockIcon with prop color=
|
|
76
|
+
exports[`renders the LockIcon with prop color=warning 1`] = `
|
|
77
77
|
<LockIcon
|
|
78
|
-
color="
|
|
78
|
+
color="warning"
|
|
79
79
|
>
|
|
80
80
|
<ForwardRef(Icon)
|
|
81
|
-
color="
|
|
81
|
+
color="warning"
|
|
82
82
|
icon="lock"
|
|
83
83
|
>
|
|
84
84
|
<ForwardRef(SvgIcon)
|
|
85
85
|
className="ds-svg-icon--lock"
|
|
86
|
-
color="
|
|
86
|
+
color="warning"
|
|
87
87
|
>
|
|
88
88
|
<ForwardRef(Base)
|
|
89
89
|
aria-hidden="true"
|
|
90
90
|
as="svg"
|
|
91
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
92
92
|
focusable="false"
|
|
93
93
|
viewBox="0 0 24 24"
|
|
94
94
|
>
|
|
95
95
|
<svg
|
|
96
96
|
aria-hidden="true"
|
|
97
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
98
98
|
focusable="false"
|
|
99
99
|
viewBox="0 0 24 24"
|
|
100
100
|
>
|
|
@@ -110,28 +110,31 @@ exports[`renders the LockIcon with prop color=light 1`] = `
|
|
|
110
110
|
</LockIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the LockIcon with prop color=warning 1`] = `
|
|
113
|
+
exports[`renders the LockIcon with prop color=warning and size=sm 1`] = `
|
|
114
114
|
<LockIcon
|
|
115
115
|
color="warning"
|
|
116
|
+
size="sm"
|
|
116
117
|
>
|
|
117
118
|
<ForwardRef(Icon)
|
|
118
119
|
color="warning"
|
|
119
120
|
icon="lock"
|
|
121
|
+
size="sm"
|
|
120
122
|
>
|
|
121
123
|
<ForwardRef(SvgIcon)
|
|
122
124
|
className="ds-svg-icon--lock"
|
|
123
125
|
color="warning"
|
|
126
|
+
size="sm"
|
|
124
127
|
>
|
|
125
128
|
<ForwardRef(Base)
|
|
126
129
|
aria-hidden="true"
|
|
127
130
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
131
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
129
132
|
focusable="false"
|
|
130
133
|
viewBox="0 0 24 24"
|
|
131
134
|
>
|
|
132
135
|
<svg
|
|
133
136
|
aria-hidden="true"
|
|
134
|
-
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
137
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
135
138
|
focusable="false"
|
|
136
139
|
viewBox="0 0 24 24"
|
|
137
140
|
>
|
|
@@ -147,31 +150,28 @@ exports[`renders the LockIcon with prop color=warning 1`] = `
|
|
|
147
150
|
</LockIcon>
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
exports[`renders the LockIcon with prop color=
|
|
153
|
+
exports[`renders the LockIcon with prop color=white 1`] = `
|
|
151
154
|
<LockIcon
|
|
152
|
-
color="
|
|
153
|
-
size="sm"
|
|
155
|
+
color="white"
|
|
154
156
|
>
|
|
155
157
|
<ForwardRef(Icon)
|
|
156
|
-
color="
|
|
158
|
+
color="white"
|
|
157
159
|
icon="lock"
|
|
158
|
-
size="sm"
|
|
159
160
|
>
|
|
160
161
|
<ForwardRef(SvgIcon)
|
|
161
162
|
className="ds-svg-icon--lock"
|
|
162
|
-
color="
|
|
163
|
-
size="sm"
|
|
163
|
+
color="white"
|
|
164
164
|
>
|
|
165
165
|
<ForwardRef(Base)
|
|
166
166
|
aria-hidden="true"
|
|
167
167
|
as="svg"
|
|
168
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--lock ds-svg-icon--white ds-svg-icon"
|
|
169
169
|
focusable="false"
|
|
170
170
|
viewBox="0 0 24 24"
|
|
171
171
|
>
|
|
172
172
|
<svg
|
|
173
173
|
aria-hidden="true"
|
|
174
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--lock ds-svg-icon--white ds-svg-icon"
|
|
175
175
|
focusable="false"
|
|
176
176
|
viewBox="0 0 24 24"
|
|
177
177
|
>
|
|
@@ -18,9 +18,9 @@ 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
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the LockIcon with prop color=
|
|
23
|
+
it('renders the LockIcon with prop color=white', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(LockIcon, {
|