@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
|
@@ -6,18 +6,18 @@ exports[`renders the UncheckIcon with no props 1`] = `
|
|
|
6
6
|
icon="uncheck"
|
|
7
7
|
>
|
|
8
8
|
<ForwardRef(SvgIcon)
|
|
9
|
-
className="
|
|
9
|
+
className="ds-svg-icon--uncheck"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(Base)
|
|
12
12
|
aria-hidden="true"
|
|
13
13
|
as="svg"
|
|
14
|
-
className="
|
|
14
|
+
className="ds-svg-icon--uncheck 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--uncheck ds-svg-icon"
|
|
21
21
|
focusable="false"
|
|
22
22
|
viewBox="0 0 24 24"
|
|
23
23
|
>
|
|
@@ -42,19 +42,19 @@ exports[`renders the UncheckIcon with prop size=l 1`] = `
|
|
|
42
42
|
size="lg"
|
|
43
43
|
>
|
|
44
44
|
<ForwardRef(SvgIcon)
|
|
45
|
-
className="
|
|
45
|
+
className="ds-svg-icon--uncheck"
|
|
46
46
|
size="lg"
|
|
47
47
|
>
|
|
48
48
|
<ForwardRef(Base)
|
|
49
49
|
aria-hidden="true"
|
|
50
50
|
as="svg"
|
|
51
|
-
className="
|
|
51
|
+
className="ds-svg-icon--uncheck ds-svg-icon--lg 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--uncheck ds-svg-icon--lg ds-svg-icon"
|
|
58
58
|
focusable="false"
|
|
59
59
|
viewBox="0 0 24 24"
|
|
60
60
|
>
|
|
@@ -79,19 +79,19 @@ exports[`renders the UncheckIcon with prop size=m 1`] = `
|
|
|
79
79
|
size="md"
|
|
80
80
|
>
|
|
81
81
|
<ForwardRef(SvgIcon)
|
|
82
|
-
className="
|
|
82
|
+
className="ds-svg-icon--uncheck"
|
|
83
83
|
size="md"
|
|
84
84
|
>
|
|
85
85
|
<ForwardRef(Base)
|
|
86
86
|
aria-hidden="true"
|
|
87
87
|
as="svg"
|
|
88
|
-
className="
|
|
88
|
+
className="ds-svg-icon--uncheck ds-svg-icon--md 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--uncheck ds-svg-icon--md ds-svg-icon"
|
|
95
95
|
focusable="false"
|
|
96
96
|
viewBox="0 0 24 24"
|
|
97
97
|
>
|
|
@@ -116,19 +116,19 @@ exports[`renders the UncheckIcon with prop variant=dark 1`] = `
|
|
|
116
116
|
variant="dark"
|
|
117
117
|
>
|
|
118
118
|
<ForwardRef(SvgIcon)
|
|
119
|
-
className="
|
|
119
|
+
className="ds-svg-icon--uncheck"
|
|
120
120
|
variant="dark"
|
|
121
121
|
>
|
|
122
122
|
<ForwardRef(Base)
|
|
123
123
|
aria-hidden="true"
|
|
124
124
|
as="svg"
|
|
125
|
-
className="
|
|
125
|
+
className="ds-svg-icon--uncheck ds-svg-icon--dark ds-svg-icon"
|
|
126
126
|
focusable="false"
|
|
127
127
|
viewBox="0 0 24 24"
|
|
128
128
|
>
|
|
129
129
|
<svg
|
|
130
130
|
aria-hidden="true"
|
|
131
|
-
className="
|
|
131
|
+
className="ds-svg-icon--uncheck ds-svg-icon--dark ds-svg-icon"
|
|
132
132
|
focusable="false"
|
|
133
133
|
viewBox="0 0 24 24"
|
|
134
134
|
>
|
|
@@ -155,20 +155,20 @@ exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
|
|
|
155
155
|
variant="warning"
|
|
156
156
|
>
|
|
157
157
|
<ForwardRef(SvgIcon)
|
|
158
|
-
className="
|
|
158
|
+
className="ds-svg-icon--uncheck"
|
|
159
159
|
size="xl"
|
|
160
160
|
variant="warning"
|
|
161
161
|
>
|
|
162
162
|
<ForwardRef(Base)
|
|
163
163
|
aria-hidden="true"
|
|
164
164
|
as="svg"
|
|
165
|
-
className="
|
|
165
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--xl 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--uncheck ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
172
172
|
focusable="false"
|
|
173
173
|
viewBox="0 0 24 24"
|
|
174
174
|
>
|
|
@@ -193,19 +193,19 @@ exports[`renders the UncheckIcon with prop variant=gray 1`] = `
|
|
|
193
193
|
variant="gray"
|
|
194
194
|
>
|
|
195
195
|
<ForwardRef(SvgIcon)
|
|
196
|
-
className="
|
|
196
|
+
className="ds-svg-icon--uncheck"
|
|
197
197
|
variant="gray"
|
|
198
198
|
>
|
|
199
199
|
<ForwardRef(Base)
|
|
200
200
|
aria-hidden="true"
|
|
201
201
|
as="svg"
|
|
202
|
-
className="
|
|
202
|
+
className="ds-svg-icon--uncheck ds-svg-icon--gray 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--uncheck ds-svg-icon--gray ds-svg-icon"
|
|
209
209
|
focusable="false"
|
|
210
210
|
viewBox="0 0 24 24"
|
|
211
211
|
>
|
|
@@ -230,19 +230,19 @@ exports[`renders the UncheckIcon with prop variant=light 1`] = `
|
|
|
230
230
|
variant="light"
|
|
231
231
|
>
|
|
232
232
|
<ForwardRef(SvgIcon)
|
|
233
|
-
className="
|
|
233
|
+
className="ds-svg-icon--uncheck"
|
|
234
234
|
variant="light"
|
|
235
235
|
>
|
|
236
236
|
<ForwardRef(Base)
|
|
237
237
|
aria-hidden="true"
|
|
238
238
|
as="svg"
|
|
239
|
-
className="
|
|
239
|
+
className="ds-svg-icon--uncheck ds-svg-icon--light 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--uncheck ds-svg-icon--light ds-svg-icon"
|
|
246
246
|
focusable="false"
|
|
247
247
|
viewBox="0 0 24 24"
|
|
248
248
|
>
|
|
@@ -267,19 +267,19 @@ exports[`renders the UncheckIcon with prop variant=primary 1`] = `
|
|
|
267
267
|
variant="primary"
|
|
268
268
|
>
|
|
269
269
|
<ForwardRef(SvgIcon)
|
|
270
|
-
className="
|
|
270
|
+
className="ds-svg-icon--uncheck"
|
|
271
271
|
variant="primary"
|
|
272
272
|
>
|
|
273
273
|
<ForwardRef(Base)
|
|
274
274
|
aria-hidden="true"
|
|
275
275
|
as="svg"
|
|
276
|
-
className="
|
|
276
|
+
className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
|
|
277
277
|
focusable="false"
|
|
278
278
|
viewBox="0 0 24 24"
|
|
279
279
|
>
|
|
280
280
|
<svg
|
|
281
281
|
aria-hidden="true"
|
|
282
|
-
className="
|
|
282
|
+
className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
|
|
283
283
|
focusable="false"
|
|
284
284
|
viewBox="0 0 24 24"
|
|
285
285
|
>
|
|
@@ -306,20 +306,20 @@ exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
|
|
|
306
306
|
variant="warning"
|
|
307
307
|
>
|
|
308
308
|
<ForwardRef(SvgIcon)
|
|
309
|
-
className="
|
|
309
|
+
className="ds-svg-icon--uncheck"
|
|
310
310
|
size="sm"
|
|
311
311
|
variant="warning"
|
|
312
312
|
>
|
|
313
313
|
<ForwardRef(Base)
|
|
314
314
|
aria-hidden="true"
|
|
315
315
|
as="svg"
|
|
316
|
-
className="
|
|
316
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
317
317
|
focusable="false"
|
|
318
318
|
viewBox="0 0 24 24"
|
|
319
319
|
>
|
|
320
320
|
<svg
|
|
321
321
|
aria-hidden="true"
|
|
322
|
-
className="
|
|
322
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
323
323
|
focusable="false"
|
|
324
324
|
viewBox="0 0 24 24"
|
|
325
325
|
>
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2["default"])(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports["default"] = {
|
|
13
|
+
'AccessibilityIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
14
|
+
return Promise.resolve().then(function () {
|
|
15
|
+
return _interopRequireWildcard(require('@digigov/react-icons/AccessibilityIcon'));
|
|
16
|
+
}).then(function (module) {
|
|
17
|
+
return {
|
|
18
|
+
"default": module['AccessibilityIcon']
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
}),
|
|
22
|
+
'ArrowIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
23
|
+
return Promise.resolve().then(function () {
|
|
24
|
+
return _interopRequireWildcard(require('@digigov/react-icons/ArrowIcon'));
|
|
25
|
+
}).then(function (module) {
|
|
26
|
+
return {
|
|
27
|
+
"default": module['ArrowIcon']
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
}),
|
|
31
|
+
'BurgerIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
32
|
+
return Promise.resolve().then(function () {
|
|
33
|
+
return _interopRequireWildcard(require('@digigov/react-icons/BurgerIcon'));
|
|
34
|
+
}).then(function (module) {
|
|
35
|
+
return {
|
|
36
|
+
"default": module['BurgerIcon']
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
}),
|
|
40
|
+
'CaretIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
41
|
+
return Promise.resolve().then(function () {
|
|
42
|
+
return _interopRequireWildcard(require('@digigov/react-icons/CaretIcon'));
|
|
43
|
+
}).then(function (module) {
|
|
44
|
+
return {
|
|
45
|
+
"default": module['CaretIcon']
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
}),
|
|
49
|
+
'CheckIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
50
|
+
return Promise.resolve().then(function () {
|
|
51
|
+
return _interopRequireWildcard(require('@digigov/react-icons/CheckIcon'));
|
|
52
|
+
}).then(function (module) {
|
|
53
|
+
return {
|
|
54
|
+
"default": module['CheckIcon']
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
}),
|
|
58
|
+
'ChevronIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
59
|
+
return Promise.resolve().then(function () {
|
|
60
|
+
return _interopRequireWildcard(require('@digigov/react-icons/ChevronIcon'));
|
|
61
|
+
}).then(function (module) {
|
|
62
|
+
return {
|
|
63
|
+
"default": module['ChevronIcon']
|
|
64
|
+
};
|
|
65
|
+
});
|
|
66
|
+
}),
|
|
67
|
+
'CloseIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
68
|
+
return Promise.resolve().then(function () {
|
|
69
|
+
return _interopRequireWildcard(require('@digigov/react-icons/CloseIcon'));
|
|
70
|
+
}).then(function (module) {
|
|
71
|
+
return {
|
|
72
|
+
"default": module['CloseIcon']
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
}),
|
|
76
|
+
'GlobeIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
77
|
+
return Promise.resolve().then(function () {
|
|
78
|
+
return _interopRequireWildcard(require('@digigov/react-icons/GlobeIcon'));
|
|
79
|
+
}).then(function (module) {
|
|
80
|
+
return {
|
|
81
|
+
"default": module['GlobeIcon']
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
}),
|
|
85
|
+
'Icon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
86
|
+
return Promise.resolve().then(function () {
|
|
87
|
+
return _interopRequireWildcard(require('@digigov/react-icons/Icon'));
|
|
88
|
+
}).then(function (module) {
|
|
89
|
+
return {
|
|
90
|
+
"default": module['Icon']
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
}),
|
|
94
|
+
'UncheckIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
95
|
+
return Promise.resolve().then(function () {
|
|
96
|
+
return _interopRequireWildcard(require('@digigov/react-icons/UncheckIcon'));
|
|
97
|
+
}).then(function (module) {
|
|
98
|
+
return {
|
|
99
|
+
"default": module['UncheckIcon']
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
}),
|
|
103
|
+
'MoreVertIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
104
|
+
return Promise.resolve().then(function () {
|
|
105
|
+
return _interopRequireWildcard(require('@digigov/react-icons/MoreVertIcon'));
|
|
106
|
+
}).then(function (module) {
|
|
107
|
+
return {
|
|
108
|
+
"default": module['MoreVertIcon']
|
|
109
|
+
};
|
|
110
|
+
});
|
|
111
|
+
}),
|
|
112
|
+
'SearchIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
113
|
+
return Promise.resolve().then(function () {
|
|
114
|
+
return _interopRequireWildcard(require('@digigov/react-icons/SearchIcon'));
|
|
115
|
+
}).then(function (module) {
|
|
116
|
+
return {
|
|
117
|
+
"default": module['SearchIcon']
|
|
118
|
+
};
|
|
119
|
+
});
|
|
120
|
+
})
|
|
121
|
+
};
|
package/index.js
CHANGED
package/lazy/index.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { lazy } from 'react';
|
|
2
|
+
export default {
|
|
3
|
+
'AccessibilityIcon': /*#__PURE__*/lazy(function () {
|
|
4
|
+
return import('@digigov/react-icons/AccessibilityIcon').then(function (module) {
|
|
5
|
+
return {
|
|
6
|
+
"default": module['AccessibilityIcon']
|
|
7
|
+
};
|
|
8
|
+
});
|
|
9
|
+
}),
|
|
10
|
+
'ArrowIcon': /*#__PURE__*/lazy(function () {
|
|
11
|
+
return import('@digigov/react-icons/ArrowIcon').then(function (module) {
|
|
12
|
+
return {
|
|
13
|
+
"default": module['ArrowIcon']
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
}),
|
|
17
|
+
'BurgerIcon': /*#__PURE__*/lazy(function () {
|
|
18
|
+
return import('@digigov/react-icons/BurgerIcon').then(function (module) {
|
|
19
|
+
return {
|
|
20
|
+
"default": module['BurgerIcon']
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
}),
|
|
24
|
+
'CaretIcon': /*#__PURE__*/lazy(function () {
|
|
25
|
+
return import('@digigov/react-icons/CaretIcon').then(function (module) {
|
|
26
|
+
return {
|
|
27
|
+
"default": module['CaretIcon']
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
}),
|
|
31
|
+
'CheckIcon': /*#__PURE__*/lazy(function () {
|
|
32
|
+
return import('@digigov/react-icons/CheckIcon').then(function (module) {
|
|
33
|
+
return {
|
|
34
|
+
"default": module['CheckIcon']
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
}),
|
|
38
|
+
'ChevronIcon': /*#__PURE__*/lazy(function () {
|
|
39
|
+
return import('@digigov/react-icons/ChevronIcon').then(function (module) {
|
|
40
|
+
return {
|
|
41
|
+
"default": module['ChevronIcon']
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
}),
|
|
45
|
+
'CloseIcon': /*#__PURE__*/lazy(function () {
|
|
46
|
+
return import('@digigov/react-icons/CloseIcon').then(function (module) {
|
|
47
|
+
return {
|
|
48
|
+
"default": module['CloseIcon']
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
}),
|
|
52
|
+
'GlobeIcon': /*#__PURE__*/lazy(function () {
|
|
53
|
+
return import('@digigov/react-icons/GlobeIcon').then(function (module) {
|
|
54
|
+
return {
|
|
55
|
+
"default": module['GlobeIcon']
|
|
56
|
+
};
|
|
57
|
+
});
|
|
58
|
+
}),
|
|
59
|
+
'Icon': /*#__PURE__*/lazy(function () {
|
|
60
|
+
return import('@digigov/react-icons/Icon').then(function (module) {
|
|
61
|
+
return {
|
|
62
|
+
"default": module['Icon']
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
}),
|
|
66
|
+
'UncheckIcon': /*#__PURE__*/lazy(function () {
|
|
67
|
+
return import('@digigov/react-icons/UncheckIcon').then(function (module) {
|
|
68
|
+
return {
|
|
69
|
+
"default": module['UncheckIcon']
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
}),
|
|
73
|
+
'MoreVertIcon': /*#__PURE__*/lazy(function () {
|
|
74
|
+
return import('@digigov/react-icons/MoreVertIcon').then(function (module) {
|
|
75
|
+
return {
|
|
76
|
+
"default": module['MoreVertIcon']
|
|
77
|
+
};
|
|
78
|
+
});
|
|
79
|
+
}),
|
|
80
|
+
'SearchIcon': /*#__PURE__*/lazy(function () {
|
|
81
|
+
return import('@digigov/react-icons/SearchIcon').then(function (module) {
|
|
82
|
+
return {
|
|
83
|
+
"default": module['SearchIcon']
|
|
84
|
+
};
|
|
85
|
+
});
|
|
86
|
+
})
|
|
87
|
+
};
|
package/lazy.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let AccessibilityIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"accessibility">>>;
|
|
3
|
+
let ArrowIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"arrow">>>;
|
|
4
|
+
let BurgerIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"burger">>>;
|
|
5
|
+
let CaretIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"caret">>>;
|
|
6
|
+
let CheckIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"check">>>;
|
|
7
|
+
let ChevronIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"chevron">>>;
|
|
8
|
+
let CloseIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"close">>>;
|
|
9
|
+
let GlobeIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"globe">>>;
|
|
10
|
+
let Icon: import("react").LazyExoticComponent<(<C extends keyof import("./icons").IconTypes>(props: import("@digigov/react-icons/Icon").IconProps<C>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null)>;
|
|
11
|
+
let UncheckIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"uncheck">>>;
|
|
12
|
+
let MoreVertIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"moreVert">>>;
|
|
13
|
+
let SearchIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"search">>>;
|
|
14
|
+
}
|
|
15
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/react-icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-01ea6f24",
|
|
4
4
|
"description": "@digigov react icons",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
7
7
|
"main": "./cjs/index.js",
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@digigov/css": "1.
|
|
10
|
+
"@digigov/css": "1.3.0-01ea6f24",
|
|
11
11
|
"clsx": "1.1.1",
|
|
12
12
|
"react": "^16.8.0 || ^17.0.0",
|
|
13
13
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
@@ -6,18 +6,18 @@ exports[`renders the AccessibilityIcon with no props 1`] = `
|
|
|
6
6
|
icon="accessibility"
|
|
7
7
|
>
|
|
8
8
|
<ForwardRef(SvgIcon)
|
|
9
|
-
className="
|
|
9
|
+
className="ds-svg-icon--accessibility"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(Base)
|
|
12
12
|
aria-hidden="true"
|
|
13
13
|
as="svg"
|
|
14
|
-
className="
|
|
14
|
+
className="ds-svg-icon--accessibility 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--accessibility ds-svg-icon"
|
|
21
21
|
focusable="false"
|
|
22
22
|
viewBox="0 0 24 24"
|
|
23
23
|
>
|
|
@@ -50,19 +50,19 @@ exports[`renders the AccessibilityIcon with prop size=l 1`] = `
|
|
|
50
50
|
size="lg"
|
|
51
51
|
>
|
|
52
52
|
<ForwardRef(SvgIcon)
|
|
53
|
-
className="
|
|
53
|
+
className="ds-svg-icon--accessibility"
|
|
54
54
|
size="lg"
|
|
55
55
|
>
|
|
56
56
|
<ForwardRef(Base)
|
|
57
57
|
aria-hidden="true"
|
|
58
58
|
as="svg"
|
|
59
|
-
className="
|
|
59
|
+
className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
|
|
60
60
|
focusable="false"
|
|
61
61
|
viewBox="0 0 24 24"
|
|
62
62
|
>
|
|
63
63
|
<svg
|
|
64
64
|
aria-hidden="true"
|
|
65
|
-
className="
|
|
65
|
+
className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
|
|
66
66
|
focusable="false"
|
|
67
67
|
viewBox="0 0 24 24"
|
|
68
68
|
>
|
|
@@ -95,19 +95,19 @@ exports[`renders the AccessibilityIcon with prop size=s 1`] = `
|
|
|
95
95
|
size="sm"
|
|
96
96
|
>
|
|
97
97
|
<ForwardRef(SvgIcon)
|
|
98
|
-
className="
|
|
98
|
+
className="ds-svg-icon--accessibility"
|
|
99
99
|
size="sm"
|
|
100
100
|
>
|
|
101
101
|
<ForwardRef(Base)
|
|
102
102
|
aria-hidden="true"
|
|
103
103
|
as="svg"
|
|
104
|
-
className="
|
|
104
|
+
className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
|
|
105
105
|
focusable="false"
|
|
106
106
|
viewBox="0 0 24 24"
|
|
107
107
|
>
|
|
108
108
|
<svg
|
|
109
109
|
aria-hidden="true"
|
|
110
|
-
className="
|
|
110
|
+
className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
|
|
111
111
|
focusable="false"
|
|
112
112
|
viewBox="0 0 24 24"
|
|
113
113
|
>
|
|
@@ -140,19 +140,19 @@ exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
|
|
|
140
140
|
variant="dark"
|
|
141
141
|
>
|
|
142
142
|
<ForwardRef(SvgIcon)
|
|
143
|
-
className="
|
|
143
|
+
className="ds-svg-icon--accessibility"
|
|
144
144
|
variant="dark"
|
|
145
145
|
>
|
|
146
146
|
<ForwardRef(Base)
|
|
147
147
|
aria-hidden="true"
|
|
148
148
|
as="svg"
|
|
149
|
-
className="
|
|
149
|
+
className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
|
|
150
150
|
focusable="false"
|
|
151
151
|
viewBox="0 0 24 24"
|
|
152
152
|
>
|
|
153
153
|
<svg
|
|
154
154
|
aria-hidden="true"
|
|
155
|
-
className="
|
|
155
|
+
className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
|
|
156
156
|
focusable="false"
|
|
157
157
|
viewBox="0 0 24 24"
|
|
158
158
|
>
|
|
@@ -185,19 +185,19 @@ exports[`renders the AccessibilityIcon with prop variant=error 1`] = `
|
|
|
185
185
|
variant="error"
|
|
186
186
|
>
|
|
187
187
|
<ForwardRef(SvgIcon)
|
|
188
|
-
className="
|
|
188
|
+
className="ds-svg-icon--accessibility"
|
|
189
189
|
variant="error"
|
|
190
190
|
>
|
|
191
191
|
<ForwardRef(Base)
|
|
192
192
|
aria-hidden="true"
|
|
193
193
|
as="svg"
|
|
194
|
-
className="
|
|
194
|
+
className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
|
|
195
195
|
focusable="false"
|
|
196
196
|
viewBox="0 0 24 24"
|
|
197
197
|
>
|
|
198
198
|
<svg
|
|
199
199
|
aria-hidden="true"
|
|
200
|
-
className="
|
|
200
|
+
className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
|
|
201
201
|
focusable="false"
|
|
202
202
|
viewBox="0 0 24 24"
|
|
203
203
|
>
|
|
@@ -232,20 +232,20 @@ exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`]
|
|
|
232
232
|
variant="warning"
|
|
233
233
|
>
|
|
234
234
|
<ForwardRef(SvgIcon)
|
|
235
|
-
className="
|
|
235
|
+
className="ds-svg-icon--accessibility"
|
|
236
236
|
size="xl"
|
|
237
237
|
variant="warning"
|
|
238
238
|
>
|
|
239
239
|
<ForwardRef(Base)
|
|
240
240
|
aria-hidden="true"
|
|
241
241
|
as="svg"
|
|
242
|
-
className="
|
|
242
|
+
className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
243
243
|
focusable="false"
|
|
244
244
|
viewBox="0 0 24 24"
|
|
245
245
|
>
|
|
246
246
|
<svg
|
|
247
247
|
aria-hidden="true"
|
|
248
|
-
className="
|
|
248
|
+
className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
249
249
|
focusable="false"
|
|
250
250
|
viewBox="0 0 24 24"
|
|
251
251
|
>
|
|
@@ -278,19 +278,19 @@ exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
|
|
|
278
278
|
variant="primary"
|
|
279
279
|
>
|
|
280
280
|
<ForwardRef(SvgIcon)
|
|
281
|
-
className="
|
|
281
|
+
className="ds-svg-icon--accessibility"
|
|
282
282
|
variant="primary"
|
|
283
283
|
>
|
|
284
284
|
<ForwardRef(Base)
|
|
285
285
|
aria-hidden="true"
|
|
286
286
|
as="svg"
|
|
287
|
-
className="
|
|
287
|
+
className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
|
|
288
288
|
focusable="false"
|
|
289
289
|
viewBox="0 0 24 24"
|
|
290
290
|
>
|
|
291
291
|
<svg
|
|
292
292
|
aria-hidden="true"
|
|
293
|
-
className="
|
|
293
|
+
className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
|
|
294
294
|
focusable="false"
|
|
295
295
|
viewBox="0 0 24 24"
|
|
296
296
|
>
|
|
@@ -323,19 +323,19 @@ exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
|
|
|
323
323
|
variant="success"
|
|
324
324
|
>
|
|
325
325
|
<ForwardRef(SvgIcon)
|
|
326
|
-
className="
|
|
326
|
+
className="ds-svg-icon--accessibility"
|
|
327
327
|
variant="success"
|
|
328
328
|
>
|
|
329
329
|
<ForwardRef(Base)
|
|
330
330
|
aria-hidden="true"
|
|
331
331
|
as="svg"
|
|
332
|
-
className="
|
|
332
|
+
className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
|
|
333
333
|
focusable="false"
|
|
334
334
|
viewBox="0 0 24 24"
|
|
335
335
|
>
|
|
336
336
|
<svg
|
|
337
337
|
aria-hidden="true"
|
|
338
|
-
className="
|
|
338
|
+
className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
|
|
339
339
|
focusable="false"
|
|
340
340
|
viewBox="0 0 24 24"
|
|
341
341
|
>
|
|
@@ -370,20 +370,20 @@ exports[`renders the AccessibilityIcon with prop variant=warning and size=s 1`]
|
|
|
370
370
|
variant="warning"
|
|
371
371
|
>
|
|
372
372
|
<ForwardRef(SvgIcon)
|
|
373
|
-
className="
|
|
373
|
+
className="ds-svg-icon--accessibility"
|
|
374
374
|
size="sm"
|
|
375
375
|
variant="warning"
|
|
376
376
|
>
|
|
377
377
|
<ForwardRef(Base)
|
|
378
378
|
aria-hidden="true"
|
|
379
379
|
as="svg"
|
|
380
|
-
className="
|
|
380
|
+
className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
381
381
|
focusable="false"
|
|
382
382
|
viewBox="0 0 24 24"
|
|
383
383
|
>
|
|
384
384
|
<svg
|
|
385
385
|
aria-hidden="true"
|
|
386
|
-
className="
|
|
386
|
+
className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
387
387
|
focusable="false"
|
|
388
388
|
viewBox="0 0 24 24"
|
|
389
389
|
>
|