@digigov/react-icons 2.0.0-8de46296 → 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 (110) 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 +39 -39
  30. package/PrintIcon/index.test/index.js +8 -8
  31. package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  32. package/ReplyIcon/index.test/index.js +8 -8
  33. package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  34. package/RestoreIcon/index.test/index.js +8 -8
  35. package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  36. package/UncheckIcon/index.test/index.js +12 -12
  37. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  38. package/cjs/AccessibilityIcon/index.test/index.js +12 -12
  39. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
  40. package/cjs/BurgerIcon/index.test/index.js +8 -8
  41. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  42. package/cjs/CancelIcon/index.test/index.js +8 -8
  43. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  44. package/cjs/ChatIcon/index.test/index.js +8 -8
  45. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  46. package/cjs/CheckIcon/index.test/index.js +10 -10
  47. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  48. package/cjs/DownloadIcon/index.test/index.js +8 -8
  49. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  50. package/cjs/ExclamationIcon/index.test/index.js +8 -8
  51. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  52. package/cjs/GlobeIcon/index.test/index.js +6 -6
  53. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  54. package/cjs/LockIcon/index.test/index.js +8 -8
  55. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  56. package/cjs/LoginIcon/index.test/index.js +8 -8
  57. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  58. package/cjs/MinusIcon/index.test/index.js +8 -8
  59. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  60. package/cjs/MoreVertIcon/index.test/index.js +12 -12
  61. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  62. package/cjs/PdfFileIcon/index.test/index.js +8 -8
  63. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  64. package/cjs/PlusIcon/index.test/index.js +8 -8
  65. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +39 -39
  66. package/cjs/PrintIcon/index.test/index.js +8 -8
  67. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  68. package/cjs/ReplyIcon/index.test/index.js +8 -8
  69. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  70. package/cjs/RestoreIcon/index.test/index.js +8 -8
  71. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  72. package/cjs/UncheckIcon/index.test/index.js +12 -12
  73. package/index.js +1 -1
  74. package/package.json +3 -3
  75. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  76. package/src/AccessibilityIcon/index.test.tsx +12 -12
  77. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
  78. package/src/BurgerIcon/index.test.tsx +8 -8
  79. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  80. package/src/CancelIcon/index.test.tsx +8 -8
  81. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  82. package/src/ChatIcon/index.test.tsx +8 -8
  83. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  84. package/src/CheckIcon/index.test.tsx +10 -10
  85. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  86. package/src/DownloadIcon/index.test.tsx +8 -8
  87. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  88. package/src/ExclamationIcon/index.test.tsx +8 -8
  89. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  90. package/src/GlobeIcon/index.test.tsx +6 -6
  91. package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  92. package/src/LockIcon/index.test.tsx +8 -8
  93. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  94. package/src/LoginIcon/index.test.tsx +8 -8
  95. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  96. package/src/MinusIcon/index.test.tsx +8 -8
  97. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  98. package/src/MoreVertIcon/index.test.tsx +12 -12
  99. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  100. package/src/PdfFileIcon/index.test.tsx +8 -8
  101. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  102. package/src/PlusIcon/index.test.tsx +8 -8
  103. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +39 -39
  104. package/src/PrintIcon/index.test.tsx +8 -8
  105. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  106. package/src/ReplyIcon/index.test.tsx +8 -8
  107. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  108. package/src/RestoreIcon/index.test.tsx +8 -8
  109. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  110. package/src/UncheckIcon/index.test.tsx +12 -12
@@ -45,28 +45,28 @@ exports[`renders the MoreVertIcon with no props 1`] = `
45
45
  </MoreVertIcon>
46
46
  `;
47
47
 
48
- exports[`renders the MoreVertIcon with prop size=l 1`] = `
48
+ exports[`renders the MoreVertIcon with prop color=dark 1`] = `
49
49
  <MoreVertIcon
50
- size="lg"
50
+ color="dark"
51
51
  >
52
52
  <ForwardRef(Icon)
53
+ color="dark"
53
54
  icon="moreVert"
54
- size="lg"
55
55
  >
56
56
  <ForwardRef(SvgIcon)
57
57
  className="ds-svg-icon--moreVert"
58
- size="lg"
58
+ color="dark"
59
59
  >
60
60
  <ForwardRef(Base)
61
61
  aria-hidden="true"
62
62
  as="svg"
63
- className="ds-svg-icon--moreVert ds-svg-icon--lg ds-svg-icon"
63
+ className="ds-svg-icon--moreVert ds-svg-icon--dark ds-svg-icon"
64
64
  focusable="false"
65
65
  viewBox="0 0 24 24"
66
66
  >
67
67
  <svg
68
68
  aria-hidden="true"
69
- className="ds-svg-icon--moreVert ds-svg-icon--lg ds-svg-icon"
69
+ className="ds-svg-icon--moreVert ds-svg-icon--dark ds-svg-icon"
70
70
  focusable="false"
71
71
  viewBox="0 0 24 24"
72
72
  >
@@ -94,28 +94,31 @@ exports[`renders the MoreVertIcon with prop size=l 1`] = `
94
94
  </MoreVertIcon>
95
95
  `;
96
96
 
97
- exports[`renders the MoreVertIcon with prop size=s 1`] = `
97
+ exports[`renders the MoreVertIcon with prop color=error and size= xl 1`] = `
98
98
  <MoreVertIcon
99
- size="sm"
99
+ color="warning"
100
+ size="xl"
100
101
  >
101
102
  <ForwardRef(Icon)
103
+ color="warning"
102
104
  icon="moreVert"
103
- size="sm"
105
+ size="xl"
104
106
  >
105
107
  <ForwardRef(SvgIcon)
106
108
  className="ds-svg-icon--moreVert"
107
- size="sm"
109
+ color="warning"
110
+ size="xl"
108
111
  >
109
112
  <ForwardRef(Base)
110
113
  aria-hidden="true"
111
114
  as="svg"
112
- className="ds-svg-icon--moreVert ds-svg-icon--sm ds-svg-icon"
115
+ className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
113
116
  focusable="false"
114
117
  viewBox="0 0 24 24"
115
118
  >
116
119
  <svg
117
120
  aria-hidden="true"
118
- className="ds-svg-icon--moreVert ds-svg-icon--sm ds-svg-icon"
121
+ className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
119
122
  focusable="false"
120
123
  viewBox="0 0 24 24"
121
124
  >
@@ -143,28 +146,28 @@ exports[`renders the MoreVertIcon with prop size=s 1`] = `
143
146
  </MoreVertIcon>
144
147
  `;
145
148
 
146
- exports[`renders the MoreVertIcon with prop variant=dark 1`] = `
149
+ exports[`renders the MoreVertIcon with prop color=focus 1`] = `
147
150
  <MoreVertIcon
148
- variant="dark"
151
+ color="focus"
149
152
  >
150
153
  <ForwardRef(Icon)
154
+ color="focus"
151
155
  icon="moreVert"
152
- variant="dark"
153
156
  >
154
157
  <ForwardRef(SvgIcon)
155
158
  className="ds-svg-icon--moreVert"
156
- variant="dark"
159
+ color="focus"
157
160
  >
158
161
  <ForwardRef(Base)
159
162
  aria-hidden="true"
160
163
  as="svg"
161
- className="ds-svg-icon--moreVert ds-svg-icon--dark ds-svg-icon"
164
+ className="ds-svg-icon--moreVert ds-svg-icon--focus ds-svg-icon"
162
165
  focusable="false"
163
166
  viewBox="0 0 24 24"
164
167
  >
165
168
  <svg
166
169
  aria-hidden="true"
167
- className="ds-svg-icon--moreVert ds-svg-icon--dark ds-svg-icon"
170
+ className="ds-svg-icon--moreVert ds-svg-icon--focus ds-svg-icon"
168
171
  focusable="false"
169
172
  viewBox="0 0 24 24"
170
173
  >
@@ -192,31 +195,28 @@ exports[`renders the MoreVertIcon with prop variant=dark 1`] = `
192
195
  </MoreVertIcon>
193
196
  `;
194
197
 
195
- exports[`renders the MoreVertIcon with prop variant=error and size= xl 1`] = `
198
+ exports[`renders the MoreVertIcon with prop color=primary 1`] = `
196
199
  <MoreVertIcon
197
- size="xl"
198
- variant="warning"
200
+ color="primary"
199
201
  >
200
202
  <ForwardRef(Icon)
203
+ color="primary"
201
204
  icon="moreVert"
202
- size="xl"
203
- variant="warning"
204
205
  >
205
206
  <ForwardRef(SvgIcon)
206
207
  className="ds-svg-icon--moreVert"
207
- size="xl"
208
- variant="warning"
208
+ color="primary"
209
209
  >
210
210
  <ForwardRef(Base)
211
211
  aria-hidden="true"
212
212
  as="svg"
213
- className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
213
+ className="ds-svg-icon--moreVert ds-svg-icon--primary ds-svg-icon"
214
214
  focusable="false"
215
215
  viewBox="0 0 24 24"
216
216
  >
217
217
  <svg
218
218
  aria-hidden="true"
219
- className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
219
+ className="ds-svg-icon--moreVert ds-svg-icon--primary ds-svg-icon"
220
220
  focusable="false"
221
221
  viewBox="0 0 24 24"
222
222
  >
@@ -244,28 +244,28 @@ exports[`renders the MoreVertIcon with prop variant=error and size= xl 1`] = `
244
244
  </MoreVertIcon>
245
245
  `;
246
246
 
247
- exports[`renders the MoreVertIcon with prop variant=focus 1`] = `
247
+ exports[`renders the MoreVertIcon with prop color=success 1`] = `
248
248
  <MoreVertIcon
249
- variant="focus"
249
+ color="success"
250
250
  >
251
251
  <ForwardRef(Icon)
252
+ color="success"
252
253
  icon="moreVert"
253
- variant="focus"
254
254
  >
255
255
  <ForwardRef(SvgIcon)
256
256
  className="ds-svg-icon--moreVert"
257
- variant="focus"
257
+ color="success"
258
258
  >
259
259
  <ForwardRef(Base)
260
260
  aria-hidden="true"
261
261
  as="svg"
262
- className="ds-svg-icon--moreVert ds-svg-icon--focus ds-svg-icon"
262
+ className="ds-svg-icon--moreVert ds-svg-icon--success ds-svg-icon"
263
263
  focusable="false"
264
264
  viewBox="0 0 24 24"
265
265
  >
266
266
  <svg
267
267
  aria-hidden="true"
268
- className="ds-svg-icon--moreVert ds-svg-icon--focus ds-svg-icon"
268
+ className="ds-svg-icon--moreVert ds-svg-icon--success ds-svg-icon"
269
269
  focusable="false"
270
270
  viewBox="0 0 24 24"
271
271
  >
@@ -293,28 +293,31 @@ exports[`renders the MoreVertIcon with prop variant=focus 1`] = `
293
293
  </MoreVertIcon>
294
294
  `;
295
295
 
296
- exports[`renders the MoreVertIcon with prop variant=primary 1`] = `
296
+ exports[`renders the MoreVertIcon with prop color=warning and size=s 1`] = `
297
297
  <MoreVertIcon
298
- variant="primary"
298
+ color="warning"
299
+ size="sm"
299
300
  >
300
301
  <ForwardRef(Icon)
302
+ color="warning"
301
303
  icon="moreVert"
302
- variant="primary"
304
+ size="sm"
303
305
  >
304
306
  <ForwardRef(SvgIcon)
305
307
  className="ds-svg-icon--moreVert"
306
- variant="primary"
308
+ color="warning"
309
+ size="sm"
307
310
  >
308
311
  <ForwardRef(Base)
309
312
  aria-hidden="true"
310
313
  as="svg"
311
- className="ds-svg-icon--moreVert ds-svg-icon--primary ds-svg-icon"
314
+ className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
312
315
  focusable="false"
313
316
  viewBox="0 0 24 24"
314
317
  >
315
318
  <svg
316
319
  aria-hidden="true"
317
- className="ds-svg-icon--moreVert ds-svg-icon--primary ds-svg-icon"
320
+ className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
318
321
  focusable="false"
319
322
  viewBox="0 0 24 24"
320
323
  >
@@ -342,28 +345,28 @@ exports[`renders the MoreVertIcon with prop variant=primary 1`] = `
342
345
  </MoreVertIcon>
343
346
  `;
344
347
 
345
- exports[`renders the MoreVertIcon with prop variant=success 1`] = `
348
+ exports[`renders the MoreVertIcon with prop size=l 1`] = `
346
349
  <MoreVertIcon
347
- variant="success"
350
+ size="lg"
348
351
  >
349
352
  <ForwardRef(Icon)
350
353
  icon="moreVert"
351
- variant="success"
354
+ size="lg"
352
355
  >
353
356
  <ForwardRef(SvgIcon)
354
357
  className="ds-svg-icon--moreVert"
355
- variant="success"
358
+ size="lg"
356
359
  >
357
360
  <ForwardRef(Base)
358
361
  aria-hidden="true"
359
362
  as="svg"
360
- className="ds-svg-icon--moreVert ds-svg-icon--success ds-svg-icon"
363
+ className="ds-svg-icon--moreVert ds-svg-icon--lg ds-svg-icon"
361
364
  focusable="false"
362
365
  viewBox="0 0 24 24"
363
366
  >
364
367
  <svg
365
368
  aria-hidden="true"
366
- className="ds-svg-icon--moreVert ds-svg-icon--success ds-svg-icon"
369
+ className="ds-svg-icon--moreVert ds-svg-icon--lg ds-svg-icon"
367
370
  focusable="false"
368
371
  viewBox="0 0 24 24"
369
372
  >
@@ -391,31 +394,28 @@ exports[`renders the MoreVertIcon with prop variant=success 1`] = `
391
394
  </MoreVertIcon>
392
395
  `;
393
396
 
394
- exports[`renders the MoreVertIcon with prop variant=warning and size=s 1`] = `
397
+ exports[`renders the MoreVertIcon with prop size=s 1`] = `
395
398
  <MoreVertIcon
396
399
  size="sm"
397
- variant="warning"
398
400
  >
399
401
  <ForwardRef(Icon)
400
402
  icon="moreVert"
401
403
  size="sm"
402
- variant="warning"
403
404
  >
404
405
  <ForwardRef(SvgIcon)
405
406
  className="ds-svg-icon--moreVert"
406
407
  size="sm"
407
- variant="warning"
408
408
  >
409
409
  <ForwardRef(Base)
410
410
  aria-hidden="true"
411
411
  as="svg"
412
- className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
412
+ className="ds-svg-icon--moreVert ds-svg-icon--sm ds-svg-icon"
413
413
  focusable="false"
414
414
  viewBox="0 0 24 24"
415
415
  >
416
416
  <svg
417
417
  aria-hidden="true"
418
- className="ds-svg-icon--moreVert ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
418
+ className="ds-svg-icon--moreVert ds-svg-icon--sm ds-svg-icon"
419
419
  focusable="false"
420
420
  viewBox="0 0 24 24"
421
421
  >
@@ -12,21 +12,21 @@ it('renders the MoreVertIcon with prop size=s', () => {
12
12
  it('renders the MoreVertIcon with prop size=l', () => {
13
13
  expect(mount(<MoreVertIcon size="lg" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the MoreVertIcon with prop variant=dark', () => {
16
- expect(mount(<MoreVertIcon variant="dark" />)).toMatchSnapshot();
15
+ it('renders the MoreVertIcon with prop color=dark', () => {
16
+ expect(mount(<MoreVertIcon color="dark" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the MoreVertIcon with prop variant=primary', () => {
19
- expect(mount(<MoreVertIcon variant="primary" />)).toMatchSnapshot();
18
+ it('renders the MoreVertIcon with prop color=primary', () => {
19
+ expect(mount(<MoreVertIcon color="primary" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the MoreVertIcon with prop variant=success', () => {
22
- expect(mount(<MoreVertIcon variant="success" />)).toMatchSnapshot();
21
+ it('renders the MoreVertIcon with prop color=success', () => {
22
+ expect(mount(<MoreVertIcon color="success" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the MoreVertIcon with prop variant=focus', () => {
25
- expect(mount(<MoreVertIcon variant="focus" />)).toMatchSnapshot();
24
+ it('renders the MoreVertIcon with prop color=focus', () => {
25
+ expect(mount(<MoreVertIcon color="focus" />)).toMatchSnapshot();
26
26
  });
27
- it('renders the MoreVertIcon with prop variant=warning and size=s', () => {
28
- expect(mount(<MoreVertIcon variant="warning" size="sm" />)).toMatchSnapshot();
27
+ it('renders the MoreVertIcon with prop color=warning and size=s', () => {
28
+ expect(mount(<MoreVertIcon color="warning" size="sm" />)).toMatchSnapshot();
29
29
  });
30
- it('renders the MoreVertIcon with prop variant=error and size= xl', () => {
31
- expect(mount(<MoreVertIcon variant="warning" size="xl" />)).toMatchSnapshot();
30
+ it('renders the MoreVertIcon with prop color=error and size= xl', () => {
31
+ expect(mount(<MoreVertIcon color="warning" size="xl" />)).toMatchSnapshot();
32
32
  });
@@ -46,28 +46,31 @@ exports[`renders the PdfFileIcon with no props 1`] = `
46
46
  </PdfFileIcon>
47
47
  `;
48
48
 
49
- exports[`renders the PdfFileIcon with prop size=m 1`] = `
49
+ exports[`renders the PdfFileIcon with prop color=error and size= xl 1`] = `
50
50
  <PdfFileIcon
51
- size="md"
51
+ color="warning"
52
+ size="xl"
52
53
  >
53
54
  <ForwardRef(Icon)
55
+ color="warning"
54
56
  icon="pdfFile"
55
- size="md"
57
+ size="xl"
56
58
  >
57
59
  <ForwardRef(SvgIcon)
58
60
  className="ds-svg-icon--pdfFile"
59
- size="md"
61
+ color="warning"
62
+ size="xl"
60
63
  >
61
64
  <ForwardRef(Base)
62
65
  aria-hidden="true"
63
66
  as="svg"
64
- className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
67
+ className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
65
68
  focusable="false"
66
69
  viewBox="0 0 24 24"
67
70
  >
68
71
  <svg
69
72
  aria-hidden="true"
70
- className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
73
+ className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
71
74
  focusable="false"
72
75
  viewBox="0 0 24 24"
73
76
  >
@@ -96,28 +99,28 @@ exports[`renders the PdfFileIcon with prop size=m 1`] = `
96
99
  </PdfFileIcon>
97
100
  `;
98
101
 
99
- exports[`renders the PdfFileIcon with prop size=xl 1`] = `
102
+ exports[`renders the PdfFileIcon with prop color=light 1`] = `
100
103
  <PdfFileIcon
101
- size="xl"
104
+ color="light"
102
105
  >
103
106
  <ForwardRef(Icon)
107
+ color="light"
104
108
  icon="pdfFile"
105
- size="xl"
106
109
  >
107
110
  <ForwardRef(SvgIcon)
108
111
  className="ds-svg-icon--pdfFile"
109
- size="xl"
112
+ color="light"
110
113
  >
111
114
  <ForwardRef(Base)
112
115
  aria-hidden="true"
113
116
  as="svg"
114
- className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
117
+ className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
115
118
  focusable="false"
116
119
  viewBox="0 0 24 24"
117
120
  >
118
121
  <svg
119
122
  aria-hidden="true"
120
- className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
123
+ className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
121
124
  focusable="false"
122
125
  viewBox="0 0 24 24"
123
126
  >
@@ -146,31 +149,28 @@ exports[`renders the PdfFileIcon with prop size=xl 1`] = `
146
149
  </PdfFileIcon>
147
150
  `;
148
151
 
149
- exports[`renders the PdfFileIcon with prop variant=error and size= xl 1`] = `
152
+ exports[`renders the PdfFileIcon with prop color=warning 1`] = `
150
153
  <PdfFileIcon
151
- size="xl"
152
- variant="warning"
154
+ color="warning"
153
155
  >
154
156
  <ForwardRef(Icon)
157
+ color="warning"
155
158
  icon="pdfFile"
156
- size="xl"
157
- variant="warning"
158
159
  >
159
160
  <ForwardRef(SvgIcon)
160
161
  className="ds-svg-icon--pdfFile"
161
- size="xl"
162
- variant="warning"
162
+ color="warning"
163
163
  >
164
164
  <ForwardRef(Base)
165
165
  aria-hidden="true"
166
166
  as="svg"
167
- className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
167
+ className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
168
168
  focusable="false"
169
169
  viewBox="0 0 24 24"
170
170
  >
171
171
  <svg
172
172
  aria-hidden="true"
173
- className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
173
+ className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
174
174
  focusable="false"
175
175
  viewBox="0 0 24 24"
176
176
  >
@@ -199,28 +199,31 @@ exports[`renders the PdfFileIcon with prop variant=error and size= xl 1`] = `
199
199
  </PdfFileIcon>
200
200
  `;
201
201
 
202
- exports[`renders the PdfFileIcon with prop variant=light 1`] = `
202
+ exports[`renders the PdfFileIcon with prop color=warning and size=s 1`] = `
203
203
  <PdfFileIcon
204
- variant="light"
204
+ color="warning"
205
+ size="sm"
205
206
  >
206
207
  <ForwardRef(Icon)
208
+ color="warning"
207
209
  icon="pdfFile"
208
- variant="light"
210
+ size="sm"
209
211
  >
210
212
  <ForwardRef(SvgIcon)
211
213
  className="ds-svg-icon--pdfFile"
212
- variant="light"
214
+ color="warning"
215
+ size="sm"
213
216
  >
214
217
  <ForwardRef(Base)
215
218
  aria-hidden="true"
216
219
  as="svg"
217
- className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
220
+ className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
218
221
  focusable="false"
219
222
  viewBox="0 0 24 24"
220
223
  >
221
224
  <svg
222
225
  aria-hidden="true"
223
- className="ds-svg-icon--pdfFile ds-svg-icon--light ds-svg-icon"
226
+ className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
224
227
  focusable="false"
225
228
  viewBox="0 0 24 24"
226
229
  >
@@ -249,28 +252,28 @@ exports[`renders the PdfFileIcon with prop variant=light 1`] = `
249
252
  </PdfFileIcon>
250
253
  `;
251
254
 
252
- exports[`renders the PdfFileIcon with prop variant=warning 1`] = `
255
+ exports[`renders the PdfFileIcon with prop size=m 1`] = `
253
256
  <PdfFileIcon
254
- variant="warning"
257
+ size="md"
255
258
  >
256
259
  <ForwardRef(Icon)
257
260
  icon="pdfFile"
258
- variant="warning"
261
+ size="md"
259
262
  >
260
263
  <ForwardRef(SvgIcon)
261
264
  className="ds-svg-icon--pdfFile"
262
- variant="warning"
265
+ size="md"
263
266
  >
264
267
  <ForwardRef(Base)
265
268
  aria-hidden="true"
266
269
  as="svg"
267
- className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
270
+ className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
268
271
  focusable="false"
269
272
  viewBox="0 0 24 24"
270
273
  >
271
274
  <svg
272
275
  aria-hidden="true"
273
- className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
276
+ className="ds-svg-icon--pdfFile ds-svg-icon--md ds-svg-icon"
274
277
  focusable="false"
275
278
  viewBox="0 0 24 24"
276
279
  >
@@ -299,31 +302,28 @@ exports[`renders the PdfFileIcon with prop variant=warning 1`] = `
299
302
  </PdfFileIcon>
300
303
  `;
301
304
 
302
- exports[`renders the PdfFileIcon with prop variant=warning and size=s 1`] = `
305
+ exports[`renders the PdfFileIcon with prop size=xl 1`] = `
303
306
  <PdfFileIcon
304
- size="sm"
305
- variant="warning"
307
+ size="xl"
306
308
  >
307
309
  <ForwardRef(Icon)
308
310
  icon="pdfFile"
309
- size="sm"
310
- variant="warning"
311
+ size="xl"
311
312
  >
312
313
  <ForwardRef(SvgIcon)
313
314
  className="ds-svg-icon--pdfFile"
314
- size="sm"
315
- variant="warning"
315
+ size="xl"
316
316
  >
317
317
  <ForwardRef(Base)
318
318
  aria-hidden="true"
319
319
  as="svg"
320
- className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
320
+ className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
321
321
  focusable="false"
322
322
  viewBox="0 0 24 24"
323
323
  >
324
324
  <svg
325
325
  aria-hidden="true"
326
- className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
326
+ className="ds-svg-icon--pdfFile ds-svg-icon--xl ds-svg-icon"
327
327
  focusable="false"
328
328
  viewBox="0 0 24 24"
329
329
  >
@@ -12,15 +12,15 @@ it('renders the PdfFileIcon with prop size=m', () => {
12
12
  it('renders the PdfFileIcon with prop size=xl', () => {
13
13
  expect(mount(<PdfFileIcon size="xl" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the PdfFileIcon with prop variant=light', () => {
16
- expect(mount(<PdfFileIcon variant="light" />)).toMatchSnapshot();
15
+ it('renders the PdfFileIcon with prop color=light', () => {
16
+ expect(mount(<PdfFileIcon color="light" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the PdfFileIcon with prop variant=warning', () => {
19
- expect(mount(<PdfFileIcon variant="warning" />)).toMatchSnapshot();
18
+ it('renders the PdfFileIcon with prop color=warning', () => {
19
+ expect(mount(<PdfFileIcon color="warning" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the PdfFileIcon with prop variant=warning and size=s', () => {
22
- expect(mount(<PdfFileIcon variant="warning" size="sm" />)).toMatchSnapshot();
21
+ it('renders the PdfFileIcon with prop color=warning and size=s', () => {
22
+ expect(mount(<PdfFileIcon color="warning" size="sm" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the PdfFileIcon with prop variant=error and size= xl', () => {
25
- expect(mount(<PdfFileIcon variant="warning" size="xl" />)).toMatchSnapshot();
24
+ it('renders the PdfFileIcon with prop color=error and size= xl', () => {
25
+ expect(mount(<PdfFileIcon color="warning" size="xl" />)).toMatchSnapshot();
26
26
  });