@digigov/react-icons 1.0.0-8bbf3ef2 → 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,336 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders the UncheckIcon with no props 1`] = `
4
- <UncheckIcon>
5
- <ForwardRef(Icon)
6
- icon="uncheck"
7
- >
8
- <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--uncheck"
10
- >
11
- <ForwardRef(Base)
12
- aria-hidden="true"
13
- as="svg"
14
- className="govgr-svg-icon--uncheck govgr-svg-icon"
15
- focusable="false"
16
- viewBox="0 0 24 24"
17
- >
18
- <svg
19
- aria-hidden="true"
20
- className="govgr-svg-icon--uncheck govgr-svg-icon"
21
- focusable="false"
22
- viewBox="0 0 24 24"
23
- >
24
- <uncheck>
25
- <polygon
26
- 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"
27
- />
28
- </uncheck>
29
- </svg>
30
- </ForwardRef(Base)>
31
- </ForwardRef(SvgIcon)>
32
- </ForwardRef(Icon)>
33
- </UncheckIcon>
34
- `;
35
-
36
- exports[`renders the UncheckIcon with prop size=l 1`] = `
37
- <UncheckIcon
38
- size="lg"
39
- >
40
- <ForwardRef(Icon)
41
- icon="uncheck"
42
- size="lg"
43
- >
44
- <ForwardRef(SvgIcon)
45
- className="govgr-svg-icon--uncheck"
46
- size="lg"
47
- >
48
- <ForwardRef(Base)
49
- aria-hidden="true"
50
- as="svg"
51
- className="govgr-svg-icon--uncheck govgr-svg-icon--lg govgr-svg-icon"
52
- focusable="false"
53
- viewBox="0 0 24 24"
54
- >
55
- <svg
56
- aria-hidden="true"
57
- className="govgr-svg-icon--uncheck govgr-svg-icon--lg govgr-svg-icon"
58
- focusable="false"
59
- viewBox="0 0 24 24"
60
- >
61
- <uncheck>
62
- <polygon
63
- 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"
64
- />
65
- </uncheck>
66
- </svg>
67
- </ForwardRef(Base)>
68
- </ForwardRef(SvgIcon)>
69
- </ForwardRef(Icon)>
70
- </UncheckIcon>
71
- `;
72
-
73
- exports[`renders the UncheckIcon with prop size=m 1`] = `
74
- <UncheckIcon
75
- size="md"
76
- >
77
- <ForwardRef(Icon)
78
- icon="uncheck"
79
- size="md"
80
- >
81
- <ForwardRef(SvgIcon)
82
- className="govgr-svg-icon--uncheck"
83
- size="md"
84
- >
85
- <ForwardRef(Base)
86
- aria-hidden="true"
87
- as="svg"
88
- className="govgr-svg-icon--uncheck govgr-svg-icon--md govgr-svg-icon"
89
- focusable="false"
90
- viewBox="0 0 24 24"
91
- >
92
- <svg
93
- aria-hidden="true"
94
- className="govgr-svg-icon--uncheck govgr-svg-icon--md govgr-svg-icon"
95
- focusable="false"
96
- viewBox="0 0 24 24"
97
- >
98
- <uncheck>
99
- <polygon
100
- 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"
101
- />
102
- </uncheck>
103
- </svg>
104
- </ForwardRef(Base)>
105
- </ForwardRef(SvgIcon)>
106
- </ForwardRef(Icon)>
107
- </UncheckIcon>
108
- `;
109
-
110
- exports[`renders the UncheckIcon with prop variant=dark 1`] = `
111
- <UncheckIcon
112
- variant="dark"
113
- >
114
- <ForwardRef(Icon)
115
- icon="uncheck"
116
- variant="dark"
117
- >
118
- <ForwardRef(SvgIcon)
119
- className="govgr-svg-icon--uncheck"
120
- variant="dark"
121
- >
122
- <ForwardRef(Base)
123
- aria-hidden="true"
124
- as="svg"
125
- className="govgr-svg-icon--uncheck govgr-svg-icon--dark 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--dark 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 variant=error and size= xl 1`] = `
148
- <UncheckIcon
149
- size="xl"
150
- variant="warning"
151
- >
152
- <ForwardRef(Icon)
153
- icon="uncheck"
154
- size="xl"
155
- variant="warning"
156
- >
157
- <ForwardRef(SvgIcon)
158
- className="govgr-svg-icon--uncheck"
159
- size="xl"
160
- variant="warning"
161
- >
162
- <ForwardRef(Base)
163
- aria-hidden="true"
164
- as="svg"
165
- className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
166
- focusable="false"
167
- viewBox="0 0 24 24"
168
- >
169
- <svg
170
- aria-hidden="true"
171
- className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
172
- focusable="false"
173
- viewBox="0 0 24 24"
174
- >
175
- <uncheck>
176
- <polygon
177
- 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"
178
- />
179
- </uncheck>
180
- </svg>
181
- </ForwardRef(Base)>
182
- </ForwardRef(SvgIcon)>
183
- </ForwardRef(Icon)>
184
- </UncheckIcon>
185
- `;
186
-
187
- exports[`renders the UncheckIcon with prop variant=gray 1`] = `
188
- <UncheckIcon
189
- variant="gray"
190
- >
191
- <ForwardRef(Icon)
192
- icon="uncheck"
193
- variant="gray"
194
- >
195
- <ForwardRef(SvgIcon)
196
- className="govgr-svg-icon--uncheck"
197
- variant="gray"
198
- >
199
- <ForwardRef(Base)
200
- aria-hidden="true"
201
- as="svg"
202
- className="govgr-svg-icon--uncheck govgr-svg-icon--gray govgr-svg-icon"
203
- focusable="false"
204
- viewBox="0 0 24 24"
205
- >
206
- <svg
207
- aria-hidden="true"
208
- className="govgr-svg-icon--uncheck govgr-svg-icon--gray govgr-svg-icon"
209
- focusable="false"
210
- viewBox="0 0 24 24"
211
- >
212
- <uncheck>
213
- <polygon
214
- 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"
215
- />
216
- </uncheck>
217
- </svg>
218
- </ForwardRef(Base)>
219
- </ForwardRef(SvgIcon)>
220
- </ForwardRef(Icon)>
221
- </UncheckIcon>
222
- `;
223
-
224
- exports[`renders the UncheckIcon with prop variant=light 1`] = `
225
- <UncheckIcon
226
- variant="light"
227
- >
228
- <ForwardRef(Icon)
229
- icon="uncheck"
230
- variant="light"
231
- >
232
- <ForwardRef(SvgIcon)
233
- className="govgr-svg-icon--uncheck"
234
- variant="light"
235
- >
236
- <ForwardRef(Base)
237
- aria-hidden="true"
238
- as="svg"
239
- className="govgr-svg-icon--uncheck govgr-svg-icon--light govgr-svg-icon"
240
- focusable="false"
241
- viewBox="0 0 24 24"
242
- >
243
- <svg
244
- aria-hidden="true"
245
- className="govgr-svg-icon--uncheck govgr-svg-icon--light govgr-svg-icon"
246
- focusable="false"
247
- viewBox="0 0 24 24"
248
- >
249
- <uncheck>
250
- <polygon
251
- 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"
252
- />
253
- </uncheck>
254
- </svg>
255
- </ForwardRef(Base)>
256
- </ForwardRef(SvgIcon)>
257
- </ForwardRef(Icon)>
258
- </UncheckIcon>
259
- `;
260
-
261
- exports[`renders the UncheckIcon with prop variant=primary 1`] = `
262
- <UncheckIcon
263
- variant="primary"
264
- >
265
- <ForwardRef(Icon)
266
- icon="uncheck"
267
- variant="primary"
268
- >
269
- <ForwardRef(SvgIcon)
270
- className="govgr-svg-icon--uncheck"
271
- variant="primary"
272
- >
273
- <ForwardRef(Base)
274
- aria-hidden="true"
275
- as="svg"
276
- className="govgr-svg-icon--uncheck govgr-svg-icon--primary govgr-svg-icon"
277
- focusable="false"
278
- viewBox="0 0 24 24"
279
- >
280
- <svg
281
- aria-hidden="true"
282
- className="govgr-svg-icon--uncheck govgr-svg-icon--primary govgr-svg-icon"
283
- focusable="false"
284
- viewBox="0 0 24 24"
285
- >
286
- <uncheck>
287
- <polygon
288
- 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"
289
- />
290
- </uncheck>
291
- </svg>
292
- </ForwardRef(Base)>
293
- </ForwardRef(SvgIcon)>
294
- </ForwardRef(Icon)>
295
- </UncheckIcon>
296
- `;
297
-
298
- exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
299
- <UncheckIcon
300
- size="sm"
301
- variant="warning"
302
- >
303
- <ForwardRef(Icon)
304
- icon="uncheck"
305
- size="sm"
306
- variant="warning"
307
- >
308
- <ForwardRef(SvgIcon)
309
- className="govgr-svg-icon--uncheck"
310
- size="sm"
311
- variant="warning"
312
- >
313
- <ForwardRef(Base)
314
- aria-hidden="true"
315
- as="svg"
316
- className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
317
- focusable="false"
318
- viewBox="0 0 24 24"
319
- >
320
- <svg
321
- aria-hidden="true"
322
- className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
323
- focusable="false"
324
- viewBox="0 0 24 24"
325
- >
326
- <uncheck>
327
- <polygon
328
- 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"
329
- />
330
- </uncheck>
331
- </svg>
332
- </ForwardRef(Base)>
333
- </ForwardRef(SvgIcon)>
334
- </ForwardRef(Icon)>
335
- </UncheckIcon>
336
- `;
package/esm/icons.js DELETED
@@ -1,11 +0,0 @@
1
- export * from '@digigov/react-icons/AccessibilityIcon/config';
2
- export * from '@digigov/react-icons/ArrowIcon/config';
3
- export * from '@digigov/react-icons/BurgerIcon/config';
4
- export * from '@digigov/react-icons/CaretIcon/config';
5
- export * from '@digigov/react-icons/CloseIcon/config';
6
- export * from '@digigov/react-icons/CheckIcon/config';
7
- export * from '@digigov/react-icons/GlobeIcon/config';
8
- export * from '@digigov/react-icons/MoreVertIcon/config';
9
- export * from '@digigov/react-icons/UncheckIcon/config';
10
- export * from '@digigov/react-icons/SearchIcon/config';
11
- export {};
package/esm/index.js DELETED
@@ -1,10 +0,0 @@
1
- export * from '@digigov/react-icons/AccessibilityIcon';
2
- export * from '@digigov/react-icons/ArrowIcon';
3
- export * from '@digigov/react-icons/BurgerIcon';
4
- export * from '@digigov/react-icons/CaretIcon';
5
- export * from '@digigov/react-icons/CheckIcon';
6
- export * from '@digigov/react-icons/UncheckIcon';
7
- export * from '@digigov/react-icons/CloseIcon';
8
- export * from '@digigov/react-icons/GlobeIcon';
9
- export * from '@digigov/react-icons/MoreVertIcon';
10
- export * from '@digigov/react-icons/SearchIcon';