@digigov/react-icons 1.0.0-rc.2 → 1.0.0-rc.4

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 (194) hide show
  1. package/AccessibilityIcon/config.js +7 -19
  2. package/AccessibilityIcon/index.js +6 -21
  3. package/AccessibilityIcon/index.test.js +21 -27
  4. package/AccessibilityIcon/package.json +6 -0
  5. package/ArrowIcon/config.d.ts +1 -1
  6. package/ArrowIcon/config.js +13 -25
  7. package/ArrowIcon/index.js +6 -21
  8. package/ArrowIcon/index.test.js +11 -17
  9. package/ArrowIcon/package.json +6 -0
  10. package/BurgerIcon/config.js +9 -22
  11. package/BurgerIcon/index.js +6 -21
  12. package/BurgerIcon/index.test.js +15 -21
  13. package/BurgerIcon/package.json +6 -0
  14. package/CaretIcon/config.js +8 -20
  15. package/CaretIcon/index.js +6 -21
  16. package/CaretIcon/index.test.js +11 -17
  17. package/CaretIcon/package.json +6 -0
  18. package/CheckIcon/config.js +5 -17
  19. package/CheckIcon/index.js +6 -21
  20. package/CheckIcon/index.test.js +19 -25
  21. package/CheckIcon/package.json +6 -0
  22. package/ChevronIcon/config.d.ts +14 -0
  23. package/{es/ArrowIcon → ChevronIcon}/config.js +3 -3
  24. package/ChevronIcon/index.d.ts +4 -0
  25. package/{es/ArrowIcon → ChevronIcon}/index.js +4 -4
  26. package/ChevronIcon/index.test.d.ts +1 -0
  27. package/ChevronIcon/index.test.js +33 -0
  28. package/ChevronIcon/package.json +6 -0
  29. package/CloseIcon/config.js +5 -17
  30. package/CloseIcon/index.js +6 -21
  31. package/CloseIcon/index.test.js +5 -11
  32. package/CloseIcon/package.json +6 -0
  33. package/GlobeIcon/config.js +5 -17
  34. package/GlobeIcon/index.js +6 -21
  35. package/GlobeIcon/index.test.js +11 -17
  36. package/GlobeIcon/package.json +6 -0
  37. package/Icon/index.d.ts +1 -1
  38. package/Icon/index.js +16 -40
  39. package/Icon/index.test.js +23 -29
  40. package/Icon/package.json +6 -0
  41. package/MoreVertIcon/config.js +7 -19
  42. package/MoreVertIcon/index.js +6 -21
  43. package/MoreVertIcon/index.test.js +21 -27
  44. package/MoreVertIcon/package.json +6 -0
  45. package/SearchIcon/config.js +5 -17
  46. package/SearchIcon/index.js +6 -21
  47. package/SearchIcon/index.test.js +5 -11
  48. package/SearchIcon/package.json +6 -0
  49. package/UncheckIcon/config.js +5 -17
  50. package/UncheckIcon/index.js +6 -21
  51. package/UncheckIcon/index.test.js +21 -27
  52. package/UncheckIcon/package.json +6 -0
  53. package/cjs/AccessibilityIcon/config.js +31 -0
  54. package/cjs/AccessibilityIcon/index.js +24 -0
  55. package/cjs/AccessibilityIcon/index.test.js +81 -0
  56. package/cjs/ArrowIcon/config.js +39 -0
  57. package/cjs/ArrowIcon/index.js +24 -0
  58. package/cjs/ArrowIcon/index.test.js +39 -0
  59. package/cjs/BurgerIcon/config.js +45 -0
  60. package/cjs/BurgerIcon/index.js +24 -0
  61. package/cjs/BurgerIcon/index.test.js +56 -0
  62. package/cjs/CaretIcon/config.js +39 -0
  63. package/cjs/CaretIcon/index.js +24 -0
  64. package/cjs/CaretIcon/index.test.js +39 -0
  65. package/cjs/CheckIcon/config.js +23 -0
  66. package/cjs/CheckIcon/index.js +24 -0
  67. package/cjs/CheckIcon/index.test.js +73 -0
  68. package/cjs/ChevronIcon/config.js +39 -0
  69. package/cjs/ChevronIcon/index.js +24 -0
  70. package/cjs/ChevronIcon/index.test.js +39 -0
  71. package/cjs/CloseIcon/config.js +23 -0
  72. package/cjs/CloseIcon/index.js +24 -0
  73. package/cjs/CloseIcon/index.test.js +15 -0
  74. package/{esm → cjs}/GlobeIcon/config.js +17 -5
  75. package/cjs/GlobeIcon/index.js +24 -0
  76. package/cjs/GlobeIcon/index.test.js +39 -0
  77. package/cjs/Icon/index.js +58 -0
  78. package/cjs/Icon/index.test.js +88 -0
  79. package/cjs/MoreVertIcon/config.js +37 -0
  80. package/cjs/MoreVertIcon/index.js +24 -0
  81. package/cjs/MoreVertIcon/index.test.js +81 -0
  82. package/cjs/SearchIcon/config.js +23 -0
  83. package/cjs/SearchIcon/index.js +24 -0
  84. package/cjs/SearchIcon/index.test.js +15 -0
  85. package/cjs/UncheckIcon/config.js +23 -0
  86. package/cjs/UncheckIcon/index.js +24 -0
  87. package/cjs/UncheckIcon/index.test.js +81 -0
  88. package/cjs/icons.js +148 -0
  89. package/cjs/index.js +148 -0
  90. package/cjs/registry.js +73 -0
  91. package/icons.d.ts +3 -0
  92. package/icons.js +12 -135
  93. package/index.d.ts +1 -0
  94. package/index.js +11 -135
  95. package/package.json +4 -4
  96. package/registry.d.ts +1 -0
  97. package/registry.js +17 -41
  98. package/src/ArrowIcon/config.tsx +6 -6
  99. package/src/ChevronIcon/config.tsx +37 -0
  100. package/src/ChevronIcon/index.test.tsx +20 -0
  101. package/src/ChevronIcon/index.tsx +8 -0
  102. package/src/Icon/index.tsx +2 -2
  103. package/src/icons.ts +3 -0
  104. package/src/index.ts +1 -0
  105. package/src/registry.js +2 -0
  106. package/es/AccessibilityIcon/config.js +0 -19
  107. package/es/AccessibilityIcon/index.js +0 -9
  108. package/es/AccessibilityIcon/index.test.js +0 -75
  109. package/es/ArrowIcon/index.test.js +0 -33
  110. package/es/BurgerIcon/config.js +0 -32
  111. package/es/BurgerIcon/index.js +0 -9
  112. package/es/BurgerIcon/index.test.js +0 -50
  113. package/es/CaretIcon/config.js +0 -27
  114. package/es/CaretIcon/index.js +0 -9
  115. package/es/CaretIcon/index.test.js +0 -33
  116. package/es/CheckIcon/config.js +0 -11
  117. package/es/CheckIcon/index.js +0 -9
  118. package/es/CheckIcon/index.test.js +0 -67
  119. package/es/CloseIcon/config.js +0 -11
  120. package/es/CloseIcon/index.js +0 -9
  121. package/es/CloseIcon/index.test.js +0 -9
  122. package/es/GlobeIcon/config.js +0 -11
  123. package/es/GlobeIcon/index.js +0 -9
  124. package/es/GlobeIcon/index.test.js +0 -33
  125. package/es/Icon/index.js +0 -34
  126. package/es/Icon/index.test.js +0 -82
  127. package/es/MoreVertIcon/config.js +0 -25
  128. package/es/MoreVertIcon/index.js +0 -9
  129. package/es/MoreVertIcon/index.test.js +0 -75
  130. package/es/SearchIcon/config.js +0 -11
  131. package/es/SearchIcon/index.js +0 -9
  132. package/es/SearchIcon/index.test.js +0 -9
  133. package/es/UncheckIcon/config.js +0 -11
  134. package/es/UncheckIcon/index.js +0 -9
  135. package/es/UncheckIcon/index.test.js +0 -75
  136. package/es/icons.js +0 -11
  137. package/es/index.js +0 -10
  138. package/es/registry.js +0 -44
  139. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  140. package/esm/AccessibilityIcon/config.js +0 -19
  141. package/esm/AccessibilityIcon/index.js +0 -9
  142. package/esm/AccessibilityIcon/index.test.js +0 -75
  143. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  144. package/esm/ArrowIcon/config.js +0 -27
  145. package/esm/ArrowIcon/index.js +0 -9
  146. package/esm/ArrowIcon/index.test.js +0 -33
  147. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  148. package/esm/BurgerIcon/config.js +0 -32
  149. package/esm/BurgerIcon/index.js +0 -9
  150. package/esm/BurgerIcon/index.test.js +0 -50
  151. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  152. package/esm/CaretIcon/config.js +0 -27
  153. package/esm/CaretIcon/index.js +0 -9
  154. package/esm/CaretIcon/index.test.js +0 -33
  155. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  156. package/esm/CheckIcon/config.js +0 -11
  157. package/esm/CheckIcon/index.js +0 -9
  158. package/esm/CheckIcon/index.test.js +0 -67
  159. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  160. package/esm/CloseIcon/config.js +0 -11
  161. package/esm/CloseIcon/index.js +0 -9
  162. package/esm/CloseIcon/index.test.js +0 -9
  163. package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  164. package/esm/GlobeIcon/index.js +0 -9
  165. package/esm/GlobeIcon/index.test.js +0 -33
  166. package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
  167. package/esm/Icon/index.js +0 -34
  168. package/esm/Icon/index.test.js +0 -82
  169. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  170. package/esm/MoreVertIcon/config.js +0 -25
  171. package/esm/MoreVertIcon/index.js +0 -9
  172. package/esm/MoreVertIcon/index.test.js +0 -75
  173. package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  174. package/esm/SearchIcon/config.js +0 -11
  175. package/esm/SearchIcon/index.js +0 -9
  176. package/esm/SearchIcon/index.test.js +0 -9
  177. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  178. package/esm/UncheckIcon/config.js +0 -11
  179. package/esm/UncheckIcon/index.js +0 -9
  180. package/esm/UncheckIcon/index.test.js +0 -75
  181. package/esm/icons.js +0 -11
  182. package/esm/index.js +0 -10
  183. package/esm/registry.js +0 -44
  184. /package/{es → cjs}/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -0
  185. /package/{es → cjs}/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -0
  186. /package/{es → cjs}/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -0
  187. /package/{es → cjs}/CaretIcon/__snapshots__/index.test.tsx.snap +0 -0
  188. /package/{es → cjs}/CheckIcon/__snapshots__/index.test.tsx.snap +0 -0
  189. /package/{es → cjs}/CloseIcon/__snapshots__/index.test.tsx.snap +0 -0
  190. /package/{es → cjs}/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -0
  191. /package/{es → cjs}/Icon/__snapshots__/index.test.tsx.snap +0 -0
  192. /package/{es → cjs}/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -0
  193. /package/{es → cjs}/SearchIcon/__snapshots__/index.test.tsx.snap +0 -0
  194. /package/{es → cjs}/UncheckIcon/__snapshots__/index.test.tsx.snap +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,25 +0,0 @@
1
- import React from 'react';
2
-
3
- var _ref = /*#__PURE__*/React.createElement("circle", {
4
- cx: "12",
5
- cy: "5",
6
- r: "2"
7
- });
8
-
9
- var _ref2 = /*#__PURE__*/React.createElement("circle", {
10
- cx: "12",
11
- cy: "12",
12
- r: "2"
13
- });
14
-
15
- var _ref3 = /*#__PURE__*/React.createElement("circle", {
16
- cx: "12",
17
- cy: "19",
18
- r: "2"
19
- });
20
-
21
- export function moreVert() {
22
- return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2, _ref3);
23
- }
24
- moreVert.props = [];
25
- export default moreVert;
@@ -1,9 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
4
- export var MoreVertIcon = function MoreVertIcon(props) {
5
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
- icon: "moreVert"
7
- }));
8
- };
9
- export default MoreVertIcon;
@@ -1,75 +0,0 @@
1
- import React from 'react';
2
- import { mount } from 'enzyme';
3
- import MoreVertIcon from '@digigov/react-icons/MoreVertIcon';
4
-
5
- var _ref = /*#__PURE__*/React.createElement(MoreVertIcon, null);
6
-
7
- it('renders the MoreVertIcon with no props', function () {
8
- expect(mount(_ref)).toMatchSnapshot();
9
- });
10
-
11
- var _ref2 = /*#__PURE__*/React.createElement(MoreVertIcon, {
12
- size: "sm"
13
- });
14
-
15
- it('renders the MoreVertIcon with prop size=s', function () {
16
- expect(mount(_ref2)).toMatchSnapshot();
17
- });
18
-
19
- var _ref3 = /*#__PURE__*/React.createElement(MoreVertIcon, {
20
- size: "lg"
21
- });
22
-
23
- it('renders the MoreVertIcon with prop size=l', function () {
24
- expect(mount(_ref3)).toMatchSnapshot();
25
- });
26
-
27
- var _ref4 = /*#__PURE__*/React.createElement(MoreVertIcon, {
28
- variant: "dark"
29
- });
30
-
31
- it('renders the MoreVertIcon with prop variant=dark', function () {
32
- expect(mount(_ref4)).toMatchSnapshot();
33
- });
34
-
35
- var _ref5 = /*#__PURE__*/React.createElement(MoreVertIcon, {
36
- variant: "primary"
37
- });
38
-
39
- it('renders the MoreVertIcon with prop variant=primary', function () {
40
- expect(mount(_ref5)).toMatchSnapshot();
41
- });
42
-
43
- var _ref6 = /*#__PURE__*/React.createElement(MoreVertIcon, {
44
- variant: "success"
45
- });
46
-
47
- it('renders the MoreVertIcon with prop variant=success', function () {
48
- expect(mount(_ref6)).toMatchSnapshot();
49
- });
50
-
51
- var _ref7 = /*#__PURE__*/React.createElement(MoreVertIcon, {
52
- variant: "focus"
53
- });
54
-
55
- it('renders the MoreVertIcon with prop variant=focus', function () {
56
- expect(mount(_ref7)).toMatchSnapshot();
57
- });
58
-
59
- var _ref8 = /*#__PURE__*/React.createElement(MoreVertIcon, {
60
- variant: "warning",
61
- size: "sm"
62
- });
63
-
64
- it('renders the MoreVertIcon with prop variant=warning and size=s', function () {
65
- expect(mount(_ref8)).toMatchSnapshot();
66
- });
67
-
68
- var _ref9 = /*#__PURE__*/React.createElement(MoreVertIcon, {
69
- variant: "warning",
70
- size: "xl"
71
- });
72
-
73
- it('renders the MoreVertIcon with prop variant=error and size= xl', function () {
74
- expect(mount(_ref9)).toMatchSnapshot();
75
- });
@@ -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
- `;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
-
3
- var _ref = /*#__PURE__*/React.createElement("path", {
4
- 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"
5
- });
6
-
7
- export function search() {
8
- return /*#__PURE__*/React.createElement(React.Fragment, null, _ref);
9
- }
10
- search.props = [];
11
- export default search;
@@ -1,9 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
4
- export var SearchIcon = function SearchIcon(props) {
5
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
- icon: "search"
7
- }));
8
- };
9
- export default SearchIcon;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { mount } from 'enzyme';
3
- import SearchIcon from '@digigov/react-icons/SearchIcon';
4
-
5
- var _ref = /*#__PURE__*/React.createElement(SearchIcon, null);
6
-
7
- it('renders the SearchIcon with no props', function () {
8
- expect(mount(_ref)).toMatchSnapshot();
9
- });