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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  2. package/AccessibilityIcon/index.test/index.js +12 -12
  3. package/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  4. package/BurgerIcon/index.test/index.js +8 -8
  5. package/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  6. package/CancelIcon/index.test/index.js +8 -8
  7. package/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  8. package/ChatIcon/index.test/index.js +8 -8
  9. package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  10. package/CheckIcon/index.test/index.js +10 -10
  11. package/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  12. package/DownloadIcon/index.test/index.js +8 -8
  13. package/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  14. package/ExclamationIcon/index.test/index.js +8 -8
  15. package/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  16. package/GlobeIcon/config/index.js +2 -2
  17. package/GlobeIcon/index.test/index.js +6 -6
  18. package/Icon/__snapshots__/index.test.tsx.snap +1 -2
  19. package/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  20. package/LockIcon/index.test/index.js +8 -8
  21. package/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  22. package/LoginIcon/index.test/index.js +8 -8
  23. package/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  24. package/MinusIcon/index.test/index.js +8 -8
  25. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  26. package/MoreVertIcon/index.test/index.js +12 -12
  27. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  28. package/PdfFileIcon/index.test/index.js +8 -8
  29. package/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  30. package/PlusIcon/index.test/index.js +8 -8
  31. package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  32. package/PrintIcon/config/index.js +15 -0
  33. package/PrintIcon/config/package.json +6 -0
  34. package/PrintIcon/config.d.ts +8 -0
  35. package/PrintIcon/index.d.ts +4 -0
  36. package/PrintIcon/index.js +9 -0
  37. package/PrintIcon/index.test/index.js +45 -0
  38. package/PrintIcon/index.test/package.json +6 -0
  39. package/PrintIcon/index.test.d.ts +1 -0
  40. package/PrintIcon/package.json +6 -0
  41. package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  42. package/ReplyIcon/index.test/index.js +8 -8
  43. package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  44. package/RestoreIcon/index.test/index.js +8 -8
  45. package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  46. package/UncheckIcon/index.test/index.js +12 -12
  47. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  48. package/cjs/AccessibilityIcon/index.test/index.js +12 -12
  49. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  50. package/cjs/BurgerIcon/index.test/index.js +8 -8
  51. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  52. package/cjs/CancelIcon/index.test/index.js +8 -8
  53. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  54. package/cjs/ChatIcon/index.test/index.js +8 -8
  55. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  56. package/cjs/CheckIcon/index.test/index.js +10 -10
  57. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  58. package/cjs/DownloadIcon/index.test/index.js +8 -8
  59. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  60. package/cjs/ExclamationIcon/index.test/index.js +8 -8
  61. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  62. package/cjs/GlobeIcon/config/index.js +2 -2
  63. package/cjs/GlobeIcon/index.test/index.js +6 -6
  64. package/cjs/Icon/__snapshots__/index.test.tsx.snap +1 -2
  65. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  66. package/cjs/LockIcon/index.test/index.js +8 -8
  67. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  68. package/cjs/LoginIcon/index.test/index.js +8 -8
  69. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  70. package/cjs/MinusIcon/index.test/index.js +8 -8
  71. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  72. package/cjs/MoreVertIcon/index.test/index.js +12 -12
  73. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  74. package/cjs/PdfFileIcon/index.test/index.js +8 -8
  75. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  76. package/cjs/PlusIcon/index.test/index.js +8 -8
  77. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  78. package/cjs/PrintIcon/config/index.js +23 -0
  79. package/cjs/PrintIcon/index.js +16 -0
  80. package/cjs/PrintIcon/index.test/index.js +48 -0
  81. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  82. package/cjs/ReplyIcon/index.test/index.js +8 -8
  83. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  84. package/cjs/RestoreIcon/index.test/index.js +8 -8
  85. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  86. package/cjs/UncheckIcon/index.test/index.js +12 -12
  87. package/cjs/icons/index.js +11 -0
  88. package/cjs/index.js +11 -0
  89. package/cjs/lazy/index.js +229 -0
  90. package/cjs/registry/index.js +5 -3
  91. package/icons/index.js +1 -0
  92. package/icons.d.ts +3 -0
  93. package/index.d.ts +1 -0
  94. package/index.js +3 -2
  95. package/lazy/index.js +171 -0
  96. package/lazy/package.json +6 -0
  97. package/lazy.d.ts +27 -0
  98. package/package.json +3 -3
  99. package/registry/index.js +5 -3
  100. package/registry.d.ts +2 -1
  101. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  102. package/src/AccessibilityIcon/index.test.tsx +12 -12
  103. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  104. package/src/BurgerIcon/index.test.tsx +8 -8
  105. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
  106. package/src/CancelIcon/index.test.tsx +8 -8
  107. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
  108. package/src/ChatIcon/index.test.tsx +8 -8
  109. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  110. package/src/CheckIcon/index.test.tsx +10 -10
  111. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
  112. package/src/DownloadIcon/index.test.tsx +8 -8
  113. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
  114. package/src/ExclamationIcon/index.test.tsx +8 -8
  115. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  116. package/src/GlobeIcon/config.tsx +1 -12
  117. package/src/GlobeIcon/index.test.tsx +6 -6
  118. package/src/Icon/__snapshots__/index.test.tsx.snap +1 -2
  119. package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
  120. package/src/LockIcon/index.test.tsx +8 -8
  121. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
  122. package/src/LoginIcon/index.test.tsx +8 -8
  123. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
  124. package/src/MinusIcon/index.test.tsx +8 -8
  125. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  126. package/src/MoreVertIcon/index.test.tsx +12 -12
  127. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
  128. package/src/PdfFileIcon/index.test.tsx +8 -8
  129. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
  130. package/src/PlusIcon/index.test.tsx +8 -8
  131. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  132. package/src/PrintIcon/config.tsx +16 -0
  133. package/src/PrintIcon/index.test.tsx +26 -0
  134. package/src/PrintIcon/index.tsx +8 -0
  135. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
  136. package/src/ReplyIcon/index.test.tsx +8 -8
  137. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
  138. package/src/RestoreIcon/index.test.tsx +8 -8
  139. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  140. package/src/UncheckIcon/index.test.tsx +12 -12
  141. package/src/icons.ts +3 -0
  142. package/src/index.ts +1 -0
  143. package/src/lazy.js +28 -0
  144. package/src/registry.js +6 -4
@@ -0,0 +1,304 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the PrintIcon with no props 1`] = `
4
+ <PrintIcon>
5
+ <ForwardRef(Icon)
6
+ icon="print"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="ds-svg-icon--print"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="ds-svg-icon--print ds-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="ds-svg-icon--print ds-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <print>
25
+ <rect
26
+ height="4"
27
+ width="10"
28
+ x="7"
29
+ y="2"
30
+ />
31
+ <path
32
+ d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
33
+ />
34
+ </print>
35
+ </svg>
36
+ </ForwardRef(Base)>
37
+ </ForwardRef(SvgIcon)>
38
+ </ForwardRef(Icon)>
39
+ </PrintIcon>
40
+ `;
41
+
42
+ exports[`renders the PrintIcon with prop color=error and size=sm 1`] = `
43
+ <PrintIcon
44
+ color="error"
45
+ size="sm"
46
+ >
47
+ <ForwardRef(Icon)
48
+ color="error"
49
+ icon="print"
50
+ size="sm"
51
+ >
52
+ <ForwardRef(SvgIcon)
53
+ className="ds-svg-icon--print"
54
+ color="error"
55
+ size="sm"
56
+ >
57
+ <ForwardRef(Base)
58
+ aria-hidden="true"
59
+ as="svg"
60
+ className="ds-svg-icon--print ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
61
+ focusable="false"
62
+ viewBox="0 0 24 24"
63
+ >
64
+ <svg
65
+ aria-hidden="true"
66
+ className="ds-svg-icon--print ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
67
+ focusable="false"
68
+ viewBox="0 0 24 24"
69
+ >
70
+ <print>
71
+ <rect
72
+ height="4"
73
+ width="10"
74
+ x="7"
75
+ y="2"
76
+ />
77
+ <path
78
+ d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
79
+ />
80
+ </print>
81
+ </svg>
82
+ </ForwardRef(Base)>
83
+ </ForwardRef(SvgIcon)>
84
+ </ForwardRef(Icon)>
85
+ </PrintIcon>
86
+ `;
87
+
88
+ exports[`renders the PrintIcon with prop color=info and size= xl 1`] = `
89
+ <PrintIcon
90
+ color="info"
91
+ size="xl"
92
+ >
93
+ <ForwardRef(Icon)
94
+ color="info"
95
+ icon="print"
96
+ size="xl"
97
+ >
98
+ <ForwardRef(SvgIcon)
99
+ className="ds-svg-icon--print"
100
+ color="info"
101
+ size="xl"
102
+ >
103
+ <ForwardRef(Base)
104
+ aria-hidden="true"
105
+ as="svg"
106
+ className="ds-svg-icon--print ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
107
+ focusable="false"
108
+ viewBox="0 0 24 24"
109
+ >
110
+ <svg
111
+ aria-hidden="true"
112
+ className="ds-svg-icon--print ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
113
+ focusable="false"
114
+ viewBox="0 0 24 24"
115
+ >
116
+ <print>
117
+ <rect
118
+ height="4"
119
+ width="10"
120
+ x="7"
121
+ y="2"
122
+ />
123
+ <path
124
+ d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
125
+ />
126
+ </print>
127
+ </svg>
128
+ </ForwardRef(Base)>
129
+ </ForwardRef(SvgIcon)>
130
+ </ForwardRef(Icon)>
131
+ </PrintIcon>
132
+ `;
133
+
134
+ exports[`renders the PrintIcon with prop color=warning 1`] = `
135
+ <PrintIcon
136
+ color="warning"
137
+ >
138
+ <ForwardRef(Icon)
139
+ color="warning"
140
+ icon="print"
141
+ >
142
+ <ForwardRef(SvgIcon)
143
+ className="ds-svg-icon--print"
144
+ color="warning"
145
+ >
146
+ <ForwardRef(Base)
147
+ aria-hidden="true"
148
+ as="svg"
149
+ className="ds-svg-icon--print ds-svg-icon--warning ds-svg-icon"
150
+ focusable="false"
151
+ viewBox="0 0 24 24"
152
+ >
153
+ <svg
154
+ aria-hidden="true"
155
+ className="ds-svg-icon--print ds-svg-icon--warning ds-svg-icon"
156
+ focusable="false"
157
+ viewBox="0 0 24 24"
158
+ >
159
+ <print>
160
+ <rect
161
+ height="4"
162
+ width="10"
163
+ x="7"
164
+ y="2"
165
+ />
166
+ <path
167
+ d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
168
+ />
169
+ </print>
170
+ </svg>
171
+ </ForwardRef(Base)>
172
+ </ForwardRef(SvgIcon)>
173
+ </ForwardRef(Icon)>
174
+ </PrintIcon>
175
+ `;
176
+
177
+ exports[`renders the PrintIcon with prop color=white 1`] = `
178
+ <PrintIcon
179
+ color="white"
180
+ >
181
+ <ForwardRef(Icon)
182
+ color="white"
183
+ icon="print"
184
+ >
185
+ <ForwardRef(SvgIcon)
186
+ className="ds-svg-icon--print"
187
+ color="white"
188
+ >
189
+ <ForwardRef(Base)
190
+ aria-hidden="true"
191
+ as="svg"
192
+ className="ds-svg-icon--print ds-svg-icon--white ds-svg-icon"
193
+ focusable="false"
194
+ viewBox="0 0 24 24"
195
+ >
196
+ <svg
197
+ aria-hidden="true"
198
+ className="ds-svg-icon--print ds-svg-icon--white ds-svg-icon"
199
+ focusable="false"
200
+ viewBox="0 0 24 24"
201
+ >
202
+ <print>
203
+ <rect
204
+ height="4"
205
+ width="10"
206
+ x="7"
207
+ y="2"
208
+ />
209
+ <path
210
+ d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
211
+ />
212
+ </print>
213
+ </svg>
214
+ </ForwardRef(Base)>
215
+ </ForwardRef(SvgIcon)>
216
+ </ForwardRef(Icon)>
217
+ </PrintIcon>
218
+ `;
219
+
220
+ exports[`renders the PrintIcon with prop size=md 1`] = `
221
+ <PrintIcon
222
+ size="md"
223
+ >
224
+ <ForwardRef(Icon)
225
+ icon="print"
226
+ size="md"
227
+ >
228
+ <ForwardRef(SvgIcon)
229
+ className="ds-svg-icon--print"
230
+ size="md"
231
+ >
232
+ <ForwardRef(Base)
233
+ aria-hidden="true"
234
+ as="svg"
235
+ className="ds-svg-icon--print ds-svg-icon--md ds-svg-icon"
236
+ focusable="false"
237
+ viewBox="0 0 24 24"
238
+ >
239
+ <svg
240
+ aria-hidden="true"
241
+ className="ds-svg-icon--print ds-svg-icon--md ds-svg-icon"
242
+ focusable="false"
243
+ viewBox="0 0 24 24"
244
+ >
245
+ <print>
246
+ <rect
247
+ height="4"
248
+ width="10"
249
+ x="7"
250
+ y="2"
251
+ />
252
+ <path
253
+ d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
254
+ />
255
+ </print>
256
+ </svg>
257
+ </ForwardRef(Base)>
258
+ </ForwardRef(SvgIcon)>
259
+ </ForwardRef(Icon)>
260
+ </PrintIcon>
261
+ `;
262
+
263
+ exports[`renders the PrintIcon with prop size=xl 1`] = `
264
+ <PrintIcon
265
+ size="xl"
266
+ >
267
+ <ForwardRef(Icon)
268
+ icon="print"
269
+ size="xl"
270
+ >
271
+ <ForwardRef(SvgIcon)
272
+ className="ds-svg-icon--print"
273
+ size="xl"
274
+ >
275
+ <ForwardRef(Base)
276
+ aria-hidden="true"
277
+ as="svg"
278
+ className="ds-svg-icon--print ds-svg-icon--xl ds-svg-icon"
279
+ focusable="false"
280
+ viewBox="0 0 24 24"
281
+ >
282
+ <svg
283
+ aria-hidden="true"
284
+ className="ds-svg-icon--print ds-svg-icon--xl ds-svg-icon"
285
+ focusable="false"
286
+ viewBox="0 0 24 24"
287
+ >
288
+ <print>
289
+ <rect
290
+ height="4"
291
+ width="10"
292
+ x="7"
293
+ y="2"
294
+ />
295
+ <path
296
+ d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
297
+ />
298
+ </print>
299
+ </svg>
300
+ </ForwardRef(Base)>
301
+ </ForwardRef(SvgIcon)>
302
+ </ForwardRef(Icon)>
303
+ </PrintIcon>
304
+ `;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+
3
+ export interface PrintType {}
4
+
5
+ export function print(): React.ReactElement {
6
+ return (
7
+ <>
8
+ <rect x="7" y="2" width="10" height="4" />
9
+ <path d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z" />
10
+ </>
11
+ );
12
+ }
13
+
14
+ print.props = [];
15
+
16
+ export default print;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import PrintIcon from '@digigov/react-icons/PrintIcon';
5
+
6
+ it('renders the PrintIcon with no props', () => {
7
+ expect(mount(<PrintIcon />)).toMatchSnapshot();
8
+ });
9
+ it('renders the PrintIcon with prop size=md', () => {
10
+ expect(mount(<PrintIcon size="md" />)).toMatchSnapshot();
11
+ });
12
+ it('renders the PrintIcon with prop size=xl', () => {
13
+ expect(mount(<PrintIcon size="xl" />)).toMatchSnapshot();
14
+ });
15
+ it('renders the PrintIcon with prop color=white', () => {
16
+ expect(mount(<PrintIcon color="white" />)).toMatchSnapshot();
17
+ });
18
+ it('renders the PrintIcon with prop color=warning', () => {
19
+ expect(mount(<PrintIcon color="warning" />)).toMatchSnapshot();
20
+ });
21
+ it('renders the PrintIcon with prop color=error and size=sm', () => {
22
+ expect(mount(<PrintIcon color="error" size="sm" />)).toMatchSnapshot();
23
+ });
24
+ it('renders the PrintIcon with prop color=info and size= xl', () => {
25
+ expect(mount(<PrintIcon color="info" size="xl" />)).toMatchSnapshot();
26
+ });
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import Icon, { IconProps } from '@digigov/react-icons/Icon';
3
+
4
+ export const PrintIcon: React.FC<IconProps<'print'>> = (props) => {
5
+ return <Icon {...props} icon="print"></Icon>;
6
+ };
7
+
8
+ export default PrintIcon;
@@ -33,28 +33,31 @@ exports[`renders the ReplyIcon with no props 1`] = `
33
33
  </ReplyIcon>
34
34
  `;
35
35
 
36
- exports[`renders the ReplyIcon with prop size=md 1`] = `
36
+ exports[`renders the ReplyIcon with prop color=error and size= xl 1`] = `
37
37
  <ReplyIcon
38
- size="md"
38
+ color="warning"
39
+ size="xl"
39
40
  >
40
41
  <ForwardRef(Icon)
42
+ color="warning"
41
43
  icon="reply"
42
- size="md"
44
+ size="xl"
43
45
  >
44
46
  <ForwardRef(SvgIcon)
45
47
  className="ds-svg-icon--reply"
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--reply ds-svg-icon--md ds-svg-icon"
54
+ className="ds-svg-icon--reply 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--reply ds-svg-icon--md ds-svg-icon"
60
+ className="ds-svg-icon--reply 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 ReplyIcon with prop size=md 1`] = `
70
73
  </ReplyIcon>
71
74
  `;
72
75
 
73
- exports[`renders the ReplyIcon with prop size=xl 1`] = `
76
+ exports[`renders the ReplyIcon with prop color=warning 1`] = `
74
77
  <ReplyIcon
75
- size="xl"
78
+ color="warning"
76
79
  >
77
80
  <ForwardRef(Icon)
81
+ color="warning"
78
82
  icon="reply"
79
- size="xl"
80
83
  >
81
84
  <ForwardRef(SvgIcon)
82
85
  className="ds-svg-icon--reply"
83
- size="xl"
86
+ color="warning"
84
87
  >
85
88
  <ForwardRef(Base)
86
89
  aria-hidden="true"
87
90
  as="svg"
88
- className="ds-svg-icon--reply ds-svg-icon--xl ds-svg-icon"
91
+ className="ds-svg-icon--reply ds-svg-icon--warning 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--reply ds-svg-icon--xl ds-svg-icon"
97
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon"
95
98
  focusable="false"
96
99
  viewBox="0 0 24 24"
97
100
  >
@@ -107,31 +110,31 @@ exports[`renders the ReplyIcon with prop size=xl 1`] = `
107
110
  </ReplyIcon>
108
111
  `;
109
112
 
110
- exports[`renders the ReplyIcon with prop variant=error and size= xl 1`] = `
113
+ exports[`renders the ReplyIcon with prop color=warning and size=sm 1`] = `
111
114
  <ReplyIcon
112
- size="xl"
113
- variant="warning"
115
+ color="warning"
116
+ size="sm"
114
117
  >
115
118
  <ForwardRef(Icon)
119
+ color="warning"
116
120
  icon="reply"
117
- size="xl"
118
- variant="warning"
121
+ size="sm"
119
122
  >
120
123
  <ForwardRef(SvgIcon)
121
124
  className="ds-svg-icon--reply"
122
- size="xl"
123
- variant="warning"
125
+ color="warning"
126
+ size="sm"
124
127
  >
125
128
  <ForwardRef(Base)
126
129
  aria-hidden="true"
127
130
  as="svg"
128
- className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
131
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
129
132
  focusable="false"
130
133
  viewBox="0 0 24 24"
131
134
  >
132
135
  <svg
133
136
  aria-hidden="true"
134
- className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
137
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
135
138
  focusable="false"
136
139
  viewBox="0 0 24 24"
137
140
  >
@@ -147,28 +150,28 @@ exports[`renders the ReplyIcon with prop variant=error and size= xl 1`] = `
147
150
  </ReplyIcon>
148
151
  `;
149
152
 
150
- exports[`renders the ReplyIcon with prop variant=light 1`] = `
153
+ exports[`renders the ReplyIcon with prop color=white 1`] = `
151
154
  <ReplyIcon
152
- variant="light"
155
+ color="white"
153
156
  >
154
157
  <ForwardRef(Icon)
158
+ color="white"
155
159
  icon="reply"
156
- variant="light"
157
160
  >
158
161
  <ForwardRef(SvgIcon)
159
162
  className="ds-svg-icon--reply"
160
- variant="light"
163
+ color="white"
161
164
  >
162
165
  <ForwardRef(Base)
163
166
  aria-hidden="true"
164
167
  as="svg"
165
- className="ds-svg-icon--reply ds-svg-icon--light ds-svg-icon"
168
+ className="ds-svg-icon--reply ds-svg-icon--white 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--reply ds-svg-icon--light ds-svg-icon"
174
+ className="ds-svg-icon--reply ds-svg-icon--white ds-svg-icon"
172
175
  focusable="false"
173
176
  viewBox="0 0 24 24"
174
177
  >
@@ -184,28 +187,28 @@ exports[`renders the ReplyIcon with prop variant=light 1`] = `
184
187
  </ReplyIcon>
185
188
  `;
186
189
 
187
- exports[`renders the ReplyIcon with prop variant=warning 1`] = `
190
+ exports[`renders the ReplyIcon with prop size=md 1`] = `
188
191
  <ReplyIcon
189
- variant="warning"
192
+ size="md"
190
193
  >
191
194
  <ForwardRef(Icon)
192
195
  icon="reply"
193
- variant="warning"
196
+ size="md"
194
197
  >
195
198
  <ForwardRef(SvgIcon)
196
199
  className="ds-svg-icon--reply"
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--reply ds-svg-icon--warning ds-svg-icon"
205
+ className="ds-svg-icon--reply 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--reply ds-svg-icon--warning ds-svg-icon"
211
+ className="ds-svg-icon--reply 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 ReplyIcon with prop variant=warning 1`] = `
221
224
  </ReplyIcon>
222
225
  `;
223
226
 
224
- exports[`renders the ReplyIcon with prop variant=warning and size=sm 1`] = `
227
+ exports[`renders the ReplyIcon with prop size=xl 1`] = `
225
228
  <ReplyIcon
226
- size="sm"
227
- variant="warning"
229
+ size="xl"
228
230
  >
229
231
  <ForwardRef(Icon)
230
232
  icon="reply"
231
- size="sm"
232
- variant="warning"
233
+ size="xl"
233
234
  >
234
235
  <ForwardRef(SvgIcon)
235
236
  className="ds-svg-icon--reply"
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--reply ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
242
+ className="ds-svg-icon--reply 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--reply ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
248
+ className="ds-svg-icon--reply 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 ReplyIcon with prop size=md', () => {
12
12
  it('renders the ReplyIcon with prop size=xl', () => {
13
13
  expect(mount(<ReplyIcon size="xl" />)).toMatchSnapshot();
14
14
  });
15
- it('renders the ReplyIcon with prop variant=light', () => {
16
- expect(mount(<ReplyIcon variant="light" />)).toMatchSnapshot();
15
+ it('renders the ReplyIcon with prop color=white', () => {
16
+ expect(mount(<ReplyIcon color="white" />)).toMatchSnapshot();
17
17
  });
18
- it('renders the ReplyIcon with prop variant=warning', () => {
19
- expect(mount(<ReplyIcon variant="warning" />)).toMatchSnapshot();
18
+ it('renders the ReplyIcon with prop color=warning', () => {
19
+ expect(mount(<ReplyIcon color="warning" />)).toMatchSnapshot();
20
20
  });
21
- it('renders the ReplyIcon with prop variant=warning and size=sm', () => {
22
- expect(mount(<ReplyIcon variant="warning" size="sm" />)).toMatchSnapshot();
21
+ it('renders the ReplyIcon with prop color=warning and size=sm', () => {
22
+ expect(mount(<ReplyIcon color="warning" size="sm" />)).toMatchSnapshot();
23
23
  });
24
- it('renders the ReplyIcon with prop variant=error and size= xl', () => {
25
- expect(mount(<ReplyIcon variant="warning" size="xl" />)).toMatchSnapshot();
24
+ it('renders the ReplyIcon with prop color=error and size= xl', () => {
25
+ expect(mount(<ReplyIcon color="warning" size="xl" />)).toMatchSnapshot();
26
26
  });