@digigov/react-core 0.5.5 → 0.6.2

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 (133) hide show
  1. package/ArrowIcon/__snapshots__/index.test.tsx.snap +83 -0
  2. package/ArrowIcon/index.d.ts +16 -0
  3. package/ArrowIcon/index.js +59 -0
  4. package/ArrowIcon/index.test.d.ts +1 -0
  5. package/ArrowIcon/index.test.js +39 -0
  6. package/BackLink/index.d.ts +1 -1
  7. package/BackLink/index.js +5 -3
  8. package/BurgerIcon/__snapshots__/index.test.tsx.snap +353 -40
  9. package/BurgerIcon/index.d.ts +15 -3
  10. package/BurgerIcon/index.js +31 -12
  11. package/BurgerIcon/index.test.js +74 -6
  12. package/Button/index.d.ts +1 -1
  13. package/ButtonLink/index.d.ts +1 -1
  14. package/CHANGELOG.md +27 -1
  15. package/CallToAction/index.d.ts +1 -1
  16. package/CallToAction/index.js +3 -8
  17. package/CaretIcon/__snapshots__/index.test.tsx.snap +83 -0
  18. package/CaretIcon/index.d.ts +16 -0
  19. package/CaretIcon/index.js +59 -0
  20. package/CaretIcon/index.test.d.ts +1 -0
  21. package/CaretIcon/index.test.js +39 -0
  22. package/CheckIcon/__snapshots__/index.test.tsx.snap +316 -0
  23. package/CheckIcon/index.d.ts +15 -0
  24. package/CheckIcon/index.js +44 -0
  25. package/CheckIcon/index.test.d.ts +1 -0
  26. package/CheckIcon/index.test.js +129 -0
  27. package/CheckboxItem/index.d.ts +1 -1
  28. package/CloseIcon/__snapshots__/index.test.tsx.snap +20 -0
  29. package/CloseIcon/index.d.ts +16 -0
  30. package/CloseIcon/index.js +45 -0
  31. package/CloseIcon/index.test.d.ts +1 -0
  32. package/CloseIcon/index.test.js +15 -0
  33. package/DateInputItem/index.d.ts +2 -2
  34. package/DateInputItem/index.js +5 -5
  35. package/Fieldset/index.d.ts +1 -1
  36. package/FieldsetLegend/index.d.ts +1 -1
  37. package/FileUpload/index.d.ts +1 -1
  38. package/FooterContainer/index.d.ts +8 -1
  39. package/FooterContainer/index.js +4 -2
  40. package/FooterImage/index.d.ts +1 -1
  41. package/FooterLink/index.d.ts +1 -1
  42. package/GovGRLogo/index.d.ts +1 -1
  43. package/Grid/index.d.ts +1 -1
  44. package/HeaderLogo/index.d.ts +1 -1
  45. package/HeaderSecondaryLogo/index.d.ts +1 -1
  46. package/HeaderTitle/index.d.ts +1 -1
  47. package/HellenicRepublicLogo/index.d.ts +1 -1
  48. package/LabelTitle/index.d.ts +1 -1
  49. package/Link/index.d.ts +1 -1
  50. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +512 -0
  51. package/MoreVertIcon/index.d.ts +15 -0
  52. package/MoreVertIcon/index.js +58 -0
  53. package/MoreVertIcon/index.test.d.ts +1 -0
  54. package/MoreVertIcon/index.test.js +129 -0
  55. package/NavHorizontalListItem/index.d.ts +1 -1
  56. package/NavVerticalItem/index.d.ts +1 -1
  57. package/NotificationBannerLink/index.d.ts +1 -1
  58. package/RadioItem/index.d.ts +1 -1
  59. package/Select/index.d.ts +1 -1
  60. package/SvgIcon/__snapshots__/index.test.tsx.snap +224 -0
  61. package/SvgIcon/index.d.ts +20 -0
  62. package/SvgIcon/index.js +41 -0
  63. package/SvgIcon/index.test.d.ts +1 -0
  64. package/SvgIcon/index.test.js +129 -0
  65. package/TabsListItem/index.d.ts +1 -1
  66. package/TextArea/index.d.ts +1 -1
  67. package/TextInput/index.d.ts +1 -1
  68. package/UncheckIcon/__snapshots__/index.test.tsx.snap +332 -0
  69. package/UncheckIcon/index.d.ts +15 -0
  70. package/UncheckIcon/index.js +44 -0
  71. package/UncheckIcon/index.test.d.ts +1 -0
  72. package/UncheckIcon/index.test.js +129 -0
  73. package/es/ArrowIcon/__snapshots__/index.test.tsx.snap +83 -0
  74. package/es/ArrowIcon/index.js +43 -0
  75. package/es/ArrowIcon/index.test.js +33 -0
  76. package/es/BackLink/index.js +4 -3
  77. package/es/BurgerIcon/__snapshots__/index.test.tsx.snap +353 -40
  78. package/es/BurgerIcon/index.js +30 -12
  79. package/es/BurgerIcon/index.test.js +74 -6
  80. package/es/CallToAction/index.js +2 -8
  81. package/es/CaretIcon/__snapshots__/index.test.tsx.snap +83 -0
  82. package/es/CaretIcon/index.js +43 -0
  83. package/es/CaretIcon/index.test.js +33 -0
  84. package/es/CheckIcon/__snapshots__/index.test.tsx.snap +316 -0
  85. package/es/CheckIcon/index.js +28 -0
  86. package/es/CheckIcon/index.test.js +123 -0
  87. package/es/CloseIcon/__snapshots__/index.test.tsx.snap +20 -0
  88. package/es/CloseIcon/index.js +29 -0
  89. package/es/CloseIcon/index.test.js +9 -0
  90. package/es/DateInputItem/index.js +5 -5
  91. package/es/FooterContainer/index.js +4 -2
  92. package/es/MoreVertIcon/__snapshots__/index.test.tsx.snap +512 -0
  93. package/es/MoreVertIcon/index.js +42 -0
  94. package/es/MoreVertIcon/index.test.js +123 -0
  95. package/es/SvgIcon/__snapshots__/index.test.tsx.snap +224 -0
  96. package/es/SvgIcon/index.js +26 -0
  97. package/es/SvgIcon/index.test.js +123 -0
  98. package/es/UncheckIcon/__snapshots__/index.test.tsx.snap +332 -0
  99. package/es/UncheckIcon/index.js +28 -0
  100. package/es/UncheckIcon/index.test.js +123 -0
  101. package/es/index.js +7 -0
  102. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +83 -0
  103. package/esm/ArrowIcon/index.js +43 -0
  104. package/esm/ArrowIcon/index.test.js +33 -0
  105. package/esm/BackLink/index.js +4 -3
  106. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +353 -40
  107. package/esm/BurgerIcon/index.js +30 -12
  108. package/esm/BurgerIcon/index.test.js +74 -6
  109. package/esm/CallToAction/index.js +2 -8
  110. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +83 -0
  111. package/esm/CaretIcon/index.js +43 -0
  112. package/esm/CaretIcon/index.test.js +33 -0
  113. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +316 -0
  114. package/esm/CheckIcon/index.js +28 -0
  115. package/esm/CheckIcon/index.test.js +123 -0
  116. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +20 -0
  117. package/esm/CloseIcon/index.js +29 -0
  118. package/esm/CloseIcon/index.test.js +9 -0
  119. package/esm/DateInputItem/index.js +5 -5
  120. package/esm/FooterContainer/index.js +4 -2
  121. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +512 -0
  122. package/esm/MoreVertIcon/index.js +42 -0
  123. package/esm/MoreVertIcon/index.test.js +123 -0
  124. package/esm/SvgIcon/__snapshots__/index.test.tsx.snap +224 -0
  125. package/esm/SvgIcon/index.js +26 -0
  126. package/esm/SvgIcon/index.test.js +123 -0
  127. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +332 -0
  128. package/esm/UncheckIcon/index.js +28 -0
  129. package/esm/UncheckIcon/index.test.js +123 -0
  130. package/esm/index.js +8 -1
  131. package/index.d.ts +7 -0
  132. package/index.js +56 -0
  133. package/package.json +2 -2
@@ -0,0 +1,512 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the MoreVertIcon with no props 1`] = `
4
+ <ForwardRef(MoreVertIcon)>
5
+ <ForwardRef(SvgIcon)
6
+ className="govgr-svg-icon--check"
7
+ >
8
+ <svg
9
+ aria-hidden="true"
10
+ className="govgr-svg-icon--dark govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
11
+ focusable="false"
12
+ viewBox="0 0 24 24"
13
+ >
14
+ <circle
15
+ cx="12"
16
+ cy="5"
17
+ r="2"
18
+ />
19
+ <circle
20
+ cx="12"
21
+ cy="12"
22
+ r="2"
23
+ />
24
+ <circle
25
+ cx="12"
26
+ cy="19"
27
+ r="2"
28
+ />
29
+ </svg>
30
+ </ForwardRef(SvgIcon)>
31
+ </ForwardRef(MoreVertIcon)>
32
+ `;
33
+
34
+ exports[`renders the MoreVertIcon with prop size=l 1`] = `
35
+ <ForwardRef(MoreVertIcon)
36
+ size="l"
37
+ >
38
+ <ForwardRef(SvgIcon)
39
+ className="govgr-svg-icon--check"
40
+ size="l"
41
+ >
42
+ <svg
43
+ aria-hidden="true"
44
+ className="govgr-svg-icon--dark govgr-svg-icon--l govgr-svg-icon--check govgr-svg-icon"
45
+ focusable="false"
46
+ viewBox="0 0 24 24"
47
+ >
48
+ <circle
49
+ cx="12"
50
+ cy="5"
51
+ r="2"
52
+ />
53
+ <circle
54
+ cx="12"
55
+ cy="12"
56
+ r="2"
57
+ />
58
+ <circle
59
+ cx="12"
60
+ cy="19"
61
+ r="2"
62
+ />
63
+ </svg>
64
+ </ForwardRef(SvgIcon)>
65
+ </ForwardRef(MoreVertIcon)>
66
+ `;
67
+
68
+ exports[`renders the MoreVertIcon with prop size=m 1`] = `
69
+ <ForwardRef(MoreVertIcon)
70
+ size="m"
71
+ >
72
+ <ForwardRef(SvgIcon)
73
+ className="govgr-svg-icon--check"
74
+ size="m"
75
+ >
76
+ <svg
77
+ aria-hidden="true"
78
+ className="govgr-svg-icon--dark govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
79
+ focusable="false"
80
+ viewBox="0 0 24 24"
81
+ >
82
+ <circle
83
+ cx="12"
84
+ cy="5"
85
+ r="2"
86
+ />
87
+ <circle
88
+ cx="12"
89
+ cy="12"
90
+ r="2"
91
+ />
92
+ <circle
93
+ cx="12"
94
+ cy="19"
95
+ r="2"
96
+ />
97
+ </svg>
98
+ </ForwardRef(SvgIcon)>
99
+ </ForwardRef(MoreVertIcon)>
100
+ `;
101
+
102
+ exports[`renders the MoreVertIcon with prop size=s 1`] = `
103
+ <ForwardRef(MoreVertIcon)
104
+ size="s"
105
+ >
106
+ <ForwardRef(SvgIcon)
107
+ className="govgr-svg-icon--check"
108
+ size="s"
109
+ >
110
+ <svg
111
+ aria-hidden="true"
112
+ className="govgr-svg-icon--dark govgr-svg-icon--s govgr-svg-icon--check govgr-svg-icon"
113
+ focusable="false"
114
+ viewBox="0 0 24 24"
115
+ >
116
+ <circle
117
+ cx="12"
118
+ cy="5"
119
+ r="2"
120
+ />
121
+ <circle
122
+ cx="12"
123
+ cy="12"
124
+ r="2"
125
+ />
126
+ <circle
127
+ cx="12"
128
+ cy="19"
129
+ r="2"
130
+ />
131
+ </svg>
132
+ </ForwardRef(SvgIcon)>
133
+ </ForwardRef(MoreVertIcon)>
134
+ `;
135
+
136
+ exports[`renders the MoreVertIcon with prop size=xl 1`] = `
137
+ <ForwardRef(MoreVertIcon)
138
+ size="xl"
139
+ >
140
+ <ForwardRef(SvgIcon)
141
+ className="govgr-svg-icon--check"
142
+ size="xl"
143
+ >
144
+ <svg
145
+ aria-hidden="true"
146
+ className="govgr-svg-icon--dark govgr-svg-icon--xl govgr-svg-icon--check govgr-svg-icon"
147
+ focusable="false"
148
+ viewBox="0 0 24 24"
149
+ >
150
+ <circle
151
+ cx="12"
152
+ cy="5"
153
+ r="2"
154
+ />
155
+ <circle
156
+ cx="12"
157
+ cy="12"
158
+ r="2"
159
+ />
160
+ <circle
161
+ cx="12"
162
+ cy="19"
163
+ r="2"
164
+ />
165
+ </svg>
166
+ </ForwardRef(SvgIcon)>
167
+ </ForwardRef(MoreVertIcon)>
168
+ `;
169
+
170
+ exports[`renders the MoreVertIcon with prop variant=dark 1`] = `
171
+ <ForwardRef(MoreVertIcon)
172
+ variant="dark"
173
+ >
174
+ <ForwardRef(SvgIcon)
175
+ className="govgr-svg-icon--check"
176
+ variant="dark"
177
+ >
178
+ <svg
179
+ aria-hidden="true"
180
+ className="govgr-svg-icon--dark govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
181
+ focusable="false"
182
+ viewBox="0 0 24 24"
183
+ >
184
+ <circle
185
+ cx="12"
186
+ cy="5"
187
+ r="2"
188
+ />
189
+ <circle
190
+ cx="12"
191
+ cy="12"
192
+ r="2"
193
+ />
194
+ <circle
195
+ cx="12"
196
+ cy="19"
197
+ r="2"
198
+ />
199
+ </svg>
200
+ </ForwardRef(SvgIcon)>
201
+ </ForwardRef(MoreVertIcon)>
202
+ `;
203
+
204
+ exports[`renders the MoreVertIcon with prop variant=error 1`] = `
205
+ <ForwardRef(MoreVertIcon)
206
+ variant="error"
207
+ >
208
+ <ForwardRef(SvgIcon)
209
+ className="govgr-svg-icon--check"
210
+ variant="error"
211
+ >
212
+ <svg
213
+ aria-hidden="true"
214
+ className="govgr-svg-icon--error govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
215
+ focusable="false"
216
+ viewBox="0 0 24 24"
217
+ >
218
+ <circle
219
+ cx="12"
220
+ cy="5"
221
+ r="2"
222
+ />
223
+ <circle
224
+ cx="12"
225
+ cy="12"
226
+ r="2"
227
+ />
228
+ <circle
229
+ cx="12"
230
+ cy="19"
231
+ r="2"
232
+ />
233
+ </svg>
234
+ </ForwardRef(SvgIcon)>
235
+ </ForwardRef(MoreVertIcon)>
236
+ `;
237
+
238
+ exports[`renders the MoreVertIcon with prop variant=error and size= xl 1`] = `
239
+ <ForwardRef(MoreVertIcon)
240
+ size="xl"
241
+ variant="warning"
242
+ >
243
+ <ForwardRef(SvgIcon)
244
+ className="govgr-svg-icon--check"
245
+ size="xl"
246
+ variant="warning"
247
+ >
248
+ <svg
249
+ aria-hidden="true"
250
+ className="govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon--check govgr-svg-icon"
251
+ focusable="false"
252
+ viewBox="0 0 24 24"
253
+ >
254
+ <circle
255
+ cx="12"
256
+ cy="5"
257
+ r="2"
258
+ />
259
+ <circle
260
+ cx="12"
261
+ cy="12"
262
+ r="2"
263
+ />
264
+ <circle
265
+ cx="12"
266
+ cy="19"
267
+ r="2"
268
+ />
269
+ </svg>
270
+ </ForwardRef(SvgIcon)>
271
+ </ForwardRef(MoreVertIcon)>
272
+ `;
273
+
274
+ exports[`renders the MoreVertIcon with prop variant=focus 1`] = `
275
+ <ForwardRef(MoreVertIcon)
276
+ variant="focus"
277
+ >
278
+ <ForwardRef(SvgIcon)
279
+ className="govgr-svg-icon--check"
280
+ variant="focus"
281
+ >
282
+ <svg
283
+ aria-hidden="true"
284
+ className="govgr-svg-icon--focus govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
285
+ focusable="false"
286
+ viewBox="0 0 24 24"
287
+ >
288
+ <circle
289
+ cx="12"
290
+ cy="5"
291
+ r="2"
292
+ />
293
+ <circle
294
+ cx="12"
295
+ cy="12"
296
+ r="2"
297
+ />
298
+ <circle
299
+ cx="12"
300
+ cy="19"
301
+ r="2"
302
+ />
303
+ </svg>
304
+ </ForwardRef(SvgIcon)>
305
+ </ForwardRef(MoreVertIcon)>
306
+ `;
307
+
308
+ exports[`renders the MoreVertIcon with prop variant=gray 1`] = `
309
+ <ForwardRef(MoreVertIcon)
310
+ variant="gray"
311
+ >
312
+ <ForwardRef(SvgIcon)
313
+ className="govgr-svg-icon--check"
314
+ variant="gray"
315
+ >
316
+ <svg
317
+ aria-hidden="true"
318
+ className="govgr-svg-icon--gray govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
319
+ focusable="false"
320
+ viewBox="0 0 24 24"
321
+ >
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
+ </svg>
338
+ </ForwardRef(SvgIcon)>
339
+ </ForwardRef(MoreVertIcon)>
340
+ `;
341
+
342
+ exports[`renders the MoreVertIcon with prop variant=light 1`] = `
343
+ <ForwardRef(MoreVertIcon)
344
+ variant="light"
345
+ >
346
+ <ForwardRef(SvgIcon)
347
+ className="govgr-svg-icon--check"
348
+ variant="light"
349
+ >
350
+ <svg
351
+ aria-hidden="true"
352
+ className="govgr-svg-icon--light govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
353
+ focusable="false"
354
+ viewBox="0 0 24 24"
355
+ >
356
+ <circle
357
+ cx="12"
358
+ cy="5"
359
+ r="2"
360
+ />
361
+ <circle
362
+ cx="12"
363
+ cy="12"
364
+ r="2"
365
+ />
366
+ <circle
367
+ cx="12"
368
+ cy="19"
369
+ r="2"
370
+ />
371
+ </svg>
372
+ </ForwardRef(SvgIcon)>
373
+ </ForwardRef(MoreVertIcon)>
374
+ `;
375
+
376
+ exports[`renders the MoreVertIcon with prop variant=primary 1`] = `
377
+ <ForwardRef(MoreVertIcon)
378
+ variant="primary"
379
+ >
380
+ <ForwardRef(SvgIcon)
381
+ className="govgr-svg-icon--check"
382
+ variant="primary"
383
+ >
384
+ <svg
385
+ aria-hidden="true"
386
+ className="govgr-svg-icon--primary govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
387
+ focusable="false"
388
+ viewBox="0 0 24 24"
389
+ >
390
+ <circle
391
+ cx="12"
392
+ cy="5"
393
+ r="2"
394
+ />
395
+ <circle
396
+ cx="12"
397
+ cy="12"
398
+ r="2"
399
+ />
400
+ <circle
401
+ cx="12"
402
+ cy="19"
403
+ r="2"
404
+ />
405
+ </svg>
406
+ </ForwardRef(SvgIcon)>
407
+ </ForwardRef(MoreVertIcon)>
408
+ `;
409
+
410
+ exports[`renders the MoreVertIcon with prop variant=success 1`] = `
411
+ <ForwardRef(MoreVertIcon)
412
+ variant="success"
413
+ >
414
+ <ForwardRef(SvgIcon)
415
+ className="govgr-svg-icon--check"
416
+ variant="success"
417
+ >
418
+ <svg
419
+ aria-hidden="true"
420
+ className="govgr-svg-icon--success govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
421
+ focusable="false"
422
+ viewBox="0 0 24 24"
423
+ >
424
+ <circle
425
+ cx="12"
426
+ cy="5"
427
+ r="2"
428
+ />
429
+ <circle
430
+ cx="12"
431
+ cy="12"
432
+ r="2"
433
+ />
434
+ <circle
435
+ cx="12"
436
+ cy="19"
437
+ r="2"
438
+ />
439
+ </svg>
440
+ </ForwardRef(SvgIcon)>
441
+ </ForwardRef(MoreVertIcon)>
442
+ `;
443
+
444
+ exports[`renders the MoreVertIcon with prop variant=warning 1`] = `
445
+ <ForwardRef(MoreVertIcon)
446
+ variant="warning"
447
+ >
448
+ <ForwardRef(SvgIcon)
449
+ className="govgr-svg-icon--check"
450
+ variant="warning"
451
+ >
452
+ <svg
453
+ aria-hidden="true"
454
+ className="govgr-svg-icon--warning govgr-svg-icon--m govgr-svg-icon--check govgr-svg-icon"
455
+ focusable="false"
456
+ viewBox="0 0 24 24"
457
+ >
458
+ <circle
459
+ cx="12"
460
+ cy="5"
461
+ r="2"
462
+ />
463
+ <circle
464
+ cx="12"
465
+ cy="12"
466
+ r="2"
467
+ />
468
+ <circle
469
+ cx="12"
470
+ cy="19"
471
+ r="2"
472
+ />
473
+ </svg>
474
+ </ForwardRef(SvgIcon)>
475
+ </ForwardRef(MoreVertIcon)>
476
+ `;
477
+
478
+ exports[`renders the MoreVertIcon with prop variant=warning and size=s 1`] = `
479
+ <ForwardRef(MoreVertIcon)
480
+ size="s"
481
+ variant="warning"
482
+ >
483
+ <ForwardRef(SvgIcon)
484
+ className="govgr-svg-icon--check"
485
+ size="s"
486
+ variant="warning"
487
+ >
488
+ <svg
489
+ aria-hidden="true"
490
+ className="govgr-svg-icon--warning govgr-svg-icon--s govgr-svg-icon--check govgr-svg-icon"
491
+ focusable="false"
492
+ viewBox="0 0 24 24"
493
+ >
494
+ <circle
495
+ cx="12"
496
+ cy="5"
497
+ r="2"
498
+ />
499
+ <circle
500
+ cx="12"
501
+ cy="12"
502
+ r="2"
503
+ />
504
+ <circle
505
+ cx="12"
506
+ cy="19"
507
+ r="2"
508
+ />
509
+ </svg>
510
+ </ForwardRef(SvgIcon)>
511
+ </ForwardRef(MoreVertIcon)>
512
+ `;
@@ -0,0 +1,42 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["size", "variant", "className"];
4
+ import React from 'react';
5
+ import SvgIcon from '@digigov/react-core/SvgIcon';
6
+ import clsx from 'clsx';
7
+
8
+ var _ref2 = /*#__PURE__*/React.createElement("circle", {
9
+ cx: "12",
10
+ cy: "5",
11
+ r: "2"
12
+ });
13
+
14
+ var _ref3 = /*#__PURE__*/React.createElement("circle", {
15
+ cx: "12",
16
+ cy: "12",
17
+ r: "2"
18
+ });
19
+
20
+ var _ref4 = /*#__PURE__*/React.createElement("circle", {
21
+ cx: "12",
22
+ cy: "19",
23
+ r: "2"
24
+ });
25
+
26
+ /**
27
+ * Use MoreVertIcon component when you need to show more options.
28
+ */
29
+ export var MoreVertIcon = /*#__PURE__*/React.forwardRef(function MoreVertIcon(_ref, ref) {
30
+ var size = _ref.size,
31
+ variant = _ref.variant,
32
+ className = _ref.className,
33
+ props = _objectWithoutProperties(_ref, _excluded);
34
+
35
+ return /*#__PURE__*/React.createElement(SvgIcon, _extends({
36
+ size: size,
37
+ variant: variant,
38
+ className: clsx(className && className, true && 'govgr-svg-icon--check'),
39
+ ref: ref
40
+ }, props), _ref2, _ref3, _ref4);
41
+ });
42
+ export default MoreVertIcon;
@@ -0,0 +1,123 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import MoreVertIcon from '@digigov/react-core/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: "s"
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: "m"
21
+ });
22
+
23
+ it('renders the MoreVertIcon with prop size=m', function () {
24
+ expect(mount(_ref3)).toMatchSnapshot();
25
+ });
26
+
27
+ var _ref4 = /*#__PURE__*/React.createElement(MoreVertIcon, {
28
+ size: "l"
29
+ });
30
+
31
+ it('renders the MoreVertIcon with prop size=l', function () {
32
+ expect(mount(_ref4)).toMatchSnapshot();
33
+ });
34
+
35
+ var _ref5 = /*#__PURE__*/React.createElement(MoreVertIcon, {
36
+ size: "xl"
37
+ });
38
+
39
+ it('renders the MoreVertIcon with prop size=xl', function () {
40
+ expect(mount(_ref5)).toMatchSnapshot();
41
+ });
42
+
43
+ var _ref6 = /*#__PURE__*/React.createElement(MoreVertIcon, {
44
+ variant: "dark"
45
+ });
46
+
47
+ it('renders the MoreVertIcon with prop variant=dark', function () {
48
+ expect(mount(_ref6)).toMatchSnapshot();
49
+ });
50
+
51
+ var _ref7 = /*#__PURE__*/React.createElement(MoreVertIcon, {
52
+ variant: "light"
53
+ });
54
+
55
+ it('renders the MoreVertIcon with prop variant=light', function () {
56
+ expect(mount(_ref7)).toMatchSnapshot();
57
+ });
58
+
59
+ var _ref8 = /*#__PURE__*/React.createElement(MoreVertIcon, {
60
+ variant: "gray"
61
+ });
62
+
63
+ it('renders the MoreVertIcon with prop variant=gray', function () {
64
+ expect(mount(_ref8)).toMatchSnapshot();
65
+ });
66
+
67
+ var _ref9 = /*#__PURE__*/React.createElement(MoreVertIcon, {
68
+ variant: "primary"
69
+ });
70
+
71
+ it('renders the MoreVertIcon with prop variant=primary', function () {
72
+ expect(mount(_ref9)).toMatchSnapshot();
73
+ });
74
+
75
+ var _ref10 = /*#__PURE__*/React.createElement(MoreVertIcon, {
76
+ variant: "success"
77
+ });
78
+
79
+ it('renders the MoreVertIcon with prop variant=success', function () {
80
+ expect(mount(_ref10)).toMatchSnapshot();
81
+ });
82
+
83
+ var _ref11 = /*#__PURE__*/React.createElement(MoreVertIcon, {
84
+ variant: "warning"
85
+ });
86
+
87
+ it('renders the MoreVertIcon with prop variant=warning', function () {
88
+ expect(mount(_ref11)).toMatchSnapshot();
89
+ });
90
+
91
+ var _ref12 = /*#__PURE__*/React.createElement(MoreVertIcon, {
92
+ variant: "error"
93
+ });
94
+
95
+ it('renders the MoreVertIcon with prop variant=error', function () {
96
+ expect(mount(_ref12)).toMatchSnapshot();
97
+ });
98
+
99
+ var _ref13 = /*#__PURE__*/React.createElement(MoreVertIcon, {
100
+ variant: "focus"
101
+ });
102
+
103
+ it('renders the MoreVertIcon with prop variant=focus', function () {
104
+ expect(mount(_ref13)).toMatchSnapshot();
105
+ });
106
+
107
+ var _ref14 = /*#__PURE__*/React.createElement(MoreVertIcon, {
108
+ variant: "warning",
109
+ size: "s"
110
+ });
111
+
112
+ it('renders the MoreVertIcon with prop variant=warning and size=s', function () {
113
+ expect(mount(_ref14)).toMatchSnapshot();
114
+ });
115
+
116
+ var _ref15 = /*#__PURE__*/React.createElement(MoreVertIcon, {
117
+ variant: "warning",
118
+ size: "xl"
119
+ });
120
+
121
+ it('renders the MoreVertIcon with prop variant=error and size= xl', function () {
122
+ expect(mount(_ref15)).toMatchSnapshot();
123
+ });