@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
@@ -38,28 +38,31 @@ exports[`renders the ExclamationIcon with no props 1`] = `
38
38
  </ExclamationIcon>
39
39
  `;
40
40
 
41
- exports[`renders the ExclamationIcon with prop size=md 1`] = `
41
+ exports[`renders the ExclamationIcon with prop color=error and size=sm 1`] = `
42
42
  <ExclamationIcon
43
- size="md"
43
+ color="error"
44
+ size="sm"
44
45
  >
45
46
  <ForwardRef(Icon)
47
+ color="error"
46
48
  icon="exclamation"
47
- size="md"
49
+ size="sm"
48
50
  >
49
51
  <ForwardRef(SvgIcon)
50
52
  className="ds-svg-icon--exclamation"
51
- size="md"
53
+ color="error"
54
+ size="sm"
52
55
  >
53
56
  <ForwardRef(Base)
54
57
  aria-hidden="true"
55
58
  as="svg"
56
- className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
59
+ className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
57
60
  focusable="false"
58
61
  viewBox="0 0 24 24"
59
62
  >
60
63
  <svg
61
64
  aria-hidden="true"
62
- className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
65
+ className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
63
66
  focusable="false"
64
67
  viewBox="0 0 24 24"
65
68
  >
@@ -80,28 +83,31 @@ exports[`renders the ExclamationIcon with prop size=md 1`] = `
80
83
  </ExclamationIcon>
81
84
  `;
82
85
 
83
- exports[`renders the ExclamationIcon with prop size=xl 1`] = `
86
+ exports[`renders the ExclamationIcon with prop color=info and size= xl 1`] = `
84
87
  <ExclamationIcon
88
+ color="info"
85
89
  size="xl"
86
90
  >
87
91
  <ForwardRef(Icon)
92
+ color="info"
88
93
  icon="exclamation"
89
94
  size="xl"
90
95
  >
91
96
  <ForwardRef(SvgIcon)
92
97
  className="ds-svg-icon--exclamation"
98
+ color="info"
93
99
  size="xl"
94
100
  >
95
101
  <ForwardRef(Base)
96
102
  aria-hidden="true"
97
103
  as="svg"
98
- className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
104
+ className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
99
105
  focusable="false"
100
106
  viewBox="0 0 24 24"
101
107
  >
102
108
  <svg
103
109
  aria-hidden="true"
104
- className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
110
+ className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
105
111
  focusable="false"
106
112
  viewBox="0 0 24 24"
107
113
  >
@@ -122,31 +128,28 @@ exports[`renders the ExclamationIcon with prop size=xl 1`] = `
122
128
  </ExclamationIcon>
123
129
  `;
124
130
 
125
- exports[`renders the ExclamationIcon with prop variant=error and size=sm 1`] = `
131
+ exports[`renders the ExclamationIcon with prop color=light 1`] = `
126
132
  <ExclamationIcon
127
- size="sm"
128
- variant="error"
133
+ color="light"
129
134
  >
130
135
  <ForwardRef(Icon)
136
+ color="light"
131
137
  icon="exclamation"
132
- size="sm"
133
- variant="error"
134
138
  >
135
139
  <ForwardRef(SvgIcon)
136
140
  className="ds-svg-icon--exclamation"
137
- size="sm"
138
- variant="error"
141
+ color="light"
139
142
  >
140
143
  <ForwardRef(Base)
141
144
  aria-hidden="true"
142
145
  as="svg"
143
- className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
146
+ className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
144
147
  focusable="false"
145
148
  viewBox="0 0 24 24"
146
149
  >
147
150
  <svg
148
151
  aria-hidden="true"
149
- className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
152
+ className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
150
153
  focusable="false"
151
154
  viewBox="0 0 24 24"
152
155
  >
@@ -167,31 +170,28 @@ exports[`renders the ExclamationIcon with prop variant=error and size=sm 1`] = `
167
170
  </ExclamationIcon>
168
171
  `;
169
172
 
170
- exports[`renders the ExclamationIcon with prop variant=info and size= xl 1`] = `
173
+ exports[`renders the ExclamationIcon with prop color=warning 1`] = `
171
174
  <ExclamationIcon
172
- size="xl"
173
- variant="info"
175
+ color="warning"
174
176
  >
175
177
  <ForwardRef(Icon)
178
+ color="warning"
176
179
  icon="exclamation"
177
- size="xl"
178
- variant="info"
179
180
  >
180
181
  <ForwardRef(SvgIcon)
181
182
  className="ds-svg-icon--exclamation"
182
- size="xl"
183
- variant="info"
183
+ color="warning"
184
184
  >
185
185
  <ForwardRef(Base)
186
186
  aria-hidden="true"
187
187
  as="svg"
188
- className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
188
+ className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
189
189
  focusable="false"
190
190
  viewBox="0 0 24 24"
191
191
  >
192
192
  <svg
193
193
  aria-hidden="true"
194
- className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
194
+ className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
195
195
  focusable="false"
196
196
  viewBox="0 0 24 24"
197
197
  >
@@ -212,28 +212,28 @@ exports[`renders the ExclamationIcon with prop variant=info and size= xl 1`] = `
212
212
  </ExclamationIcon>
213
213
  `;
214
214
 
215
- exports[`renders the ExclamationIcon with prop variant=light 1`] = `
215
+ exports[`renders the ExclamationIcon with prop size=md 1`] = `
216
216
  <ExclamationIcon
217
- variant="light"
217
+ size="md"
218
218
  >
219
219
  <ForwardRef(Icon)
220
220
  icon="exclamation"
221
- variant="light"
221
+ size="md"
222
222
  >
223
223
  <ForwardRef(SvgIcon)
224
224
  className="ds-svg-icon--exclamation"
225
- variant="light"
225
+ size="md"
226
226
  >
227
227
  <ForwardRef(Base)
228
228
  aria-hidden="true"
229
229
  as="svg"
230
- className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
230
+ className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
231
231
  focusable="false"
232
232
  viewBox="0 0 24 24"
233
233
  >
234
234
  <svg
235
235
  aria-hidden="true"
236
- className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
236
+ className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
237
237
  focusable="false"
238
238
  viewBox="0 0 24 24"
239
239
  >
@@ -254,28 +254,28 @@ exports[`renders the ExclamationIcon with prop variant=light 1`] = `
254
254
  </ExclamationIcon>
255
255
  `;
256
256
 
257
- exports[`renders the ExclamationIcon with prop variant=warning 1`] = `
257
+ exports[`renders the ExclamationIcon with prop size=xl 1`] = `
258
258
  <ExclamationIcon
259
- variant="warning"
259
+ size="xl"
260
260
  >
261
261
  <ForwardRef(Icon)
262
262
  icon="exclamation"
263
- variant="warning"
263
+ size="xl"
264
264
  >
265
265
  <ForwardRef(SvgIcon)
266
266
  className="ds-svg-icon--exclamation"
267
- variant="warning"
267
+ size="xl"
268
268
  >
269
269
  <ForwardRef(Base)
270
270
  aria-hidden="true"
271
271
  as="svg"
272
- className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
272
+ className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
273
273
  focusable="false"
274
274
  viewBox="0 0 24 24"
275
275
  >
276
276
  <svg
277
277
  aria-hidden="true"
278
- className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
278
+ className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
279
279
  focusable="false"
280
280
  viewBox="0 0 24 24"
281
281
  >
@@ -12,15 +12,15 @@ it('renders the ExclamationIcon with prop size=md', () => {
12
12
  it('renders the ExclamationIcon with prop size=xl', () => {
13
13
  expect(mount(<ExclamationIcon size="xl" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the ExclamationIcon with prop variant=light', () => {
16
- expect(mount(<ExclamationIcon variant="light" />)).toMatchSnapshot();
15
+ it('renders the ExclamationIcon with prop color=light', () => {
16
+ expect(mount(<ExclamationIcon color="light" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the ExclamationIcon with prop variant=warning', () => {
19
- expect(mount(<ExclamationIcon variant="warning" />)).toMatchSnapshot();
18
+ it('renders the ExclamationIcon with prop color=warning', () => {
19
+ expect(mount(<ExclamationIcon color="warning" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the ExclamationIcon with prop variant=error and size=sm', () => {
22
- expect(mount(<ExclamationIcon variant="error" size="sm" />)).toMatchSnapshot();
21
+ it('renders the ExclamationIcon with prop color=error and size=sm', () => {
22
+ expect(mount(<ExclamationIcon color="error" size="sm" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the ExclamationIcon with prop variant=info and size= xl', () => {
25
- expect(mount(<ExclamationIcon variant="info" size="xl" />)).toMatchSnapshot();
24
+ it('renders the ExclamationIcon with prop color=info and size= xl', () => {
25
+ expect(mount(<ExclamationIcon color="info" size="xl" />)).toMatchSnapshot();
26
26
  });
@@ -1,16 +1,16 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`renders the GlobeIcon prop variant= "error" 1`] = `
3
+ exports[`renders the GlobeIcon prop color= "error" 1`] = `
4
4
  <GlobeIcon
5
- variant="error"
5
+ color="error"
6
6
  >
7
7
  <ForwardRef(Icon)
8
+ color="error"
8
9
  icon="globe"
9
- variant="error"
10
10
  >
11
11
  <ForwardRef(SvgIcon)
12
12
  className="ds-svg-icon--globe"
13
- variant="error"
13
+ color="error"
14
14
  >
15
15
  <ForwardRef(Base)
16
16
  aria-hidden="true"
@@ -38,17 +38,17 @@ exports[`renders the GlobeIcon prop variant= "error" 1`] = `
38
38
  </GlobeIcon>
39
39
  `;
40
40
 
41
- exports[`renders the GlobeIcon prop variant= "light" 1`] = `
41
+ exports[`renders the GlobeIcon prop color= "light" 1`] = `
42
42
  <GlobeIcon
43
- variant="light"
43
+ color="light"
44
44
  >
45
45
  <ForwardRef(Icon)
46
+ color="light"
46
47
  icon="globe"
47
- variant="light"
48
48
  >
49
49
  <ForwardRef(SvgIcon)
50
50
  className="ds-svg-icon--globe"
51
- variant="light"
51
+ color="light"
52
52
  >
53
53
  <ForwardRef(Base)
54
54
  aria-hidden="true"
@@ -110,17 +110,17 @@ exports[`renders the GlobeIcon with no props 1`] = `
110
110
  </GlobeIcon>
111
111
  `;
112
112
 
113
- exports[`renders the GlobeIcon with prop variant=dark 1`] = `
113
+ exports[`renders the GlobeIcon with prop color=dark 1`] = `
114
114
  <GlobeIcon
115
- variant="dark"
115
+ color="dark"
116
116
  >
117
117
  <ForwardRef(Icon)
118
+ color="dark"
118
119
  icon="globe"
119
- variant="dark"
120
120
  >
121
121
  <ForwardRef(SvgIcon)
122
122
  className="ds-svg-icon--globe"
123
- variant="dark"
123
+ color="dark"
124
124
  >
125
125
  <ForwardRef(Base)
126
126
  aria-hidden="true"
@@ -7,13 +7,13 @@ it('renders the GlobeIcon with no props', () => {
7
7
  expect(mount(<GlobeIcon />)).toMatchSnapshot();
8
8
  });
9
9
 
10
- it('renders the GlobeIcon with prop variant=dark', () => {
11
- expect(mount(<GlobeIcon variant="dark" />)).toMatchSnapshot();
10
+ it('renders the GlobeIcon with prop color=dark', () => {
11
+ expect(mount(<GlobeIcon color="dark" />)).toMatchSnapshot();
12
12
  });
13
13
 
14
- it('renders the GlobeIcon prop variant= "light"', () => {
15
- expect(mount(<GlobeIcon variant="light" />)).toMatchSnapshot();
14
+ it('renders the GlobeIcon prop color= "light"', () => {
15
+ expect(mount(<GlobeIcon color="light" />)).toMatchSnapshot();
16
16
  });
17
- it('renders the GlobeIcon prop variant= "error"', () => {
18
- expect(mount(<GlobeIcon variant="error" />)).toMatchSnapshot();
17
+ it('renders the GlobeIcon prop color= "error"', () => {
18
+ expect(mount(<GlobeIcon color="error" />)).toMatchSnapshot();
19
19
  });
@@ -33,28 +33,31 @@ exports[`renders the LockIcon with no props 1`] = `
33
33
  </LockIcon>
34
34
  `;
35
35
 
36
- exports[`renders the LockIcon with prop size=md 1`] = `
36
+ exports[`renders the LockIcon with prop color=error and size= xl 1`] = `
37
37
  <LockIcon
38
- size="md"
38
+ color="warning"
39
+ size="xl"
39
40
  >
40
41
  <ForwardRef(Icon)
42
+ color="warning"
41
43
  icon="lock"
42
- size="md"
44
+ size="xl"
43
45
  >
44
46
  <ForwardRef(SvgIcon)
45
47
  className="ds-svg-icon--lock"
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--lock ds-svg-icon--md ds-svg-icon"
54
+ className="ds-svg-icon--lock 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--lock ds-svg-icon--md ds-svg-icon"
60
+ className="ds-svg-icon--lock 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 LockIcon with prop size=md 1`] = `
70
73
  </LockIcon>
71
74
  `;
72
75
 
73
- exports[`renders the LockIcon with prop size=xl 1`] = `
76
+ exports[`renders the LockIcon with prop color=light 1`] = `
74
77
  <LockIcon
75
- size="xl"
78
+ color="light"
76
79
  >
77
80
  <ForwardRef(Icon)
81
+ color="light"
78
82
  icon="lock"
79
- size="xl"
80
83
  >
81
84
  <ForwardRef(SvgIcon)
82
85
  className="ds-svg-icon--lock"
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--lock ds-svg-icon--xl ds-svg-icon"
91
+ className="ds-svg-icon--lock 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--lock ds-svg-icon--xl ds-svg-icon"
97
+ className="ds-svg-icon--lock 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 LockIcon with prop size=xl 1`] = `
107
110
  </LockIcon>
108
111
  `;
109
112
 
110
- exports[`renders the LockIcon with prop variant=error and size= xl 1`] = `
113
+ exports[`renders the LockIcon with prop color=warning 1`] = `
111
114
  <LockIcon
112
- size="xl"
113
- variant="warning"
115
+ color="warning"
114
116
  >
115
117
  <ForwardRef(Icon)
118
+ color="warning"
116
119
  icon="lock"
117
- size="xl"
118
- variant="warning"
119
120
  >
120
121
  <ForwardRef(SvgIcon)
121
122
  className="ds-svg-icon--lock"
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--lock ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
128
+ className="ds-svg-icon--lock 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--lock ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
134
+ className="ds-svg-icon--lock 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 LockIcon with prop variant=error and size= xl 1`] = `
147
147
  </LockIcon>
148
148
  `;
149
149
 
150
- exports[`renders the LockIcon with prop variant=light 1`] = `
150
+ exports[`renders the LockIcon with prop color=warning and size=sm 1`] = `
151
151
  <LockIcon
152
- variant="light"
152
+ color="warning"
153
+ size="sm"
153
154
  >
154
155
  <ForwardRef(Icon)
156
+ color="warning"
155
157
  icon="lock"
156
- variant="light"
158
+ size="sm"
157
159
  >
158
160
  <ForwardRef(SvgIcon)
159
161
  className="ds-svg-icon--lock"
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--lock ds-svg-icon--light ds-svg-icon"
168
+ className="ds-svg-icon--lock 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--lock ds-svg-icon--light ds-svg-icon"
174
+ className="ds-svg-icon--lock 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 LockIcon with prop variant=light 1`] = `
184
187
  </LockIcon>
185
188
  `;
186
189
 
187
- exports[`renders the LockIcon with prop variant=warning 1`] = `
190
+ exports[`renders the LockIcon with prop size=md 1`] = `
188
191
  <LockIcon
189
- variant="warning"
192
+ size="md"
190
193
  >
191
194
  <ForwardRef(Icon)
192
195
  icon="lock"
193
- variant="warning"
196
+ size="md"
194
197
  >
195
198
  <ForwardRef(SvgIcon)
196
199
  className="ds-svg-icon--lock"
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--lock ds-svg-icon--warning ds-svg-icon"
205
+ className="ds-svg-icon--lock 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--lock ds-svg-icon--warning ds-svg-icon"
211
+ className="ds-svg-icon--lock 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 LockIcon with prop variant=warning 1`] = `
221
224
  </LockIcon>
222
225
  `;
223
226
 
224
- exports[`renders the LockIcon with prop variant=warning and size=sm 1`] = `
227
+ exports[`renders the LockIcon with prop size=xl 1`] = `
225
228
  <LockIcon
226
- size="sm"
227
- variant="warning"
229
+ size="xl"
228
230
  >
229
231
  <ForwardRef(Icon)
230
232
  icon="lock"
231
- size="sm"
232
- variant="warning"
233
+ size="xl"
233
234
  >
234
235
  <ForwardRef(SvgIcon)
235
236
  className="ds-svg-icon--lock"
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--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
242
+ className="ds-svg-icon--lock 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--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
248
+ className="ds-svg-icon--lock ds-svg-icon--xl ds-svg-icon"
249
249
  focusable="false"
250
250
  viewBox="0 0 24 24"
251
251
  >
@@ -12,15 +12,15 @@ it('renders the LockIcon with prop size=md', () => {
12
12
  it('renders the LockIcon with prop size=xl', () => {
13
13
  expect(mount(<LockIcon size="xl" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the LockIcon with prop variant=light', () => {
16
- expect(mount(<LockIcon variant="light" />)).toMatchSnapshot();
15
+ it('renders the LockIcon with prop color=light', () => {
16
+ expect(mount(<LockIcon color="light" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the LockIcon with prop variant=warning', () => {
19
- expect(mount(<LockIcon variant="warning" />)).toMatchSnapshot();
18
+ it('renders the LockIcon with prop color=warning', () => {
19
+ expect(mount(<LockIcon color="warning" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the LockIcon with prop variant=warning and size=sm', () => {
22
- expect(mount(<LockIcon variant="warning" size="sm" />)).toMatchSnapshot();
21
+ it('renders the LockIcon with prop color=warning and size=sm', () => {
22
+ expect(mount(<LockIcon color="warning" size="sm" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the LockIcon with prop variant=error and size= xl', () => {
25
- expect(mount(<LockIcon variant="warning" size="xl" />)).toMatchSnapshot();
24
+ it('renders the LockIcon with prop color=error and size= xl', () => {
25
+ expect(mount(<LockIcon color="warning" size="xl" />)).toMatchSnapshot();
26
26
  });