@digigov/react-core 0.5.2 → 0.6.0

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 (123) hide show
  1. package/ArrowIcon/__snapshots__/index.test.tsx.snap +67 -0
  2. package/ArrowIcon/index.d.ts +15 -0
  3. package/ArrowIcon/index.js +73 -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 +146 -30
  9. package/BurgerIcon/index.d.ts +9 -3
  10. package/BurgerIcon/index.js +50 -11
  11. package/BurgerIcon/index.test.js +32 -6
  12. package/Button/index.d.ts +1 -1
  13. package/ButtonLink/index.d.ts +1 -1
  14. package/CHANGELOG.md +31 -1
  15. package/CallToAction/index.d.ts +1 -1
  16. package/CallToAction/index.js +3 -8
  17. package/CaretIcon/__snapshots__/index.test.tsx.snap +67 -0
  18. package/CaretIcon/index.d.ts +15 -0
  19. package/CaretIcon/index.js +73 -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 +256 -0
  23. package/CheckIcon/index.d.ts +19 -0
  24. package/CheckIcon/index.js +68 -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 +16 -0
  29. package/CloseIcon/index.d.ts +10 -0
  30. package/CloseIcon/index.js +42 -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/FileUpload/index.d.ts +1 -1
  37. package/FooterContainer/index.d.ts +8 -1
  38. package/FooterContainer/index.js +4 -2
  39. package/FooterImage/index.d.ts +1 -1
  40. package/FooterLink/index.d.ts +1 -1
  41. package/GovGRLogo/index.d.ts +1 -1
  42. package/Grid/index.d.ts +1 -1
  43. package/HeaderLogo/index.d.ts +1 -1
  44. package/HeaderSecondaryLogo/index.d.ts +1 -1
  45. package/HeaderTitle/index.d.ts +1 -1
  46. package/HellenicRepublicLogo/index.d.ts +1 -1
  47. package/Link/index.d.ts +1 -1
  48. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +436 -0
  49. package/MoreVertIcon/index.d.ts +19 -0
  50. package/MoreVertIcon/index.js +82 -0
  51. package/MoreVertIcon/index.test.d.ts +1 -0
  52. package/MoreVertIcon/index.test.js +129 -0
  53. package/NavHorizontalListItem/index.d.ts +1 -1
  54. package/NavVerticalItem/index.d.ts +1 -1
  55. package/NormalText/index.d.ts +1 -1
  56. package/NotificationBannerLink/index.d.ts +1 -1
  57. package/Paragraph/index.d.ts +1 -1
  58. package/RadioItem/index.d.ts +1 -1
  59. package/Select/index.d.ts +1 -1
  60. package/Table/index.d.ts +1 -1
  61. package/TabsListItem/index.d.ts +1 -1
  62. package/TextArea/index.d.ts +1 -1
  63. package/TextInput/index.d.ts +1 -1
  64. package/UncheckIcon/__snapshots__/index.test.tsx.snap +256 -0
  65. package/UncheckIcon/index.d.ts +19 -0
  66. package/UncheckIcon/index.js +68 -0
  67. package/UncheckIcon/index.test.d.ts +1 -0
  68. package/UncheckIcon/index.test.js +129 -0
  69. package/es/ArrowIcon/__snapshots__/index.test.tsx.snap +67 -0
  70. package/es/ArrowIcon/index.js +50 -0
  71. package/es/ArrowIcon/index.test.js +33 -0
  72. package/es/BackLink/index.js +4 -3
  73. package/es/BurgerIcon/__snapshots__/index.test.tsx.snap +146 -30
  74. package/es/BurgerIcon/index.js +42 -11
  75. package/es/BurgerIcon/index.test.js +32 -6
  76. package/es/CallToAction/index.js +2 -8
  77. package/es/CaretIcon/__snapshots__/index.test.tsx.snap +67 -0
  78. package/es/CaretIcon/index.js +50 -0
  79. package/es/CaretIcon/index.test.js +33 -0
  80. package/es/CheckIcon/__snapshots__/index.test.tsx.snap +256 -0
  81. package/es/CheckIcon/index.js +45 -0
  82. package/es/CheckIcon/index.test.js +123 -0
  83. package/es/CloseIcon/__snapshots__/index.test.tsx.snap +16 -0
  84. package/es/CloseIcon/index.js +27 -0
  85. package/es/CloseIcon/index.test.js +9 -0
  86. package/es/DateInputItem/index.js +5 -5
  87. package/es/FooterContainer/index.js +4 -2
  88. package/es/MoreVertIcon/__snapshots__/index.test.tsx.snap +436 -0
  89. package/es/MoreVertIcon/index.js +59 -0
  90. package/es/MoreVertIcon/index.test.js +123 -0
  91. package/es/UncheckIcon/__snapshots__/index.test.tsx.snap +256 -0
  92. package/es/UncheckIcon/index.js +45 -0
  93. package/es/UncheckIcon/index.test.js +123 -0
  94. package/es/index.js +6 -0
  95. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +67 -0
  96. package/esm/ArrowIcon/index.js +50 -0
  97. package/esm/ArrowIcon/index.test.js +33 -0
  98. package/esm/BackLink/index.js +4 -3
  99. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +146 -30
  100. package/esm/BurgerIcon/index.js +42 -11
  101. package/esm/BurgerIcon/index.test.js +32 -6
  102. package/esm/CallToAction/index.js +2 -8
  103. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +67 -0
  104. package/esm/CaretIcon/index.js +50 -0
  105. package/esm/CaretIcon/index.test.js +33 -0
  106. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +256 -0
  107. package/esm/CheckIcon/index.js +45 -0
  108. package/esm/CheckIcon/index.test.js +123 -0
  109. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +16 -0
  110. package/esm/CloseIcon/index.js +27 -0
  111. package/esm/CloseIcon/index.test.js +9 -0
  112. package/esm/DateInputItem/index.js +5 -5
  113. package/esm/FooterContainer/index.js +4 -2
  114. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +436 -0
  115. package/esm/MoreVertIcon/index.js +59 -0
  116. package/esm/MoreVertIcon/index.test.js +123 -0
  117. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +256 -0
  118. package/esm/UncheckIcon/index.js +45 -0
  119. package/esm/UncheckIcon/index.test.js +123 -0
  120. package/esm/index.js +7 -1
  121. package/index.d.ts +6 -0
  122. package/index.js +48 -0
  123. package/package.json +3 -3
@@ -0,0 +1,436 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the MoreVertIcon with no props 1`] = `
4
+ <ForwardRef(MoreVertIcon)>
5
+ <svg
6
+ aria-hidden="true"
7
+ className="govgr-svg-icon--dark govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
8
+ focusable="false"
9
+ viewBox="0 0 24 24"
10
+ >
11
+ <circle
12
+ cx="12"
13
+ cy="5"
14
+ r="2"
15
+ />
16
+ <circle
17
+ cx="12"
18
+ cy="12"
19
+ r="2"
20
+ />
21
+ <circle
22
+ cx="12"
23
+ cy="19"
24
+ r="2"
25
+ />
26
+ </svg>
27
+ </ForwardRef(MoreVertIcon)>
28
+ `;
29
+
30
+ exports[`renders the MoreVertIcon with prop size=l 1`] = `
31
+ <ForwardRef(MoreVertIcon)
32
+ size="l"
33
+ >
34
+ <svg
35
+ aria-hidden="true"
36
+ className="govgr-svg-icon--dark govgr-svg-icon--l govgr-svg-icon govgr-svg-icon--more-vert"
37
+ focusable="false"
38
+ viewBox="0 0 24 24"
39
+ >
40
+ <circle
41
+ cx="12"
42
+ cy="5"
43
+ r="2"
44
+ />
45
+ <circle
46
+ cx="12"
47
+ cy="12"
48
+ r="2"
49
+ />
50
+ <circle
51
+ cx="12"
52
+ cy="19"
53
+ r="2"
54
+ />
55
+ </svg>
56
+ </ForwardRef(MoreVertIcon)>
57
+ `;
58
+
59
+ exports[`renders the MoreVertIcon with prop size=m 1`] = `
60
+ <ForwardRef(MoreVertIcon)
61
+ size="m"
62
+ >
63
+ <svg
64
+ aria-hidden="true"
65
+ className="govgr-svg-icon--dark govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
66
+ focusable="false"
67
+ viewBox="0 0 24 24"
68
+ >
69
+ <circle
70
+ cx="12"
71
+ cy="5"
72
+ r="2"
73
+ />
74
+ <circle
75
+ cx="12"
76
+ cy="12"
77
+ r="2"
78
+ />
79
+ <circle
80
+ cx="12"
81
+ cy="19"
82
+ r="2"
83
+ />
84
+ </svg>
85
+ </ForwardRef(MoreVertIcon)>
86
+ `;
87
+
88
+ exports[`renders the MoreVertIcon with prop size=s 1`] = `
89
+ <ForwardRef(MoreVertIcon)
90
+ size="s"
91
+ >
92
+ <svg
93
+ aria-hidden="true"
94
+ className="govgr-svg-icon--dark govgr-svg-icon--s govgr-svg-icon govgr-svg-icon--more-vert"
95
+ focusable="false"
96
+ viewBox="0 0 24 24"
97
+ >
98
+ <circle
99
+ cx="12"
100
+ cy="5"
101
+ r="2"
102
+ />
103
+ <circle
104
+ cx="12"
105
+ cy="12"
106
+ r="2"
107
+ />
108
+ <circle
109
+ cx="12"
110
+ cy="19"
111
+ r="2"
112
+ />
113
+ </svg>
114
+ </ForwardRef(MoreVertIcon)>
115
+ `;
116
+
117
+ exports[`renders the MoreVertIcon with prop size=xl 1`] = `
118
+ <ForwardRef(MoreVertIcon)
119
+ size="xl"
120
+ >
121
+ <svg
122
+ aria-hidden="true"
123
+ className="govgr-svg-icon--dark govgr-svg-icon--xl govgr-svg-icon govgr-svg-icon--more-vert"
124
+ focusable="false"
125
+ viewBox="0 0 24 24"
126
+ >
127
+ <circle
128
+ cx="12"
129
+ cy="5"
130
+ r="2"
131
+ />
132
+ <circle
133
+ cx="12"
134
+ cy="12"
135
+ r="2"
136
+ />
137
+ <circle
138
+ cx="12"
139
+ cy="19"
140
+ r="2"
141
+ />
142
+ </svg>
143
+ </ForwardRef(MoreVertIcon)>
144
+ `;
145
+
146
+ exports[`renders the MoreVertIcon with prop variant=dark 1`] = `
147
+ <ForwardRef(MoreVertIcon)
148
+ variant="dark"
149
+ >
150
+ <svg
151
+ aria-hidden="true"
152
+ className="govgr-svg-icon--dark govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
153
+ focusable="false"
154
+ viewBox="0 0 24 24"
155
+ >
156
+ <circle
157
+ cx="12"
158
+ cy="5"
159
+ r="2"
160
+ />
161
+ <circle
162
+ cx="12"
163
+ cy="12"
164
+ r="2"
165
+ />
166
+ <circle
167
+ cx="12"
168
+ cy="19"
169
+ r="2"
170
+ />
171
+ </svg>
172
+ </ForwardRef(MoreVertIcon)>
173
+ `;
174
+
175
+ exports[`renders the MoreVertIcon with prop variant=error 1`] = `
176
+ <ForwardRef(MoreVertIcon)
177
+ variant="error"
178
+ >
179
+ <svg
180
+ aria-hidden="true"
181
+ className="govgr-svg-icon--error govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
182
+ focusable="false"
183
+ viewBox="0 0 24 24"
184
+ >
185
+ <circle
186
+ cx="12"
187
+ cy="5"
188
+ r="2"
189
+ />
190
+ <circle
191
+ cx="12"
192
+ cy="12"
193
+ r="2"
194
+ />
195
+ <circle
196
+ cx="12"
197
+ cy="19"
198
+ r="2"
199
+ />
200
+ </svg>
201
+ </ForwardRef(MoreVertIcon)>
202
+ `;
203
+
204
+ exports[`renders the MoreVertIcon with prop variant=error and size= xl 1`] = `
205
+ <ForwardRef(MoreVertIcon)
206
+ size="xl"
207
+ variant="warning"
208
+ >
209
+ <svg
210
+ aria-hidden="true"
211
+ className="govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon govgr-svg-icon--more-vert"
212
+ focusable="false"
213
+ viewBox="0 0 24 24"
214
+ >
215
+ <circle
216
+ cx="12"
217
+ cy="5"
218
+ r="2"
219
+ />
220
+ <circle
221
+ cx="12"
222
+ cy="12"
223
+ r="2"
224
+ />
225
+ <circle
226
+ cx="12"
227
+ cy="19"
228
+ r="2"
229
+ />
230
+ </svg>
231
+ </ForwardRef(MoreVertIcon)>
232
+ `;
233
+
234
+ exports[`renders the MoreVertIcon with prop variant=focus 1`] = `
235
+ <ForwardRef(MoreVertIcon)
236
+ variant="focus"
237
+ >
238
+ <svg
239
+ aria-hidden="true"
240
+ className="govgr-svg-icon--focus govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
241
+ focusable="false"
242
+ viewBox="0 0 24 24"
243
+ >
244
+ <circle
245
+ cx="12"
246
+ cy="5"
247
+ r="2"
248
+ />
249
+ <circle
250
+ cx="12"
251
+ cy="12"
252
+ r="2"
253
+ />
254
+ <circle
255
+ cx="12"
256
+ cy="19"
257
+ r="2"
258
+ />
259
+ </svg>
260
+ </ForwardRef(MoreVertIcon)>
261
+ `;
262
+
263
+ exports[`renders the MoreVertIcon with prop variant=gray 1`] = `
264
+ <ForwardRef(MoreVertIcon)
265
+ variant="gray"
266
+ >
267
+ <svg
268
+ aria-hidden="true"
269
+ className="govgr-svg-icon--gray govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
270
+ focusable="false"
271
+ viewBox="0 0 24 24"
272
+ >
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
+ </svg>
289
+ </ForwardRef(MoreVertIcon)>
290
+ `;
291
+
292
+ exports[`renders the MoreVertIcon with prop variant=light 1`] = `
293
+ <ForwardRef(MoreVertIcon)
294
+ variant="light"
295
+ >
296
+ <svg
297
+ aria-hidden="true"
298
+ className="govgr-svg-icon--light govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
299
+ focusable="false"
300
+ viewBox="0 0 24 24"
301
+ >
302
+ <circle
303
+ cx="12"
304
+ cy="5"
305
+ r="2"
306
+ />
307
+ <circle
308
+ cx="12"
309
+ cy="12"
310
+ r="2"
311
+ />
312
+ <circle
313
+ cx="12"
314
+ cy="19"
315
+ r="2"
316
+ />
317
+ </svg>
318
+ </ForwardRef(MoreVertIcon)>
319
+ `;
320
+
321
+ exports[`renders the MoreVertIcon with prop variant=primary 1`] = `
322
+ <ForwardRef(MoreVertIcon)
323
+ variant="primary"
324
+ >
325
+ <svg
326
+ aria-hidden="true"
327
+ className="govgr-svg-icon--primary govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
328
+ focusable="false"
329
+ viewBox="0 0 24 24"
330
+ >
331
+ <circle
332
+ cx="12"
333
+ cy="5"
334
+ r="2"
335
+ />
336
+ <circle
337
+ cx="12"
338
+ cy="12"
339
+ r="2"
340
+ />
341
+ <circle
342
+ cx="12"
343
+ cy="19"
344
+ r="2"
345
+ />
346
+ </svg>
347
+ </ForwardRef(MoreVertIcon)>
348
+ `;
349
+
350
+ exports[`renders the MoreVertIcon with prop variant=success 1`] = `
351
+ <ForwardRef(MoreVertIcon)
352
+ variant="success"
353
+ >
354
+ <svg
355
+ aria-hidden="true"
356
+ className="govgr-svg-icon--success govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
357
+ focusable="false"
358
+ viewBox="0 0 24 24"
359
+ >
360
+ <circle
361
+ cx="12"
362
+ cy="5"
363
+ r="2"
364
+ />
365
+ <circle
366
+ cx="12"
367
+ cy="12"
368
+ r="2"
369
+ />
370
+ <circle
371
+ cx="12"
372
+ cy="19"
373
+ r="2"
374
+ />
375
+ </svg>
376
+ </ForwardRef(MoreVertIcon)>
377
+ `;
378
+
379
+ exports[`renders the MoreVertIcon with prop variant=warning 1`] = `
380
+ <ForwardRef(MoreVertIcon)
381
+ variant="warning"
382
+ >
383
+ <svg
384
+ aria-hidden="true"
385
+ className="govgr-svg-icon--warning govgr-svg-icon--m govgr-svg-icon govgr-svg-icon--more-vert"
386
+ focusable="false"
387
+ viewBox="0 0 24 24"
388
+ >
389
+ <circle
390
+ cx="12"
391
+ cy="5"
392
+ r="2"
393
+ />
394
+ <circle
395
+ cx="12"
396
+ cy="12"
397
+ r="2"
398
+ />
399
+ <circle
400
+ cx="12"
401
+ cy="19"
402
+ r="2"
403
+ />
404
+ </svg>
405
+ </ForwardRef(MoreVertIcon)>
406
+ `;
407
+
408
+ exports[`renders the MoreVertIcon with prop variant=warning and size=s 1`] = `
409
+ <ForwardRef(MoreVertIcon)
410
+ size="s"
411
+ variant="warning"
412
+ >
413
+ <svg
414
+ aria-hidden="true"
415
+ className="govgr-svg-icon--warning govgr-svg-icon--s govgr-svg-icon govgr-svg-icon--more-vert"
416
+ focusable="false"
417
+ viewBox="0 0 24 24"
418
+ >
419
+ <circle
420
+ cx="12"
421
+ cy="5"
422
+ r="2"
423
+ />
424
+ <circle
425
+ cx="12"
426
+ cy="12"
427
+ r="2"
428
+ />
429
+ <circle
430
+ cx="12"
431
+ cy="19"
432
+ r="2"
433
+ />
434
+ </svg>
435
+ </ForwardRef(MoreVertIcon)>
436
+ `;
@@ -0,0 +1,59 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["size", "variant", "className"];
5
+ import React, { useEffect, useState } from 'react';
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 _ref$size = _ref.size,
31
+ size = _ref$size === void 0 ? 'm' : _ref$size,
32
+ _ref$variant = _ref.variant,
33
+ variant = _ref$variant === void 0 ? 'dark' : _ref$variant,
34
+ className = _ref.className,
35
+ props = _objectWithoutProperties(_ref, _excluded);
36
+
37
+ var _useState = useState(size),
38
+ _useState2 = _slicedToArray(_useState, 2),
39
+ moreVertSize = _useState2[0],
40
+ setSize = _useState2[1];
41
+
42
+ var _useState3 = useState(variant),
43
+ _useState4 = _slicedToArray(_useState3, 2),
44
+ moreVertVariant = _useState4[0],
45
+ setVariant = _useState4[1];
46
+
47
+ useEffect(function () {
48
+ setSize(size);
49
+ setVariant(variant);
50
+ }, [size, variant]);
51
+ return /*#__PURE__*/React.createElement("svg", _extends({
52
+ ref: ref,
53
+ className: clsx(moreVertVariant === 'success' && 'govgr-svg-icon--success', moreVertVariant === 'primary' && 'govgr-svg-icon--primary', moreVertVariant === 'warning' && 'govgr-svg-icon--warning', moreVertVariant === 'light' && 'govgr-svg-icon--light', moreVertVariant === 'error' && 'govgr-svg-icon--error', moreVertVariant === 'focus' && 'govgr-svg-icon--focus', moreVertVariant === 'dark' && 'govgr-svg-icon--dark', moreVertVariant === 'gray' && 'govgr-svg-icon--gray', moreVertVariant === 'link' && 'govgr-svg-icon--link', moreVertSize === 'xl' && 'govgr-svg-icon--xl', moreVertSize === 's' && 'govgr-svg-icon--s', moreVertSize === 'm' && 'govgr-svg-icon--m', moreVertSize === 'l' && 'govgr-svg-icon--l', className && className, true && ['govgr-svg-icon', 'govgr-svg-icon--more-vert']),
54
+ focusable: "false",
55
+ viewBox: "0 0 24 24",
56
+ "aria-hidden": "true"
57
+ }, props), _ref2, _ref3, _ref4);
58
+ });
59
+ 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
+ });