@digigov/react-icons 1.1.2 → 1.2.0-01ea6f24
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 +27 -27
- package/ArrowIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
- package/BurgerIcon/config/index.js +4 -4
- package/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/Icon/__snapshots__/index.test.tsx.snap +33 -33
- package/Icon/index.js +1 -1
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
- package/cjs/BurgerIcon/config/index.js +4 -4
- package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +33 -33
- package/cjs/Icon/index.js +1 -1
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/cjs/lazy/index.js +121 -0
- package/index.js +1 -1
- package/lazy/index.js +87 -0
- package/lazy/package.json +6 -0
- package/lazy.d.ts +15 -0
- package/package.json +2 -2
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
- package/src/BurgerIcon/config.tsx +4 -4
- package/src/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/src/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/Icon/__snapshots__/index.test.tsx.snap +33 -33
- package/src/Icon/index.tsx +1 -1
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/src/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
- package/src/lazy.js +16 -0
|
@@ -9,18 +9,18 @@ exports[`renders the ArrowIcon with direction down prop 1`] = `
|
|
|
9
9
|
icon="arrow"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(SvgIcon)
|
|
12
|
-
className="
|
|
12
|
+
className="ds-svg-icon--arrow"
|
|
13
13
|
>
|
|
14
14
|
<ForwardRef(Base)
|
|
15
15
|
aria-hidden="true"
|
|
16
16
|
as="svg"
|
|
17
|
-
className="
|
|
17
|
+
className="ds-svg-icon--arrow ds-svg-icon"
|
|
18
18
|
focusable="false"
|
|
19
19
|
viewBox="0 0 24 24"
|
|
20
20
|
>
|
|
21
21
|
<svg
|
|
22
22
|
aria-hidden="true"
|
|
23
|
-
className="
|
|
23
|
+
className="ds-svg-icon--arrow ds-svg-icon"
|
|
24
24
|
focusable="false"
|
|
25
25
|
viewBox="0 0 24 24"
|
|
26
26
|
>
|
|
@@ -47,18 +47,18 @@ exports[`renders the ArrowIcon with direction left prop 1`] = `
|
|
|
47
47
|
icon="arrow"
|
|
48
48
|
>
|
|
49
49
|
<ForwardRef(SvgIcon)
|
|
50
|
-
className="
|
|
50
|
+
className="ds-svg-icon--arrow"
|
|
51
51
|
>
|
|
52
52
|
<ForwardRef(Base)
|
|
53
53
|
aria-hidden="true"
|
|
54
54
|
as="svg"
|
|
55
|
-
className="
|
|
55
|
+
className="ds-svg-icon--arrow ds-svg-icon"
|
|
56
56
|
focusable="false"
|
|
57
57
|
viewBox="0 0 24 24"
|
|
58
58
|
>
|
|
59
59
|
<svg
|
|
60
60
|
aria-hidden="true"
|
|
61
|
-
className="
|
|
61
|
+
className="ds-svg-icon--arrow ds-svg-icon"
|
|
62
62
|
focusable="false"
|
|
63
63
|
viewBox="0 0 24 24"
|
|
64
64
|
>
|
|
@@ -85,18 +85,18 @@ exports[`renders the ArrowIcon with direction up prop 1`] = `
|
|
|
85
85
|
icon="arrow"
|
|
86
86
|
>
|
|
87
87
|
<ForwardRef(SvgIcon)
|
|
88
|
-
className="
|
|
88
|
+
className="ds-svg-icon--arrow"
|
|
89
89
|
>
|
|
90
90
|
<ForwardRef(Base)
|
|
91
91
|
aria-hidden="true"
|
|
92
92
|
as="svg"
|
|
93
|
-
className="
|
|
93
|
+
className="ds-svg-icon--arrow ds-svg-icon"
|
|
94
94
|
focusable="false"
|
|
95
95
|
viewBox="0 0 24 24"
|
|
96
96
|
>
|
|
97
97
|
<svg
|
|
98
98
|
aria-hidden="true"
|
|
99
|
-
className="
|
|
99
|
+
className="ds-svg-icon--arrow ds-svg-icon"
|
|
100
100
|
focusable="false"
|
|
101
101
|
viewBox="0 0 24 24"
|
|
102
102
|
>
|
|
@@ -120,18 +120,18 @@ exports[`renders the ArrowIcon with no props, direction prop is right by default
|
|
|
120
120
|
icon="arrow"
|
|
121
121
|
>
|
|
122
122
|
<ForwardRef(SvgIcon)
|
|
123
|
-
className="
|
|
123
|
+
className="ds-svg-icon--arrow"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="
|
|
128
|
+
className="ds-svg-icon--arrow 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="
|
|
134
|
+
className="ds-svg-icon--arrow ds-svg-icon"
|
|
135
135
|
focusable="false"
|
|
136
136
|
viewBox="0 0 24 24"
|
|
137
137
|
>
|
|
@@ -9,19 +9,19 @@ exports[`renders the BurgerIcon prop variant= "error" 1`] = `
|
|
|
9
9
|
variant="error"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(SvgIcon)
|
|
12
|
-
className="
|
|
12
|
+
className="ds-svg-icon--burger"
|
|
13
13
|
variant="error"
|
|
14
14
|
>
|
|
15
15
|
<ForwardRef(Base)
|
|
16
16
|
aria-hidden="true"
|
|
17
17
|
as="svg"
|
|
18
|
-
className="
|
|
18
|
+
className="ds-svg-icon--burger ds-svg-icon--error ds-svg-icon"
|
|
19
19
|
focusable="false"
|
|
20
20
|
viewBox="0 0 24 24"
|
|
21
21
|
>
|
|
22
22
|
<svg
|
|
23
23
|
aria-hidden="true"
|
|
24
|
-
className="
|
|
24
|
+
className="ds-svg-icon--burger ds-svg-icon--error ds-svg-icon"
|
|
25
25
|
focusable="false"
|
|
26
26
|
viewBox="0 0 24 24"
|
|
27
27
|
>
|
|
@@ -31,17 +31,17 @@ exports[`renders the BurgerIcon prop variant= "error" 1`] = `
|
|
|
31
31
|
>
|
|
32
32
|
<rect
|
|
33
33
|
height="3.3"
|
|
34
|
-
id="
|
|
34
|
+
id="ds-svg-icon--burger__line-1"
|
|
35
35
|
width="20"
|
|
36
36
|
/>
|
|
37
37
|
<rect
|
|
38
38
|
height="3.3"
|
|
39
|
-
id="
|
|
39
|
+
id="ds-svg-icon--burger__line-2"
|
|
40
40
|
width="20"
|
|
41
41
|
/>
|
|
42
42
|
<rect
|
|
43
43
|
height="3.3"
|
|
44
|
-
id="
|
|
44
|
+
id="ds-svg-icon--burger__line-3"
|
|
45
45
|
width="20"
|
|
46
46
|
/>
|
|
47
47
|
</g>
|
|
@@ -62,19 +62,19 @@ exports[`renders the BurgerIcon prop variant= "light" 1`] = `
|
|
|
62
62
|
variant="light"
|
|
63
63
|
>
|
|
64
64
|
<ForwardRef(SvgIcon)
|
|
65
|
-
className="
|
|
65
|
+
className="ds-svg-icon--burger"
|
|
66
66
|
variant="light"
|
|
67
67
|
>
|
|
68
68
|
<ForwardRef(Base)
|
|
69
69
|
aria-hidden="true"
|
|
70
70
|
as="svg"
|
|
71
|
-
className="
|
|
71
|
+
className="ds-svg-icon--burger ds-svg-icon--light 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="
|
|
77
|
+
className="ds-svg-icon--burger ds-svg-icon--light ds-svg-icon"
|
|
78
78
|
focusable="false"
|
|
79
79
|
viewBox="0 0 24 24"
|
|
80
80
|
>
|
|
@@ -84,17 +84,17 @@ exports[`renders the BurgerIcon prop variant= "light" 1`] = `
|
|
|
84
84
|
>
|
|
85
85
|
<rect
|
|
86
86
|
height="3.3"
|
|
87
|
-
id="
|
|
87
|
+
id="ds-svg-icon--burger__line-1"
|
|
88
88
|
width="20"
|
|
89
89
|
/>
|
|
90
90
|
<rect
|
|
91
91
|
height="3.3"
|
|
92
|
-
id="
|
|
92
|
+
id="ds-svg-icon--burger__line-2"
|
|
93
93
|
width="20"
|
|
94
94
|
/>
|
|
95
95
|
<rect
|
|
96
96
|
height="3.3"
|
|
97
|
-
id="
|
|
97
|
+
id="ds-svg-icon--burger__line-3"
|
|
98
98
|
width="20"
|
|
99
99
|
/>
|
|
100
100
|
</g>
|
|
@@ -117,19 +117,19 @@ exports[`renders the BurgerIcon props active variant= "light" 1`] = `
|
|
|
117
117
|
variant="light"
|
|
118
118
|
>
|
|
119
119
|
<ForwardRef(SvgIcon)
|
|
120
|
-
className="
|
|
120
|
+
className="ds-svg-icon--burger"
|
|
121
121
|
variant="light"
|
|
122
122
|
>
|
|
123
123
|
<ForwardRef(Base)
|
|
124
124
|
aria-hidden="true"
|
|
125
125
|
as="svg"
|
|
126
|
-
className="
|
|
126
|
+
className="ds-svg-icon--burger ds-svg-icon--light 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="
|
|
132
|
+
className="ds-svg-icon--burger ds-svg-icon--light ds-svg-icon"
|
|
133
133
|
focusable="false"
|
|
134
134
|
viewBox="0 0 24 24"
|
|
135
135
|
>
|
|
@@ -137,21 +137,21 @@ exports[`renders the BurgerIcon props active variant= "light" 1`] = `
|
|
|
137
137
|
active={true}
|
|
138
138
|
>
|
|
139
139
|
<g
|
|
140
|
-
className="
|
|
140
|
+
className="ds-svg-icon--burger--active"
|
|
141
141
|
>
|
|
142
142
|
<rect
|
|
143
143
|
height="3.3"
|
|
144
|
-
id="
|
|
144
|
+
id="ds-svg-icon--burger__line-1"
|
|
145
145
|
width="20"
|
|
146
146
|
/>
|
|
147
147
|
<rect
|
|
148
148
|
height="3.3"
|
|
149
|
-
id="
|
|
149
|
+
id="ds-svg-icon--burger__line-2"
|
|
150
150
|
width="20"
|
|
151
151
|
/>
|
|
152
152
|
<rect
|
|
153
153
|
height="3.3"
|
|
154
|
-
id="
|
|
154
|
+
id="ds-svg-icon--burger__line-3"
|
|
155
155
|
width="20"
|
|
156
156
|
/>
|
|
157
157
|
</g>
|
|
@@ -169,18 +169,18 @@ exports[`renders the BurgerIcon with no props 1`] = `
|
|
|
169
169
|
icon="burger"
|
|
170
170
|
>
|
|
171
171
|
<ForwardRef(SvgIcon)
|
|
172
|
-
className="
|
|
172
|
+
className="ds-svg-icon--burger"
|
|
173
173
|
>
|
|
174
174
|
<ForwardRef(Base)
|
|
175
175
|
aria-hidden="true"
|
|
176
176
|
as="svg"
|
|
177
|
-
className="
|
|
177
|
+
className="ds-svg-icon--burger ds-svg-icon"
|
|
178
178
|
focusable="false"
|
|
179
179
|
viewBox="0 0 24 24"
|
|
180
180
|
>
|
|
181
181
|
<svg
|
|
182
182
|
aria-hidden="true"
|
|
183
|
-
className="
|
|
183
|
+
className="ds-svg-icon--burger ds-svg-icon"
|
|
184
184
|
focusable="false"
|
|
185
185
|
viewBox="0 0 24 24"
|
|
186
186
|
>
|
|
@@ -190,17 +190,17 @@ exports[`renders the BurgerIcon with no props 1`] = `
|
|
|
190
190
|
>
|
|
191
191
|
<rect
|
|
192
192
|
height="3.3"
|
|
193
|
-
id="
|
|
193
|
+
id="ds-svg-icon--burger__line-1"
|
|
194
194
|
width="20"
|
|
195
195
|
/>
|
|
196
196
|
<rect
|
|
197
197
|
height="3.3"
|
|
198
|
-
id="
|
|
198
|
+
id="ds-svg-icon--burger__line-2"
|
|
199
199
|
width="20"
|
|
200
200
|
/>
|
|
201
201
|
<rect
|
|
202
202
|
height="3.3"
|
|
203
|
-
id="
|
|
203
|
+
id="ds-svg-icon--burger__line-3"
|
|
204
204
|
width="20"
|
|
205
205
|
/>
|
|
206
206
|
</g>
|
|
@@ -221,18 +221,18 @@ exports[`renders the BurgerIcon with prop active=true 1`] = `
|
|
|
221
221
|
icon="burger"
|
|
222
222
|
>
|
|
223
223
|
<ForwardRef(SvgIcon)
|
|
224
|
-
className="
|
|
224
|
+
className="ds-svg-icon--burger"
|
|
225
225
|
>
|
|
226
226
|
<ForwardRef(Base)
|
|
227
227
|
aria-hidden="true"
|
|
228
228
|
as="svg"
|
|
229
|
-
className="
|
|
229
|
+
className="ds-svg-icon--burger ds-svg-icon"
|
|
230
230
|
focusable="false"
|
|
231
231
|
viewBox="0 0 24 24"
|
|
232
232
|
>
|
|
233
233
|
<svg
|
|
234
234
|
aria-hidden="true"
|
|
235
|
-
className="
|
|
235
|
+
className="ds-svg-icon--burger ds-svg-icon"
|
|
236
236
|
focusable="false"
|
|
237
237
|
viewBox="0 0 24 24"
|
|
238
238
|
>
|
|
@@ -240,21 +240,21 @@ exports[`renders the BurgerIcon with prop active=true 1`] = `
|
|
|
240
240
|
active={true}
|
|
241
241
|
>
|
|
242
242
|
<g
|
|
243
|
-
className="
|
|
243
|
+
className="ds-svg-icon--burger--active"
|
|
244
244
|
>
|
|
245
245
|
<rect
|
|
246
246
|
height="3.3"
|
|
247
|
-
id="
|
|
247
|
+
id="ds-svg-icon--burger__line-1"
|
|
248
248
|
width="20"
|
|
249
249
|
/>
|
|
250
250
|
<rect
|
|
251
251
|
height="3.3"
|
|
252
|
-
id="
|
|
252
|
+
id="ds-svg-icon--burger__line-2"
|
|
253
253
|
width="20"
|
|
254
254
|
/>
|
|
255
255
|
<rect
|
|
256
256
|
height="3.3"
|
|
257
|
-
id="
|
|
257
|
+
id="ds-svg-icon--burger__line-3"
|
|
258
258
|
width="20"
|
|
259
259
|
/>
|
|
260
260
|
</g>
|
|
@@ -275,19 +275,19 @@ exports[`renders the BurgerIcon with prop variant=dark 1`] = `
|
|
|
275
275
|
variant="dark"
|
|
276
276
|
>
|
|
277
277
|
<ForwardRef(SvgIcon)
|
|
278
|
-
className="
|
|
278
|
+
className="ds-svg-icon--burger"
|
|
279
279
|
variant="dark"
|
|
280
280
|
>
|
|
281
281
|
<ForwardRef(Base)
|
|
282
282
|
aria-hidden="true"
|
|
283
283
|
as="svg"
|
|
284
|
-
className="
|
|
284
|
+
className="ds-svg-icon--burger ds-svg-icon--dark 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="
|
|
290
|
+
className="ds-svg-icon--burger ds-svg-icon--dark ds-svg-icon"
|
|
291
291
|
focusable="false"
|
|
292
292
|
viewBox="0 0 24 24"
|
|
293
293
|
>
|
|
@@ -297,17 +297,17 @@ exports[`renders the BurgerIcon with prop variant=dark 1`] = `
|
|
|
297
297
|
>
|
|
298
298
|
<rect
|
|
299
299
|
height="3.3"
|
|
300
|
-
id="
|
|
300
|
+
id="ds-svg-icon--burger__line-1"
|
|
301
301
|
width="20"
|
|
302
302
|
/>
|
|
303
303
|
<rect
|
|
304
304
|
height="3.3"
|
|
305
|
-
id="
|
|
305
|
+
id="ds-svg-icon--burger__line-2"
|
|
306
306
|
width="20"
|
|
307
307
|
/>
|
|
308
308
|
<rect
|
|
309
309
|
height="3.3"
|
|
310
|
-
id="
|
|
310
|
+
id="ds-svg-icon--burger__line-3"
|
|
311
311
|
width="20"
|
|
312
312
|
/>
|
|
313
313
|
</g>
|
|
@@ -8,17 +8,17 @@ exports["default"] = exports.burger = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
10
10
|
var _ref2 = /*#__PURE__*/_react["default"].createElement("rect", {
|
|
11
|
-
id: "
|
|
11
|
+
id: "ds-svg-icon--burger__line-1",
|
|
12
12
|
width: "20",
|
|
13
13
|
height: "3.3"
|
|
14
14
|
});
|
|
15
15
|
var _ref3 = /*#__PURE__*/_react["default"].createElement("rect", {
|
|
16
|
-
id: "
|
|
16
|
+
id: "ds-svg-icon--burger__line-2",
|
|
17
17
|
width: "20",
|
|
18
18
|
height: "3.3"
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/_react["default"].createElement("rect", {
|
|
21
|
-
id: "
|
|
21
|
+
id: "ds-svg-icon--burger__line-3",
|
|
22
22
|
width: "20",
|
|
23
23
|
height: "3.3"
|
|
24
24
|
});
|
|
@@ -26,7 +26,7 @@ var burger = exports.burger = function burger(_ref) {
|
|
|
26
26
|
var _ref$active = _ref.active,
|
|
27
27
|
active = _ref$active === void 0 ? false : _ref$active;
|
|
28
28
|
return /*#__PURE__*/_react["default"].createElement("g", {
|
|
29
|
-
className: (0, _clsx["default"])(active && "
|
|
29
|
+
className: (0, _clsx["default"])(active && "ds-svg-icon--burger--active")
|
|
30
30
|
}, _ref2, _ref3, _ref4);
|
|
31
31
|
};
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -9,18 +9,18 @@ exports[`renders the CaretIcon with direction down prop 1`] = `
|
|
|
9
9
|
icon="caret"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(SvgIcon)
|
|
12
|
-
className="
|
|
12
|
+
className="ds-svg-icon--caret"
|
|
13
13
|
>
|
|
14
14
|
<ForwardRef(Base)
|
|
15
15
|
aria-hidden="true"
|
|
16
16
|
as="svg"
|
|
17
|
-
className="
|
|
17
|
+
className="ds-svg-icon--caret ds-svg-icon"
|
|
18
18
|
focusable="false"
|
|
19
19
|
viewBox="0 0 24 24"
|
|
20
20
|
>
|
|
21
21
|
<svg
|
|
22
22
|
aria-hidden="true"
|
|
23
|
-
className="
|
|
23
|
+
className="ds-svg-icon--caret ds-svg-icon"
|
|
24
24
|
focusable="false"
|
|
25
25
|
viewBox="0 0 24 24"
|
|
26
26
|
>
|
|
@@ -47,18 +47,18 @@ exports[`renders the CaretIcon with direction right prop 1`] = `
|
|
|
47
47
|
icon="caret"
|
|
48
48
|
>
|
|
49
49
|
<ForwardRef(SvgIcon)
|
|
50
|
-
className="
|
|
50
|
+
className="ds-svg-icon--caret"
|
|
51
51
|
>
|
|
52
52
|
<ForwardRef(Base)
|
|
53
53
|
aria-hidden="true"
|
|
54
54
|
as="svg"
|
|
55
|
-
className="
|
|
55
|
+
className="ds-svg-icon--caret ds-svg-icon"
|
|
56
56
|
focusable="false"
|
|
57
57
|
viewBox="0 0 24 24"
|
|
58
58
|
>
|
|
59
59
|
<svg
|
|
60
60
|
aria-hidden="true"
|
|
61
|
-
className="
|
|
61
|
+
className="ds-svg-icon--caret ds-svg-icon"
|
|
62
62
|
focusable="false"
|
|
63
63
|
viewBox="0 0 24 24"
|
|
64
64
|
>
|
|
@@ -85,18 +85,18 @@ exports[`renders the CaretIcon with direction up prop 1`] = `
|
|
|
85
85
|
icon="caret"
|
|
86
86
|
>
|
|
87
87
|
<ForwardRef(SvgIcon)
|
|
88
|
-
className="
|
|
88
|
+
className="ds-svg-icon--caret"
|
|
89
89
|
>
|
|
90
90
|
<ForwardRef(Base)
|
|
91
91
|
aria-hidden="true"
|
|
92
92
|
as="svg"
|
|
93
|
-
className="
|
|
93
|
+
className="ds-svg-icon--caret ds-svg-icon"
|
|
94
94
|
focusable="false"
|
|
95
95
|
viewBox="0 0 24 24"
|
|
96
96
|
>
|
|
97
97
|
<svg
|
|
98
98
|
aria-hidden="true"
|
|
99
|
-
className="
|
|
99
|
+
className="ds-svg-icon--caret ds-svg-icon"
|
|
100
100
|
focusable="false"
|
|
101
101
|
viewBox="0 0 24 24"
|
|
102
102
|
>
|
|
@@ -120,18 +120,18 @@ exports[`renders the CaretIcon with no props, direction prop is left by default
|
|
|
120
120
|
icon="caret"
|
|
121
121
|
>
|
|
122
122
|
<ForwardRef(SvgIcon)
|
|
123
|
-
className="
|
|
123
|
+
className="ds-svg-icon--caret"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="
|
|
128
|
+
className="ds-svg-icon--caret 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="
|
|
134
|
+
className="ds-svg-icon--caret ds-svg-icon"
|
|
135
135
|
focusable="false"
|
|
136
136
|
viewBox="0 0 24 24"
|
|
137
137
|
>
|
|
@@ -6,18 +6,18 @@ exports[`renders the CheckIcon with no props 1`] = `
|
|
|
6
6
|
icon="check"
|
|
7
7
|
>
|
|
8
8
|
<ForwardRef(SvgIcon)
|
|
9
|
-
className="
|
|
9
|
+
className="ds-svg-icon--check"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(Base)
|
|
12
12
|
aria-hidden="true"
|
|
13
13
|
as="svg"
|
|
14
|
-
className="
|
|
14
|
+
className="ds-svg-icon--check ds-svg-icon"
|
|
15
15
|
focusable="false"
|
|
16
16
|
viewBox="0 0 24 24"
|
|
17
17
|
>
|
|
18
18
|
<svg
|
|
19
19
|
aria-hidden="true"
|
|
20
|
-
className="
|
|
20
|
+
className="ds-svg-icon--check ds-svg-icon"
|
|
21
21
|
focusable="false"
|
|
22
22
|
viewBox="0 0 24 24"
|
|
23
23
|
>
|
|
@@ -42,19 +42,19 @@ exports[`renders the CheckIcon with prop size=m 1`] = `
|
|
|
42
42
|
size="md"
|
|
43
43
|
>
|
|
44
44
|
<ForwardRef(SvgIcon)
|
|
45
|
-
className="
|
|
45
|
+
className="ds-svg-icon--check"
|
|
46
46
|
size="md"
|
|
47
47
|
>
|
|
48
48
|
<ForwardRef(Base)
|
|
49
49
|
aria-hidden="true"
|
|
50
50
|
as="svg"
|
|
51
|
-
className="
|
|
51
|
+
className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
|
|
52
52
|
focusable="false"
|
|
53
53
|
viewBox="0 0 24 24"
|
|
54
54
|
>
|
|
55
55
|
<svg
|
|
56
56
|
aria-hidden="true"
|
|
57
|
-
className="
|
|
57
|
+
className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
|
|
58
58
|
focusable="false"
|
|
59
59
|
viewBox="0 0 24 24"
|
|
60
60
|
>
|
|
@@ -79,19 +79,19 @@ exports[`renders the CheckIcon with prop size=xl 1`] = `
|
|
|
79
79
|
size="xl"
|
|
80
80
|
>
|
|
81
81
|
<ForwardRef(SvgIcon)
|
|
82
|
-
className="
|
|
82
|
+
className="ds-svg-icon--check"
|
|
83
83
|
size="xl"
|
|
84
84
|
>
|
|
85
85
|
<ForwardRef(Base)
|
|
86
86
|
aria-hidden="true"
|
|
87
87
|
as="svg"
|
|
88
|
-
className="
|
|
88
|
+
className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
|
|
89
89
|
focusable="false"
|
|
90
90
|
viewBox="0 0 24 24"
|
|
91
91
|
>
|
|
92
92
|
<svg
|
|
93
93
|
aria-hidden="true"
|
|
94
|
-
className="
|
|
94
|
+
className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
|
|
95
95
|
focusable="false"
|
|
96
96
|
viewBox="0 0 24 24"
|
|
97
97
|
>
|
|
@@ -118,20 +118,20 @@ exports[`renders the CheckIcon with prop variant=error and size= xl 1`] = `
|
|
|
118
118
|
variant="warning"
|
|
119
119
|
>
|
|
120
120
|
<ForwardRef(SvgIcon)
|
|
121
|
-
className="
|
|
121
|
+
className="ds-svg-icon--check"
|
|
122
122
|
size="xl"
|
|
123
123
|
variant="warning"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="
|
|
128
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--xl 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="
|
|
134
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
135
135
|
focusable="false"
|
|
136
136
|
viewBox="0 0 24 24"
|
|
137
137
|
>
|
|
@@ -156,19 +156,19 @@ exports[`renders the CheckIcon with prop variant=light 1`] = `
|
|
|
156
156
|
variant="light"
|
|
157
157
|
>
|
|
158
158
|
<ForwardRef(SvgIcon)
|
|
159
|
-
className="
|
|
159
|
+
className="ds-svg-icon--check"
|
|
160
160
|
variant="light"
|
|
161
161
|
>
|
|
162
162
|
<ForwardRef(Base)
|
|
163
163
|
aria-hidden="true"
|
|
164
164
|
as="svg"
|
|
165
|
-
className="
|
|
165
|
+
className="ds-svg-icon--check ds-svg-icon--light 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="
|
|
171
|
+
className="ds-svg-icon--check ds-svg-icon--light ds-svg-icon"
|
|
172
172
|
focusable="false"
|
|
173
173
|
viewBox="0 0 24 24"
|
|
174
174
|
>
|
|
@@ -193,19 +193,19 @@ exports[`renders the CheckIcon with prop variant=success 1`] = `
|
|
|
193
193
|
variant="success"
|
|
194
194
|
>
|
|
195
195
|
<ForwardRef(SvgIcon)
|
|
196
|
-
className="
|
|
196
|
+
className="ds-svg-icon--check"
|
|
197
197
|
variant="success"
|
|
198
198
|
>
|
|
199
199
|
<ForwardRef(Base)
|
|
200
200
|
aria-hidden="true"
|
|
201
201
|
as="svg"
|
|
202
|
-
className="
|
|
202
|
+
className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
|
|
203
203
|
focusable="false"
|
|
204
204
|
viewBox="0 0 24 24"
|
|
205
205
|
>
|
|
206
206
|
<svg
|
|
207
207
|
aria-hidden="true"
|
|
208
|
-
className="
|
|
208
|
+
className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
|
|
209
209
|
focusable="false"
|
|
210
210
|
viewBox="0 0 24 24"
|
|
211
211
|
>
|
|
@@ -230,19 +230,19 @@ exports[`renders the CheckIcon with prop variant=warning 1`] = `
|
|
|
230
230
|
variant="warning"
|
|
231
231
|
>
|
|
232
232
|
<ForwardRef(SvgIcon)
|
|
233
|
-
className="
|
|
233
|
+
className="ds-svg-icon--check"
|
|
234
234
|
variant="warning"
|
|
235
235
|
>
|
|
236
236
|
<ForwardRef(Base)
|
|
237
237
|
aria-hidden="true"
|
|
238
238
|
as="svg"
|
|
239
|
-
className="
|
|
239
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
|
|
240
240
|
focusable="false"
|
|
241
241
|
viewBox="0 0 24 24"
|
|
242
242
|
>
|
|
243
243
|
<svg
|
|
244
244
|
aria-hidden="true"
|
|
245
|
-
className="
|
|
245
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
|
|
246
246
|
focusable="false"
|
|
247
247
|
viewBox="0 0 24 24"
|
|
248
248
|
>
|
|
@@ -269,20 +269,20 @@ exports[`renders the CheckIcon with prop variant=warning and size=s 1`] = `
|
|
|
269
269
|
variant="warning"
|
|
270
270
|
>
|
|
271
271
|
<ForwardRef(SvgIcon)
|
|
272
|
-
className="
|
|
272
|
+
className="ds-svg-icon--check"
|
|
273
273
|
size="sm"
|
|
274
274
|
variant="warning"
|
|
275
275
|
>
|
|
276
276
|
<ForwardRef(Base)
|
|
277
277
|
aria-hidden="true"
|
|
278
278
|
as="svg"
|
|
279
|
-
className="
|
|
279
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
280
280
|
focusable="false"
|
|
281
281
|
viewBox="0 0 24 24"
|
|
282
282
|
>
|
|
283
283
|
<svg
|
|
284
284
|
aria-hidden="true"
|
|
285
|
-
className="
|
|
285
|
+
className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
286
286
|
focusable="false"
|
|
287
287
|
viewBox="0 0 24 24"
|
|
288
288
|
>
|