@digigov/react-icons 1.2.0-a7ffb5dc → 2.0.0-4be8f7cc

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 (282) hide show
  1. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  2. package/AccessibilityIcon/index.test/index.js +12 -12
  3. package/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
  4. package/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  5. package/BurgerIcon/index.test/index.js +8 -8
  6. package/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
  7. package/CancelIcon/config/index.js +9 -0
  8. package/CancelIcon/config/package.json +6 -0
  9. package/CancelIcon/config.d.ts +8 -0
  10. package/CancelIcon/index.d.ts +4 -0
  11. package/CancelIcon/index.js +9 -0
  12. package/CancelIcon/index.test/index.js +45 -0
  13. package/CancelIcon/index.test/package.json +6 -0
  14. package/CancelIcon/index.test.d.ts +1 -0
  15. package/CancelIcon/package.json +6 -0
  16. package/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  17. package/ChatIcon/config/index.js +17 -0
  18. package/ChatIcon/config/package.json +6 -0
  19. package/ChatIcon/config.d.ts +11 -0
  20. package/ChatIcon/index.d.ts +4 -0
  21. package/ChatIcon/index.js +9 -0
  22. package/ChatIcon/index.test/index.js +51 -0
  23. package/ChatIcon/index.test/package.json +6 -0
  24. package/ChatIcon/index.test.d.ts +1 -0
  25. package/ChatIcon/package.json +6 -0
  26. package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  27. package/CheckIcon/index.test/index.js +10 -10
  28. package/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
  29. package/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
  30. package/DownloadIcon/config/index.js +14 -0
  31. package/DownloadIcon/config/package.json +6 -0
  32. package/DownloadIcon/config.d.ts +8 -0
  33. package/DownloadIcon/index.d.ts +4 -0
  34. package/DownloadIcon/index.js +9 -0
  35. package/DownloadIcon/index.test/index.js +45 -0
  36. package/DownloadIcon/index.test/package.json +6 -0
  37. package/DownloadIcon/index.test.d.ts +1 -0
  38. package/DownloadIcon/package.json +6 -0
  39. package/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  40. package/ExclamationIcon/config/index.js +14 -0
  41. package/ExclamationIcon/config/package.json +6 -0
  42. package/ExclamationIcon/config.d.ts +8 -0
  43. package/ExclamationIcon/index.d.ts +4 -0
  44. package/ExclamationIcon/index.js +9 -0
  45. package/ExclamationIcon/index.test/index.js +45 -0
  46. package/ExclamationIcon/index.test/package.json +6 -0
  47. package/ExclamationIcon/index.test.d.ts +1 -0
  48. package/ExclamationIcon/package.json +6 -0
  49. package/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  50. package/GlobeIcon/config/index.js +2 -2
  51. package/GlobeIcon/index.test/index.js +6 -6
  52. package/Icon/__snapshots__/index.test.tsx.snap +11 -12
  53. package/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
  54. package/LockIcon/config/index.js +9 -0
  55. package/LockIcon/config/package.json +6 -0
  56. package/LockIcon/config.d.ts +8 -0
  57. package/LockIcon/index.d.ts +4 -0
  58. package/LockIcon/index.js +9 -0
  59. package/LockIcon/index.test/index.js +45 -0
  60. package/LockIcon/index.test/package.json +6 -0
  61. package/LockIcon/index.test.d.ts +1 -0
  62. package/LockIcon/package.json +6 -0
  63. package/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
  64. package/LoginIcon/config/index.js +12 -0
  65. package/LoginIcon/config/package.json +6 -0
  66. package/LoginIcon/config.d.ts +8 -0
  67. package/LoginIcon/index.d.ts +4 -0
  68. package/LoginIcon/index.js +9 -0
  69. package/LoginIcon/index.test/index.js +45 -0
  70. package/LoginIcon/index.test/package.json +6 -0
  71. package/LoginIcon/index.test.d.ts +1 -0
  72. package/LoginIcon/package.json +6 -0
  73. package/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
  74. package/MinusIcon/config/index.js +12 -0
  75. package/MinusIcon/config/package.json +6 -0
  76. package/MinusIcon/config.d.ts +8 -0
  77. package/MinusIcon/index.d.ts +4 -0
  78. package/MinusIcon/index.js +9 -0
  79. package/MinusIcon/index.test/index.js +45 -0
  80. package/MinusIcon/index.test/package.json +6 -0
  81. package/MinusIcon/index.test.d.ts +1 -0
  82. package/MinusIcon/package.json +6 -0
  83. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  84. package/MoreVertIcon/index.test/index.js +12 -12
  85. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
  86. package/PdfFileIcon/config/index.js +15 -0
  87. package/PdfFileIcon/config/package.json +6 -0
  88. package/PdfFileIcon/config.d.ts +8 -0
  89. package/PdfFileIcon/index.d.ts +4 -0
  90. package/PdfFileIcon/index.js +9 -0
  91. package/PdfFileIcon/index.test/index.js +45 -0
  92. package/PdfFileIcon/index.test/package.json +6 -0
  93. package/PdfFileIcon/index.test.d.ts +1 -0
  94. package/PdfFileIcon/package.json +6 -0
  95. package/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
  96. package/PlusIcon/config/index.js +9 -0
  97. package/PlusIcon/config/package.json +6 -0
  98. package/PlusIcon/config.d.ts +8 -0
  99. package/PlusIcon/index.d.ts +4 -0
  100. package/PlusIcon/index.js +9 -0
  101. package/PlusIcon/index.test/index.js +45 -0
  102. package/PlusIcon/index.test/package.json +6 -0
  103. package/PlusIcon/index.test.d.ts +1 -0
  104. package/PlusIcon/package.json +6 -0
  105. package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  106. package/PrintIcon/config/index.js +15 -0
  107. package/PrintIcon/config/package.json +6 -0
  108. package/PrintIcon/config.d.ts +8 -0
  109. package/PrintIcon/index.d.ts +4 -0
  110. package/PrintIcon/index.js +9 -0
  111. package/PrintIcon/index.test/index.js +45 -0
  112. package/PrintIcon/index.test/package.json +6 -0
  113. package/PrintIcon/index.test.d.ts +1 -0
  114. package/PrintIcon/package.json +6 -0
  115. package/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  116. package/ReplyIcon/config/index.js +9 -0
  117. package/ReplyIcon/config/package.json +6 -0
  118. package/ReplyIcon/config.d.ts +8 -0
  119. package/ReplyIcon/index.d.ts +4 -0
  120. package/ReplyIcon/index.js +9 -0
  121. package/ReplyIcon/index.test/index.js +45 -0
  122. package/ReplyIcon/index.test/package.json +6 -0
  123. package/ReplyIcon/index.test.d.ts +1 -0
  124. package/ReplyIcon/package.json +6 -0
  125. package/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  126. package/RestoreIcon/config/index.js +17 -0
  127. package/RestoreIcon/config/package.json +6 -0
  128. package/RestoreIcon/config.d.ts +8 -0
  129. package/RestoreIcon/index.d.ts +4 -0
  130. package/RestoreIcon/index.js +9 -0
  131. package/RestoreIcon/index.test/index.js +45 -0
  132. package/RestoreIcon/index.test/package.json +6 -0
  133. package/RestoreIcon/index.test.d.ts +1 -0
  134. package/RestoreIcon/package.json +6 -0
  135. package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  136. package/UncheckIcon/index.test/index.js +12 -12
  137. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  138. package/cjs/AccessibilityIcon/index.test/index.js +12 -12
  139. package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
  140. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  141. package/cjs/BurgerIcon/index.test/index.js +8 -8
  142. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
  143. package/cjs/CancelIcon/config/index.js +17 -0
  144. package/cjs/CancelIcon/index.js +16 -0
  145. package/cjs/CancelIcon/index.test/index.js +48 -0
  146. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  147. package/cjs/ChatIcon/config/index.js +24 -0
  148. package/cjs/ChatIcon/index.js +16 -0
  149. package/cjs/ChatIcon/index.test/index.js +54 -0
  150. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  151. package/cjs/CheckIcon/index.test/index.js +10 -10
  152. package/cjs/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
  153. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
  154. package/cjs/DownloadIcon/config/index.js +22 -0
  155. package/cjs/DownloadIcon/index.js +16 -0
  156. package/cjs/DownloadIcon/index.test/index.js +48 -0
  157. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  158. package/cjs/ExclamationIcon/config/index.js +22 -0
  159. package/cjs/ExclamationIcon/index.js +16 -0
  160. package/cjs/ExclamationIcon/index.test/index.js +48 -0
  161. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  162. package/cjs/GlobeIcon/config/index.js +2 -2
  163. package/cjs/GlobeIcon/index.test/index.js +6 -6
  164. package/cjs/Icon/__snapshots__/index.test.tsx.snap +11 -12
  165. package/cjs/Icon/index.js +1 -1
  166. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
  167. package/cjs/LockIcon/config/index.js +17 -0
  168. package/cjs/LockIcon/index.js +16 -0
  169. package/cjs/LockIcon/index.test/index.js +48 -0
  170. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
  171. package/cjs/LoginIcon/config/index.js +20 -0
  172. package/cjs/LoginIcon/index.js +16 -0
  173. package/cjs/LoginIcon/index.test/index.js +48 -0
  174. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
  175. package/cjs/MinusIcon/config/index.js +20 -0
  176. package/cjs/MinusIcon/index.js +16 -0
  177. package/cjs/MinusIcon/index.test/index.js +48 -0
  178. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  179. package/cjs/MoreVertIcon/index.test/index.js +12 -12
  180. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
  181. package/cjs/PdfFileIcon/config/index.js +23 -0
  182. package/cjs/PdfFileIcon/index.js +16 -0
  183. package/cjs/PdfFileIcon/index.test/index.js +48 -0
  184. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
  185. package/cjs/PlusIcon/config/index.js +17 -0
  186. package/cjs/PlusIcon/index.js +16 -0
  187. package/cjs/PlusIcon/index.test/index.js +48 -0
  188. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  189. package/cjs/PrintIcon/config/index.js +23 -0
  190. package/cjs/PrintIcon/index.js +16 -0
  191. package/cjs/PrintIcon/index.test/index.js +48 -0
  192. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  193. package/cjs/ReplyIcon/config/index.js +17 -0
  194. package/cjs/ReplyIcon/index.js +16 -0
  195. package/cjs/ReplyIcon/index.test/index.js +48 -0
  196. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  197. package/cjs/RestoreIcon/config/index.js +25 -0
  198. package/cjs/RestoreIcon/index.js +16 -0
  199. package/cjs/RestoreIcon/index.test/index.js +48 -0
  200. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  201. package/cjs/UncheckIcon/index.test/index.js +12 -12
  202. package/cjs/icons/index.js +132 -0
  203. package/cjs/index.js +132 -0
  204. package/cjs/lazy/index.js +108 -0
  205. package/cjs/registry/index.js +24 -0
  206. package/icons/index.js +12 -0
  207. package/icons.d.ts +36 -0
  208. package/index.d.ts +12 -0
  209. package/index.js +14 -2
  210. package/lazy/index.js +84 -0
  211. package/lazy.d.ts +12 -0
  212. package/package.json +4 -3
  213. package/registry/index.js +24 -0
  214. package/registry.d.ts +12 -0
  215. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  216. package/src/AccessibilityIcon/index.test.tsx +12 -12
  217. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
  218. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  219. package/src/BurgerIcon/index.test.tsx +8 -8
  220. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
  221. package/src/CancelIcon/config.tsx +15 -0
  222. package/src/CancelIcon/index.test.tsx +26 -0
  223. package/src/CancelIcon/index.tsx +8 -0
  224. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  225. package/src/ChatIcon/config.tsx +28 -0
  226. package/src/ChatIcon/index.test.tsx +29 -0
  227. package/src/ChatIcon/index.tsx +8 -0
  228. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  229. package/src/CheckIcon/index.test.tsx +10 -10
  230. package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +148 -0
  231. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
  232. package/src/DownloadIcon/config.tsx +16 -0
  233. package/src/DownloadIcon/index.test.tsx +26 -0
  234. package/src/DownloadIcon/index.tsx +8 -0
  235. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  236. package/src/ExclamationIcon/config.tsx +16 -0
  237. package/src/ExclamationIcon/index.test.tsx +26 -0
  238. package/src/ExclamationIcon/index.tsx +8 -0
  239. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  240. package/src/GlobeIcon/config.tsx +1 -12
  241. package/src/GlobeIcon/index.test.tsx +6 -6
  242. package/src/Icon/__snapshots__/index.test.tsx.snap +11 -12
  243. package/src/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
  244. package/src/LockIcon/config.tsx +15 -0
  245. package/src/LockIcon/index.test.tsx +26 -0
  246. package/src/LockIcon/index.tsx +8 -0
  247. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
  248. package/src/LoginIcon/config.tsx +16 -0
  249. package/src/LoginIcon/index.test.tsx +26 -0
  250. package/src/LoginIcon/index.tsx +8 -0
  251. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
  252. package/src/MinusIcon/config.tsx +15 -0
  253. package/src/MinusIcon/index.test.tsx +26 -0
  254. package/src/MinusIcon/index.tsx +8 -0
  255. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  256. package/src/MoreVertIcon/index.test.tsx +12 -12
  257. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
  258. package/src/PdfFileIcon/config.tsx +20 -0
  259. package/src/PdfFileIcon/index.test.tsx +26 -0
  260. package/src/PdfFileIcon/index.tsx +8 -0
  261. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
  262. package/src/PlusIcon/config.tsx +15 -0
  263. package/src/PlusIcon/index.test.tsx +26 -0
  264. package/src/PlusIcon/index.tsx +8 -0
  265. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  266. package/src/PrintIcon/config.tsx +16 -0
  267. package/src/PrintIcon/index.test.tsx +26 -0
  268. package/src/PrintIcon/index.tsx +8 -0
  269. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  270. package/src/ReplyIcon/config.tsx +15 -0
  271. package/src/ReplyIcon/index.test.tsx +26 -0
  272. package/src/ReplyIcon/index.tsx +8 -0
  273. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  274. package/src/RestoreIcon/config.tsx +17 -0
  275. package/src/RestoreIcon/index.test.tsx +26 -0
  276. package/src/RestoreIcon/index.tsx +8 -0
  277. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  278. package/src/UncheckIcon/index.test.tsx +12 -12
  279. package/src/icons.ts +37 -0
  280. package/src/index.ts +12 -0
  281. package/src/lazy.js +12 -0
  282. package/src/registry.js +24 -0
@@ -0,0 +1,318 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the DownloadIcon with no props 1`] = `
4
+ <DownloadIcon>
5
+ <ForwardRef(Icon)
6
+ icon="download"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="ds-svg-icon--download"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="ds-svg-icon--download ds-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="ds-svg-icon--download ds-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <download>
25
+ <g>
26
+ <polygon
27
+ points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
28
+ />
29
+ <rect
30
+ height="3.301"
31
+ width="12"
32
+ x="6"
33
+ y="18.699"
34
+ />
35
+ </g>
36
+ </download>
37
+ </svg>
38
+ </ForwardRef(Base)>
39
+ </ForwardRef(SvgIcon)>
40
+ </ForwardRef(Icon)>
41
+ </DownloadIcon>
42
+ `;
43
+
44
+ exports[`renders the DownloadIcon with prop color=error and size= xl 1`] = `
45
+ <DownloadIcon
46
+ color="warning"
47
+ size="xl"
48
+ >
49
+ <ForwardRef(Icon)
50
+ color="warning"
51
+ icon="download"
52
+ size="xl"
53
+ >
54
+ <ForwardRef(SvgIcon)
55
+ className="ds-svg-icon--download"
56
+ color="warning"
57
+ size="xl"
58
+ >
59
+ <ForwardRef(Base)
60
+ aria-hidden="true"
61
+ as="svg"
62
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
63
+ focusable="false"
64
+ viewBox="0 0 24 24"
65
+ >
66
+ <svg
67
+ aria-hidden="true"
68
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
69
+ focusable="false"
70
+ viewBox="0 0 24 24"
71
+ >
72
+ <download>
73
+ <g>
74
+ <polygon
75
+ points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
76
+ />
77
+ <rect
78
+ height="3.301"
79
+ width="12"
80
+ x="6"
81
+ y="18.699"
82
+ />
83
+ </g>
84
+ </download>
85
+ </svg>
86
+ </ForwardRef(Base)>
87
+ </ForwardRef(SvgIcon)>
88
+ </ForwardRef(Icon)>
89
+ </DownloadIcon>
90
+ `;
91
+
92
+ exports[`renders the DownloadIcon with prop color=warning 1`] = `
93
+ <DownloadIcon
94
+ color="warning"
95
+ >
96
+ <ForwardRef(Icon)
97
+ color="warning"
98
+ icon="download"
99
+ >
100
+ <ForwardRef(SvgIcon)
101
+ className="ds-svg-icon--download"
102
+ color="warning"
103
+ >
104
+ <ForwardRef(Base)
105
+ aria-hidden="true"
106
+ as="svg"
107
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
108
+ focusable="false"
109
+ viewBox="0 0 24 24"
110
+ >
111
+ <svg
112
+ aria-hidden="true"
113
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon"
114
+ focusable="false"
115
+ viewBox="0 0 24 24"
116
+ >
117
+ <download>
118
+ <g>
119
+ <polygon
120
+ points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
121
+ />
122
+ <rect
123
+ height="3.301"
124
+ width="12"
125
+ x="6"
126
+ y="18.699"
127
+ />
128
+ </g>
129
+ </download>
130
+ </svg>
131
+ </ForwardRef(Base)>
132
+ </ForwardRef(SvgIcon)>
133
+ </ForwardRef(Icon)>
134
+ </DownloadIcon>
135
+ `;
136
+
137
+ exports[`renders the DownloadIcon with prop color=warning and size=s 1`] = `
138
+ <DownloadIcon
139
+ color="warning"
140
+ size="sm"
141
+ >
142
+ <ForwardRef(Icon)
143
+ color="warning"
144
+ icon="download"
145
+ size="sm"
146
+ >
147
+ <ForwardRef(SvgIcon)
148
+ className="ds-svg-icon--download"
149
+ color="warning"
150
+ size="sm"
151
+ >
152
+ <ForwardRef(Base)
153
+ aria-hidden="true"
154
+ as="svg"
155
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
156
+ focusable="false"
157
+ viewBox="0 0 24 24"
158
+ >
159
+ <svg
160
+ aria-hidden="true"
161
+ className="ds-svg-icon--download ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
162
+ focusable="false"
163
+ viewBox="0 0 24 24"
164
+ >
165
+ <download>
166
+ <g>
167
+ <polygon
168
+ points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
169
+ />
170
+ <rect
171
+ height="3.301"
172
+ width="12"
173
+ x="6"
174
+ y="18.699"
175
+ />
176
+ </g>
177
+ </download>
178
+ </svg>
179
+ </ForwardRef(Base)>
180
+ </ForwardRef(SvgIcon)>
181
+ </ForwardRef(Icon)>
182
+ </DownloadIcon>
183
+ `;
184
+
185
+ exports[`renders the DownloadIcon with prop color=white 1`] = `
186
+ <DownloadIcon
187
+ color="white"
188
+ >
189
+ <ForwardRef(Icon)
190
+ color="white"
191
+ icon="download"
192
+ >
193
+ <ForwardRef(SvgIcon)
194
+ className="ds-svg-icon--download"
195
+ color="white"
196
+ >
197
+ <ForwardRef(Base)
198
+ aria-hidden="true"
199
+ as="svg"
200
+ className="ds-svg-icon--download ds-svg-icon--white ds-svg-icon"
201
+ focusable="false"
202
+ viewBox="0 0 24 24"
203
+ >
204
+ <svg
205
+ aria-hidden="true"
206
+ className="ds-svg-icon--download ds-svg-icon--white ds-svg-icon"
207
+ focusable="false"
208
+ viewBox="0 0 24 24"
209
+ >
210
+ <download>
211
+ <g>
212
+ <polygon
213
+ points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
214
+ />
215
+ <rect
216
+ height="3.301"
217
+ width="12"
218
+ x="6"
219
+ y="18.699"
220
+ />
221
+ </g>
222
+ </download>
223
+ </svg>
224
+ </ForwardRef(Base)>
225
+ </ForwardRef(SvgIcon)>
226
+ </ForwardRef(Icon)>
227
+ </DownloadIcon>
228
+ `;
229
+
230
+ exports[`renders the DownloadIcon with prop size=m 1`] = `
231
+ <DownloadIcon
232
+ size="md"
233
+ >
234
+ <ForwardRef(Icon)
235
+ icon="download"
236
+ size="md"
237
+ >
238
+ <ForwardRef(SvgIcon)
239
+ className="ds-svg-icon--download"
240
+ size="md"
241
+ >
242
+ <ForwardRef(Base)
243
+ aria-hidden="true"
244
+ as="svg"
245
+ className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
246
+ focusable="false"
247
+ viewBox="0 0 24 24"
248
+ >
249
+ <svg
250
+ aria-hidden="true"
251
+ className="ds-svg-icon--download ds-svg-icon--md ds-svg-icon"
252
+ focusable="false"
253
+ viewBox="0 0 24 24"
254
+ >
255
+ <download>
256
+ <g>
257
+ <polygon
258
+ points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
259
+ />
260
+ <rect
261
+ height="3.301"
262
+ width="12"
263
+ x="6"
264
+ y="18.699"
265
+ />
266
+ </g>
267
+ </download>
268
+ </svg>
269
+ </ForwardRef(Base)>
270
+ </ForwardRef(SvgIcon)>
271
+ </ForwardRef(Icon)>
272
+ </DownloadIcon>
273
+ `;
274
+
275
+ exports[`renders the DownloadIcon with prop size=xl 1`] = `
276
+ <DownloadIcon
277
+ size="xl"
278
+ >
279
+ <ForwardRef(Icon)
280
+ icon="download"
281
+ size="xl"
282
+ >
283
+ <ForwardRef(SvgIcon)
284
+ className="ds-svg-icon--download"
285
+ size="xl"
286
+ >
287
+ <ForwardRef(Base)
288
+ aria-hidden="true"
289
+ as="svg"
290
+ className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
291
+ focusable="false"
292
+ viewBox="0 0 24 24"
293
+ >
294
+ <svg
295
+ aria-hidden="true"
296
+ className="ds-svg-icon--download ds-svg-icon--xl ds-svg-icon"
297
+ focusable="false"
298
+ viewBox="0 0 24 24"
299
+ >
300
+ <download>
301
+ <g>
302
+ <polygon
303
+ points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
304
+ />
305
+ <rect
306
+ height="3.301"
307
+ width="12"
308
+ x="6"
309
+ y="18.699"
310
+ />
311
+ </g>
312
+ </download>
313
+ </svg>
314
+ </ForwardRef(Base)>
315
+ </ForwardRef(SvgIcon)>
316
+ </ForwardRef(Icon)>
317
+ </DownloadIcon>
318
+ `;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+
3
+ export interface DownloadType {}
4
+
5
+ export function download(): React.ReactElement {
6
+ return (
7
+ <g>
8
+ <polygon points="12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"/>
9
+ <rect x="6" y="18.699" width="12" height="3.301"/>
10
+ </g>
11
+ );
12
+ }
13
+
14
+ download.props = [];
15
+
16
+ export default download;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import DownloadIcon from '@digigov/react-icons/DownloadIcon';
5
+
6
+ it('renders the DownloadIcon with no props', () => {
7
+ expect(mount(<DownloadIcon />)).toMatchSnapshot();
8
+ });
9
+ it('renders the DownloadIcon with prop size=m', () => {
10
+ expect(mount(<DownloadIcon size="md" />)).toMatchSnapshot();
11
+ });
12
+ it('renders the DownloadIcon with prop size=xl', () => {
13
+ expect(mount(<DownloadIcon size="xl" />)).toMatchSnapshot();
14
+ });
15
+ it('renders the DownloadIcon with prop color=white', () => {
16
+ expect(mount(<DownloadIcon color="white" />)).toMatchSnapshot();
17
+ });
18
+ it('renders the DownloadIcon with prop color=warning', () => {
19
+ expect(mount(<DownloadIcon color="warning" />)).toMatchSnapshot();
20
+ });
21
+ it('renders the DownloadIcon with prop color=warning and size=s', () => {
22
+ expect(mount(<DownloadIcon color="warning" size="sm" />)).toMatchSnapshot();
23
+ });
24
+ it('renders the DownloadIcon with prop color=error and size= xl', () => {
25
+ expect(mount(<DownloadIcon color="warning" 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 DownloadIcon: React.FC<IconProps<'download'>> = (props) => {
5
+ return <Icon {...props} icon="download"></Icon>;
6
+ };
7
+
8
+ export default DownloadIcon;
@@ -0,0 +1,297 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the ExclamationIcon with no props 1`] = `
4
+ <ExclamationIcon>
5
+ <ForwardRef(Icon)
6
+ icon="exclamation"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="ds-svg-icon--exclamation"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="ds-svg-icon--exclamation ds-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="ds-svg-icon--exclamation ds-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <exclamation>
25
+ <path
26
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
27
+ />
28
+ <circle
29
+ cx="11.993"
30
+ cy="19.9"
31
+ r="2.1"
32
+ />
33
+ </exclamation>
34
+ </svg>
35
+ </ForwardRef(Base)>
36
+ </ForwardRef(SvgIcon)>
37
+ </ForwardRef(Icon)>
38
+ </ExclamationIcon>
39
+ `;
40
+
41
+ exports[`renders the ExclamationIcon with prop color=error and size=sm 1`] = `
42
+ <ExclamationIcon
43
+ color="error"
44
+ size="sm"
45
+ >
46
+ <ForwardRef(Icon)
47
+ color="error"
48
+ icon="exclamation"
49
+ size="sm"
50
+ >
51
+ <ForwardRef(SvgIcon)
52
+ className="ds-svg-icon--exclamation"
53
+ color="error"
54
+ size="sm"
55
+ >
56
+ <ForwardRef(Base)
57
+ aria-hidden="true"
58
+ as="svg"
59
+ className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
60
+ focusable="false"
61
+ viewBox="0 0 24 24"
62
+ >
63
+ <svg
64
+ aria-hidden="true"
65
+ className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
66
+ focusable="false"
67
+ viewBox="0 0 24 24"
68
+ >
69
+ <exclamation>
70
+ <path
71
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
72
+ />
73
+ <circle
74
+ cx="11.993"
75
+ cy="19.9"
76
+ r="2.1"
77
+ />
78
+ </exclamation>
79
+ </svg>
80
+ </ForwardRef(Base)>
81
+ </ForwardRef(SvgIcon)>
82
+ </ForwardRef(Icon)>
83
+ </ExclamationIcon>
84
+ `;
85
+
86
+ exports[`renders the ExclamationIcon with prop color=info and size= xl 1`] = `
87
+ <ExclamationIcon
88
+ color="info"
89
+ size="xl"
90
+ >
91
+ <ForwardRef(Icon)
92
+ color="info"
93
+ icon="exclamation"
94
+ size="xl"
95
+ >
96
+ <ForwardRef(SvgIcon)
97
+ className="ds-svg-icon--exclamation"
98
+ color="info"
99
+ size="xl"
100
+ >
101
+ <ForwardRef(Base)
102
+ aria-hidden="true"
103
+ as="svg"
104
+ className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
105
+ focusable="false"
106
+ viewBox="0 0 24 24"
107
+ >
108
+ <svg
109
+ aria-hidden="true"
110
+ className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
111
+ focusable="false"
112
+ viewBox="0 0 24 24"
113
+ >
114
+ <exclamation>
115
+ <path
116
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
117
+ />
118
+ <circle
119
+ cx="11.993"
120
+ cy="19.9"
121
+ r="2.1"
122
+ />
123
+ </exclamation>
124
+ </svg>
125
+ </ForwardRef(Base)>
126
+ </ForwardRef(SvgIcon)>
127
+ </ForwardRef(Icon)>
128
+ </ExclamationIcon>
129
+ `;
130
+
131
+ exports[`renders the ExclamationIcon with prop color=warning 1`] = `
132
+ <ExclamationIcon
133
+ color="warning"
134
+ >
135
+ <ForwardRef(Icon)
136
+ color="warning"
137
+ icon="exclamation"
138
+ >
139
+ <ForwardRef(SvgIcon)
140
+ className="ds-svg-icon--exclamation"
141
+ color="warning"
142
+ >
143
+ <ForwardRef(Base)
144
+ aria-hidden="true"
145
+ as="svg"
146
+ className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
147
+ focusable="false"
148
+ viewBox="0 0 24 24"
149
+ >
150
+ <svg
151
+ aria-hidden="true"
152
+ className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
153
+ focusable="false"
154
+ viewBox="0 0 24 24"
155
+ >
156
+ <exclamation>
157
+ <path
158
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
159
+ />
160
+ <circle
161
+ cx="11.993"
162
+ cy="19.9"
163
+ r="2.1"
164
+ />
165
+ </exclamation>
166
+ </svg>
167
+ </ForwardRef(Base)>
168
+ </ForwardRef(SvgIcon)>
169
+ </ForwardRef(Icon)>
170
+ </ExclamationIcon>
171
+ `;
172
+
173
+ exports[`renders the ExclamationIcon with prop color=white 1`] = `
174
+ <ExclamationIcon
175
+ color="white"
176
+ >
177
+ <ForwardRef(Icon)
178
+ color="white"
179
+ icon="exclamation"
180
+ >
181
+ <ForwardRef(SvgIcon)
182
+ className="ds-svg-icon--exclamation"
183
+ color="white"
184
+ >
185
+ <ForwardRef(Base)
186
+ aria-hidden="true"
187
+ as="svg"
188
+ className="ds-svg-icon--exclamation ds-svg-icon--white ds-svg-icon"
189
+ focusable="false"
190
+ viewBox="0 0 24 24"
191
+ >
192
+ <svg
193
+ aria-hidden="true"
194
+ className="ds-svg-icon--exclamation ds-svg-icon--white ds-svg-icon"
195
+ focusable="false"
196
+ viewBox="0 0 24 24"
197
+ >
198
+ <exclamation>
199
+ <path
200
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
201
+ />
202
+ <circle
203
+ cx="11.993"
204
+ cy="19.9"
205
+ r="2.1"
206
+ />
207
+ </exclamation>
208
+ </svg>
209
+ </ForwardRef(Base)>
210
+ </ForwardRef(SvgIcon)>
211
+ </ForwardRef(Icon)>
212
+ </ExclamationIcon>
213
+ `;
214
+
215
+ exports[`renders the ExclamationIcon with prop size=md 1`] = `
216
+ <ExclamationIcon
217
+ size="md"
218
+ >
219
+ <ForwardRef(Icon)
220
+ icon="exclamation"
221
+ size="md"
222
+ >
223
+ <ForwardRef(SvgIcon)
224
+ className="ds-svg-icon--exclamation"
225
+ size="md"
226
+ >
227
+ <ForwardRef(Base)
228
+ aria-hidden="true"
229
+ as="svg"
230
+ className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
231
+ focusable="false"
232
+ viewBox="0 0 24 24"
233
+ >
234
+ <svg
235
+ aria-hidden="true"
236
+ className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
237
+ focusable="false"
238
+ viewBox="0 0 24 24"
239
+ >
240
+ <exclamation>
241
+ <path
242
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
243
+ />
244
+ <circle
245
+ cx="11.993"
246
+ cy="19.9"
247
+ r="2.1"
248
+ />
249
+ </exclamation>
250
+ </svg>
251
+ </ForwardRef(Base)>
252
+ </ForwardRef(SvgIcon)>
253
+ </ForwardRef(Icon)>
254
+ </ExclamationIcon>
255
+ `;
256
+
257
+ exports[`renders the ExclamationIcon with prop size=xl 1`] = `
258
+ <ExclamationIcon
259
+ size="xl"
260
+ >
261
+ <ForwardRef(Icon)
262
+ icon="exclamation"
263
+ size="xl"
264
+ >
265
+ <ForwardRef(SvgIcon)
266
+ className="ds-svg-icon--exclamation"
267
+ size="xl"
268
+ >
269
+ <ForwardRef(Base)
270
+ aria-hidden="true"
271
+ as="svg"
272
+ className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
273
+ focusable="false"
274
+ viewBox="0 0 24 24"
275
+ >
276
+ <svg
277
+ aria-hidden="true"
278
+ className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
279
+ focusable="false"
280
+ viewBox="0 0 24 24"
281
+ >
282
+ <exclamation>
283
+ <path
284
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
285
+ />
286
+ <circle
287
+ cx="11.993"
288
+ cy="19.9"
289
+ r="2.1"
290
+ />
291
+ </exclamation>
292
+ </svg>
293
+ </ForwardRef(Base)>
294
+ </ForwardRef(SvgIcon)>
295
+ </ForwardRef(Icon)>
296
+ </ExclamationIcon>
297
+ `;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+
3
+ export interface ExclamationType {}
4
+
5
+ export function exclamation(): React.ReactElement {
6
+ return (
7
+ <>
8
+ <path d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z" />
9
+ <circle cx="11.993" cy="19.9" r="2.1" />
10
+ </>
11
+ );
12
+ }
13
+
14
+ exclamation.props = [];
15
+
16
+ export default exclamation;