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

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