@digigov/react-icons 1.0.0-6b93ebf2 → 1.0.0-88820b1e

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 (37) hide show
  1. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
  2. package/AccessibilityIcon/index.test.js +13 -69
  3. package/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
  4. package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
  5. package/CheckIcon/index.test.js +13 -69
  6. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
  7. package/MoreVertIcon/index.test.js +13 -61
  8. package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
  9. package/UncheckIcon/index.test.js +15 -63
  10. package/es/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
  11. package/es/AccessibilityIcon/index.test.js +13 -69
  12. package/es/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
  13. package/es/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
  14. package/es/CheckIcon/index.test.js +13 -69
  15. package/es/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
  16. package/es/MoreVertIcon/index.test.js +13 -61
  17. package/es/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
  18. package/es/UncheckIcon/index.test.js +15 -63
  19. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
  20. package/esm/AccessibilityIcon/index.test.js +13 -69
  21. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
  22. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
  23. package/esm/CheckIcon/index.test.js +13 -69
  24. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
  25. package/esm/MoreVertIcon/index.test.js +13 -61
  26. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
  27. package/esm/UncheckIcon/index.test.js +15 -63
  28. package/package.json +3 -3
  29. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
  30. package/src/AccessibilityIcon/index.test.tsx +0 -21
  31. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
  32. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
  33. package/src/CheckIcon/index.test.tsx +0 -21
  34. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
  35. package/src/MoreVertIcon/index.test.tsx +0 -18
  36. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
  37. package/src/UncheckIcon/index.test.tsx +0 -18
@@ -15,115 +15,67 @@ it('renders the UncheckIcon with no props', function () {
15
15
  });
16
16
 
17
17
  var _ref2 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
18
- size: "sm"
19
- });
20
-
21
- it('renders the UncheckIcon with prop size=s', function () {
22
- expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
23
- });
24
-
25
- var _ref3 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
26
18
  size: "md"
27
19
  });
28
20
 
29
21
  it('renders the UncheckIcon with prop size=m', function () {
30
- expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
+ expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
31
23
  });
32
24
 
33
- var _ref4 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
25
+ var _ref3 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
34
26
  size: "lg"
35
27
  });
36
28
 
37
29
  it('renders the UncheckIcon with prop size=l', function () {
38
- expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
39
- });
40
-
41
- var _ref5 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
42
- size: "xl"
43
- });
44
-
45
- it('renders the UncheckIcon with prop size=xl', function () {
46
- expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
30
+ expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
47
31
  });
48
32
 
49
- var _ref6 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
33
+ var _ref4 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
50
34
  variant: "dark"
51
35
  });
52
36
 
53
37
  it('renders the UncheckIcon with prop variant=dark', function () {
54
- expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
38
+ expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
55
39
  });
56
40
 
57
- var _ref7 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
41
+ var _ref5 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
58
42
  variant: "light"
59
43
  });
60
44
 
61
45
  it('renders the UncheckIcon with prop variant=light', function () {
62
- expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
46
+ expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
63
47
  });
64
48
 
65
- var _ref8 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
49
+ var _ref6 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
66
50
  variant: "gray"
67
51
  });
68
52
 
69
53
  it('renders the UncheckIcon with prop variant=gray', function () {
70
- expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
54
+ expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
71
55
  });
72
56
 
73
- var _ref9 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
57
+ var _ref7 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
74
58
  variant: "primary"
75
59
  });
76
60
 
77
61
  it('renders the UncheckIcon with prop variant=primary', function () {
78
- expect((0, _enzyme.mount)(_ref9)).toMatchSnapshot();
79
- });
80
-
81
- var _ref10 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
82
- variant: "success"
83
- });
84
-
85
- it('renders the UncheckIcon with prop variant=success', function () {
86
- expect((0, _enzyme.mount)(_ref10)).toMatchSnapshot();
87
- });
88
-
89
- var _ref11 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
90
- variant: "warning"
91
- });
92
-
93
- it('renders the UncheckIcon with prop variant=warning', function () {
94
- expect((0, _enzyme.mount)(_ref11)).toMatchSnapshot();
95
- });
96
-
97
- var _ref12 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
98
- variant: "error"
99
- });
100
-
101
- it('renders the UncheckIcon with prop variant=error', function () {
102
- expect((0, _enzyme.mount)(_ref12)).toMatchSnapshot();
103
- });
104
-
105
- var _ref13 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
106
- variant: "focus"
107
- });
108
-
109
- it('renders the UncheckIcon with prop variant=focus', function () {
110
- expect((0, _enzyme.mount)(_ref13)).toMatchSnapshot();
62
+ expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
111
63
  });
112
64
 
113
- var _ref14 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
65
+ var _ref8 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
114
66
  variant: "warning",
115
67
  size: "sm"
116
68
  });
117
69
 
118
70
  it('renders the UncheckIcon with prop variant=warning and size=s', function () {
119
- expect((0, _enzyme.mount)(_ref14)).toMatchSnapshot();
71
+ expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
120
72
  });
121
73
 
122
- var _ref15 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
74
+ var _ref9 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
123
75
  variant: "warning",
124
76
  size: "xl"
125
77
  });
126
78
 
127
79
  it('renders the UncheckIcon with prop variant=error and size= xl', function () {
128
- expect((0, _enzyme.mount)(_ref15)).toMatchSnapshot();
80
+ expect((0, _enzyme.mount)(_ref9)).toMatchSnapshot();
129
81
  });
@@ -86,51 +86,6 @@ exports[`renders the AccessibilityIcon with prop size=l 1`] = `
86
86
  </AccessibilityIcon>
87
87
  `;
88
88
 
89
- exports[`renders the AccessibilityIcon with prop size=m 1`] = `
90
- <AccessibilityIcon
91
- size="md"
92
- >
93
- <ForwardRef(Icon)
94
- icon="accessibility"
95
- size="md"
96
- >
97
- <ForwardRef(SvgIcon)
98
- className="govgr-svg-icon--accessibility"
99
- size="md"
100
- >
101
- <ForwardRef(Base)
102
- aria-hidden="true"
103
- as="svg"
104
- className="govgr-svg-icon--accessibility govgr-svg-icon--md govgr-svg-icon"
105
- focusable="false"
106
- viewBox="0 0 24 24"
107
- >
108
- <svg
109
- aria-hidden="true"
110
- className="govgr-svg-icon--accessibility govgr-svg-icon--md govgr-svg-icon"
111
- focusable="false"
112
- viewBox="0 0 24 24"
113
- >
114
- <accessibility>
115
- <title>
116
- Μενού Προσβασιμότητας
117
- </title>
118
- <circle
119
- cx="12"
120
- cy="3"
121
- r="3"
122
- />
123
- <path
124
- d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
125
- />
126
- </accessibility>
127
- </svg>
128
- </ForwardRef(Base)>
129
- </ForwardRef(SvgIcon)>
130
- </ForwardRef(Icon)>
131
- </AccessibilityIcon>
132
- `;
133
-
134
89
  exports[`renders the AccessibilityIcon with prop size=s 1`] = `
135
90
  <AccessibilityIcon
136
91
  size="sm"
@@ -176,96 +131,6 @@ exports[`renders the AccessibilityIcon with prop size=s 1`] = `
176
131
  </AccessibilityIcon>
177
132
  `;
178
133
 
179
- exports[`renders the AccessibilityIcon with prop size=xl 1`] = `
180
- <AccessibilityIcon
181
- size="xl"
182
- >
183
- <ForwardRef(Icon)
184
- icon="accessibility"
185
- size="xl"
186
- >
187
- <ForwardRef(SvgIcon)
188
- className="govgr-svg-icon--accessibility"
189
- size="xl"
190
- >
191
- <ForwardRef(Base)
192
- aria-hidden="true"
193
- as="svg"
194
- className="govgr-svg-icon--accessibility govgr-svg-icon--xl govgr-svg-icon"
195
- focusable="false"
196
- viewBox="0 0 24 24"
197
- >
198
- <svg
199
- aria-hidden="true"
200
- className="govgr-svg-icon--accessibility govgr-svg-icon--xl govgr-svg-icon"
201
- focusable="false"
202
- viewBox="0 0 24 24"
203
- >
204
- <accessibility>
205
- <title>
206
- Μενού Προσβασιμότητας
207
- </title>
208
- <circle
209
- cx="12"
210
- cy="3"
211
- r="3"
212
- />
213
- <path
214
- d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
215
- />
216
- </accessibility>
217
- </svg>
218
- </ForwardRef(Base)>
219
- </ForwardRef(SvgIcon)>
220
- </ForwardRef(Icon)>
221
- </AccessibilityIcon>
222
- `;
223
-
224
- exports[`renders the AccessibilityIcon with prop size=xl 2`] = `
225
- <AccessibilityIcon
226
- size="xxl"
227
- >
228
- <ForwardRef(Icon)
229
- icon="accessibility"
230
- size="xxl"
231
- >
232
- <ForwardRef(SvgIcon)
233
- className="govgr-svg-icon--accessibility"
234
- size="xxl"
235
- >
236
- <ForwardRef(Base)
237
- aria-hidden="true"
238
- as="svg"
239
- className="govgr-svg-icon--accessibility govgr-svg-icon"
240
- focusable="false"
241
- viewBox="0 0 24 24"
242
- >
243
- <svg
244
- aria-hidden="true"
245
- className="govgr-svg-icon--accessibility govgr-svg-icon"
246
- focusable="false"
247
- viewBox="0 0 24 24"
248
- >
249
- <accessibility>
250
- <title>
251
- Μενού Προσβασιμότητας
252
- </title>
253
- <circle
254
- cx="12"
255
- cy="3"
256
- r="3"
257
- />
258
- <path
259
- d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
260
- />
261
- </accessibility>
262
- </svg>
263
- </ForwardRef(Base)>
264
- </ForwardRef(SvgIcon)>
265
- </ForwardRef(Icon)>
266
- </AccessibilityIcon>
267
- `;
268
-
269
134
  exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
270
135
  <AccessibilityIcon
271
136
  variant="dark"
@@ -404,141 +269,6 @@ exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`]
404
269
  </AccessibilityIcon>
405
270
  `;
406
271
 
407
- exports[`renders the AccessibilityIcon with prop variant=focus 1`] = `
408
- <AccessibilityIcon
409
- variant="focus"
410
- >
411
- <ForwardRef(Icon)
412
- icon="accessibility"
413
- variant="focus"
414
- >
415
- <ForwardRef(SvgIcon)
416
- className="govgr-svg-icon--accessibility"
417
- variant="focus"
418
- >
419
- <ForwardRef(Base)
420
- aria-hidden="true"
421
- as="svg"
422
- className="govgr-svg-icon--accessibility govgr-svg-icon--focus govgr-svg-icon"
423
- focusable="false"
424
- viewBox="0 0 24 24"
425
- >
426
- <svg
427
- aria-hidden="true"
428
- className="govgr-svg-icon--accessibility govgr-svg-icon--focus govgr-svg-icon"
429
- focusable="false"
430
- viewBox="0 0 24 24"
431
- >
432
- <accessibility>
433
- <title>
434
- Μενού Προσβασιμότητας
435
- </title>
436
- <circle
437
- cx="12"
438
- cy="3"
439
- r="3"
440
- />
441
- <path
442
- d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
443
- />
444
- </accessibility>
445
- </svg>
446
- </ForwardRef(Base)>
447
- </ForwardRef(SvgIcon)>
448
- </ForwardRef(Icon)>
449
- </AccessibilityIcon>
450
- `;
451
-
452
- exports[`renders the AccessibilityIcon with prop variant=gray 1`] = `
453
- <AccessibilityIcon
454
- variant="gray"
455
- >
456
- <ForwardRef(Icon)
457
- icon="accessibility"
458
- variant="gray"
459
- >
460
- <ForwardRef(SvgIcon)
461
- className="govgr-svg-icon--accessibility"
462
- variant="gray"
463
- >
464
- <ForwardRef(Base)
465
- aria-hidden="true"
466
- as="svg"
467
- className="govgr-svg-icon--accessibility govgr-svg-icon--gray govgr-svg-icon"
468
- focusable="false"
469
- viewBox="0 0 24 24"
470
- >
471
- <svg
472
- aria-hidden="true"
473
- className="govgr-svg-icon--accessibility govgr-svg-icon--gray govgr-svg-icon"
474
- focusable="false"
475
- viewBox="0 0 24 24"
476
- >
477
- <accessibility>
478
- <title>
479
- Μενού Προσβασιμότητας
480
- </title>
481
- <circle
482
- cx="12"
483
- cy="3"
484
- r="3"
485
- />
486
- <path
487
- d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
488
- />
489
- </accessibility>
490
- </svg>
491
- </ForwardRef(Base)>
492
- </ForwardRef(SvgIcon)>
493
- </ForwardRef(Icon)>
494
- </AccessibilityIcon>
495
- `;
496
-
497
- exports[`renders the AccessibilityIcon with prop variant=light 1`] = `
498
- <AccessibilityIcon
499
- variant="light"
500
- >
501
- <ForwardRef(Icon)
502
- icon="accessibility"
503
- variant="light"
504
- >
505
- <ForwardRef(SvgIcon)
506
- className="govgr-svg-icon--accessibility"
507
- variant="light"
508
- >
509
- <ForwardRef(Base)
510
- aria-hidden="true"
511
- as="svg"
512
- className="govgr-svg-icon--accessibility govgr-svg-icon--light govgr-svg-icon"
513
- focusable="false"
514
- viewBox="0 0 24 24"
515
- >
516
- <svg
517
- aria-hidden="true"
518
- className="govgr-svg-icon--accessibility govgr-svg-icon--light govgr-svg-icon"
519
- focusable="false"
520
- viewBox="0 0 24 24"
521
- >
522
- <accessibility>
523
- <title>
524
- Μενού Προσβασιμότητας
525
- </title>
526
- <circle
527
- cx="12"
528
- cy="3"
529
- r="3"
530
- />
531
- <path
532
- d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
533
- />
534
- </accessibility>
535
- </svg>
536
- </ForwardRef(Base)>
537
- </ForwardRef(SvgIcon)>
538
- </ForwardRef(Icon)>
539
- </AccessibilityIcon>
540
- `;
541
-
542
272
  exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
543
273
  <AccessibilityIcon
544
274
  variant="primary"
@@ -629,51 +359,6 @@ exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
629
359
  </AccessibilityIcon>
630
360
  `;
631
361
 
632
- exports[`renders the AccessibilityIcon with prop variant=warning 1`] = `
633
- <AccessibilityIcon
634
- variant="warning"
635
- >
636
- <ForwardRef(Icon)
637
- icon="accessibility"
638
- variant="warning"
639
- >
640
- <ForwardRef(SvgIcon)
641
- className="govgr-svg-icon--accessibility"
642
- variant="warning"
643
- >
644
- <ForwardRef(Base)
645
- aria-hidden="true"
646
- as="svg"
647
- className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon"
648
- focusable="false"
649
- viewBox="0 0 24 24"
650
- >
651
- <svg
652
- aria-hidden="true"
653
- className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon"
654
- focusable="false"
655
- viewBox="0 0 24 24"
656
- >
657
- <accessibility>
658
- <title>
659
- Μενού Προσβασιμότητας
660
- </title>
661
- <circle
662
- cx="12"
663
- cy="3"
664
- r="3"
665
- />
666
- <path
667
- d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
668
- />
669
- </accessibility>
670
- </svg>
671
- </ForwardRef(Base)>
672
- </ForwardRef(SvgIcon)>
673
- </ForwardRef(Icon)>
674
- </AccessibilityIcon>
675
- `;
676
-
677
362
  exports[`renders the AccessibilityIcon with prop variant=warning and size=s 1`] = `
678
363
  <AccessibilityIcon
679
364
  size="sm"
@@ -17,115 +17,59 @@ it('renders the AccessibilityIcon with prop size=s', function () {
17
17
  });
18
18
 
19
19
  var _ref3 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
20
- size: "md"
21
- });
22
-
23
- it('renders the AccessibilityIcon with prop size=m', function () {
24
- expect(mount(_ref3)).toMatchSnapshot();
25
- });
26
-
27
- var _ref4 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
28
20
  size: "lg"
29
21
  });
30
22
 
31
23
  it('renders the AccessibilityIcon with prop size=l', function () {
32
- expect(mount(_ref4)).toMatchSnapshot();
33
- });
34
-
35
- var _ref5 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
36
- size: "xl"
37
- });
38
-
39
- it('renders the AccessibilityIcon with prop size=xl', function () {
40
- expect(mount(_ref5)).toMatchSnapshot();
41
- });
42
-
43
- var _ref6 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
44
- size: "xxl"
45
- });
46
-
47
- it('renders the AccessibilityIcon with prop size=xl', function () {
48
- expect(mount(_ref6)).toMatchSnapshot();
24
+ expect(mount(_ref3)).toMatchSnapshot();
49
25
  });
50
26
 
51
- var _ref7 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
27
+ var _ref4 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
52
28
  variant: "dark"
53
29
  });
54
30
 
55
31
  it('renders the AccessibilityIcon with prop variant=dark', function () {
56
- expect(mount(_ref7)).toMatchSnapshot();
57
- });
58
-
59
- var _ref8 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
60
- variant: "light"
61
- });
62
-
63
- it('renders the AccessibilityIcon with prop variant=light', function () {
64
- expect(mount(_ref8)).toMatchSnapshot();
65
- });
66
-
67
- var _ref9 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
68
- variant: "gray"
69
- });
70
-
71
- it('renders the AccessibilityIcon with prop variant=gray', function () {
72
- expect(mount(_ref9)).toMatchSnapshot();
32
+ expect(mount(_ref4)).toMatchSnapshot();
73
33
  });
74
34
 
75
- var _ref10 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
35
+ var _ref5 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
76
36
  variant: "primary"
77
37
  });
78
38
 
79
39
  it('renders the AccessibilityIcon with prop variant=primary', function () {
80
- expect(mount(_ref10)).toMatchSnapshot();
40
+ expect(mount(_ref5)).toMatchSnapshot();
81
41
  });
82
42
 
83
- var _ref11 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
43
+ var _ref6 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
84
44
  variant: "success"
85
45
  });
86
46
 
87
47
  it('renders the AccessibilityIcon with prop variant=success', function () {
88
- expect(mount(_ref11)).toMatchSnapshot();
89
- });
90
-
91
- var _ref12 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
92
- variant: "warning"
93
- });
94
-
95
- it('renders the AccessibilityIcon with prop variant=warning', function () {
96
- expect(mount(_ref12)).toMatchSnapshot();
48
+ expect(mount(_ref6)).toMatchSnapshot();
97
49
  });
98
50
 
99
- var _ref13 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
51
+ var _ref7 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
100
52
  variant: "error"
101
53
  });
102
54
 
103
55
  it('renders the AccessibilityIcon with prop variant=error', function () {
104
- expect(mount(_ref13)).toMatchSnapshot();
105
- });
106
-
107
- var _ref14 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
108
- variant: "focus"
109
- });
110
-
111
- it('renders the AccessibilityIcon with prop variant=focus', function () {
112
- expect(mount(_ref14)).toMatchSnapshot();
56
+ expect(mount(_ref7)).toMatchSnapshot();
113
57
  });
114
58
 
115
- var _ref15 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
59
+ var _ref8 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
116
60
  variant: "warning",
117
61
  size: "sm"
118
62
  });
119
63
 
120
64
  it('renders the AccessibilityIcon with prop variant=warning and size=s', function () {
121
- expect(mount(_ref15)).toMatchSnapshot();
65
+ expect(mount(_ref8)).toMatchSnapshot();
122
66
  });
123
67
 
124
- var _ref16 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
68
+ var _ref9 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
125
69
  variant: "warning",
126
70
  size: "xl"
127
71
  });
128
72
 
129
73
  it('renders the AccessibilityIcon with prop variant=error and size= xl', function () {
130
- expect(mount(_ref16)).toMatchSnapshot();
74
+ expect(mount(_ref9)).toMatchSnapshot();
131
75
  });
@@ -137,7 +137,7 @@ exports[`renders the ArrowIcon with no props, direction prop is right by default
137
137
  >
138
138
  <arrow>
139
139
  <path
140
- d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
140
+ d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
141
141
  />
142
142
  </arrow>
143
143
  </svg>