@digigov/react-icons 1.0.0-rc

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 (208) hide show
  1. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +723 -0
  2. package/AccessibilityIcon/config.d.ts +8 -0
  3. package/AccessibilityIcon/config.js +31 -0
  4. package/AccessibilityIcon/index.d.ts +4 -0
  5. package/AccessibilityIcon/index.js +24 -0
  6. package/AccessibilityIcon/index.test.d.ts +1 -0
  7. package/AccessibilityIcon/index.test.js +137 -0
  8. package/ArrowIcon/__snapshots__/index.test.tsx.snap +148 -0
  9. package/ArrowIcon/config.d.ts +6 -0
  10. package/ArrowIcon/config.js +39 -0
  11. package/ArrowIcon/index.d.ts +4 -0
  12. package/ArrowIcon/index.js +24 -0
  13. package/ArrowIcon/index.test.d.ts +1 -0
  14. package/ArrowIcon/index.test.js +39 -0
  15. package/BurgerIcon/__snapshots__/index.test.tsx.snap +320 -0
  16. package/BurgerIcon/config.d.ts +6 -0
  17. package/BurgerIcon/config.js +45 -0
  18. package/BurgerIcon/index.d.ts +4 -0
  19. package/BurgerIcon/index.js +24 -0
  20. package/BurgerIcon/index.test.d.ts +1 -0
  21. package/BurgerIcon/index.test.js +56 -0
  22. package/CaretIcon/__snapshots__/index.test.tsx.snap +148 -0
  23. package/CaretIcon/config.d.ts +6 -0
  24. package/CaretIcon/config.js +39 -0
  25. package/CaretIcon/index.d.ts +4 -0
  26. package/CaretIcon/index.js +24 -0
  27. package/CaretIcon/index.test.d.ts +1 -0
  28. package/CaretIcon/index.test.js +39 -0
  29. package/CheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  30. package/CheckIcon/config.d.ts +8 -0
  31. package/CheckIcon/config.js +23 -0
  32. package/CheckIcon/index.d.ts +4 -0
  33. package/CheckIcon/index.js +24 -0
  34. package/CheckIcon/index.test.d.ts +1 -0
  35. package/CheckIcon/index.test.js +129 -0
  36. package/CloseIcon/__snapshots__/index.test.tsx.snap +34 -0
  37. package/CloseIcon/config.d.ts +8 -0
  38. package/CloseIcon/config.js +23 -0
  39. package/CloseIcon/index.d.ts +4 -0
  40. package/CloseIcon/index.js +24 -0
  41. package/CloseIcon/index.test.d.ts +1 -0
  42. package/CloseIcon/index.test.js +15 -0
  43. package/GlobeIcon/__snapshots__/index.test.tsx.snap +149 -0
  44. package/GlobeIcon/config.d.ts +8 -0
  45. package/GlobeIcon/config.js +23 -0
  46. package/GlobeIcon/index.d.ts +4 -0
  47. package/GlobeIcon/index.js +24 -0
  48. package/GlobeIcon/index.test.d.ts +1 -0
  49. package/GlobeIcon/index.test.js +39 -0
  50. package/LICENSE +0 -0
  51. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +738 -0
  52. package/MoreVertIcon/config.d.ts +8 -0
  53. package/MoreVertIcon/config.js +37 -0
  54. package/MoreVertIcon/index.d.ts +4 -0
  55. package/MoreVertIcon/index.js +24 -0
  56. package/MoreVertIcon/index.test.d.ts +1 -0
  57. package/MoreVertIcon/index.test.js +129 -0
  58. package/README.md +0 -0
  59. package/SearchIcon/__snapshots__/index.test.tsx.snap +34 -0
  60. package/SearchIcon/config.d.ts +8 -0
  61. package/SearchIcon/config.js +23 -0
  62. package/SearchIcon/index.d.ts +4 -0
  63. package/SearchIcon/index.js +24 -0
  64. package/SearchIcon/index.test.d.ts +1 -0
  65. package/SearchIcon/index.test.js +15 -0
  66. package/UncheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  67. package/UncheckIcon/config.d.ts +8 -0
  68. package/UncheckIcon/config.js +23 -0
  69. package/UncheckIcon/index.d.ts +4 -0
  70. package/UncheckIcon/index.js +24 -0
  71. package/UncheckIcon/index.test.d.ts +1 -0
  72. package/UncheckIcon/index.test.js +129 -0
  73. package/es/AccessibilityIcon/__snapshots__/index.test.tsx.snap +723 -0
  74. package/es/AccessibilityIcon/config.js +19 -0
  75. package/es/AccessibilityIcon/index.js +9 -0
  76. package/es/AccessibilityIcon/index.test.js +131 -0
  77. package/es/ArrowIcon/__snapshots__/index.test.tsx.snap +148 -0
  78. package/es/ArrowIcon/config.js +27 -0
  79. package/es/ArrowIcon/index.js +9 -0
  80. package/es/ArrowIcon/index.test.js +33 -0
  81. package/es/BurgerIcon/__snapshots__/index.test.tsx.snap +320 -0
  82. package/es/BurgerIcon/config.js +32 -0
  83. package/es/BurgerIcon/index.js +9 -0
  84. package/es/BurgerIcon/index.test.js +50 -0
  85. package/es/CaretIcon/__snapshots__/index.test.tsx.snap +148 -0
  86. package/es/CaretIcon/config.js +27 -0
  87. package/es/CaretIcon/index.js +9 -0
  88. package/es/CaretIcon/index.test.js +33 -0
  89. package/es/CheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  90. package/es/CheckIcon/config.js +11 -0
  91. package/es/CheckIcon/index.js +9 -0
  92. package/es/CheckIcon/index.test.js +123 -0
  93. package/es/CloseIcon/__snapshots__/index.test.tsx.snap +34 -0
  94. package/es/CloseIcon/config.js +11 -0
  95. package/es/CloseIcon/index.js +9 -0
  96. package/es/CloseIcon/index.test.js +9 -0
  97. package/es/GlobeIcon/__snapshots__/index.test.tsx.snap +149 -0
  98. package/es/GlobeIcon/config.js +11 -0
  99. package/es/GlobeIcon/index.js +9 -0
  100. package/es/GlobeIcon/index.test.js +33 -0
  101. package/es/MoreVertIcon/__snapshots__/index.test.tsx.snap +738 -0
  102. package/es/MoreVertIcon/config.js +25 -0
  103. package/es/MoreVertIcon/index.js +9 -0
  104. package/es/MoreVertIcon/index.test.js +123 -0
  105. package/es/SearchIcon/__snapshots__/index.test.tsx.snap +34 -0
  106. package/es/SearchIcon/config.js +11 -0
  107. package/es/SearchIcon/index.js +9 -0
  108. package/es/SearchIcon/index.test.js +9 -0
  109. package/es/UncheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  110. package/es/UncheckIcon/config.js +11 -0
  111. package/es/UncheckIcon/index.js +9 -0
  112. package/es/UncheckIcon/index.test.js +123 -0
  113. package/es/icons.js +11 -0
  114. package/es/index.js +10 -0
  115. package/es/registry.js +42 -0
  116. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +723 -0
  117. package/esm/AccessibilityIcon/config.js +19 -0
  118. package/esm/AccessibilityIcon/index.js +9 -0
  119. package/esm/AccessibilityIcon/index.test.js +131 -0
  120. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +148 -0
  121. package/esm/ArrowIcon/config.js +27 -0
  122. package/esm/ArrowIcon/index.js +9 -0
  123. package/esm/ArrowIcon/index.test.js +33 -0
  124. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +320 -0
  125. package/esm/BurgerIcon/config.js +32 -0
  126. package/esm/BurgerIcon/index.js +9 -0
  127. package/esm/BurgerIcon/index.test.js +50 -0
  128. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +148 -0
  129. package/esm/CaretIcon/config.js +27 -0
  130. package/esm/CaretIcon/index.js +9 -0
  131. package/esm/CaretIcon/index.test.js +33 -0
  132. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  133. package/esm/CheckIcon/config.js +11 -0
  134. package/esm/CheckIcon/index.js +9 -0
  135. package/esm/CheckIcon/index.test.js +123 -0
  136. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +34 -0
  137. package/esm/CloseIcon/config.js +11 -0
  138. package/esm/CloseIcon/index.js +9 -0
  139. package/esm/CloseIcon/index.test.js +9 -0
  140. package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +149 -0
  141. package/esm/GlobeIcon/config.js +11 -0
  142. package/esm/GlobeIcon/index.js +9 -0
  143. package/esm/GlobeIcon/index.test.js +33 -0
  144. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +738 -0
  145. package/esm/MoreVertIcon/config.js +25 -0
  146. package/esm/MoreVertIcon/index.js +9 -0
  147. package/esm/MoreVertIcon/index.test.js +123 -0
  148. package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +34 -0
  149. package/esm/SearchIcon/config.js +11 -0
  150. package/esm/SearchIcon/index.js +9 -0
  151. package/esm/SearchIcon/index.test.js +9 -0
  152. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  153. package/esm/UncheckIcon/config.js +11 -0
  154. package/esm/UncheckIcon/index.js +9 -0
  155. package/esm/UncheckIcon/index.test.js +123 -0
  156. package/esm/icons.js +11 -0
  157. package/esm/index.js +10 -0
  158. package/esm/registry.js +42 -0
  159. package/icons.d.ts +32 -0
  160. package/icons.js +135 -0
  161. package/index.d.ts +10 -0
  162. package/index.js +135 -0
  163. package/package.json +25 -0
  164. package/registry.d.ts +15 -0
  165. package/registry.js +67 -0
  166. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +723 -0
  167. package/src/AccessibilityIcon/config.tsx +22 -0
  168. package/src/AccessibilityIcon/index.test.tsx +57 -0
  169. package/src/AccessibilityIcon/index.tsx +10 -0
  170. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +148 -0
  171. package/src/ArrowIcon/config.tsx +29 -0
  172. package/src/ArrowIcon/index.test.tsx +20 -0
  173. package/src/ArrowIcon/index.tsx +8 -0
  174. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +320 -0
  175. package/src/BurgerIcon/config.tsx +25 -0
  176. package/src/BurgerIcon/index.test.tsx +26 -0
  177. package/src/BurgerIcon/index.tsx +8 -0
  178. package/src/CaretIcon/__snapshots__/index.test.tsx.snap +148 -0
  179. package/src/CaretIcon/config.tsx +21 -0
  180. package/src/CaretIcon/index.test.tsx +20 -0
  181. package/src/CaretIcon/index.tsx +8 -0
  182. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  183. package/src/CheckIcon/config.tsx +15 -0
  184. package/src/CheckIcon/index.test.tsx +50 -0
  185. package/src/CheckIcon/index.tsx +8 -0
  186. package/src/CloseIcon/__snapshots__/index.test.tsx.snap +34 -0
  187. package/src/CloseIcon/config.tsx +15 -0
  188. package/src/CloseIcon/index.test.tsx +8 -0
  189. package/src/CloseIcon/index.tsx +8 -0
  190. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +149 -0
  191. package/src/GlobeIcon/config.tsx +26 -0
  192. package/src/GlobeIcon/index.test.tsx +19 -0
  193. package/src/GlobeIcon/index.tsx +8 -0
  194. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +738 -0
  195. package/src/MoreVertIcon/config.tsx +17 -0
  196. package/src/MoreVertIcon/index.test.tsx +50 -0
  197. package/src/MoreVertIcon/index.tsx +8 -0
  198. package/src/SearchIcon/__snapshots__/index.test.tsx.snap +34 -0
  199. package/src/SearchIcon/config.tsx +15 -0
  200. package/src/SearchIcon/index.test.tsx +8 -0
  201. package/src/SearchIcon/index.tsx +8 -0
  202. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +558 -0
  203. package/src/UncheckIcon/config.tsx +15 -0
  204. package/src/UncheckIcon/index.test.tsx +50 -0
  205. package/src/UncheckIcon/index.tsx +8 -0
  206. package/src/icons.ts +34 -0
  207. package/src/index.ts +10 -0
  208. package/src/registry.js +47 -0
@@ -0,0 +1,558 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the UncheckIcon with no props 1`] = `
4
+ <UncheckIcon>
5
+ <ForwardRef(Icon)
6
+ icon="uncheck"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="govgr-svg-icon--uncheck"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="govgr-svg-icon--uncheck govgr-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="govgr-svg-icon--uncheck govgr-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <uncheck>
25
+ <polygon
26
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
27
+ />
28
+ </uncheck>
29
+ </svg>
30
+ </ForwardRef(Base)>
31
+ </ForwardRef(SvgIcon)>
32
+ </ForwardRef(Icon)>
33
+ </UncheckIcon>
34
+ `;
35
+
36
+ exports[`renders the UncheckIcon with prop size=l 1`] = `
37
+ <UncheckIcon
38
+ size="lg"
39
+ >
40
+ <ForwardRef(Icon)
41
+ icon="uncheck"
42
+ size="lg"
43
+ >
44
+ <ForwardRef(SvgIcon)
45
+ className="govgr-svg-icon--uncheck"
46
+ size="lg"
47
+ >
48
+ <ForwardRef(Base)
49
+ aria-hidden="true"
50
+ as="svg"
51
+ className="govgr-svg-icon--uncheck govgr-svg-icon--lg govgr-svg-icon"
52
+ focusable="false"
53
+ viewBox="0 0 24 24"
54
+ >
55
+ <svg
56
+ aria-hidden="true"
57
+ className="govgr-svg-icon--uncheck govgr-svg-icon--lg govgr-svg-icon"
58
+ focusable="false"
59
+ viewBox="0 0 24 24"
60
+ >
61
+ <uncheck>
62
+ <polygon
63
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
64
+ />
65
+ </uncheck>
66
+ </svg>
67
+ </ForwardRef(Base)>
68
+ </ForwardRef(SvgIcon)>
69
+ </ForwardRef(Icon)>
70
+ </UncheckIcon>
71
+ `;
72
+
73
+ exports[`renders the UncheckIcon with prop size=m 1`] = `
74
+ <UncheckIcon
75
+ size="md"
76
+ >
77
+ <ForwardRef(Icon)
78
+ icon="uncheck"
79
+ size="md"
80
+ >
81
+ <ForwardRef(SvgIcon)
82
+ className="govgr-svg-icon--uncheck"
83
+ size="md"
84
+ >
85
+ <ForwardRef(Base)
86
+ aria-hidden="true"
87
+ as="svg"
88
+ className="govgr-svg-icon--uncheck govgr-svg-icon--md govgr-svg-icon"
89
+ focusable="false"
90
+ viewBox="0 0 24 24"
91
+ >
92
+ <svg
93
+ aria-hidden="true"
94
+ className="govgr-svg-icon--uncheck govgr-svg-icon--md govgr-svg-icon"
95
+ focusable="false"
96
+ viewBox="0 0 24 24"
97
+ >
98
+ <uncheck>
99
+ <polygon
100
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
101
+ />
102
+ </uncheck>
103
+ </svg>
104
+ </ForwardRef(Base)>
105
+ </ForwardRef(SvgIcon)>
106
+ </ForwardRef(Icon)>
107
+ </UncheckIcon>
108
+ `;
109
+
110
+ exports[`renders the UncheckIcon with prop size=s 1`] = `
111
+ <UncheckIcon
112
+ size="sm"
113
+ >
114
+ <ForwardRef(Icon)
115
+ icon="uncheck"
116
+ size="sm"
117
+ >
118
+ <ForwardRef(SvgIcon)
119
+ className="govgr-svg-icon--uncheck"
120
+ size="sm"
121
+ >
122
+ <ForwardRef(Base)
123
+ aria-hidden="true"
124
+ as="svg"
125
+ className="govgr-svg-icon--uncheck govgr-svg-icon--sm govgr-svg-icon"
126
+ focusable="false"
127
+ viewBox="0 0 24 24"
128
+ >
129
+ <svg
130
+ aria-hidden="true"
131
+ className="govgr-svg-icon--uncheck govgr-svg-icon--sm govgr-svg-icon"
132
+ focusable="false"
133
+ viewBox="0 0 24 24"
134
+ >
135
+ <uncheck>
136
+ <polygon
137
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
138
+ />
139
+ </uncheck>
140
+ </svg>
141
+ </ForwardRef(Base)>
142
+ </ForwardRef(SvgIcon)>
143
+ </ForwardRef(Icon)>
144
+ </UncheckIcon>
145
+ `;
146
+
147
+ exports[`renders the UncheckIcon with prop size=xl 1`] = `
148
+ <UncheckIcon
149
+ size="xl"
150
+ >
151
+ <ForwardRef(Icon)
152
+ icon="uncheck"
153
+ size="xl"
154
+ >
155
+ <ForwardRef(SvgIcon)
156
+ className="govgr-svg-icon--uncheck"
157
+ size="xl"
158
+ >
159
+ <ForwardRef(Base)
160
+ aria-hidden="true"
161
+ as="svg"
162
+ className="govgr-svg-icon--uncheck govgr-svg-icon--xl govgr-svg-icon"
163
+ focusable="false"
164
+ viewBox="0 0 24 24"
165
+ >
166
+ <svg
167
+ aria-hidden="true"
168
+ className="govgr-svg-icon--uncheck govgr-svg-icon--xl govgr-svg-icon"
169
+ focusable="false"
170
+ viewBox="0 0 24 24"
171
+ >
172
+ <uncheck>
173
+ <polygon
174
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
175
+ />
176
+ </uncheck>
177
+ </svg>
178
+ </ForwardRef(Base)>
179
+ </ForwardRef(SvgIcon)>
180
+ </ForwardRef(Icon)>
181
+ </UncheckIcon>
182
+ `;
183
+
184
+ exports[`renders the UncheckIcon with prop variant=dark 1`] = `
185
+ <UncheckIcon
186
+ variant="dark"
187
+ >
188
+ <ForwardRef(Icon)
189
+ icon="uncheck"
190
+ variant="dark"
191
+ >
192
+ <ForwardRef(SvgIcon)
193
+ className="govgr-svg-icon--uncheck"
194
+ variant="dark"
195
+ >
196
+ <ForwardRef(Base)
197
+ aria-hidden="true"
198
+ as="svg"
199
+ className="govgr-svg-icon--uncheck govgr-svg-icon--dark govgr-svg-icon"
200
+ focusable="false"
201
+ viewBox="0 0 24 24"
202
+ >
203
+ <svg
204
+ aria-hidden="true"
205
+ className="govgr-svg-icon--uncheck govgr-svg-icon--dark govgr-svg-icon"
206
+ focusable="false"
207
+ viewBox="0 0 24 24"
208
+ >
209
+ <uncheck>
210
+ <polygon
211
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
212
+ />
213
+ </uncheck>
214
+ </svg>
215
+ </ForwardRef(Base)>
216
+ </ForwardRef(SvgIcon)>
217
+ </ForwardRef(Icon)>
218
+ </UncheckIcon>
219
+ `;
220
+
221
+ exports[`renders the UncheckIcon with prop variant=error 1`] = `
222
+ <UncheckIcon
223
+ variant="error"
224
+ >
225
+ <ForwardRef(Icon)
226
+ icon="uncheck"
227
+ variant="error"
228
+ >
229
+ <ForwardRef(SvgIcon)
230
+ className="govgr-svg-icon--uncheck"
231
+ variant="error"
232
+ >
233
+ <ForwardRef(Base)
234
+ aria-hidden="true"
235
+ as="svg"
236
+ className="govgr-svg-icon--uncheck govgr-svg-icon--error govgr-svg-icon"
237
+ focusable="false"
238
+ viewBox="0 0 24 24"
239
+ >
240
+ <svg
241
+ aria-hidden="true"
242
+ className="govgr-svg-icon--uncheck govgr-svg-icon--error govgr-svg-icon"
243
+ focusable="false"
244
+ viewBox="0 0 24 24"
245
+ >
246
+ <uncheck>
247
+ <polygon
248
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
249
+ />
250
+ </uncheck>
251
+ </svg>
252
+ </ForwardRef(Base)>
253
+ </ForwardRef(SvgIcon)>
254
+ </ForwardRef(Icon)>
255
+ </UncheckIcon>
256
+ `;
257
+
258
+ exports[`renders the UncheckIcon with prop variant=error and size= xl 1`] = `
259
+ <UncheckIcon
260
+ size="xl"
261
+ variant="warning"
262
+ >
263
+ <ForwardRef(Icon)
264
+ icon="uncheck"
265
+ size="xl"
266
+ variant="warning"
267
+ >
268
+ <ForwardRef(SvgIcon)
269
+ className="govgr-svg-icon--uncheck"
270
+ size="xl"
271
+ variant="warning"
272
+ >
273
+ <ForwardRef(Base)
274
+ aria-hidden="true"
275
+ as="svg"
276
+ className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
277
+ focusable="false"
278
+ viewBox="0 0 24 24"
279
+ >
280
+ <svg
281
+ aria-hidden="true"
282
+ className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
283
+ focusable="false"
284
+ viewBox="0 0 24 24"
285
+ >
286
+ <uncheck>
287
+ <polygon
288
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
289
+ />
290
+ </uncheck>
291
+ </svg>
292
+ </ForwardRef(Base)>
293
+ </ForwardRef(SvgIcon)>
294
+ </ForwardRef(Icon)>
295
+ </UncheckIcon>
296
+ `;
297
+
298
+ exports[`renders the UncheckIcon with prop variant=focus 1`] = `
299
+ <UncheckIcon
300
+ variant="focus"
301
+ >
302
+ <ForwardRef(Icon)
303
+ icon="uncheck"
304
+ variant="focus"
305
+ >
306
+ <ForwardRef(SvgIcon)
307
+ className="govgr-svg-icon--uncheck"
308
+ variant="focus"
309
+ >
310
+ <ForwardRef(Base)
311
+ aria-hidden="true"
312
+ as="svg"
313
+ className="govgr-svg-icon--uncheck govgr-svg-icon--focus govgr-svg-icon"
314
+ focusable="false"
315
+ viewBox="0 0 24 24"
316
+ >
317
+ <svg
318
+ aria-hidden="true"
319
+ className="govgr-svg-icon--uncheck govgr-svg-icon--focus govgr-svg-icon"
320
+ focusable="false"
321
+ viewBox="0 0 24 24"
322
+ >
323
+ <uncheck>
324
+ <polygon
325
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
326
+ />
327
+ </uncheck>
328
+ </svg>
329
+ </ForwardRef(Base)>
330
+ </ForwardRef(SvgIcon)>
331
+ </ForwardRef(Icon)>
332
+ </UncheckIcon>
333
+ `;
334
+
335
+ exports[`renders the UncheckIcon with prop variant=gray 1`] = `
336
+ <UncheckIcon
337
+ variant="gray"
338
+ >
339
+ <ForwardRef(Icon)
340
+ icon="uncheck"
341
+ variant="gray"
342
+ >
343
+ <ForwardRef(SvgIcon)
344
+ className="govgr-svg-icon--uncheck"
345
+ variant="gray"
346
+ >
347
+ <ForwardRef(Base)
348
+ aria-hidden="true"
349
+ as="svg"
350
+ className="govgr-svg-icon--uncheck govgr-svg-icon--gray govgr-svg-icon"
351
+ focusable="false"
352
+ viewBox="0 0 24 24"
353
+ >
354
+ <svg
355
+ aria-hidden="true"
356
+ className="govgr-svg-icon--uncheck govgr-svg-icon--gray govgr-svg-icon"
357
+ focusable="false"
358
+ viewBox="0 0 24 24"
359
+ >
360
+ <uncheck>
361
+ <polygon
362
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
363
+ />
364
+ </uncheck>
365
+ </svg>
366
+ </ForwardRef(Base)>
367
+ </ForwardRef(SvgIcon)>
368
+ </ForwardRef(Icon)>
369
+ </UncheckIcon>
370
+ `;
371
+
372
+ exports[`renders the UncheckIcon with prop variant=light 1`] = `
373
+ <UncheckIcon
374
+ variant="light"
375
+ >
376
+ <ForwardRef(Icon)
377
+ icon="uncheck"
378
+ variant="light"
379
+ >
380
+ <ForwardRef(SvgIcon)
381
+ className="govgr-svg-icon--uncheck"
382
+ variant="light"
383
+ >
384
+ <ForwardRef(Base)
385
+ aria-hidden="true"
386
+ as="svg"
387
+ className="govgr-svg-icon--uncheck govgr-svg-icon--light govgr-svg-icon"
388
+ focusable="false"
389
+ viewBox="0 0 24 24"
390
+ >
391
+ <svg
392
+ aria-hidden="true"
393
+ className="govgr-svg-icon--uncheck govgr-svg-icon--light govgr-svg-icon"
394
+ focusable="false"
395
+ viewBox="0 0 24 24"
396
+ >
397
+ <uncheck>
398
+ <polygon
399
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
400
+ />
401
+ </uncheck>
402
+ </svg>
403
+ </ForwardRef(Base)>
404
+ </ForwardRef(SvgIcon)>
405
+ </ForwardRef(Icon)>
406
+ </UncheckIcon>
407
+ `;
408
+
409
+ exports[`renders the UncheckIcon with prop variant=primary 1`] = `
410
+ <UncheckIcon
411
+ variant="primary"
412
+ >
413
+ <ForwardRef(Icon)
414
+ icon="uncheck"
415
+ variant="primary"
416
+ >
417
+ <ForwardRef(SvgIcon)
418
+ className="govgr-svg-icon--uncheck"
419
+ variant="primary"
420
+ >
421
+ <ForwardRef(Base)
422
+ aria-hidden="true"
423
+ as="svg"
424
+ className="govgr-svg-icon--uncheck govgr-svg-icon--primary govgr-svg-icon"
425
+ focusable="false"
426
+ viewBox="0 0 24 24"
427
+ >
428
+ <svg
429
+ aria-hidden="true"
430
+ className="govgr-svg-icon--uncheck govgr-svg-icon--primary govgr-svg-icon"
431
+ focusable="false"
432
+ viewBox="0 0 24 24"
433
+ >
434
+ <uncheck>
435
+ <polygon
436
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
437
+ />
438
+ </uncheck>
439
+ </svg>
440
+ </ForwardRef(Base)>
441
+ </ForwardRef(SvgIcon)>
442
+ </ForwardRef(Icon)>
443
+ </UncheckIcon>
444
+ `;
445
+
446
+ exports[`renders the UncheckIcon with prop variant=success 1`] = `
447
+ <UncheckIcon
448
+ variant="success"
449
+ >
450
+ <ForwardRef(Icon)
451
+ icon="uncheck"
452
+ variant="success"
453
+ >
454
+ <ForwardRef(SvgIcon)
455
+ className="govgr-svg-icon--uncheck"
456
+ variant="success"
457
+ >
458
+ <ForwardRef(Base)
459
+ aria-hidden="true"
460
+ as="svg"
461
+ className="govgr-svg-icon--uncheck govgr-svg-icon--success govgr-svg-icon"
462
+ focusable="false"
463
+ viewBox="0 0 24 24"
464
+ >
465
+ <svg
466
+ aria-hidden="true"
467
+ className="govgr-svg-icon--uncheck govgr-svg-icon--success govgr-svg-icon"
468
+ focusable="false"
469
+ viewBox="0 0 24 24"
470
+ >
471
+ <uncheck>
472
+ <polygon
473
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
474
+ />
475
+ </uncheck>
476
+ </svg>
477
+ </ForwardRef(Base)>
478
+ </ForwardRef(SvgIcon)>
479
+ </ForwardRef(Icon)>
480
+ </UncheckIcon>
481
+ `;
482
+
483
+ exports[`renders the UncheckIcon with prop variant=warning 1`] = `
484
+ <UncheckIcon
485
+ variant="warning"
486
+ >
487
+ <ForwardRef(Icon)
488
+ icon="uncheck"
489
+ variant="warning"
490
+ >
491
+ <ForwardRef(SvgIcon)
492
+ className="govgr-svg-icon--uncheck"
493
+ variant="warning"
494
+ >
495
+ <ForwardRef(Base)
496
+ aria-hidden="true"
497
+ as="svg"
498
+ className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon"
499
+ focusable="false"
500
+ viewBox="0 0 24 24"
501
+ >
502
+ <svg
503
+ aria-hidden="true"
504
+ className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon"
505
+ focusable="false"
506
+ viewBox="0 0 24 24"
507
+ >
508
+ <uncheck>
509
+ <polygon
510
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
511
+ />
512
+ </uncheck>
513
+ </svg>
514
+ </ForwardRef(Base)>
515
+ </ForwardRef(SvgIcon)>
516
+ </ForwardRef(Icon)>
517
+ </UncheckIcon>
518
+ `;
519
+
520
+ exports[`renders the UncheckIcon with prop variant=warning and size=s 1`] = `
521
+ <UncheckIcon
522
+ size="sm"
523
+ variant="warning"
524
+ >
525
+ <ForwardRef(Icon)
526
+ icon="uncheck"
527
+ size="sm"
528
+ variant="warning"
529
+ >
530
+ <ForwardRef(SvgIcon)
531
+ className="govgr-svg-icon--uncheck"
532
+ size="sm"
533
+ variant="warning"
534
+ >
535
+ <ForwardRef(Base)
536
+ aria-hidden="true"
537
+ as="svg"
538
+ className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
539
+ focusable="false"
540
+ viewBox="0 0 24 24"
541
+ >
542
+ <svg
543
+ aria-hidden="true"
544
+ className="govgr-svg-icon--uncheck govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
545
+ focusable="false"
546
+ viewBox="0 0 24 24"
547
+ >
548
+ <uncheck>
549
+ <polygon
550
+ points="20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
551
+ />
552
+ </uncheck>
553
+ </svg>
554
+ </ForwardRef(Base)>
555
+ </ForwardRef(SvgIcon)>
556
+ </ForwardRef(Icon)>
557
+ </UncheckIcon>
558
+ `;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+
3
+ var _ref = /*#__PURE__*/React.createElement("polygon", {
4
+ points: "20.59 5.74 18.26 3.41 12 9.67 5.742 3.41 3.41 5.74 9.67 12 3.41 18.26 5.74 20.6 12 14.33 18.26 20.59 20.59 18.26 14.33 12 20.59 5.74"
5
+ });
6
+
7
+ export function uncheck() {
8
+ return /*#__PURE__*/React.createElement(React.Fragment, null, _ref);
9
+ }
10
+ uncheck.props = [];
11
+ export default uncheck;
@@ -0,0 +1,9 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import React from 'react';
3
+ import Icon from '@digigov/react-core/Icon';
4
+ export var UncheckIcon = function UncheckIcon(props) {
5
+ return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
+ icon: "uncheck"
7
+ }));
8
+ };
9
+ export default UncheckIcon;
@@ -0,0 +1,123 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import UncheckIcon from '@digigov/react-icons/UncheckIcon';
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(UncheckIcon, null);
6
+
7
+ it('renders the UncheckIcon with no props', function () {
8
+ expect(mount(_ref)).toMatchSnapshot();
9
+ });
10
+
11
+ var _ref2 = /*#__PURE__*/React.createElement(UncheckIcon, {
12
+ size: "sm"
13
+ });
14
+
15
+ it('renders the UncheckIcon with prop size=s', function () {
16
+ expect(mount(_ref2)).toMatchSnapshot();
17
+ });
18
+
19
+ var _ref3 = /*#__PURE__*/React.createElement(UncheckIcon, {
20
+ size: "md"
21
+ });
22
+
23
+ it('renders the UncheckIcon with prop size=m', function () {
24
+ expect(mount(_ref3)).toMatchSnapshot();
25
+ });
26
+
27
+ var _ref4 = /*#__PURE__*/React.createElement(UncheckIcon, {
28
+ size: "lg"
29
+ });
30
+
31
+ it('renders the UncheckIcon with prop size=l', function () {
32
+ expect(mount(_ref4)).toMatchSnapshot();
33
+ });
34
+
35
+ var _ref5 = /*#__PURE__*/React.createElement(UncheckIcon, {
36
+ size: "xl"
37
+ });
38
+
39
+ it('renders the UncheckIcon with prop size=xl', function () {
40
+ expect(mount(_ref5)).toMatchSnapshot();
41
+ });
42
+
43
+ var _ref6 = /*#__PURE__*/React.createElement(UncheckIcon, {
44
+ variant: "dark"
45
+ });
46
+
47
+ it('renders the UncheckIcon with prop variant=dark', function () {
48
+ expect(mount(_ref6)).toMatchSnapshot();
49
+ });
50
+
51
+ var _ref7 = /*#__PURE__*/React.createElement(UncheckIcon, {
52
+ variant: "light"
53
+ });
54
+
55
+ it('renders the UncheckIcon with prop variant=light', function () {
56
+ expect(mount(_ref7)).toMatchSnapshot();
57
+ });
58
+
59
+ var _ref8 = /*#__PURE__*/React.createElement(UncheckIcon, {
60
+ variant: "gray"
61
+ });
62
+
63
+ it('renders the UncheckIcon with prop variant=gray', function () {
64
+ expect(mount(_ref8)).toMatchSnapshot();
65
+ });
66
+
67
+ var _ref9 = /*#__PURE__*/React.createElement(UncheckIcon, {
68
+ variant: "primary"
69
+ });
70
+
71
+ it('renders the UncheckIcon with prop variant=primary', function () {
72
+ expect(mount(_ref9)).toMatchSnapshot();
73
+ });
74
+
75
+ var _ref10 = /*#__PURE__*/React.createElement(UncheckIcon, {
76
+ variant: "success"
77
+ });
78
+
79
+ it('renders the UncheckIcon with prop variant=success', function () {
80
+ expect(mount(_ref10)).toMatchSnapshot();
81
+ });
82
+
83
+ var _ref11 = /*#__PURE__*/React.createElement(UncheckIcon, {
84
+ variant: "warning"
85
+ });
86
+
87
+ it('renders the UncheckIcon with prop variant=warning', function () {
88
+ expect(mount(_ref11)).toMatchSnapshot();
89
+ });
90
+
91
+ var _ref12 = /*#__PURE__*/React.createElement(UncheckIcon, {
92
+ variant: "error"
93
+ });
94
+
95
+ it('renders the UncheckIcon with prop variant=error', function () {
96
+ expect(mount(_ref12)).toMatchSnapshot();
97
+ });
98
+
99
+ var _ref13 = /*#__PURE__*/React.createElement(UncheckIcon, {
100
+ variant: "focus"
101
+ });
102
+
103
+ it('renders the UncheckIcon with prop variant=focus', function () {
104
+ expect(mount(_ref13)).toMatchSnapshot();
105
+ });
106
+
107
+ var _ref14 = /*#__PURE__*/React.createElement(UncheckIcon, {
108
+ variant: "warning",
109
+ size: "sm"
110
+ });
111
+
112
+ it('renders the UncheckIcon with prop variant=warning and size=s', function () {
113
+ expect(mount(_ref14)).toMatchSnapshot();
114
+ });
115
+
116
+ var _ref15 = /*#__PURE__*/React.createElement(UncheckIcon, {
117
+ variant: "warning",
118
+ size: "xl"
119
+ });
120
+
121
+ it('renders the UncheckIcon with prop variant=error and size= xl', function () {
122
+ expect(mount(_ref15)).toMatchSnapshot();
123
+ });