@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
|
@@ -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
|
>
|
|
@@ -12,8 +12,8 @@ it('renders the CancelIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the CancelIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<CancelIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the CancelIcon with prop color=
|
|
16
|
-
expect(mount(<CancelIcon color="
|
|
15
|
+
it('renders the CancelIcon with prop color=white', () => {
|
|
16
|
+
expect(mount(<CancelIcon color="white" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
18
|
it('renders the CancelIcon with prop color=warning', () => {
|
|
19
19
|
expect(mount(<CancelIcon color="warning" />)).toMatchSnapshot();
|
|
@@ -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
|
>
|
|
@@ -15,8 +15,8 @@ it('renders the ChatIcon with prop size=md', () => {
|
|
|
15
15
|
it('renders the ChatIcon with prop size=xl', () => {
|
|
16
16
|
expect(mount(<ChatIcon size="xl" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
|
-
it('renders the ChatIcon with prop color=
|
|
19
|
-
expect(mount(<ChatIcon color="
|
|
18
|
+
it('renders the ChatIcon with prop color=white', () => {
|
|
19
|
+
expect(mount(<ChatIcon color="white" />)).toMatchSnapshot();
|
|
20
20
|
});
|
|
21
21
|
it('renders the ChatIcon with prop color=warning', () => {
|
|
22
22
|
expect(mount(<ChatIcon color="warning" />)).toMatchSnapshot();
|
|
@@ -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
|
>
|
|
@@ -12,8 +12,8 @@ it('renders the CheckIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the CheckIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<CheckIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the CheckIcon with prop color=
|
|
16
|
-
expect(mount(<CheckIcon color="
|
|
15
|
+
it('renders the CheckIcon with prop color=white', () => {
|
|
16
|
+
expect(mount(<CheckIcon color="white" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
18
|
it('renders the CheckIcon with prop color=success', () => {
|
|
19
19
|
expect(mount(<CheckIcon color="success" />)).toMatchSnapshot();
|
|
@@ -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
|
>
|
|
@@ -12,8 +12,8 @@ it('renders the DownloadIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the DownloadIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<DownloadIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the DownloadIcon with prop color=
|
|
16
|
-
expect(mount(<DownloadIcon color="
|
|
15
|
+
it('renders the DownloadIcon with prop color=white', () => {
|
|
16
|
+
expect(mount(<DownloadIcon color="white" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
18
|
it('renders the DownloadIcon with prop color=warning', () => {
|
|
19
19
|
expect(mount(<DownloadIcon color="warning" />)).toMatchSnapshot();
|
|
@@ -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
|
>
|
|
@@ -12,8 +12,8 @@ it('renders the ExclamationIcon with prop size=md', () => {
|
|
|
12
12
|
it('renders the ExclamationIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<ExclamationIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the ExclamationIcon with prop color=
|
|
16
|
-
expect(mount(<ExclamationIcon color="
|
|
15
|
+
it('renders the ExclamationIcon with prop color=white', () => {
|
|
16
|
+
expect(mount(<ExclamationIcon color="white" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
18
|
it('renders the ExclamationIcon with prop color=warning', () => {
|
|
19
19
|
expect(mount(<ExclamationIcon color="warning" />)).toMatchSnapshot();
|