@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
@@ -33,28 +33,28 @@ exports[`renders the UncheckIcon with no props 1`] = `
33
33
  </UncheckIcon>
34
34
  `;
35
35
 
36
- exports[`renders the UncheckIcon with prop size=l 1`] = `
36
+ exports[`renders the UncheckIcon with prop color=dark 1`] = `
37
37
  <UncheckIcon
38
- size="lg"
38
+ color="dark"
39
39
  >
40
40
  <ForwardRef(Icon)
41
+ color="dark"
41
42
  icon="uncheck"
42
- size="lg"
43
43
  >
44
44
  <ForwardRef(SvgIcon)
45
45
  className="ds-svg-icon--uncheck"
46
- size="lg"
46
+ color="dark"
47
47
  >
48
48
  <ForwardRef(Base)
49
49
  aria-hidden="true"
50
50
  as="svg"
51
- className="ds-svg-icon--uncheck ds-svg-icon--lg ds-svg-icon"
51
+ className="ds-svg-icon--uncheck ds-svg-icon--dark ds-svg-icon"
52
52
  focusable="false"
53
53
  viewBox="0 0 24 24"
54
54
  >
55
55
  <svg
56
56
  aria-hidden="true"
57
- className="ds-svg-icon--uncheck ds-svg-icon--lg ds-svg-icon"
57
+ className="ds-svg-icon--uncheck ds-svg-icon--dark ds-svg-icon"
58
58
  focusable="false"
59
59
  viewBox="0 0 24 24"
60
60
  >
@@ -70,28 +70,31 @@ exports[`renders the UncheckIcon with prop size=l 1`] = `
70
70
  </UncheckIcon>
71
71
  `;
72
72
 
73
- exports[`renders the UncheckIcon with prop size=m 1`] = `
73
+ exports[`renders the UncheckIcon with prop color=error and size= xl 1`] = `
74
74
  <UncheckIcon
75
- size="md"
75
+ color="warning"
76
+ size="xl"
76
77
  >
77
78
  <ForwardRef(Icon)
79
+ color="warning"
78
80
  icon="uncheck"
79
- size="md"
81
+ size="xl"
80
82
  >
81
83
  <ForwardRef(SvgIcon)
82
84
  className="ds-svg-icon--uncheck"
83
- size="md"
85
+ color="warning"
86
+ size="xl"
84
87
  >
85
88
  <ForwardRef(Base)
86
89
  aria-hidden="true"
87
90
  as="svg"
88
- className="ds-svg-icon--uncheck ds-svg-icon--md ds-svg-icon"
91
+ className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--xl 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--uncheck ds-svg-icon--md ds-svg-icon"
97
+ className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
95
98
  focusable="false"
96
99
  viewBox="0 0 24 24"
97
100
  >
@@ -107,28 +110,28 @@ exports[`renders the UncheckIcon with prop size=m 1`] = `
107
110
  </UncheckIcon>
108
111
  `;
109
112
 
110
- exports[`renders the UncheckIcon with prop variant=dark 1`] = `
113
+ exports[`renders the UncheckIcon with prop color=gray 1`] = `
111
114
  <UncheckIcon
112
- variant="dark"
115
+ color="gray"
113
116
  >
114
117
  <ForwardRef(Icon)
118
+ color="gray"
115
119
  icon="uncheck"
116
- variant="dark"
117
120
  >
118
121
  <ForwardRef(SvgIcon)
119
122
  className="ds-svg-icon--uncheck"
120
- variant="dark"
123
+ color="gray"
121
124
  >
122
125
  <ForwardRef(Base)
123
126
  aria-hidden="true"
124
127
  as="svg"
125
- className="ds-svg-icon--uncheck ds-svg-icon--dark ds-svg-icon"
128
+ className="ds-svg-icon--uncheck ds-svg-icon--gray ds-svg-icon"
126
129
  focusable="false"
127
130
  viewBox="0 0 24 24"
128
131
  >
129
132
  <svg
130
133
  aria-hidden="true"
131
- className="ds-svg-icon--uncheck ds-svg-icon--dark ds-svg-icon"
134
+ className="ds-svg-icon--uncheck ds-svg-icon--gray ds-svg-icon"
132
135
  focusable="false"
133
136
  viewBox="0 0 24 24"
134
137
  >
@@ -144,31 +147,28 @@ exports[`renders the UncheckIcon with prop variant=dark 1`] = `
144
147
  </UncheckIcon>
145
148
  `;
146
149
 
147
- exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
150
+ exports[`renders the UncheckIcon with prop color=light 1`] = `
148
151
  <UncheckIcon
149
- size="xl"
150
- variant="warning"
152
+ color="light"
151
153
  >
152
154
  <ForwardRef(Icon)
155
+ color="light"
153
156
  icon="uncheck"
154
- size="xl"
155
- variant="warning"
156
157
  >
157
158
  <ForwardRef(SvgIcon)
158
159
  className="ds-svg-icon--uncheck"
159
- size="xl"
160
- variant="warning"
160
+ color="light"
161
161
  >
162
162
  <ForwardRef(Base)
163
163
  aria-hidden="true"
164
164
  as="svg"
165
- className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
165
+ className="ds-svg-icon--uncheck ds-svg-icon--light 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--uncheck ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
171
+ className="ds-svg-icon--uncheck ds-svg-icon--light ds-svg-icon"
172
172
  focusable="false"
173
173
  viewBox="0 0 24 24"
174
174
  >
@@ -184,28 +184,28 @@ exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
184
184
  </UncheckIcon>
185
185
  `;
186
186
 
187
- exports[`renders the UncheckIcon with prop variant=gray 1`] = `
187
+ exports[`renders the UncheckIcon with prop color=primary 1`] = `
188
188
  <UncheckIcon
189
- variant="gray"
189
+ color="primary"
190
190
  >
191
191
  <ForwardRef(Icon)
192
+ color="primary"
192
193
  icon="uncheck"
193
- variant="gray"
194
194
  >
195
195
  <ForwardRef(SvgIcon)
196
196
  className="ds-svg-icon--uncheck"
197
- variant="gray"
197
+ color="primary"
198
198
  >
199
199
  <ForwardRef(Base)
200
200
  aria-hidden="true"
201
201
  as="svg"
202
- className="ds-svg-icon--uncheck ds-svg-icon--gray ds-svg-icon"
202
+ className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
203
203
  focusable="false"
204
204
  viewBox="0 0 24 24"
205
205
  >
206
206
  <svg
207
207
  aria-hidden="true"
208
- className="ds-svg-icon--uncheck ds-svg-icon--gray ds-svg-icon"
208
+ className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
209
209
  focusable="false"
210
210
  viewBox="0 0 24 24"
211
211
  >
@@ -221,28 +221,31 @@ exports[`renders the UncheckIcon with prop variant=gray 1`] = `
221
221
  </UncheckIcon>
222
222
  `;
223
223
 
224
- exports[`renders the UncheckIcon with prop variant=light 1`] = `
224
+ exports[`renders the UncheckIcon with prop color=warning and size=s 1`] = `
225
225
  <UncheckIcon
226
- variant="light"
226
+ color="warning"
227
+ size="sm"
227
228
  >
228
229
  <ForwardRef(Icon)
230
+ color="warning"
229
231
  icon="uncheck"
230
- variant="light"
232
+ size="sm"
231
233
  >
232
234
  <ForwardRef(SvgIcon)
233
235
  className="ds-svg-icon--uncheck"
234
- variant="light"
236
+ color="warning"
237
+ size="sm"
235
238
  >
236
239
  <ForwardRef(Base)
237
240
  aria-hidden="true"
238
241
  as="svg"
239
- className="ds-svg-icon--uncheck ds-svg-icon--light ds-svg-icon"
242
+ className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm 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--uncheck ds-svg-icon--light ds-svg-icon"
248
+ className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
246
249
  focusable="false"
247
250
  viewBox="0 0 24 24"
248
251
  >
@@ -258,28 +261,28 @@ exports[`renders the UncheckIcon with prop variant=light 1`] = `
258
261
  </UncheckIcon>
259
262
  `;
260
263
 
261
- exports[`renders the UncheckIcon with prop variant=primary 1`] = `
264
+ exports[`renders the UncheckIcon with prop size=l 1`] = `
262
265
  <UncheckIcon
263
- variant="primary"
266
+ size="lg"
264
267
  >
265
268
  <ForwardRef(Icon)
266
269
  icon="uncheck"
267
- variant="primary"
270
+ size="lg"
268
271
  >
269
272
  <ForwardRef(SvgIcon)
270
273
  className="ds-svg-icon--uncheck"
271
- variant="primary"
274
+ size="lg"
272
275
  >
273
276
  <ForwardRef(Base)
274
277
  aria-hidden="true"
275
278
  as="svg"
276
- className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
279
+ className="ds-svg-icon--uncheck ds-svg-icon--lg ds-svg-icon"
277
280
  focusable="false"
278
281
  viewBox="0 0 24 24"
279
282
  >
280
283
  <svg
281
284
  aria-hidden="true"
282
- className="ds-svg-icon--uncheck ds-svg-icon--primary ds-svg-icon"
285
+ className="ds-svg-icon--uncheck ds-svg-icon--lg ds-svg-icon"
283
286
  focusable="false"
284
287
  viewBox="0 0 24 24"
285
288
  >
@@ -295,31 +298,28 @@ exports[`renders the UncheckIcon with prop variant=primary 1`] = `
295
298
  </UncheckIcon>
296
299
  `;
297
300
 
298
- exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
301
+ exports[`renders the UncheckIcon with prop size=m 1`] = `
299
302
  <UncheckIcon
300
- size="sm"
301
- variant="warning"
303
+ size="md"
302
304
  >
303
305
  <ForwardRef(Icon)
304
306
  icon="uncheck"
305
- size="sm"
306
- variant="warning"
307
+ size="md"
307
308
  >
308
309
  <ForwardRef(SvgIcon)
309
310
  className="ds-svg-icon--uncheck"
310
- size="sm"
311
- variant="warning"
311
+ size="md"
312
312
  >
313
313
  <ForwardRef(Base)
314
314
  aria-hidden="true"
315
315
  as="svg"
316
- className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
316
+ className="ds-svg-icon--uncheck ds-svg-icon--md ds-svg-icon"
317
317
  focusable="false"
318
318
  viewBox="0 0 24 24"
319
319
  >
320
320
  <svg
321
321
  aria-hidden="true"
322
- className="ds-svg-icon--uncheck ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
322
+ className="ds-svg-icon--uncheck ds-svg-icon--md ds-svg-icon"
323
323
  focusable="false"
324
324
  viewBox="0 0 24 24"
325
325
  >
@@ -12,21 +12,21 @@ it('renders the UncheckIcon with prop size=m', () => {
12
12
  it('renders the UncheckIcon with prop size=l', () => {
13
13
  expect(mount(<UncheckIcon size="lg" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the UncheckIcon with prop variant=dark', () => {
16
- expect(mount(<UncheckIcon variant="dark" />)).toMatchSnapshot();
15
+ it('renders the UncheckIcon with prop color=dark', () => {
16
+ expect(mount(<UncheckIcon color="dark" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the UncheckIcon with prop variant=light', () => {
19
- expect(mount(<UncheckIcon variant="light" />)).toMatchSnapshot();
18
+ it('renders the UncheckIcon with prop color=light', () => {
19
+ expect(mount(<UncheckIcon color="light" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the UncheckIcon with prop variant=gray', () => {
22
- expect(mount(<UncheckIcon variant="gray" />)).toMatchSnapshot();
21
+ it('renders the UncheckIcon with prop color=gray', () => {
22
+ expect(mount(<UncheckIcon color="gray" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the UncheckIcon with prop variant=primary', () => {
25
- expect(mount(<UncheckIcon variant="primary" />)).toMatchSnapshot();
24
+ it('renders the UncheckIcon with prop color=primary', () => {
25
+ expect(mount(<UncheckIcon color="primary" />)).toMatchSnapshot();
26
26
  });
27
- it('renders the UncheckIcon with prop variant=warning and size=s', () => {
28
- expect(mount(<UncheckIcon variant="warning" size="sm" />)).toMatchSnapshot();
27
+ it('renders the UncheckIcon with prop color=warning and size=s', () => {
28
+ expect(mount(<UncheckIcon color="warning" size="sm" />)).toMatchSnapshot();
29
29
  });
30
- it('renders the UncheckIcon with prop variant=error and size= xl', () => {
31
- expect(mount(<UncheckIcon variant="warning" size="xl" />)).toMatchSnapshot();
30
+ it('renders the UncheckIcon with prop color=error and size= xl', () => {
31
+ expect(mount(<UncheckIcon color="warning" size="xl" />)).toMatchSnapshot();
32
32
  });