@digigov/react-icons 1.0.0-rc → 1.0.0-rc.1
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 +0 -315
- package/AccessibilityIcon/index.d.ts +1 -1
- package/AccessibilityIcon/index.js +1 -1
- package/AccessibilityIcon/index.test.js +13 -69
- package/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/ArrowIcon/config.d.ts +7 -0
- package/ArrowIcon/index.d.ts +1 -1
- package/ArrowIcon/index.js +1 -1
- package/BurgerIcon/index.d.ts +1 -1
- package/BurgerIcon/index.js +1 -1
- package/CaretIcon/config.d.ts +7 -0
- package/CaretIcon/index.d.ts +1 -1
- package/CaretIcon/index.js +1 -1
- package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/CheckIcon/index.d.ts +1 -1
- package/CheckIcon/index.js +1 -1
- package/CheckIcon/index.test.js +13 -69
- package/CloseIcon/index.d.ts +1 -1
- package/CloseIcon/index.js +1 -1
- package/GlobeIcon/index.d.ts +1 -1
- package/GlobeIcon/index.js +1 -1
- package/Icon/__snapshots__/index.test.tsx.snap +343 -0
- package/Icon/index.d.ts +25 -0
- package/Icon/index.js +58 -0
- package/Icon/index.test.d.ts +1 -0
- package/Icon/index.test.js +88 -0
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/MoreVertIcon/index.d.ts +1 -1
- package/MoreVertIcon/index.js +1 -1
- package/MoreVertIcon/index.test.js +13 -61
- package/SearchIcon/index.d.ts +1 -1
- package/SearchIcon/index.js +1 -1
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/UncheckIcon/index.d.ts +1 -1
- package/UncheckIcon/index.js +1 -1
- package/UncheckIcon/index.test.js +15 -63
- package/es/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
- package/es/AccessibilityIcon/index.js +1 -1
- package/es/AccessibilityIcon/index.test.js +13 -69
- package/es/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/es/ArrowIcon/index.js +1 -1
- package/es/BurgerIcon/index.js +1 -1
- package/es/CaretIcon/index.js +1 -1
- package/es/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/es/CheckIcon/index.js +1 -1
- package/es/CheckIcon/index.test.js +13 -69
- package/es/CloseIcon/index.js +1 -1
- package/es/GlobeIcon/index.js +1 -1
- package/es/Icon/__snapshots__/index.test.tsx.snap +343 -0
- package/es/Icon/index.js +34 -0
- package/es/Icon/index.test.js +82 -0
- package/es/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/es/MoreVertIcon/index.js +1 -1
- package/es/MoreVertIcon/index.test.js +13 -61
- package/es/SearchIcon/index.js +1 -1
- package/es/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/es/UncheckIcon/index.js +1 -1
- package/es/UncheckIcon/index.test.js +15 -63
- package/es/registry.js +2 -0
- package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
- package/esm/AccessibilityIcon/index.js +1 -1
- package/esm/AccessibilityIcon/index.test.js +13 -69
- package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/esm/ArrowIcon/index.js +1 -1
- package/esm/BurgerIcon/index.js +1 -1
- package/esm/CaretIcon/index.js +1 -1
- package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/esm/CheckIcon/index.js +1 -1
- package/esm/CheckIcon/index.test.js +13 -69
- package/esm/CloseIcon/index.js +1 -1
- package/esm/GlobeIcon/index.js +1 -1
- package/esm/Icon/__snapshots__/index.test.tsx.snap +343 -0
- package/esm/Icon/index.js +34 -0
- package/esm/Icon/index.test.js +82 -0
- package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/esm/MoreVertIcon/index.js +1 -1
- package/esm/MoreVertIcon/index.test.js +13 -61
- package/esm/SearchIcon/index.js +1 -1
- package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/esm/UncheckIcon/index.js +1 -1
- package/esm/UncheckIcon/index.test.js +15 -63
- package/esm/registry.js +2 -0
- package/package.json +2 -3
- package/registry.d.ts +1 -0
- package/registry.js +3 -0
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
- package/src/AccessibilityIcon/index.test.tsx +0 -21
- package/src/AccessibilityIcon/index.tsx +1 -1
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/src/ArrowIcon/config.tsx +8 -1
- package/src/ArrowIcon/index.tsx +1 -1
- package/src/BurgerIcon/index.tsx +1 -1
- package/src/CaretIcon/config.tsx +8 -1
- package/src/CaretIcon/index.tsx +1 -1
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/src/CheckIcon/index.test.tsx +0 -21
- package/src/CheckIcon/index.tsx +1 -1
- package/src/CloseIcon/index.tsx +1 -1
- package/src/GlobeIcon/index.tsx +1 -1
- package/src/Icon/__snapshots__/index.test.tsx.snap +343 -0
- package/src/Icon/index.test.tsx +36 -0
- package/src/Icon/index.tsx +63 -0
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/src/MoreVertIcon/index.test.tsx +0 -18
- package/src/MoreVertIcon/index.tsx +1 -1
- package/src/SearchIcon/index.tsx +1 -1
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/src/UncheckIcon/index.test.tsx +0 -18
- package/src/UncheckIcon/index.tsx +1 -1
- package/src/registry.js +2 -0
|
@@ -107,80 +107,6 @@ exports[`renders the UncheckIcon with prop size=m 1`] = `
|
|
|
107
107
|
</UncheckIcon>
|
|
108
108
|
`;
|
|
109
109
|
|
|
110
|
-
exports[`renders the UncheckIcon with prop size=s 1`] = `
|
|
111
|
-
<UncheckIcon
|
|
112
|
-
size="sm"
|
|
113
|
-
>
|
|
114
|
-
<ForwardRef(Icon)
|
|
115
|
-
icon="uncheck"
|
|
116
|
-
size="sm"
|
|
117
|
-
>
|
|
118
|
-
<ForwardRef(SvgIcon)
|
|
119
|
-
className="govgr-svg-icon--uncheck"
|
|
120
|
-
size="sm"
|
|
121
|
-
>
|
|
122
|
-
<ForwardRef(Base)
|
|
123
|
-
aria-hidden="true"
|
|
124
|
-
as="svg"
|
|
125
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--sm govgr-svg-icon"
|
|
126
|
-
focusable="false"
|
|
127
|
-
viewBox="0 0 24 24"
|
|
128
|
-
>
|
|
129
|
-
<svg
|
|
130
|
-
aria-hidden="true"
|
|
131
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--sm govgr-svg-icon"
|
|
132
|
-
focusable="false"
|
|
133
|
-
viewBox="0 0 24 24"
|
|
134
|
-
>
|
|
135
|
-
<uncheck>
|
|
136
|
-
<polygon
|
|
137
|
-
points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
|
|
138
|
-
/>
|
|
139
|
-
</uncheck>
|
|
140
|
-
</svg>
|
|
141
|
-
</ForwardRef(Base)>
|
|
142
|
-
</ForwardRef(SvgIcon)>
|
|
143
|
-
</ForwardRef(Icon)>
|
|
144
|
-
</UncheckIcon>
|
|
145
|
-
`;
|
|
146
|
-
|
|
147
|
-
exports[`renders the UncheckIcon with prop size=xl 1`] = `
|
|
148
|
-
<UncheckIcon
|
|
149
|
-
size="xl"
|
|
150
|
-
>
|
|
151
|
-
<ForwardRef(Icon)
|
|
152
|
-
icon="uncheck"
|
|
153
|
-
size="xl"
|
|
154
|
-
>
|
|
155
|
-
<ForwardRef(SvgIcon)
|
|
156
|
-
className="govgr-svg-icon--uncheck"
|
|
157
|
-
size="xl"
|
|
158
|
-
>
|
|
159
|
-
<ForwardRef(Base)
|
|
160
|
-
aria-hidden="true"
|
|
161
|
-
as="svg"
|
|
162
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--xl govgr-svg-icon"
|
|
163
|
-
focusable="false"
|
|
164
|
-
viewBox="0 0 24 24"
|
|
165
|
-
>
|
|
166
|
-
<svg
|
|
167
|
-
aria-hidden="true"
|
|
168
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--xl govgr-svg-icon"
|
|
169
|
-
focusable="false"
|
|
170
|
-
viewBox="0 0 24 24"
|
|
171
|
-
>
|
|
172
|
-
<uncheck>
|
|
173
|
-
<polygon
|
|
174
|
-
points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
|
|
175
|
-
/>
|
|
176
|
-
</uncheck>
|
|
177
|
-
</svg>
|
|
178
|
-
</ForwardRef(Base)>
|
|
179
|
-
</ForwardRef(SvgIcon)>
|
|
180
|
-
</ForwardRef(Icon)>
|
|
181
|
-
</UncheckIcon>
|
|
182
|
-
`;
|
|
183
|
-
|
|
184
110
|
exports[`renders the UncheckIcon with prop variant=dark 1`] = `
|
|
185
111
|
<UncheckIcon
|
|
186
112
|
variant="dark"
|
|
@@ -218,43 +144,6 @@ exports[`renders the UncheckIcon with prop variant=dark 1`] = `
|
|
|
218
144
|
</UncheckIcon>
|
|
219
145
|
`;
|
|
220
146
|
|
|
221
|
-
exports[`renders the UncheckIcon with prop variant=error 1`] = `
|
|
222
|
-
<UncheckIcon
|
|
223
|
-
variant="error"
|
|
224
|
-
>
|
|
225
|
-
<ForwardRef(Icon)
|
|
226
|
-
icon="uncheck"
|
|
227
|
-
variant="error"
|
|
228
|
-
>
|
|
229
|
-
<ForwardRef(SvgIcon)
|
|
230
|
-
className="govgr-svg-icon--uncheck"
|
|
231
|
-
variant="error"
|
|
232
|
-
>
|
|
233
|
-
<ForwardRef(Base)
|
|
234
|
-
aria-hidden="true"
|
|
235
|
-
as="svg"
|
|
236
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--error govgr-svg-icon"
|
|
237
|
-
focusable="false"
|
|
238
|
-
viewBox="0 0 24 24"
|
|
239
|
-
>
|
|
240
|
-
<svg
|
|
241
|
-
aria-hidden="true"
|
|
242
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--error govgr-svg-icon"
|
|
243
|
-
focusable="false"
|
|
244
|
-
viewBox="0 0 24 24"
|
|
245
|
-
>
|
|
246
|
-
<uncheck>
|
|
247
|
-
<polygon
|
|
248
|
-
points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
|
|
249
|
-
/>
|
|
250
|
-
</uncheck>
|
|
251
|
-
</svg>
|
|
252
|
-
</ForwardRef(Base)>
|
|
253
|
-
</ForwardRef(SvgIcon)>
|
|
254
|
-
</ForwardRef(Icon)>
|
|
255
|
-
</UncheckIcon>
|
|
256
|
-
`;
|
|
257
|
-
|
|
258
147
|
exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
|
|
259
148
|
<UncheckIcon
|
|
260
149
|
size="xl"
|
|
@@ -295,43 +184,6 @@ exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
|
|
|
295
184
|
</UncheckIcon>
|
|
296
185
|
`;
|
|
297
186
|
|
|
298
|
-
exports[`renders the UncheckIcon with prop variant=focus 1`] = `
|
|
299
|
-
<UncheckIcon
|
|
300
|
-
variant="focus"
|
|
301
|
-
>
|
|
302
|
-
<ForwardRef(Icon)
|
|
303
|
-
icon="uncheck"
|
|
304
|
-
variant="focus"
|
|
305
|
-
>
|
|
306
|
-
<ForwardRef(SvgIcon)
|
|
307
|
-
className="govgr-svg-icon--uncheck"
|
|
308
|
-
variant="focus"
|
|
309
|
-
>
|
|
310
|
-
<ForwardRef(Base)
|
|
311
|
-
aria-hidden="true"
|
|
312
|
-
as="svg"
|
|
313
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--focus govgr-svg-icon"
|
|
314
|
-
focusable="false"
|
|
315
|
-
viewBox="0 0 24 24"
|
|
316
|
-
>
|
|
317
|
-
<svg
|
|
318
|
-
aria-hidden="true"
|
|
319
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--focus govgr-svg-icon"
|
|
320
|
-
focusable="false"
|
|
321
|
-
viewBox="0 0 24 24"
|
|
322
|
-
>
|
|
323
|
-
<uncheck>
|
|
324
|
-
<polygon
|
|
325
|
-
points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
|
|
326
|
-
/>
|
|
327
|
-
</uncheck>
|
|
328
|
-
</svg>
|
|
329
|
-
</ForwardRef(Base)>
|
|
330
|
-
</ForwardRef(SvgIcon)>
|
|
331
|
-
</ForwardRef(Icon)>
|
|
332
|
-
</UncheckIcon>
|
|
333
|
-
`;
|
|
334
|
-
|
|
335
187
|
exports[`renders the UncheckIcon with prop variant=gray 1`] = `
|
|
336
188
|
<UncheckIcon
|
|
337
189
|
variant="gray"
|
|
@@ -443,80 +295,6 @@ exports[`renders the UncheckIcon with prop variant=primary 1`] = `
|
|
|
443
295
|
</UncheckIcon>
|
|
444
296
|
`;
|
|
445
297
|
|
|
446
|
-
exports[`renders the UncheckIcon with prop variant=success 1`] = `
|
|
447
|
-
<UncheckIcon
|
|
448
|
-
variant="success"
|
|
449
|
-
>
|
|
450
|
-
<ForwardRef(Icon)
|
|
451
|
-
icon="uncheck"
|
|
452
|
-
variant="success"
|
|
453
|
-
>
|
|
454
|
-
<ForwardRef(SvgIcon)
|
|
455
|
-
className="govgr-svg-icon--uncheck"
|
|
456
|
-
variant="success"
|
|
457
|
-
>
|
|
458
|
-
<ForwardRef(Base)
|
|
459
|
-
aria-hidden="true"
|
|
460
|
-
as="svg"
|
|
461
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--success govgr-svg-icon"
|
|
462
|
-
focusable="false"
|
|
463
|
-
viewBox="0 0 24 24"
|
|
464
|
-
>
|
|
465
|
-
<svg
|
|
466
|
-
aria-hidden="true"
|
|
467
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--success govgr-svg-icon"
|
|
468
|
-
focusable="false"
|
|
469
|
-
viewBox="0 0 24 24"
|
|
470
|
-
>
|
|
471
|
-
<uncheck>
|
|
472
|
-
<polygon
|
|
473
|
-
points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
|
|
474
|
-
/>
|
|
475
|
-
</uncheck>
|
|
476
|
-
</svg>
|
|
477
|
-
</ForwardRef(Base)>
|
|
478
|
-
</ForwardRef(SvgIcon)>
|
|
479
|
-
</ForwardRef(Icon)>
|
|
480
|
-
</UncheckIcon>
|
|
481
|
-
`;
|
|
482
|
-
|
|
483
|
-
exports[`renders the UncheckIcon with prop variant=warning 1`] = `
|
|
484
|
-
<UncheckIcon
|
|
485
|
-
variant="warning"
|
|
486
|
-
>
|
|
487
|
-
<ForwardRef(Icon)
|
|
488
|
-
icon="uncheck"
|
|
489
|
-
variant="warning"
|
|
490
|
-
>
|
|
491
|
-
<ForwardRef(SvgIcon)
|
|
492
|
-
className="govgr-svg-icon--uncheck"
|
|
493
|
-
variant="warning"
|
|
494
|
-
>
|
|
495
|
-
<ForwardRef(Base)
|
|
496
|
-
aria-hidden="true"
|
|
497
|
-
as="svg"
|
|
498
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon"
|
|
499
|
-
focusable="false"
|
|
500
|
-
viewBox="0 0 24 24"
|
|
501
|
-
>
|
|
502
|
-
<svg
|
|
503
|
-
aria-hidden="true"
|
|
504
|
-
className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon"
|
|
505
|
-
focusable="false"
|
|
506
|
-
viewBox="0 0 24 24"
|
|
507
|
-
>
|
|
508
|
-
<uncheck>
|
|
509
|
-
<polygon
|
|
510
|
-
points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
|
|
511
|
-
/>
|
|
512
|
-
</uncheck>
|
|
513
|
-
</svg>
|
|
514
|
-
</ForwardRef(Base)>
|
|
515
|
-
</ForwardRef(SvgIcon)>
|
|
516
|
-
</ForwardRef(Icon)>
|
|
517
|
-
</UncheckIcon>
|
|
518
|
-
`;
|
|
519
|
-
|
|
520
298
|
exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
|
|
521
299
|
<UncheckIcon
|
|
522
300
|
size="sm"
|
package/UncheckIcon/index.d.ts
CHANGED
package/UncheckIcon/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
|
|
14
|
-
var _Icon = _interopRequireDefault(require("@digigov/react-
|
|
14
|
+
var _Icon = _interopRequireDefault(require("@digigov/react-icons/Icon"));
|
|
15
15
|
|
|
16
16
|
var UncheckIcon = function UncheckIcon(props) {
|
|
17
17
|
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
|
|
@@ -15,115 +15,67 @@ it('renders the UncheckIcon with no props', function () {
|
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
var _ref2 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
18
|
-
size: "sm"
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
it('renders the UncheckIcon with prop size=s', function () {
|
|
22
|
-
expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
var _ref3 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
26
18
|
size: "md"
|
|
27
19
|
});
|
|
28
20
|
|
|
29
21
|
it('renders the UncheckIcon with prop size=m', function () {
|
|
30
|
-
expect((0, _enzyme.mount)(
|
|
22
|
+
expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
|
|
31
23
|
});
|
|
32
24
|
|
|
33
|
-
var
|
|
25
|
+
var _ref3 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
34
26
|
size: "lg"
|
|
35
27
|
});
|
|
36
28
|
|
|
37
29
|
it('renders the UncheckIcon with prop size=l', function () {
|
|
38
|
-
expect((0, _enzyme.mount)(
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
var _ref5 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
42
|
-
size: "xl"
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
it('renders the UncheckIcon with prop size=xl', function () {
|
|
46
|
-
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
30
|
+
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
47
31
|
});
|
|
48
32
|
|
|
49
|
-
var
|
|
33
|
+
var _ref4 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
50
34
|
variant: "dark"
|
|
51
35
|
});
|
|
52
36
|
|
|
53
37
|
it('renders the UncheckIcon with prop variant=dark', function () {
|
|
54
|
-
expect((0, _enzyme.mount)(
|
|
38
|
+
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
55
39
|
});
|
|
56
40
|
|
|
57
|
-
var
|
|
41
|
+
var _ref5 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
58
42
|
variant: "light"
|
|
59
43
|
});
|
|
60
44
|
|
|
61
45
|
it('renders the UncheckIcon with prop variant=light', function () {
|
|
62
|
-
expect((0, _enzyme.mount)(
|
|
46
|
+
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
63
47
|
});
|
|
64
48
|
|
|
65
|
-
var
|
|
49
|
+
var _ref6 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
66
50
|
variant: "gray"
|
|
67
51
|
});
|
|
68
52
|
|
|
69
53
|
it('renders the UncheckIcon with prop variant=gray', function () {
|
|
70
|
-
expect((0, _enzyme.mount)(
|
|
54
|
+
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
71
55
|
});
|
|
72
56
|
|
|
73
|
-
var
|
|
57
|
+
var _ref7 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
74
58
|
variant: "primary"
|
|
75
59
|
});
|
|
76
60
|
|
|
77
61
|
it('renders the UncheckIcon with prop variant=primary', function () {
|
|
78
|
-
expect((0, _enzyme.mount)(
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
var _ref10 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
82
|
-
variant: "success"
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
it('renders the UncheckIcon with prop variant=success', function () {
|
|
86
|
-
expect((0, _enzyme.mount)(_ref10)).toMatchSnapshot();
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
var _ref11 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
90
|
-
variant: "warning"
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
it('renders the UncheckIcon with prop variant=warning', function () {
|
|
94
|
-
expect((0, _enzyme.mount)(_ref11)).toMatchSnapshot();
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
var _ref12 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
98
|
-
variant: "error"
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
it('renders the UncheckIcon with prop variant=error', function () {
|
|
102
|
-
expect((0, _enzyme.mount)(_ref12)).toMatchSnapshot();
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
var _ref13 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
106
|
-
variant: "focus"
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
it('renders the UncheckIcon with prop variant=focus', function () {
|
|
110
|
-
expect((0, _enzyme.mount)(_ref13)).toMatchSnapshot();
|
|
62
|
+
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
111
63
|
});
|
|
112
64
|
|
|
113
|
-
var
|
|
65
|
+
var _ref8 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
114
66
|
variant: "warning",
|
|
115
67
|
size: "sm"
|
|
116
68
|
});
|
|
117
69
|
|
|
118
70
|
it('renders the UncheckIcon with prop variant=warning and size=s', function () {
|
|
119
|
-
expect((0, _enzyme.mount)(
|
|
71
|
+
expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
|
|
120
72
|
});
|
|
121
73
|
|
|
122
|
-
var
|
|
74
|
+
var _ref9 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
123
75
|
variant: "warning",
|
|
124
76
|
size: "xl"
|
|
125
77
|
});
|
|
126
78
|
|
|
127
79
|
it('renders the UncheckIcon with prop variant=error and size= xl', function () {
|
|
128
|
-
expect((0, _enzyme.mount)(
|
|
80
|
+
expect((0, _enzyme.mount)(_ref9)).toMatchSnapshot();
|
|
129
81
|
});
|