@digigov/react-icons 2.0.0-af1b5f33 → 2.0.0-b3ec0588
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 +51 -51
- package/AccessibilityIcon/index.test/index.js +12 -12
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/BurgerIcon/index.test/index.js +8 -8
- package/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/CancelIcon/index.test/index.js +8 -8
- package/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ChatIcon/index.test/index.js +8 -8
- package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/CheckIcon/index.test/index.js +10 -10
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/DownloadIcon/index.test/index.js +8 -8
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/ExclamationIcon/index.test/index.js +8 -8
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/GlobeIcon/index.test/index.js +6 -6
- package/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LockIcon/index.test/index.js +8 -8
- package/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LoginIcon/index.test/index.js +8 -8
- package/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/MinusIcon/index.test/index.js +8 -8
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/MoreVertIcon/index.test/index.js +12 -12
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PdfFileIcon/index.test/index.js +8 -8
- package/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PlusIcon/index.test/index.js +8 -8
- package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/PrintIcon/config/index.js +15 -0
- package/PrintIcon/config/package.json +6 -0
- package/PrintIcon/config.d.ts +8 -0
- package/PrintIcon/index.d.ts +4 -0
- package/PrintIcon/index.js +9 -0
- package/PrintIcon/index.test/index.js +45 -0
- package/PrintIcon/index.test/package.json +6 -0
- package/PrintIcon/index.test.d.ts +1 -0
- package/PrintIcon/package.json +6 -0
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ReplyIcon/index.test/index.js +8 -8
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/RestoreIcon/index.test/index.js +8 -8
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/UncheckIcon/index.test/index.js +12 -12
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/AccessibilityIcon/index.test/index.js +12 -12
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/cjs/BurgerIcon/index.test/index.js +8 -8
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/CancelIcon/index.test/index.js +8 -8
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ChatIcon/index.test/index.js +8 -8
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/cjs/CheckIcon/index.test/index.js +10 -10
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/DownloadIcon/index.test/index.js +8 -8
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/cjs/ExclamationIcon/index.test/index.js +8 -8
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/GlobeIcon/index.test/index.js +6 -6
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LockIcon/index.test/index.js +8 -8
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LoginIcon/index.test/index.js +8 -8
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/MinusIcon/index.test/index.js +8 -8
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/MoreVertIcon/index.test/index.js +12 -12
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PdfFileIcon/index.test/index.js +8 -8
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PlusIcon/index.test/index.js +8 -8
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/cjs/PrintIcon/config/index.js +23 -0
- package/cjs/PrintIcon/index.js +16 -0
- package/cjs/PrintIcon/index.test/index.js +48 -0
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ReplyIcon/index.test/index.js +8 -8
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/RestoreIcon/index.test/index.js +8 -8
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/cjs/UncheckIcon/index.test/index.js +12 -12
- package/cjs/icons/index.js +11 -0
- package/cjs/index.js +11 -0
- package/cjs/registry/index.js +5 -3
- package/icons/index.js +1 -0
- package/icons.d.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +3 -2
- package/package.json +3 -3
- package/registry/index.js +5 -3
- package/registry.d.ts +2 -1
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/AccessibilityIcon/index.test.tsx +12 -12
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/src/BurgerIcon/index.test.tsx +8 -8
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/CancelIcon/index.test.tsx +8 -8
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ChatIcon/index.test.tsx +8 -8
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/src/CheckIcon/index.test.tsx +10 -10
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/DownloadIcon/index.test.tsx +8 -8
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/src/ExclamationIcon/index.test.tsx +8 -8
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/GlobeIcon/index.test.tsx +6 -6
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LockIcon/index.test.tsx +8 -8
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LoginIcon/index.test.tsx +8 -8
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/MinusIcon/index.test.tsx +8 -8
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/MoreVertIcon/index.test.tsx +12 -12
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PdfFileIcon/index.test.tsx +8 -8
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PlusIcon/index.test.tsx +8 -8
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/src/PrintIcon/config.tsx +16 -0
- package/src/PrintIcon/index.test.tsx +26 -0
- package/src/PrintIcon/index.tsx +8 -0
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ReplyIcon/index.test.tsx +8 -8
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/RestoreIcon/index.test.tsx +8 -8
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/src/UncheckIcon/index.test.tsx +12 -12
- package/src/icons.ts +3 -0
- package/src/index.ts +1 -0
- package/src/registry.js +6 -4
|
@@ -33,28 +33,28 @@ exports[`renders the UncheckIcon with no props 1`] = `
|
|
|
33
33
|
</UncheckIcon>
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
|
-
exports[`renders the UncheckIcon with prop
|
|
36
|
+
exports[`renders the UncheckIcon with prop color=dark 1`] = `
|
|
37
37
|
<UncheckIcon
|
|
38
|
-
|
|
38
|
+
color="dark"
|
|
39
39
|
>
|
|
40
40
|
<ForwardRef(Icon)
|
|
41
|
+
color="dark"
|
|
41
42
|
icon="uncheck"
|
|
42
|
-
size="lg"
|
|
43
43
|
>
|
|
44
44
|
<ForwardRef(SvgIcon)
|
|
45
45
|
className="ds-svg-icon--uncheck"
|
|
46
|
-
|
|
46
|
+
color="dark"
|
|
47
47
|
>
|
|
48
48
|
<ForwardRef(Base)
|
|
49
49
|
aria-hidden="true"
|
|
50
50
|
as="svg"
|
|
51
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
51
|
+
className="ds-svg-icon--uncheck ds-svg-icon--dark 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="ds-svg-icon--uncheck ds-svg-icon--
|
|
57
|
+
className="ds-svg-icon--uncheck ds-svg-icon--dark ds-svg-icon"
|
|
58
58
|
focusable="false"
|
|
59
59
|
viewBox="0 0 24 24"
|
|
60
60
|
>
|
|
@@ -70,28 +70,31 @@ exports[`renders the UncheckIcon with prop size=l 1`] = `
|
|
|
70
70
|
</UncheckIcon>
|
|
71
71
|
`;
|
|
72
72
|
|
|
73
|
-
exports[`renders the UncheckIcon with prop size=
|
|
73
|
+
exports[`renders the UncheckIcon with prop color=error and size= xl 1`] = `
|
|
74
74
|
<UncheckIcon
|
|
75
|
-
|
|
75
|
+
color="warning"
|
|
76
|
+
size="xl"
|
|
76
77
|
>
|
|
77
78
|
<ForwardRef(Icon)
|
|
79
|
+
color="warning"
|
|
78
80
|
icon="uncheck"
|
|
79
|
-
size="
|
|
81
|
+
size="xl"
|
|
80
82
|
>
|
|
81
83
|
<ForwardRef(SvgIcon)
|
|
82
84
|
className="ds-svg-icon--uncheck"
|
|
83
|
-
|
|
85
|
+
color="warning"
|
|
86
|
+
size="xl"
|
|
84
87
|
>
|
|
85
88
|
<ForwardRef(Base)
|
|
86
89
|
aria-hidden="true"
|
|
87
90
|
as="svg"
|
|
88
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
89
92
|
focusable="false"
|
|
90
93
|
viewBox="0 0 24 24"
|
|
91
94
|
>
|
|
92
95
|
<svg
|
|
93
96
|
aria-hidden="true"
|
|
94
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
95
98
|
focusable="false"
|
|
96
99
|
viewBox="0 0 24 24"
|
|
97
100
|
>
|
|
@@ -107,28 +110,28 @@ exports[`renders the UncheckIcon with prop size=m 1`] = `
|
|
|
107
110
|
</UncheckIcon>
|
|
108
111
|
`;
|
|
109
112
|
|
|
110
|
-
exports[`renders the UncheckIcon with prop
|
|
113
|
+
exports[`renders the UncheckIcon with prop color=gray 1`] = `
|
|
111
114
|
<UncheckIcon
|
|
112
|
-
|
|
115
|
+
color="gray"
|
|
113
116
|
>
|
|
114
117
|
<ForwardRef(Icon)
|
|
118
|
+
color="gray"
|
|
115
119
|
icon="uncheck"
|
|
116
|
-
variant="dark"
|
|
117
120
|
>
|
|
118
121
|
<ForwardRef(SvgIcon)
|
|
119
122
|
className="ds-svg-icon--uncheck"
|
|
120
|
-
|
|
123
|
+
color="gray"
|
|
121
124
|
>
|
|
122
125
|
<ForwardRef(Base)
|
|
123
126
|
aria-hidden="true"
|
|
124
127
|
as="svg"
|
|
125
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
128
|
+
className="ds-svg-icon--uncheck ds-svg-icon--gray ds-svg-icon"
|
|
126
129
|
focusable="false"
|
|
127
130
|
viewBox="0 0 24 24"
|
|
128
131
|
>
|
|
129
132
|
<svg
|
|
130
133
|
aria-hidden="true"
|
|
131
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
134
|
+
className="ds-svg-icon--uncheck ds-svg-icon--gray ds-svg-icon"
|
|
132
135
|
focusable="false"
|
|
133
136
|
viewBox="0 0 24 24"
|
|
134
137
|
>
|
|
@@ -144,31 +147,28 @@ exports[`renders the UncheckIcon with prop variant=dark 1`] = `
|
|
|
144
147
|
</UncheckIcon>
|
|
145
148
|
`;
|
|
146
149
|
|
|
147
|
-
exports[`renders the UncheckIcon with prop
|
|
150
|
+
exports[`renders the UncheckIcon with prop color=light 1`] = `
|
|
148
151
|
<UncheckIcon
|
|
149
|
-
|
|
150
|
-
variant="warning"
|
|
152
|
+
color="light"
|
|
151
153
|
>
|
|
152
154
|
<ForwardRef(Icon)
|
|
155
|
+
color="light"
|
|
153
156
|
icon="uncheck"
|
|
154
|
-
size="xl"
|
|
155
|
-
variant="warning"
|
|
156
157
|
>
|
|
157
158
|
<ForwardRef(SvgIcon)
|
|
158
159
|
className="ds-svg-icon--uncheck"
|
|
159
|
-
|
|
160
|
-
variant="warning"
|
|
160
|
+
color="light"
|
|
161
161
|
>
|
|
162
162
|
<ForwardRef(Base)
|
|
163
163
|
aria-hidden="true"
|
|
164
164
|
as="svg"
|
|
165
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
165
|
+
className="ds-svg-icon--uncheck 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="ds-svg-icon--uncheck ds-svg-icon--
|
|
171
|
+
className="ds-svg-icon--uncheck ds-svg-icon--light ds-svg-icon"
|
|
172
172
|
focusable="false"
|
|
173
173
|
viewBox="0 0 24 24"
|
|
174
174
|
>
|
|
@@ -184,28 +184,28 @@ exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
|
|
|
184
184
|
</UncheckIcon>
|
|
185
185
|
`;
|
|
186
186
|
|
|
187
|
-
exports[`renders the UncheckIcon with prop
|
|
187
|
+
exports[`renders the UncheckIcon with prop color=primary 1`] = `
|
|
188
188
|
<UncheckIcon
|
|
189
|
-
|
|
189
|
+
color="primary"
|
|
190
190
|
>
|
|
191
191
|
<ForwardRef(Icon)
|
|
192
|
+
color="primary"
|
|
192
193
|
icon="uncheck"
|
|
193
|
-
variant="gray"
|
|
194
194
|
>
|
|
195
195
|
<ForwardRef(SvgIcon)
|
|
196
196
|
className="ds-svg-icon--uncheck"
|
|
197
|
-
|
|
197
|
+
color="primary"
|
|
198
198
|
>
|
|
199
199
|
<ForwardRef(Base)
|
|
200
200
|
aria-hidden="true"
|
|
201
201
|
as="svg"
|
|
202
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
202
|
+
className="ds-svg-icon--uncheck ds-svg-icon--primary 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="ds-svg-icon--uncheck ds-svg-icon--
|
|
208
|
+
className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
|
|
209
209
|
focusable="false"
|
|
210
210
|
viewBox="0 0 24 24"
|
|
211
211
|
>
|
|
@@ -221,28 +221,31 @@ exports[`renders the UncheckIcon with prop variant=gray 1`] = `
|
|
|
221
221
|
</UncheckIcon>
|
|
222
222
|
`;
|
|
223
223
|
|
|
224
|
-
exports[`renders the UncheckIcon with prop
|
|
224
|
+
exports[`renders the UncheckIcon with prop color=warning and size=s 1`] = `
|
|
225
225
|
<UncheckIcon
|
|
226
|
-
|
|
226
|
+
color="warning"
|
|
227
|
+
size="sm"
|
|
227
228
|
>
|
|
228
229
|
<ForwardRef(Icon)
|
|
230
|
+
color="warning"
|
|
229
231
|
icon="uncheck"
|
|
230
|
-
|
|
232
|
+
size="sm"
|
|
231
233
|
>
|
|
232
234
|
<ForwardRef(SvgIcon)
|
|
233
235
|
className="ds-svg-icon--uncheck"
|
|
234
|
-
|
|
236
|
+
color="warning"
|
|
237
|
+
size="sm"
|
|
235
238
|
>
|
|
236
239
|
<ForwardRef(Base)
|
|
237
240
|
aria-hidden="true"
|
|
238
241
|
as="svg"
|
|
239
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
242
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
240
243
|
focusable="false"
|
|
241
244
|
viewBox="0 0 24 24"
|
|
242
245
|
>
|
|
243
246
|
<svg
|
|
244
247
|
aria-hidden="true"
|
|
245
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
248
|
+
className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
246
249
|
focusable="false"
|
|
247
250
|
viewBox="0 0 24 24"
|
|
248
251
|
>
|
|
@@ -258,28 +261,28 @@ exports[`renders the UncheckIcon with prop variant=light 1`] = `
|
|
|
258
261
|
</UncheckIcon>
|
|
259
262
|
`;
|
|
260
263
|
|
|
261
|
-
exports[`renders the UncheckIcon with prop
|
|
264
|
+
exports[`renders the UncheckIcon with prop size=l 1`] = `
|
|
262
265
|
<UncheckIcon
|
|
263
|
-
|
|
266
|
+
size="lg"
|
|
264
267
|
>
|
|
265
268
|
<ForwardRef(Icon)
|
|
266
269
|
icon="uncheck"
|
|
267
|
-
|
|
270
|
+
size="lg"
|
|
268
271
|
>
|
|
269
272
|
<ForwardRef(SvgIcon)
|
|
270
273
|
className="ds-svg-icon--uncheck"
|
|
271
|
-
|
|
274
|
+
size="lg"
|
|
272
275
|
>
|
|
273
276
|
<ForwardRef(Base)
|
|
274
277
|
aria-hidden="true"
|
|
275
278
|
as="svg"
|
|
276
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
279
|
+
className="ds-svg-icon--uncheck ds-svg-icon--lg ds-svg-icon"
|
|
277
280
|
focusable="false"
|
|
278
281
|
viewBox="0 0 24 24"
|
|
279
282
|
>
|
|
280
283
|
<svg
|
|
281
284
|
aria-hidden="true"
|
|
282
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
285
|
+
className="ds-svg-icon--uncheck ds-svg-icon--lg ds-svg-icon"
|
|
283
286
|
focusable="false"
|
|
284
287
|
viewBox="0 0 24 24"
|
|
285
288
|
>
|
|
@@ -295,31 +298,28 @@ exports[`renders the UncheckIcon with prop variant=primary 1`] = `
|
|
|
295
298
|
</UncheckIcon>
|
|
296
299
|
`;
|
|
297
300
|
|
|
298
|
-
exports[`renders the UncheckIcon with prop
|
|
301
|
+
exports[`renders the UncheckIcon with prop size=m 1`] = `
|
|
299
302
|
<UncheckIcon
|
|
300
|
-
size="
|
|
301
|
-
variant="warning"
|
|
303
|
+
size="md"
|
|
302
304
|
>
|
|
303
305
|
<ForwardRef(Icon)
|
|
304
306
|
icon="uncheck"
|
|
305
|
-
size="
|
|
306
|
-
variant="warning"
|
|
307
|
+
size="md"
|
|
307
308
|
>
|
|
308
309
|
<ForwardRef(SvgIcon)
|
|
309
310
|
className="ds-svg-icon--uncheck"
|
|
310
|
-
size="
|
|
311
|
-
variant="warning"
|
|
311
|
+
size="md"
|
|
312
312
|
>
|
|
313
313
|
<ForwardRef(Base)
|
|
314
314
|
aria-hidden="true"
|
|
315
315
|
as="svg"
|
|
316
|
-
className="ds-svg-icon--uncheck ds-svg-icon--
|
|
316
|
+
className="ds-svg-icon--uncheck ds-svg-icon--md 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="ds-svg-icon--uncheck ds-svg-icon--
|
|
322
|
+
className="ds-svg-icon--uncheck ds-svg-icon--md ds-svg-icon"
|
|
323
323
|
focusable="false"
|
|
324
324
|
viewBox="0 0 24 24"
|
|
325
325
|
>
|
|
@@ -21,40 +21,40 @@ it('renders the UncheckIcon with prop size=l', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "dark"
|
|
25
25
|
});
|
|
26
|
-
it('renders the UncheckIcon with prop
|
|
26
|
+
it('renders the UncheckIcon with prop color=dark', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "light"
|
|
31
31
|
});
|
|
32
|
-
it('renders the UncheckIcon with prop
|
|
32
|
+
it('renders the UncheckIcon with prop color=light', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "gray"
|
|
37
37
|
});
|
|
38
|
-
it('renders the UncheckIcon with prop
|
|
38
|
+
it('renders the UncheckIcon with prop color=gray', function () {
|
|
39
39
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
40
40
|
});
|
|
41
41
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
42
|
-
|
|
42
|
+
color: "primary"
|
|
43
43
|
});
|
|
44
|
-
it('renders the UncheckIcon with prop
|
|
44
|
+
it('renders the UncheckIcon with prop color=primary', function () {
|
|
45
45
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
46
46
|
});
|
|
47
47
|
var _ref8 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
48
|
-
|
|
48
|
+
color: "warning",
|
|
49
49
|
size: "sm"
|
|
50
50
|
});
|
|
51
|
-
it('renders the UncheckIcon with prop
|
|
51
|
+
it('renders the UncheckIcon with prop color=warning and size=s', function () {
|
|
52
52
|
expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
|
|
53
53
|
});
|
|
54
54
|
var _ref9 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
|
|
55
|
-
|
|
55
|
+
color: "warning",
|
|
56
56
|
size: "xl"
|
|
57
57
|
});
|
|
58
|
-
it('renders the UncheckIcon with prop
|
|
58
|
+
it('renders the UncheckIcon with prop color=error and size= xl', function () {
|
|
59
59
|
expect((0, _enzyme.mount)(_ref9)).toMatchSnapshot();
|
|
60
60
|
});
|
package/cjs/icons/index.js
CHANGED
|
@@ -244,4 +244,15 @@ Object.keys(_config22).forEach(function (key) {
|
|
|
244
244
|
return _config22[key];
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
|
+
});
|
|
248
|
+
var _config23 = require("@digigov/react-icons/PrintIcon/config");
|
|
249
|
+
Object.keys(_config23).forEach(function (key) {
|
|
250
|
+
if (key === "default" || key === "__esModule") return;
|
|
251
|
+
if (key in exports && exports[key] === _config23[key]) return;
|
|
252
|
+
Object.defineProperty(exports, key, {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: function get() {
|
|
255
|
+
return _config23[key];
|
|
256
|
+
}
|
|
257
|
+
});
|
|
247
258
|
});
|
package/cjs/index.js
CHANGED
|
@@ -244,4 +244,15 @@ Object.keys(_ExclamationIcon).forEach(function (key) {
|
|
|
244
244
|
return _ExclamationIcon[key];
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
|
+
});
|
|
248
|
+
var _PrintIcon = require("@digigov/react-icons/PrintIcon");
|
|
249
|
+
Object.keys(_PrintIcon).forEach(function (key) {
|
|
250
|
+
if (key === "default" || key === "__esModule") return;
|
|
251
|
+
if (key in exports && exports[key] === _PrintIcon[key]) return;
|
|
252
|
+
Object.defineProperty(exports, key, {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: function get() {
|
|
255
|
+
return _PrintIcon[key];
|
|
256
|
+
}
|
|
257
|
+
});
|
|
247
258
|
});
|
package/cjs/registry/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var _digigov_react_icons_CheckIcon = _interopRequireWildcard(require("@digigov/r
|
|
|
15
15
|
var _digigov_react_icons_ChevronIcon = _interopRequireWildcard(require("@digigov/react-icons/ChevronIcon"));
|
|
16
16
|
var _digigov_react_icons_CloseIcon = _interopRequireWildcard(require("@digigov/react-icons/CloseIcon"));
|
|
17
17
|
var _digigov_react_icons_DownloadIcon = _interopRequireWildcard(require("@digigov/react-icons/DownloadIcon"));
|
|
18
|
+
var _digigov_react_icons_ExclamationIcon = _interopRequireWildcard(require("@digigov/react-icons/ExclamationIcon"));
|
|
18
19
|
var _digigov_react_icons_GlobeIcon = _interopRequireWildcard(require("@digigov/react-icons/GlobeIcon"));
|
|
19
20
|
var _digigov_react_icons_Icon = _interopRequireWildcard(require("@digigov/react-icons/Icon"));
|
|
20
21
|
var _digigov_react_icons_icons = _interopRequireWildcard(require("@digigov/react-icons/icons"));
|
|
@@ -25,11 +26,11 @@ var _digigov_react_icons_MinusIcon = _interopRequireWildcard(require("@digigov/r
|
|
|
25
26
|
var _digigov_react_icons_MoreVertIcon = _interopRequireWildcard(require("@digigov/react-icons/MoreVertIcon"));
|
|
26
27
|
var _digigov_react_icons_PdfFileIcon = _interopRequireWildcard(require("@digigov/react-icons/PdfFileIcon"));
|
|
27
28
|
var _digigov_react_icons_PlusIcon = _interopRequireWildcard(require("@digigov/react-icons/PlusIcon"));
|
|
29
|
+
var _digigov_react_icons_PrintIcon = _interopRequireWildcard(require("@digigov/react-icons/PrintIcon"));
|
|
28
30
|
var _digigov_react_icons_ReplyIcon = _interopRequireWildcard(require("@digigov/react-icons/ReplyIcon"));
|
|
29
31
|
var _digigov_react_icons_RestoreIcon = _interopRequireWildcard(require("@digigov/react-icons/RestoreIcon"));
|
|
30
32
|
var _digigov_react_icons_SearchIcon = _interopRequireWildcard(require("@digigov/react-icons/SearchIcon"));
|
|
31
33
|
var _digigov_react_icons_UncheckIcon = _interopRequireWildcard(require("@digigov/react-icons/UncheckIcon"));
|
|
32
|
-
var _digigov_react_icons_WarningIcon = _interopRequireWildcard(require("@digigov/react-icons/ExclamationIcon"));
|
|
33
34
|
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); }
|
|
34
35
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(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; }
|
|
35
36
|
function lazyImport(pkgImport) {
|
|
@@ -57,6 +58,7 @@ var _default = exports["default"] = {
|
|
|
57
58
|
'@digigov/react-icons/ChevronIcon': lazyImport(_digigov_react_icons_ChevronIcon),
|
|
58
59
|
'@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
|
|
59
60
|
'@digigov/react-icons/DownloadIcon': lazyImport(_digigov_react_icons_DownloadIcon),
|
|
61
|
+
'@digigov/react-icons/ExclamationIcon': lazyImport(_digigov_react_icons_ExclamationIcon),
|
|
60
62
|
'@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
|
|
61
63
|
'@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
|
|
62
64
|
'@digigov/react-icons/icons': lazyImport(_digigov_react_icons_icons),
|
|
@@ -67,9 +69,9 @@ var _default = exports["default"] = {
|
|
|
67
69
|
'@digigov/react-icons/MoreVertIcon': lazyImport(_digigov_react_icons_MoreVertIcon),
|
|
68
70
|
'@digigov/react-icons/PdfFileIcon': lazyImport(_digigov_react_icons_PdfFileIcon),
|
|
69
71
|
'@digigov/react-icons/PlusIcon': lazyImport(_digigov_react_icons_PlusIcon),
|
|
72
|
+
'@digigov/react-icons/PrintIcon': lazyImport(_digigov_react_icons_PrintIcon),
|
|
70
73
|
'@digigov/react-icons/ReplyIcon': lazyImport(_digigov_react_icons_ReplyIcon),
|
|
71
74
|
'@digigov/react-icons/RestoreIcon': lazyImport(_digigov_react_icons_RestoreIcon),
|
|
72
75
|
'@digigov/react-icons/SearchIcon': lazyImport(_digigov_react_icons_SearchIcon),
|
|
73
|
-
'@digigov/react-icons/UncheckIcon': lazyImport(_digigov_react_icons_UncheckIcon)
|
|
74
|
-
'@digigov/react-icons/WarningIcon': lazyImport(_digigov_react_icons_WarningIcon)
|
|
76
|
+
'@digigov/react-icons/UncheckIcon': lazyImport(_digigov_react_icons_UncheckIcon)
|
|
75
77
|
};
|
package/icons/index.js
CHANGED
|
@@ -20,4 +20,5 @@ export * from '@digigov/react-icons/RestoreIcon/config';
|
|
|
20
20
|
export * from '@digigov/react-icons/ReplyIcon/config';
|
|
21
21
|
export * from '@digigov/react-icons/ChatIcon/config';
|
|
22
22
|
export * from '@digigov/react-icons/ExclamationIcon/config';
|
|
23
|
+
export * from '@digigov/react-icons/PrintIcon/config';
|
|
23
24
|
export {};
|
package/icons.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import type { RestoreType } from '@digigov/react-icons/RestoreIcon/config';
|
|
|
20
20
|
import type { ReplyType } from '@digigov/react-icons/ReplyIcon/config';
|
|
21
21
|
import type { ChatType } from '@digigov/react-icons/ChatIcon/config';
|
|
22
22
|
import type { ExclamationType } from '@digigov/react-icons/ExclamationIcon/config';
|
|
23
|
+
import type { PrintType } from '@digigov/react-icons/PrintIcon/config';
|
|
23
24
|
export * from '@digigov/react-icons/AccessibilityIcon/config';
|
|
24
25
|
export * from '@digigov/react-icons/ArrowIcon/config';
|
|
25
26
|
export * from '@digigov/react-icons/BurgerIcon/config';
|
|
@@ -42,6 +43,7 @@ export * from '@digigov/react-icons/RestoreIcon/config';
|
|
|
42
43
|
export * from '@digigov/react-icons/ReplyIcon/config';
|
|
43
44
|
export * from '@digigov/react-icons/ChatIcon/config';
|
|
44
45
|
export * from '@digigov/react-icons/ExclamationIcon/config';
|
|
46
|
+
export * from '@digigov/react-icons/PrintIcon/config';
|
|
45
47
|
export interface IconTypes {
|
|
46
48
|
accessibility: AccessibilityType;
|
|
47
49
|
arrow: ArrowType;
|
|
@@ -65,4 +67,5 @@ export interface IconTypes {
|
|
|
65
67
|
reply: ReplyType;
|
|
66
68
|
chat: ChatType;
|
|
67
69
|
exclamation: ExclamationType;
|
|
70
|
+
print: PrintType;
|
|
68
71
|
}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license Digigov v2.0.0-
|
|
1
|
+
/** @license Digigov v2.0.0-b3ec0588
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the BSD-2-Clause license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -24,4 +24,5 @@ export * from '@digigov/react-icons/LoginIcon';
|
|
|
24
24
|
export * from '@digigov/react-icons/RestoreIcon';
|
|
25
25
|
export * from '@digigov/react-icons/ReplyIcon';
|
|
26
26
|
export * from '@digigov/react-icons/ChatIcon';
|
|
27
|
-
export * from '@digigov/react-icons/ExclamationIcon';
|
|
27
|
+
export * from '@digigov/react-icons/ExclamationIcon';
|
|
28
|
+
export * from '@digigov/react-icons/PrintIcon';
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/react-icons",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-b3ec0588",
|
|
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": "2.0.0-
|
|
10
|
+
"@digigov/css": "2.0.0-b3ec0588",
|
|
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",
|
|
14
|
-
"@digigov/react-core": "2.0.0-
|
|
14
|
+
"@digigov/react-core": "2.0.0-b3ec0588"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"ts-morph": "18.0.0"
|
package/registry/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import * as _digigov_react_icons_CheckIcon from '@digigov/react-icons/CheckIcon'
|
|
|
8
8
|
import * as _digigov_react_icons_ChevronIcon from '@digigov/react-icons/ChevronIcon';
|
|
9
9
|
import * as _digigov_react_icons_CloseIcon from '@digigov/react-icons/CloseIcon';
|
|
10
10
|
import * as _digigov_react_icons_DownloadIcon from '@digigov/react-icons/DownloadIcon';
|
|
11
|
+
import * as _digigov_react_icons_ExclamationIcon from '@digigov/react-icons/ExclamationIcon';
|
|
11
12
|
import * as _digigov_react_icons_GlobeIcon from '@digigov/react-icons/GlobeIcon';
|
|
12
13
|
import * as _digigov_react_icons_Icon from '@digigov/react-icons/Icon';
|
|
13
14
|
import * as _digigov_react_icons_icons from '@digigov/react-icons/icons';
|
|
@@ -18,11 +19,11 @@ import * as _digigov_react_icons_MinusIcon from '@digigov/react-icons/MinusIcon'
|
|
|
18
19
|
import * as _digigov_react_icons_MoreVertIcon from '@digigov/react-icons/MoreVertIcon';
|
|
19
20
|
import * as _digigov_react_icons_PdfFileIcon from '@digigov/react-icons/PdfFileIcon';
|
|
20
21
|
import * as _digigov_react_icons_PlusIcon from '@digigov/react-icons/PlusIcon';
|
|
22
|
+
import * as _digigov_react_icons_PrintIcon from '@digigov/react-icons/PrintIcon';
|
|
21
23
|
import * as _digigov_react_icons_ReplyIcon from '@digigov/react-icons/ReplyIcon';
|
|
22
24
|
import * as _digigov_react_icons_RestoreIcon from '@digigov/react-icons/RestoreIcon';
|
|
23
25
|
import * as _digigov_react_icons_SearchIcon from '@digigov/react-icons/SearchIcon';
|
|
24
26
|
import * as _digigov_react_icons_UncheckIcon from '@digigov/react-icons/UncheckIcon';
|
|
25
|
-
import * as _digigov_react_icons_WarningIcon from '@digigov/react-icons/ExclamationIcon';
|
|
26
27
|
function lazyImport(pkgImport) {
|
|
27
28
|
// eslint-disable-next-line no-undef
|
|
28
29
|
return new Proxy({}, {
|
|
@@ -48,6 +49,7 @@ export default {
|
|
|
48
49
|
'@digigov/react-icons/ChevronIcon': lazyImport(_digigov_react_icons_ChevronIcon),
|
|
49
50
|
'@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
|
|
50
51
|
'@digigov/react-icons/DownloadIcon': lazyImport(_digigov_react_icons_DownloadIcon),
|
|
52
|
+
'@digigov/react-icons/ExclamationIcon': lazyImport(_digigov_react_icons_ExclamationIcon),
|
|
51
53
|
'@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
|
|
52
54
|
'@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
|
|
53
55
|
'@digigov/react-icons/icons': lazyImport(_digigov_react_icons_icons),
|
|
@@ -58,9 +60,9 @@ export default {
|
|
|
58
60
|
'@digigov/react-icons/MoreVertIcon': lazyImport(_digigov_react_icons_MoreVertIcon),
|
|
59
61
|
'@digigov/react-icons/PdfFileIcon': lazyImport(_digigov_react_icons_PdfFileIcon),
|
|
60
62
|
'@digigov/react-icons/PlusIcon': lazyImport(_digigov_react_icons_PlusIcon),
|
|
63
|
+
'@digigov/react-icons/PrintIcon': lazyImport(_digigov_react_icons_PrintIcon),
|
|
61
64
|
'@digigov/react-icons/ReplyIcon': lazyImport(_digigov_react_icons_ReplyIcon),
|
|
62
65
|
'@digigov/react-icons/RestoreIcon': lazyImport(_digigov_react_icons_RestoreIcon),
|
|
63
66
|
'@digigov/react-icons/SearchIcon': lazyImport(_digigov_react_icons_SearchIcon),
|
|
64
|
-
'@digigov/react-icons/UncheckIcon': lazyImport(_digigov_react_icons_UncheckIcon)
|
|
65
|
-
'@digigov/react-icons/WarningIcon': lazyImport(_digigov_react_icons_WarningIcon)
|
|
67
|
+
'@digigov/react-icons/UncheckIcon': lazyImport(_digigov_react_icons_UncheckIcon)
|
|
66
68
|
};
|
package/registry.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ declare const _default: {
|
|
|
9
9
|
'@digigov/react-icons/ChevronIcon': {};
|
|
10
10
|
'@digigov/react-icons/CloseIcon': {};
|
|
11
11
|
'@digigov/react-icons/DownloadIcon': {};
|
|
12
|
+
'@digigov/react-icons/ExclamationIcon': {};
|
|
12
13
|
'@digigov/react-icons/GlobeIcon': {};
|
|
13
14
|
'@digigov/react-icons/Icon': {};
|
|
14
15
|
'@digigov/react-icons/icons': {};
|
|
@@ -19,10 +20,10 @@ declare const _default: {
|
|
|
19
20
|
'@digigov/react-icons/MoreVertIcon': {};
|
|
20
21
|
'@digigov/react-icons/PdfFileIcon': {};
|
|
21
22
|
'@digigov/react-icons/PlusIcon': {};
|
|
23
|
+
'@digigov/react-icons/PrintIcon': {};
|
|
22
24
|
'@digigov/react-icons/ReplyIcon': {};
|
|
23
25
|
'@digigov/react-icons/RestoreIcon': {};
|
|
24
26
|
'@digigov/react-icons/SearchIcon': {};
|
|
25
27
|
'@digigov/react-icons/UncheckIcon': {};
|
|
26
|
-
'@digigov/react-icons/WarningIcon': {};
|
|
27
28
|
};
|
|
28
29
|
export default _default;
|