@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
@@ -21,40 +21,40 @@ it('renders the AccessibilityIcon with prop size=l', function () {
21
21
  expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
22
  });
23
23
  var _ref4 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
24
- variant: "dark"
24
+ color: "dark"
25
25
  });
26
- it('renders the AccessibilityIcon with prop variant=dark', function () {
26
+ it('renders the AccessibilityIcon with prop color=dark', function () {
27
27
  expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
28
28
  });
29
29
  var _ref5 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
30
- variant: "primary"
30
+ color: "primary"
31
31
  });
32
- it('renders the AccessibilityIcon with prop variant=primary', function () {
32
+ it('renders the AccessibilityIcon with prop color=primary', function () {
33
33
  expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
34
34
  });
35
35
  var _ref6 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
36
- variant: "success"
36
+ color: "success"
37
37
  });
38
- it('renders the AccessibilityIcon with prop variant=success', function () {
38
+ it('renders the AccessibilityIcon with prop color=success', function () {
39
39
  expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
40
40
  });
41
41
  var _ref7 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
42
- variant: "error"
42
+ color: "error"
43
43
  });
44
- it('renders the AccessibilityIcon with prop variant=error', function () {
44
+ it('renders the AccessibilityIcon with prop color=error', function () {
45
45
  expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
46
46
  });
47
47
  var _ref8 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
48
- variant: "warning",
48
+ color: "warning",
49
49
  size: "sm"
50
50
  });
51
- it('renders the AccessibilityIcon with prop variant=warning and size=s', function () {
51
+ it('renders the AccessibilityIcon with prop color=warning and size=s', function () {
52
52
  expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
53
53
  });
54
54
  var _ref9 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
55
- variant: "warning",
55
+ color: "warning",
56
56
  size: "xl"
57
57
  });
58
- it('renders the AccessibilityIcon with prop variant=error and size= xl', function () {
58
+ it('renders the AccessibilityIcon with prop color=error and size= xl', function () {
59
59
  expect((0, _enzyme.mount)(_ref9)).toMatchSnapshot();
60
60
  });
@@ -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"
@@ -15,27 +15,27 @@ it('renders the BurgerIcon with prop active=true', function () {
15
15
  expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
16
16
  });
17
17
  var _ref3 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
18
- variant: "dark"
18
+ color: "dark"
19
19
  });
20
- it('renders the BurgerIcon with prop variant=dark', function () {
20
+ it('renders the BurgerIcon with prop color=dark', function () {
21
21
  expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
22
  });
23
23
  var _ref4 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
24
- variant: "light"
24
+ color: "light"
25
25
  });
26
- it('renders the BurgerIcon prop variant= "light"', function () {
26
+ it('renders the BurgerIcon prop color= "light"', function () {
27
27
  expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
28
28
  });
29
29
  var _ref5 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
30
- variant: "error"
30
+ color: "error"
31
31
  });
32
- it('renders the BurgerIcon prop variant= "error"', function () {
32
+ it('renders the BurgerIcon prop color= "error"', function () {
33
33
  expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
34
34
  });
35
35
  var _ref6 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
36
36
  active: true,
37
- variant: "light"
37
+ color: "light"
38
38
  });
39
- it('renders the BurgerIcon props active variant= "light"', function () {
39
+ it('renders the BurgerIcon props active color= "light"', function () {
40
40
  expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
41
41
  });
@@ -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
  >
@@ -21,28 +21,28 @@ it('renders the CancelIcon with prop size=xl', function () {
21
21
  expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
22
  });
23
23
  var _ref4 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
24
- variant: "light"
24
+ color: "light"
25
25
  });
26
- it('renders the CancelIcon with prop variant=light', function () {
26
+ it('renders the CancelIcon with prop color=light', function () {
27
27
  expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
28
28
  });
29
29
  var _ref5 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
30
- variant: "warning"
30
+ color: "warning"
31
31
  });
32
- it('renders the CancelIcon with prop variant=warning', function () {
32
+ it('renders the CancelIcon with prop color=warning', function () {
33
33
  expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
34
34
  });
35
35
  var _ref6 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
36
- variant: "warning",
36
+ color: "warning",
37
37
  size: "sm"
38
38
  });
39
- it('renders the CancelIcon with prop variant=warning and size=s', function () {
39
+ it('renders the CancelIcon with prop color=warning and size=s', function () {
40
40
  expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
41
41
  });
42
42
  var _ref7 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
43
- variant: "warning",
43
+ color: "warning",
44
44
  size: "xl"
45
45
  });
46
- it('renders the CancelIcon with prop variant=error and size= xl', function () {
46
+ it('renders the CancelIcon with prop color=error and size= xl', function () {
47
47
  expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
48
48
  });
@@ -71,28 +71,31 @@ exports[`renders the ChatIcon with no props 1`] = `
71
71
  </ChatIcon>
72
72
  `;
73
73
 
74
- exports[`renders the ChatIcon with prop size=md 1`] = `
74
+ exports[`renders the ChatIcon with prop color=error and size= xl 1`] = `
75
75
  <ChatIcon
76
- size="md"
76
+ color="warning"
77
+ size="xl"
77
78
  >
78
79
  <ForwardRef(Icon)
80
+ color="warning"
79
81
  icon="chat"
80
- size="md"
82
+ size="xl"
81
83
  >
82
84
  <ForwardRef(SvgIcon)
83
85
  className="ds-svg-icon--chat"
84
- size="md"
86
+ color="warning"
87
+ size="xl"
85
88
  >
86
89
  <ForwardRef(Base)
87
90
  aria-hidden="true"
88
91
  as="svg"
89
- className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
92
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
90
93
  focusable="false"
91
94
  viewBox="0 0 24 24"
92
95
  >
93
96
  <svg
94
97
  aria-hidden="true"
95
- className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
98
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
96
99
  focusable="false"
97
100
  viewBox="0 0 24 24"
98
101
  >
@@ -108,28 +111,28 @@ exports[`renders the ChatIcon with prop size=md 1`] = `
108
111
  </ChatIcon>
109
112
  `;
110
113
 
111
- exports[`renders the ChatIcon with prop size=xl 1`] = `
114
+ exports[`renders the ChatIcon with prop color=light 1`] = `
112
115
  <ChatIcon
113
- size="xl"
116
+ color="light"
114
117
  >
115
118
  <ForwardRef(Icon)
119
+ color="light"
116
120
  icon="chat"
117
- size="xl"
118
121
  >
119
122
  <ForwardRef(SvgIcon)
120
123
  className="ds-svg-icon--chat"
121
- size="xl"
124
+ color="light"
122
125
  >
123
126
  <ForwardRef(Base)
124
127
  aria-hidden="true"
125
128
  as="svg"
126
- className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
129
+ className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
127
130
  focusable="false"
128
131
  viewBox="0 0 24 24"
129
132
  >
130
133
  <svg
131
134
  aria-hidden="true"
132
- className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
135
+ className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
133
136
  focusable="false"
134
137
  viewBox="0 0 24 24"
135
138
  >
@@ -145,31 +148,28 @@ exports[`renders the ChatIcon with prop size=xl 1`] = `
145
148
  </ChatIcon>
146
149
  `;
147
150
 
148
- exports[`renders the ChatIcon with prop variant=error and size= xl 1`] = `
151
+ exports[`renders the ChatIcon with prop color=warning 1`] = `
149
152
  <ChatIcon
150
- size="xl"
151
- variant="warning"
153
+ color="warning"
152
154
  >
153
155
  <ForwardRef(Icon)
156
+ color="warning"
154
157
  icon="chat"
155
- size="xl"
156
- variant="warning"
157
158
  >
158
159
  <ForwardRef(SvgIcon)
159
160
  className="ds-svg-icon--chat"
160
- size="xl"
161
- variant="warning"
161
+ color="warning"
162
162
  >
163
163
  <ForwardRef(Base)
164
164
  aria-hidden="true"
165
165
  as="svg"
166
- className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
166
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
167
167
  focusable="false"
168
168
  viewBox="0 0 24 24"
169
169
  >
170
170
  <svg
171
171
  aria-hidden="true"
172
- className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
172
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
173
173
  focusable="false"
174
174
  viewBox="0 0 24 24"
175
175
  >
@@ -185,28 +185,31 @@ exports[`renders the ChatIcon with prop variant=error and size= xl 1`] = `
185
185
  </ChatIcon>
186
186
  `;
187
187
 
188
- exports[`renders the ChatIcon with prop variant=light 1`] = `
188
+ exports[`renders the ChatIcon with prop color=warning and size=sm 1`] = `
189
189
  <ChatIcon
190
- variant="light"
190
+ color="warning"
191
+ size="sm"
191
192
  >
192
193
  <ForwardRef(Icon)
194
+ color="warning"
193
195
  icon="chat"
194
- variant="light"
196
+ size="sm"
195
197
  >
196
198
  <ForwardRef(SvgIcon)
197
199
  className="ds-svg-icon--chat"
198
- variant="light"
200
+ color="warning"
201
+ size="sm"
199
202
  >
200
203
  <ForwardRef(Base)
201
204
  aria-hidden="true"
202
205
  as="svg"
203
- className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
206
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
204
207
  focusable="false"
205
208
  viewBox="0 0 24 24"
206
209
  >
207
210
  <svg
208
211
  aria-hidden="true"
209
- className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
212
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
210
213
  focusable="false"
211
214
  viewBox="0 0 24 24"
212
215
  >
@@ -222,28 +225,28 @@ exports[`renders the ChatIcon with prop variant=light 1`] = `
222
225
  </ChatIcon>
223
226
  `;
224
227
 
225
- exports[`renders the ChatIcon with prop variant=warning 1`] = `
228
+ exports[`renders the ChatIcon with prop size=md 1`] = `
226
229
  <ChatIcon
227
- variant="warning"
230
+ size="md"
228
231
  >
229
232
  <ForwardRef(Icon)
230
233
  icon="chat"
231
- variant="warning"
234
+ size="md"
232
235
  >
233
236
  <ForwardRef(SvgIcon)
234
237
  className="ds-svg-icon--chat"
235
- variant="warning"
238
+ size="md"
236
239
  >
237
240
  <ForwardRef(Base)
238
241
  aria-hidden="true"
239
242
  as="svg"
240
- className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
243
+ className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
241
244
  focusable="false"
242
245
  viewBox="0 0 24 24"
243
246
  >
244
247
  <svg
245
248
  aria-hidden="true"
246
- className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
249
+ className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
247
250
  focusable="false"
248
251
  viewBox="0 0 24 24"
249
252
  >
@@ -259,31 +262,28 @@ exports[`renders the ChatIcon with prop variant=warning 1`] = `
259
262
  </ChatIcon>
260
263
  `;
261
264
 
262
- exports[`renders the ChatIcon with prop variant=warning and size=sm 1`] = `
265
+ exports[`renders the ChatIcon with prop size=xl 1`] = `
263
266
  <ChatIcon
264
- size="sm"
265
- variant="warning"
267
+ size="xl"
266
268
  >
267
269
  <ForwardRef(Icon)
268
270
  icon="chat"
269
- size="sm"
270
- variant="warning"
271
+ size="xl"
271
272
  >
272
273
  <ForwardRef(SvgIcon)
273
274
  className="ds-svg-icon--chat"
274
- size="sm"
275
- variant="warning"
275
+ size="xl"
276
276
  >
277
277
  <ForwardRef(Base)
278
278
  aria-hidden="true"
279
279
  as="svg"
280
- className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
280
+ className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
281
281
  focusable="false"
282
282
  viewBox="0 0 24 24"
283
283
  >
284
284
  <svg
285
285
  aria-hidden="true"
286
- className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
286
+ className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
287
287
  focusable="false"
288
288
  viewBox="0 0 24 24"
289
289
  >