@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
@@ -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=light 1`] = `
74
77
  <CheckIcon
75
- size="xl"
78
+ color="light"
76
79
  >
77
80
  <ForwardRef(Icon)
81
+ color="light"
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="light"
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--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--check ds-svg-icon--xl ds-svg-icon"
97
+ className="ds-svg-icon--check 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 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=success 1`] = `
111
114
  <CheckIcon
112
- size="xl"
113
- variant="warning"
115
+ color="success"
114
116
  >
115
117
  <ForwardRef(Icon)
118
+ color="success"
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="success"
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--success 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--success ds-svg-icon"
135
135
  focusable="false"
136
136
  viewBox="0 0 24 24"
137
137
  >
@@ -147,28 +147,28 @@ 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 1`] = `
151
151
  <CheckIcon
152
- variant="light"
152
+ color="warning"
153
153
  >
154
154
  <ForwardRef(Icon)
155
+ color="warning"
155
156
  icon="check"
156
- variant="light"
157
157
  >
158
158
  <ForwardRef(SvgIcon)
159
159
  className="ds-svg-icon--check"
160
- variant="light"
160
+ color="warning"
161
161
  >
162
162
  <ForwardRef(Base)
163
163
  aria-hidden="true"
164
164
  as="svg"
165
- className="ds-svg-icon--check ds-svg-icon--light ds-svg-icon"
165
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
166
166
  focusable="false"
167
167
  viewBox="0 0 24 24"
168
168
  >
169
169
  <svg
170
170
  aria-hidden="true"
171
- className="ds-svg-icon--check ds-svg-icon--light ds-svg-icon"
171
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
172
172
  focusable="false"
173
173
  viewBox="0 0 24 24"
174
174
  >
@@ -184,28 +184,31 @@ exports[`renders the CheckIcon with prop variant=light 1`] = `
184
184
  </CheckIcon>
185
185
  `;
186
186
 
187
- exports[`renders the CheckIcon with prop variant=success 1`] = `
187
+ exports[`renders the CheckIcon with prop color=warning and size=s 1`] = `
188
188
  <CheckIcon
189
- variant="success"
189
+ color="warning"
190
+ size="sm"
190
191
  >
191
192
  <ForwardRef(Icon)
193
+ color="warning"
192
194
  icon="check"
193
- variant="success"
195
+ size="sm"
194
196
  >
195
197
  <ForwardRef(SvgIcon)
196
198
  className="ds-svg-icon--check"
197
- variant="success"
199
+ color="warning"
200
+ size="sm"
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--warning ds-svg-icon--sm 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--warning ds-svg-icon--sm 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
  >
@@ -18,34 +18,34 @@ it('renders the CheckIcon with prop size=xl', function () {
18
18
  expect(mount(_ref3)).toMatchSnapshot();
19
19
  });
20
20
  var _ref4 = /*#__PURE__*/React.createElement(CheckIcon, {
21
- variant: "light"
21
+ color: "light"
22
22
  });
23
- it('renders the CheckIcon with prop variant=light', function () {
23
+ it('renders the CheckIcon with prop color=light', function () {
24
24
  expect(mount(_ref4)).toMatchSnapshot();
25
25
  });
26
26
  var _ref5 = /*#__PURE__*/React.createElement(CheckIcon, {
27
- variant: "success"
27
+ color: "success"
28
28
  });
29
- it('renders the CheckIcon with prop variant=success', function () {
29
+ it('renders the CheckIcon with prop color=success', function () {
30
30
  expect(mount(_ref5)).toMatchSnapshot();
31
31
  });
32
32
  var _ref6 = /*#__PURE__*/React.createElement(CheckIcon, {
33
- variant: "warning"
33
+ color: "warning"
34
34
  });
35
- it('renders the CheckIcon with prop variant=warning', function () {
35
+ it('renders the CheckIcon with prop color=warning', function () {
36
36
  expect(mount(_ref6)).toMatchSnapshot();
37
37
  });
38
38
  var _ref7 = /*#__PURE__*/React.createElement(CheckIcon, {
39
- variant: "warning",
39
+ color: "warning",
40
40
  size: "sm"
41
41
  });
42
- it('renders the CheckIcon with prop variant=warning and size=s', function () {
42
+ it('renders the CheckIcon with prop color=warning and size=s', function () {
43
43
  expect(mount(_ref7)).toMatchSnapshot();
44
44
  });
45
45
  var _ref8 = /*#__PURE__*/React.createElement(CheckIcon, {
46
- variant: "warning",
46
+ color: "warning",
47
47
  size: "xl"
48
48
  });
49
- it('renders the CheckIcon with prop variant=error and size= xl', function () {
49
+ it('renders the CheckIcon with prop color=error and size= xl', function () {
50
50
  expect(mount(_ref8)).toMatchSnapshot();
51
51
  });
@@ -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=light 1`] = `
90
93
  <DownloadIcon
91
- size="xl"
94
+ color="light"
92
95
  >
93
96
  <ForwardRef(Icon)
97
+ color="light"
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="light"
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--light 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--light ds-svg-icon"
111
114
  focusable="false"
112
115
  viewBox="0 0 24 24"
113
116
  >
@@ -131,31 +134,28 @@ 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 1`] = `
135
138
  <DownloadIcon
136
- size="xl"
137
- variant="warning"
139
+ color="warning"
138
140
  >
139
141
  <ForwardRef(Icon)
142
+ color="warning"
140
143
  icon="download"
141
- size="xl"
142
- variant="warning"
143
144
  >
144
145
  <ForwardRef(SvgIcon)
145
146
  className="ds-svg-icon--download"
146
- size="xl"
147
- variant="warning"
147
+ color="warning"
148
148
  >
149
149
  <ForwardRef(Base)
150
150
  aria-hidden="true"
151
151
  as="svg"
152
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
152
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
153
153
  focusable="false"
154
154
  viewBox="0 0 24 24"
155
155
  >
156
156
  <svg
157
157
  aria-hidden="true"
158
- className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
158
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
159
159
  focusable="false"
160
160
  viewBox="0 0 24 24"
161
161
  >
@@ -179,28 +179,31 @@ exports[`renders the DownloadIcon with prop variant=error and size= xl 1`] = `
179
179
  </DownloadIcon>
180
180
  `;
181
181
 
182
- exports[`renders the DownloadIcon with prop variant=light 1`] = `
182
+ exports[`renders the DownloadIcon with prop color=warning and size=s 1`] = `
183
183
  <DownloadIcon
184
- variant="light"
184
+ color="warning"
185
+ size="sm"
185
186
  >
186
187
  <ForwardRef(Icon)
188
+ color="warning"
187
189
  icon="download"
188
- variant="light"
190
+ size="sm"
189
191
  >
190
192
  <ForwardRef(SvgIcon)
191
193
  className="ds-svg-icon--download"
192
- variant="light"
194
+ color="warning"
195
+ size="sm"
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--warning ds-svg-icon--sm 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--warning ds-svg-icon--sm 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
  >
@@ -18,28 +18,28 @@ it('renders the DownloadIcon with prop size=xl', function () {
18
18
  expect(mount(_ref3)).toMatchSnapshot();
19
19
  });
20
20
  var _ref4 = /*#__PURE__*/React.createElement(DownloadIcon, {
21
- variant: "light"
21
+ color: "light"
22
22
  });
23
- it('renders the DownloadIcon with prop variant=light', function () {
23
+ it('renders the DownloadIcon with prop color=light', function () {
24
24
  expect(mount(_ref4)).toMatchSnapshot();
25
25
  });
26
26
  var _ref5 = /*#__PURE__*/React.createElement(DownloadIcon, {
27
- variant: "warning"
27
+ color: "warning"
28
28
  });
29
- it('renders the DownloadIcon with prop variant=warning', function () {
29
+ it('renders the DownloadIcon with prop color=warning', function () {
30
30
  expect(mount(_ref5)).toMatchSnapshot();
31
31
  });
32
32
  var _ref6 = /*#__PURE__*/React.createElement(DownloadIcon, {
33
- variant: "warning",
33
+ color: "warning",
34
34
  size: "sm"
35
35
  });
36
- it('renders the DownloadIcon with prop variant=warning and size=s', function () {
36
+ it('renders the DownloadIcon with prop color=warning and size=s', function () {
37
37
  expect(mount(_ref6)).toMatchSnapshot();
38
38
  });
39
39
  var _ref7 = /*#__PURE__*/React.createElement(DownloadIcon, {
40
- variant: "warning",
40
+ color: "warning",
41
41
  size: "xl"
42
42
  });
43
- it('renders the DownloadIcon with prop variant=error and size= xl', function () {
43
+ it('renders the DownloadIcon with prop color=error and size= xl', function () {
44
44
  expect(mount(_ref7)).toMatchSnapshot();
45
45
  });