@digigov/react-icons 1.0.0-8ae63a77 → 1.0.0-e322b0cc

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.
Files changed (100) hide show
  1. package/AccessibilityIcon/index.js +1 -1
  2. package/{esm/AccessibilityIcon/index.js → AccessibilityIcon/index.mjs} +1 -1
  3. package/AccessibilityIcon/index.test.js +10 -10
  4. package/{esm/AccessibilityIcon/index.test.js → AccessibilityIcon/index.test.mjs} +1 -1
  5. package/ArrowIcon/index.js +1 -1
  6. package/{esm/ArrowIcon/index.js → ArrowIcon/index.mjs} +1 -1
  7. package/ArrowIcon/index.test.js +5 -5
  8. package/{esm/ArrowIcon/index.test.js → ArrowIcon/index.test.mjs} +1 -1
  9. package/BurgerIcon/index.js +1 -1
  10. package/{esm/BurgerIcon/index.js → BurgerIcon/index.mjs} +1 -1
  11. package/BurgerIcon/index.test.js +7 -7
  12. package/{esm/BurgerIcon/index.test.js → BurgerIcon/index.test.mjs} +1 -1
  13. package/CaretIcon/index.js +1 -1
  14. package/{esm/CaretIcon/index.js → CaretIcon/index.mjs} +1 -1
  15. package/CaretIcon/index.test.js +5 -5
  16. package/{esm/CaretIcon/index.test.js → CaretIcon/index.test.mjs} +1 -1
  17. package/CheckIcon/index.js +1 -1
  18. package/{esm/CheckIcon/index.js → CheckIcon/index.mjs} +1 -1
  19. package/CheckIcon/index.test.js +9 -9
  20. package/{esm/CheckIcon/index.test.js → CheckIcon/index.test.mjs} +1 -1
  21. package/CloseIcon/index.js +1 -1
  22. package/{esm/CloseIcon/index.js → CloseIcon/index.mjs} +1 -1
  23. package/CloseIcon/index.test.js +2 -2
  24. package/{esm/CloseIcon/index.test.js → CloseIcon/index.test.mjs} +1 -1
  25. package/GlobeIcon/index.js +1 -1
  26. package/{esm/GlobeIcon/index.js → GlobeIcon/index.mjs} +1 -1
  27. package/GlobeIcon/index.test.js +5 -5
  28. package/{esm/GlobeIcon/index.test.js → GlobeIcon/index.test.mjs} +1 -1
  29. package/Icon/index.js +1 -1
  30. package/{esm/Icon/index.js → Icon/index.mjs} +1 -1
  31. package/Icon/index.test.js +11 -11
  32. package/{esm/Icon/index.test.js → Icon/index.test.mjs} +1 -1
  33. package/MoreVertIcon/index.js +1 -1
  34. package/{esm/MoreVertIcon/index.js → MoreVertIcon/index.mjs} +1 -1
  35. package/MoreVertIcon/index.test.js +10 -10
  36. package/{esm/MoreVertIcon/index.test.js → MoreVertIcon/index.test.mjs} +1 -1
  37. package/SearchIcon/index.js +1 -1
  38. package/{esm/SearchIcon/index.js → SearchIcon/index.mjs} +1 -1
  39. package/SearchIcon/index.test.js +2 -2
  40. package/{esm/SearchIcon/index.test.js → SearchIcon/index.test.mjs} +1 -1
  41. package/UncheckIcon/index.js +1 -1
  42. package/{esm/UncheckIcon/index.js → UncheckIcon/index.mjs} +1 -1
  43. package/UncheckIcon/index.test.js +10 -10
  44. package/{esm/UncheckIcon/index.test.js → UncheckIcon/index.test.mjs} +1 -1
  45. package/es/AccessibilityIcon/index.js +1 -1
  46. package/es/AccessibilityIcon/index.test.js +1 -1
  47. package/es/ArrowIcon/index.js +1 -1
  48. package/es/ArrowIcon/index.test.js +1 -1
  49. package/es/BurgerIcon/index.js +1 -1
  50. package/es/BurgerIcon/index.test.js +1 -1
  51. package/es/CaretIcon/index.js +1 -1
  52. package/es/CaretIcon/index.test.js +1 -1
  53. package/es/CheckIcon/index.js +1 -1
  54. package/es/CheckIcon/index.test.js +1 -1
  55. package/es/CloseIcon/index.js +1 -1
  56. package/es/CloseIcon/index.test.js +1 -1
  57. package/es/GlobeIcon/index.js +1 -1
  58. package/es/GlobeIcon/index.test.js +1 -1
  59. package/es/Icon/index.js +1 -1
  60. package/es/Icon/index.test.js +1 -1
  61. package/es/MoreVertIcon/index.js +1 -1
  62. package/es/MoreVertIcon/index.test.js +1 -1
  63. package/es/SearchIcon/index.js +1 -1
  64. package/es/SearchIcon/index.test.js +1 -1
  65. package/es/UncheckIcon/index.js +1 -1
  66. package/es/UncheckIcon/index.test.js +1 -1
  67. package/es/icons.js +10 -10
  68. package/es/index.js +10 -10
  69. package/es/registry.js +13 -13
  70. package/icons.js +10 -10
  71. package/icons.mjs +11 -0
  72. package/index.js +10 -10
  73. package/index.mjs +10 -0
  74. package/package.json +3 -3
  75. package/registry.d.ts +1 -1
  76. package/registry.js +13 -13
  77. package/{esm/registry.js → registry.mjs} +13 -13
  78. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  79. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  80. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  81. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  82. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  83. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  84. package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  85. package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
  86. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  87. package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  88. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  89. package/esm/icons.js +0 -11
  90. package/esm/index.js +0 -10
  91. /package/{esm/AccessibilityIcon/config.js → AccessibilityIcon/config.mjs} +0 -0
  92. /package/{esm/ArrowIcon/config.js → ArrowIcon/config.mjs} +0 -0
  93. /package/{esm/BurgerIcon/config.js → BurgerIcon/config.mjs} +0 -0
  94. /package/{esm/CaretIcon/config.js → CaretIcon/config.mjs} +0 -0
  95. /package/{esm/CheckIcon/config.js → CheckIcon/config.mjs} +0 -0
  96. /package/{esm/CloseIcon/config.js → CloseIcon/config.mjs} +0 -0
  97. /package/{esm/GlobeIcon/config.js → GlobeIcon/config.mjs} +0 -0
  98. /package/{esm/MoreVertIcon/config.js → MoreVertIcon/config.mjs} +0 -0
  99. /package/{esm/SearchIcon/config.js → SearchIcon/config.mjs} +0 -0
  100. /package/{esm/UncheckIcon/config.js → UncheckIcon/config.mjs} +0 -0
@@ -1,444 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders the MoreVertIcon with no props 1`] = `
4
- <MoreVertIcon>
5
- <ForwardRef(Icon)
6
- icon="moreVert"
7
- >
8
- <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--moreVert"
10
- >
11
- <ForwardRef(Base)
12
- aria-hidden="true"
13
- as="svg"
14
- className="govgr-svg-icon--moreVert govgr-svg-icon"
15
- focusable="false"
16
- viewBox="0 0 24 24"
17
- >
18
- <svg
19
- aria-hidden="true"
20
- className="govgr-svg-icon--moreVert govgr-svg-icon"
21
- focusable="false"
22
- viewBox="0 0 24 24"
23
- >
24
- <moreVert>
25
- <circle
26
- cx="12"
27
- cy="5"
28
- r="2"
29
- />
30
- <circle
31
- cx="12"
32
- cy="12"
33
- r="2"
34
- />
35
- <circle
36
- cx="12"
37
- cy="19"
38
- r="2"
39
- />
40
- </moreVert>
41
- </svg>
42
- </ForwardRef(Base)>
43
- </ForwardRef(SvgIcon)>
44
- </ForwardRef(Icon)>
45
- </MoreVertIcon>
46
- `;
47
-
48
- exports[`renders the MoreVertIcon with prop size=l 1`] = `
49
- <MoreVertIcon
50
- size="lg"
51
- >
52
- <ForwardRef(Icon)
53
- icon="moreVert"
54
- size="lg"
55
- >
56
- <ForwardRef(SvgIcon)
57
- className="govgr-svg-icon--moreVert"
58
- size="lg"
59
- >
60
- <ForwardRef(Base)
61
- aria-hidden="true"
62
- as="svg"
63
- className="govgr-svg-icon--moreVert govgr-svg-icon--lg govgr-svg-icon"
64
- focusable="false"
65
- viewBox="0 0 24 24"
66
- >
67
- <svg
68
- aria-hidden="true"
69
- className="govgr-svg-icon--moreVert govgr-svg-icon--lg govgr-svg-icon"
70
- focusable="false"
71
- viewBox="0 0 24 24"
72
- >
73
- <moreVert>
74
- <circle
75
- cx="12"
76
- cy="5"
77
- r="2"
78
- />
79
- <circle
80
- cx="12"
81
- cy="12"
82
- r="2"
83
- />
84
- <circle
85
- cx="12"
86
- cy="19"
87
- r="2"
88
- />
89
- </moreVert>
90
- </svg>
91
- </ForwardRef(Base)>
92
- </ForwardRef(SvgIcon)>
93
- </ForwardRef(Icon)>
94
- </MoreVertIcon>
95
- `;
96
-
97
- exports[`renders the MoreVertIcon with prop size=s 1`] = `
98
- <MoreVertIcon
99
- size="sm"
100
- >
101
- <ForwardRef(Icon)
102
- icon="moreVert"
103
- size="sm"
104
- >
105
- <ForwardRef(SvgIcon)
106
- className="govgr-svg-icon--moreVert"
107
- size="sm"
108
- >
109
- <ForwardRef(Base)
110
- aria-hidden="true"
111
- as="svg"
112
- className="govgr-svg-icon--moreVert govgr-svg-icon--sm govgr-svg-icon"
113
- focusable="false"
114
- viewBox="0 0 24 24"
115
- >
116
- <svg
117
- aria-hidden="true"
118
- className="govgr-svg-icon--moreVert govgr-svg-icon--sm govgr-svg-icon"
119
- focusable="false"
120
- viewBox="0 0 24 24"
121
- >
122
- <moreVert>
123
- <circle
124
- cx="12"
125
- cy="5"
126
- r="2"
127
- />
128
- <circle
129
- cx="12"
130
- cy="12"
131
- r="2"
132
- />
133
- <circle
134
- cx="12"
135
- cy="19"
136
- r="2"
137
- />
138
- </moreVert>
139
- </svg>
140
- </ForwardRef(Base)>
141
- </ForwardRef(SvgIcon)>
142
- </ForwardRef(Icon)>
143
- </MoreVertIcon>
144
- `;
145
-
146
- exports[`renders the MoreVertIcon with prop variant=dark 1`] = `
147
- <MoreVertIcon
148
- variant="dark"
149
- >
150
- <ForwardRef(Icon)
151
- icon="moreVert"
152
- variant="dark"
153
- >
154
- <ForwardRef(SvgIcon)
155
- className="govgr-svg-icon--moreVert"
156
- variant="dark"
157
- >
158
- <ForwardRef(Base)
159
- aria-hidden="true"
160
- as="svg"
161
- className="govgr-svg-icon--moreVert govgr-svg-icon--dark govgr-svg-icon"
162
- focusable="false"
163
- viewBox="0 0 24 24"
164
- >
165
- <svg
166
- aria-hidden="true"
167
- className="govgr-svg-icon--moreVert govgr-svg-icon--dark govgr-svg-icon"
168
- focusable="false"
169
- viewBox="0 0 24 24"
170
- >
171
- <moreVert>
172
- <circle
173
- cx="12"
174
- cy="5"
175
- r="2"
176
- />
177
- <circle
178
- cx="12"
179
- cy="12"
180
- r="2"
181
- />
182
- <circle
183
- cx="12"
184
- cy="19"
185
- r="2"
186
- />
187
- </moreVert>
188
- </svg>
189
- </ForwardRef(Base)>
190
- </ForwardRef(SvgIcon)>
191
- </ForwardRef(Icon)>
192
- </MoreVertIcon>
193
- `;
194
-
195
- exports[`renders the MoreVertIcon with prop variant=error and size= xl 1`] = `
196
- <MoreVertIcon
197
- size="xl"
198
- variant="warning"
199
- >
200
- <ForwardRef(Icon)
201
- icon="moreVert"
202
- size="xl"
203
- variant="warning"
204
- >
205
- <ForwardRef(SvgIcon)
206
- className="govgr-svg-icon--moreVert"
207
- size="xl"
208
- variant="warning"
209
- >
210
- <ForwardRef(Base)
211
- aria-hidden="true"
212
- as="svg"
213
- className="govgr-svg-icon--moreVert govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
214
- focusable="false"
215
- viewBox="0 0 24 24"
216
- >
217
- <svg
218
- aria-hidden="true"
219
- className="govgr-svg-icon--moreVert govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
220
- focusable="false"
221
- viewBox="0 0 24 24"
222
- >
223
- <moreVert>
224
- <circle
225
- cx="12"
226
- cy="5"
227
- r="2"
228
- />
229
- <circle
230
- cx="12"
231
- cy="12"
232
- r="2"
233
- />
234
- <circle
235
- cx="12"
236
- cy="19"
237
- r="2"
238
- />
239
- </moreVert>
240
- </svg>
241
- </ForwardRef(Base)>
242
- </ForwardRef(SvgIcon)>
243
- </ForwardRef(Icon)>
244
- </MoreVertIcon>
245
- `;
246
-
247
- exports[`renders the MoreVertIcon with prop variant=focus 1`] = `
248
- <MoreVertIcon
249
- variant="focus"
250
- >
251
- <ForwardRef(Icon)
252
- icon="moreVert"
253
- variant="focus"
254
- >
255
- <ForwardRef(SvgIcon)
256
- className="govgr-svg-icon--moreVert"
257
- variant="focus"
258
- >
259
- <ForwardRef(Base)
260
- aria-hidden="true"
261
- as="svg"
262
- className="govgr-svg-icon--moreVert govgr-svg-icon--focus govgr-svg-icon"
263
- focusable="false"
264
- viewBox="0 0 24 24"
265
- >
266
- <svg
267
- aria-hidden="true"
268
- className="govgr-svg-icon--moreVert govgr-svg-icon--focus govgr-svg-icon"
269
- focusable="false"
270
- viewBox="0 0 24 24"
271
- >
272
- <moreVert>
273
- <circle
274
- cx="12"
275
- cy="5"
276
- r="2"
277
- />
278
- <circle
279
- cx="12"
280
- cy="12"
281
- r="2"
282
- />
283
- <circle
284
- cx="12"
285
- cy="19"
286
- r="2"
287
- />
288
- </moreVert>
289
- </svg>
290
- </ForwardRef(Base)>
291
- </ForwardRef(SvgIcon)>
292
- </ForwardRef(Icon)>
293
- </MoreVertIcon>
294
- `;
295
-
296
- exports[`renders the MoreVertIcon with prop variant=primary 1`] = `
297
- <MoreVertIcon
298
- variant="primary"
299
- >
300
- <ForwardRef(Icon)
301
- icon="moreVert"
302
- variant="primary"
303
- >
304
- <ForwardRef(SvgIcon)
305
- className="govgr-svg-icon--moreVert"
306
- variant="primary"
307
- >
308
- <ForwardRef(Base)
309
- aria-hidden="true"
310
- as="svg"
311
- className="govgr-svg-icon--moreVert govgr-svg-icon--primary govgr-svg-icon"
312
- focusable="false"
313
- viewBox="0 0 24 24"
314
- >
315
- <svg
316
- aria-hidden="true"
317
- className="govgr-svg-icon--moreVert govgr-svg-icon--primary govgr-svg-icon"
318
- focusable="false"
319
- viewBox="0 0 24 24"
320
- >
321
- <moreVert>
322
- <circle
323
- cx="12"
324
- cy="5"
325
- r="2"
326
- />
327
- <circle
328
- cx="12"
329
- cy="12"
330
- r="2"
331
- />
332
- <circle
333
- cx="12"
334
- cy="19"
335
- r="2"
336
- />
337
- </moreVert>
338
- </svg>
339
- </ForwardRef(Base)>
340
- </ForwardRef(SvgIcon)>
341
- </ForwardRef(Icon)>
342
- </MoreVertIcon>
343
- `;
344
-
345
- exports[`renders the MoreVertIcon with prop variant=success 1`] = `
346
- <MoreVertIcon
347
- variant="success"
348
- >
349
- <ForwardRef(Icon)
350
- icon="moreVert"
351
- variant="success"
352
- >
353
- <ForwardRef(SvgIcon)
354
- className="govgr-svg-icon--moreVert"
355
- variant="success"
356
- >
357
- <ForwardRef(Base)
358
- aria-hidden="true"
359
- as="svg"
360
- className="govgr-svg-icon--moreVert govgr-svg-icon--success govgr-svg-icon"
361
- focusable="false"
362
- viewBox="0 0 24 24"
363
- >
364
- <svg
365
- aria-hidden="true"
366
- className="govgr-svg-icon--moreVert govgr-svg-icon--success govgr-svg-icon"
367
- focusable="false"
368
- viewBox="0 0 24 24"
369
- >
370
- <moreVert>
371
- <circle
372
- cx="12"
373
- cy="5"
374
- r="2"
375
- />
376
- <circle
377
- cx="12"
378
- cy="12"
379
- r="2"
380
- />
381
- <circle
382
- cx="12"
383
- cy="19"
384
- r="2"
385
- />
386
- </moreVert>
387
- </svg>
388
- </ForwardRef(Base)>
389
- </ForwardRef(SvgIcon)>
390
- </ForwardRef(Icon)>
391
- </MoreVertIcon>
392
- `;
393
-
394
- exports[`renders the MoreVertIcon with prop variant=warning and size=s 1`] = `
395
- <MoreVertIcon
396
- size="sm"
397
- variant="warning"
398
- >
399
- <ForwardRef(Icon)
400
- icon="moreVert"
401
- size="sm"
402
- variant="warning"
403
- >
404
- <ForwardRef(SvgIcon)
405
- className="govgr-svg-icon--moreVert"
406
- size="sm"
407
- variant="warning"
408
- >
409
- <ForwardRef(Base)
410
- aria-hidden="true"
411
- as="svg"
412
- className="govgr-svg-icon--moreVert govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
413
- focusable="false"
414
- viewBox="0 0 24 24"
415
- >
416
- <svg
417
- aria-hidden="true"
418
- className="govgr-svg-icon--moreVert govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
419
- focusable="false"
420
- viewBox="0 0 24 24"
421
- >
422
- <moreVert>
423
- <circle
424
- cx="12"
425
- cy="5"
426
- r="2"
427
- />
428
- <circle
429
- cx="12"
430
- cy="12"
431
- r="2"
432
- />
433
- <circle
434
- cx="12"
435
- cy="19"
436
- r="2"
437
- />
438
- </moreVert>
439
- </svg>
440
- </ForwardRef(Base)>
441
- </ForwardRef(SvgIcon)>
442
- </ForwardRef(Icon)>
443
- </MoreVertIcon>
444
- `;
@@ -1,34 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders the SearchIcon with no props 1`] = `
4
- <SearchIcon>
5
- <ForwardRef(Icon)
6
- icon="search"
7
- >
8
- <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--search"
10
- >
11
- <ForwardRef(Base)
12
- aria-hidden="true"
13
- as="svg"
14
- className="govgr-svg-icon--search govgr-svg-icon"
15
- focusable="false"
16
- viewBox="0 0 24 24"
17
- >
18
- <svg
19
- aria-hidden="true"
20
- className="govgr-svg-icon--search govgr-svg-icon"
21
- focusable="false"
22
- viewBox="0 0 24 24"
23
- >
24
- <search>
25
- <path
26
- d="M22,19.9l-5.4-5.4c0.9-1.3,1.4-2.8,1.4-4.5c0-4.4-3.6-8-8-8s-8,3.6-8,8s3.6,8,8,8c1.7,0,3.2-0.5,4.5-1.4l5.4,5.4L22,19.9z M10,15c-2.8,0-5-2.2-5-5s2.2-5,5-5s5,2.2,5,5S12.8,15,10,15z"
27
- />
28
- </search>
29
- </svg>
30
- </ForwardRef(Base)>
31
- </ForwardRef(SvgIcon)>
32
- </ForwardRef(Icon)>
33
- </SearchIcon>
34
- `;