@digigov/react-icons 1.2.0-dcbd7ded → 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
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/CheckIcon/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const CheckIcon: React.FC<IconProps<'check'>> = (props) => {\n return <Icon {...props} icon=\"check\"></Icon>;\n};\n\nexport default CheckIcon;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
6
+ "names": []
7
+ }
@@ -1,22 +1,36 @@
1
- import React from 'react';
2
- var _ref2 = /*#__PURE__*/React.createElement("path", {
3
- d: "M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
4
- });
5
- var _ref3 = /*#__PURE__*/React.createElement("path", {
6
- d: "M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
7
- });
8
- var _ref4 = /*#__PURE__*/React.createElement("path", {
9
- d: "M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
10
- });
11
- var _ref5 = /*#__PURE__*/React.createElement("path", {
12
- d: "M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
13
- });
14
- export var chevron = function chevron(_ref) {
15
- var _ref$direction = _ref.direction,
16
- direction = _ref$direction === void 0 ? 'right' : _ref$direction;
17
- return /*#__PURE__*/React.createElement(React.Fragment, null, direction === 'left' && _ref2, direction === 'right' && _ref3, direction === 'up' && _ref4, direction === 'down' && _ref5);
1
+ import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
3
+ const chevron = ({ direction = "right" }) => {
4
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(
5
+ IconBase,
6
+ {
7
+ as: "path",
8
+ d: "M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
9
+ }
10
+ ), direction === "right" && /* @__PURE__ */ React.createElement(
11
+ IconBase,
12
+ {
13
+ as: "path",
14
+ d: "M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
15
+ }
16
+ ), direction === "up" && /* @__PURE__ */ React.createElement(
17
+ IconBase,
18
+ {
19
+ as: "path",
20
+ d: "M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
21
+ }
22
+ ), direction === "down" && /* @__PURE__ */ React.createElement(
23
+ IconBase,
24
+ {
25
+ as: "path",
26
+ d: "M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
27
+ }
28
+ ));
18
29
  };
19
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
20
- // @ts-ignore
21
- chevron.props = ['direction'];
22
- export default chevron;
30
+ chevron.props = ["direction"];
31
+ var config_default = chevron;
32
+ export {
33
+ chevron,
34
+ config_default as default
35
+ };
36
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/ChevronIcon/config.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ChevronType {\n /**\n * direction sets the direction of the chevron icon.\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'right'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const chevron: React.FC<ChevronType> = ({ direction = 'right' }) => {\n return (\n <>\n {direction === 'left' && (\n <IconBase\n as=\"path\"\n d=\"M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z\"\n />\n )}\n {direction === 'right' && (\n <IconBase\n as=\"path\"\n d=\"M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z\"\n />\n )}\n {direction === 'up' && (\n <IconBase\n as=\"path\"\n d=\"M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z\"\n />\n )}\n {direction === 'down' && (\n <IconBase\n as=\"path\"\n d=\"M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z\"\n />\n )}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nchevron.props = ['direction'];\n\nexport default chevron;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAcd,MAAM,UAAiC,CAAC,EAAE,YAAY,QAAQ,MAAM;AACzE,SACE,0DACG,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,WACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,QACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,CAEJ;AAEJ;AAGA,QAAQ,QAAQ,CAAC,WAAW;AAE5B,IAAO,iBAAQ;",
6
+ "names": []
7
+ }
@@ -1,9 +1,11 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
4
- export var ChevronIcon = function ChevronIcon(props) {
5
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
- icon: "chevron"
7
- }));
1
+ import React from "react";
2
+ import Icon from "@digigov/react-icons/Icon";
3
+ const ChevronIcon = (props) => {
4
+ return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "chevron" });
8
5
  };
9
- export default ChevronIcon;
6
+ var ChevronIcon_default = ChevronIcon;
7
+ export {
8
+ ChevronIcon,
9
+ ChevronIcon_default as default
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/ChevronIcon/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const ChevronIcon: React.FC<IconProps<'chevron'>> = (props) => {\n return <Icon {...props} icon=\"chevron\"></Icon>;\n};\n\nexport default ChevronIcon;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,cAA8C,CAAC,UAAU;AACpE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,WAAU;AACzC;AAEA,IAAO,sBAAQ;",
6
+ "names": []
7
+ }
@@ -1,9 +1,18 @@
1
- import React from 'react';
2
- var _ref = /*#__PURE__*/React.createElement("polygon", {
3
- points: "14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 "
4
- });
5
- export function close() {
6
- return /*#__PURE__*/React.createElement(React.Fragment, null, _ref);
1
+ import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
3
+ function close() {
4
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
5
+ IconBase,
6
+ {
7
+ as: "polygon",
8
+ points: "14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 "
9
+ }
10
+ ));
7
11
  }
8
12
  close.props = [];
9
- export default close;
13
+ var config_default = close;
14
+ export {
15
+ close,
16
+ config_default as default
17
+ };
18
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/CloseIcon/config.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface CloseType {}\n\nexport function close(): React.ReactElement {\n return (\n <>\n <IconBase\n as=\"polygon\"\n points=\"14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 \"\n />\n </>\n );\n}\n\nclose.props = [];\n\nexport default close;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,QAA4B;AAC1C,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,CACF;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
6
+ "names": []
7
+ }
@@ -1,9 +1,11 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
4
- export var CloseIcon = function CloseIcon(props) {
5
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
- icon: "close"
7
- }));
1
+ import React from "react";
2
+ import Icon from "@digigov/react-icons/Icon";
3
+ const CloseIcon = (props) => {
4
+ return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "close" });
8
5
  };
9
- export default CloseIcon;
6
+ var CloseIcon_default = CloseIcon;
7
+ export {
8
+ CloseIcon,
9
+ CloseIcon_default as default
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/CloseIcon/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const CloseIcon: React.FC<IconProps<'close'>> = (props) => {\n return <Icon {...props} icon=\"close\"></Icon>;\n};\n\nexport default CloseIcon;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
3
+ function download() {
4
+ return /* @__PURE__ */ React.createElement(IconBase, { as: "g" }, /* @__PURE__ */ React.createElement(
5
+ IconBase,
6
+ {
7
+ as: "polygon",
8
+ points: "12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
9
+ }
10
+ ), /* @__PURE__ */ React.createElement(IconBase, { as: "rect", x: "6", y: "18.699", width: "12", height: "3.301" }));
11
+ }
12
+ download.props = [];
13
+ var config_default = download;
14
+ export {
15
+ config_default as default,
16
+ download
17
+ };
18
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "types": "./index.d.ts",
5
+ "main": "../../cjs/DownloadIcon/config/index.js"
6
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface DownloadType {
3
+ }
4
+ export declare function download(): React.ReactElement;
5
+ export declare namespace download {
6
+ var props: any[];
7
+ }
8
+ export default download;
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/DownloadIcon/config.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface DownloadType {}\n\nexport function download(): React.ReactElement {\n return (\n <IconBase as=\"g\">\n <IconBase\n as=\"polygon\"\n points=\"12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18\"\n />\n <IconBase as=\"rect\" x=\"6\" y=\"18.699\" width=\"12\" height=\"3.301\" />\n </IconBase>\n );\n}\n\ndownload.props = [];\n\nexport default download;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,WAA+B;AAC7C,SACE,oCAAC,YAAS,IAAG,OACX;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,GACA,oCAAC,YAAS,IAAG,QAAO,GAAE,KAAI,GAAE,UAAS,OAAM,MAAK,QAAO,SAAQ,CACjE;AAEJ;AAEA,SAAS,QAAQ,CAAC;AAElB,IAAO,iBAAQ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '@digigov/react-icons/Icon';
3
+ export declare const DownloadIcon: React.FC<IconProps<'download'>>;
4
+ export default DownloadIcon;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import Icon from "@digigov/react-icons/Icon";
3
+ const DownloadIcon = (props) => {
4
+ return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "download" });
5
+ };
6
+ var DownloadIcon_default = DownloadIcon;
7
+ export {
8
+ DownloadIcon,
9
+ DownloadIcon_default as default
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/DownloadIcon/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const DownloadIcon: React.FC<IconProps<'download'>> = (props) => {\n return <Icon {...props} icon=\"download\"></Icon>;\n};\n\nexport default DownloadIcon;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,eAAgD,CAAC,UAAU;AACtE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,YAAW;AAC1C;AAEA,IAAO,uBAAQ;",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "types": "./index.d.ts",
5
+ "main": "../cjs/DownloadIcon/index.js"
6
+ }
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
3
+ function exclamation() {
4
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
5
+ IconBase,
6
+ {
7
+ as: "path",
8
+ d: "M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
9
+ }
10
+ ), /* @__PURE__ */ React.createElement(IconBase, { as: "circle", cx: "11.993", cy: "19.9", r: "2.1" }));
11
+ }
12
+ exclamation.props = [];
13
+ var config_default = exclamation;
14
+ export {
15
+ config_default as default,
16
+ exclamation
17
+ };
18
+ //# sourceMappingURL=config.js.map
@@ -2,5 +2,5 @@
2
2
  "sideEffects": false,
3
3
  "module": "./index.js",
4
4
  "types": "./index.d.ts",
5
- "main": "../../cjs/ArrowIcon/index.test/index.js"
5
+ "main": "../../cjs/ExclamationIcon/config/index.js"
6
6
  }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface ExclamationType {
3
+ }
4
+ export declare function exclamation(): React.ReactElement;
5
+ export declare namespace exclamation {
6
+ var props: any[];
7
+ }
8
+ export default exclamation;
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/ExclamationIcon/config.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ExclamationType {}\n\nexport function exclamation(): React.ReactElement {\n return (\n <>\n <IconBase\n as=\"path\"\n d=\"M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z\"\n />\n <IconBase as=\"circle\" cx=\"11.993\" cy=\"19.9\" r=\"2.1\" />\n </>\n );\n}\n\nexclamation.props = [];\n\nexport default exclamation;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,cAAkC;AAChD,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GACA,oCAAC,YAAS,IAAG,UAAS,IAAG,UAAS,IAAG,QAAO,GAAE,OAAM,CACtD;AAEJ;AAEA,YAAY,QAAQ,CAAC;AAErB,IAAO,iBAAQ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from '@digigov/react-icons/Icon';
3
+ export declare const ExclamationIcon: React.FC<IconProps<'exclamation'>>;
4
+ export default ExclamationIcon;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import Icon from "@digigov/react-icons/Icon";
3
+ const ExclamationIcon = (props) => {
4
+ return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "exclamation" });
5
+ };
6
+ var ExclamationIcon_default = ExclamationIcon;
7
+ export {
8
+ ExclamationIcon,
9
+ ExclamationIcon_default as default
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/ExclamationIcon/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const ExclamationIcon: React.FC<IconProps<'exclamation'>> = (props) => {\n return <Icon {...props} icon=\"exclamation\"></Icon>;\n};\n\nexport default ExclamationIcon;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,kBAAsD,CAAC,UAAU;AAC5E,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,eAAc;AAC7C;AAEA,IAAO,0BAAQ;",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "types": "./index.d.ts",
5
+ "main": "../cjs/ExclamationIcon/index.js"
6
+ }
@@ -1,9 +1,18 @@
1
- import React from 'react';
2
- var _ref = /*#__PURE__*/React.createElement("path", {
3
- d: "M12,0C5.4,0,0,5.4,0,12s5.4,12,12,12s12-5.4,12-12S18.6,0,12,0z M22.4,13.1C22.4,13.1,22.4,13.2,22.4,13.1 c0,0.4-0.1,0.8-0.2,1.1v0h-3.6c0.2-1.5,0.2-3,0-4.5h3.6v0c0.1,0.4,0.1,0.7,0.2,1.1c0,0,0,0,0,0C22.5,11.6,22.5,12.4,22.4,13.1z M16,21.7c1.1-1.5,2-3.5,2.4-6h3.4c0,0,0,0,0,0C20.8,18.4,18.7,20.6,16,21.7z M21.8,8.2C21.8,8.2,21.8,8.2,21.8,8.2l-3.4,0 c-0.4-2.4-1.3-4.5-2.4-6C18.7,3.4,20.8,5.6,21.8,8.2L21.8,8.2z M17.1,9.7c0.2,1.5,0.2,3,0,4.5h-4.4V9.7L17.1,9.7L17.1,9.7z M12.7,8.2V1.6c1.9,0.6,3.5,3.2,4.1,6.6L12.7,8.2L12.7,8.2z M12.7,15.7h4.1c-0.7,3.4-2.3,6.1-4.1,6.6V15.7L12.7,15.7z M2.2,15.8 C2.2,15.8,2.2,15.8,2.2,15.8l3.4,0c0.4,2.4,1.3,4.5,2.4,6C5.3,20.6,3.2,18.4,2.2,15.8L2.2,15.8z M8,2.3c-1.1,1.5-2,3.5-2.4,6H2.2 c0,0,0,0,0,0C3.2,5.6,5.3,3.4,8,2.3z M6.9,14.3c-0.2-1.5-0.2-3,0-4.5h4.4v4.5H6.9L6.9,14.3z M11.2,15.8v6.6 c-1.9-0.6-3.5-3.2-4.1-6.6L11.2,15.8L11.2,15.8z M11.2,8.3H7.1c0.7-3.4,2.3-6.1,4.1-6.6V8.3L11.2,8.3z M1.6,10.9 C1.6,10.9,1.6,10.8,1.6,10.9c0-0.4,0.1-0.8,0.2-1.1v0h3.6c-0.2,1.5-0.2,3,0,4.5H1.7v0c-0.1-0.4-0.1-0.7-0.2-1.1c0,0,0,0,0,0 C1.5,12.4,1.5,11.6,1.6,10.9z"
4
- });
5
- export function globe() {
6
- return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, ' ');
1
+ import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
3
+ function globe() {
4
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
5
+ IconBase,
6
+ {
7
+ as: "path",
8
+ d: "M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
9
+ }
10
+ ));
7
11
  }
8
12
  globe.props = [];
9
- export default globe;
13
+ var config_default = globe;
14
+ export {
15
+ config_default as default,
16
+ globe
17
+ };
18
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/GlobeIcon/config.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface GlobeType {}\n\nexport function globe(): React.ReactElement {\n return (\n <>\n <IconBase\n as=\"path\"\n d=\"M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z\"\n />\n </>\n );\n}\n\nglobe.props = [];\n\nexport default globe;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,QAA4B;AAC1C,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,CACF;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
6
+ "names": []
7
+ }
@@ -1,9 +1,11 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
4
- export var GlobeIcon = function GlobeIcon(props) {
5
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
- icon: "globe"
7
- }));
1
+ import React from "react";
2
+ import Icon from "@digigov/react-icons/Icon";
3
+ const GlobeIcon = (props) => {
4
+ return /* @__PURE__ */ React.createElement(Icon, { ...props, icon: "globe" });
8
5
  };
9
- export default GlobeIcon;
6
+ var GlobeIcon_default = GlobeIcon;
7
+ export {
8
+ GlobeIcon,
9
+ GlobeIcon_default as default
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/GlobeIcon/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const GlobeIcon: React.FC<IconProps<'globe'>> = (props) => {\n return <Icon {...props} icon=\"globe\"></Icon>;\n};\n\nexport default GlobeIcon;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAyB;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,oCAAC,QAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
6
+ "names": []
7
+ }
package/Icon/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { SvgIconProps } from '@digigov/react-core/SvgIcon';
3
2
  import type { IconTypes } from '@digigov/react-icons/icons';
3
+ import { SvgIconProps } from '@digigov/react-icons/SvgIcon';
4
4
  export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] & {
5
5
  /**
6
6
  * ref is optional.
@@ -15,7 +15,7 @@ export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] &
15
15
  */
16
16
  icon?: N;
17
17
  };
18
- type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.ReactElement | null;
18
+ type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.ReactNode | null;
19
19
  export type IconNames = keyof IconTypes;
20
20
  /**
21
21
  * Icon is used whenever we need a GOV.GR icon.
package/Icon/index.js CHANGED
@@ -1,32 +1,32 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import _extends from "@babel/runtime/helpers/extends";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["icon", "className"];
5
- import React from 'react';
6
- import clsx from 'clsx';
7
- import SvgIcon from '@digigov/react-core/SvgIcon';
8
- import * as icons from '@digigov/react-icons/icons';
9
- /**
10
- * Icon is used whenever we need a GOV.GR icon.
11
- * Choose the icon from the list in icon prop.
12
- */
13
- export var Icon = /*#__PURE__*/React.forwardRef(function Icon(_ref, ref) {
14
- var _ref$icon = _ref.icon,
15
- icon = _ref$icon === void 0 ? 'chevron' : _ref$icon,
16
- className = _ref.className,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- var IconComponent = icons[icon];
19
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
20
- // @ts-ignore
21
- var iconProps = IconComponent === null || IconComponent === void 0 ? void 0 : IconComponent.props.reduce(function (compProps, propName) {
22
- var value = props[propName];
1
+ import React from "react";
2
+ import clsx from "clsx";
3
+ import * as icons from "@digigov/react-icons/icons";
4
+ import SvgIcon from "@digigov/react-icons/SvgIcon";
5
+ const Icon = React.forwardRef(function Icon2({ icon = "chevron", className, ...props }, ref) {
6
+ const IconComponent = icons[icon];
7
+ const iconProps = IconComponent?.props.reduce((compProps, propName) => {
8
+ const value = props[propName];
23
9
  delete props[propName];
24
- return _extends({}, compProps, _defineProperty({}, propName, value));
10
+ return {
11
+ ...compProps,
12
+ [propName]: value
13
+ };
25
14
  }, {});
26
- return /*#__PURE__*/React.createElement(SvgIcon, _extends({
27
- ref: ref
28
- }, props, {
29
- className: clsx(className, true && "ds-svg-icon--".concat(icon))
30
- }), /*#__PURE__*/React.createElement(IconComponent, iconProps));
15
+ return /* @__PURE__ */ React.createElement(
16
+ SvgIcon,
17
+ {
18
+ ref,
19
+ ...props,
20
+ className: clsx(className, {
21
+ [`ds-svg-icon--${icon}`]: true
22
+ })
23
+ },
24
+ /* @__PURE__ */ React.createElement(IconComponent, { ...iconProps })
25
+ );
31
26
  });
32
- export default Icon;
27
+ var Icon_default = Icon;
28
+ export {
29
+ Icon,
30
+ Icon_default as default
31
+ };
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Icon/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport * as icons from '@digigov/react-icons/icons';\nimport type { IconTypes } from '@digigov/react-icons/icons';\nimport SvgIcon, { SvgIconProps } from '@digigov/react-icons/SvgIcon';\n\nexport type IconProps<N extends keyof IconTypes> = SvgIconProps &\n IconTypes[N] & {\n /**\n * ref is optional.\n * ref prop declares the reference of the svg icon component.\n * It can be used to to access the DOM element and the React element.\n */\n ref?: React.Ref<SVGSVGElement>;\n /**\n * icon is optional, but strongly recommended.\n * Default value is 'chevron'.\n * Use this prop to display the icon you want.\n */\n icon?: N;\n };\n\ntype IconComponent = <C extends keyof IconTypes>(\n props: IconProps<C>\n) => React.ReactNode | null;\nexport type IconNames = keyof IconTypes;\n/**\n * Icon is used whenever we need a GOV.GR icon.\n * Choose the icon from the list in icon prop.\n */\nexport const Icon: IconComponent = React.forwardRef<\n SVGSVGElement,\n IconProps<IconNames>\n>(function Icon(\n { icon = 'chevron', className, ...props }: IconProps<IconNames>,\n ref\n) {\n const IconComponent = icons[icon];\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const iconProps = IconComponent?.props.reduce((compProps, propName) => {\n const value = props[propName];\n delete props[propName];\n return {\n ...compProps,\n [propName]: value,\n };\n }, {});\n\n return (\n <SvgIcon\n ref={ref}\n {...props}\n className={clsx(className, {\n [`ds-svg-icon--${icon}`]: true,\n })}\n >\n <IconComponent {...iconProps} />\n </SvgIcon>\n );\n});\n\nexport default Icon;\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,YAAY,WAAW;AAEvB,OAAO,aAA+B;AA0B/B,MAAM,OAAsB,MAAM,WAGvC,SAASA,MACT,EAAE,OAAO,WAAW,WAAW,GAAG,MAAM,GACxC,KACA;AACA,QAAM,gBAAgB,MAAM,IAAI;AAGhC,QAAM,YAAY,eAAe,MAAM,OAAO,CAAC,WAAW,aAAa;AACrE,UAAM,QAAQ,MAAM,QAAQ;AAC5B,WAAO,MAAM,QAAQ;AACrB,WAAO;AAAA,MACL,GAAG;AAAA,MACH,CAAC,QAAQ,GAAG;AAAA,IACd;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,KAAK,WAAW;AAAA,QACzB,CAAC,gBAAgB,IAAI,EAAE,GAAG;AAAA,MAC5B,CAAC;AAAA;AAAA,IAED,oCAAC,iBAAe,GAAG,WAAW;AAAA,EAChC;AAEJ,CAAC;AAED,IAAO,eAAQ;",
6
+ "names": ["Icon"]
7
+ }
@@ -0,0 +1,95 @@
1
+ import React from 'react';
2
+ interface AsProp<C extends React.ElementType> {
3
+ as?: C;
4
+ }
5
+ type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
6
+ type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
7
+ type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
8
+ ref?: any;
9
+ };
10
+ /**
11
+ * This is the updated component props using PolymorphicComponentPropWithRef
12
+ */
13
+ export type IconBaseProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<C, {
14
+ /** margin is optional. It has not a default value. */
15
+ margin?: spacingValues;
16
+ /** marginTop is optional. It has not a default value. */
17
+ marginTop?: spacingValues;
18
+ /** marginBottom is optional. It has not a default value. */
19
+ marginBottom?: spacingValues;
20
+ /** marginLeft is optional. It has not a default value. */
21
+ marginLeft?: spacingValues;
22
+ /** marginRight is optional. It has not a default value. */
23
+ marginRight?: spacingValues;
24
+ /** Alternative for margin. Margin is optional. It has not a default value. */
25
+ m?: spacingValues;
26
+ /** Alternative for marginTop. MarginTop is optional. It has not a default value. */
27
+ mt?: spacingValues;
28
+ /** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */
29
+ mb?: spacingValues;
30
+ /** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */
31
+ ml?: spacingValues;
32
+ /** Alternative for marginRight. MarginRight is optional. It has not a default value. */
33
+ mr?: spacingValues;
34
+ /** Alternative for marginX. MarginX is optional. It has not a default value. */
35
+ mx?: spacingValues;
36
+ /** Alternative for marginY. MarginY is optional. It has not a default value. */
37
+ my?: spacingValues;
38
+ /** padding is optional. It has not a default value. */
39
+ padding?: spacingValues;
40
+ /** paddingTop is optional. It has not a default value. */
41
+ paddingTop?: spacingValues;
42
+ /** paddingBottom is optional. It has not a default value. */
43
+ paddingBottom?: spacingValues;
44
+ /** paddingLeft is optional. It has not a default value. */
45
+ paddingLeft?: spacingValues;
46
+ /** paddingRight is optional. It has not a default value. */
47
+ paddingRight?: spacingValues;
48
+ /** Alternative for padding. Padding is optional. It has not a default value. */
49
+ p?: spacingValues;
50
+ /** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */
51
+ pt?: spacingValues;
52
+ /** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */
53
+ pb?: spacingValues;
54
+ /** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */
55
+ pl?: spacingValues;
56
+ /** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */
57
+ pr?: spacingValues;
58
+ /** Alternative for paddingX. PaddingX is optional. It has not a default value. */
59
+ px?: spacingValues;
60
+ /** Alternative for paddingY. PaddingY is optional. It has not a default value. */
61
+ py?: spacingValues;
62
+ /** printHidden is optional. Default value is false. When true, the component is hidden at print. */
63
+ printHidden?: boolean;
64
+ /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/
65
+ printVisible?: 'block' | 'inline';
66
+ /** Components will be hidden at all screen sizes. */
67
+ hidden?: boolean;
68
+ /** Components will be hidden from 'xs' screen size and up. */
69
+ xsUpHidden?: boolean;
70
+ /** Components will be hidden from 'sm' screen size and up. */
71
+ smUpHidden?: boolean;
72
+ /** Components will be hidden from 'md' screen size and up. */
73
+ mdUpHidden?: boolean;
74
+ /** Components will be hidden from 'lg' screen size and up. */
75
+ lgUpHidden?: boolean;
76
+ /** Components will be hidden from 'xl' screen size and up. */
77
+ xlUpHidden?: boolean;
78
+ /** Components will be hidden between xs and sm screen size. */
79
+ xsHidden?: boolean;
80
+ /** Components will be hidden between sm and md screen size. */
81
+ smHidden?: boolean;
82
+ /** Components will be hidden between md and lg screen size. */
83
+ mdHidden?: boolean;
84
+ /** Components will be hidden between lg and xl screen size. */
85
+ lgHidden?: boolean;
86
+ /** Components will be hidden between xl and 2xl screen size. */
87
+ xlHidden?: boolean;
88
+ }>;
89
+ type spacingValues = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96;
90
+ /**
91
+ * This is the type used in the type annotation for the component
92
+ */
93
+ type IconBaseComponent = <C extends React.ElementType = 'span'>(props: IconBaseProps<C>) => React.ReactNode | null;
94
+ export declare const IconBase: IconBaseComponent;
95
+ export default IconBase;