@digigov/react-icons 2.0.0-7d9a8d86 → 2.0.0-85c27c19

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