@digigov/react-icons 1.2.0-a7ffb5dc → 2.0.0-0edebf87

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