@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
|
@@ -111,28 +111,28 @@ exports[`renders the ChatIcon with prop color=error and size= xl 1`] = `
|
|
|
111
111
|
</ChatIcon>
|
|
112
112
|
`;
|
|
113
113
|
|
|
114
|
-
exports[`renders the ChatIcon with prop color=
|
|
114
|
+
exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
115
115
|
<ChatIcon
|
|
116
|
-
color="
|
|
116
|
+
color="warning"
|
|
117
117
|
>
|
|
118
118
|
<ForwardRef(Icon)
|
|
119
|
-
color="
|
|
119
|
+
color="warning"
|
|
120
120
|
icon="chat"
|
|
121
121
|
>
|
|
122
122
|
<ForwardRef(SvgIcon)
|
|
123
123
|
className="ds-svg-icon--chat"
|
|
124
|
-
color="
|
|
124
|
+
color="warning"
|
|
125
125
|
>
|
|
126
126
|
<ForwardRef(Base)
|
|
127
127
|
aria-hidden="true"
|
|
128
128
|
as="svg"
|
|
129
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
129
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
130
130
|
focusable="false"
|
|
131
131
|
viewBox="0 0 24 24"
|
|
132
132
|
>
|
|
133
133
|
<svg
|
|
134
134
|
aria-hidden="true"
|
|
135
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
135
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
136
136
|
focusable="false"
|
|
137
137
|
viewBox="0 0 24 24"
|
|
138
138
|
>
|
|
@@ -148,28 +148,31 @@ exports[`renders the ChatIcon with prop color=light 1`] = `
|
|
|
148
148
|
</ChatIcon>
|
|
149
149
|
`;
|
|
150
150
|
|
|
151
|
-
exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
151
|
+
exports[`renders the ChatIcon with prop color=warning and size=sm 1`] = `
|
|
152
152
|
<ChatIcon
|
|
153
153
|
color="warning"
|
|
154
|
+
size="sm"
|
|
154
155
|
>
|
|
155
156
|
<ForwardRef(Icon)
|
|
156
157
|
color="warning"
|
|
157
158
|
icon="chat"
|
|
159
|
+
size="sm"
|
|
158
160
|
>
|
|
159
161
|
<ForwardRef(SvgIcon)
|
|
160
162
|
className="ds-svg-icon--chat"
|
|
161
163
|
color="warning"
|
|
164
|
+
size="sm"
|
|
162
165
|
>
|
|
163
166
|
<ForwardRef(Base)
|
|
164
167
|
aria-hidden="true"
|
|
165
168
|
as="svg"
|
|
166
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
169
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
167
170
|
focusable="false"
|
|
168
171
|
viewBox="0 0 24 24"
|
|
169
172
|
>
|
|
170
173
|
<svg
|
|
171
174
|
aria-hidden="true"
|
|
172
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
175
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
173
176
|
focusable="false"
|
|
174
177
|
viewBox="0 0 24 24"
|
|
175
178
|
>
|
|
@@ -185,31 +188,28 @@ exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
|
185
188
|
</ChatIcon>
|
|
186
189
|
`;
|
|
187
190
|
|
|
188
|
-
exports[`renders the ChatIcon with prop color=
|
|
191
|
+
exports[`renders the ChatIcon with prop color=white 1`] = `
|
|
189
192
|
<ChatIcon
|
|
190
|
-
color="
|
|
191
|
-
size="sm"
|
|
193
|
+
color="white"
|
|
192
194
|
>
|
|
193
195
|
<ForwardRef(Icon)
|
|
194
|
-
color="
|
|
196
|
+
color="white"
|
|
195
197
|
icon="chat"
|
|
196
|
-
size="sm"
|
|
197
198
|
>
|
|
198
199
|
<ForwardRef(SvgIcon)
|
|
199
200
|
className="ds-svg-icon--chat"
|
|
200
|
-
color="
|
|
201
|
-
size="sm"
|
|
201
|
+
color="white"
|
|
202
202
|
>
|
|
203
203
|
<ForwardRef(Base)
|
|
204
204
|
aria-hidden="true"
|
|
205
205
|
as="svg"
|
|
206
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
206
|
+
className="ds-svg-icon--chat ds-svg-icon--white ds-svg-icon"
|
|
207
207
|
focusable="false"
|
|
208
208
|
viewBox="0 0 24 24"
|
|
209
209
|
>
|
|
210
210
|
<svg
|
|
211
211
|
aria-hidden="true"
|
|
212
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
212
|
+
className="ds-svg-icon--chat ds-svg-icon--white ds-svg-icon"
|
|
213
213
|
focusable="false"
|
|
214
214
|
viewBox="0 0 24 24"
|
|
215
215
|
>
|
|
@@ -27,9 +27,9 @@ it('renders the ChatIcon with prop size=xl', function () {
|
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
|
|
30
|
-
color: "
|
|
30
|
+
color: "white"
|
|
31
31
|
});
|
|
32
|
-
it('renders the ChatIcon with prop color=
|
|
32
|
+
it('renders the ChatIcon with prop color=white', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
|
|
@@ -73,28 +73,28 @@ exports[`renders the CheckIcon with prop color=error and size= xl 1`] = `
|
|
|
73
73
|
</CheckIcon>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
|
-
exports[`renders the CheckIcon with prop color=
|
|
76
|
+
exports[`renders the CheckIcon with prop color=success 1`] = `
|
|
77
77
|
<CheckIcon
|
|
78
|
-
color="
|
|
78
|
+
color="success"
|
|
79
79
|
>
|
|
80
80
|
<ForwardRef(Icon)
|
|
81
|
-
color="
|
|
81
|
+
color="success"
|
|
82
82
|
icon="check"
|
|
83
83
|
>
|
|
84
84
|
<ForwardRef(SvgIcon)
|
|
85
85
|
className="ds-svg-icon--check"
|
|
86
|
-
color="
|
|
86
|
+
color="success"
|
|
87
87
|
>
|
|
88
88
|
<ForwardRef(Base)
|
|
89
89
|
aria-hidden="true"
|
|
90
90
|
as="svg"
|
|
91
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--check ds-svg-icon--success 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--check ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
|
|
98
98
|
focusable="false"
|
|
99
99
|
viewBox="0 0 24 24"
|
|
100
100
|
>
|
|
@@ -110,28 +110,28 @@ exports[`renders the CheckIcon with prop color=light 1`] = `
|
|
|
110
110
|
</CheckIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the CheckIcon with prop color=
|
|
113
|
+
exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
114
114
|
<CheckIcon
|
|
115
|
-
color="
|
|
115
|
+
color="warning"
|
|
116
116
|
>
|
|
117
117
|
<ForwardRef(Icon)
|
|
118
|
-
color="
|
|
118
|
+
color="warning"
|
|
119
119
|
icon="check"
|
|
120
120
|
>
|
|
121
121
|
<ForwardRef(SvgIcon)
|
|
122
122
|
className="ds-svg-icon--check"
|
|
123
|
-
color="
|
|
123
|
+
color="warning"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
128
|
+
className="ds-svg-icon--check ds-svg-icon--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--check ds-svg-icon--
|
|
134
|
+
className="ds-svg-icon--check 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 CheckIcon with prop color=success 1`] = `
|
|
|
147
147
|
</CheckIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
150
|
+
exports[`renders the CheckIcon with prop color=warning and size=s 1`] = `
|
|
151
151
|
<CheckIcon
|
|
152
152
|
color="warning"
|
|
153
|
+
size="sm"
|
|
153
154
|
>
|
|
154
155
|
<ForwardRef(Icon)
|
|
155
156
|
color="warning"
|
|
156
157
|
icon="check"
|
|
158
|
+
size="sm"
|
|
157
159
|
>
|
|
158
160
|
<ForwardRef(SvgIcon)
|
|
159
161
|
className="ds-svg-icon--check"
|
|
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--check ds-svg-icon--warning ds-svg-icon"
|
|
168
|
+
className="ds-svg-icon--check 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--check ds-svg-icon--warning ds-svg-icon"
|
|
174
|
+
className="ds-svg-icon--check 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,31 +187,28 @@ exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
|
184
187
|
</CheckIcon>
|
|
185
188
|
`;
|
|
186
189
|
|
|
187
|
-
exports[`renders the CheckIcon with prop color=
|
|
190
|
+
exports[`renders the CheckIcon with prop color=white 1`] = `
|
|
188
191
|
<CheckIcon
|
|
189
|
-
color="
|
|
190
|
-
size="sm"
|
|
192
|
+
color="white"
|
|
191
193
|
>
|
|
192
194
|
<ForwardRef(Icon)
|
|
193
|
-
color="
|
|
195
|
+
color="white"
|
|
194
196
|
icon="check"
|
|
195
|
-
size="sm"
|
|
196
197
|
>
|
|
197
198
|
<ForwardRef(SvgIcon)
|
|
198
199
|
className="ds-svg-icon--check"
|
|
199
|
-
color="
|
|
200
|
-
size="sm"
|
|
200
|
+
color="white"
|
|
201
201
|
>
|
|
202
202
|
<ForwardRef(Base)
|
|
203
203
|
aria-hidden="true"
|
|
204
204
|
as="svg"
|
|
205
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
|
|
206
206
|
focusable="false"
|
|
207
207
|
viewBox="0 0 24 24"
|
|
208
208
|
>
|
|
209
209
|
<svg
|
|
210
210
|
aria-hidden="true"
|
|
211
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
|
|
212
212
|
focusable="false"
|
|
213
213
|
viewBox="0 0 24 24"
|
|
214
214
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the CheckIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_CheckIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the CheckIcon with prop color=
|
|
26
|
+
it('renders the CheckIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_CheckIcon["default"], {
|
|
@@ -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
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the DownloadIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_DownloadIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the DownloadIcon with prop color=
|
|
26
|
+
it('renders the DownloadIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_DownloadIcon["default"], {
|
|
@@ -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
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the ExclamationIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_ExclamationIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the ExclamationIcon with prop color=
|
|
26
|
+
it('renders the ExclamationIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_ExclamationIcon["default"], {
|
|
@@ -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)>
|