@digigov/react-icons 2.0.0-af1b5f33 → 2.0.0-b3ec0588

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/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  2. package/AccessibilityIcon/index.test/index.js +12 -12
  3. package/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
  4. package/BurgerIcon/index.test/index.js +8 -8
  5. package/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  6. package/CancelIcon/index.test/index.js +8 -8
  7. package/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  8. package/ChatIcon/index.test/index.js +8 -8
  9. package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  10. package/CheckIcon/index.test/index.js +10 -10
  11. package/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  12. package/DownloadIcon/index.test/index.js +8 -8
  13. package/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  14. package/ExclamationIcon/index.test/index.js +8 -8
  15. package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  16. package/GlobeIcon/index.test/index.js +6 -6
  17. package/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  18. package/LockIcon/index.test/index.js +8 -8
  19. package/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  20. package/LoginIcon/index.test/index.js +8 -8
  21. package/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  22. package/MinusIcon/index.test/index.js +8 -8
  23. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  24. package/MoreVertIcon/index.test/index.js +12 -12
  25. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  26. package/PdfFileIcon/index.test/index.js +8 -8
  27. package/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  28. package/PlusIcon/index.test/index.js +8 -8
  29. package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  30. package/PrintIcon/config/index.js +15 -0
  31. package/PrintIcon/config/package.json +6 -0
  32. package/PrintIcon/config.d.ts +8 -0
  33. package/PrintIcon/index.d.ts +4 -0
  34. package/PrintIcon/index.js +9 -0
  35. package/PrintIcon/index.test/index.js +45 -0
  36. package/PrintIcon/index.test/package.json +6 -0
  37. package/PrintIcon/index.test.d.ts +1 -0
  38. package/PrintIcon/package.json +6 -0
  39. package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  40. package/ReplyIcon/index.test/index.js +8 -8
  41. package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  42. package/RestoreIcon/index.test/index.js +8 -8
  43. package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  44. package/UncheckIcon/index.test/index.js +12 -12
  45. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  46. package/cjs/AccessibilityIcon/index.test/index.js +12 -12
  47. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
  48. package/cjs/BurgerIcon/index.test/index.js +8 -8
  49. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  50. package/cjs/CancelIcon/index.test/index.js +8 -8
  51. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  52. package/cjs/ChatIcon/index.test/index.js +8 -8
  53. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  54. package/cjs/CheckIcon/index.test/index.js +10 -10
  55. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  56. package/cjs/DownloadIcon/index.test/index.js +8 -8
  57. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  58. package/cjs/ExclamationIcon/index.test/index.js +8 -8
  59. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  60. package/cjs/GlobeIcon/index.test/index.js +6 -6
  61. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  62. package/cjs/LockIcon/index.test/index.js +8 -8
  63. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  64. package/cjs/LoginIcon/index.test/index.js +8 -8
  65. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  66. package/cjs/MinusIcon/index.test/index.js +8 -8
  67. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  68. package/cjs/MoreVertIcon/index.test/index.js +12 -12
  69. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  70. package/cjs/PdfFileIcon/index.test/index.js +8 -8
  71. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  72. package/cjs/PlusIcon/index.test/index.js +8 -8
  73. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  74. package/cjs/PrintIcon/config/index.js +23 -0
  75. package/cjs/PrintIcon/index.js +16 -0
  76. package/cjs/PrintIcon/index.test/index.js +48 -0
  77. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  78. package/cjs/ReplyIcon/index.test/index.js +8 -8
  79. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  80. package/cjs/RestoreIcon/index.test/index.js +8 -8
  81. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  82. package/cjs/UncheckIcon/index.test/index.js +12 -12
  83. package/cjs/icons/index.js +11 -0
  84. package/cjs/index.js +11 -0
  85. package/cjs/registry/index.js +5 -3
  86. package/icons/index.js +1 -0
  87. package/icons.d.ts +3 -0
  88. package/index.d.ts +1 -0
  89. package/index.js +3 -2
  90. package/package.json +3 -3
  91. package/registry/index.js +5 -3
  92. package/registry.d.ts +2 -1
  93. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  94. package/src/AccessibilityIcon/index.test.tsx +12 -12
  95. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
  96. package/src/BurgerIcon/index.test.tsx +8 -8
  97. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  98. package/src/CancelIcon/index.test.tsx +8 -8
  99. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  100. package/src/ChatIcon/index.test.tsx +8 -8
  101. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  102. package/src/CheckIcon/index.test.tsx +10 -10
  103. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  104. package/src/DownloadIcon/index.test.tsx +8 -8
  105. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  106. package/src/ExclamationIcon/index.test.tsx +8 -8
  107. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  108. package/src/GlobeIcon/index.test.tsx +6 -6
  109. package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  110. package/src/LockIcon/index.test.tsx +8 -8
  111. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  112. package/src/LoginIcon/index.test.tsx +8 -8
  113. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  114. package/src/MinusIcon/index.test.tsx +8 -8
  115. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  116. package/src/MoreVertIcon/index.test.tsx +12 -12
  117. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  118. package/src/PdfFileIcon/index.test.tsx +8 -8
  119. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  120. package/src/PlusIcon/index.test.tsx +8 -8
  121. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  122. package/src/PrintIcon/config.tsx +16 -0
  123. package/src/PrintIcon/index.test.tsx +26 -0
  124. package/src/PrintIcon/index.tsx +8 -0
  125. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  126. package/src/ReplyIcon/index.test.tsx +8 -8
  127. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  128. package/src/RestoreIcon/index.test.tsx +8 -8
  129. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  130. package/src/UncheckIcon/index.test.tsx +12 -12
  131. package/src/icons.ts +3 -0
  132. package/src/index.ts +1 -0
  133. package/src/registry.js +6 -4
@@ -41,28 +41,28 @@ exports[`renders the AccessibilityIcon with no props 1`] = `
41
41
  </AccessibilityIcon>
42
42
  `;
43
43
 
44
- exports[`renders the AccessibilityIcon with prop size=l 1`] = `
44
+ exports[`renders the AccessibilityIcon with prop color=dark 1`] = `
45
45
  <AccessibilityIcon
46
- size="lg"
46
+ color="dark"
47
47
  >
48
48
  <ForwardRef(Icon)
49
+ color="dark"
49
50
  icon="accessibility"
50
- size="lg"
51
51
  >
52
52
  <ForwardRef(SvgIcon)
53
53
  className="ds-svg-icon--accessibility"
54
- size="lg"
54
+ color="dark"
55
55
  >
56
56
  <ForwardRef(Base)
57
57
  aria-hidden="true"
58
58
  as="svg"
59
- className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
59
+ className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
60
60
  focusable="false"
61
61
  viewBox="0 0 24 24"
62
62
  >
63
63
  <svg
64
64
  aria-hidden="true"
65
- className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
65
+ className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
66
66
  focusable="false"
67
67
  viewBox="0 0 24 24"
68
68
  >
@@ -86,28 +86,28 @@ exports[`renders the AccessibilityIcon with prop size=l 1`] = `
86
86
  </AccessibilityIcon>
87
87
  `;
88
88
 
89
- exports[`renders the AccessibilityIcon with prop size=s 1`] = `
89
+ exports[`renders the AccessibilityIcon with prop color=error 1`] = `
90
90
  <AccessibilityIcon
91
- size="sm"
91
+ color="error"
92
92
  >
93
93
  <ForwardRef(Icon)
94
+ color="error"
94
95
  icon="accessibility"
95
- size="sm"
96
96
  >
97
97
  <ForwardRef(SvgIcon)
98
98
  className="ds-svg-icon--accessibility"
99
- size="sm"
99
+ color="error"
100
100
  >
101
101
  <ForwardRef(Base)
102
102
  aria-hidden="true"
103
103
  as="svg"
104
- className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
104
+ className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
105
105
  focusable="false"
106
106
  viewBox="0 0 24 24"
107
107
  >
108
108
  <svg
109
109
  aria-hidden="true"
110
- className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
110
+ className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
111
111
  focusable="false"
112
112
  viewBox="0 0 24 24"
113
113
  >
@@ -131,28 +131,31 @@ exports[`renders the AccessibilityIcon with prop size=s 1`] = `
131
131
  </AccessibilityIcon>
132
132
  `;
133
133
 
134
- exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
134
+ exports[`renders the AccessibilityIcon with prop color=error and size= xl 1`] = `
135
135
  <AccessibilityIcon
136
- variant="dark"
136
+ color="warning"
137
+ size="xl"
137
138
  >
138
139
  <ForwardRef(Icon)
140
+ color="warning"
139
141
  icon="accessibility"
140
- variant="dark"
142
+ size="xl"
141
143
  >
142
144
  <ForwardRef(SvgIcon)
143
145
  className="ds-svg-icon--accessibility"
144
- variant="dark"
146
+ color="warning"
147
+ size="xl"
145
148
  >
146
149
  <ForwardRef(Base)
147
150
  aria-hidden="true"
148
151
  as="svg"
149
- className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
152
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
150
153
  focusable="false"
151
154
  viewBox="0 0 24 24"
152
155
  >
153
156
  <svg
154
157
  aria-hidden="true"
155
- className="ds-svg-icon--accessibility ds-svg-icon--dark ds-svg-icon"
158
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
156
159
  focusable="false"
157
160
  viewBox="0 0 24 24"
158
161
  >
@@ -176,28 +179,28 @@ exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
176
179
  </AccessibilityIcon>
177
180
  `;
178
181
 
179
- exports[`renders the AccessibilityIcon with prop variant=error 1`] = `
182
+ exports[`renders the AccessibilityIcon with prop color=primary 1`] = `
180
183
  <AccessibilityIcon
181
- variant="error"
184
+ color="primary"
182
185
  >
183
186
  <ForwardRef(Icon)
187
+ color="primary"
184
188
  icon="accessibility"
185
- variant="error"
186
189
  >
187
190
  <ForwardRef(SvgIcon)
188
191
  className="ds-svg-icon--accessibility"
189
- variant="error"
192
+ color="primary"
190
193
  >
191
194
  <ForwardRef(Base)
192
195
  aria-hidden="true"
193
196
  as="svg"
194
- className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
197
+ className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
195
198
  focusable="false"
196
199
  viewBox="0 0 24 24"
197
200
  >
198
201
  <svg
199
202
  aria-hidden="true"
200
- className="ds-svg-icon--accessibility ds-svg-icon--error ds-svg-icon"
203
+ className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
201
204
  focusable="false"
202
205
  viewBox="0 0 24 24"
203
206
  >
@@ -221,31 +224,28 @@ exports[`renders the AccessibilityIcon with prop variant=error 1`] = `
221
224
  </AccessibilityIcon>
222
225
  `;
223
226
 
224
- exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`] = `
227
+ exports[`renders the AccessibilityIcon with prop color=success 1`] = `
225
228
  <AccessibilityIcon
226
- size="xl"
227
- variant="warning"
229
+ color="success"
228
230
  >
229
231
  <ForwardRef(Icon)
232
+ color="success"
230
233
  icon="accessibility"
231
- size="xl"
232
- variant="warning"
233
234
  >
234
235
  <ForwardRef(SvgIcon)
235
236
  className="ds-svg-icon--accessibility"
236
- size="xl"
237
- variant="warning"
237
+ color="success"
238
238
  >
239
239
  <ForwardRef(Base)
240
240
  aria-hidden="true"
241
241
  as="svg"
242
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
242
+ className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
243
243
  focusable="false"
244
244
  viewBox="0 0 24 24"
245
245
  >
246
246
  <svg
247
247
  aria-hidden="true"
248
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
248
+ className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
249
249
  focusable="false"
250
250
  viewBox="0 0 24 24"
251
251
  >
@@ -269,28 +269,31 @@ exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`]
269
269
  </AccessibilityIcon>
270
270
  `;
271
271
 
272
- exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
272
+ exports[`renders the AccessibilityIcon with prop color=warning and size=s 1`] = `
273
273
  <AccessibilityIcon
274
- variant="primary"
274
+ color="warning"
275
+ size="sm"
275
276
  >
276
277
  <ForwardRef(Icon)
278
+ color="warning"
277
279
  icon="accessibility"
278
- variant="primary"
280
+ size="sm"
279
281
  >
280
282
  <ForwardRef(SvgIcon)
281
283
  className="ds-svg-icon--accessibility"
282
- variant="primary"
284
+ color="warning"
285
+ size="sm"
283
286
  >
284
287
  <ForwardRef(Base)
285
288
  aria-hidden="true"
286
289
  as="svg"
287
- className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
290
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
288
291
  focusable="false"
289
292
  viewBox="0 0 24 24"
290
293
  >
291
294
  <svg
292
295
  aria-hidden="true"
293
- className="ds-svg-icon--accessibility ds-svg-icon--primary ds-svg-icon"
296
+ className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
294
297
  focusable="false"
295
298
  viewBox="0 0 24 24"
296
299
  >
@@ -314,28 +317,28 @@ exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
314
317
  </AccessibilityIcon>
315
318
  `;
316
319
 
317
- exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
320
+ exports[`renders the AccessibilityIcon with prop size=l 1`] = `
318
321
  <AccessibilityIcon
319
- variant="success"
322
+ size="lg"
320
323
  >
321
324
  <ForwardRef(Icon)
322
325
  icon="accessibility"
323
- variant="success"
326
+ size="lg"
324
327
  >
325
328
  <ForwardRef(SvgIcon)
326
329
  className="ds-svg-icon--accessibility"
327
- variant="success"
330
+ size="lg"
328
331
  >
329
332
  <ForwardRef(Base)
330
333
  aria-hidden="true"
331
334
  as="svg"
332
- className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
335
+ className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
333
336
  focusable="false"
334
337
  viewBox="0 0 24 24"
335
338
  >
336
339
  <svg
337
340
  aria-hidden="true"
338
- className="ds-svg-icon--accessibility ds-svg-icon--success ds-svg-icon"
341
+ className="ds-svg-icon--accessibility ds-svg-icon--lg ds-svg-icon"
339
342
  focusable="false"
340
343
  viewBox="0 0 24 24"
341
344
  >
@@ -359,31 +362,28 @@ exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
359
362
  </AccessibilityIcon>
360
363
  `;
361
364
 
362
- exports[`renders the AccessibilityIcon with prop variant=warning and size=s 1`] = `
365
+ exports[`renders the AccessibilityIcon with prop size=s 1`] = `
363
366
  <AccessibilityIcon
364
367
  size="sm"
365
- variant="warning"
366
368
  >
367
369
  <ForwardRef(Icon)
368
370
  icon="accessibility"
369
371
  size="sm"
370
- variant="warning"
371
372
  >
372
373
  <ForwardRef(SvgIcon)
373
374
  className="ds-svg-icon--accessibility"
374
375
  size="sm"
375
- variant="warning"
376
376
  >
377
377
  <ForwardRef(Base)
378
378
  aria-hidden="true"
379
379
  as="svg"
380
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
380
+ className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
381
381
  focusable="false"
382
382
  viewBox="0 0 24 24"
383
383
  >
384
384
  <svg
385
385
  aria-hidden="true"
386
- className="ds-svg-icon--accessibility ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
386
+ className="ds-svg-icon--accessibility ds-svg-icon--sm ds-svg-icon"
387
387
  focusable="false"
388
388
  viewBox="0 0 24 24"
389
389
  >
@@ -12,25 +12,25 @@ it('renders the AccessibilityIcon with prop size=s', () => {
12
12
  it('renders the AccessibilityIcon with prop size=l', () => {
13
13
  expect(mount(<AccessibilityIcon size="lg" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the AccessibilityIcon with prop variant=dark', () => {
16
- expect(mount(<AccessibilityIcon variant="dark" />)).toMatchSnapshot();
15
+ it('renders the AccessibilityIcon with prop color=dark', () => {
16
+ expect(mount(<AccessibilityIcon color="dark" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the AccessibilityIcon with prop variant=primary', () => {
19
- expect(mount(<AccessibilityIcon variant="primary" />)).toMatchSnapshot();
18
+ it('renders the AccessibilityIcon with prop color=primary', () => {
19
+ expect(mount(<AccessibilityIcon color="primary" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the AccessibilityIcon with prop variant=success', () => {
22
- expect(mount(<AccessibilityIcon variant="success" />)).toMatchSnapshot();
21
+ it('renders the AccessibilityIcon with prop color=success', () => {
22
+ expect(mount(<AccessibilityIcon color="success" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the AccessibilityIcon with prop variant=error', () => {
25
- expect(mount(<AccessibilityIcon variant="error" />)).toMatchSnapshot();
24
+ it('renders the AccessibilityIcon with prop color=error', () => {
25
+ expect(mount(<AccessibilityIcon color="error" />)).toMatchSnapshot();
26
26
  });
27
- it('renders the AccessibilityIcon with prop variant=warning and size=s', () => {
27
+ it('renders the AccessibilityIcon with prop color=warning and size=s', () => {
28
28
  expect(
29
- mount(<AccessibilityIcon variant="warning" size="sm" />)
29
+ mount(<AccessibilityIcon color="warning" size="sm" />)
30
30
  ).toMatchSnapshot();
31
31
  });
32
- it('renders the AccessibilityIcon with prop variant=error and size= xl', () => {
32
+ it('renders the AccessibilityIcon with prop color=error and size= xl', () => {
33
33
  expect(
34
- mount(<AccessibilityIcon variant="warning" size="xl" />)
34
+ mount(<AccessibilityIcon color="warning" size="xl" />)
35
35
  ).toMatchSnapshot();
36
36
  });
@@ -1,16 +1,16 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`renders the BurgerIcon prop variant= "error" 1`] = `
3
+ exports[`renders the BurgerIcon prop color= "error" 1`] = `
4
4
  <BurgerIcon
5
- variant="error"
5
+ color="error"
6
6
  >
7
7
  <ForwardRef(Icon)
8
+ color="error"
8
9
  icon="burger"
9
- variant="error"
10
10
  >
11
11
  <ForwardRef(SvgIcon)
12
12
  className="ds-svg-icon--burger"
13
- variant="error"
13
+ color="error"
14
14
  >
15
15
  <ForwardRef(Base)
16
16
  aria-hidden="true"
@@ -53,17 +53,17 @@ exports[`renders the BurgerIcon prop variant= "error" 1`] = `
53
53
  </BurgerIcon>
54
54
  `;
55
55
 
56
- exports[`renders the BurgerIcon prop variant= "light" 1`] = `
56
+ exports[`renders the BurgerIcon prop color= "light" 1`] = `
57
57
  <BurgerIcon
58
- variant="light"
58
+ color="light"
59
59
  >
60
60
  <ForwardRef(Icon)
61
+ color="light"
61
62
  icon="burger"
62
- variant="light"
63
63
  >
64
64
  <ForwardRef(SvgIcon)
65
65
  className="ds-svg-icon--burger"
66
- variant="light"
66
+ color="light"
67
67
  >
68
68
  <ForwardRef(Base)
69
69
  aria-hidden="true"
@@ -106,19 +106,19 @@ exports[`renders the BurgerIcon prop variant= "light" 1`] = `
106
106
  </BurgerIcon>
107
107
  `;
108
108
 
109
- exports[`renders the BurgerIcon props active variant= "light" 1`] = `
109
+ exports[`renders the BurgerIcon props active color= "light" 1`] = `
110
110
  <BurgerIcon
111
111
  active={true}
112
- variant="light"
112
+ color="light"
113
113
  >
114
114
  <ForwardRef(Icon)
115
115
  active={true}
116
+ color="light"
116
117
  icon="burger"
117
- variant="light"
118
118
  >
119
119
  <ForwardRef(SvgIcon)
120
120
  className="ds-svg-icon--burger"
121
- variant="light"
121
+ color="light"
122
122
  >
123
123
  <ForwardRef(Base)
124
124
  aria-hidden="true"
@@ -266,17 +266,17 @@ exports[`renders the BurgerIcon with prop active=true 1`] = `
266
266
  </BurgerIcon>
267
267
  `;
268
268
 
269
- exports[`renders the BurgerIcon with prop variant=dark 1`] = `
269
+ exports[`renders the BurgerIcon with prop color=dark 1`] = `
270
270
  <BurgerIcon
271
- variant="dark"
271
+ color="dark"
272
272
  >
273
273
  <ForwardRef(Icon)
274
+ color="dark"
274
275
  icon="burger"
275
- variant="dark"
276
276
  >
277
277
  <ForwardRef(SvgIcon)
278
278
  className="ds-svg-icon--burger"
279
- variant="dark"
279
+ color="dark"
280
280
  >
281
281
  <ForwardRef(Base)
282
282
  aria-hidden="true"
@@ -11,16 +11,16 @@ it('renders the BurgerIcon with prop active=true', () => {
11
11
  expect(mount(<BurgerIcon active={true} />)).toMatchSnapshot();
12
12
  });
13
13
 
14
- it('renders the BurgerIcon with prop variant=dark', () => {
15
- expect(mount(<BurgerIcon variant="dark" />)).toMatchSnapshot();
14
+ it('renders the BurgerIcon with prop color=dark', () => {
15
+ expect(mount(<BurgerIcon color="dark" />)).toMatchSnapshot();
16
16
  });
17
17
 
18
- it('renders the BurgerIcon prop variant= "light"', () => {
19
- expect(mount(<BurgerIcon variant="light" />)).toMatchSnapshot();
18
+ it('renders the BurgerIcon prop color= "light"', () => {
19
+ expect(mount(<BurgerIcon color="light" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the BurgerIcon prop variant= "error"', () => {
22
- expect(mount(<BurgerIcon variant="error" />)).toMatchSnapshot();
21
+ it('renders the BurgerIcon prop color= "error"', () => {
22
+ expect(mount(<BurgerIcon color="error" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the BurgerIcon props active variant= "light"', () => {
25
- expect(mount(<BurgerIcon active variant="light" />)).toMatchSnapshot();
24
+ it('renders the BurgerIcon props active color= "light"', () => {
25
+ expect(mount(<BurgerIcon active color="light" />)).toMatchSnapshot();
26
26
  });
@@ -33,28 +33,31 @@ exports[`renders the CancelIcon with no props 1`] = `
33
33
  </CancelIcon>
34
34
  `;
35
35
 
36
- exports[`renders the CancelIcon with prop size=m 1`] = `
36
+ exports[`renders the CancelIcon with prop color=error and size= xl 1`] = `
37
37
  <CancelIcon
38
- size="md"
38
+ color="warning"
39
+ size="xl"
39
40
  >
40
41
  <ForwardRef(Icon)
42
+ color="warning"
41
43
  icon="cancel"
42
- size="md"
44
+ size="xl"
43
45
  >
44
46
  <ForwardRef(SvgIcon)
45
47
  className="ds-svg-icon--cancel"
46
- size="md"
48
+ color="warning"
49
+ size="xl"
47
50
  >
48
51
  <ForwardRef(Base)
49
52
  aria-hidden="true"
50
53
  as="svg"
51
- className="ds-svg-icon--cancel ds-svg-icon--md ds-svg-icon"
54
+ className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
52
55
  focusable="false"
53
56
  viewBox="0 0 24 24"
54
57
  >
55
58
  <svg
56
59
  aria-hidden="true"
57
- className="ds-svg-icon--cancel ds-svg-icon--md ds-svg-icon"
60
+ className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
58
61
  focusable="false"
59
62
  viewBox="0 0 24 24"
60
63
  >
@@ -70,28 +73,28 @@ exports[`renders the CancelIcon with prop size=m 1`] = `
70
73
  </CancelIcon>
71
74
  `;
72
75
 
73
- exports[`renders the CancelIcon with prop size=xl 1`] = `
76
+ exports[`renders the CancelIcon with prop color=light 1`] = `
74
77
  <CancelIcon
75
- size="xl"
78
+ color="light"
76
79
  >
77
80
  <ForwardRef(Icon)
81
+ color="light"
78
82
  icon="cancel"
79
- size="xl"
80
83
  >
81
84
  <ForwardRef(SvgIcon)
82
85
  className="ds-svg-icon--cancel"
83
- size="xl"
86
+ color="light"
84
87
  >
85
88
  <ForwardRef(Base)
86
89
  aria-hidden="true"
87
90
  as="svg"
88
- className="ds-svg-icon--cancel ds-svg-icon--xl ds-svg-icon"
91
+ className="ds-svg-icon--cancel ds-svg-icon--light ds-svg-icon"
89
92
  focusable="false"
90
93
  viewBox="0 0 24 24"
91
94
  >
92
95
  <svg
93
96
  aria-hidden="true"
94
- className="ds-svg-icon--cancel ds-svg-icon--xl ds-svg-icon"
97
+ className="ds-svg-icon--cancel ds-svg-icon--light ds-svg-icon"
95
98
  focusable="false"
96
99
  viewBox="0 0 24 24"
97
100
  >
@@ -107,31 +110,28 @@ exports[`renders the CancelIcon with prop size=xl 1`] = `
107
110
  </CancelIcon>
108
111
  `;
109
112
 
110
- exports[`renders the CancelIcon with prop variant=error and size= xl 1`] = `
113
+ exports[`renders the CancelIcon with prop color=warning 1`] = `
111
114
  <CancelIcon
112
- size="xl"
113
- variant="warning"
115
+ color="warning"
114
116
  >
115
117
  <ForwardRef(Icon)
118
+ color="warning"
116
119
  icon="cancel"
117
- size="xl"
118
- variant="warning"
119
120
  >
120
121
  <ForwardRef(SvgIcon)
121
122
  className="ds-svg-icon--cancel"
122
- size="xl"
123
- variant="warning"
123
+ color="warning"
124
124
  >
125
125
  <ForwardRef(Base)
126
126
  aria-hidden="true"
127
127
  as="svg"
128
- className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
128
+ className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon"
129
129
  focusable="false"
130
130
  viewBox="0 0 24 24"
131
131
  >
132
132
  <svg
133
133
  aria-hidden="true"
134
- className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
134
+ className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon"
135
135
  focusable="false"
136
136
  viewBox="0 0 24 24"
137
137
  >
@@ -147,28 +147,31 @@ exports[`renders the CancelIcon with prop variant=error and size= xl 1`] = `
147
147
  </CancelIcon>
148
148
  `;
149
149
 
150
- exports[`renders the CancelIcon with prop variant=light 1`] = `
150
+ exports[`renders the CancelIcon with prop color=warning and size=s 1`] = `
151
151
  <CancelIcon
152
- variant="light"
152
+ color="warning"
153
+ size="sm"
153
154
  >
154
155
  <ForwardRef(Icon)
156
+ color="warning"
155
157
  icon="cancel"
156
- variant="light"
158
+ size="sm"
157
159
  >
158
160
  <ForwardRef(SvgIcon)
159
161
  className="ds-svg-icon--cancel"
160
- variant="light"
162
+ color="warning"
163
+ size="sm"
161
164
  >
162
165
  <ForwardRef(Base)
163
166
  aria-hidden="true"
164
167
  as="svg"
165
- className="ds-svg-icon--cancel ds-svg-icon--light ds-svg-icon"
168
+ className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
166
169
  focusable="false"
167
170
  viewBox="0 0 24 24"
168
171
  >
169
172
  <svg
170
173
  aria-hidden="true"
171
- className="ds-svg-icon--cancel ds-svg-icon--light ds-svg-icon"
174
+ className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
172
175
  focusable="false"
173
176
  viewBox="0 0 24 24"
174
177
  >
@@ -184,28 +187,28 @@ exports[`renders the CancelIcon with prop variant=light 1`] = `
184
187
  </CancelIcon>
185
188
  `;
186
189
 
187
- exports[`renders the CancelIcon with prop variant=warning 1`] = `
190
+ exports[`renders the CancelIcon with prop size=m 1`] = `
188
191
  <CancelIcon
189
- variant="warning"
192
+ size="md"
190
193
  >
191
194
  <ForwardRef(Icon)
192
195
  icon="cancel"
193
- variant="warning"
196
+ size="md"
194
197
  >
195
198
  <ForwardRef(SvgIcon)
196
199
  className="ds-svg-icon--cancel"
197
- variant="warning"
200
+ size="md"
198
201
  >
199
202
  <ForwardRef(Base)
200
203
  aria-hidden="true"
201
204
  as="svg"
202
- className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon"
205
+ className="ds-svg-icon--cancel ds-svg-icon--md ds-svg-icon"
203
206
  focusable="false"
204
207
  viewBox="0 0 24 24"
205
208
  >
206
209
  <svg
207
210
  aria-hidden="true"
208
- className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon"
211
+ className="ds-svg-icon--cancel ds-svg-icon--md ds-svg-icon"
209
212
  focusable="false"
210
213
  viewBox="0 0 24 24"
211
214
  >
@@ -221,31 +224,28 @@ exports[`renders the CancelIcon with prop variant=warning 1`] = `
221
224
  </CancelIcon>
222
225
  `;
223
226
 
224
- exports[`renders the CancelIcon with prop variant=warning and size=s 1`] = `
227
+ exports[`renders the CancelIcon with prop size=xl 1`] = `
225
228
  <CancelIcon
226
- size="sm"
227
- variant="warning"
229
+ size="xl"
228
230
  >
229
231
  <ForwardRef(Icon)
230
232
  icon="cancel"
231
- size="sm"
232
- variant="warning"
233
+ size="xl"
233
234
  >
234
235
  <ForwardRef(SvgIcon)
235
236
  className="ds-svg-icon--cancel"
236
- size="sm"
237
- variant="warning"
237
+ size="xl"
238
238
  >
239
239
  <ForwardRef(Base)
240
240
  aria-hidden="true"
241
241
  as="svg"
242
- className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
242
+ className="ds-svg-icon--cancel ds-svg-icon--xl ds-svg-icon"
243
243
  focusable="false"
244
244
  viewBox="0 0 24 24"
245
245
  >
246
246
  <svg
247
247
  aria-hidden="true"
248
- className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
248
+ className="ds-svg-icon--cancel ds-svg-icon--xl ds-svg-icon"
249
249
  focusable="false"
250
250
  viewBox="0 0 24 24"
251
251
  >