@digigov/react-icons 2.0.0-0edebf87 → 2.0.0-2445d5cb

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 (395) hide show
  1. package/AccessibilityIcon/config/index.js +14 -13
  2. package/AccessibilityIcon/config.js.map +7 -0
  3. package/AccessibilityIcon/index.js +10 -8
  4. package/AccessibilityIcon/index.js.map +7 -0
  5. package/ArrowIcon/config/index.js +10 -21
  6. package/ArrowIcon/config.js.map +7 -0
  7. package/ArrowIcon/index.js +10 -8
  8. package/ArrowIcon/index.js.map +7 -0
  9. package/Base/index.d.ts +1 -1
  10. package/Base/index.js +100 -68
  11. package/Base/index.js.map +7 -0
  12. package/BurgerIcon/config/index.js +21 -27
  13. package/BurgerIcon/config.js.map +7 -0
  14. package/BurgerIcon/index.js +10 -8
  15. package/BurgerIcon/index.js.map +7 -0
  16. package/CancelIcon/config/index.js +9 -7
  17. package/CancelIcon/config.js.map +7 -0
  18. package/CancelIcon/index.js +10 -8
  19. package/CancelIcon/index.js.map +7 -0
  20. package/CaretIcon/config/index.js +10 -21
  21. package/CaretIcon/config.js.map +7 -0
  22. package/CaretIcon/index.js +10 -8
  23. package/CaretIcon/index.js.map +7 -0
  24. package/ChatIcon/config/index.js +10 -16
  25. package/ChatIcon/config.js.map +7 -0
  26. package/ChatIcon/index.js +10 -8
  27. package/ChatIcon/index.js.map +7 -0
  28. package/CheckIcon/config/index.js +9 -7
  29. package/CheckIcon/config.js.map +7 -0
  30. package/CheckIcon/index.js +10 -8
  31. package/CheckIcon/index.js.map +7 -0
  32. package/ChevronIcon/config/index.js +10 -21
  33. package/ChevronIcon/config.js.map +7 -0
  34. package/ChevronIcon/index.js +10 -8
  35. package/ChevronIcon/index.js.map +7 -0
  36. package/CloseIcon/config/index.js +9 -7
  37. package/CloseIcon/config.js.map +7 -0
  38. package/CloseIcon/index.js +10 -8
  39. package/CloseIcon/index.js.map +7 -0
  40. package/DownloadIcon/config/index.js +9 -12
  41. package/DownloadIcon/config.js.map +7 -0
  42. package/DownloadIcon/index.js +10 -8
  43. package/DownloadIcon/index.js.map +7 -0
  44. package/ExclamationIcon/config/index.js +9 -12
  45. package/ExclamationIcon/config.js.map +7 -0
  46. package/ExclamationIcon/index.js +10 -8
  47. package/ExclamationIcon/index.js.map +7 -0
  48. package/GlobeIcon/config/index.js +9 -7
  49. package/GlobeIcon/config.js.map +7 -0
  50. package/GlobeIcon/index.js +10 -8
  51. package/GlobeIcon/index.js.map +7 -0
  52. package/Icon/index.d.ts +1 -1
  53. package/Icon/index.js +29 -29
  54. package/Icon/index.js.map +7 -0
  55. package/LockIcon/config/index.js +9 -7
  56. package/LockIcon/config.js.map +7 -0
  57. package/LockIcon/index.js +10 -8
  58. package/LockIcon/index.js.map +7 -0
  59. package/LoginIcon/config/index.js +9 -10
  60. package/LoginIcon/config.js.map +7 -0
  61. package/LoginIcon/index.js +10 -8
  62. package/LoginIcon/index.js.map +7 -0
  63. package/MinusIcon/config/index.js +9 -10
  64. package/MinusIcon/config.js.map +7 -0
  65. package/MinusIcon/index.js +10 -8
  66. package/MinusIcon/index.js.map +7 -0
  67. package/MoreVertIcon/config/index.js +9 -19
  68. package/MoreVertIcon/config.js.map +7 -0
  69. package/MoreVertIcon/index.js +10 -8
  70. package/MoreVertIcon/index.js.map +7 -0
  71. package/PdfFileIcon/config/index.js +9 -13
  72. package/PdfFileIcon/config.js.map +7 -0
  73. package/PdfFileIcon/index.js +10 -8
  74. package/PdfFileIcon/index.js.map +7 -0
  75. package/PlusIcon/config/index.js +9 -7
  76. package/PlusIcon/config.js.map +7 -0
  77. package/PlusIcon/index.js +10 -8
  78. package/PlusIcon/index.js.map +7 -0
  79. package/PrintIcon/config/index.js +9 -13
  80. package/PrintIcon/config.js.map +7 -0
  81. package/PrintIcon/index.js +10 -8
  82. package/PrintIcon/index.js.map +7 -0
  83. package/ReplyIcon/config/index.js +9 -7
  84. package/ReplyIcon/config.js.map +7 -0
  85. package/ReplyIcon/index.js +10 -8
  86. package/ReplyIcon/index.js.map +7 -0
  87. package/RestoreIcon/config/index.js +9 -15
  88. package/RestoreIcon/config.js.map +7 -0
  89. package/RestoreIcon/index.js +10 -8
  90. package/RestoreIcon/index.js.map +7 -0
  91. package/SearchIcon/config/index.js +9 -7
  92. package/SearchIcon/config.js.map +7 -0
  93. package/SearchIcon/index.js +10 -8
  94. package/SearchIcon/index.js.map +7 -0
  95. package/SvgIcon/index.d.ts +1 -1
  96. package/SvgIcon/index.js +30 -26
  97. package/SvgIcon/index.js.map +7 -0
  98. package/UncheckIcon/config/index.js +9 -7
  99. package/UncheckIcon/config.js.map +7 -0
  100. package/UncheckIcon/index.js +10 -8
  101. package/UncheckIcon/index.js.map +7 -0
  102. package/cjs/AccessibilityIcon/config/index.js +45 -19
  103. package/cjs/AccessibilityIcon/config.js.map +7 -0
  104. package/cjs/AccessibilityIcon/index.js +42 -14
  105. package/cjs/AccessibilityIcon/index.js.map +7 -0
  106. package/cjs/ArrowIcon/config/index.js +42 -27
  107. package/cjs/ArrowIcon/config.js.map +7 -0
  108. package/cjs/ArrowIcon/index.js +42 -14
  109. package/cjs/ArrowIcon/index.js.map +7 -0
  110. package/cjs/Base/index.js +132 -73
  111. package/cjs/Base/index.js.map +7 -0
  112. package/cjs/BurgerIcon/config/index.js +53 -33
  113. package/cjs/BurgerIcon/config.js.map +7 -0
  114. package/cjs/BurgerIcon/index.js +42 -14
  115. package/cjs/BurgerIcon/index.js.map +7 -0
  116. package/cjs/CancelIcon/config/index.js +40 -13
  117. package/cjs/CancelIcon/config.js.map +7 -0
  118. package/cjs/CancelIcon/index.js +42 -14
  119. package/cjs/CancelIcon/index.js.map +7 -0
  120. package/cjs/CaretIcon/config/index.js +42 -27
  121. package/cjs/CaretIcon/config.js.map +7 -0
  122. package/cjs/CaretIcon/index.js +42 -14
  123. package/cjs/CaretIcon/index.js.map +7 -0
  124. package/cjs/ChatIcon/config/index.js +42 -22
  125. package/cjs/ChatIcon/config.js.map +7 -0
  126. package/cjs/ChatIcon/index.js +42 -14
  127. package/cjs/ChatIcon/index.js.map +7 -0
  128. package/cjs/CheckIcon/config/index.js +40 -13
  129. package/cjs/CheckIcon/config.js.map +7 -0
  130. package/cjs/CheckIcon/index.js +42 -14
  131. package/cjs/CheckIcon/index.js.map +7 -0
  132. package/cjs/ChevronIcon/config/index.js +42 -27
  133. package/cjs/ChevronIcon/config.js.map +7 -0
  134. package/cjs/ChevronIcon/index.js +42 -14
  135. package/cjs/ChevronIcon/index.js.map +7 -0
  136. package/cjs/CloseIcon/config/index.js +40 -13
  137. package/cjs/CloseIcon/config.js.map +7 -0
  138. package/cjs/CloseIcon/index.js +42 -14
  139. package/cjs/CloseIcon/index.js.map +7 -0
  140. package/cjs/DownloadIcon/config/index.js +40 -18
  141. package/cjs/DownloadIcon/config.js.map +7 -0
  142. package/cjs/DownloadIcon/index.js +42 -14
  143. package/cjs/DownloadIcon/index.js.map +7 -0
  144. package/cjs/ExclamationIcon/config/index.js +40 -18
  145. package/cjs/ExclamationIcon/config.js.map +7 -0
  146. package/cjs/ExclamationIcon/index.js +42 -14
  147. package/cjs/ExclamationIcon/index.js.map +7 -0
  148. package/cjs/GlobeIcon/config/index.js +40 -13
  149. package/cjs/GlobeIcon/config.js.map +7 -0
  150. package/cjs/GlobeIcon/index.js +42 -14
  151. package/cjs/GlobeIcon/index.js.map +7 -0
  152. package/cjs/Icon/index.js +61 -38
  153. package/cjs/Icon/index.js.map +7 -0
  154. package/cjs/LockIcon/config/index.js +40 -13
  155. package/cjs/LockIcon/config.js.map +7 -0
  156. package/cjs/LockIcon/index.js +42 -14
  157. package/cjs/LockIcon/index.js.map +7 -0
  158. package/cjs/LoginIcon/config/index.js +40 -16
  159. package/cjs/LoginIcon/config.js.map +7 -0
  160. package/cjs/LoginIcon/index.js +42 -14
  161. package/cjs/LoginIcon/index.js.map +7 -0
  162. package/cjs/MinusIcon/config/index.js +40 -16
  163. package/cjs/MinusIcon/config.js.map +7 -0
  164. package/cjs/MinusIcon/index.js +42 -14
  165. package/cjs/MinusIcon/index.js.map +7 -0
  166. package/cjs/MoreVertIcon/config/index.js +40 -25
  167. package/cjs/MoreVertIcon/config.js.map +7 -0
  168. package/cjs/MoreVertIcon/index.js +42 -14
  169. package/cjs/MoreVertIcon/index.js.map +7 -0
  170. package/cjs/PdfFileIcon/config/index.js +40 -19
  171. package/cjs/PdfFileIcon/config.js.map +7 -0
  172. package/cjs/PdfFileIcon/index.js +42 -14
  173. package/cjs/PdfFileIcon/index.js.map +7 -0
  174. package/cjs/PlusIcon/config/index.js +40 -13
  175. package/cjs/PlusIcon/config.js.map +7 -0
  176. package/cjs/PlusIcon/index.js +42 -14
  177. package/cjs/PlusIcon/index.js.map +7 -0
  178. package/cjs/PrintIcon/config/index.js +40 -19
  179. package/cjs/PrintIcon/config.js.map +7 -0
  180. package/cjs/PrintIcon/index.js +42 -14
  181. package/cjs/PrintIcon/index.js.map +7 -0
  182. package/cjs/ReplyIcon/config/index.js +40 -13
  183. package/cjs/ReplyIcon/config.js.map +7 -0
  184. package/cjs/ReplyIcon/index.js +42 -14
  185. package/cjs/ReplyIcon/index.js.map +7 -0
  186. package/cjs/RestoreIcon/config/index.js +40 -21
  187. package/cjs/RestoreIcon/config.js.map +7 -0
  188. package/cjs/RestoreIcon/index.js +42 -14
  189. package/cjs/RestoreIcon/index.js.map +7 -0
  190. package/cjs/SearchIcon/config/index.js +40 -13
  191. package/cjs/SearchIcon/config.js.map +7 -0
  192. package/cjs/SearchIcon/index.js +42 -14
  193. package/cjs/SearchIcon/index.js.map +7 -0
  194. package/cjs/SvgIcon/index.js +61 -31
  195. package/cjs/SvgIcon/index.js.map +7 -0
  196. package/cjs/UncheckIcon/config/index.js +40 -13
  197. package/cjs/UncheckIcon/config.js.map +7 -0
  198. package/cjs/UncheckIcon/index.js +42 -14
  199. package/cjs/UncheckIcon/index.js.map +7 -0
  200. package/cjs/icons/index.js +66 -258
  201. package/cjs/icons.js.map +7 -0
  202. package/cjs/index.js +66 -258
  203. package/cjs/index.js.map +7 -0
  204. package/cjs/lazy/index.js +61 -246
  205. package/cjs/lazy.js.map +7 -0
  206. package/cjs/registry/index.js +102 -76
  207. package/cjs/registry.js.map +7 -0
  208. package/icons/index.js +24 -24
  209. package/icons.js.map +7 -0
  210. package/index.js +25 -24
  211. package/index.js.map +7 -0
  212. package/lazy/index.js +33 -185
  213. package/lazy.d.ts +3 -3
  214. package/lazy.js.map +7 -0
  215. package/package.json +4 -8
  216. package/registry/index.js +74 -68
  217. package/registry.js.map +7 -0
  218. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +189 -371
  219. package/src/AccessibilityIcon/index.test.tsx +10 -10
  220. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +52 -131
  221. package/src/ArrowIcon/index.test.tsx +5 -5
  222. package/src/Base/index.tsx +1 -1
  223. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +168 -289
  224. package/src/BurgerIcon/index.test.tsx +7 -7
  225. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +91 -233
  226. package/src/CancelIcon/index.test.tsx +8 -8
  227. package/src/CaretIcon/__snapshots__/index.test.tsx.snap +52 -131
  228. package/src/CaretIcon/index.test.tsx +5 -5
  229. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +104 -267
  230. package/src/ChatIcon/index.test.tsx +9 -9
  231. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +104 -266
  232. package/src/CheckIcon/index.test.tsx +9 -9
  233. package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +52 -131
  234. package/src/ChevronIcon/index.test.tsx +5 -5
  235. package/src/CloseIcon/__snapshots__/index.test.tsx.snap +13 -29
  236. package/src/CloseIcon/index.test.tsx +2 -2
  237. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +147 -289
  238. package/src/DownloadIcon/index.test.tsx +8 -8
  239. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +126 -268
  240. package/src/ExclamationIcon/index.test.tsx +8 -8
  241. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +52 -128
  242. package/src/GlobeIcon/index.test.tsx +5 -5
  243. package/src/Icon/__snapshots__/index.test.tsx.snap +127 -270
  244. package/src/Icon/index.test.tsx +11 -11
  245. package/src/Icon/index.tsx +1 -1
  246. package/src/LockIcon/__snapshots__/index.test.tsx.snap +91 -233
  247. package/src/LockIcon/index.test.tsx +8 -8
  248. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +112 -254
  249. package/src/LoginIcon/index.test.tsx +8 -8
  250. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +112 -254
  251. package/src/MinusIcon/index.test.tsx +8 -8
  252. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +225 -407
  253. package/src/MoreVertIcon/index.test.tsx +10 -10
  254. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +182 -324
  255. package/src/PdfFileIcon/index.test.tsx +8 -8
  256. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +91 -233
  257. package/src/PlusIcon/index.test.tsx +8 -8
  258. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +133 -275
  259. package/src/PrintIcon/index.test.tsx +8 -8
  260. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +91 -233
  261. package/src/ReplyIcon/index.test.tsx +8 -8
  262. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +147 -289
  263. package/src/RestoreIcon/index.test.tsx +8 -8
  264. package/src/SearchIcon/__snapshots__/index.test.tsx.snap +13 -29
  265. package/src/SearchIcon/index.test.tsx +2 -2
  266. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +85 -221
  267. package/src/SvgIcon/index.test.tsx +48 -20
  268. package/src/SvgIcon/index.tsx +12 -12
  269. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +117 -299
  270. package/src/UncheckIcon/index.test.tsx +10 -10
  271. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  272. package/AccessibilityIcon/index.test/index.js +0 -57
  273. package/AccessibilityIcon/index.test/package.json +0 -6
  274. package/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  275. package/ArrowIcon/index.test/index.js +0 -25
  276. package/ArrowIcon/index.test/package.json +0 -6
  277. package/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  278. package/BurgerIcon/index.test/index.js +0 -38
  279. package/BurgerIcon/index.test/package.json +0 -6
  280. package/CancelIcon/__snapshots__/index.test.tsx.snap +0 -262
  281. package/CancelIcon/index.test/index.js +0 -45
  282. package/CancelIcon/index.test/package.json +0 -6
  283. package/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  284. package/CaretIcon/index.test/index.js +0 -25
  285. package/CaretIcon/index.test/package.json +0 -6
  286. package/ChatIcon/__snapshots__/index.test.tsx.snap +0 -300
  287. package/ChatIcon/index.test/index.js +0 -51
  288. package/ChatIcon/index.test/package.json +0 -6
  289. package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  290. package/CheckIcon/index.test/index.js +0 -51
  291. package/CheckIcon/index.test/package.json +0 -6
  292. package/ChevronIcon/__snapshots__/index.test.tsx.snap +0 -148
  293. package/ChevronIcon/index.test/index.js +0 -25
  294. package/ChevronIcon/index.test/package.json +0 -6
  295. package/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  296. package/CloseIcon/index.test/index.js +0 -7
  297. package/CloseIcon/index.test/package.json +0 -6
  298. package/DownloadIcon/__snapshots__/index.test.tsx.snap +0 -318
  299. package/DownloadIcon/index.test/index.js +0 -45
  300. package/DownloadIcon/index.test/package.json +0 -6
  301. package/ExclamationIcon/__snapshots__/index.test.tsx.snap +0 -297
  302. package/ExclamationIcon/index.test/index.js +0 -45
  303. package/ExclamationIcon/index.test/package.json +0 -6
  304. package/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -145
  305. package/GlobeIcon/index.test/index.js +0 -25
  306. package/GlobeIcon/index.test/package.json +0 -6
  307. package/Icon/__snapshots__/index.test.tsx.snap +0 -342
  308. package/Icon/index.test/index.js +0 -62
  309. package/Icon/index.test/package.json +0 -6
  310. package/LockIcon/__snapshots__/index.test.tsx.snap +0 -262
  311. package/LockIcon/index.test/index.js +0 -45
  312. package/LockIcon/index.test/package.json +0 -6
  313. package/LoginIcon/__snapshots__/index.test.tsx.snap +0 -283
  314. package/LoginIcon/index.test/index.js +0 -45
  315. package/LoginIcon/index.test/package.json +0 -6
  316. package/MinusIcon/__snapshots__/index.test.tsx.snap +0 -283
  317. package/MinusIcon/index.test/index.js +0 -45
  318. package/MinusIcon/index.test/package.json +0 -6
  319. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  320. package/MoreVertIcon/index.test/index.js +0 -57
  321. package/MoreVertIcon/index.test/package.json +0 -6
  322. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +0 -353
  323. package/PdfFileIcon/index.test/index.js +0 -45
  324. package/PdfFileIcon/index.test/package.json +0 -6
  325. package/PlusIcon/__snapshots__/index.test.tsx.snap +0 -262
  326. package/PlusIcon/index.test/index.js +0 -45
  327. package/PlusIcon/index.test/package.json +0 -6
  328. package/PrintIcon/__snapshots__/index.test.tsx.snap +0 -304
  329. package/PrintIcon/index.test/index.js +0 -45
  330. package/PrintIcon/index.test/package.json +0 -6
  331. package/ReplyIcon/__snapshots__/index.test.tsx.snap +0 -262
  332. package/ReplyIcon/index.test/index.js +0 -45
  333. package/ReplyIcon/index.test/package.json +0 -6
  334. package/RestoreIcon/__snapshots__/index.test.tsx.snap +0 -318
  335. package/RestoreIcon/index.test/index.js +0 -45
  336. package/RestoreIcon/index.test/package.json +0 -6
  337. package/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  338. package/SearchIcon/index.test/index.js +0 -7
  339. package/SearchIcon/index.test/package.json +0 -6
  340. package/SvgIcon/__snapshots__/index.test.tsx.snap +0 -390
  341. package/SvgIcon/index.test/index.js +0 -105
  342. package/SvgIcon/index.test/package.json +0 -6
  343. package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  344. package/UncheckIcon/index.test/index.js +0 -57
  345. package/UncheckIcon/index.test/package.json +0 -6
  346. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  347. package/cjs/AccessibilityIcon/index.test/index.js +0 -60
  348. package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  349. package/cjs/ArrowIcon/index.test/index.js +0 -28
  350. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  351. package/cjs/BurgerIcon/index.test/index.js +0 -41
  352. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +0 -262
  353. package/cjs/CancelIcon/index.test/index.js +0 -48
  354. package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  355. package/cjs/CaretIcon/index.test/index.js +0 -28
  356. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +0 -300
  357. package/cjs/ChatIcon/index.test/index.js +0 -54
  358. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  359. package/cjs/CheckIcon/index.test/index.js +0 -54
  360. package/cjs/ChevronIcon/__snapshots__/index.test.tsx.snap +0 -148
  361. package/cjs/ChevronIcon/index.test/index.js +0 -28
  362. package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  363. package/cjs/CloseIcon/index.test/index.js +0 -10
  364. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +0 -318
  365. package/cjs/DownloadIcon/index.test/index.js +0 -48
  366. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +0 -297
  367. package/cjs/ExclamationIcon/index.test/index.js +0 -48
  368. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -145
  369. package/cjs/GlobeIcon/index.test/index.js +0 -28
  370. package/cjs/Icon/__snapshots__/index.test.tsx.snap +0 -342
  371. package/cjs/Icon/index.test/index.js +0 -65
  372. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +0 -262
  373. package/cjs/LockIcon/index.test/index.js +0 -48
  374. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +0 -283
  375. package/cjs/LoginIcon/index.test/index.js +0 -48
  376. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +0 -283
  377. package/cjs/MinusIcon/index.test/index.js +0 -48
  378. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  379. package/cjs/MoreVertIcon/index.test/index.js +0 -60
  380. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +0 -353
  381. package/cjs/PdfFileIcon/index.test/index.js +0 -48
  382. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +0 -262
  383. package/cjs/PlusIcon/index.test/index.js +0 -48
  384. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +0 -304
  385. package/cjs/PrintIcon/index.test/index.js +0 -48
  386. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +0 -262
  387. package/cjs/ReplyIcon/index.test/index.js +0 -48
  388. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +0 -318
  389. package/cjs/RestoreIcon/index.test/index.js +0 -48
  390. package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  391. package/cjs/SearchIcon/index.test/index.js +0 -10
  392. package/cjs/SvgIcon/__snapshots__/index.test.tsx.snap +0 -390
  393. package/cjs/SvgIcon/index.test/index.js +0 -108
  394. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  395. package/cjs/UncheckIcon/index.test/index.js +0 -60
@@ -1,390 +1,254 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`renders the SvgIcon with no props 1`] = `
4
- <ForwardRef(SvgIcon)>
5
- <ForwardRef(Base)
6
- aria-hidden="true"
7
- as="svg"
8
- className="ds-svg-icon"
9
- focusable="false"
10
- viewBox="0 0 24 24"
11
- >
4
+ <body>
5
+ <div>
12
6
  <svg
13
7
  aria-hidden="true"
14
- className="ds-svg-icon"
8
+ class="ds-svg-icon"
15
9
  focusable="false"
16
10
  viewBox="0 0 24 24"
17
11
  />
18
- </ForwardRef(Base)>
19
- </ForwardRef(SvgIcon)>
12
+ </div>
13
+ </body>
20
14
  `;
21
15
 
22
16
  exports[`renders the SvgIcon with prop color=base-content 1`] = `
23
- <ForwardRef(SvgIcon)
24
- color="base-content"
25
- >
26
- <ForwardRef(Base)
27
- aria-hidden="true"
28
- as="svg"
29
- className="ds-svg-icon--base-content ds-svg-icon"
30
- focusable="false"
31
- viewBox="0 0 24 24"
32
- >
17
+ <body>
18
+ <div>
33
19
  <svg
34
20
  aria-hidden="true"
35
- className="ds-svg-icon--base-content ds-svg-icon"
21
+ class="ds-svg-icon--base-content ds-svg-icon"
36
22
  focusable="false"
37
23
  viewBox="0 0 24 24"
38
24
  >
39
25
  hello
40
26
  </svg>
41
- </ForwardRef(Base)>
42
- </ForwardRef(SvgIcon)>
27
+ </div>
28
+ </body>
43
29
  `;
44
30
 
45
31
  exports[`renders the SvgIcon with prop color=dark 1`] = `
46
- <ForwardRef(SvgIcon)
47
- color="dark"
48
- >
49
- <ForwardRef(Base)
50
- aria-hidden="true"
51
- as="svg"
52
- className="ds-svg-icon--dark ds-svg-icon"
53
- focusable="false"
54
- viewBox="0 0 24 24"
55
- >
32
+ <body>
33
+ <div>
56
34
  <svg
57
35
  aria-hidden="true"
58
- className="ds-svg-icon--dark ds-svg-icon"
36
+ class="ds-svg-icon--dark ds-svg-icon"
59
37
  focusable="false"
60
38
  viewBox="0 0 24 24"
61
39
  >
62
40
  hello
63
41
  </svg>
64
- </ForwardRef(Base)>
65
- </ForwardRef(SvgIcon)>
42
+ </div>
43
+ </body>
66
44
  `;
67
45
 
68
46
  exports[`renders the SvgIcon with prop color=error 1`] = `
69
- <ForwardRef(SvgIcon)
70
- color="error"
71
- >
72
- <ForwardRef(Base)
73
- aria-hidden="true"
74
- as="svg"
75
- className="ds-svg-icon--error ds-svg-icon"
76
- focusable="false"
77
- viewBox="0 0 24 24"
78
- >
47
+ <body>
48
+ <div>
79
49
  <svg
80
50
  aria-hidden="true"
81
- className="ds-svg-icon--error ds-svg-icon"
51
+ class="ds-svg-icon--error ds-svg-icon"
82
52
  focusable="false"
83
53
  viewBox="0 0 24 24"
84
54
  >
85
55
  hello
86
56
  </svg>
87
- </ForwardRef(Base)>
88
- </ForwardRef(SvgIcon)>
57
+ </div>
58
+ </body>
89
59
  `;
90
60
 
91
61
  exports[`renders the SvgIcon with prop color=error and size= xl 1`] = `
92
- <ForwardRef(SvgIcon)
93
- color="warning"
94
- size="xl"
95
- >
96
- <ForwardRef(Base)
97
- aria-hidden="true"
98
- as="svg"
99
- className="ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
100
- focusable="false"
101
- viewBox="0 0 24 24"
102
- >
62
+ <body>
63
+ <div>
103
64
  <svg
104
65
  aria-hidden="true"
105
- className="ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
66
+ class="ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
106
67
  focusable="false"
107
68
  viewBox="0 0 24 24"
108
69
  >
109
70
  hello
110
71
  </svg>
111
- </ForwardRef(Base)>
112
- </ForwardRef(SvgIcon)>
72
+ </div>
73
+ </body>
113
74
  `;
114
75
 
115
76
  exports[`renders the SvgIcon with prop color=focus 1`] = `
116
- <ForwardRef(SvgIcon)
117
- color="focus"
118
- >
119
- <ForwardRef(Base)
120
- aria-hidden="true"
121
- as="svg"
122
- className="ds-svg-icon--focus ds-svg-icon"
123
- focusable="false"
124
- viewBox="0 0 24 24"
125
- >
77
+ <body>
78
+ <div>
126
79
  <svg
127
80
  aria-hidden="true"
128
- className="ds-svg-icon--focus ds-svg-icon"
81
+ class="ds-svg-icon--focus ds-svg-icon"
129
82
  focusable="false"
130
83
  viewBox="0 0 24 24"
131
84
  >
132
85
  hello
133
86
  </svg>
134
- </ForwardRef(Base)>
135
- </ForwardRef(SvgIcon)>
87
+ </div>
88
+ </body>
136
89
  `;
137
90
 
138
91
  exports[`renders the SvgIcon with prop color=gray 1`] = `
139
- <ForwardRef(SvgIcon)
140
- color="gray"
141
- >
142
- <ForwardRef(Base)
143
- aria-hidden="true"
144
- as="svg"
145
- className="ds-svg-icon--gray ds-svg-icon"
146
- focusable="false"
147
- viewBox="0 0 24 24"
148
- >
92
+ <body>
93
+ <div>
149
94
  <svg
150
95
  aria-hidden="true"
151
- className="ds-svg-icon--gray ds-svg-icon"
96
+ class="ds-svg-icon--gray ds-svg-icon"
152
97
  focusable="false"
153
98
  viewBox="0 0 24 24"
154
99
  >
155
100
  hello
156
101
  </svg>
157
- </ForwardRef(Base)>
158
- </ForwardRef(SvgIcon)>
102
+ </div>
103
+ </body>
159
104
  `;
160
105
 
161
106
  exports[`renders the SvgIcon with prop color=primary 1`] = `
162
- <ForwardRef(SvgIcon)
163
- color="primary"
164
- >
165
- <ForwardRef(Base)
166
- aria-hidden="true"
167
- as="svg"
168
- className="ds-svg-icon--primary ds-svg-icon"
169
- focusable="false"
170
- viewBox="0 0 24 24"
171
- >
107
+ <body>
108
+ <div>
172
109
  <svg
173
110
  aria-hidden="true"
174
- className="ds-svg-icon--primary ds-svg-icon"
111
+ class="ds-svg-icon--primary ds-svg-icon"
175
112
  focusable="false"
176
113
  viewBox="0 0 24 24"
177
114
  >
178
115
  hello
179
116
  </svg>
180
- </ForwardRef(Base)>
181
- </ForwardRef(SvgIcon)>
117
+ </div>
118
+ </body>
182
119
  `;
183
120
 
184
121
  exports[`renders the SvgIcon with prop color=success 1`] = `
185
- <ForwardRef(SvgIcon)
186
- color="success"
187
- >
188
- <ForwardRef(Base)
189
- aria-hidden="true"
190
- as="svg"
191
- className="ds-svg-icon--success ds-svg-icon"
192
- focusable="false"
193
- viewBox="0 0 24 24"
194
- >
122
+ <body>
123
+ <div>
195
124
  <svg
196
125
  aria-hidden="true"
197
- className="ds-svg-icon--success ds-svg-icon"
126
+ class="ds-svg-icon--success ds-svg-icon"
198
127
  focusable="false"
199
128
  viewBox="0 0 24 24"
200
129
  >
201
130
  hello
202
131
  </svg>
203
- </ForwardRef(Base)>
204
- </ForwardRef(SvgIcon)>
132
+ </div>
133
+ </body>
205
134
  `;
206
135
 
207
136
  exports[`renders the SvgIcon with prop color=warning 1`] = `
208
- <ForwardRef(SvgIcon)
209
- color="warning"
210
- >
211
- <ForwardRef(Base)
212
- aria-hidden="true"
213
- as="svg"
214
- className="ds-svg-icon--warning ds-svg-icon"
215
- focusable="false"
216
- viewBox="0 0 24 24"
217
- >
137
+ <body>
138
+ <div>
218
139
  <svg
219
140
  aria-hidden="true"
220
- className="ds-svg-icon--warning ds-svg-icon"
141
+ class="ds-svg-icon--warning ds-svg-icon"
221
142
  focusable="false"
222
143
  viewBox="0 0 24 24"
223
144
  >
224
145
  hello
225
146
  </svg>
226
- </ForwardRef(Base)>
227
- </ForwardRef(SvgIcon)>
147
+ </div>
148
+ </body>
228
149
  `;
229
150
 
230
151
  exports[`renders the SvgIcon with prop color=warning and size=sm 1`] = `
231
- <ForwardRef(SvgIcon)
232
- color="warning"
233
- size="sm"
234
- >
235
- <ForwardRef(Base)
236
- aria-hidden="true"
237
- as="svg"
238
- className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
239
- focusable="false"
240
- viewBox="0 0 24 24"
241
- >
152
+ <body>
153
+ <div>
242
154
  <svg
243
155
  aria-hidden="true"
244
- className="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
156
+ class="ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
245
157
  focusable="false"
246
158
  viewBox="0 0 24 24"
247
159
  >
248
160
  hello
249
161
  </svg>
250
- </ForwardRef(Base)>
251
- </ForwardRef(SvgIcon)>
162
+ </div>
163
+ </body>
252
164
  `;
253
165
 
254
166
  exports[`renders the SvgIcon with prop color=white 1`] = `
255
- <ForwardRef(SvgIcon)
256
- color="white"
257
- >
258
- <ForwardRef(Base)
259
- aria-hidden="true"
260
- as="svg"
261
- className="ds-svg-icon--white ds-svg-icon"
262
- focusable="false"
263
- viewBox="0 0 24 24"
264
- >
167
+ <body>
168
+ <div>
265
169
  <svg
266
170
  aria-hidden="true"
267
- className="ds-svg-icon--white ds-svg-icon"
171
+ class="ds-svg-icon--white ds-svg-icon"
268
172
  focusable="false"
269
173
  viewBox="0 0 24 24"
270
174
  >
271
175
  hello
272
176
  </svg>
273
- </ForwardRef(Base)>
274
- </ForwardRef(SvgIcon)>
177
+ </div>
178
+ </body>
275
179
  `;
276
180
 
277
181
  exports[`renders the SvgIcon with prop size=lg 1`] = `
278
- <ForwardRef(SvgIcon)
279
- size="lg"
280
- >
281
- <ForwardRef(Base)
282
- aria-hidden="true"
283
- as="svg"
284
- className="ds-svg-icon--lg ds-svg-icon"
285
- focusable="false"
286
- viewBox="0 0 24 24"
287
- >
182
+ <body>
183
+ <div>
288
184
  <svg
289
185
  aria-hidden="true"
290
- className="ds-svg-icon--lg ds-svg-icon"
186
+ class="ds-svg-icon--lg ds-svg-icon"
291
187
  focusable="false"
292
188
  viewBox="0 0 24 24"
293
189
  >
294
190
  hello
295
191
  </svg>
296
- </ForwardRef(Base)>
297
- </ForwardRef(SvgIcon)>
192
+ </div>
193
+ </body>
298
194
  `;
299
195
 
300
196
  exports[`renders the SvgIcon with prop size=md 1`] = `
301
- <ForwardRef(SvgIcon)
302
- size="md"
303
- >
304
- <ForwardRef(Base)
305
- aria-hidden="true"
306
- as="svg"
307
- className="ds-svg-icon--md ds-svg-icon"
308
- focusable="false"
309
- viewBox="0 0 24 24"
310
- >
197
+ <body>
198
+ <div>
311
199
  <svg
312
200
  aria-hidden="true"
313
- className="ds-svg-icon--md ds-svg-icon"
201
+ class="ds-svg-icon--md ds-svg-icon"
314
202
  focusable="false"
315
203
  viewBox="0 0 24 24"
316
204
  >
317
205
  hello
318
206
  </svg>
319
- </ForwardRef(Base)>
320
- </ForwardRef(SvgIcon)>
207
+ </div>
208
+ </body>
321
209
  `;
322
210
 
323
211
  exports[`renders the SvgIcon with prop size=sm 1`] = `
324
- <ForwardRef(SvgIcon)
325
- size="sm"
326
- >
327
- <ForwardRef(Base)
328
- aria-hidden="true"
329
- as="svg"
330
- className="ds-svg-icon--sm ds-svg-icon"
331
- focusable="false"
332
- viewBox="0 0 24 24"
333
- >
212
+ <body>
213
+ <div>
334
214
  <svg
335
215
  aria-hidden="true"
336
- className="ds-svg-icon--sm ds-svg-icon"
216
+ class="ds-svg-icon--sm ds-svg-icon"
337
217
  focusable="false"
338
218
  viewBox="0 0 24 24"
339
219
  >
340
220
  hello
341
221
  </svg>
342
- </ForwardRef(Base)>
343
- </ForwardRef(SvgIcon)>
222
+ </div>
223
+ </body>
344
224
  `;
345
225
 
346
226
  exports[`renders the SvgIcon with prop size=xl 1`] = `
347
- <ForwardRef(SvgIcon)
348
- size="xl"
349
- >
350
- <ForwardRef(Base)
351
- aria-hidden="true"
352
- as="svg"
353
- className="ds-svg-icon--xl ds-svg-icon"
354
- focusable="false"
355
- viewBox="0 0 24 24"
356
- >
227
+ <body>
228
+ <div>
357
229
  <svg
358
230
  aria-hidden="true"
359
- className="ds-svg-icon--xl ds-svg-icon"
231
+ class="ds-svg-icon--xl ds-svg-icon"
360
232
  focusable="false"
361
233
  viewBox="0 0 24 24"
362
234
  >
363
235
  hello
364
236
  </svg>
365
- </ForwardRef(Base)>
366
- </ForwardRef(SvgIcon)>
237
+ </div>
238
+ </body>
367
239
  `;
368
240
 
369
241
  exports[`renders the SvgIcon with prop size=xs 1`] = `
370
- <ForwardRef(SvgIcon)
371
- size="xs"
372
- >
373
- <ForwardRef(Base)
374
- aria-hidden="true"
375
- as="svg"
376
- className="ds-svg-icon--xs ds-svg-icon"
377
- focusable="false"
378
- viewBox="0 0 24 24"
379
- >
242
+ <body>
243
+ <div>
380
244
  <svg
381
245
  aria-hidden="true"
382
- className="ds-svg-icon--xs ds-svg-icon"
246
+ class="ds-svg-icon--xs ds-svg-icon"
383
247
  focusable="false"
384
248
  viewBox="0 0 24 24"
385
249
  >
386
250
  hello
387
251
  </svg>
388
- </ForwardRef(Base)>
389
- </ForwardRef(SvgIcon)>
252
+ </div>
253
+ </body>
390
254
  `;
@@ -1,68 +1,96 @@
1
1
  import React from 'react';
2
- import { mount } from 'enzyme';
2
+ import { render } from '@testing-library/react';
3
3
 
4
4
  import SvgIcon from '@digigov/react-icons/SvgIcon';
5
5
 
6
6
  it('renders the SvgIcon with no props', () => {
7
- expect(mount(<SvgIcon />)).toMatchSnapshot();
7
+ expect(render(<SvgIcon />).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the SvgIcon with prop size=xs', () => {
10
- expect(mount(<SvgIcon size="xs">hello</SvgIcon>)).toMatchSnapshot();
10
+ expect(
11
+ render(<SvgIcon size="xs">hello</SvgIcon>).baseElement
12
+ ).toMatchSnapshot();
11
13
  });
12
14
  it('renders the SvgIcon with prop size=sm', () => {
13
- expect(mount(<SvgIcon size="sm">hello</SvgIcon>)).toMatchSnapshot();
15
+ expect(
16
+ render(<SvgIcon size="sm">hello</SvgIcon>).baseElement
17
+ ).toMatchSnapshot();
14
18
  });
15
19
  it('renders the SvgIcon with prop size=md', () => {
16
- expect(mount(<SvgIcon size="md">hello</SvgIcon>)).toMatchSnapshot();
20
+ expect(
21
+ render(<SvgIcon size="md">hello</SvgIcon>).baseElement
22
+ ).toMatchSnapshot();
17
23
  });
18
24
  it('renders the SvgIcon with prop size=lg', () => {
19
- expect(mount(<SvgIcon size="lg">hello</SvgIcon>)).toMatchSnapshot();
25
+ expect(
26
+ render(<SvgIcon size="lg">hello</SvgIcon>).baseElement
27
+ ).toMatchSnapshot();
20
28
  });
21
29
  it('renders the SvgIcon with prop size=xl', () => {
22
- expect(mount(<SvgIcon size="xl">hello</SvgIcon>)).toMatchSnapshot();
30
+ expect(
31
+ render(<SvgIcon size="xl">hello</SvgIcon>).baseElement
32
+ ).toMatchSnapshot();
23
33
  });
24
34
  it('renders the SvgIcon with prop color=base-content', () => {
25
- expect(mount(<SvgIcon color="base-content">hello</SvgIcon>)).toMatchSnapshot();
35
+ expect(
36
+ render(<SvgIcon color="base-content">hello</SvgIcon>).baseElement
37
+ ).toMatchSnapshot();
26
38
  });
27
39
  it('renders the SvgIcon with prop color=dark', () => {
28
- expect(mount(<SvgIcon color="dark">hello</SvgIcon>)).toMatchSnapshot();
40
+ expect(
41
+ render(<SvgIcon color="dark">hello</SvgIcon>).baseElement
42
+ ).toMatchSnapshot();
29
43
  });
30
44
  it('renders the SvgIcon with prop color=white', () => {
31
- expect(mount(<SvgIcon color="white">hello</SvgIcon>)).toMatchSnapshot();
45
+ expect(
46
+ render(<SvgIcon color="white">hello</SvgIcon>).baseElement
47
+ ).toMatchSnapshot();
32
48
  });
33
49
  it('renders the SvgIcon with prop color=gray', () => {
34
- expect(mount(<SvgIcon color="gray">hello</SvgIcon>)).toMatchSnapshot();
50
+ expect(
51
+ render(<SvgIcon color="gray">hello</SvgIcon>).baseElement
52
+ ).toMatchSnapshot();
35
53
  });
36
54
  it('renders the SvgIcon with prop color=primary', () => {
37
- expect(mount(<SvgIcon color="primary">hello</SvgIcon>)).toMatchSnapshot();
55
+ expect(
56
+ render(<SvgIcon color="primary">hello</SvgIcon>).baseElement
57
+ ).toMatchSnapshot();
38
58
  });
39
59
  it('renders the SvgIcon with prop color=success', () => {
40
- expect(mount(<SvgIcon color="success">hello</SvgIcon>)).toMatchSnapshot();
60
+ expect(
61
+ render(<SvgIcon color="success">hello</SvgIcon>).baseElement
62
+ ).toMatchSnapshot();
41
63
  });
42
64
  it('renders the SvgIcon with prop color=warning', () => {
43
- expect(mount(<SvgIcon color="warning">hello</SvgIcon>)).toMatchSnapshot();
65
+ expect(
66
+ render(<SvgIcon color="warning">hello</SvgIcon>).baseElement
67
+ ).toMatchSnapshot();
44
68
  });
45
69
  it('renders the SvgIcon with prop color=error', () => {
46
- expect(mount(<SvgIcon color="error">hello</SvgIcon>)).toMatchSnapshot();
70
+ expect(
71
+ render(<SvgIcon color="error">hello</SvgIcon>).baseElement
72
+ ).toMatchSnapshot();
47
73
  });
48
74
  it('renders the SvgIcon with prop color=focus', () => {
49
- expect(mount(<SvgIcon color="focus">hello</SvgIcon>)).toMatchSnapshot();
75
+ expect(
76
+ render(<SvgIcon color="focus">hello</SvgIcon>).baseElement
77
+ ).toMatchSnapshot();
50
78
  });
51
79
  it('renders the SvgIcon with prop color=warning and size=sm', () => {
52
80
  expect(
53
- mount(
81
+ render(
54
82
  <SvgIcon color="warning" size="sm">
55
83
  hello
56
84
  </SvgIcon>
57
- )
85
+ ).baseElement
58
86
  ).toMatchSnapshot();
59
87
  });
60
88
  it('renders the SvgIcon with prop color=error and size= xl', () => {
61
89
  expect(
62
- mount(
90
+ render(
63
91
  <SvgIcon color="warning" size="xl">
64
92
  hello
65
93
  </SvgIcon>
66
- )
94
+ ).baseElement
67
95
  ).toMatchSnapshot();
68
96
  });
@@ -18,7 +18,7 @@ export interface SvgIconProps extends BaseProps<'svg'> {
18
18
  /**
19
19
  * color property styles svg icon with Gov.gr palette's basic colors.
20
20
  * color property is optional.
21
- * @value 'base-content'
21
+ * @value 'base-content'
22
22
  * @value 'dark', always dark, among all themes
23
23
  * @value 'white', always white, among all themes
24
24
  * @value 'gray'
@@ -31,17 +31,17 @@ export interface SvgIconProps extends BaseProps<'svg'> {
31
31
  * @value 'link'
32
32
  */
33
33
  color?:
34
- | 'base-content'
35
- | 'dark'
36
- | 'white'
37
- | 'gray'
38
- | 'primary'
39
- | 'success'
40
- | 'warning'
41
- | 'error'
42
- | 'focus'
43
- | 'info'
44
- | 'link';
34
+ | 'base-content'
35
+ | 'dark'
36
+ | 'white'
37
+ | 'gray'
38
+ | 'primary'
39
+ | 'success'
40
+ | 'warning'
41
+ | 'error'
42
+ | 'focus'
43
+ | 'info'
44
+ | 'link';
45
45
  }
46
46
  /**
47
47
  * Use SvgIcon as global svg component.