@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,299 +1,137 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`renders the CheckIcon with no props 1`] = `
4
- <CheckIcon>
5
- <ForwardRef(Icon)
6
- icon="check"
7
- >
8
- <ForwardRef(SvgIcon)
9
- className="ds-svg-icon--check"
4
+ <body>
5
+ <div>
6
+ <svg
7
+ aria-hidden="true"
8
+ class="ds-svg-icon--check ds-svg-icon"
9
+ focusable="false"
10
+ viewBox="0 0 24 24"
10
11
  >
11
- <ForwardRef(Base)
12
- aria-hidden="true"
13
- as="svg"
14
- className="ds-svg-icon--check ds-svg-icon"
15
- focusable="false"
16
- viewBox="0 0 24 24"
17
- >
18
- <svg
19
- aria-hidden="true"
20
- className="ds-svg-icon--check ds-svg-icon"
21
- focusable="false"
22
- viewBox="0 0 24 24"
23
- >
24
- <check>
25
- <polygon
26
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
27
- />
28
- </check>
29
- </svg>
30
- </ForwardRef(Base)>
31
- </ForwardRef(SvgIcon)>
32
- </ForwardRef(Icon)>
33
- </CheckIcon>
12
+ <polygon
13
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
14
+ />
15
+ </svg>
16
+ </div>
17
+ </body>
34
18
  `;
35
19
 
36
20
  exports[`renders the CheckIcon with prop color=error and size= xl 1`] = `
37
- <CheckIcon
38
- color="warning"
39
- size="xl"
40
- >
41
- <ForwardRef(Icon)
42
- color="warning"
43
- icon="check"
44
- size="xl"
45
- >
46
- <ForwardRef(SvgIcon)
47
- className="ds-svg-icon--check"
48
- color="warning"
49
- size="xl"
21
+ <body>
22
+ <div>
23
+ <svg
24
+ aria-hidden="true"
25
+ class="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
26
+ focusable="false"
27
+ viewBox="0 0 24 24"
50
28
  >
51
- <ForwardRef(Base)
52
- aria-hidden="true"
53
- as="svg"
54
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
55
- focusable="false"
56
- viewBox="0 0 24 24"
57
- >
58
- <svg
59
- aria-hidden="true"
60
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
61
- focusable="false"
62
- viewBox="0 0 24 24"
63
- >
64
- <check>
65
- <polygon
66
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
67
- />
68
- </check>
69
- </svg>
70
- </ForwardRef(Base)>
71
- </ForwardRef(SvgIcon)>
72
- </ForwardRef(Icon)>
73
- </CheckIcon>
29
+ <polygon
30
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
31
+ />
32
+ </svg>
33
+ </div>
34
+ </body>
74
35
  `;
75
36
 
76
37
  exports[`renders the CheckIcon with prop color=success 1`] = `
77
- <CheckIcon
78
- color="success"
79
- >
80
- <ForwardRef(Icon)
81
- color="success"
82
- icon="check"
83
- >
84
- <ForwardRef(SvgIcon)
85
- className="ds-svg-icon--check"
86
- color="success"
38
+ <body>
39
+ <div>
40
+ <svg
41
+ aria-hidden="true"
42
+ class="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
43
+ focusable="false"
44
+ viewBox="0 0 24 24"
87
45
  >
88
- <ForwardRef(Base)
89
- aria-hidden="true"
90
- as="svg"
91
- className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
92
- focusable="false"
93
- viewBox="0 0 24 24"
94
- >
95
- <svg
96
- aria-hidden="true"
97
- className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
98
- focusable="false"
99
- viewBox="0 0 24 24"
100
- >
101
- <check>
102
- <polygon
103
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
104
- />
105
- </check>
106
- </svg>
107
- </ForwardRef(Base)>
108
- </ForwardRef(SvgIcon)>
109
- </ForwardRef(Icon)>
110
- </CheckIcon>
46
+ <polygon
47
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
48
+ />
49
+ </svg>
50
+ </div>
51
+ </body>
111
52
  `;
112
53
 
113
54
  exports[`renders the CheckIcon with prop color=warning 1`] = `
114
- <CheckIcon
115
- color="warning"
116
- >
117
- <ForwardRef(Icon)
118
- color="warning"
119
- icon="check"
120
- >
121
- <ForwardRef(SvgIcon)
122
- className="ds-svg-icon--check"
123
- color="warning"
55
+ <body>
56
+ <div>
57
+ <svg
58
+ aria-hidden="true"
59
+ class="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
60
+ focusable="false"
61
+ viewBox="0 0 24 24"
124
62
  >
125
- <ForwardRef(Base)
126
- aria-hidden="true"
127
- as="svg"
128
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
129
- focusable="false"
130
- viewBox="0 0 24 24"
131
- >
132
- <svg
133
- aria-hidden="true"
134
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
135
- focusable="false"
136
- viewBox="0 0 24 24"
137
- >
138
- <check>
139
- <polygon
140
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
141
- />
142
- </check>
143
- </svg>
144
- </ForwardRef(Base)>
145
- </ForwardRef(SvgIcon)>
146
- </ForwardRef(Icon)>
147
- </CheckIcon>
63
+ <polygon
64
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
65
+ />
66
+ </svg>
67
+ </div>
68
+ </body>
148
69
  `;
149
70
 
150
71
  exports[`renders the CheckIcon with prop color=warning and size=s 1`] = `
151
- <CheckIcon
152
- color="warning"
153
- size="sm"
154
- >
155
- <ForwardRef(Icon)
156
- color="warning"
157
- icon="check"
158
- size="sm"
159
- >
160
- <ForwardRef(SvgIcon)
161
- className="ds-svg-icon--check"
162
- color="warning"
163
- size="sm"
72
+ <body>
73
+ <div>
74
+ <svg
75
+ aria-hidden="true"
76
+ class="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
77
+ focusable="false"
78
+ viewBox="0 0 24 24"
164
79
  >
165
- <ForwardRef(Base)
166
- aria-hidden="true"
167
- as="svg"
168
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
169
- focusable="false"
170
- viewBox="0 0 24 24"
171
- >
172
- <svg
173
- aria-hidden="true"
174
- className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
175
- focusable="false"
176
- viewBox="0 0 24 24"
177
- >
178
- <check>
179
- <polygon
180
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
181
- />
182
- </check>
183
- </svg>
184
- </ForwardRef(Base)>
185
- </ForwardRef(SvgIcon)>
186
- </ForwardRef(Icon)>
187
- </CheckIcon>
80
+ <polygon
81
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
82
+ />
83
+ </svg>
84
+ </div>
85
+ </body>
188
86
  `;
189
87
 
190
88
  exports[`renders the CheckIcon with prop color=white 1`] = `
191
- <CheckIcon
192
- color="white"
193
- >
194
- <ForwardRef(Icon)
195
- color="white"
196
- icon="check"
197
- >
198
- <ForwardRef(SvgIcon)
199
- className="ds-svg-icon--check"
200
- color="white"
89
+ <body>
90
+ <div>
91
+ <svg
92
+ aria-hidden="true"
93
+ class="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
94
+ focusable="false"
95
+ viewBox="0 0 24 24"
201
96
  >
202
- <ForwardRef(Base)
203
- aria-hidden="true"
204
- as="svg"
205
- className="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
206
- focusable="false"
207
- viewBox="0 0 24 24"
208
- >
209
- <svg
210
- aria-hidden="true"
211
- className="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
212
- focusable="false"
213
- viewBox="0 0 24 24"
214
- >
215
- <check>
216
- <polygon
217
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
218
- />
219
- </check>
220
- </svg>
221
- </ForwardRef(Base)>
222
- </ForwardRef(SvgIcon)>
223
- </ForwardRef(Icon)>
224
- </CheckIcon>
97
+ <polygon
98
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
99
+ />
100
+ </svg>
101
+ </div>
102
+ </body>
225
103
  `;
226
104
 
227
105
  exports[`renders the CheckIcon with prop size=m 1`] = `
228
- <CheckIcon
229
- size="md"
230
- >
231
- <ForwardRef(Icon)
232
- icon="check"
233
- size="md"
234
- >
235
- <ForwardRef(SvgIcon)
236
- className="ds-svg-icon--check"
237
- size="md"
106
+ <body>
107
+ <div>
108
+ <svg
109
+ aria-hidden="true"
110
+ class="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
111
+ focusable="false"
112
+ viewBox="0 0 24 24"
238
113
  >
239
- <ForwardRef(Base)
240
- aria-hidden="true"
241
- as="svg"
242
- className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
243
- focusable="false"
244
- viewBox="0 0 24 24"
245
- >
246
- <svg
247
- aria-hidden="true"
248
- className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
249
- focusable="false"
250
- viewBox="0 0 24 24"
251
- >
252
- <check>
253
- <polygon
254
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
255
- />
256
- </check>
257
- </svg>
258
- </ForwardRef(Base)>
259
- </ForwardRef(SvgIcon)>
260
- </ForwardRef(Icon)>
261
- </CheckIcon>
114
+ <polygon
115
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
116
+ />
117
+ </svg>
118
+ </div>
119
+ </body>
262
120
  `;
263
121
 
264
122
  exports[`renders the CheckIcon with prop size=xl 1`] = `
265
- <CheckIcon
266
- size="xl"
267
- >
268
- <ForwardRef(Icon)
269
- icon="check"
270
- size="xl"
271
- >
272
- <ForwardRef(SvgIcon)
273
- className="ds-svg-icon--check"
274
- size="xl"
123
+ <body>
124
+ <div>
125
+ <svg
126
+ aria-hidden="true"
127
+ class="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
128
+ focusable="false"
129
+ viewBox="0 0 24 24"
275
130
  >
276
- <ForwardRef(Base)
277
- aria-hidden="true"
278
- as="svg"
279
- className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
280
- focusable="false"
281
- viewBox="0 0 24 24"
282
- >
283
- <svg
284
- aria-hidden="true"
285
- className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
286
- focusable="false"
287
- viewBox="0 0 24 24"
288
- >
289
- <check>
290
- <polygon
291
- points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
292
- />
293
- </check>
294
- </svg>
295
- </ForwardRef(Base)>
296
- </ForwardRef(SvgIcon)>
297
- </ForwardRef(Icon)>
298
- </CheckIcon>
131
+ <polygon
132
+ points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
133
+ />
134
+ </svg>
135
+ </div>
136
+ </body>
299
137
  `;
@@ -1,29 +1,29 @@
1
1
  import React from 'react';
2
- import { mount } from 'enzyme';
2
+ import { render } from '@testing-library/react';
3
3
 
4
4
  import CheckIcon from '@digigov/react-icons/CheckIcon';
5
5
 
6
6
  it('renders the CheckIcon with no props', () => {
7
- expect(mount(<CheckIcon />)).toMatchSnapshot();
7
+ expect(render(<CheckIcon />).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the CheckIcon with prop size=m', () => {
10
- expect(mount(<CheckIcon size="md" />)).toMatchSnapshot();
10
+ expect(render(<CheckIcon size="md" />).baseElement).toMatchSnapshot();
11
11
  });
12
12
  it('renders the CheckIcon with prop size=xl', () => {
13
- expect(mount(<CheckIcon size="xl" />)).toMatchSnapshot();
13
+ expect(render(<CheckIcon size="xl" />).baseElement).toMatchSnapshot();
14
14
  });
15
15
  it('renders the CheckIcon with prop color=white', () => {
16
- expect(mount(<CheckIcon color="white" />)).toMatchSnapshot();
16
+ expect(render(<CheckIcon color="white" />).baseElement).toMatchSnapshot();
17
17
  });
18
18
  it('renders the CheckIcon with prop color=success', () => {
19
- expect(mount(<CheckIcon color="success" />)).toMatchSnapshot();
19
+ expect(render(<CheckIcon color="success" />).baseElement).toMatchSnapshot();
20
20
  });
21
21
  it('renders the CheckIcon with prop color=warning', () => {
22
- expect(mount(<CheckIcon color="warning" />)).toMatchSnapshot();
22
+ expect(render(<CheckIcon color="warning" />).baseElement).toMatchSnapshot();
23
23
  });
24
24
  it('renders the CheckIcon with prop color=warning and size=s', () => {
25
- expect(mount(<CheckIcon color="warning" size="sm" />)).toMatchSnapshot();
25
+ expect(render(<CheckIcon color="warning" size="sm" />).baseElement).toMatchSnapshot();
26
26
  });
27
27
  it('renders the CheckIcon with prop color=error and size= xl', () => {
28
- expect(mount(<CheckIcon color="warning" size="xl" />)).toMatchSnapshot();
28
+ expect(render(<CheckIcon color="warning" size="xl" />).baseElement).toMatchSnapshot();
29
29
  });
@@ -1,148 +1,69 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`renders the ChevronIcon with direction down prop 1`] = `
4
- <ChevronIcon
5
- direction="down"
6
- >
7
- <ForwardRef(Icon)
8
- direction="down"
9
- icon="chevron"
10
- >
11
- <ForwardRef(SvgIcon)
12
- className="ds-svg-icon--chevron"
4
+ <body>
5
+ <div>
6
+ <svg
7
+ aria-hidden="true"
8
+ class="ds-svg-icon--chevron ds-svg-icon"
9
+ focusable="false"
10
+ viewBox="0 0 24 24"
13
11
  >
14
- <ForwardRef(Base)
15
- aria-hidden="true"
16
- as="svg"
17
- className="ds-svg-icon--chevron ds-svg-icon"
18
- focusable="false"
19
- viewBox="0 0 24 24"
20
- >
21
- <svg
22
- aria-hidden="true"
23
- className="ds-svg-icon--chevron ds-svg-icon"
24
- focusable="false"
25
- viewBox="0 0 24 24"
26
- >
27
- <chevron
28
- direction="down"
29
- >
30
- <path
31
- d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
32
- />
33
- </chevron>
34
- </svg>
35
- </ForwardRef(Base)>
36
- </ForwardRef(SvgIcon)>
37
- </ForwardRef(Icon)>
38
- </ChevronIcon>
12
+ <path
13
+ d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
14
+ />
15
+ </svg>
16
+ </div>
17
+ </body>
39
18
  `;
40
19
 
41
20
  exports[`renders the ChevronIcon with direction left prop 1`] = `
42
- <ChevronIcon
43
- direction="left"
44
- >
45
- <ForwardRef(Icon)
46
- direction="left"
47
- icon="chevron"
48
- >
49
- <ForwardRef(SvgIcon)
50
- className="ds-svg-icon--chevron"
21
+ <body>
22
+ <div>
23
+ <svg
24
+ aria-hidden="true"
25
+ class="ds-svg-icon--chevron ds-svg-icon"
26
+ focusable="false"
27
+ viewBox="0 0 24 24"
51
28
  >
52
- <ForwardRef(Base)
53
- aria-hidden="true"
54
- as="svg"
55
- className="ds-svg-icon--chevron ds-svg-icon"
56
- focusable="false"
57
- viewBox="0 0 24 24"
58
- >
59
- <svg
60
- aria-hidden="true"
61
- className="ds-svg-icon--chevron ds-svg-icon"
62
- focusable="false"
63
- viewBox="0 0 24 24"
64
- >
65
- <chevron
66
- direction="left"
67
- >
68
- <path
69
- d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
70
- />
71
- </chevron>
72
- </svg>
73
- </ForwardRef(Base)>
74
- </ForwardRef(SvgIcon)>
75
- </ForwardRef(Icon)>
76
- </ChevronIcon>
29
+ <path
30
+ d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
31
+ />
32
+ </svg>
33
+ </div>
34
+ </body>
77
35
  `;
78
36
 
79
37
  exports[`renders the ChevronIcon with direction up prop 1`] = `
80
- <ChevronIcon
81
- direction="up"
82
- >
83
- <ForwardRef(Icon)
84
- direction="up"
85
- icon="chevron"
86
- >
87
- <ForwardRef(SvgIcon)
88
- className="ds-svg-icon--chevron"
38
+ <body>
39
+ <div>
40
+ <svg
41
+ aria-hidden="true"
42
+ class="ds-svg-icon--chevron ds-svg-icon"
43
+ focusable="false"
44
+ viewBox="0 0 24 24"
89
45
  >
90
- <ForwardRef(Base)
91
- aria-hidden="true"
92
- as="svg"
93
- className="ds-svg-icon--chevron ds-svg-icon"
94
- focusable="false"
95
- viewBox="0 0 24 24"
96
- >
97
- <svg
98
- aria-hidden="true"
99
- className="ds-svg-icon--chevron ds-svg-icon"
100
- focusable="false"
101
- viewBox="0 0 24 24"
102
- >
103
- <chevron
104
- direction="up"
105
- >
106
- <path
107
- d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
108
- />
109
- </chevron>
110
- </svg>
111
- </ForwardRef(Base)>
112
- </ForwardRef(SvgIcon)>
113
- </ForwardRef(Icon)>
114
- </ChevronIcon>
46
+ <path
47
+ d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
48
+ />
49
+ </svg>
50
+ </div>
51
+ </body>
115
52
  `;
116
53
 
117
54
  exports[`renders the ChevronIcon with no props, direction prop is right by default 1`] = `
118
- <ChevronIcon>
119
- <ForwardRef(Icon)
120
- icon="chevron"
121
- >
122
- <ForwardRef(SvgIcon)
123
- className="ds-svg-icon--chevron"
55
+ <body>
56
+ <div>
57
+ <svg
58
+ aria-hidden="true"
59
+ class="ds-svg-icon--chevron ds-svg-icon"
60
+ focusable="false"
61
+ viewBox="0 0 24 24"
124
62
  >
125
- <ForwardRef(Base)
126
- aria-hidden="true"
127
- as="svg"
128
- className="ds-svg-icon--chevron ds-svg-icon"
129
- focusable="false"
130
- viewBox="0 0 24 24"
131
- >
132
- <svg
133
- aria-hidden="true"
134
- className="ds-svg-icon--chevron ds-svg-icon"
135
- focusable="false"
136
- viewBox="0 0 24 24"
137
- >
138
- <chevron>
139
- <path
140
- d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
141
- />
142
- </chevron>
143
- </svg>
144
- </ForwardRef(Base)>
145
- </ForwardRef(SvgIcon)>
146
- </ForwardRef(Icon)>
147
- </ChevronIcon>
63
+ <path
64
+ d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
65
+ />
66
+ </svg>
67
+ </div>
68
+ </body>
148
69
  `;
@@ -1,20 +1,20 @@
1
1
  import React from 'react';
2
- import { mount } from 'enzyme';
2
+ import { render } from '@testing-library/react';
3
3
 
4
4
  import ChevronIcon from '@digigov/react-icons/ChevronIcon';
5
5
 
6
6
  it('renders the ChevronIcon with no props, direction prop is right by default', () => {
7
- expect(mount(<ChevronIcon />)).toMatchSnapshot();
7
+ expect(render(<ChevronIcon />).baseElement).toMatchSnapshot();
8
8
  });
9
9
 
10
10
  it('renders the ChevronIcon with direction left prop', () => {
11
- expect(mount(<ChevronIcon direction="left" />)).toMatchSnapshot();
11
+ expect(render(<ChevronIcon direction="left" />).baseElement).toMatchSnapshot();
12
12
  });
13
13
 
14
14
  it('renders the ChevronIcon with direction up prop', () => {
15
- expect(mount(<ChevronIcon direction="up" />)).toMatchSnapshot();
15
+ expect(render(<ChevronIcon direction="up" />).baseElement).toMatchSnapshot();
16
16
  });
17
17
 
18
18
  it('renders the ChevronIcon with direction down prop', () => {
19
- expect(mount(<ChevronIcon direction="down" />)).toMatchSnapshot();
19
+ expect(render(<ChevronIcon direction="down" />).baseElement).toMatchSnapshot();
20
20
  });