@digigov/react-icons 2.0.0-7d9a8d86 → 2.0.0-834daea4

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 (416) hide show
  1. package/AccessibilityIcon/config/index.js +8 -7
  2. package/AccessibilityIcon/config.js.map +2 -2
  3. package/AccessibilityIcon/index.js +1 -4
  4. package/AccessibilityIcon/index.js.map +1 -1
  5. package/ArrowIcon/config/index.js +3 -10
  6. package/ArrowIcon/config.js.map +2 -2
  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 +102 -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 +14 -18
  14. package/BurgerIcon/config.js.map +2 -2
  15. package/BurgerIcon/index.js +1 -4
  16. package/BurgerIcon/index.js.map +1 -1
  17. package/CancelIcon/config/index.js +2 -3
  18. package/CancelIcon/config.js.map +2 -2
  19. package/CancelIcon/index.js +1 -4
  20. package/CancelIcon/index.js.map +1 -1
  21. package/CaretIcon/config/index.js +3 -10
  22. package/CaretIcon/config.js.map +2 -2
  23. package/CaretIcon/index.js +1 -4
  24. package/CaretIcon/index.js.map +1 -1
  25. package/ChatIcon/config/index.js +3 -6
  26. package/ChatIcon/config.js.map +2 -2
  27. package/ChatIcon/index.js +1 -4
  28. package/ChatIcon/index.js.map +1 -1
  29. package/CheckIcon/config/index.js +2 -3
  30. package/CheckIcon/config.js.map +2 -2
  31. package/CheckIcon/index.js +1 -4
  32. package/CheckIcon/index.js.map +1 -1
  33. package/ChevronIcon/config/index.js +3 -10
  34. package/ChevronIcon/config.js.map +2 -2
  35. package/ChevronIcon/index.js +1 -4
  36. package/ChevronIcon/index.js.map +1 -1
  37. package/CloseIcon/config/index.js +2 -3
  38. package/CloseIcon/config.js.map +2 -2
  39. package/CloseIcon/index.js +1 -4
  40. package/CloseIcon/index.js.map +1 -1
  41. package/DownloadIcon/config/index.js +2 -8
  42. package/DownloadIcon/config.js.map +2 -2
  43. package/DownloadIcon/index.js +1 -4
  44. package/DownloadIcon/index.js.map +1 -1
  45. package/ExclamationIcon/config/index.js +2 -7
  46. package/ExclamationIcon/config.js.map +2 -2
  47. package/ExclamationIcon/index.js +1 -4
  48. package/ExclamationIcon/index.js.map +1 -1
  49. package/GlobeIcon/config/index.js +2 -3
  50. package/GlobeIcon/config.js.map +2 -2
  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 +2 -3
  57. package/LockIcon/config.js.map +2 -2
  58. package/LockIcon/index.js +1 -4
  59. package/LockIcon/index.js.map +1 -1
  60. package/LoginIcon/config/index.js +2 -5
  61. package/LoginIcon/config.js.map +2 -2
  62. package/LoginIcon/index.js +1 -4
  63. package/LoginIcon/index.js.map +1 -1
  64. package/MinusIcon/config/index.js +2 -6
  65. package/MinusIcon/config.js.map +2 -2
  66. package/MinusIcon/index.js +1 -4
  67. package/MinusIcon/index.js.map +1 -1
  68. package/MoreVertIcon/config/index.js +2 -13
  69. package/MoreVertIcon/config.js.map +2 -2
  70. package/MoreVertIcon/index.js +1 -4
  71. package/MoreVertIcon/index.js.map +1 -1
  72. package/PdfFileIcon/config/index.js +2 -9
  73. package/PdfFileIcon/config.js.map +2 -2
  74. package/PdfFileIcon/index.js +1 -4
  75. package/PdfFileIcon/index.js.map +1 -1
  76. package/PlusIcon/config/index.js +2 -3
  77. package/PlusIcon/config.js.map +2 -2
  78. package/PlusIcon/index.js +1 -4
  79. package/PlusIcon/index.js.map +1 -1
  80. package/PrintIcon/config/index.js +2 -8
  81. package/PrintIcon/config.js.map +2 -2
  82. package/PrintIcon/index.js +1 -4
  83. package/PrintIcon/index.js.map +1 -1
  84. package/ReplyIcon/config/index.js +2 -3
  85. package/ReplyIcon/config.js.map +2 -2
  86. package/ReplyIcon/index.js +1 -4
  87. package/ReplyIcon/index.js.map +1 -1
  88. package/RestoreIcon/config/index.js +2 -9
  89. package/RestoreIcon/config.js.map +2 -2
  90. package/RestoreIcon/index.js +1 -4
  91. package/RestoreIcon/index.js.map +1 -1
  92. package/SearchIcon/config/index.js +2 -3
  93. package/SearchIcon/config.js.map +2 -2
  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 +2 -3
  102. package/UncheckIcon/config.js.map +2 -2
  103. package/UncheckIcon/index.js +1 -4
  104. package/UncheckIcon/index.js.map +1 -1
  105. package/cjs/AccessibilityIcon/config/index.js +30 -23
  106. package/cjs/AccessibilityIcon/config.js.map +3 -3
  107. package/cjs/AccessibilityIcon/index.js +24 -21
  108. package/cjs/AccessibilityIcon/index.js.map +2 -2
  109. package/cjs/ArrowIcon/config/index.js +25 -26
  110. package/cjs/ArrowIcon/config.js.map +3 -3
  111. package/cjs/ArrowIcon/index.js +24 -21
  112. package/cjs/ArrowIcon/index.js.map +2 -2
  113. package/cjs/Base/index.js +135 -0
  114. package/cjs/Base/index.js.map +7 -0
  115. package/cjs/BurgerIcon/config/index.js +37 -35
  116. package/cjs/BurgerIcon/config.js.map +3 -3
  117. package/cjs/BurgerIcon/index.js +24 -21
  118. package/cjs/BurgerIcon/index.js.map +2 -2
  119. package/cjs/CancelIcon/config/index.js +24 -19
  120. package/cjs/CancelIcon/config.js.map +3 -3
  121. package/cjs/CancelIcon/index.js +24 -21
  122. package/cjs/CancelIcon/index.js.map +2 -2
  123. package/cjs/CaretIcon/config/index.js +25 -26
  124. package/cjs/CaretIcon/config.js.map +3 -3
  125. package/cjs/CaretIcon/index.js +24 -21
  126. package/cjs/CaretIcon/index.js.map +2 -2
  127. package/cjs/ChatIcon/config/index.js +25 -22
  128. package/cjs/ChatIcon/config.js.map +3 -3
  129. package/cjs/ChatIcon/index.js +24 -21
  130. package/cjs/ChatIcon/index.js.map +2 -2
  131. package/cjs/CheckIcon/config/index.js +24 -19
  132. package/cjs/CheckIcon/config.js.map +3 -3
  133. package/cjs/CheckIcon/index.js +24 -21
  134. package/cjs/CheckIcon/index.js.map +2 -2
  135. package/cjs/ChevronIcon/config/index.js +25 -26
  136. package/cjs/ChevronIcon/config.js.map +3 -3
  137. package/cjs/ChevronIcon/index.js +24 -21
  138. package/cjs/ChevronIcon/index.js.map +2 -2
  139. package/cjs/CloseIcon/config/index.js +24 -19
  140. package/cjs/CloseIcon/config.js.map +3 -3
  141. package/cjs/CloseIcon/index.js +24 -21
  142. package/cjs/CloseIcon/index.js.map +2 -2
  143. package/cjs/DownloadIcon/config/index.js +24 -24
  144. package/cjs/DownloadIcon/config.js.map +3 -3
  145. package/cjs/DownloadIcon/index.js +24 -21
  146. package/cjs/DownloadIcon/index.js.map +2 -2
  147. package/cjs/ExclamationIcon/config/index.js +24 -23
  148. package/cjs/ExclamationIcon/config.js.map +3 -3
  149. package/cjs/ExclamationIcon/index.js +24 -21
  150. package/cjs/ExclamationIcon/index.js.map +2 -2
  151. package/cjs/GlobeIcon/config/index.js +24 -19
  152. package/cjs/GlobeIcon/config.js.map +3 -3
  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 +24 -19
  158. package/cjs/LockIcon/config.js.map +3 -3
  159. package/cjs/LockIcon/index.js +24 -21
  160. package/cjs/LockIcon/index.js.map +2 -2
  161. package/cjs/LoginIcon/config/index.js +24 -21
  162. package/cjs/LoginIcon/config.js.map +3 -3
  163. package/cjs/LoginIcon/index.js +24 -21
  164. package/cjs/LoginIcon/index.js.map +2 -2
  165. package/cjs/MinusIcon/config/index.js +24 -22
  166. package/cjs/MinusIcon/config.js.map +3 -3
  167. package/cjs/MinusIcon/index.js +24 -21
  168. package/cjs/MinusIcon/index.js.map +2 -2
  169. package/cjs/MoreVertIcon/config/index.js +24 -29
  170. package/cjs/MoreVertIcon/config.js.map +3 -3
  171. package/cjs/MoreVertIcon/index.js +24 -21
  172. package/cjs/MoreVertIcon/index.js.map +2 -2
  173. package/cjs/PdfFileIcon/config/index.js +24 -25
  174. package/cjs/PdfFileIcon/config.js.map +3 -3
  175. package/cjs/PdfFileIcon/index.js +24 -21
  176. package/cjs/PdfFileIcon/index.js.map +2 -2
  177. package/cjs/PlusIcon/config/index.js +24 -19
  178. package/cjs/PlusIcon/config.js.map +3 -3
  179. package/cjs/PlusIcon/index.js +24 -21
  180. package/cjs/PlusIcon/index.js.map +2 -2
  181. package/cjs/PrintIcon/config/index.js +24 -24
  182. package/cjs/PrintIcon/config.js.map +3 -3
  183. package/cjs/PrintIcon/index.js +24 -21
  184. package/cjs/PrintIcon/index.js.map +2 -2
  185. package/cjs/ReplyIcon/config/index.js +24 -19
  186. package/cjs/ReplyIcon/config.js.map +3 -3
  187. package/cjs/ReplyIcon/index.js +24 -21
  188. package/cjs/ReplyIcon/index.js.map +2 -2
  189. package/cjs/RestoreIcon/config/index.js +24 -25
  190. package/cjs/RestoreIcon/config.js.map +3 -3
  191. package/cjs/RestoreIcon/index.js +24 -21
  192. package/cjs/RestoreIcon/index.js.map +2 -2
  193. package/cjs/SearchIcon/config/index.js +24 -19
  194. package/cjs/SearchIcon/config.js.map +3 -3
  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 +24 -19
  200. package/cjs/UncheckIcon/config.js.map +3 -3
  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 +280 -363
  222. package/src/AccessibilityIcon/config.tsx +5 -4
  223. package/src/AccessibilityIcon/index.test.tsx +10 -10
  224. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +65 -132
  225. package/src/ArrowIcon/config.tsx +5 -4
  226. package/src/ArrowIcon/index.test.tsx +5 -5
  227. package/src/Base/index.tsx +258 -0
  228. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +217 -290
  229. package/src/BurgerIcon/config.tsx +6 -5
  230. package/src/BurgerIcon/index.test.tsx +7 -7
  231. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +113 -234
  232. package/src/CancelIcon/config.tsx +3 -2
  233. package/src/CancelIcon/index.test.tsx +8 -8
  234. package/src/CaretIcon/__snapshots__/index.test.tsx.snap +65 -132
  235. package/src/CaretIcon/config.tsx +5 -4
  236. package/src/CaretIcon/index.test.tsx +5 -5
  237. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +129 -268
  238. package/src/ChatIcon/config.tsx +3 -2
  239. package/src/ChatIcon/index.test.tsx +9 -9
  240. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +129 -267
  241. package/src/CheckIcon/config.tsx +3 -2
  242. package/src/CheckIcon/index.test.tsx +9 -9
  243. package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +65 -132
  244. package/src/ChevronIcon/config.tsx +5 -4
  245. package/src/ChevronIcon/index.test.tsx +5 -5
  246. package/src/CloseIcon/__snapshots__/index.test.tsx.snap +17 -30
  247. package/src/CloseIcon/config.tsx +3 -2
  248. package/src/CloseIcon/index.test.tsx +2 -2
  249. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +197 -283
  250. package/src/DownloadIcon/config.tsx +6 -5
  251. package/src/DownloadIcon/index.test.tsx +8 -8
  252. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +162 -269
  253. package/src/ExclamationIcon/config.tsx +4 -3
  254. package/src/ExclamationIcon/index.test.tsx +8 -8
  255. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +65 -129
  256. package/src/GlobeIcon/config.tsx +3 -2
  257. package/src/GlobeIcon/index.test.tsx +5 -5
  258. package/src/Icon/__snapshots__/index.test.tsx.snap +157 -261
  259. package/src/Icon/index.test.tsx +11 -11
  260. package/src/Icon/index.tsx +2 -2
  261. package/src/LockIcon/__snapshots__/index.test.tsx.snap +113 -234
  262. package/src/LockIcon/config.tsx +3 -2
  263. package/src/LockIcon/index.test.tsx +8 -8
  264. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +148 -255
  265. package/src/LoginIcon/config.tsx +4 -3
  266. package/src/LoginIcon/index.test.tsx +8 -8
  267. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +134 -255
  268. package/src/MinusIcon/config.tsx +4 -3
  269. package/src/MinusIcon/index.test.tsx +8 -8
  270. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +289 -408
  271. package/src/MoreVertIcon/config.tsx +5 -4
  272. package/src/MoreVertIcon/index.test.tsx +10 -10
  273. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +274 -311
  274. package/src/PdfFileIcon/config.tsx +10 -9
  275. package/src/PdfFileIcon/index.test.tsx +8 -8
  276. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +113 -234
  277. package/src/PlusIcon/config.tsx +3 -2
  278. package/src/PlusIcon/index.test.tsx +8 -8
  279. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +169 -276
  280. package/src/PrintIcon/config.tsx +4 -3
  281. package/src/PrintIcon/index.test.tsx +8 -8
  282. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +113 -234
  283. package/src/ReplyIcon/config.tsx +3 -2
  284. package/src/ReplyIcon/index.test.tsx +8 -8
  285. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +197 -290
  286. package/src/RestoreIcon/config.tsx +5 -4
  287. package/src/RestoreIcon/index.test.tsx +8 -8
  288. package/src/SearchIcon/__snapshots__/index.test.tsx.snap +17 -30
  289. package/src/SearchIcon/config.tsx +3 -2
  290. package/src/SearchIcon/index.test.tsx +2 -2
  291. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +271 -0
  292. package/src/SvgIcon/index.test.tsx +96 -0
  293. package/src/SvgIcon/index.tsx +72 -0
  294. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +145 -300
  295. package/src/UncheckIcon/config.tsx +3 -2
  296. package/src/UncheckIcon/index.test.tsx +10 -10
  297. package/src/lazy.js +2 -0
  298. package/src/registry.js +4 -0
  299. package/AccessibilityIcon/index.test/index.js +0 -49
  300. package/AccessibilityIcon/index.test/package.json +0 -6
  301. package/AccessibilityIcon/index.test.js.map +0 -7
  302. package/ArrowIcon/index.test/index.js +0 -22
  303. package/ArrowIcon/index.test/package.json +0 -6
  304. package/ArrowIcon/index.test.js.map +0 -7
  305. package/BurgerIcon/index.test/index.js +0 -33
  306. package/BurgerIcon/index.test/package.json +0 -6
  307. package/BurgerIcon/index.test.js.map +0 -7
  308. package/CancelIcon/index.test/index.js +0 -39
  309. package/CancelIcon/index.test/package.json +0 -6
  310. package/CancelIcon/index.test.js.map +0 -7
  311. package/CaretIcon/index.test/index.js +0 -22
  312. package/CaretIcon/index.test/package.json +0 -6
  313. package/CaretIcon/index.test.js.map +0 -7
  314. package/ChatIcon/index.test/index.js +0 -44
  315. package/ChatIcon/index.test.js.map +0 -7
  316. package/CheckIcon/index.test/index.js +0 -44
  317. package/CheckIcon/index.test/package.json +0 -6
  318. package/CheckIcon/index.test.js.map +0 -7
  319. package/ChevronIcon/index.test/index.js +0 -22
  320. package/ChevronIcon/index.test/package.json +0 -6
  321. package/ChevronIcon/index.test.js.map +0 -7
  322. package/CloseIcon/index.test/index.js +0 -7
  323. package/CloseIcon/index.test/package.json +0 -6
  324. package/CloseIcon/index.test.js.map +0 -7
  325. package/DownloadIcon/index.test/index.js +0 -39
  326. package/DownloadIcon/index.test/package.json +0 -6
  327. package/DownloadIcon/index.test.js.map +0 -7
  328. package/ExclamationIcon/index.test/index.js +0 -39
  329. package/ExclamationIcon/index.test/package.json +0 -6
  330. package/ExclamationIcon/index.test.js.map +0 -7
  331. package/GlobeIcon/index.test/index.js +0 -22
  332. package/GlobeIcon/index.test/package.json +0 -6
  333. package/GlobeIcon/index.test.js.map +0 -7
  334. package/Icon/index.test/index.js +0 -53
  335. package/Icon/index.test.js.map +0 -7
  336. package/LockIcon/index.test/index.js +0 -39
  337. package/LockIcon/index.test/package.json +0 -6
  338. package/LockIcon/index.test.js.map +0 -7
  339. package/LoginIcon/index.test/index.js +0 -39
  340. package/LoginIcon/index.test/package.json +0 -6
  341. package/LoginIcon/index.test.js.map +0 -7
  342. package/MinusIcon/index.test/index.js +0 -39
  343. package/MinusIcon/index.test/package.json +0 -6
  344. package/MinusIcon/index.test.js.map +0 -7
  345. package/MoreVertIcon/index.test/index.js +0 -49
  346. package/MoreVertIcon/index.test/package.json +0 -6
  347. package/MoreVertIcon/index.test.js.map +0 -7
  348. package/PdfFileIcon/index.test/index.js +0 -39
  349. package/PdfFileIcon/index.test/package.json +0 -6
  350. package/PdfFileIcon/index.test.js.map +0 -7
  351. package/PlusIcon/index.test/index.js +0 -39
  352. package/PlusIcon/index.test/package.json +0 -6
  353. package/PlusIcon/index.test.js.map +0 -7
  354. package/PrintIcon/index.test/index.js +0 -39
  355. package/PrintIcon/index.test/package.json +0 -6
  356. package/PrintIcon/index.test.js.map +0 -7
  357. package/ReplyIcon/index.test/index.js +0 -39
  358. package/ReplyIcon/index.test/package.json +0 -6
  359. package/ReplyIcon/index.test.js.map +0 -7
  360. package/RestoreIcon/index.test/index.js +0 -39
  361. package/RestoreIcon/index.test/package.json +0 -6
  362. package/RestoreIcon/index.test.js.map +0 -7
  363. package/SearchIcon/index.test/index.js +0 -7
  364. package/SearchIcon/index.test/package.json +0 -6
  365. package/SearchIcon/index.test.js.map +0 -7
  366. package/UncheckIcon/index.test/index.js +0 -49
  367. package/UncheckIcon/index.test/package.json +0 -6
  368. package/UncheckIcon/index.test.js.map +0 -7
  369. package/cjs/AccessibilityIcon/index.test/index.js +0 -67
  370. package/cjs/AccessibilityIcon/index.test.js.map +0 -7
  371. package/cjs/ArrowIcon/index.test/index.js +0 -40
  372. package/cjs/ArrowIcon/index.test.js.map +0 -7
  373. package/cjs/BurgerIcon/index.test/index.js +0 -51
  374. package/cjs/BurgerIcon/index.test.js.map +0 -7
  375. package/cjs/CancelIcon/index.test/index.js +0 -57
  376. package/cjs/CancelIcon/index.test.js.map +0 -7
  377. package/cjs/CaretIcon/index.test/index.js +0 -40
  378. package/cjs/CaretIcon/index.test.js.map +0 -7
  379. package/cjs/ChatIcon/index.test/index.js +0 -62
  380. package/cjs/ChatIcon/index.test.js.map +0 -7
  381. package/cjs/CheckIcon/index.test/index.js +0 -62
  382. package/cjs/CheckIcon/index.test.js.map +0 -7
  383. package/cjs/ChevronIcon/index.test/index.js +0 -40
  384. package/cjs/ChevronIcon/index.test.js.map +0 -7
  385. package/cjs/CloseIcon/index.test/index.js +0 -25
  386. package/cjs/CloseIcon/index.test.js.map +0 -7
  387. package/cjs/DownloadIcon/index.test/index.js +0 -57
  388. package/cjs/DownloadIcon/index.test.js.map +0 -7
  389. package/cjs/ExclamationIcon/index.test/index.js +0 -57
  390. package/cjs/ExclamationIcon/index.test.js.map +0 -7
  391. package/cjs/GlobeIcon/index.test/index.js +0 -40
  392. package/cjs/GlobeIcon/index.test.js.map +0 -7
  393. package/cjs/Icon/index.test/index.js +0 -71
  394. package/cjs/Icon/index.test.js.map +0 -7
  395. package/cjs/LockIcon/index.test/index.js +0 -57
  396. package/cjs/LockIcon/index.test.js.map +0 -7
  397. package/cjs/LoginIcon/index.test/index.js +0 -57
  398. package/cjs/LoginIcon/index.test.js.map +0 -7
  399. package/cjs/MinusIcon/index.test/index.js +0 -57
  400. package/cjs/MinusIcon/index.test.js.map +0 -7
  401. package/cjs/MoreVertIcon/index.test/index.js +0 -67
  402. package/cjs/MoreVertIcon/index.test.js.map +0 -7
  403. package/cjs/PdfFileIcon/index.test/index.js +0 -57
  404. package/cjs/PdfFileIcon/index.test.js.map +0 -7
  405. package/cjs/PlusIcon/index.test/index.js +0 -57
  406. package/cjs/PlusIcon/index.test.js.map +0 -7
  407. package/cjs/PrintIcon/index.test/index.js +0 -57
  408. package/cjs/PrintIcon/index.test.js.map +0 -7
  409. package/cjs/ReplyIcon/index.test/index.js +0 -57
  410. package/cjs/ReplyIcon/index.test.js.map +0 -7
  411. package/cjs/RestoreIcon/index.test/index.js +0 -57
  412. package/cjs/RestoreIcon/index.test.js.map +0 -7
  413. package/cjs/SearchIcon/index.test/index.js +0 -25
  414. package/cjs/SearchIcon/index.test.js.map +0 -7
  415. package/cjs/UncheckIcon/index.test/index.js +0 -67
  416. package/cjs/UncheckIcon/index.test.js.map +0 -7
@@ -1,37 +1,40 @@
1
1
  var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
5
  var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
- __defProp(target, name, {get: all[name], enumerable: true});
9
+ __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && key !== "default")
16
- __defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
19
- };
20
- var __toModule = (module2) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
17
+ return to;
22
18
  };
23
- __markAsModule(exports);
24
- __export(exports, {
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var AccessibilityIcon_exports = {};
29
+ __export(AccessibilityIcon_exports, {
25
30
  AccessibilityIcon: () => AccessibilityIcon,
26
31
  default: () => AccessibilityIcon_default
27
32
  });
28
- var import_react = __toModule(require("react"));
29
- var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
33
+ module.exports = __toCommonJS(AccessibilityIcon_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_Icon = __toESM(require("@digigov/react-icons/Icon"));
30
36
  const AccessibilityIcon = (props) => {
31
- return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
32
- ...props,
33
- icon: "accessibility"
34
- });
37
+ return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, { ...props, icon: "accessibility" });
35
38
  };
36
39
  var AccessibilityIcon_default = AccessibilityIcon;
37
40
  // Annotate the CommonJS export names for ESM import in node:
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/AccessibilityIcon/index.tsx"],
4
4
  "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const AccessibilityIcon: React.FC<IconProps<'accessibility'>> = (\n props\n) => {\n return <Icon {...props} icon=\"accessibility\"></Icon>;\n};\n\nexport default AccessibilityIcon;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,oBAA0D,CACrE,UACG;AACH,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,4BAAQ;",
6
- "names": []
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,oBAA0D,CACrE,UACG;AACH,SAAO,6BAAAA,QAAA,cAAC,YAAAC,SAAA,EAAM,GAAG,OAAO,MAAK,iBAAgB;AAC/C;AAEA,IAAO,4BAAQ;",
6
+ "names": ["React", "Icon"]
7
7
  }
@@ -1,41 +1,40 @@
1
1
  var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
5
  var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
- __defProp(target, name, {get: all[name], enumerable: true});
9
+ __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && key !== "default")
16
- __defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
19
- };
20
- var __toModule = (module2) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
17
+ return to;
22
18
  };
23
- __markAsModule(exports);
24
- __export(exports, {
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var config_exports = {};
29
+ __export(config_exports, {
25
30
  arrow: () => arrow,
26
31
  default: () => config_default
27
32
  });
28
- var import_react = __toModule(require("react"));
29
- const arrow = ({direction = "up"}) => {
30
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, direction === "left" && /* @__PURE__ */ import_react.default.createElement("polygon", {
31
- points: "14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7"
32
- }), direction === "right" && /* @__PURE__ */ import_react.default.createElement("polygon", {
33
- points: "9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3"
34
- }), direction === "up" && /* @__PURE__ */ import_react.default.createElement("polygon", {
35
- points: "22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12"
36
- }), direction === "down" && /* @__PURE__ */ import_react.default.createElement("polygon", {
37
- points: "19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6"
38
- }));
33
+ module.exports = __toCommonJS(config_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_Base = __toESM(require("@digigov/react-icons/Base"));
36
+ const arrow = ({ direction = "up" }) => {
37
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, direction === "left" && /* @__PURE__ */ import_react.default.createElement(import_Base.default, { as: "polygon", points: "14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7" }), direction === "right" && /* @__PURE__ */ import_react.default.createElement(import_Base.default, { as: "polygon", points: "9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3" }), direction === "up" && /* @__PURE__ */ import_react.default.createElement(import_Base.default, { as: "polygon", points: "22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12" }), direction === "down" && /* @__PURE__ */ import_react.default.createElement(import_Base.default, { as: "polygon", points: "19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6" }));
39
38
  };
40
39
  arrow.props = ["direction"];
41
40
  var config_default = arrow;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/ArrowIcon/config.tsx"],
4
- "sourcesContent": ["import React from 'react';\n\nexport interface ArrowType {\n /**\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'up'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const arrow: React.FC<ArrowType> = ({ direction = 'up' }) => {\n return (\n <>\n {direction === 'left' && (\n <polygon points=\"14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7\" />\n )}\n {direction === 'right' && (\n <polygon points=\"9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3\" />\n )}\n {direction === 'up' && (\n <polygon points=\"22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12\" />\n )}\n {direction === 'down' && (\n <polygon points=\"19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6\" />\n )}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\narrow.props = ['direction'];\n\nexport default arrow;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAaX,MAAM,QAA6B,CAAC,CAAE,YAAY,UAAW;AAClE,SACE,wFACG,cAAc,UACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAEjB,cAAc,WACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAEjB,cAAc,QACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA,MAEjB,cAAc,UACb,mDAAC,WAAD;AAAA,IAAS,QAAO;AAAA;AAAA;AAOxB,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
6
- "names": []
4
+ "sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface ArrowType {\n /**\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'up'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const arrow: React.FC<ArrowType> = ({ direction = 'up' }) => {\n return (\n <>\n {direction === 'left' && (\n <Base as=\"polygon\" points=\"14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7\" />\n )}\n {direction === 'right' && (\n <Base as=\"polygon\" points=\"9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3\" />\n )}\n {direction === 'up' && (\n <Base as=\"polygon\" points=\"22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12\" />\n )}\n {direction === 'down' && (\n <Base as=\"polygon\" points=\"19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6\" />\n )}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\narrow.props = ['direction'];\n\nexport default arrow;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AAaV,MAAM,QAA6B,CAAC,EAAE,YAAY,KAAK,MAAM;AAClE,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACG,cAAc,UACb,6BAAAA,QAAA,cAAC,YAAAC,SAAA,EAAK,IAAG,WAAU,QAAO,yFAAwF,GAEnH,cAAc,WACb,6BAAAD,QAAA,cAAC,YAAAC,SAAA,EAAK,IAAG,WAAU,QAAO,sFAAqF,GAEhH,cAAc,QACb,6BAAAD,QAAA,cAAC,YAAAC,SAAA,EAAK,IAAG,WAAU,QAAO,qFAAoF,GAE/G,cAAc,UACb,6BAAAD,QAAA,cAAC,YAAAC,SAAA,EAAK,IAAG,WAAU,QAAO,uFAAsF,CAEpH;AAEJ;AAGA,MAAM,QAAQ,CAAC,WAAW;AAE1B,IAAO,iBAAQ;",
6
+ "names": ["React", "Base"]
7
7
  }
@@ -1,37 +1,40 @@
1
1
  var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
5
  var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
- __defProp(target, name, {get: all[name], enumerable: true});
9
+ __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && key !== "default")
16
- __defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
19
- };
20
- var __toModule = (module2) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
17
+ return to;
22
18
  };
23
- __markAsModule(exports);
24
- __export(exports, {
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var ArrowIcon_exports = {};
29
+ __export(ArrowIcon_exports, {
25
30
  ArrowIcon: () => ArrowIcon,
26
31
  default: () => ArrowIcon_default
27
32
  });
28
- var import_react = __toModule(require("react"));
29
- var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
33
+ module.exports = __toCommonJS(ArrowIcon_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_Icon = __toESM(require("@digigov/react-icons/Icon"));
30
36
  const ArrowIcon = (props) => {
31
- return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
32
- ...props,
33
- icon: "arrow"
34
- });
37
+ return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, { ...props, icon: "arrow" });
35
38
  };
36
39
  var ArrowIcon_default = ArrowIcon;
37
40
  // Annotate the CommonJS export names for ESM import in node:
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/ArrowIcon/index.tsx"],
4
4
  "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const ArrowIcon: React.FC<IconProps<'arrow'>> = (props) => {\n return <Icon {...props} icon=\"arrow\"></Icon>;\n};\n\nexport default ArrowIcon;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,oBAAQ;",
6
- "names": []
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,YAA0C,CAAC,UAAU;AAChE,SAAO,6BAAAA,QAAA,cAAC,YAAAC,SAAA,EAAM,GAAG,OAAO,MAAK,SAAQ;AACvC;AAEA,IAAO,oBAAQ;",
6
+ "names": ["React", "Icon"]
7
7
  }
@@ -0,0 +1,135 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var Base_exports = {};
29
+ __export(Base_exports, {
30
+ Base: () => Base,
31
+ default: () => Base_default
32
+ });
33
+ module.exports = __toCommonJS(Base_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_clsx = __toESM(require("clsx"));
36
+ const Base = import_react.default.forwardRef(function Base2({
37
+ as,
38
+ margin,
39
+ marginTop,
40
+ marginBottom,
41
+ marginLeft,
42
+ marginRight,
43
+ m,
44
+ mt,
45
+ mb,
46
+ ml,
47
+ mr,
48
+ mx,
49
+ my,
50
+ padding,
51
+ paddingTop,
52
+ paddingBottom,
53
+ paddingLeft,
54
+ paddingRight,
55
+ p,
56
+ pt,
57
+ pb,
58
+ pr,
59
+ pl,
60
+ px,
61
+ py,
62
+ printHidden,
63
+ printVisible,
64
+ hidden,
65
+ xsUpHidden,
66
+ smUpHidden,
67
+ mdUpHidden,
68
+ lgUpHidden,
69
+ xlUpHidden,
70
+ xsHidden,
71
+ smHidden,
72
+ mdHidden,
73
+ lgHidden,
74
+ xlHidden,
75
+ children,
76
+ className,
77
+ ...props
78
+ }, ref) {
79
+ const Component = as || "span";
80
+ return /* @__PURE__ */ import_react.default.createElement(
81
+ Component,
82
+ {
83
+ as,
84
+ className: (0, import_clsx.default)(className, {
85
+ [`ds-m-${margin}`]: margin !== void 0 ? true : void 0,
86
+ [`ds-mt-${marginTop}`]: marginTop !== void 0 ? true : void 0,
87
+ [`ds-mb-${marginBottom}`]: marginBottom !== void 0 ? true : void 0,
88
+ [`ds-mr-${marginRight}`]: marginRight !== void 0 ? true : void 0,
89
+ [`ds-ml-${marginLeft}`]: marginLeft !== void 0 ? true : void 0,
90
+ [`ds-m-${m}`]: m !== void 0 ? true : void 0,
91
+ [`ds-mt-${mt}`]: mt !== void 0 ? true : void 0,
92
+ [`ds-mb-${mb}`]: mb !== void 0 ? true : void 0,
93
+ [`ds-mr-${mr}`]: mr !== void 0 ? true : void 0,
94
+ [`ds-ml-${ml}`]: ml !== void 0 ? true : void 0,
95
+ [`ds-mx-${mx}`]: mx !== void 0 ? true : void 0,
96
+ [`ds-my-${my}`]: my !== void 0 ? true : void 0,
97
+ [`ds-p-${padding}`]: padding !== void 0 ? true : void 0,
98
+ [`ds-pt-${paddingTop}`]: paddingTop !== void 0 ? true : void 0,
99
+ [`ds-pb-${paddingBottom}`]: paddingBottom !== void 0 ? true : void 0,
100
+ [`ds-pr-${paddingRight}`]: paddingRight !== void 0 ? true : void 0,
101
+ [`ds-pl-${paddingLeft}`]: paddingLeft !== void 0 ? true : void 0,
102
+ [`ds-p-${p}`]: p !== void 0 ? true : void 0,
103
+ [`ds-pt-${pt}`]: pt !== void 0 ? true : void 0,
104
+ [`ds-pb-${pb}`]: pb !== void 0 ? true : void 0,
105
+ [`ds-pr-${pr}`]: pr !== void 0 ? true : void 0,
106
+ [`ds-pl-${pl}`]: pl !== void 0 ? true : void 0,
107
+ [`ds-px-${px}`]: px !== void 0 ? true : void 0,
108
+ [`ds-py-${py}`]: py !== void 0 ? true : void 0,
109
+ "ds-print-hidden": !!printHidden,
110
+ "ds-print-visible-block": printVisible === "block",
111
+ "ds-print-visible-inline": printVisible === "inline",
112
+ "ds-hidden": !!hidden,
113
+ "ds-hidden-xs-up": !!xsUpHidden,
114
+ "ds-hidden-sm-up": !!smUpHidden,
115
+ "ds-hidden-md-up": !!mdUpHidden,
116
+ "ds-hidden-lg-up": !!lgUpHidden,
117
+ "ds-hidden-xl-up": !!xlUpHidden,
118
+ "ds-hidden-xs": !!xsHidden,
119
+ "ds-hidden-sm": !!smHidden,
120
+ "ds-hidden-md": !!mdHidden,
121
+ "ds-hidden-lg": !!lgHidden,
122
+ "ds-hidden-xl": !!xlHidden
123
+ }),
124
+ ref,
125
+ ...props
126
+ },
127
+ children
128
+ );
129
+ });
130
+ var Base_default = Base;
131
+ // Annotate the CommonJS export names for ESM import in node:
132
+ 0 && (module.exports = {
133
+ Base
134
+ });
135
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/Base/index.tsx"],
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\n\ntype AsProp<C extends React.ElementType> = {\n as?: C;\n};\n\ntype PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);\n\n// This is the first reusable type utility we built\ntype PolymorphicComponentProp<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = React.PropsWithChildren<Props & AsProp<C>> &\n Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;\n\n// This is a new type utitlity with ref!\ntype PolymorphicComponentPropWithRef<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = PolymorphicComponentProp<C, Props> & { ref?: any };\n\n// This is the type for the \"ref\" only\ntype PolymorphicRef<C extends React.ElementType> =\n React.ComponentPropsWithRef<C>['ref'];\n\n/**\n * This is the updated component props using PolymorphicComponentPropWithRef\n */\nexport type BaseProps<C extends React.ElementType> =\n PolymorphicComponentPropWithRef<\n C,\n {\n /** margin is optional. It has not a default value. */\n margin?: spacingValues;\n /** marginTop is optional. It has not a default value. */\n marginTop?: spacingValues;\n /** marginBottom is optional. It has not a default value. */\n marginBottom?: spacingValues;\n /** marginLeft is optional. It has not a default value. */\n marginLeft?: spacingValues;\n /** marginRight is optional. It has not a default value. */\n marginRight?: spacingValues;\n /** Alternative for margin. Margin is optional. It has not a default value. */\n m?: spacingValues;\n /** Alternative for marginTop. MarginTop is optional. It has not a default value. */\n mt?: spacingValues;\n /** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */\n mb?: spacingValues;\n /** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */\n ml?: spacingValues;\n /** Alternative for marginRight. MarginRight is optional. It has not a default value. */\n mr?: spacingValues;\n /** Alternative for marginX. MarginX is optional. It has not a default value. */\n mx?: spacingValues;\n /** Alternative for marginY. MarginY is optional. It has not a default value. */\n my?: spacingValues;\n /** padding is optional. It has not a default value. */\n padding?: spacingValues;\n /** paddingTop is optional. It has not a default value. */\n paddingTop?: spacingValues;\n /** paddingBottom is optional. It has not a default value. */\n paddingBottom?: spacingValues;\n /** paddingLeft is optional. It has not a default value. */\n paddingLeft?: spacingValues;\n /** paddingRight is optional. It has not a default value. */\n paddingRight?: spacingValues;\n /** Alternative for padding. Padding is optional. It has not a default value. */\n p?: spacingValues;\n /** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */\n pt?: spacingValues;\n /** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */\n pb?: spacingValues;\n /** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */\n pl?: spacingValues;\n /** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */\n pr?: spacingValues;\n /** Alternative for paddingX. PaddingX is optional. It has not a default value. */\n px?: spacingValues;\n /** Alternative for paddingY. PaddingY is optional. It has not a default value. */\n py?: spacingValues;\n /** printHidden is optional. Default value is false. When true, the component is hidden at print. */\n printHidden?: boolean;\n /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/\n printVisible?: 'block' | 'inline';\n /** Components will be hidden at all screen sizes. */\n hidden?: boolean;\n /** Components will be hidden from 'xs' screen size and up. */\n xsUpHidden?: boolean;\n /** Components will be hidden from 'sm' screen size and up. */\n smUpHidden?: boolean;\n /** Components will be hidden from 'md' screen size and up. */\n mdUpHidden?: boolean;\n /** Components will be hidden from 'lg' screen size and up. */\n lgUpHidden?: boolean;\n /** Components will be hidden from 'xl' screen size and up. */\n xlUpHidden?: boolean;\n /** Components will be hidden between xs and sm screen size. */\n xsHidden?: boolean;\n /** Components will be hidden between sm and md screen size. */\n smHidden?: boolean;\n /** Components will be hidden between md and lg screen size. */\n mdHidden?: boolean;\n /** Components will be hidden between lg and xl screen size. */\n lgHidden?: boolean;\n /** Components will be hidden between xl and 2xl screen size. */\n xlHidden?: boolean;\n }\n >;\n\ntype spacingValues =\n | 0\n | 0.5\n | 1\n | 1.5\n | 2\n | 2.5\n | 3\n | 3.5\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 14\n | 16\n | 20\n | 24\n | 28\n | 32\n | 36\n | 40\n | 44\n | 48\n | 52\n | 56\n | 60\n | 64\n | 72\n | 80\n | 96;\n\n/**\n * This is the type used in the type annotation for the component\n */\ntype BaseComponent = <C extends React.ElementType = 'span'>(\n props: BaseProps<C>\n) => React.ReactNode | null;\n\nexport const Base: BaseComponent = React.forwardRef(function Base<\n C extends React.ElementType = 'span',\n>(\n {\n as,\n margin,\n marginTop,\n marginBottom,\n marginLeft,\n marginRight,\n m,\n mt,\n mb,\n ml,\n mr,\n mx,\n my,\n padding,\n paddingTop,\n paddingBottom,\n paddingLeft,\n paddingRight,\n p,\n pt,\n pb,\n pr,\n pl,\n px,\n py,\n printHidden,\n printVisible,\n hidden,\n xsUpHidden,\n smUpHidden,\n mdUpHidden,\n lgUpHidden,\n xlUpHidden,\n xsHidden,\n smHidden,\n mdHidden,\n lgHidden,\n xlHidden,\n children,\n className,\n ...props\n }: BaseProps<C>,\n ref?: PolymorphicRef<C>\n) {\n const Component = as || 'span';\n\n return (\n <Component\n as={as}\n className={clsx(className, {\n [`ds-m-${margin}`]: margin !== undefined ? true : undefined,\n [`ds-mt-${marginTop}`]: marginTop !== undefined ? true : undefined,\n [`ds-mb-${marginBottom}`]:\n marginBottom !== undefined ? true : undefined,\n [`ds-mr-${marginRight}`]: marginRight !== undefined ? true : undefined,\n [`ds-ml-${marginLeft}`]: marginLeft !== undefined ? true : undefined,\n [`ds-m-${m}`]: m !== undefined ? true : undefined,\n [`ds-mt-${mt}`]: mt !== undefined ? true : undefined,\n [`ds-mb-${mb}`]: mb !== undefined ? true : undefined,\n [`ds-mr-${mr}`]: mr !== undefined ? true : undefined,\n [`ds-ml-${ml}`]: ml !== undefined ? true : undefined,\n [`ds-mx-${mx}`]: mx !== undefined ? true : undefined,\n [`ds-my-${my}`]: my !== undefined ? true : undefined,\n [`ds-p-${padding}`]: padding !== undefined ? true : undefined,\n [`ds-pt-${paddingTop}`]: paddingTop !== undefined ? true : undefined,\n [`ds-pb-${paddingBottom}`]:\n paddingBottom !== undefined ? true : undefined,\n [`ds-pr-${paddingRight}`]:\n paddingRight !== undefined ? true : undefined,\n [`ds-pl-${paddingLeft}`]: paddingLeft !== undefined ? true : undefined,\n [`ds-p-${p}`]: p !== undefined ? true : undefined,\n [`ds-pt-${pt}`]: pt !== undefined ? true : undefined,\n [`ds-pb-${pb}`]: pb !== undefined ? true : undefined,\n [`ds-pr-${pr}`]: pr !== undefined ? true : undefined,\n [`ds-pl-${pl}`]: pl !== undefined ? true : undefined,\n [`ds-px-${px}`]: px !== undefined ? true : undefined,\n [`ds-py-${py}`]: py !== undefined ? true : undefined,\n 'ds-print-hidden': !!printHidden,\n 'ds-print-visible-block': printVisible === 'block',\n 'ds-print-visible-inline': printVisible === 'inline',\n 'ds-hidden': !!hidden,\n 'ds-hidden-xs-up': !!xsUpHidden,\n 'ds-hidden-sm-up': !!smUpHidden,\n 'ds-hidden-md-up': !!mdUpHidden,\n 'ds-hidden-lg-up': !!lgUpHidden,\n 'ds-hidden-xl-up': !!xlUpHidden,\n 'ds-hidden-xs': !!xsHidden,\n 'ds-hidden-sm': !!smHidden,\n 'ds-hidden-md': !!mdHidden,\n 'ds-hidden-lg': !!lgHidden,\n 'ds-hidden-xl': !!xlHidden,\n })}\n ref={ref}\n {...props}\n >\n {children}\n </Component>\n );\n});\n\nexport default Base;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AAwJV,MAAM,OAAsB,aAAAA,QAAM,WAAW,SAASC,MAG3D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,KACA;AACA,QAAM,YAAY,MAAM;AAExB,SACE,6BAAAD,QAAA;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,eAAW,YAAAE,SAAK,WAAW;AAAA,QACzB,CAAC,QAAQ,MAAM,EAAE,GAAG,WAAW,SAAY,OAAO;AAAA,QAClD,CAAC,SAAS,SAAS,EAAE,GAAG,cAAc,SAAY,OAAO;AAAA,QACzD,CAAC,SAAS,YAAY,EAAE,GACtB,iBAAiB,SAAY,OAAO;AAAA,QACtC,CAAC,SAAS,WAAW,EAAE,GAAG,gBAAgB,SAAY,OAAO;AAAA,QAC7D,CAAC,SAAS,UAAU,EAAE,GAAG,eAAe,SAAY,OAAO;AAAA,QAC3D,CAAC,QAAQ,CAAC,EAAE,GAAG,MAAM,SAAY,OAAO;AAAA,QACxC,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,QAAQ,OAAO,EAAE,GAAG,YAAY,SAAY,OAAO;AAAA,QACpD,CAAC,SAAS,UAAU,EAAE,GAAG,eAAe,SAAY,OAAO;AAAA,QAC3D,CAAC,SAAS,aAAa,EAAE,GACvB,kBAAkB,SAAY,OAAO;AAAA,QACvC,CAAC,SAAS,YAAY,EAAE,GACtB,iBAAiB,SAAY,OAAO;AAAA,QACtC,CAAC,SAAS,WAAW,EAAE,GAAG,gBAAgB,SAAY,OAAO;AAAA,QAC7D,CAAC,QAAQ,CAAC,EAAE,GAAG,MAAM,SAAY,OAAO;AAAA,QACxC,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,SAAY,OAAO;AAAA,QAC3C,mBAAmB,CAAC,CAAC;AAAA,QACrB,0BAA0B,iBAAiB;AAAA,QAC3C,2BAA2B,iBAAiB;AAAA,QAC5C,aAAa,CAAC,CAAC;AAAA,QACf,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,mBAAmB,CAAC,CAAC;AAAA,QACrB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,QAClB,gBAAgB,CAAC,CAAC;AAAA,MACpB,CAAC;AAAA,MACD;AAAA,MACC,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,eAAQ;",
6
+ "names": ["React", "Base", "clsx"]
7
+ }
@@ -1,50 +1,52 @@
1
1
  var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
5
  var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
- __defProp(target, name, {get: all[name], enumerable: true});
9
+ __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && key !== "default")
16
- __defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
19
- };
20
- var __toModule = (module2) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
17
+ return to;
22
18
  };
23
- __markAsModule(exports);
24
- __export(exports, {
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var config_exports = {};
29
+ __export(config_exports, {
25
30
  burger: () => burger,
26
31
  default: () => config_default
27
32
  });
28
- var import_react = __toModule(require("react"));
29
- var import_clsx = __toModule(require("clsx"));
30
- const burger = ({active = false}) => {
31
- return /* @__PURE__ */ import_react.default.createElement("g", {
32
- className: (0, import_clsx.default)({
33
- [`ds-svg-icon--burger--active`]: active
34
- })
35
- }, /* @__PURE__ */ import_react.default.createElement("rect", {
36
- id: "ds-svg-icon--burger__line-1",
37
- width: "20",
38
- height: "3.3"
39
- }), /* @__PURE__ */ import_react.default.createElement("rect", {
40
- id: "ds-svg-icon--burger__line-2",
41
- width: "20",
42
- height: "3.3"
43
- }), /* @__PURE__ */ import_react.default.createElement("rect", {
44
- id: "ds-svg-icon--burger__line-3",
45
- width: "20",
46
- height: "3.3"
47
- }));
33
+ module.exports = __toCommonJS(config_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_clsx = __toESM(require("clsx"));
36
+ var import_Base = __toESM(require("@digigov/react-icons/Base"));
37
+ const burger = ({ active = false }) => {
38
+ return /* @__PURE__ */ import_react.default.createElement(
39
+ import_Base.default,
40
+ {
41
+ as: "g",
42
+ className: (0, import_clsx.default)({
43
+ [`ds-svg-icon--burger--active`]: active
44
+ })
45
+ },
46
+ /* @__PURE__ */ import_react.default.createElement(import_Base.default, { as: "rect", id: "ds-svg-icon--burger__line-1", width: "20", height: "3.3" }),
47
+ /* @__PURE__ */ import_react.default.createElement(import_Base.default, { as: "rect", id: "ds-svg-icon--burger__line-2", width: "20", height: "3.3" }),
48
+ /* @__PURE__ */ import_react.default.createElement(import_Base.default, { as: "rect", id: "ds-svg-icon--burger__line-3", width: "20", height: "3.3" })
49
+ );
48
50
  };
49
51
  burger.props = ["active"];
50
52
  var config_default = burger;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/BurgerIcon/config.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\n\nexport type BurgerType = {\n active?: boolean;\n};\n\nexport const burger: React.FC<BurgerType> = ({ active = false }) => {\n return (\n <g\n className={clsx({\n [`ds-svg-icon--burger--active`]: active,\n })}\n >\n <rect id=\"ds-svg-icon--burger__line-1\" width=\"20\" height=\"3.3\" />\n <rect id=\"ds-svg-icon--burger__line-2\" width=\"20\" height=\"3.3\" />\n <rect id=\"ds-svg-icon--burger__line-3\" width=\"20\" height=\"3.3\" />\n </g>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nburger.props = ['active'];\n\nexport default burger;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AAMV,MAAM,SAA+B,CAAC,CAAE,SAAS,WAAY;AAClE,SACE,mDAAC,KAAD;AAAA,IACE,WAAW,yBAAK;AAAA,OACb,gCAAgC;AAAA;AAAA,KAGnC,mDAAC,QAAD;AAAA,IAAM,IAAG;AAAA,IAA8B,OAAM;AAAA,IAAK,QAAO;AAAA,MACzD,mDAAC,QAAD;AAAA,IAAM,IAAG;AAAA,IAA8B,OAAM;AAAA,IAAK,QAAO;AAAA,MACzD,mDAAC,QAAD;AAAA,IAAM,IAAG;AAAA,IAA8B,OAAM;AAAA,IAAK,QAAO;AAAA;AAAA;AAM/D,OAAO,QAAQ,CAAC;AAEhB,IAAO,iBAAQ;",
6
- "names": []
4
+ "sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base from '@digigov/react-icons/Base';\n\nexport type BurgerType = {\n active?: boolean;\n};\n\nexport const burger: React.FC<BurgerType> = ({ active = false }) => {\n return (\n <Base as=\"g\"\n className={clsx({\n [`ds-svg-icon--burger--active`]: active,\n })}\n >\n <Base as=\"rect\" id=\"ds-svg-icon--burger__line-1\" width=\"20\" height=\"3.3\" />\n <Base as=\"rect\" id=\"ds-svg-icon--burger__line-2\" width=\"20\" height=\"3.3\" />\n <Base as=\"rect\" id=\"ds-svg-icon--burger__line-3\" width=\"20\" height=\"3.3\" />\n </Base>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nburger.props = ['active'];\n\nexport default burger;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,kBAAiB;AAMV,MAAM,SAA+B,CAAC,EAAE,SAAS,MAAM,MAAM;AAClE,SACE,6BAAAA,QAAA;AAAA,IAAC,YAAAC;AAAA,IAAA;AAAA,MAAK,IAAG;AAAA,MACP,eAAW,YAAAC,SAAK;AAAA,QACd,CAAC,6BAA6B,GAAG;AAAA,MACnC,CAAC;AAAA;AAAA,IAED,6BAAAF,QAAA,cAAC,YAAAC,SAAA,EAAK,IAAG,QAAO,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,IACzE,6BAAAD,QAAA,cAAC,YAAAC,SAAA,EAAK,IAAG,QAAO,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,IACzE,6BAAAD,QAAA,cAAC,YAAAC,SAAA,EAAK,IAAG,QAAO,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,EAC3E;AAEJ;AAGA,OAAO,QAAQ,CAAC,QAAQ;AAExB,IAAO,iBAAQ;",
6
+ "names": ["React", "Base", "clsx"]
7
7
  }
@@ -1,37 +1,40 @@
1
1
  var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
5
  var __getProtoOf = Object.getPrototypeOf;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
- __defProp(target, name, {get: all[name], enumerable: true});
9
+ __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && key !== "default")
16
- __defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
19
- };
20
- var __toModule = (module2) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
17
+ return to;
22
18
  };
23
- __markAsModule(exports);
24
- __export(exports, {
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var BurgerIcon_exports = {};
29
+ __export(BurgerIcon_exports, {
25
30
  BurgerIcon: () => BurgerIcon,
26
31
  default: () => BurgerIcon_default
27
32
  });
28
- var import_react = __toModule(require("react"));
29
- var import_Icon = __toModule(require("@digigov/react-icons/Icon"));
33
+ module.exports = __toCommonJS(BurgerIcon_exports);
34
+ var import_react = __toESM(require("react"));
35
+ var import_Icon = __toESM(require("@digigov/react-icons/Icon"));
30
36
  const BurgerIcon = (props) => {
31
- return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, {
32
- ...props,
33
- icon: "burger"
34
- });
37
+ return /* @__PURE__ */ import_react.default.createElement(import_Icon.default, { ...props, icon: "burger" });
35
38
  };
36
39
  var BurgerIcon_default = BurgerIcon;
37
40
  // Annotate the CommonJS export names for ESM import in node:
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/BurgerIcon/index.tsx"],
4
4
  "sourcesContent": ["import React from 'react';\nimport Icon, { IconProps } from '@digigov/react-icons/Icon';\n\nexport const BurgerIcon: React.FC<IconProps<'burger'>> = (props) => {\n return <Icon {...props} icon=\"burger\"></Icon>;\n};\n\nexport default BurgerIcon;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,aAA4C,CAAC,UAAU;AAClE,SAAO,mDAAC,qBAAD;AAAA,OAAU;AAAA,IAAO,MAAK;AAAA;AAAA;AAG/B,IAAO,qBAAQ;",
6
- "names": []
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAgC;AAEzB,MAAM,aAA4C,CAAC,UAAU;AAClE,SAAO,6BAAAA,QAAA,cAAC,YAAAC,SAAA,EAAM,GAAG,OAAO,MAAK,UAAS;AACxC;AAEA,IAAO,qBAAQ;",
6
+ "names": ["React", "Icon"]
7
7
  }