@digigov/react-icons 1.2.0-a7ffb5dc → 2.0.0-7d9a8d86

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 (466) hide show
  1. package/AccessibilityIcon/config/index.js +15 -13
  2. package/AccessibilityIcon/config.js.map +7 -0
  3. package/AccessibilityIcon/index.js +12 -7
  4. package/AccessibilityIcon/index.js.map +7 -0
  5. package/AccessibilityIcon/index.test/index.js +49 -57
  6. package/AccessibilityIcon/index.test.js.map +7 -0
  7. package/ArrowIcon/config/index.js +18 -21
  8. package/ArrowIcon/config.js.map +7 -0
  9. package/ArrowIcon/index.js +12 -7
  10. package/ArrowIcon/index.js.map +7 -0
  11. package/ArrowIcon/index.test/index.js +18 -21
  12. package/ArrowIcon/index.test.js.map +7 -0
  13. package/BurgerIcon/config/index.js +27 -27
  14. package/BurgerIcon/config.js.map +7 -0
  15. package/BurgerIcon/index.js +12 -7
  16. package/BurgerIcon/index.js.map +7 -0
  17. package/BurgerIcon/index.test/index.js +33 -38
  18. package/BurgerIcon/index.test.js.map +7 -0
  19. package/CancelIcon/config/index.js +13 -0
  20. package/CancelIcon/config/package.json +6 -0
  21. package/CancelIcon/config.d.ts +8 -0
  22. package/CancelIcon/config.js.map +7 -0
  23. package/CancelIcon/index.d.ts +4 -0
  24. package/CancelIcon/index.js +14 -0
  25. package/CancelIcon/index.js.map +7 -0
  26. package/CancelIcon/index.test/index.js +39 -0
  27. package/CancelIcon/index.test/package.json +6 -0
  28. package/CancelIcon/index.test.d.ts +1 -0
  29. package/CancelIcon/index.test.js.map +7 -0
  30. package/CancelIcon/package.json +6 -0
  31. package/CaretIcon/config/index.js +18 -21
  32. package/CaretIcon/config.js.map +7 -0
  33. package/CaretIcon/index.js +12 -7
  34. package/CaretIcon/index.js.map +7 -0
  35. package/CaretIcon/index.test/index.js +18 -21
  36. package/CaretIcon/index.test.js.map +7 -0
  37. package/ChatIcon/config/index.js +15 -0
  38. package/ChatIcon/config/package.json +6 -0
  39. package/ChatIcon/config.d.ts +11 -0
  40. package/ChatIcon/config.js.map +7 -0
  41. package/ChatIcon/index.d.ts +4 -0
  42. package/ChatIcon/index.js +14 -0
  43. package/ChatIcon/index.js.map +7 -0
  44. package/ChatIcon/index.test/index.js +44 -0
  45. package/ChatIcon/index.test/package.json +6 -0
  46. package/ChatIcon/index.test.d.ts +1 -0
  47. package/ChatIcon/index.test.js.map +7 -0
  48. package/ChatIcon/package.json +6 -0
  49. package/CheckIcon/config/index.js +11 -7
  50. package/CheckIcon/config.js.map +7 -0
  51. package/CheckIcon/index.js +12 -7
  52. package/CheckIcon/index.js.map +7 -0
  53. package/CheckIcon/index.test/index.js +44 -51
  54. package/CheckIcon/index.test.js.map +7 -0
  55. package/ChevronIcon/config/index.js +18 -21
  56. package/ChevronIcon/config.js.map +7 -0
  57. package/ChevronIcon/index.js +12 -7
  58. package/ChevronIcon/index.js.map +7 -0
  59. package/ChevronIcon/index.test/index.js +18 -21
  60. package/ChevronIcon/index.test.js.map +7 -0
  61. package/CloseIcon/config/index.js +11 -7
  62. package/CloseIcon/config.js.map +7 -0
  63. package/CloseIcon/index.js +12 -7
  64. package/CloseIcon/index.js.map +7 -0
  65. package/CloseIcon/index.test/index.js +7 -7
  66. package/CloseIcon/index.test.js.map +7 -0
  67. package/DownloadIcon/config/index.js +18 -0
  68. package/DownloadIcon/config/package.json +6 -0
  69. package/DownloadIcon/config.d.ts +8 -0
  70. package/DownloadIcon/config.js.map +7 -0
  71. package/DownloadIcon/index.d.ts +4 -0
  72. package/DownloadIcon/index.js +14 -0
  73. package/DownloadIcon/index.js.map +7 -0
  74. package/DownloadIcon/index.test/index.js +39 -0
  75. package/DownloadIcon/index.test/package.json +6 -0
  76. package/DownloadIcon/index.test.d.ts +1 -0
  77. package/DownloadIcon/index.test.js.map +7 -0
  78. package/DownloadIcon/package.json +6 -0
  79. package/ExclamationIcon/config/index.js +17 -0
  80. package/ExclamationIcon/config/package.json +6 -0
  81. package/ExclamationIcon/config.d.ts +8 -0
  82. package/ExclamationIcon/config.js.map +7 -0
  83. package/ExclamationIcon/index.d.ts +4 -0
  84. package/ExclamationIcon/index.js +14 -0
  85. package/ExclamationIcon/index.js.map +7 -0
  86. package/ExclamationIcon/index.test/index.js +39 -0
  87. package/ExclamationIcon/index.test/package.json +6 -0
  88. package/ExclamationIcon/index.test.d.ts +1 -0
  89. package/ExclamationIcon/index.test.js.map +7 -0
  90. package/ExclamationIcon/package.json +6 -0
  91. package/GlobeIcon/config/index.js +11 -7
  92. package/GlobeIcon/config.js.map +7 -0
  93. package/GlobeIcon/index.js +12 -7
  94. package/GlobeIcon/index.js.map +7 -0
  95. package/GlobeIcon/index.test/index.js +18 -21
  96. package/GlobeIcon/index.test.js.map +7 -0
  97. package/Icon/index.js +27 -29
  98. package/Icon/index.js.map +7 -0
  99. package/Icon/index.test/index.js +53 -62
  100. package/Icon/index.test.js.map +7 -0
  101. package/LockIcon/config/index.js +13 -0
  102. package/LockIcon/config/package.json +6 -0
  103. package/LockIcon/config.d.ts +8 -0
  104. package/LockIcon/config.js.map +7 -0
  105. package/LockIcon/index.d.ts +4 -0
  106. package/LockIcon/index.js +14 -0
  107. package/LockIcon/index.js.map +7 -0
  108. package/LockIcon/index.test/index.js +39 -0
  109. package/LockIcon/index.test/package.json +6 -0
  110. package/LockIcon/index.test.d.ts +1 -0
  111. package/LockIcon/index.test.js.map +7 -0
  112. package/LockIcon/package.json +6 -0
  113. package/LoginIcon/config/index.js +15 -0
  114. package/LoginIcon/config/package.json +6 -0
  115. package/LoginIcon/config.d.ts +8 -0
  116. package/LoginIcon/config.js.map +7 -0
  117. package/LoginIcon/index.d.ts +4 -0
  118. package/LoginIcon/index.js +14 -0
  119. package/LoginIcon/index.js.map +7 -0
  120. package/LoginIcon/index.test/index.js +39 -0
  121. package/LoginIcon/index.test/package.json +6 -0
  122. package/LoginIcon/index.test.d.ts +1 -0
  123. package/LoginIcon/index.test.js.map +7 -0
  124. package/LoginIcon/package.json +6 -0
  125. package/MinusIcon/config/index.js +16 -0
  126. package/MinusIcon/config/package.json +6 -0
  127. package/MinusIcon/config.d.ts +8 -0
  128. package/MinusIcon/config.js.map +7 -0
  129. package/MinusIcon/index.d.ts +4 -0
  130. package/MinusIcon/index.js +14 -0
  131. package/MinusIcon/index.js.map +7 -0
  132. package/MinusIcon/index.test/index.js +39 -0
  133. package/MinusIcon/index.test/package.json +6 -0
  134. package/MinusIcon/index.test.d.ts +1 -0
  135. package/MinusIcon/index.test.js.map +7 -0
  136. package/MinusIcon/package.json +6 -0
  137. package/MoreVertIcon/config/index.js +21 -19
  138. package/MoreVertIcon/config.js.map +7 -0
  139. package/MoreVertIcon/index.js +12 -7
  140. package/MoreVertIcon/index.js.map +7 -0
  141. package/MoreVertIcon/index.test/index.js +49 -57
  142. package/MoreVertIcon/index.test.js.map +7 -0
  143. package/PdfFileIcon/config/index.js +19 -0
  144. package/PdfFileIcon/config/package.json +6 -0
  145. package/PdfFileIcon/config.d.ts +8 -0
  146. package/PdfFileIcon/config.js.map +7 -0
  147. package/PdfFileIcon/index.d.ts +4 -0
  148. package/PdfFileIcon/index.js +14 -0
  149. package/PdfFileIcon/index.js.map +7 -0
  150. package/PdfFileIcon/index.test/index.js +39 -0
  151. package/PdfFileIcon/index.test/package.json +6 -0
  152. package/PdfFileIcon/index.test.d.ts +1 -0
  153. package/PdfFileIcon/index.test.js.map +7 -0
  154. package/PdfFileIcon/package.json +6 -0
  155. package/PlusIcon/config/index.js +13 -0
  156. package/PlusIcon/config/package.json +6 -0
  157. package/PlusIcon/config.d.ts +8 -0
  158. package/PlusIcon/config.js.map +7 -0
  159. package/PlusIcon/index.d.ts +4 -0
  160. package/PlusIcon/index.js +14 -0
  161. package/PlusIcon/index.js.map +7 -0
  162. package/PlusIcon/index.test/index.js +39 -0
  163. package/PlusIcon/index.test/package.json +6 -0
  164. package/PlusIcon/index.test.d.ts +1 -0
  165. package/PlusIcon/index.test.js.map +7 -0
  166. package/PlusIcon/package.json +6 -0
  167. package/PrintIcon/config/index.js +18 -0
  168. package/PrintIcon/config/package.json +6 -0
  169. package/PrintIcon/config.d.ts +8 -0
  170. package/PrintIcon/config.js.map +7 -0
  171. package/PrintIcon/index.d.ts +4 -0
  172. package/PrintIcon/index.js +14 -0
  173. package/PrintIcon/index.js.map +7 -0
  174. package/PrintIcon/index.test/index.js +39 -0
  175. package/PrintIcon/index.test/package.json +6 -0
  176. package/PrintIcon/index.test.d.ts +1 -0
  177. package/PrintIcon/index.test.js.map +7 -0
  178. package/PrintIcon/package.json +6 -0
  179. package/ReplyIcon/config/index.js +13 -0
  180. package/ReplyIcon/config/package.json +6 -0
  181. package/ReplyIcon/config.d.ts +8 -0
  182. package/ReplyIcon/config.js.map +7 -0
  183. package/ReplyIcon/index.d.ts +4 -0
  184. package/ReplyIcon/index.js +14 -0
  185. package/ReplyIcon/index.js.map +7 -0
  186. package/ReplyIcon/index.test/index.js +39 -0
  187. package/ReplyIcon/index.test/package.json +6 -0
  188. package/ReplyIcon/index.test.d.ts +1 -0
  189. package/ReplyIcon/index.test.js.map +7 -0
  190. package/ReplyIcon/package.json +6 -0
  191. package/RestoreIcon/config/index.js +19 -0
  192. package/RestoreIcon/config/package.json +6 -0
  193. package/RestoreIcon/config.d.ts +8 -0
  194. package/RestoreIcon/config.js.map +7 -0
  195. package/RestoreIcon/index.d.ts +4 -0
  196. package/RestoreIcon/index.js +14 -0
  197. package/RestoreIcon/index.js.map +7 -0
  198. package/RestoreIcon/index.test/index.js +39 -0
  199. package/RestoreIcon/index.test/package.json +6 -0
  200. package/RestoreIcon/index.test.d.ts +1 -0
  201. package/RestoreIcon/index.test.js.map +7 -0
  202. package/RestoreIcon/package.json +6 -0
  203. package/SearchIcon/config/index.js +11 -7
  204. package/SearchIcon/config.js.map +7 -0
  205. package/SearchIcon/index.js +12 -7
  206. package/SearchIcon/index.js.map +7 -0
  207. package/SearchIcon/index.test/index.js +7 -7
  208. package/SearchIcon/index.test.js.map +7 -0
  209. package/UncheckIcon/config/index.js +11 -7
  210. package/UncheckIcon/config.js.map +7 -0
  211. package/UncheckIcon/index.js +12 -7
  212. package/UncheckIcon/index.js.map +7 -0
  213. package/UncheckIcon/index.test/index.js +49 -57
  214. package/UncheckIcon/index.test.js.map +7 -0
  215. package/cjs/AccessibilityIcon/config/index.js +40 -19
  216. package/cjs/AccessibilityIcon/config.js.map +7 -0
  217. package/cjs/AccessibilityIcon/index.js +38 -13
  218. package/cjs/AccessibilityIcon/index.js.map +7 -0
  219. package/cjs/AccessibilityIcon/index.test/index.js +67 -60
  220. package/cjs/AccessibilityIcon/index.test.js.map +7 -0
  221. package/cjs/ArrowIcon/config/index.js +44 -27
  222. package/cjs/ArrowIcon/config.js.map +7 -0
  223. package/cjs/ArrowIcon/index.js +38 -13
  224. package/cjs/ArrowIcon/index.js.map +7 -0
  225. package/cjs/ArrowIcon/index.test/index.js +36 -24
  226. package/cjs/ArrowIcon/index.test.js.map +7 -0
  227. package/cjs/BurgerIcon/config/index.js +53 -33
  228. package/cjs/BurgerIcon/config.js.map +7 -0
  229. package/cjs/BurgerIcon/index.js +38 -13
  230. package/cjs/BurgerIcon/index.js.map +7 -0
  231. package/cjs/BurgerIcon/index.test/index.js +51 -41
  232. package/cjs/BurgerIcon/index.test.js.map +7 -0
  233. package/cjs/CancelIcon/config/index.js +40 -0
  234. package/cjs/CancelIcon/config.js.map +7 -0
  235. package/cjs/CancelIcon/index.js +41 -0
  236. package/cjs/CancelIcon/index.js.map +7 -0
  237. package/cjs/CancelIcon/index.test/index.js +57 -0
  238. package/cjs/CancelIcon/index.test.js.map +7 -0
  239. package/cjs/CaretIcon/config/index.js +44 -27
  240. package/cjs/CaretIcon/config.js.map +7 -0
  241. package/cjs/CaretIcon/index.js +38 -13
  242. package/cjs/CaretIcon/index.js.map +7 -0
  243. package/cjs/CaretIcon/index.test/index.js +36 -24
  244. package/cjs/CaretIcon/index.test.js.map +7 -0
  245. package/cjs/ChatIcon/config/index.js +42 -0
  246. package/cjs/ChatIcon/config.js.map +7 -0
  247. package/cjs/ChatIcon/index.js +41 -0
  248. package/cjs/ChatIcon/index.js.map +7 -0
  249. package/cjs/ChatIcon/index.test/index.js +62 -0
  250. package/cjs/ChatIcon/index.test.js.map +7 -0
  251. package/cjs/CheckIcon/config/index.js +36 -13
  252. package/cjs/CheckIcon/config.js.map +7 -0
  253. package/cjs/CheckIcon/index.js +38 -13
  254. package/cjs/CheckIcon/index.js.map +7 -0
  255. package/cjs/CheckIcon/index.test/index.js +62 -54
  256. package/cjs/CheckIcon/index.test.js.map +7 -0
  257. package/cjs/ChevronIcon/config/index.js +44 -27
  258. package/cjs/ChevronIcon/config.js.map +7 -0
  259. package/cjs/ChevronIcon/index.js +38 -13
  260. package/cjs/ChevronIcon/index.js.map +7 -0
  261. package/cjs/ChevronIcon/index.test/index.js +36 -24
  262. package/cjs/ChevronIcon/index.test.js.map +7 -0
  263. package/cjs/CloseIcon/config/index.js +36 -13
  264. package/cjs/CloseIcon/config.js.map +7 -0
  265. package/cjs/CloseIcon/index.js +38 -13
  266. package/cjs/CloseIcon/index.js.map +7 -0
  267. package/cjs/CloseIcon/index.test/index.js +25 -10
  268. package/cjs/CloseIcon/index.test.js.map +7 -0
  269. package/cjs/DownloadIcon/config/index.js +45 -0
  270. package/cjs/DownloadIcon/config.js.map +7 -0
  271. package/cjs/DownloadIcon/index.js +41 -0
  272. package/cjs/DownloadIcon/index.js.map +7 -0
  273. package/cjs/DownloadIcon/index.test/index.js +57 -0
  274. package/cjs/DownloadIcon/index.test.js.map +7 -0
  275. package/cjs/ExclamationIcon/config/index.js +44 -0
  276. package/cjs/ExclamationIcon/config.js.map +7 -0
  277. package/cjs/ExclamationIcon/index.js +41 -0
  278. package/cjs/ExclamationIcon/index.js.map +7 -0
  279. package/cjs/ExclamationIcon/index.test/index.js +57 -0
  280. package/cjs/ExclamationIcon/index.test.js.map +7 -0
  281. package/cjs/GlobeIcon/config/index.js +36 -13
  282. package/cjs/GlobeIcon/config.js.map +7 -0
  283. package/cjs/GlobeIcon/index.js +38 -13
  284. package/cjs/GlobeIcon/index.js.map +7 -0
  285. package/cjs/GlobeIcon/index.test/index.js +36 -24
  286. package/cjs/GlobeIcon/index.test.js.map +7 -0
  287. package/cjs/Icon/index.js +53 -38
  288. package/cjs/Icon/index.js.map +7 -0
  289. package/cjs/Icon/index.test/index.js +71 -65
  290. package/cjs/Icon/index.test.js.map +7 -0
  291. package/cjs/LockIcon/config/index.js +40 -0
  292. package/cjs/LockIcon/config.js.map +7 -0
  293. package/cjs/LockIcon/index.js +41 -0
  294. package/cjs/LockIcon/index.js.map +7 -0
  295. package/cjs/LockIcon/index.test/index.js +57 -0
  296. package/cjs/LockIcon/index.test.js.map +7 -0
  297. package/cjs/LoginIcon/config/index.js +42 -0
  298. package/cjs/LoginIcon/config.js.map +7 -0
  299. package/cjs/LoginIcon/index.js +41 -0
  300. package/cjs/LoginIcon/index.js.map +7 -0
  301. package/cjs/LoginIcon/index.test/index.js +57 -0
  302. package/cjs/LoginIcon/index.test.js.map +7 -0
  303. package/cjs/MinusIcon/config/index.js +43 -0
  304. package/cjs/MinusIcon/config.js.map +7 -0
  305. package/cjs/MinusIcon/index.js +41 -0
  306. package/cjs/MinusIcon/index.js.map +7 -0
  307. package/cjs/MinusIcon/index.test/index.js +57 -0
  308. package/cjs/MinusIcon/index.test.js.map +7 -0
  309. package/cjs/MoreVertIcon/config/index.js +46 -25
  310. package/cjs/MoreVertIcon/config.js.map +7 -0
  311. package/cjs/MoreVertIcon/index.js +38 -13
  312. package/cjs/MoreVertIcon/index.js.map +7 -0
  313. package/cjs/MoreVertIcon/index.test/index.js +67 -60
  314. package/cjs/MoreVertIcon/index.test.js.map +7 -0
  315. package/cjs/PdfFileIcon/config/index.js +46 -0
  316. package/cjs/PdfFileIcon/config.js.map +7 -0
  317. package/cjs/PdfFileIcon/index.js +41 -0
  318. package/cjs/PdfFileIcon/index.js.map +7 -0
  319. package/cjs/PdfFileIcon/index.test/index.js +57 -0
  320. package/cjs/PdfFileIcon/index.test.js.map +7 -0
  321. package/cjs/PlusIcon/config/index.js +40 -0
  322. package/cjs/PlusIcon/config.js.map +7 -0
  323. package/cjs/PlusIcon/index.js +41 -0
  324. package/cjs/PlusIcon/index.js.map +7 -0
  325. package/cjs/PlusIcon/index.test/index.js +57 -0
  326. package/cjs/PlusIcon/index.test.js.map +7 -0
  327. package/cjs/PrintIcon/config/index.js +45 -0
  328. package/cjs/PrintIcon/config.js.map +7 -0
  329. package/cjs/PrintIcon/index.js +41 -0
  330. package/cjs/PrintIcon/index.js.map +7 -0
  331. package/cjs/PrintIcon/index.test/index.js +57 -0
  332. package/cjs/PrintIcon/index.test.js.map +7 -0
  333. package/cjs/ReplyIcon/config/index.js +40 -0
  334. package/cjs/ReplyIcon/config.js.map +7 -0
  335. package/cjs/ReplyIcon/index.js +41 -0
  336. package/cjs/ReplyIcon/index.js.map +7 -0
  337. package/cjs/ReplyIcon/index.test/index.js +57 -0
  338. package/cjs/ReplyIcon/index.test.js.map +7 -0
  339. package/cjs/RestoreIcon/config/index.js +46 -0
  340. package/cjs/RestoreIcon/config.js.map +7 -0
  341. package/cjs/RestoreIcon/index.js +41 -0
  342. package/cjs/RestoreIcon/index.js.map +7 -0
  343. package/cjs/RestoreIcon/index.test/index.js +57 -0
  344. package/cjs/RestoreIcon/index.test.js.map +7 -0
  345. package/cjs/SearchIcon/config/index.js +36 -13
  346. package/cjs/SearchIcon/config.js.map +7 -0
  347. package/cjs/SearchIcon/index.js +38 -13
  348. package/cjs/SearchIcon/index.js.map +7 -0
  349. package/cjs/SearchIcon/index.test/index.js +25 -10
  350. package/cjs/SearchIcon/index.test.js.map +7 -0
  351. package/cjs/UncheckIcon/config/index.js +36 -13
  352. package/cjs/UncheckIcon/config.js.map +7 -0
  353. package/cjs/UncheckIcon/index.js +38 -13
  354. package/cjs/UncheckIcon/index.js.map +7 -0
  355. package/cjs/UncheckIcon/index.test/index.js +67 -60
  356. package/cjs/UncheckIcon/index.test.js.map +7 -0
  357. package/cjs/icons/index.js +43 -126
  358. package/cjs/icons.js.map +7 -0
  359. package/cjs/index.js +43 -126
  360. package/cjs/index.js.map +7 -0
  361. package/cjs/lazy/index.js +55 -120
  362. package/cjs/lazy.js.map +7 -0
  363. package/cjs/registry/index.js +86 -43
  364. package/cjs/registry.js.map +7 -0
  365. package/icons/index.js +24 -12
  366. package/icons.d.ts +36 -0
  367. package/icons.js.map +7 -0
  368. package/index.d.ts +12 -0
  369. package/index.js +25 -12
  370. package/index.js.map +7 -0
  371. package/lazy/index.js +31 -87
  372. package/lazy.d.ts +12 -0
  373. package/lazy.js.map +7 -0
  374. package/package.json +4 -6
  375. package/registry/index.js +62 -35
  376. package/registry.d.ts +12 -0
  377. package/registry.js.map +7 -0
  378. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
  379. package/src/AccessibilityIcon/index.test.tsx +12 -12
  380. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +8 -8
  381. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +22 -22
  382. package/src/BurgerIcon/index.test.tsx +8 -8
  383. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +262 -0
  384. package/src/CancelIcon/config.tsx +15 -0
  385. package/src/CancelIcon/index.test.tsx +26 -0
  386. package/src/CancelIcon/index.tsx +8 -0
  387. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  388. package/src/ChatIcon/config.tsx +28 -0
  389. package/src/ChatIcon/index.test.tsx +29 -0
  390. package/src/ChatIcon/index.tsx +8 -0
  391. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
  392. package/src/CheckIcon/index.test.tsx +10 -10
  393. package/{cjs/ArrowIcon → src/ChevronIcon}/__snapshots__/index.test.tsx.snap +36 -36
  394. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +318 -0
  395. package/src/DownloadIcon/config.tsx +16 -0
  396. package/src/DownloadIcon/index.test.tsx +26 -0
  397. package/src/DownloadIcon/index.tsx +8 -0
  398. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  399. package/src/ExclamationIcon/config.tsx +16 -0
  400. package/src/ExclamationIcon/index.test.tsx +26 -0
  401. package/src/ExclamationIcon/index.tsx +8 -0
  402. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +20 -24
  403. package/src/GlobeIcon/config.tsx +1 -12
  404. package/src/GlobeIcon/index.test.tsx +6 -6
  405. package/src/Icon/__snapshots__/index.test.tsx.snap +11 -12
  406. package/src/LockIcon/__snapshots__/index.test.tsx.snap +262 -0
  407. package/src/LockIcon/config.tsx +15 -0
  408. package/src/LockIcon/index.test.tsx +26 -0
  409. package/src/LockIcon/index.tsx +8 -0
  410. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +283 -0
  411. package/src/LoginIcon/config.tsx +16 -0
  412. package/src/LoginIcon/index.test.tsx +26 -0
  413. package/src/LoginIcon/index.tsx +8 -0
  414. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +283 -0
  415. package/src/MinusIcon/config.tsx +15 -0
  416. package/src/MinusIcon/index.test.tsx +26 -0
  417. package/src/MinusIcon/index.tsx +8 -0
  418. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
  419. package/src/MoreVertIcon/index.test.tsx +12 -12
  420. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +353 -0
  421. package/src/PdfFileIcon/config.tsx +20 -0
  422. package/src/PdfFileIcon/index.test.tsx +26 -0
  423. package/src/PdfFileIcon/index.tsx +8 -0
  424. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +262 -0
  425. package/src/PlusIcon/config.tsx +15 -0
  426. package/src/PlusIcon/index.test.tsx +26 -0
  427. package/src/PlusIcon/index.tsx +8 -0
  428. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  429. package/src/PrintIcon/config.tsx +16 -0
  430. package/src/PrintIcon/index.test.tsx +26 -0
  431. package/src/PrintIcon/index.tsx +8 -0
  432. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  433. package/src/ReplyIcon/config.tsx +15 -0
  434. package/src/ReplyIcon/index.test.tsx +26 -0
  435. package/src/ReplyIcon/index.tsx +8 -0
  436. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  437. package/src/RestoreIcon/config.tsx +17 -0
  438. package/src/RestoreIcon/index.test.tsx +26 -0
  439. package/src/RestoreIcon/index.tsx +8 -0
  440. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
  441. package/src/UncheckIcon/index.test.tsx +12 -12
  442. package/src/icons.ts +37 -0
  443. package/src/index.ts +12 -0
  444. package/src/lazy.js +12 -0
  445. package/src/registry.js +24 -0
  446. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  447. package/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  448. package/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  449. package/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  450. package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  451. package/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  452. package/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  453. package/Icon/__snapshots__/index.test.tsx.snap +0 -343
  454. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  455. package/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  456. package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  457. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  458. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  459. package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  460. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  461. package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  462. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  463. package/cjs/Icon/__snapshots__/index.test.tsx.snap +0 -343
  464. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  465. package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  466. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
@@ -0,0 +1,262 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the CancelIcon with no props 1`] = `
4
+ <CancelIcon>
5
+ <ForwardRef(Icon)
6
+ icon="cancel"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="ds-svg-icon--cancel"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="ds-svg-icon--cancel ds-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="ds-svg-icon--cancel ds-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <cancel>
25
+ <path
26
+ d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
27
+ />
28
+ </cancel>
29
+ </svg>
30
+ </ForwardRef(Base)>
31
+ </ForwardRef(SvgIcon)>
32
+ </ForwardRef(Icon)>
33
+ </CancelIcon>
34
+ `;
35
+
36
+ exports[`renders the CancelIcon with prop color=error and size= xl 1`] = `
37
+ <CancelIcon
38
+ color="warning"
39
+ size="xl"
40
+ >
41
+ <ForwardRef(Icon)
42
+ color="warning"
43
+ icon="cancel"
44
+ size="xl"
45
+ >
46
+ <ForwardRef(SvgIcon)
47
+ className="ds-svg-icon--cancel"
48
+ color="warning"
49
+ size="xl"
50
+ >
51
+ <ForwardRef(Base)
52
+ aria-hidden="true"
53
+ as="svg"
54
+ className="ds-svg-icon--cancel 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--cancel ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
61
+ focusable="false"
62
+ viewBox="0 0 24 24"
63
+ >
64
+ <cancel>
65
+ <path
66
+ d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
67
+ />
68
+ </cancel>
69
+ </svg>
70
+ </ForwardRef(Base)>
71
+ </ForwardRef(SvgIcon)>
72
+ </ForwardRef(Icon)>
73
+ </CancelIcon>
74
+ `;
75
+
76
+ exports[`renders the CancelIcon with prop color=warning 1`] = `
77
+ <CancelIcon
78
+ color="warning"
79
+ >
80
+ <ForwardRef(Icon)
81
+ color="warning"
82
+ icon="cancel"
83
+ >
84
+ <ForwardRef(SvgIcon)
85
+ className="ds-svg-icon--cancel"
86
+ color="warning"
87
+ >
88
+ <ForwardRef(Base)
89
+ aria-hidden="true"
90
+ as="svg"
91
+ className="ds-svg-icon--cancel 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--cancel ds-svg-icon--warning ds-svg-icon"
98
+ focusable="false"
99
+ viewBox="0 0 24 24"
100
+ >
101
+ <cancel>
102
+ <path
103
+ d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
104
+ />
105
+ </cancel>
106
+ </svg>
107
+ </ForwardRef(Base)>
108
+ </ForwardRef(SvgIcon)>
109
+ </ForwardRef(Icon)>
110
+ </CancelIcon>
111
+ `;
112
+
113
+ exports[`renders the CancelIcon with prop color=warning and size=s 1`] = `
114
+ <CancelIcon
115
+ color="warning"
116
+ size="sm"
117
+ >
118
+ <ForwardRef(Icon)
119
+ color="warning"
120
+ icon="cancel"
121
+ size="sm"
122
+ >
123
+ <ForwardRef(SvgIcon)
124
+ className="ds-svg-icon--cancel"
125
+ color="warning"
126
+ size="sm"
127
+ >
128
+ <ForwardRef(Base)
129
+ aria-hidden="true"
130
+ as="svg"
131
+ className="ds-svg-icon--cancel 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--cancel ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
138
+ focusable="false"
139
+ viewBox="0 0 24 24"
140
+ >
141
+ <cancel>
142
+ <path
143
+ d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
144
+ />
145
+ </cancel>
146
+ </svg>
147
+ </ForwardRef(Base)>
148
+ </ForwardRef(SvgIcon)>
149
+ </ForwardRef(Icon)>
150
+ </CancelIcon>
151
+ `;
152
+
153
+ exports[`renders the CancelIcon with prop color=white 1`] = `
154
+ <CancelIcon
155
+ color="white"
156
+ >
157
+ <ForwardRef(Icon)
158
+ color="white"
159
+ icon="cancel"
160
+ >
161
+ <ForwardRef(SvgIcon)
162
+ className="ds-svg-icon--cancel"
163
+ color="white"
164
+ >
165
+ <ForwardRef(Base)
166
+ aria-hidden="true"
167
+ as="svg"
168
+ className="ds-svg-icon--cancel 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--cancel ds-svg-icon--white ds-svg-icon"
175
+ focusable="false"
176
+ viewBox="0 0 24 24"
177
+ >
178
+ <cancel>
179
+ <path
180
+ d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
181
+ />
182
+ </cancel>
183
+ </svg>
184
+ </ForwardRef(Base)>
185
+ </ForwardRef(SvgIcon)>
186
+ </ForwardRef(Icon)>
187
+ </CancelIcon>
188
+ `;
189
+
190
+ exports[`renders the CancelIcon with prop size=m 1`] = `
191
+ <CancelIcon
192
+ size="md"
193
+ >
194
+ <ForwardRef(Icon)
195
+ icon="cancel"
196
+ size="md"
197
+ >
198
+ <ForwardRef(SvgIcon)
199
+ className="ds-svg-icon--cancel"
200
+ size="md"
201
+ >
202
+ <ForwardRef(Base)
203
+ aria-hidden="true"
204
+ as="svg"
205
+ className="ds-svg-icon--cancel 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--cancel ds-svg-icon--md ds-svg-icon"
212
+ focusable="false"
213
+ viewBox="0 0 24 24"
214
+ >
215
+ <cancel>
216
+ <path
217
+ d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
218
+ />
219
+ </cancel>
220
+ </svg>
221
+ </ForwardRef(Base)>
222
+ </ForwardRef(SvgIcon)>
223
+ </ForwardRef(Icon)>
224
+ </CancelIcon>
225
+ `;
226
+
227
+ exports[`renders the CancelIcon with prop size=xl 1`] = `
228
+ <CancelIcon
229
+ size="xl"
230
+ >
231
+ <ForwardRef(Icon)
232
+ icon="cancel"
233
+ size="xl"
234
+ >
235
+ <ForwardRef(SvgIcon)
236
+ className="ds-svg-icon--cancel"
237
+ size="xl"
238
+ >
239
+ <ForwardRef(Base)
240
+ aria-hidden="true"
241
+ as="svg"
242
+ className="ds-svg-icon--cancel 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--cancel ds-svg-icon--xl ds-svg-icon"
249
+ focusable="false"
250
+ viewBox="0 0 24 24"
251
+ >
252
+ <cancel>
253
+ <path
254
+ d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
255
+ />
256
+ </cancel>
257
+ </svg>
258
+ </ForwardRef(Base)>
259
+ </ForwardRef(SvgIcon)>
260
+ </ForwardRef(Icon)>
261
+ </CancelIcon>
262
+ `;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+
3
+ export interface CancelType {}
4
+
5
+ export function cancel(): React.ReactElement {
6
+ return (
7
+ <>
8
+ <path d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"/>
9
+ </>
10
+ );
11
+ }
12
+
13
+ cancel.props = [];
14
+
15
+ export default cancel;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import CancelIcon from '@digigov/react-icons/CancelIcon';
5
+
6
+ it('renders the CancelIcon with no props', () => {
7
+ expect(mount(<CancelIcon />)).toMatchSnapshot();
8
+ });
9
+ it('renders the CancelIcon with prop size=m', () => {
10
+ expect(mount(<CancelIcon size="md" />)).toMatchSnapshot();
11
+ });
12
+ it('renders the CancelIcon with prop size=xl', () => {
13
+ expect(mount(<CancelIcon size="xl" />)).toMatchSnapshot();
14
+ });
15
+ it('renders the CancelIcon with prop color=white', () => {
16
+ expect(mount(<CancelIcon color="white" />)).toMatchSnapshot();
17
+ });
18
+ it('renders the CancelIcon with prop color=warning', () => {
19
+ expect(mount(<CancelIcon color="warning" />)).toMatchSnapshot();
20
+ });
21
+ it('renders the CancelIcon with prop color=warning and size=s', () => {
22
+ expect(mount(<CancelIcon color="warning" size="sm" />)).toMatchSnapshot();
23
+ });
24
+ it('renders the CancelIcon with prop color=error and size= xl', () => {
25
+ expect(mount(<CancelIcon 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 CancelIcon: React.FC<IconProps<'cancel'>> = (props) => {
5
+ return <Icon {...props} icon="cancel"></Icon>;
6
+ };
7
+
8
+ export default CancelIcon;
@@ -0,0 +1,300 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the ChatIcon with dots 1`] = `
4
+ <ChatIcon
5
+ dots={true}
6
+ >
7
+ <ForwardRef(Icon)
8
+ dots={true}
9
+ icon="chat"
10
+ >
11
+ <ForwardRef(SvgIcon)
12
+ className="ds-svg-icon--chat"
13
+ >
14
+ <ForwardRef(Base)
15
+ aria-hidden="true"
16
+ as="svg"
17
+ className="ds-svg-icon--chat ds-svg-icon"
18
+ focusable="false"
19
+ viewBox="0 0 24 24"
20
+ >
21
+ <svg
22
+ aria-hidden="true"
23
+ className="ds-svg-icon--chat ds-svg-icon"
24
+ focusable="false"
25
+ viewBox="0 0 24 24"
26
+ >
27
+ <chat
28
+ dots={true}
29
+ >
30
+ <path
31
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2ZM7.65,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM12,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM16.35,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
32
+ />
33
+ </chat>
34
+ </svg>
35
+ </ForwardRef(Base)>
36
+ </ForwardRef(SvgIcon)>
37
+ </ForwardRef(Icon)>
38
+ </ChatIcon>
39
+ `;
40
+
41
+ exports[`renders the ChatIcon with no props 1`] = `
42
+ <ChatIcon>
43
+ <ForwardRef(Icon)
44
+ icon="chat"
45
+ >
46
+ <ForwardRef(SvgIcon)
47
+ className="ds-svg-icon--chat"
48
+ >
49
+ <ForwardRef(Base)
50
+ aria-hidden="true"
51
+ as="svg"
52
+ className="ds-svg-icon--chat ds-svg-icon"
53
+ focusable="false"
54
+ viewBox="0 0 24 24"
55
+ >
56
+ <svg
57
+ aria-hidden="true"
58
+ className="ds-svg-icon--chat ds-svg-icon"
59
+ focusable="false"
60
+ viewBox="0 0 24 24"
61
+ >
62
+ <chat>
63
+ <path
64
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
65
+ />
66
+ </chat>
67
+ </svg>
68
+ </ForwardRef(Base)>
69
+ </ForwardRef(SvgIcon)>
70
+ </ForwardRef(Icon)>
71
+ </ChatIcon>
72
+ `;
73
+
74
+ exports[`renders the ChatIcon with prop color=error and size= xl 1`] = `
75
+ <ChatIcon
76
+ color="warning"
77
+ size="xl"
78
+ >
79
+ <ForwardRef(Icon)
80
+ color="warning"
81
+ icon="chat"
82
+ size="xl"
83
+ >
84
+ <ForwardRef(SvgIcon)
85
+ className="ds-svg-icon--chat"
86
+ color="warning"
87
+ size="xl"
88
+ >
89
+ <ForwardRef(Base)
90
+ aria-hidden="true"
91
+ as="svg"
92
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
93
+ focusable="false"
94
+ viewBox="0 0 24 24"
95
+ >
96
+ <svg
97
+ aria-hidden="true"
98
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
99
+ focusable="false"
100
+ viewBox="0 0 24 24"
101
+ >
102
+ <chat>
103
+ <path
104
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
105
+ />
106
+ </chat>
107
+ </svg>
108
+ </ForwardRef(Base)>
109
+ </ForwardRef(SvgIcon)>
110
+ </ForwardRef(Icon)>
111
+ </ChatIcon>
112
+ `;
113
+
114
+ exports[`renders the ChatIcon with prop color=warning 1`] = `
115
+ <ChatIcon
116
+ color="warning"
117
+ >
118
+ <ForwardRef(Icon)
119
+ color="warning"
120
+ icon="chat"
121
+ >
122
+ <ForwardRef(SvgIcon)
123
+ className="ds-svg-icon--chat"
124
+ color="warning"
125
+ >
126
+ <ForwardRef(Base)
127
+ aria-hidden="true"
128
+ as="svg"
129
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
130
+ focusable="false"
131
+ viewBox="0 0 24 24"
132
+ >
133
+ <svg
134
+ aria-hidden="true"
135
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
136
+ focusable="false"
137
+ viewBox="0 0 24 24"
138
+ >
139
+ <chat>
140
+ <path
141
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
142
+ />
143
+ </chat>
144
+ </svg>
145
+ </ForwardRef(Base)>
146
+ </ForwardRef(SvgIcon)>
147
+ </ForwardRef(Icon)>
148
+ </ChatIcon>
149
+ `;
150
+
151
+ exports[`renders the ChatIcon with prop color=warning and size=sm 1`] = `
152
+ <ChatIcon
153
+ color="warning"
154
+ size="sm"
155
+ >
156
+ <ForwardRef(Icon)
157
+ color="warning"
158
+ icon="chat"
159
+ size="sm"
160
+ >
161
+ <ForwardRef(SvgIcon)
162
+ className="ds-svg-icon--chat"
163
+ color="warning"
164
+ size="sm"
165
+ >
166
+ <ForwardRef(Base)
167
+ aria-hidden="true"
168
+ as="svg"
169
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
170
+ focusable="false"
171
+ viewBox="0 0 24 24"
172
+ >
173
+ <svg
174
+ aria-hidden="true"
175
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
176
+ focusable="false"
177
+ viewBox="0 0 24 24"
178
+ >
179
+ <chat>
180
+ <path
181
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
182
+ />
183
+ </chat>
184
+ </svg>
185
+ </ForwardRef(Base)>
186
+ </ForwardRef(SvgIcon)>
187
+ </ForwardRef(Icon)>
188
+ </ChatIcon>
189
+ `;
190
+
191
+ exports[`renders the ChatIcon with prop color=white 1`] = `
192
+ <ChatIcon
193
+ color="white"
194
+ >
195
+ <ForwardRef(Icon)
196
+ color="white"
197
+ icon="chat"
198
+ >
199
+ <ForwardRef(SvgIcon)
200
+ className="ds-svg-icon--chat"
201
+ color="white"
202
+ >
203
+ <ForwardRef(Base)
204
+ aria-hidden="true"
205
+ as="svg"
206
+ className="ds-svg-icon--chat ds-svg-icon--white ds-svg-icon"
207
+ focusable="false"
208
+ viewBox="0 0 24 24"
209
+ >
210
+ <svg
211
+ aria-hidden="true"
212
+ className="ds-svg-icon--chat ds-svg-icon--white ds-svg-icon"
213
+ focusable="false"
214
+ viewBox="0 0 24 24"
215
+ >
216
+ <chat>
217
+ <path
218
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
219
+ />
220
+ </chat>
221
+ </svg>
222
+ </ForwardRef(Base)>
223
+ </ForwardRef(SvgIcon)>
224
+ </ForwardRef(Icon)>
225
+ </ChatIcon>
226
+ `;
227
+
228
+ exports[`renders the ChatIcon with prop size=md 1`] = `
229
+ <ChatIcon
230
+ size="md"
231
+ >
232
+ <ForwardRef(Icon)
233
+ icon="chat"
234
+ size="md"
235
+ >
236
+ <ForwardRef(SvgIcon)
237
+ className="ds-svg-icon--chat"
238
+ size="md"
239
+ >
240
+ <ForwardRef(Base)
241
+ aria-hidden="true"
242
+ as="svg"
243
+ className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
244
+ focusable="false"
245
+ viewBox="0 0 24 24"
246
+ >
247
+ <svg
248
+ aria-hidden="true"
249
+ className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
250
+ focusable="false"
251
+ viewBox="0 0 24 24"
252
+ >
253
+ <chat>
254
+ <path
255
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
256
+ />
257
+ </chat>
258
+ </svg>
259
+ </ForwardRef(Base)>
260
+ </ForwardRef(SvgIcon)>
261
+ </ForwardRef(Icon)>
262
+ </ChatIcon>
263
+ `;
264
+
265
+ exports[`renders the ChatIcon with prop size=xl 1`] = `
266
+ <ChatIcon
267
+ size="xl"
268
+ >
269
+ <ForwardRef(Icon)
270
+ icon="chat"
271
+ size="xl"
272
+ >
273
+ <ForwardRef(SvgIcon)
274
+ className="ds-svg-icon--chat"
275
+ size="xl"
276
+ >
277
+ <ForwardRef(Base)
278
+ aria-hidden="true"
279
+ as="svg"
280
+ className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
281
+ focusable="false"
282
+ viewBox="0 0 24 24"
283
+ >
284
+ <svg
285
+ aria-hidden="true"
286
+ className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
287
+ focusable="false"
288
+ viewBox="0 0 24 24"
289
+ >
290
+ <chat>
291
+ <path
292
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
293
+ />
294
+ </chat>
295
+ </svg>
296
+ </ForwardRef(Base)>
297
+ </ForwardRef(SvgIcon)>
298
+ </ForwardRef(Icon)>
299
+ </ChatIcon>
300
+ `;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+
3
+ export interface ChatType {
4
+ /**
5
+ * @value 'false'
6
+ * @value 'true'
7
+ * @default 'false'
8
+ */
9
+ dots?: boolean;
10
+ }
11
+
12
+ export const chat: React.FC<ChatType> = ({ dots = false }) => {
13
+ return (
14
+ <>
15
+ {dots ? (
16
+ <path d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2ZM7.65,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM12,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM16.35,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z" />
17
+ ) : (
18
+ <path d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z" />
19
+ )}
20
+ </>
21
+ );
22
+ };
23
+
24
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
25
+ // @ts-ignore
26
+ chat.props = ['dots'];
27
+
28
+ export default chat;
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import ChatIcon from '@digigov/react-icons/ChatIcon';
5
+
6
+ it('renders the ChatIcon with no props', () => {
7
+ expect(mount(<ChatIcon />)).toMatchSnapshot();
8
+ });
9
+ it('renders the ChatIcon with dots', () => {
10
+ expect(mount(<ChatIcon dots/>)).toMatchSnapshot();
11
+ });
12
+ it('renders the ChatIcon with prop size=md', () => {
13
+ expect(mount(<ChatIcon size="md" />)).toMatchSnapshot();
14
+ });
15
+ it('renders the ChatIcon with prop size=xl', () => {
16
+ expect(mount(<ChatIcon size="xl" />)).toMatchSnapshot();
17
+ });
18
+ it('renders the ChatIcon with prop color=white', () => {
19
+ expect(mount(<ChatIcon color="white" />)).toMatchSnapshot();
20
+ });
21
+ it('renders the ChatIcon with prop color=warning', () => {
22
+ expect(mount(<ChatIcon color="warning" />)).toMatchSnapshot();
23
+ });
24
+ it('renders the ChatIcon with prop color=warning and size=sm', () => {
25
+ expect(mount(<ChatIcon color="warning" size="sm" />)).toMatchSnapshot();
26
+ });
27
+ it('renders the ChatIcon with prop color=error and size= xl', () => {
28
+ expect(mount(<ChatIcon color="warning" size="xl" />)).toMatchSnapshot();
29
+ });
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import Icon, { IconProps } from '@digigov/react-icons/Icon';
3
+
4
+ export const ChatIcon: React.FC<IconProps<'chat'>> = (props) => {
5
+ return <Icon {...props} icon="chat"></Icon>;
6
+ };
7
+
8
+ export default ChatIcon;