@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
|
@@ -18,9 +18,9 @@ it('renders the ReplyIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(ReplyIcon, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the ReplyIcon with prop color=
|
|
23
|
+
it('renders the ReplyIcon with prop color=white', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(ReplyIcon, {
|
|
@@ -89,28 +89,28 @@ exports[`renders the RestoreIcon with prop color=error and size= xl 1`] = `
|
|
|
89
89
|
</RestoreIcon>
|
|
90
90
|
`;
|
|
91
91
|
|
|
92
|
-
exports[`renders the RestoreIcon with prop color=
|
|
92
|
+
exports[`renders the RestoreIcon with prop color=warning 1`] = `
|
|
93
93
|
<RestoreIcon
|
|
94
|
-
color="
|
|
94
|
+
color="warning"
|
|
95
95
|
>
|
|
96
96
|
<ForwardRef(Icon)
|
|
97
|
-
color="
|
|
97
|
+
color="warning"
|
|
98
98
|
icon="restore"
|
|
99
99
|
>
|
|
100
100
|
<ForwardRef(SvgIcon)
|
|
101
101
|
className="ds-svg-icon--restore"
|
|
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--restore ds-svg-icon--
|
|
107
|
+
className="ds-svg-icon--restore 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--restore ds-svg-icon--
|
|
113
|
+
className="ds-svg-icon--restore 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 RestoreIcon with prop color=light 1`] = `
|
|
|
134
134
|
</RestoreIcon>
|
|
135
135
|
`;
|
|
136
136
|
|
|
137
|
-
exports[`renders the RestoreIcon with prop color=warning 1`] = `
|
|
137
|
+
exports[`renders the RestoreIcon with prop color=warning and size=sm 1`] = `
|
|
138
138
|
<RestoreIcon
|
|
139
139
|
color="warning"
|
|
140
|
+
size="sm"
|
|
140
141
|
>
|
|
141
142
|
<ForwardRef(Icon)
|
|
142
143
|
color="warning"
|
|
143
144
|
icon="restore"
|
|
145
|
+
size="sm"
|
|
144
146
|
>
|
|
145
147
|
<ForwardRef(SvgIcon)
|
|
146
148
|
className="ds-svg-icon--restore"
|
|
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--restore ds-svg-icon--warning ds-svg-icon"
|
|
155
|
+
className="ds-svg-icon--restore 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--restore ds-svg-icon--warning ds-svg-icon"
|
|
161
|
+
className="ds-svg-icon--restore 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 RestoreIcon with prop color=warning 1`] = `
|
|
|
179
182
|
</RestoreIcon>
|
|
180
183
|
`;
|
|
181
184
|
|
|
182
|
-
exports[`renders the RestoreIcon with prop color=
|
|
185
|
+
exports[`renders the RestoreIcon with prop color=white 1`] = `
|
|
183
186
|
<RestoreIcon
|
|
184
|
-
color="
|
|
185
|
-
size="sm"
|
|
187
|
+
color="white"
|
|
186
188
|
>
|
|
187
189
|
<ForwardRef(Icon)
|
|
188
|
-
color="
|
|
190
|
+
color="white"
|
|
189
191
|
icon="restore"
|
|
190
|
-
size="sm"
|
|
191
192
|
>
|
|
192
193
|
<ForwardRef(SvgIcon)
|
|
193
194
|
className="ds-svg-icon--restore"
|
|
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--restore ds-svg-icon--
|
|
200
|
+
className="ds-svg-icon--restore 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--restore ds-svg-icon--
|
|
206
|
+
className="ds-svg-icon--restore 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 RestoreIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(RestoreIcon, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the RestoreIcon with prop color=
|
|
23
|
+
it('renders the RestoreIcon with prop color=white', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(RestoreIcon, {
|
|
@@ -147,28 +147,28 @@ exports[`renders the UncheckIcon with prop color=gray 1`] = `
|
|
|
147
147
|
</UncheckIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the UncheckIcon with prop color=
|
|
150
|
+
exports[`renders the UncheckIcon with prop color=primary 1`] = `
|
|
151
151
|
<UncheckIcon
|
|
152
|
-
color="
|
|
152
|
+
color="primary"
|
|
153
153
|
>
|
|
154
154
|
<ForwardRef(Icon)
|
|
155
|
-
color="
|
|
155
|
+
color="primary"
|
|
156
156
|
icon="uncheck"
|
|
157
157
|
>
|
|
158
158
|
<ForwardRef(SvgIcon)
|
|
159
159
|
className="ds-svg-icon--uncheck"
|
|
160
|
-
color="
|
|
160
|
+
color="primary"
|
|
161
161
|
>
|
|
162
162
|
<ForwardRef(Base)
|
|
163
163
|
aria-hidden="true"
|
|
164
164
|
as="svg"
|
|
165
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
165
|
+
className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
|
|
166
166
|
focusable="false"
|
|
167
167
|
viewBox="0 0 24 24"
|
|
168
168
|
>
|
|
169
169
|
<svg
|
|
170
170
|
aria-hidden="true"
|
|
171
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
171
|
+
className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
|
|
172
172
|
focusable="false"
|
|
173
173
|
viewBox="0 0 24 24"
|
|
174
174
|
>
|
|
@@ -184,28 +184,31 @@ exports[`renders the UncheckIcon with prop color=light 1`] = `
|
|
|
184
184
|
</UncheckIcon>
|
|
185
185
|
`;
|
|
186
186
|
|
|
187
|
-
exports[`renders the UncheckIcon with prop color=
|
|
187
|
+
exports[`renders the UncheckIcon with prop color=warning and size=s 1`] = `
|
|
188
188
|
<UncheckIcon
|
|
189
|
-
color="
|
|
189
|
+
color="warning"
|
|
190
|
+
size="sm"
|
|
190
191
|
>
|
|
191
192
|
<ForwardRef(Icon)
|
|
192
|
-
color="
|
|
193
|
+
color="warning"
|
|
193
194
|
icon="uncheck"
|
|
195
|
+
size="sm"
|
|
194
196
|
>
|
|
195
197
|
<ForwardRef(SvgIcon)
|
|
196
198
|
className="ds-svg-icon--uncheck"
|
|
197
|
-
color="
|
|
199
|
+
color="warning"
|
|
200
|
+
size="sm"
|
|
198
201
|
>
|
|
199
202
|
<ForwardRef(Base)
|
|
200
203
|
aria-hidden="true"
|
|
201
204
|
as="svg"
|
|
202
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm 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--uncheck ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
209
212
|
focusable="false"
|
|
210
213
|
viewBox="0 0 24 24"
|
|
211
214
|
>
|
|
@@ -221,31 +224,28 @@ exports[`renders the UncheckIcon with prop color=primary 1`] = `
|
|
|
221
224
|
</UncheckIcon>
|
|
222
225
|
`;
|
|
223
226
|
|
|
224
|
-
exports[`renders the UncheckIcon with prop color=
|
|
227
|
+
exports[`renders the UncheckIcon with prop color=white 1`] = `
|
|
225
228
|
<UncheckIcon
|
|
226
|
-
color="
|
|
227
|
-
size="sm"
|
|
229
|
+
color="white"
|
|
228
230
|
>
|
|
229
231
|
<ForwardRef(Icon)
|
|
230
|
-
color="
|
|
232
|
+
color="white"
|
|
231
233
|
icon="uncheck"
|
|
232
|
-
size="sm"
|
|
233
234
|
>
|
|
234
235
|
<ForwardRef(SvgIcon)
|
|
235
236
|
className="ds-svg-icon--uncheck"
|
|
236
|
-
color="
|
|
237
|
-
size="sm"
|
|
237
|
+
color="white"
|
|
238
238
|
>
|
|
239
239
|
<ForwardRef(Base)
|
|
240
240
|
aria-hidden="true"
|
|
241
241
|
as="svg"
|
|
242
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
242
|
+
className="ds-svg-icon--uncheck ds-svg-icon--white 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--uncheck ds-svg-icon--
|
|
248
|
+
className="ds-svg-icon--uncheck ds-svg-icon--white ds-svg-icon"
|
|
249
249
|
focusable="false"
|
|
250
250
|
viewBox="0 0 24 24"
|
|
251
251
|
>
|
|
@@ -24,9 +24,9 @@ it('renders the UncheckIcon with prop color=dark', function () {
|
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
27
|
-
color: "
|
|
27
|
+
color: "white"
|
|
28
28
|
});
|
|
29
|
-
it('renders the UncheckIcon with prop color=
|
|
29
|
+
it('renders the UncheckIcon with prop color=white', function () {
|
|
30
30
|
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
var _ref6 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
@@ -41,28 +41,28 @@ exports[`renders the AccessibilityIcon with no props 1`] = `
|
|
|
41
41
|
</AccessibilityIcon>
|
|
42
42
|
`;
|
|
43
43
|
|
|
44
|
-
exports[`renders the AccessibilityIcon with prop color=
|
|
44
|
+
exports[`renders the AccessibilityIcon with prop color=base-content 1`] = `
|
|
45
45
|
<AccessibilityIcon
|
|
46
|
-
color="
|
|
46
|
+
color="base-content"
|
|
47
47
|
>
|
|
48
48
|
<ForwardRef(Icon)
|
|
49
|
-
color="
|
|
49
|
+
color="base-content"
|
|
50
50
|
icon="accessibility"
|
|
51
51
|
>
|
|
52
52
|
<ForwardRef(SvgIcon)
|
|
53
53
|
className="ds-svg-icon--accessibility"
|
|
54
|
-
color="
|
|
54
|
+
color="base-content"
|
|
55
55
|
>
|
|
56
56
|
<ForwardRef(Base)
|
|
57
57
|
aria-hidden="true"
|
|
58
58
|
as="svg"
|
|
59
|
-
className="ds-svg-icon--accessibility ds-svg-icon--
|
|
59
|
+
className="ds-svg-icon--accessibility ds-svg-icon--base-content ds-svg-icon"
|
|
60
60
|
focusable="false"
|
|
61
61
|
viewBox="0 0 24 24"
|
|
62
62
|
>
|
|
63
63
|
<svg
|
|
64
64
|
aria-hidden="true"
|
|
65
|
-
className="ds-svg-icon--accessibility ds-svg-icon--
|
|
65
|
+
className="ds-svg-icon--accessibility ds-svg-icon--base-content ds-svg-icon"
|
|
66
66
|
focusable="false"
|
|
67
67
|
viewBox="0 0 24 24"
|
|
68
68
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the AccessibilityIcon with prop size=l', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "base-content"
|
|
25
25
|
});
|
|
26
|
-
it('renders the AccessibilityIcon with prop color=
|
|
26
|
+
it('renders the AccessibilityIcon with prop color=base-content', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
@@ -53,28 +53,28 @@ exports[`renders the BurgerIcon prop color= "error" 1`] = `
|
|
|
53
53
|
</BurgerIcon>
|
|
54
54
|
`;
|
|
55
55
|
|
|
56
|
-
exports[`renders the BurgerIcon prop color= "
|
|
56
|
+
exports[`renders the BurgerIcon prop color= "white" 1`] = `
|
|
57
57
|
<BurgerIcon
|
|
58
|
-
color="
|
|
58
|
+
color="white"
|
|
59
59
|
>
|
|
60
60
|
<ForwardRef(Icon)
|
|
61
|
-
color="
|
|
61
|
+
color="white"
|
|
62
62
|
icon="burger"
|
|
63
63
|
>
|
|
64
64
|
<ForwardRef(SvgIcon)
|
|
65
65
|
className="ds-svg-icon--burger"
|
|
66
|
-
color="
|
|
66
|
+
color="white"
|
|
67
67
|
>
|
|
68
68
|
<ForwardRef(Base)
|
|
69
69
|
aria-hidden="true"
|
|
70
70
|
as="svg"
|
|
71
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
71
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
72
72
|
focusable="false"
|
|
73
73
|
viewBox="0 0 24 24"
|
|
74
74
|
>
|
|
75
75
|
<svg
|
|
76
76
|
aria-hidden="true"
|
|
77
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
77
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
78
78
|
focusable="false"
|
|
79
79
|
viewBox="0 0 24 24"
|
|
80
80
|
>
|
|
@@ -106,30 +106,30 @@ exports[`renders the BurgerIcon prop color= "light" 1`] = `
|
|
|
106
106
|
</BurgerIcon>
|
|
107
107
|
`;
|
|
108
108
|
|
|
109
|
-
exports[`renders the BurgerIcon props active color= "
|
|
109
|
+
exports[`renders the BurgerIcon props active color= "white" 1`] = `
|
|
110
110
|
<BurgerIcon
|
|
111
111
|
active={true}
|
|
112
|
-
color="
|
|
112
|
+
color="white"
|
|
113
113
|
>
|
|
114
114
|
<ForwardRef(Icon)
|
|
115
115
|
active={true}
|
|
116
|
-
color="
|
|
116
|
+
color="white"
|
|
117
117
|
icon="burger"
|
|
118
118
|
>
|
|
119
119
|
<ForwardRef(SvgIcon)
|
|
120
120
|
className="ds-svg-icon--burger"
|
|
121
|
-
color="
|
|
121
|
+
color="white"
|
|
122
122
|
>
|
|
123
123
|
<ForwardRef(Base)
|
|
124
124
|
aria-hidden="true"
|
|
125
125
|
as="svg"
|
|
126
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
126
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
127
127
|
focusable="false"
|
|
128
128
|
viewBox="0 0 24 24"
|
|
129
129
|
>
|
|
130
130
|
<svg
|
|
131
131
|
aria-hidden="true"
|
|
132
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
132
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
133
133
|
focusable="false"
|
|
134
134
|
viewBox="0 0 24 24"
|
|
135
135
|
>
|
|
@@ -266,28 +266,28 @@ exports[`renders the BurgerIcon with prop active=true 1`] = `
|
|
|
266
266
|
</BurgerIcon>
|
|
267
267
|
`;
|
|
268
268
|
|
|
269
|
-
exports[`renders the BurgerIcon with prop color=
|
|
269
|
+
exports[`renders the BurgerIcon with prop color=base-content 1`] = `
|
|
270
270
|
<BurgerIcon
|
|
271
|
-
color="
|
|
271
|
+
color="base-content"
|
|
272
272
|
>
|
|
273
273
|
<ForwardRef(Icon)
|
|
274
|
-
color="
|
|
274
|
+
color="base-content"
|
|
275
275
|
icon="burger"
|
|
276
276
|
>
|
|
277
277
|
<ForwardRef(SvgIcon)
|
|
278
278
|
className="ds-svg-icon--burger"
|
|
279
|
-
color="
|
|
279
|
+
color="base-content"
|
|
280
280
|
>
|
|
281
281
|
<ForwardRef(Base)
|
|
282
282
|
aria-hidden="true"
|
|
283
283
|
as="svg"
|
|
284
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
284
|
+
className="ds-svg-icon--burger ds-svg-icon--base-content ds-svg-icon"
|
|
285
285
|
focusable="false"
|
|
286
286
|
viewBox="0 0 24 24"
|
|
287
287
|
>
|
|
288
288
|
<svg
|
|
289
289
|
aria-hidden="true"
|
|
290
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
290
|
+
className="ds-svg-icon--burger ds-svg-icon--base-content ds-svg-icon"
|
|
291
291
|
focusable="false"
|
|
292
292
|
viewBox="0 0 24 24"
|
|
293
293
|
>
|
|
@@ -15,15 +15,15 @@ it('renders the BurgerIcon with prop active=true', function () {
|
|
|
15
15
|
expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
|
|
16
16
|
});
|
|
17
17
|
var _ref3 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
18
|
-
color: "
|
|
18
|
+
color: "base-content"
|
|
19
19
|
});
|
|
20
|
-
it('renders the BurgerIcon with prop color=
|
|
20
|
+
it('renders the BurgerIcon with prop color=base-content', function () {
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the BurgerIcon prop color= "
|
|
26
|
+
it('renders the BurgerIcon prop color= "white"', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
@@ -34,8 +34,8 @@ it('renders the BurgerIcon prop color= "error"', function () {
|
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
36
36
|
active: true,
|
|
37
|
-
color: "
|
|
37
|
+
color: "white"
|
|
38
38
|
});
|
|
39
|
-
it('renders the BurgerIcon props active color= "
|
|
39
|
+
it('renders the BurgerIcon props active color= "white"', function () {
|
|
40
40
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
41
41
|
});
|
|
@@ -73,28 +73,28 @@ exports[`renders the CancelIcon with prop color=error and size= xl 1`] = `
|
|
|
73
73
|
</CancelIcon>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
|
-
exports[`renders the CancelIcon with prop color=
|
|
76
|
+
exports[`renders the CancelIcon with prop color=warning 1`] = `
|
|
77
77
|
<CancelIcon
|
|
78
|
-
color="
|
|
78
|
+
color="warning"
|
|
79
79
|
>
|
|
80
80
|
<ForwardRef(Icon)
|
|
81
|
-
color="
|
|
81
|
+
color="warning"
|
|
82
82
|
icon="cancel"
|
|
83
83
|
>
|
|
84
84
|
<ForwardRef(SvgIcon)
|
|
85
85
|
className="ds-svg-icon--cancel"
|
|
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--cancel ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--cancel 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 CancelIcon with prop color=light 1`] = `
|
|
|
110
110
|
</CancelIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the CancelIcon with prop color=warning 1`] = `
|
|
113
|
+
exports[`renders the CancelIcon with prop color=warning and size=s 1`] = `
|
|
114
114
|
<CancelIcon
|
|
115
115
|
color="warning"
|
|
116
|
+
size="sm"
|
|
116
117
|
>
|
|
117
118
|
<ForwardRef(Icon)
|
|
118
119
|
color="warning"
|
|
119
120
|
icon="cancel"
|
|
121
|
+
size="sm"
|
|
120
122
|
>
|
|
121
123
|
<ForwardRef(SvgIcon)
|
|
122
124
|
className="ds-svg-icon--cancel"
|
|
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--cancel ds-svg-icon--warning ds-svg-icon"
|
|
131
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--warning ds-svg-icon"
|
|
137
|
+
className="ds-svg-icon--cancel 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 CancelIcon with prop color=warning 1`] = `
|
|
|
147
150
|
</CancelIcon>
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
exports[`renders the CancelIcon with prop color=
|
|
153
|
+
exports[`renders the CancelIcon with prop color=white 1`] = `
|
|
151
154
|
<CancelIcon
|
|
152
|
-
color="
|
|
153
|
-
size="sm"
|
|
155
|
+
color="white"
|
|
154
156
|
>
|
|
155
157
|
<ForwardRef(Icon)
|
|
156
|
-
color="
|
|
158
|
+
color="white"
|
|
157
159
|
icon="cancel"
|
|
158
|
-
size="sm"
|
|
159
160
|
>
|
|
160
161
|
<ForwardRef(SvgIcon)
|
|
161
162
|
className="ds-svg-icon--cancel"
|
|
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--cancel ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--cancel ds-svg-icon--white ds-svg-icon"
|
|
175
175
|
focusable="false"
|
|
176
176
|
viewBox="0 0 24 24"
|
|
177
177
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the CancelIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the CancelIcon with prop color=
|
|
26
|
+
it('renders the CancelIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
|