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

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 (144) 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 +22 -22
  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 +20 -24
  16. package/GlobeIcon/config/index.js +2 -2
  17. package/GlobeIcon/index.test/index.js +6 -6
  18. package/Icon/__snapshots__/index.test.tsx.snap +1 -2
  19. package/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  20. package/LockIcon/index.test/index.js +8 -8
  21. package/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  22. package/LoginIcon/index.test/index.js +8 -8
  23. package/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  24. package/MinusIcon/index.test/index.js +8 -8
  25. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  26. package/MoreVertIcon/index.test/index.js +12 -12
  27. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  28. package/PdfFileIcon/index.test/index.js +8 -8
  29. package/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  30. package/PlusIcon/index.test/index.js +8 -8
  31. package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  32. package/PrintIcon/config/index.js +15 -0
  33. package/PrintIcon/config/package.json +6 -0
  34. package/PrintIcon/config.d.ts +8 -0
  35. package/PrintIcon/index.d.ts +4 -0
  36. package/PrintIcon/index.js +9 -0
  37. package/PrintIcon/index.test/index.js +45 -0
  38. package/PrintIcon/index.test/package.json +6 -0
  39. package/PrintIcon/index.test.d.ts +1 -0
  40. package/PrintIcon/package.json +6 -0
  41. package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  42. package/ReplyIcon/index.test/index.js +8 -8
  43. package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  44. package/RestoreIcon/index.test/index.js +8 -8
  45. package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  46. package/UncheckIcon/index.test/index.js +12 -12
  47. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  48. package/cjs/AccessibilityIcon/index.test/index.js +12 -12
  49. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  50. package/cjs/BurgerIcon/index.test/index.js +8 -8
  51. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  52. package/cjs/CancelIcon/index.test/index.js +8 -8
  53. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  54. package/cjs/ChatIcon/index.test/index.js +8 -8
  55. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  56. package/cjs/CheckIcon/index.test/index.js +10 -10
  57. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  58. package/cjs/DownloadIcon/index.test/index.js +8 -8
  59. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  60. package/cjs/ExclamationIcon/index.test/index.js +8 -8
  61. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  62. package/cjs/GlobeIcon/config/index.js +2 -2
  63. package/cjs/GlobeIcon/index.test/index.js +6 -6
  64. package/cjs/Icon/__snapshots__/index.test.tsx.snap +1 -2
  65. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  66. package/cjs/LockIcon/index.test/index.js +8 -8
  67. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  68. package/cjs/LoginIcon/index.test/index.js +8 -8
  69. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  70. package/cjs/MinusIcon/index.test/index.js +8 -8
  71. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  72. package/cjs/MoreVertIcon/index.test/index.js +12 -12
  73. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  74. package/cjs/PdfFileIcon/index.test/index.js +8 -8
  75. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  76. package/cjs/PlusIcon/index.test/index.js +8 -8
  77. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  78. package/cjs/PrintIcon/config/index.js +23 -0
  79. package/cjs/PrintIcon/index.js +16 -0
  80. package/cjs/PrintIcon/index.test/index.js +48 -0
  81. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  82. package/cjs/ReplyIcon/index.test/index.js +8 -8
  83. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  84. package/cjs/RestoreIcon/index.test/index.js +8 -8
  85. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  86. package/cjs/UncheckIcon/index.test/index.js +12 -12
  87. package/cjs/icons/index.js +11 -0
  88. package/cjs/index.js +11 -0
  89. package/cjs/lazy/index.js +229 -0
  90. package/cjs/registry/index.js +5 -3
  91. package/icons/index.js +1 -0
  92. package/icons.d.ts +3 -0
  93. package/index.d.ts +1 -0
  94. package/index.js +3 -2
  95. package/lazy/index.js +171 -0
  96. package/lazy/package.json +6 -0
  97. package/lazy.d.ts +27 -0
  98. package/package.json +3 -3
  99. package/registry/index.js +5 -3
  100. package/registry.d.ts +2 -1
  101. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  102. package/src/AccessibilityIcon/index.test.tsx +12 -12
  103. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  104. package/src/BurgerIcon/index.test.tsx +8 -8
  105. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  106. package/src/CancelIcon/index.test.tsx +8 -8
  107. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  108. package/src/ChatIcon/index.test.tsx +8 -8
  109. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  110. package/src/CheckIcon/index.test.tsx +10 -10
  111. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  112. package/src/DownloadIcon/index.test.tsx +8 -8
  113. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  114. package/src/ExclamationIcon/index.test.tsx +8 -8
  115. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  116. package/src/GlobeIcon/config.tsx +1 -12
  117. package/src/GlobeIcon/index.test.tsx +6 -6
  118. package/src/Icon/__snapshots__/index.test.tsx.snap +1 -2
  119. package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  120. package/src/LockIcon/index.test.tsx +8 -8
  121. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  122. package/src/LoginIcon/index.test.tsx +8 -8
  123. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  124. package/src/MinusIcon/index.test.tsx +8 -8
  125. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  126. package/src/MoreVertIcon/index.test.tsx +12 -12
  127. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  128. package/src/PdfFileIcon/index.test.tsx +8 -8
  129. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  130. package/src/PlusIcon/index.test.tsx +8 -8
  131. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  132. package/src/PrintIcon/config.tsx +16 -0
  133. package/src/PrintIcon/index.test.tsx +26 -0
  134. package/src/PrintIcon/index.tsx +8 -0
  135. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  136. package/src/ReplyIcon/index.test.tsx +8 -8
  137. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  138. package/src/RestoreIcon/index.test.tsx +8 -8
  139. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  140. package/src/UncheckIcon/index.test.tsx +12 -12
  141. package/src/icons.ts +3 -0
  142. package/src/index.ts +1 -0
  143. package/src/lazy.js +28 -0
  144. package/src/registry.js +6 -4
@@ -33,28 +33,31 @@ exports[`renders the CheckIcon with no props 1`] = `
33
33
  </CheckIcon>
34
34
  `;
35
35
 
36
- exports[`renders the CheckIcon with prop size=m 1`] = `
36
+ exports[`renders the CheckIcon with prop color=error and size= xl 1`] = `
37
37
  <CheckIcon
38
- size="md"
38
+ color="warning"
39
+ size="xl"
39
40
  >
40
41
  <ForwardRef(Icon)
42
+ color="warning"
41
43
  icon="check"
42
- size="md"
44
+ size="xl"
43
45
  >
44
46
  <ForwardRef(SvgIcon)
45
47
  className="ds-svg-icon--check"
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--check ds-svg-icon--md ds-svg-icon"
54
+ className="ds-svg-icon--check 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--check ds-svg-icon--md ds-svg-icon"
60
+ className="ds-svg-icon--check 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 CheckIcon with prop size=m 1`] = `
70
73
  </CheckIcon>
71
74
  `;
72
75
 
73
- exports[`renders the CheckIcon with prop size=xl 1`] = `
76
+ exports[`renders the CheckIcon with prop color=success 1`] = `
74
77
  <CheckIcon
75
- size="xl"
78
+ color="success"
76
79
  >
77
80
  <ForwardRef(Icon)
81
+ color="success"
78
82
  icon="check"
79
- size="xl"
80
83
  >
81
84
  <ForwardRef(SvgIcon)
82
85
  className="ds-svg-icon--check"
83
- size="xl"
86
+ color="success"
84
87
  >
85
88
  <ForwardRef(Base)
86
89
  aria-hidden="true"
87
90
  as="svg"
88
- className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
91
+ className="ds-svg-icon--check ds-svg-icon--success 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--check ds-svg-icon--xl ds-svg-icon"
97
+ className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
95
98
  focusable="false"
96
99
  viewBox="0 0 24 24"
97
100
  >
@@ -107,31 +110,28 @@ exports[`renders the CheckIcon with prop size=xl 1`] = `
107
110
  </CheckIcon>
108
111
  `;
109
112
 
110
- exports[`renders the CheckIcon with prop variant=error and size= xl 1`] = `
113
+ exports[`renders the CheckIcon with prop color=warning 1`] = `
111
114
  <CheckIcon
112
- size="xl"
113
- variant="warning"
115
+ color="warning"
114
116
  >
115
117
  <ForwardRef(Icon)
118
+ color="warning"
116
119
  icon="check"
117
- size="xl"
118
- variant="warning"
119
120
  >
120
121
  <ForwardRef(SvgIcon)
121
122
  className="ds-svg-icon--check"
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--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
128
+ className="ds-svg-icon--check 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--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
134
+ className="ds-svg-icon--check 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 CheckIcon with prop variant=error and size= xl 1`] = `
147
147
  </CheckIcon>
148
148
  `;
149
149
 
150
- exports[`renders the CheckIcon with prop variant=light 1`] = `
150
+ exports[`renders the CheckIcon with prop color=warning and size=s 1`] = `
151
151
  <CheckIcon
152
- variant="light"
152
+ color="warning"
153
+ size="sm"
153
154
  >
154
155
  <ForwardRef(Icon)
156
+ color="warning"
155
157
  icon="check"
156
- variant="light"
158
+ size="sm"
157
159
  >
158
160
  <ForwardRef(SvgIcon)
159
161
  className="ds-svg-icon--check"
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--check ds-svg-icon--light ds-svg-icon"
168
+ className="ds-svg-icon--check 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--check ds-svg-icon--light ds-svg-icon"
174
+ className="ds-svg-icon--check 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 CheckIcon with prop variant=light 1`] = `
184
187
  </CheckIcon>
185
188
  `;
186
189
 
187
- exports[`renders the CheckIcon with prop variant=success 1`] = `
190
+ exports[`renders the CheckIcon with prop color=white 1`] = `
188
191
  <CheckIcon
189
- variant="success"
192
+ color="white"
190
193
  >
191
194
  <ForwardRef(Icon)
195
+ color="white"
192
196
  icon="check"
193
- variant="success"
194
197
  >
195
198
  <ForwardRef(SvgIcon)
196
199
  className="ds-svg-icon--check"
197
- variant="success"
200
+ color="white"
198
201
  >
199
202
  <ForwardRef(Base)
200
203
  aria-hidden="true"
201
204
  as="svg"
202
- className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
205
+ className="ds-svg-icon--check ds-svg-icon--white 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--check ds-svg-icon--success ds-svg-icon"
211
+ className="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
209
212
  focusable="false"
210
213
  viewBox="0 0 24 24"
211
214
  >
@@ -221,28 +224,28 @@ exports[`renders the CheckIcon with prop variant=success 1`] = `
221
224
  </CheckIcon>
222
225
  `;
223
226
 
224
- exports[`renders the CheckIcon with prop variant=warning 1`] = `
227
+ exports[`renders the CheckIcon with prop size=m 1`] = `
225
228
  <CheckIcon
226
- variant="warning"
229
+ size="md"
227
230
  >
228
231
  <ForwardRef(Icon)
229
232
  icon="check"
230
- variant="warning"
233
+ size="md"
231
234
  >
232
235
  <ForwardRef(SvgIcon)
233
236
  className="ds-svg-icon--check"
234
- variant="warning"
237
+ size="md"
235
238
  >
236
239
  <ForwardRef(Base)
237
240
  aria-hidden="true"
238
241
  as="svg"
239
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
242
+ className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
240
243
  focusable="false"
241
244
  viewBox="0 0 24 24"
242
245
  >
243
246
  <svg
244
247
  aria-hidden="true"
245
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
248
+ className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
246
249
  focusable="false"
247
250
  viewBox="0 0 24 24"
248
251
  >
@@ -258,31 +261,28 @@ exports[`renders the CheckIcon with prop variant=warning 1`] = `
258
261
  </CheckIcon>
259
262
  `;
260
263
 
261
- exports[`renders the CheckIcon with prop variant=warning and size=s 1`] = `
264
+ exports[`renders the CheckIcon with prop size=xl 1`] = `
262
265
  <CheckIcon
263
- size="sm"
264
- variant="warning"
266
+ size="xl"
265
267
  >
266
268
  <ForwardRef(Icon)
267
269
  icon="check"
268
- size="sm"
269
- variant="warning"
270
+ size="xl"
270
271
  >
271
272
  <ForwardRef(SvgIcon)
272
273
  className="ds-svg-icon--check"
273
- size="sm"
274
- variant="warning"
274
+ size="xl"
275
275
  >
276
276
  <ForwardRef(Base)
277
277
  aria-hidden="true"
278
278
  as="svg"
279
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
279
+ className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
280
280
  focusable="false"
281
281
  viewBox="0 0 24 24"
282
282
  >
283
283
  <svg
284
284
  aria-hidden="true"
285
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
285
+ className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
286
286
  focusable="false"
287
287
  viewBox="0 0 24 24"
288
288
  >
@@ -12,18 +12,18 @@ it('renders the CheckIcon with prop size=m', () => {
12
12
  it('renders the CheckIcon with prop size=xl', () => {
13
13
  expect(mount(<CheckIcon size="xl" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the CheckIcon with prop variant=light', () => {
16
- expect(mount(<CheckIcon variant="light" />)).toMatchSnapshot();
15
+ it('renders the CheckIcon with prop color=white', () => {
16
+ expect(mount(<CheckIcon color="white" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the CheckIcon with prop variant=success', () => {
19
- expect(mount(<CheckIcon variant="success" />)).toMatchSnapshot();
18
+ it('renders the CheckIcon with prop color=success', () => {
19
+ expect(mount(<CheckIcon color="success" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the CheckIcon with prop variant=warning', () => {
22
- expect(mount(<CheckIcon variant="warning" />)).toMatchSnapshot();
21
+ it('renders the CheckIcon with prop color=warning', () => {
22
+ expect(mount(<CheckIcon color="warning" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the CheckIcon with prop variant=warning and size=s', () => {
25
- expect(mount(<CheckIcon variant="warning" size="sm" />)).toMatchSnapshot();
24
+ it('renders the CheckIcon with prop color=warning and size=s', () => {
25
+ expect(mount(<CheckIcon color="warning" size="sm" />)).toMatchSnapshot();
26
26
  });
27
- it('renders the CheckIcon with prop variant=error and size= xl', () => {
28
- expect(mount(<CheckIcon variant="warning" size="xl" />)).toMatchSnapshot();
27
+ it('renders the CheckIcon with prop color=error and size= xl', () => {
28
+ expect(mount(<CheckIcon color="warning" size="xl" />)).toMatchSnapshot();
29
29
  });
@@ -41,28 +41,31 @@ exports[`renders the DownloadIcon with no props 1`] = `
41
41
  </DownloadIcon>
42
42
  `;
43
43
 
44
- exports[`renders the DownloadIcon with prop size=m 1`] = `
44
+ exports[`renders the DownloadIcon with prop color=error and size= xl 1`] = `
45
45
  <DownloadIcon
46
- size="md"
46
+ color="warning"
47
+ size="xl"
47
48
  >
48
49
  <ForwardRef(Icon)
50
+ color="warning"
49
51
  icon="download"
50
- size="md"
52
+ size="xl"
51
53
  >
52
54
  <ForwardRef(SvgIcon)
53
55
  className="ds-svg-icon--download"
54
- size="md"
56
+ color="warning"
57
+ size="xl"
55
58
  >
56
59
  <ForwardRef(Base)
57
60
  aria-hidden="true"
58
61
  as="svg"
59
- className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
62
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
60
63
  focusable="false"
61
64
  viewBox="0 0 24 24"
62
65
  >
63
66
  <svg
64
67
  aria-hidden="true"
65
- className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
68
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
66
69
  focusable="false"
67
70
  viewBox="0 0 24 24"
68
71
  >
@@ -86,28 +89,28 @@ exports[`renders the DownloadIcon with prop size=m 1`] = `
86
89
  </DownloadIcon>
87
90
  `;
88
91
 
89
- exports[`renders the DownloadIcon with prop size=xl 1`] = `
92
+ exports[`renders the DownloadIcon with prop color=warning 1`] = `
90
93
  <DownloadIcon
91
- size="xl"
94
+ color="warning"
92
95
  >
93
96
  <ForwardRef(Icon)
97
+ color="warning"
94
98
  icon="download"
95
- size="xl"
96
99
  >
97
100
  <ForwardRef(SvgIcon)
98
101
  className="ds-svg-icon--download"
99
- size="xl"
102
+ color="warning"
100
103
  >
101
104
  <ForwardRef(Base)
102
105
  aria-hidden="true"
103
106
  as="svg"
104
- className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
107
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
105
108
  focusable="false"
106
109
  viewBox="0 0 24 24"
107
110
  >
108
111
  <svg
109
112
  aria-hidden="true"
110
- className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
113
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
111
114
  focusable="false"
112
115
  viewBox="0 0 24 24"
113
116
  >
@@ -131,31 +134,31 @@ exports[`renders the DownloadIcon with prop size=xl 1`] = `
131
134
  </DownloadIcon>
132
135
  `;
133
136
 
134
- exports[`renders the DownloadIcon with prop variant=error and size= xl 1`] = `
137
+ exports[`renders the DownloadIcon with prop color=warning and size=s 1`] = `
135
138
  <DownloadIcon
136
- size="xl"
137
- variant="warning"
139
+ color="warning"
140
+ size="sm"
138
141
  >
139
142
  <ForwardRef(Icon)
143
+ color="warning"
140
144
  icon="download"
141
- size="xl"
142
- variant="warning"
145
+ size="sm"
143
146
  >
144
147
  <ForwardRef(SvgIcon)
145
148
  className="ds-svg-icon--download"
146
- size="xl"
147
- variant="warning"
149
+ color="warning"
150
+ size="sm"
148
151
  >
149
152
  <ForwardRef(Base)
150
153
  aria-hidden="true"
151
154
  as="svg"
152
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
155
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
153
156
  focusable="false"
154
157
  viewBox="0 0 24 24"
155
158
  >
156
159
  <svg
157
160
  aria-hidden="true"
158
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
161
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
159
162
  focusable="false"
160
163
  viewBox="0 0 24 24"
161
164
  >
@@ -179,28 +182,28 @@ exports[`renders the DownloadIcon with prop variant=error and size= xl 1`] = `
179
182
  </DownloadIcon>
180
183
  `;
181
184
 
182
- exports[`renders the DownloadIcon with prop variant=light 1`] = `
185
+ exports[`renders the DownloadIcon with prop color=white 1`] = `
183
186
  <DownloadIcon
184
- variant="light"
187
+ color="white"
185
188
  >
186
189
  <ForwardRef(Icon)
190
+ color="white"
187
191
  icon="download"
188
- variant="light"
189
192
  >
190
193
  <ForwardRef(SvgIcon)
191
194
  className="ds-svg-icon--download"
192
- variant="light"
195
+ color="white"
193
196
  >
194
197
  <ForwardRef(Base)
195
198
  aria-hidden="true"
196
199
  as="svg"
197
- className="ds-svg-icon--download ds-svg-icon--light ds-svg-icon"
200
+ className="ds-svg-icon--download ds-svg-icon--white ds-svg-icon"
198
201
  focusable="false"
199
202
  viewBox="0 0 24 24"
200
203
  >
201
204
  <svg
202
205
  aria-hidden="true"
203
- className="ds-svg-icon--download ds-svg-icon--light ds-svg-icon"
206
+ className="ds-svg-icon--download ds-svg-icon--white ds-svg-icon"
204
207
  focusable="false"
205
208
  viewBox="0 0 24 24"
206
209
  >
@@ -224,28 +227,28 @@ exports[`renders the DownloadIcon with prop variant=light 1`] = `
224
227
  </DownloadIcon>
225
228
  `;
226
229
 
227
- exports[`renders the DownloadIcon with prop variant=warning 1`] = `
230
+ exports[`renders the DownloadIcon with prop size=m 1`] = `
228
231
  <DownloadIcon
229
- variant="warning"
232
+ size="md"
230
233
  >
231
234
  <ForwardRef(Icon)
232
235
  icon="download"
233
- variant="warning"
236
+ size="md"
234
237
  >
235
238
  <ForwardRef(SvgIcon)
236
239
  className="ds-svg-icon--download"
237
- variant="warning"
240
+ size="md"
238
241
  >
239
242
  <ForwardRef(Base)
240
243
  aria-hidden="true"
241
244
  as="svg"
242
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
245
+ className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
243
246
  focusable="false"
244
247
  viewBox="0 0 24 24"
245
248
  >
246
249
  <svg
247
250
  aria-hidden="true"
248
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
251
+ className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
249
252
  focusable="false"
250
253
  viewBox="0 0 24 24"
251
254
  >
@@ -269,31 +272,28 @@ exports[`renders the DownloadIcon with prop variant=warning 1`] = `
269
272
  </DownloadIcon>
270
273
  `;
271
274
 
272
- exports[`renders the DownloadIcon with prop variant=warning and size=s 1`] = `
275
+ exports[`renders the DownloadIcon with prop size=xl 1`] = `
273
276
  <DownloadIcon
274
- size="sm"
275
- variant="warning"
277
+ size="xl"
276
278
  >
277
279
  <ForwardRef(Icon)
278
280
  icon="download"
279
- size="sm"
280
- variant="warning"
281
+ size="xl"
281
282
  >
282
283
  <ForwardRef(SvgIcon)
283
284
  className="ds-svg-icon--download"
284
- size="sm"
285
- variant="warning"
285
+ size="xl"
286
286
  >
287
287
  <ForwardRef(Base)
288
288
  aria-hidden="true"
289
289
  as="svg"
290
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
290
+ className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
291
291
  focusable="false"
292
292
  viewBox="0 0 24 24"
293
293
  >
294
294
  <svg
295
295
  aria-hidden="true"
296
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
296
+ className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
297
297
  focusable="false"
298
298
  viewBox="0 0 24 24"
299
299
  >
@@ -12,15 +12,15 @@ it('renders the DownloadIcon with prop size=m', () => {
12
12
  it('renders the DownloadIcon with prop size=xl', () => {
13
13
  expect(mount(<DownloadIcon size="xl" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the DownloadIcon with prop variant=light', () => {
16
- expect(mount(<DownloadIcon variant="light" />)).toMatchSnapshot();
15
+ it('renders the DownloadIcon with prop color=white', () => {
16
+ expect(mount(<DownloadIcon color="white" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the DownloadIcon with prop variant=warning', () => {
19
- expect(mount(<DownloadIcon variant="warning" />)).toMatchSnapshot();
18
+ it('renders the DownloadIcon with prop color=warning', () => {
19
+ expect(mount(<DownloadIcon color="warning" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the DownloadIcon with prop variant=warning and size=s', () => {
22
- expect(mount(<DownloadIcon variant="warning" size="sm" />)).toMatchSnapshot();
21
+ it('renders the DownloadIcon with prop color=warning and size=s', () => {
22
+ expect(mount(<DownloadIcon color="warning" size="sm" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the DownloadIcon with prop variant=error and size= xl', () => {
25
- expect(mount(<DownloadIcon variant="warning" size="xl" />)).toMatchSnapshot();
24
+ it('renders the DownloadIcon with prop color=error and size= xl', () => {
25
+ expect(mount(<DownloadIcon color="warning" size="xl" />)).toMatchSnapshot();
26
26
  });