@digigov/react-icons 1.2.0-496927f3 → 1.2.0-a7ffb5dc

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 (185) hide show
  1. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
  2. package/ArrowIcon/__snapshots__/index.test.tsx.snap +20 -20
  3. package/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
  4. package/BurgerIcon/config/index.js +4 -4
  5. package/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
  6. package/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
  7. package/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
  8. package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  9. package/Icon/__snapshots__/index.test.tsx.snap +37 -37
  10. package/Icon/index.js +1 -1
  11. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
  12. package/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
  13. package/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
  14. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
  15. package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +20 -20
  16. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
  17. package/cjs/BurgerIcon/config/index.js +4 -4
  18. package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
  19. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
  20. package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
  21. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  22. package/cjs/Icon/__snapshots__/index.test.tsx.snap +37 -37
  23. package/cjs/Icon/index.js +2 -2
  24. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
  25. package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
  26. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
  27. package/cjs/icons/index.js +0 -77
  28. package/cjs/index.js +0 -77
  29. package/cjs/lazy/index.js +121 -0
  30. package/cjs/registry/index.js +0 -14
  31. package/icons/index.js +0 -7
  32. package/icons.d.ts +0 -21
  33. package/index.d.ts +0 -7
  34. package/index.js +2 -9
  35. package/lazy/index.js +87 -0
  36. package/{PlusIcon → lazy}/package.json +1 -1
  37. package/lazy.d.ts +15 -0
  38. package/package.json +3 -4
  39. package/registry/index.js +0 -14
  40. package/registry.d.ts +0 -7
  41. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
  42. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +20 -20
  43. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
  44. package/src/BurgerIcon/config.tsx +4 -4
  45. package/src/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
  46. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
  47. package/src/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
  48. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  49. package/src/Icon/__snapshots__/index.test.tsx.snap +37 -37
  50. package/src/Icon/index.tsx +1 -1
  51. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
  52. package/src/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
  53. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
  54. package/src/icons.ts +0 -21
  55. package/src/index.ts +0 -7
  56. package/src/lazy.js +16 -0
  57. package/src/registry.js +0 -14
  58. package/CancelIcon/__snapshots__/index.test.tsx.snap +0 -262
  59. package/CancelIcon/config/index.js +0 -9
  60. package/CancelIcon/config/package.json +0 -6
  61. package/CancelIcon/config.d.ts +0 -8
  62. package/CancelIcon/index.d.ts +0 -4
  63. package/CancelIcon/index.js +0 -9
  64. package/CancelIcon/index.test/index.js +0 -45
  65. package/CancelIcon/index.test/package.json +0 -6
  66. package/CancelIcon/index.test.d.ts +0 -1
  67. package/CancelIcon/package.json +0 -6
  68. package/ChevronIcon/__snapshots__/index.test.tsx.snap +0 -148
  69. package/DownloadIcon/__snapshots__/index.test.tsx.snap +0 -318
  70. package/DownloadIcon/config/index.js +0 -14
  71. package/DownloadIcon/config/package.json +0 -6
  72. package/DownloadIcon/config.d.ts +0 -8
  73. package/DownloadIcon/index.d.ts +0 -4
  74. package/DownloadIcon/index.js +0 -9
  75. package/DownloadIcon/index.test/index.js +0 -45
  76. package/DownloadIcon/index.test/package.json +0 -6
  77. package/DownloadIcon/index.test.d.ts +0 -1
  78. package/DownloadIcon/package.json +0 -6
  79. package/LockIcon/__snapshots__/index.test.tsx.snap +0 -262
  80. package/LockIcon/config/index.js +0 -9
  81. package/LockIcon/config/package.json +0 -6
  82. package/LockIcon/config.d.ts +0 -8
  83. package/LockIcon/index.d.ts +0 -4
  84. package/LockIcon/index.js +0 -9
  85. package/LockIcon/index.test/index.js +0 -45
  86. package/LockIcon/index.test/package.json +0 -6
  87. package/LockIcon/index.test.d.ts +0 -1
  88. package/LockIcon/package.json +0 -6
  89. package/LoginIcon/__snapshots__/index.test.tsx.snap +0 -283
  90. package/LoginIcon/config/index.js +0 -12
  91. package/LoginIcon/config/package.json +0 -6
  92. package/LoginIcon/config.d.ts +0 -8
  93. package/LoginIcon/index.d.ts +0 -4
  94. package/LoginIcon/index.js +0 -9
  95. package/LoginIcon/index.test/index.js +0 -45
  96. package/LoginIcon/index.test/package.json +0 -6
  97. package/LoginIcon/index.test.d.ts +0 -1
  98. package/LoginIcon/package.json +0 -6
  99. package/MinusIcon/__snapshots__/index.test.tsx.snap +0 -283
  100. package/MinusIcon/config/index.js +0 -12
  101. package/MinusIcon/config/package.json +0 -6
  102. package/MinusIcon/config.d.ts +0 -8
  103. package/MinusIcon/index.d.ts +0 -4
  104. package/MinusIcon/index.js +0 -9
  105. package/MinusIcon/index.test/index.js +0 -45
  106. package/MinusIcon/index.test/package.json +0 -6
  107. package/MinusIcon/index.test.d.ts +0 -1
  108. package/MinusIcon/package.json +0 -6
  109. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +0 -353
  110. package/PdfFileIcon/config/index.js +0 -15
  111. package/PdfFileIcon/config/package.json +0 -6
  112. package/PdfFileIcon/config.d.ts +0 -8
  113. package/PdfFileIcon/index.d.ts +0 -4
  114. package/PdfFileIcon/index.js +0 -9
  115. package/PdfFileIcon/index.test/index.js +0 -45
  116. package/PdfFileIcon/index.test/package.json +0 -6
  117. package/PdfFileIcon/index.test.d.ts +0 -1
  118. package/PdfFileIcon/package.json +0 -6
  119. package/PlusIcon/__snapshots__/index.test.tsx.snap +0 -262
  120. package/PlusIcon/config/index.js +0 -9
  121. package/PlusIcon/config/package.json +0 -6
  122. package/PlusIcon/config.d.ts +0 -8
  123. package/PlusIcon/index.d.ts +0 -4
  124. package/PlusIcon/index.js +0 -9
  125. package/PlusIcon/index.test/index.js +0 -45
  126. package/PlusIcon/index.test/package.json +0 -6
  127. package/PlusIcon/index.test.d.ts +0 -1
  128. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +0 -262
  129. package/cjs/CancelIcon/config/index.js +0 -17
  130. package/cjs/CancelIcon/index.js +0 -16
  131. package/cjs/CancelIcon/index.test/index.js +0 -48
  132. package/cjs/ChevronIcon/__snapshots__/index.test.tsx.snap +0 -148
  133. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +0 -318
  134. package/cjs/DownloadIcon/config/index.js +0 -22
  135. package/cjs/DownloadIcon/index.js +0 -16
  136. package/cjs/DownloadIcon/index.test/index.js +0 -48
  137. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +0 -262
  138. package/cjs/LockIcon/config/index.js +0 -17
  139. package/cjs/LockIcon/index.js +0 -16
  140. package/cjs/LockIcon/index.test/index.js +0 -48
  141. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +0 -283
  142. package/cjs/LoginIcon/config/index.js +0 -20
  143. package/cjs/LoginIcon/index.js +0 -16
  144. package/cjs/LoginIcon/index.test/index.js +0 -48
  145. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +0 -283
  146. package/cjs/MinusIcon/config/index.js +0 -20
  147. package/cjs/MinusIcon/index.js +0 -16
  148. package/cjs/MinusIcon/index.test/index.js +0 -48
  149. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +0 -353
  150. package/cjs/PdfFileIcon/config/index.js +0 -23
  151. package/cjs/PdfFileIcon/index.js +0 -16
  152. package/cjs/PdfFileIcon/index.test/index.js +0 -48
  153. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +0 -262
  154. package/cjs/PlusIcon/config/index.js +0 -17
  155. package/cjs/PlusIcon/index.js +0 -16
  156. package/cjs/PlusIcon/index.test/index.js +0 -48
  157. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +0 -262
  158. package/src/CancelIcon/config.tsx +0 -15
  159. package/src/CancelIcon/index.test.tsx +0 -26
  160. package/src/CancelIcon/index.tsx +0 -8
  161. package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +0 -148
  162. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +0 -318
  163. package/src/DownloadIcon/config.tsx +0 -16
  164. package/src/DownloadIcon/index.test.tsx +0 -26
  165. package/src/DownloadIcon/index.tsx +0 -8
  166. package/src/LockIcon/__snapshots__/index.test.tsx.snap +0 -262
  167. package/src/LockIcon/config.tsx +0 -15
  168. package/src/LockIcon/index.test.tsx +0 -26
  169. package/src/LockIcon/index.tsx +0 -8
  170. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +0 -283
  171. package/src/LoginIcon/config.tsx +0 -16
  172. package/src/LoginIcon/index.test.tsx +0 -26
  173. package/src/LoginIcon/index.tsx +0 -8
  174. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +0 -283
  175. package/src/MinusIcon/config.tsx +0 -15
  176. package/src/MinusIcon/index.test.tsx +0 -26
  177. package/src/MinusIcon/index.tsx +0 -8
  178. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +0 -353
  179. package/src/PdfFileIcon/config.tsx +0 -20
  180. package/src/PdfFileIcon/index.test.tsx +0 -26
  181. package/src/PdfFileIcon/index.tsx +0 -8
  182. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +0 -262
  183. package/src/PlusIcon/config.tsx +0 -15
  184. package/src/PlusIcon/index.test.tsx +0 -26
  185. package/src/PlusIcon/index.tsx +0 -8
@@ -1,283 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders the MinusIcon with no props 1`] = `
4
- <MinusIcon>
5
- <ForwardRef(Icon)
6
- icon="minus"
7
- >
8
- <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--minus"
10
- >
11
- <ForwardRef(Base)
12
- aria-hidden="true"
13
- as="svg"
14
- className="govgr-svg-icon--minus govgr-svg-icon"
15
- focusable="false"
16
- viewBox="0 0 24 24"
17
- >
18
- <svg
19
- aria-hidden="true"
20
- className="govgr-svg-icon--minus govgr-svg-icon"
21
- focusable="false"
22
- viewBox="0 0 24 24"
23
- >
24
- <minus>
25
- <rect
26
- height="3.3"
27
- width="20"
28
- x="2"
29
- y="10.35"
30
- />
31
- </minus>
32
- </svg>
33
- </ForwardRef(Base)>
34
- </ForwardRef(SvgIcon)>
35
- </ForwardRef(Icon)>
36
- </MinusIcon>
37
- `;
38
-
39
- exports[`renders the MinusIcon with prop size=m 1`] = `
40
- <MinusIcon
41
- size="md"
42
- >
43
- <ForwardRef(Icon)
44
- icon="minus"
45
- size="md"
46
- >
47
- <ForwardRef(SvgIcon)
48
- className="govgr-svg-icon--minus"
49
- size="md"
50
- >
51
- <ForwardRef(Base)
52
- aria-hidden="true"
53
- as="svg"
54
- className="govgr-svg-icon--minus govgr-svg-icon--md govgr-svg-icon"
55
- focusable="false"
56
- viewBox="0 0 24 24"
57
- >
58
- <svg
59
- aria-hidden="true"
60
- className="govgr-svg-icon--minus govgr-svg-icon--md govgr-svg-icon"
61
- focusable="false"
62
- viewBox="0 0 24 24"
63
- >
64
- <minus>
65
- <rect
66
- height="3.3"
67
- width="20"
68
- x="2"
69
- y="10.35"
70
- />
71
- </minus>
72
- </svg>
73
- </ForwardRef(Base)>
74
- </ForwardRef(SvgIcon)>
75
- </ForwardRef(Icon)>
76
- </MinusIcon>
77
- `;
78
-
79
- exports[`renders the MinusIcon with prop size=xl 1`] = `
80
- <MinusIcon
81
- size="xl"
82
- >
83
- <ForwardRef(Icon)
84
- icon="minus"
85
- size="xl"
86
- >
87
- <ForwardRef(SvgIcon)
88
- className="govgr-svg-icon--minus"
89
- size="xl"
90
- >
91
- <ForwardRef(Base)
92
- aria-hidden="true"
93
- as="svg"
94
- className="govgr-svg-icon--minus govgr-svg-icon--xl govgr-svg-icon"
95
- focusable="false"
96
- viewBox="0 0 24 24"
97
- >
98
- <svg
99
- aria-hidden="true"
100
- className="govgr-svg-icon--minus govgr-svg-icon--xl govgr-svg-icon"
101
- focusable="false"
102
- viewBox="0 0 24 24"
103
- >
104
- <minus>
105
- <rect
106
- height="3.3"
107
- width="20"
108
- x="2"
109
- y="10.35"
110
- />
111
- </minus>
112
- </svg>
113
- </ForwardRef(Base)>
114
- </ForwardRef(SvgIcon)>
115
- </ForwardRef(Icon)>
116
- </MinusIcon>
117
- `;
118
-
119
- exports[`renders the MinusIcon with prop variant=error and size= xl 1`] = `
120
- <MinusIcon
121
- size="xl"
122
- variant="warning"
123
- >
124
- <ForwardRef(Icon)
125
- icon="minus"
126
- size="xl"
127
- variant="warning"
128
- >
129
- <ForwardRef(SvgIcon)
130
- className="govgr-svg-icon--minus"
131
- size="xl"
132
- variant="warning"
133
- >
134
- <ForwardRef(Base)
135
- aria-hidden="true"
136
- as="svg"
137
- className="govgr-svg-icon--minus govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
138
- focusable="false"
139
- viewBox="0 0 24 24"
140
- >
141
- <svg
142
- aria-hidden="true"
143
- className="govgr-svg-icon--minus govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
144
- focusable="false"
145
- viewBox="0 0 24 24"
146
- >
147
- <minus>
148
- <rect
149
- height="3.3"
150
- width="20"
151
- x="2"
152
- y="10.35"
153
- />
154
- </minus>
155
- </svg>
156
- </ForwardRef(Base)>
157
- </ForwardRef(SvgIcon)>
158
- </ForwardRef(Icon)>
159
- </MinusIcon>
160
- `;
161
-
162
- exports[`renders the MinusIcon with prop variant=light 1`] = `
163
- <MinusIcon
164
- variant="light"
165
- >
166
- <ForwardRef(Icon)
167
- icon="minus"
168
- variant="light"
169
- >
170
- <ForwardRef(SvgIcon)
171
- className="govgr-svg-icon--minus"
172
- variant="light"
173
- >
174
- <ForwardRef(Base)
175
- aria-hidden="true"
176
- as="svg"
177
- className="govgr-svg-icon--minus govgr-svg-icon--light govgr-svg-icon"
178
- focusable="false"
179
- viewBox="0 0 24 24"
180
- >
181
- <svg
182
- aria-hidden="true"
183
- className="govgr-svg-icon--minus govgr-svg-icon--light govgr-svg-icon"
184
- focusable="false"
185
- viewBox="0 0 24 24"
186
- >
187
- <minus>
188
- <rect
189
- height="3.3"
190
- width="20"
191
- x="2"
192
- y="10.35"
193
- />
194
- </minus>
195
- </svg>
196
- </ForwardRef(Base)>
197
- </ForwardRef(SvgIcon)>
198
- </ForwardRef(Icon)>
199
- </MinusIcon>
200
- `;
201
-
202
- exports[`renders the MinusIcon with prop variant=warning 1`] = `
203
- <MinusIcon
204
- variant="warning"
205
- >
206
- <ForwardRef(Icon)
207
- icon="minus"
208
- variant="warning"
209
- >
210
- <ForwardRef(SvgIcon)
211
- className="govgr-svg-icon--minus"
212
- variant="warning"
213
- >
214
- <ForwardRef(Base)
215
- aria-hidden="true"
216
- as="svg"
217
- className="govgr-svg-icon--minus govgr-svg-icon--warning govgr-svg-icon"
218
- focusable="false"
219
- viewBox="0 0 24 24"
220
- >
221
- <svg
222
- aria-hidden="true"
223
- className="govgr-svg-icon--minus govgr-svg-icon--warning govgr-svg-icon"
224
- focusable="false"
225
- viewBox="0 0 24 24"
226
- >
227
- <minus>
228
- <rect
229
- height="3.3"
230
- width="20"
231
- x="2"
232
- y="10.35"
233
- />
234
- </minus>
235
- </svg>
236
- </ForwardRef(Base)>
237
- </ForwardRef(SvgIcon)>
238
- </ForwardRef(Icon)>
239
- </MinusIcon>
240
- `;
241
-
242
- exports[`renders the MinusIcon with prop variant=warning and size=s 1`] = `
243
- <MinusIcon
244
- size="sm"
245
- variant="warning"
246
- >
247
- <ForwardRef(Icon)
248
- icon="minus"
249
- size="sm"
250
- variant="warning"
251
- >
252
- <ForwardRef(SvgIcon)
253
- className="govgr-svg-icon--minus"
254
- size="sm"
255
- variant="warning"
256
- >
257
- <ForwardRef(Base)
258
- aria-hidden="true"
259
- as="svg"
260
- className="govgr-svg-icon--minus govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
261
- focusable="false"
262
- viewBox="0 0 24 24"
263
- >
264
- <svg
265
- aria-hidden="true"
266
- className="govgr-svg-icon--minus govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
267
- focusable="false"
268
- viewBox="0 0 24 24"
269
- >
270
- <minus>
271
- <rect
272
- height="3.3"
273
- width="20"
274
- x="2"
275
- y="10.35"
276
- />
277
- </minus>
278
- </svg>
279
- </ForwardRef(Base)>
280
- </ForwardRef(SvgIcon)>
281
- </ForwardRef(Icon)>
282
- </MinusIcon>
283
- `;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
-
3
- export interface MinusType {}
4
-
5
- export function minus(): React.ReactElement {
6
- return (
7
- <>
8
- <rect x="2" y="10.35" width="20" height="3.3"/>
9
- </>
10
- );
11
- }
12
-
13
- minus.props = [];
14
-
15
- export default minus;
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- import { mount } from 'enzyme';
3
-
4
- import MinusIcon from '@digigov/react-icons/MinusIcon';
5
-
6
- it('renders the MinusIcon with no props', () => {
7
- expect(mount(<MinusIcon />)).toMatchSnapshot();
8
- });
9
- it('renders the MinusIcon with prop size=m', () => {
10
- expect(mount(<MinusIcon size="md" />)).toMatchSnapshot();
11
- });
12
- it('renders the MinusIcon with prop size=xl', () => {
13
- expect(mount(<MinusIcon size="xl" />)).toMatchSnapshot();
14
- });
15
- it('renders the MinusIcon with prop variant=light', () => {
16
- expect(mount(<MinusIcon variant="light" />)).toMatchSnapshot();
17
- });
18
- it('renders the MinusIcon with prop variant=warning', () => {
19
- expect(mount(<MinusIcon variant="warning" />)).toMatchSnapshot();
20
- });
21
- it('renders the MinusIcon with prop variant=warning and size=s', () => {
22
- expect(mount(<MinusIcon variant="warning" size="sm" />)).toMatchSnapshot();
23
- });
24
- it('renders the MinusIcon with prop variant=error and size= xl', () => {
25
- expect(mount(<MinusIcon variant="warning" size="xl" />)).toMatchSnapshot();
26
- });
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import Icon, { IconProps } from '@digigov/react-icons/Icon';
3
-
4
- export const MinusIcon: React.FC<IconProps<'minus'>> = (props) => {
5
- return <Icon {...props} icon="minus"></Icon>;
6
- };
7
-
8
- export default MinusIcon;
@@ -1,353 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders the PdfFileIcon with no props 1`] = `
4
- <PdfFileIcon>
5
- <ForwardRef(Icon)
6
- icon="pdfFile"
7
- >
8
- <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--pdfFile"
10
- >
11
- <ForwardRef(Base)
12
- aria-hidden="true"
13
- as="svg"
14
- className="govgr-svg-icon--pdfFile govgr-svg-icon"
15
- focusable="false"
16
- viewBox="0 0 24 24"
17
- >
18
- <svg
19
- aria-hidden="true"
20
- className="govgr-svg-icon--pdfFile govgr-svg-icon"
21
- focusable="false"
22
- viewBox="0 0 24 24"
23
- >
24
- <pdfFile>
25
- <g>
26
- <polygon
27
- points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
28
- />
29
- <g>
30
- <path
31
- d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
32
- />
33
- <path
34
- d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
35
- />
36
- <path
37
- d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
38
- />
39
- </g>
40
- </g>
41
- </pdfFile>
42
- </svg>
43
- </ForwardRef(Base)>
44
- </ForwardRef(SvgIcon)>
45
- </ForwardRef(Icon)>
46
- </PdfFileIcon>
47
- `;
48
-
49
- exports[`renders the PdfFileIcon with prop size=m 1`] = `
50
- <PdfFileIcon
51
- size="md"
52
- >
53
- <ForwardRef(Icon)
54
- icon="pdfFile"
55
- size="md"
56
- >
57
- <ForwardRef(SvgIcon)
58
- className="govgr-svg-icon--pdfFile"
59
- size="md"
60
- >
61
- <ForwardRef(Base)
62
- aria-hidden="true"
63
- as="svg"
64
- className="govgr-svg-icon--pdfFile govgr-svg-icon--md govgr-svg-icon"
65
- focusable="false"
66
- viewBox="0 0 24 24"
67
- >
68
- <svg
69
- aria-hidden="true"
70
- className="govgr-svg-icon--pdfFile govgr-svg-icon--md govgr-svg-icon"
71
- focusable="false"
72
- viewBox="0 0 24 24"
73
- >
74
- <pdfFile>
75
- <g>
76
- <polygon
77
- points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
78
- />
79
- <g>
80
- <path
81
- d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
82
- />
83
- <path
84
- d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
85
- />
86
- <path
87
- d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
88
- />
89
- </g>
90
- </g>
91
- </pdfFile>
92
- </svg>
93
- </ForwardRef(Base)>
94
- </ForwardRef(SvgIcon)>
95
- </ForwardRef(Icon)>
96
- </PdfFileIcon>
97
- `;
98
-
99
- exports[`renders the PdfFileIcon with prop size=xl 1`] = `
100
- <PdfFileIcon
101
- size="xl"
102
- >
103
- <ForwardRef(Icon)
104
- icon="pdfFile"
105
- size="xl"
106
- >
107
- <ForwardRef(SvgIcon)
108
- className="govgr-svg-icon--pdfFile"
109
- size="xl"
110
- >
111
- <ForwardRef(Base)
112
- aria-hidden="true"
113
- as="svg"
114
- className="govgr-svg-icon--pdfFile govgr-svg-icon--xl govgr-svg-icon"
115
- focusable="false"
116
- viewBox="0 0 24 24"
117
- >
118
- <svg
119
- aria-hidden="true"
120
- className="govgr-svg-icon--pdfFile govgr-svg-icon--xl govgr-svg-icon"
121
- focusable="false"
122
- viewBox="0 0 24 24"
123
- >
124
- <pdfFile>
125
- <g>
126
- <polygon
127
- points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
128
- />
129
- <g>
130
- <path
131
- d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
132
- />
133
- <path
134
- d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
135
- />
136
- <path
137
- d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
138
- />
139
- </g>
140
- </g>
141
- </pdfFile>
142
- </svg>
143
- </ForwardRef(Base)>
144
- </ForwardRef(SvgIcon)>
145
- </ForwardRef(Icon)>
146
- </PdfFileIcon>
147
- `;
148
-
149
- exports[`renders the PdfFileIcon with prop variant=error and size= xl 1`] = `
150
- <PdfFileIcon
151
- size="xl"
152
- variant="warning"
153
- >
154
- <ForwardRef(Icon)
155
- icon="pdfFile"
156
- size="xl"
157
- variant="warning"
158
- >
159
- <ForwardRef(SvgIcon)
160
- className="govgr-svg-icon--pdfFile"
161
- size="xl"
162
- variant="warning"
163
- >
164
- <ForwardRef(Base)
165
- aria-hidden="true"
166
- as="svg"
167
- className="govgr-svg-icon--pdfFile govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
168
- focusable="false"
169
- viewBox="0 0 24 24"
170
- >
171
- <svg
172
- aria-hidden="true"
173
- className="govgr-svg-icon--pdfFile govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
174
- focusable="false"
175
- viewBox="0 0 24 24"
176
- >
177
- <pdfFile>
178
- <g>
179
- <polygon
180
- points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
181
- />
182
- <g>
183
- <path
184
- d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
185
- />
186
- <path
187
- d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
188
- />
189
- <path
190
- d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
191
- />
192
- </g>
193
- </g>
194
- </pdfFile>
195
- </svg>
196
- </ForwardRef(Base)>
197
- </ForwardRef(SvgIcon)>
198
- </ForwardRef(Icon)>
199
- </PdfFileIcon>
200
- `;
201
-
202
- exports[`renders the PdfFileIcon with prop variant=light 1`] = `
203
- <PdfFileIcon
204
- variant="light"
205
- >
206
- <ForwardRef(Icon)
207
- icon="pdfFile"
208
- variant="light"
209
- >
210
- <ForwardRef(SvgIcon)
211
- className="govgr-svg-icon--pdfFile"
212
- variant="light"
213
- >
214
- <ForwardRef(Base)
215
- aria-hidden="true"
216
- as="svg"
217
- className="govgr-svg-icon--pdfFile govgr-svg-icon--light govgr-svg-icon"
218
- focusable="false"
219
- viewBox="0 0 24 24"
220
- >
221
- <svg
222
- aria-hidden="true"
223
- className="govgr-svg-icon--pdfFile govgr-svg-icon--light govgr-svg-icon"
224
- focusable="false"
225
- viewBox="0 0 24 24"
226
- >
227
- <pdfFile>
228
- <g>
229
- <polygon
230
- points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
231
- />
232
- <g>
233
- <path
234
- d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
235
- />
236
- <path
237
- d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
238
- />
239
- <path
240
- d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
241
- />
242
- </g>
243
- </g>
244
- </pdfFile>
245
- </svg>
246
- </ForwardRef(Base)>
247
- </ForwardRef(SvgIcon)>
248
- </ForwardRef(Icon)>
249
- </PdfFileIcon>
250
- `;
251
-
252
- exports[`renders the PdfFileIcon with prop variant=warning 1`] = `
253
- <PdfFileIcon
254
- variant="warning"
255
- >
256
- <ForwardRef(Icon)
257
- icon="pdfFile"
258
- variant="warning"
259
- >
260
- <ForwardRef(SvgIcon)
261
- className="govgr-svg-icon--pdfFile"
262
- variant="warning"
263
- >
264
- <ForwardRef(Base)
265
- aria-hidden="true"
266
- as="svg"
267
- className="govgr-svg-icon--pdfFile govgr-svg-icon--warning govgr-svg-icon"
268
- focusable="false"
269
- viewBox="0 0 24 24"
270
- >
271
- <svg
272
- aria-hidden="true"
273
- className="govgr-svg-icon--pdfFile govgr-svg-icon--warning govgr-svg-icon"
274
- focusable="false"
275
- viewBox="0 0 24 24"
276
- >
277
- <pdfFile>
278
- <g>
279
- <polygon
280
- points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
281
- />
282
- <g>
283
- <path
284
- d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
285
- />
286
- <path
287
- d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
288
- />
289
- <path
290
- d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
291
- />
292
- </g>
293
- </g>
294
- </pdfFile>
295
- </svg>
296
- </ForwardRef(Base)>
297
- </ForwardRef(SvgIcon)>
298
- </ForwardRef(Icon)>
299
- </PdfFileIcon>
300
- `;
301
-
302
- exports[`renders the PdfFileIcon with prop variant=warning and size=s 1`] = `
303
- <PdfFileIcon
304
- size="sm"
305
- variant="warning"
306
- >
307
- <ForwardRef(Icon)
308
- icon="pdfFile"
309
- size="sm"
310
- variant="warning"
311
- >
312
- <ForwardRef(SvgIcon)
313
- className="govgr-svg-icon--pdfFile"
314
- size="sm"
315
- variant="warning"
316
- >
317
- <ForwardRef(Base)
318
- aria-hidden="true"
319
- as="svg"
320
- className="govgr-svg-icon--pdfFile govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
321
- focusable="false"
322
- viewBox="0 0 24 24"
323
- >
324
- <svg
325
- aria-hidden="true"
326
- className="govgr-svg-icon--pdfFile govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
327
- focusable="false"
328
- viewBox="0 0 24 24"
329
- >
330
- <pdfFile>
331
- <g>
332
- <polygon
333
- points="4 19 4 7 2 7 2 21 18 21 18 19 4 19"
334
- />
335
- <g>
336
- <path
337
- d="M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z"
338
- />
339
- <path
340
- d="M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z"
341
- />
342
- <path
343
- d="M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z"
344
- />
345
- </g>
346
- </g>
347
- </pdfFile>
348
- </svg>
349
- </ForwardRef(Base)>
350
- </ForwardRef(SvgIcon)>
351
- </ForwardRef(Icon)>
352
- </PdfFileIcon>
353
- `;