@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/esm/UncheckIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-
|
|
3
|
+
import Icon from '@digigov/react-icons/Icon';
|
|
4
4
|
export var UncheckIcon = function UncheckIcon(props) {
|
|
5
5
|
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
6
|
icon: "uncheck"
|
|
@@ -9,115 +9,67 @@ it('renders the UncheckIcon with no props', function () {
|
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
var _ref2 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
12
|
-
size: "sm"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the UncheckIcon with prop size=s', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
20
12
|
size: "md"
|
|
21
13
|
});
|
|
22
14
|
|
|
23
15
|
it('renders the UncheckIcon with prop size=m', function () {
|
|
24
|
-
expect(mount(
|
|
16
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
25
17
|
});
|
|
26
18
|
|
|
27
|
-
var
|
|
19
|
+
var _ref3 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
28
20
|
size: "lg"
|
|
29
21
|
});
|
|
30
22
|
|
|
31
23
|
it('renders the UncheckIcon with prop size=l', function () {
|
|
32
|
-
expect(mount(
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
var _ref5 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
36
|
-
size: "xl"
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it('renders the UncheckIcon with prop size=xl', function () {
|
|
40
|
-
expect(mount(_ref5)).toMatchSnapshot();
|
|
24
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
41
25
|
});
|
|
42
26
|
|
|
43
|
-
var
|
|
27
|
+
var _ref4 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
44
28
|
variant: "dark"
|
|
45
29
|
});
|
|
46
30
|
|
|
47
31
|
it('renders the UncheckIcon with prop variant=dark', function () {
|
|
48
|
-
expect(mount(
|
|
32
|
+
expect(mount(_ref4)).toMatchSnapshot();
|
|
49
33
|
});
|
|
50
34
|
|
|
51
|
-
var
|
|
35
|
+
var _ref5 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
52
36
|
variant: "light"
|
|
53
37
|
});
|
|
54
38
|
|
|
55
39
|
it('renders the UncheckIcon with prop variant=light', function () {
|
|
56
|
-
expect(mount(
|
|
40
|
+
expect(mount(_ref5)).toMatchSnapshot();
|
|
57
41
|
});
|
|
58
42
|
|
|
59
|
-
var
|
|
43
|
+
var _ref6 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
60
44
|
variant: "gray"
|
|
61
45
|
});
|
|
62
46
|
|
|
63
47
|
it('renders the UncheckIcon with prop variant=gray', function () {
|
|
64
|
-
expect(mount(
|
|
48
|
+
expect(mount(_ref6)).toMatchSnapshot();
|
|
65
49
|
});
|
|
66
50
|
|
|
67
|
-
var
|
|
51
|
+
var _ref7 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
68
52
|
variant: "primary"
|
|
69
53
|
});
|
|
70
54
|
|
|
71
55
|
it('renders the UncheckIcon with prop variant=primary', function () {
|
|
72
|
-
expect(mount(
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
var _ref10 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
76
|
-
variant: "success"
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
it('renders the UncheckIcon with prop variant=success', function () {
|
|
80
|
-
expect(mount(_ref10)).toMatchSnapshot();
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
var _ref11 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
84
|
-
variant: "warning"
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
it('renders the UncheckIcon with prop variant=warning', function () {
|
|
88
|
-
expect(mount(_ref11)).toMatchSnapshot();
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
var _ref12 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
92
|
-
variant: "error"
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
it('renders the UncheckIcon with prop variant=error', function () {
|
|
96
|
-
expect(mount(_ref12)).toMatchSnapshot();
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
var _ref13 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
100
|
-
variant: "focus"
|
|
101
|
-
});
|
|
102
|
-
|
|
103
|
-
it('renders the UncheckIcon with prop variant=focus', function () {
|
|
104
|
-
expect(mount(_ref13)).toMatchSnapshot();
|
|
56
|
+
expect(mount(_ref7)).toMatchSnapshot();
|
|
105
57
|
});
|
|
106
58
|
|
|
107
|
-
var
|
|
59
|
+
var _ref8 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
108
60
|
variant: "warning",
|
|
109
61
|
size: "sm"
|
|
110
62
|
});
|
|
111
63
|
|
|
112
64
|
it('renders the UncheckIcon with prop variant=warning and size=s', function () {
|
|
113
|
-
expect(mount(
|
|
65
|
+
expect(mount(_ref8)).toMatchSnapshot();
|
|
114
66
|
});
|
|
115
67
|
|
|
116
|
-
var
|
|
68
|
+
var _ref9 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
117
69
|
variant: "warning",
|
|
118
70
|
size: "xl"
|
|
119
71
|
});
|
|
120
72
|
|
|
121
73
|
it('renders the UncheckIcon with prop variant=error and size= xl', function () {
|
|
122
|
-
expect(mount(
|
|
74
|
+
expect(mount(_ref9)).toMatchSnapshot();
|
|
123
75
|
});
|
package/esm/registry.js
CHANGED
|
@@ -5,6 +5,7 @@ import * as _digigov_react_icons_CaretIcon from '@digigov/react-icons/CaretIcon'
|
|
|
5
5
|
import * as _digigov_react_icons_CheckIcon from '@digigov/react-icons/CheckIcon';
|
|
6
6
|
import * as _digigov_react_icons_CloseIcon from '@digigov/react-icons/CloseIcon';
|
|
7
7
|
import * as _digigov_react_icons_GlobeIcon from '@digigov/react-icons/GlobeIcon';
|
|
8
|
+
import * as _digigov_react_icons_Icon from '@digigov/react-icons/Icon';
|
|
8
9
|
import * as _digigov_react_icons_icons from '@digigov/react-icons/icons';
|
|
9
10
|
import * as _digigov_react_icons from '@digigov/react-icons';
|
|
10
11
|
import * as _digigov_react_icons_MoreVertIcon from '@digigov/react-icons/MoreVertIcon';
|
|
@@ -34,6 +35,7 @@ export default {
|
|
|
34
35
|
'@digigov/react-icons/CheckIcon': lazyImport(_digigov_react_icons_CheckIcon),
|
|
35
36
|
'@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
|
|
36
37
|
'@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
|
|
38
|
+
'@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
|
|
37
39
|
'@digigov/react-icons/icons': lazyImport(_digigov_react_icons_icons),
|
|
38
40
|
'@digigov/react-icons': lazyImport(_digigov_react_icons),
|
|
39
41
|
'@digigov/react-icons/MoreVertIcon': lazyImport(_digigov_react_icons_MoreVertIcon),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/react-icons",
|
|
3
|
-
"version": "1.0.0-rc",
|
|
3
|
+
"version": "1.0.0-rc.1",
|
|
4
4
|
"description": "@digigov react icons",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@digigov/css": "1.0.0-rc",
|
|
15
|
-
"@digigov/react-core": "1.0.0-rc",
|
|
14
|
+
"@digigov/css": "1.0.0-rc.1",
|
|
16
15
|
"clsx": "1.1.1",
|
|
17
16
|
"react": "^16.8.0 || ^17.0.0",
|
|
18
17
|
"react-dom": "^16.8.0 || ^17.0.0"
|
package/registry.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare var _default: {
|
|
|
6
6
|
'@digigov/react-icons/CheckIcon': {};
|
|
7
7
|
'@digigov/react-icons/CloseIcon': {};
|
|
8
8
|
'@digigov/react-icons/GlobeIcon': {};
|
|
9
|
+
'@digigov/react-icons/Icon': {};
|
|
9
10
|
'@digigov/react-icons/icons': {};
|
|
10
11
|
'@digigov/react-icons': {};
|
|
11
12
|
'@digigov/react-icons/MoreVertIcon': {};
|
package/registry.js
CHANGED
|
@@ -21,6 +21,8 @@ var _digigov_react_icons_CloseIcon = _interopRequireWildcard(require("@digigov/r
|
|
|
21
21
|
|
|
22
22
|
var _digigov_react_icons_GlobeIcon = _interopRequireWildcard(require("@digigov/react-icons/GlobeIcon"));
|
|
23
23
|
|
|
24
|
+
var _digigov_react_icons_Icon = _interopRequireWildcard(require("@digigov/react-icons/Icon"));
|
|
25
|
+
|
|
24
26
|
var _digigov_react_icons_icons = _interopRequireWildcard(require("@digigov/react-icons/icons"));
|
|
25
27
|
|
|
26
28
|
var _digigov_react_icons = _interopRequireWildcard(require("@digigov/react-icons"));
|
|
@@ -58,6 +60,7 @@ var _default = {
|
|
|
58
60
|
'@digigov/react-icons/CheckIcon': lazyImport(_digigov_react_icons_CheckIcon),
|
|
59
61
|
'@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
|
|
60
62
|
'@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
|
|
63
|
+
'@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
|
|
61
64
|
'@digigov/react-icons/icons': lazyImport(_digigov_react_icons_icons),
|
|
62
65
|
'@digigov/react-icons': lazyImport(_digigov_react_icons),
|
|
63
66
|
'@digigov/react-icons/MoreVertIcon': lazyImport(_digigov_react_icons_MoreVertIcon),
|