@lightsparkdev/ui 1.0.6 → 1.0.7

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 (683) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{chunk-GMEJR5XX.js → chunk-27TVNUBD.js} +26 -11
  3. package/dist/chunk-2KDEPCCC.cjs +94 -0
  4. package/dist/chunk-2ON6YBGL.cjs +40 -0
  5. package/dist/chunk-2R4K7WK4.cjs +27 -0
  6. package/dist/{chunk-SCIQSZSW.js → chunk-34MTU3ER.js} +3 -1
  7. package/dist/chunk-3ET7MRCR.cjs +57 -0
  8. package/dist/chunk-3FA4RQGH.cjs +380 -0
  9. package/dist/chunk-3JDF42CW.cjs +24 -0
  10. package/dist/chunk-3JTH7BHI.cjs +53 -0
  11. package/dist/chunk-3MCK6I7V.js +40 -0
  12. package/dist/chunk-3NYFUIYG.cjs +27 -0
  13. package/dist/chunk-3O67L2QO.cjs +95 -0
  14. package/dist/chunk-3RJBB7Q6.cjs +38 -0
  15. package/dist/{chunk-JZKGVGBU.js → chunk-3Y63I7BP.js} +1 -1
  16. package/dist/chunk-43KEZLY6.cjs +27 -0
  17. package/dist/chunk-43LGFT5G.cjs +28 -0
  18. package/dist/chunk-46AVXTFO.cjs +6 -0
  19. package/dist/chunk-4CW4UJ5X.cjs +50 -0
  20. package/dist/{chunk-PBLWYVQF.js → chunk-4DPM62TI.js} +2 -2
  21. package/dist/chunk-4VVPSX5O.cjs +8 -0
  22. package/dist/chunk-4XPAKKBS.cjs +264 -0
  23. package/dist/{chunk-ERNTWEIJ.js → chunk-4ZEUQBJZ.js} +19 -12
  24. package/dist/chunk-4ZF4NPF7.cjs +131 -0
  25. package/dist/chunk-52DSX7BK.cjs +26 -0
  26. package/dist/chunk-544LOSOG.cjs +27 -0
  27. package/dist/{chunk-FE477HOE.js → chunk-5BNDOQKG.js} +2 -2
  28. package/dist/{chunk-45BHB7K7.js → chunk-5GYVOXMF.js} +3 -3
  29. package/dist/chunk-5IO7EL3S.cjs +38 -0
  30. package/dist/chunk-5P25HFMG.cjs +26 -0
  31. package/dist/chunk-5WZ7X43P.cjs +351 -0
  32. package/dist/chunk-6J3HJ3T2.cjs +27 -0
  33. package/dist/{chunk-ZR2TARGX.js → chunk-6L3PB65W.js} +2 -2
  34. package/dist/chunk-6LYX73L5.cjs +67 -0
  35. package/dist/chunk-6O6PX2UG.cjs +33 -0
  36. package/dist/chunk-6VA4SAHQ.cjs +8 -0
  37. package/dist/{chunk-RRXB5FQC.js → chunk-6W3IBNGW.js} +7 -7
  38. package/dist/chunk-73LM7UGP.cjs +59 -0
  39. package/dist/{chunk-SIYZ5PZT.js → chunk-7GCXP2EW.js} +19 -11
  40. package/dist/{chunk-LKJ7QTWL.js → chunk-7LT4PQQ7.js} +4 -4
  41. package/dist/chunk-7NAL5XO6.cjs +104 -0
  42. package/dist/chunk-7OBPNS6W.cjs +59 -0
  43. package/dist/chunk-7PRNB5U5.cjs +77 -0
  44. package/dist/{chunk-QON4D7N2.js → chunk-7ZDRCGKF.js} +2 -2
  45. package/dist/chunk-A5SF55P6.cjs +27 -0
  46. package/dist/{chunk-E6ZY35LN.js → chunk-A6V6LC6W.js} +5 -5
  47. package/dist/chunk-AGIM6BKC.cjs +11 -0
  48. package/dist/{chunk-PYAKYQWS.js → chunk-AJ6OTIB2.js} +1 -1
  49. package/dist/chunk-AJ7WPQU4.cjs +57 -0
  50. package/dist/chunk-AMAXYW5C.cjs +28 -0
  51. package/dist/chunk-ANP2OU53.cjs +163 -0
  52. package/dist/{chunk-LH5VFS3E.js → chunk-AWTA3QRN.js} +1 -1
  53. package/dist/{chunk-AVV74PTP.js → chunk-BED5BMM6.js} +2 -2
  54. package/dist/chunk-BPPGWPEN.cjs +49 -0
  55. package/dist/chunk-BQEXNVAD.cjs +36 -0
  56. package/dist/chunk-BS5XF33X.cjs +27 -0
  57. package/dist/chunk-BXLJEGX5.cjs +27 -0
  58. package/dist/chunk-BYSQTUZ6.cjs +218 -0
  59. package/dist/chunk-C54KLX7Q.cjs +27 -0
  60. package/dist/{chunk-GGWFUEDW.js → chunk-CANLBVDM.js} +3 -3
  61. package/dist/chunk-CB3IFR2X.cjs +94 -0
  62. package/dist/chunk-CB7GBZCJ.cjs +27 -0
  63. package/dist/{chunk-4IHNUHE3.js → chunk-CBPPDWW7.js} +5 -5
  64. package/dist/chunk-CE5LGEAR.cjs +26 -0
  65. package/dist/chunk-CGLTHYGY.cjs +25 -0
  66. package/dist/chunk-CIGDU5PL.cjs +31 -0
  67. package/dist/chunk-CRVO2CAL.cjs +118 -0
  68. package/dist/chunk-CS3NUOE2.cjs +37 -0
  69. package/dist/{chunk-42D2SXB2.js → chunk-CULDUDP3.js} +1 -1
  70. package/dist/chunk-CV4CDJUL.cjs +27 -0
  71. package/dist/chunk-CWGZNP4N.cjs +75 -0
  72. package/dist/chunk-CYWLRXPQ.cjs +34 -0
  73. package/dist/chunk-DIKB7XZE.cjs +31 -0
  74. package/dist/chunk-DM6GUQAV.cjs +42 -0
  75. package/dist/{chunk-IH5SIRJL.js → chunk-DPK5MAQL.js} +3 -3
  76. package/dist/chunk-DSJTYUQG.cjs +32 -0
  77. package/dist/{chunk-M7E2PMFK.js → chunk-DWGNUG6W.js} +9 -9
  78. package/dist/chunk-E42IFW4E.cjs +33 -0
  79. package/dist/chunk-E6YOHZKE.cjs +39 -0
  80. package/dist/chunk-EDAMG44V.js +26 -0
  81. package/dist/chunk-EKCGBLIH.cjs +3227 -0
  82. package/dist/chunk-EKTDBUWD.cjs +77 -0
  83. package/dist/{chunk-5JJUXAVA.js → chunk-EKU37RBB.js} +3 -3
  84. package/dist/chunk-ELZC2I4Y.cjs +27 -0
  85. package/dist/chunk-ENRGP6TU.cjs +34 -0
  86. package/dist/{chunk-IXAXRBFS.js → chunk-EZMYYBFH.js} +2 -2
  87. package/dist/chunk-FBF72OKQ.cjs +33 -0
  88. package/dist/chunk-FE2E2TKC.cjs +46 -0
  89. package/dist/{chunk-H3UUVMZ3.js → chunk-FLYNOCPZ.js} +1 -1
  90. package/dist/{chunk-BRJKMY6Z.js → chunk-FNV7LZTE.js} +3 -3
  91. package/dist/chunk-FPOQM3WG.cjs +25 -0
  92. package/dist/{chunk-N67Y7GWR.js → chunk-FQIT2EG7.js} +1 -1
  93. package/dist/chunk-FQWU3AUO.cjs +39 -0
  94. package/dist/{chunk-HLZNFEDV.js → chunk-FSVHUION.js} +2 -2
  95. package/dist/chunk-FZUELDMT.cjs +37 -0
  96. package/dist/chunk-G2ZTK5RI.cjs +27 -0
  97. package/dist/chunk-GB3YA32U.cjs +425 -0
  98. package/dist/{chunk-ILCC45G7.js → chunk-GCUBVU4U.js} +21 -17
  99. package/dist/chunk-GDXNYWJH.cjs +40 -0
  100. package/dist/{chunk-YG5BANJH.js → chunk-GMM3LRXY.js} +2 -2
  101. package/dist/chunk-GSYM5JMB.cjs +17 -0
  102. package/dist/chunk-GVKKUMAK.cjs +27 -0
  103. package/dist/chunk-GZNDFGOK.cjs +26 -0
  104. package/dist/chunk-H24ZXPN3.cjs +150 -0
  105. package/dist/chunk-H3Z7VJF4.cjs +27 -0
  106. package/dist/{chunk-TN5UPDZG.js → chunk-H47HIU2F.js} +1 -1
  107. package/dist/chunk-HA2ITLKV.cjs +26 -0
  108. package/dist/chunk-HKSBGUB7.cjs +119 -0
  109. package/dist/chunk-HVGR22WZ.cjs +24 -0
  110. package/dist/chunk-HVSAHGD7.cjs +73 -0
  111. package/dist/{chunk-UAUAYQ3C.js → chunk-I4NIA4SD.js} +23 -9
  112. package/dist/chunk-ICGEMWYQ.cjs +64 -0
  113. package/dist/chunk-IMJG5CTO.cjs +129 -0
  114. package/dist/chunk-INAP7GDJ.cjs +27 -0
  115. package/dist/chunk-IOSJLM4O.cjs +28 -0
  116. package/dist/chunk-IXV57HL7.cjs +21 -0
  117. package/dist/chunk-J25ZXQOV.cjs +65 -0
  118. package/dist/{chunk-HNK2KIC7.js → chunk-J2NLRI2M.js} +20 -5
  119. package/dist/chunk-J3G627ED.cjs +35 -0
  120. package/dist/chunk-J4BWIY7M.cjs +81 -0
  121. package/dist/chunk-J4YI5GMY.cjs +27 -0
  122. package/dist/{chunk-IIRG6R42.js → chunk-J5EHGDRO.js} +3 -3
  123. package/dist/chunk-JCNYE37S.cjs +200 -0
  124. package/dist/chunk-JE624NDF.cjs +27 -0
  125. package/dist/chunk-JEEFB6LD.cjs +37 -0
  126. package/dist/chunk-JFMGOEGC.cjs +26 -0
  127. package/dist/chunk-JGHR6XRE.cjs +33 -0
  128. package/dist/chunk-JMQYZAL2.cjs +89 -0
  129. package/dist/{chunk-D4DFISYR.js → chunk-JQV6H76U.js} +1 -1
  130. package/dist/{chunk-AXNQ7BDD.js → chunk-KH5NEXIW.js} +4 -4
  131. package/dist/chunk-KPGYI4CN.cjs +37 -0
  132. package/dist/chunk-KPMZD7KJ.cjs +25 -0
  133. package/dist/{chunk-PZTZ4436.js → chunk-KQ475V76.js} +2 -2
  134. package/dist/chunk-KS6GHRZI.cjs +8 -0
  135. package/dist/chunk-KSKKC6C2.cjs +126 -0
  136. package/dist/chunk-KW3JYLRI.cjs +233 -0
  137. package/dist/{chunk-OPUCWQMK.js → chunk-L3BNIBK3.js} +1 -1
  138. package/dist/{chunk-NONMMIMQ.js → chunk-LHPOQVJO.js} +1 -1
  139. package/dist/chunk-LKKJVJCG.cjs +63 -0
  140. package/dist/chunk-LLJZ3BRG.cjs +50 -0
  141. package/dist/chunk-LU2G6KCN.cjs +41 -0
  142. package/dist/{chunk-TMIBU4ME.js → chunk-LW4QZL4I.js} +1 -1
  143. package/dist/{chunk-EKU5IWJW.js → chunk-LWXTVAZ6.js} +2 -2
  144. package/dist/chunk-MFDGE4AE.cjs +29 -0
  145. package/dist/{chunk-YXAKRSFW.js → chunk-MI5TUKMX.js} +3 -3
  146. package/dist/chunk-MJ4HZKPZ.cjs +290 -0
  147. package/dist/chunk-MJ63JHE3.cjs +69 -0
  148. package/dist/chunk-MJN5WJMC.cjs +39 -0
  149. package/dist/chunk-MKW2IFOO.cjs +27 -0
  150. package/dist/chunk-MNAZ4BDQ.cjs +164 -0
  151. package/dist/chunk-MNZQCCZJ.cjs +26 -0
  152. package/dist/chunk-MT2C62ED.cjs +17 -0
  153. package/dist/{chunk-7EAO66LB.js → chunk-MXMS34PK.js} +5 -5
  154. package/dist/{chunk-I3WMJNCP.js → chunk-MXR7SFIZ.js} +1 -1
  155. package/dist/chunk-N7NM6ELD.cjs +28 -0
  156. package/dist/chunk-N7QYPDKF.cjs +27 -0
  157. package/dist/chunk-NMRDZ23R.cjs +26 -0
  158. package/dist/chunk-NRKSK3OJ.cjs +33 -0
  159. package/dist/chunk-NWMYGKBQ.cjs +27 -0
  160. package/dist/chunk-O2OR4KOM.cjs +27 -0
  161. package/dist/chunk-O3WGQ5ZR.cjs +39 -0
  162. package/dist/chunk-O4MKC7U2.js +22 -0
  163. package/dist/{chunk-QZMD3YHI.js → chunk-OEDDEF6C.js} +1 -13
  164. package/dist/{chunk-Q76C6FJ5.js → chunk-OGJLMW37.js} +3 -3
  165. package/dist/{chunk-QTPYP3IK.js → chunk-OHMAC2V5.js} +2 -2
  166. package/dist/{chunk-QEZ7L6YF.js → chunk-OIR5K2NG.js} +1 -1
  167. package/dist/chunk-OT4XMGY5.cjs +468 -0
  168. package/dist/chunk-P73HWTOR.cjs +55 -0
  169. package/dist/chunk-P76JZF4N.cjs +39 -0
  170. package/dist/chunk-PBYLFD52.cjs +168 -0
  171. package/dist/chunk-PD5XWF2Q.cjs +26 -0
  172. package/dist/chunk-PDZ23BED.cjs +401 -0
  173. package/dist/chunk-PGULRMMV.cjs +101 -0
  174. package/dist/chunk-PUSW24ER.cjs +28 -0
  175. package/dist/chunk-PXZFQWMN.cjs +41 -0
  176. package/dist/chunk-Q2OOHXBK.cjs +36 -0
  177. package/dist/chunk-Q4BUF3EO.cjs +24 -0
  178. package/dist/chunk-Q4CBVF2A.cjs +125 -0
  179. package/dist/chunk-Q6IGIW42.cjs +27 -0
  180. package/dist/{chunk-GMOJB7PP.js → chunk-QBSDXGPZ.js} +13 -11
  181. package/dist/chunk-QCJWZRIP.cjs +150 -0
  182. package/dist/{chunk-NWPPTOKK.js → chunk-QDMQOT22.js} +5 -5
  183. package/dist/chunk-QDNTIZC2.js +38 -0
  184. package/dist/chunk-QFXPWIS3.cjs +60 -0
  185. package/dist/chunk-QQ2MHKHV.cjs +239 -0
  186. package/dist/chunk-QQKHEU6E.cjs +26 -0
  187. package/dist/chunk-QR6XKKRK.cjs +242 -0
  188. package/dist/chunk-QYJOJVJD.cjs +27 -0
  189. package/dist/chunk-QZ7U4QKB.cjs +94 -0
  190. package/dist/chunk-R6JXXAU3.cjs +25 -0
  191. package/dist/chunk-RCWDQM37.cjs +26 -0
  192. package/dist/{chunk-KPAVY3UH.js → chunk-REL56P3K.js} +1 -0
  193. package/dist/chunk-RFJWSKGK.cjs +27 -0
  194. package/dist/{chunk-NBIK5O3N.js → chunk-RRXUQSIX.js} +9 -9
  195. package/dist/chunk-RSUJHDQA.cjs +56 -0
  196. package/dist/chunk-RU6KW5CM.cjs +27 -0
  197. package/dist/chunk-RYNH5AXT.cjs +20 -0
  198. package/dist/chunk-S3BY6XUW.cjs +27 -0
  199. package/dist/{chunk-XLKL3DNK.js → chunk-SCB4M3K3.js} +3 -3
  200. package/dist/chunk-SODYHHOB.cjs +94 -0
  201. package/dist/{chunk-FO7I4E45.js → chunk-SOMDPWUX.js} +1 -1
  202. package/dist/chunk-SQ5NGX4J.cjs +55 -0
  203. package/dist/{chunk-RQLRNKOP.js → chunk-SUTN4O34.js} +10 -10
  204. package/dist/chunk-T6IAT66E.cjs +106 -0
  205. package/dist/chunk-T7ZB3XF7.cjs +16 -0
  206. package/dist/chunk-TB376AUW.cjs +25 -0
  207. package/dist/chunk-TKCA4LT6.cjs +31 -0
  208. package/dist/chunk-TPVPCMRQ.cjs +7 -0
  209. package/dist/chunk-TTWRXIOP.cjs +30 -0
  210. package/dist/{chunk-EHH4M2LZ.js → chunk-TWG7OQT7.js} +5 -5
  211. package/dist/chunk-TZ4KOSZV.cjs +33 -0
  212. package/dist/chunk-TZGHXXX4.cjs +29 -0
  213. package/dist/chunk-U2CKBWYJ.cjs +46 -0
  214. package/dist/chunk-U5D736PB.cjs +25 -0
  215. package/dist/{chunk-LAGOF7IU.js → chunk-UACBVBBE.js} +3 -3
  216. package/dist/chunk-UDKRYLGK.cjs +27 -0
  217. package/dist/chunk-UEG2PUK7.cjs +23 -0
  218. package/dist/chunk-UQ7P6HTC.cjs +27 -0
  219. package/dist/chunk-UWGIIJDN.cjs +38 -0
  220. package/dist/chunk-UYO2JW2E.cjs +103 -0
  221. package/dist/chunk-UZK5AYDL.cjs +124 -0
  222. package/dist/chunk-V2VDB34C.cjs +27 -0
  223. package/dist/chunk-V3IFCHJZ.cjs +37 -0
  224. package/dist/chunk-V74OSV6N.cjs +377 -0
  225. package/dist/chunk-VB47G2O4.cjs +35 -0
  226. package/dist/chunk-VBU37CQG.cjs +48 -0
  227. package/dist/chunk-VDKIZEUQ.cjs +28 -0
  228. package/dist/chunk-VDL5FG27.cjs +27 -0
  229. package/dist/{chunk-3DXU76SI.js → chunk-VI4JM4DQ.js} +2 -2
  230. package/dist/chunk-VSFFGTTT.cjs +38 -0
  231. package/dist/chunk-VYCK3QBC.cjs +366 -0
  232. package/dist/{chunk-QBRCVOJ4.js → chunk-W42LDOH4.js} +6 -6
  233. package/dist/{chunk-7UBU5MKY.js → chunk-W7XPZYSY.js} +0 -1
  234. package/dist/chunk-WHCKM6E5.cjs +37 -0
  235. package/dist/chunk-WI6IO34N.cjs +327 -0
  236. package/dist/{chunk-4EV5IUUJ.js → chunk-WM2D54JJ.js} +2 -2
  237. package/dist/{chunk-BNHCCR3C.js → chunk-WONQPE5P.js} +2 -2
  238. package/dist/chunk-WRN66OMM.cjs +27 -0
  239. package/dist/chunk-WRQEO3XT.cjs +26 -0
  240. package/dist/chunk-WTFNCHBK.cjs +30 -0
  241. package/dist/chunk-WUBMWAOS.cjs +315 -0
  242. package/dist/chunk-WW5RAKEC.cjs +27 -0
  243. package/dist/chunk-WWCUEEMH.cjs +140 -0
  244. package/dist/chunk-XB2OTOVK.cjs +27 -0
  245. package/dist/{chunk-AKGW3FMJ.js → chunk-XCEI3WIL.js} +2 -2
  246. package/dist/chunk-XJPYWPVG.cjs +179 -0
  247. package/dist/chunk-XKHTSGK3.cjs +145 -0
  248. package/dist/chunk-XKQ2XWU5.cjs +28 -0
  249. package/dist/chunk-XQBJ74JW.cjs +35 -0
  250. package/dist/chunk-XTLPMH2Q.cjs +27 -0
  251. package/dist/chunk-XTUVGLWQ.cjs +87 -0
  252. package/dist/{chunk-QFVQ6QPA.js → chunk-XUIS5P5Z.js} +2 -2
  253. package/dist/chunk-XYXNI3AO.cjs +76 -0
  254. package/dist/chunk-XZG2GZWI.cjs +68 -0
  255. package/dist/chunk-Y2U2KEP4.cjs +38 -0
  256. package/dist/chunk-Y6M4SBN7.cjs +102 -0
  257. package/dist/{chunk-FT62PIPN.js → chunk-Y6Q37DGW.js} +42 -30
  258. package/dist/chunk-YD6ZGALS.cjs +27 -0
  259. package/dist/chunk-YHDN5LEA.cjs +22 -0
  260. package/dist/chunk-YHQVDAZW.cjs +67 -0
  261. package/dist/chunk-YINNADVF.cjs +80 -0
  262. package/dist/{chunk-VF5KSAZG.js → chunk-YKVROUDH.js} +3 -3
  263. package/dist/chunk-YPCTBP2X.cjs +37 -0
  264. package/dist/chunk-Z5IAIRIS.cjs +28 -0
  265. package/dist/chunk-ZFRMFHCU.cjs +32 -0
  266. package/dist/{chunk-NK7WH3TK.js → chunk-ZGPNVPST.js} +16 -16
  267. package/dist/chunk-ZJTRXOA5.cjs +105 -0
  268. package/dist/chunk-ZR3J7SMI.cjs +17 -0
  269. package/dist/chunk-ZRHJQUKS.cjs +49 -0
  270. package/dist/chunk-ZSGQEOY3.cjs +37 -0
  271. package/dist/chunk-ZU72XWNE.cjs +29 -0
  272. package/dist/chunk-ZUAO4DW3.cjs +65 -0
  273. package/dist/{chunk-XQIQOMNE.js → chunk-ZV5IAOIM.js} +1 -1
  274. package/dist/components/Badge.cjs +151 -8397
  275. package/dist/components/Badge.d.cts +5 -2
  276. package/dist/components/Badge.d.ts +5 -2
  277. package/dist/components/Badge.js +40 -36
  278. package/dist/components/Banner/Banner.cjs +152 -8552
  279. package/dist/components/Banner/Banner.d.cts +5 -2
  280. package/dist/components/Banner/Banner.d.ts +5 -2
  281. package/dist/components/Banner/Banner.js +40 -36
  282. package/dist/components/Banner/constants.cjs +8 -32
  283. package/dist/components/Button.cjs +158 -8821
  284. package/dist/components/Button.d.cts +10 -5
  285. package/dist/components/Button.d.ts +10 -5
  286. package/dist/components/Button.js +42 -38
  287. package/dist/components/ButtonRow.cjs +158 -8937
  288. package/dist/components/ButtonRow.d.cts +6 -2
  289. package/dist/components/ButtonRow.d.ts +6 -2
  290. package/dist/components/ButtonRow.js +44 -40
  291. package/dist/components/CardPage.cjs +166 -4383
  292. package/dist/components/CardPage.js +46 -42
  293. package/dist/components/Checkbox.cjs +11 -351
  294. package/dist/components/Checkbox.js +6 -5
  295. package/dist/components/CodeBlock.cjs +143 -8188
  296. package/dist/components/CodeBlock.js +29 -25
  297. package/dist/components/CodeInput/CodeInput.cjs +15 -4440
  298. package/dist/components/CodeInput/CodeInput.js +9 -8
  299. package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4131
  300. package/dist/components/CodeInput/SingleCodeInput.js +8 -7
  301. package/dist/components/Collapsible.cjs +140 -7976
  302. package/dist/components/Collapsible.d.cts +4 -1
  303. package/dist/components/Collapsible.d.ts +4 -1
  304. package/dist/components/Collapsible.js +26 -22
  305. package/dist/components/CommaNumberInput.cjs +142 -8583
  306. package/dist/components/CommaNumberInput.d.cts +5 -2
  307. package/dist/components/CommaNumberInput.d.ts +5 -2
  308. package/dist/components/CommaNumberInput.js +32 -28
  309. package/dist/components/CommandKey.cjs +7 -71
  310. package/dist/components/ContentTable.cjs +134 -7771
  311. package/dist/components/ContentTable.js +25 -21
  312. package/dist/components/CopyToClipboardButton.cjs +135 -7939
  313. package/dist/components/CopyToClipboardButton.d.cts +4 -1
  314. package/dist/components/CopyToClipboardButton.d.ts +4 -1
  315. package/dist/components/CopyToClipboardButton.js +27 -23
  316. package/dist/components/CurrencyAmount.cjs +134 -7808
  317. package/dist/components/CurrencyAmount.d.cts +0 -6
  318. package/dist/components/CurrencyAmount.d.ts +0 -6
  319. package/dist/components/CurrencyAmount.js +25 -21
  320. package/dist/components/Drawer.cjs +155 -9079
  321. package/dist/components/Drawer.js +43 -39
  322. package/dist/components/Dropdown.cjs +136 -8229
  323. package/dist/components/Dropdown.d.cts +5 -2
  324. package/dist/components/Dropdown.d.ts +5 -2
  325. package/dist/components/Dropdown.js +27 -23
  326. package/dist/components/FileInput.cjs +141 -8257
  327. package/dist/components/FileInput.js +31 -27
  328. package/dist/components/Flex.cjs +6 -50
  329. package/dist/components/GradientCardHeader.cjs +17 -506
  330. package/dist/components/GradientCardHeader.js +8 -7
  331. package/dist/components/Icon/Icon.cjs +134 -7721
  332. package/dist/components/Icon/Icon.d.cts +5 -2
  333. package/dist/components/Icon/Icon.d.ts +5 -2
  334. package/dist/components/Icon/Icon.js +24 -20
  335. package/dist/components/Icon/types.cjs +1 -18
  336. package/dist/components/Icon/types.d.cts +4 -1
  337. package/dist/components/Icon/types.d.ts +4 -1
  338. package/dist/components/IconWithCircleBackground.cjs +133 -7746
  339. package/dist/components/IconWithCircleBackground.js +25 -21
  340. package/dist/components/InfoIconTooltip.cjs +151 -8416
  341. package/dist/components/InfoIconTooltip.d.cts +5 -2
  342. package/dist/components/InfoIconTooltip.d.ts +5 -2
  343. package/dist/components/InfoIconTooltip.js +41 -37
  344. package/dist/components/LightboxImage.cjs +5 -182
  345. package/dist/components/LightsparkProvider.cjs +16 -3969
  346. package/dist/components/LightsparkProvider.js +7 -6
  347. package/dist/components/Loading.cjs +136 -7774
  348. package/dist/components/Loading.d.cts +9 -11
  349. package/dist/components/Loading.d.ts +9 -11
  350. package/dist/components/Loading.js +29 -23
  351. package/dist/components/Modal.cjs +162 -9662
  352. package/dist/components/Modal.d.cts +10 -3
  353. package/dist/components/Modal.d.ts +10 -3
  354. package/dist/components/Modal.js +48 -44
  355. package/dist/components/PageSection/PageSection.cjs +183 -9622
  356. package/dist/components/PageSection/PageSection.d.cts +10 -4
  357. package/dist/components/PageSection/PageSection.d.ts +10 -4
  358. package/dist/components/PageSection/PageSection.js +49 -45
  359. package/dist/components/PageSection/PageSectionNav.cjs +153 -8541
  360. package/dist/components/PageSection/PageSectionNav.d.cts +4 -1
  361. package/dist/components/PageSection/PageSectionNav.d.ts +4 -1
  362. package/dist/components/PageSection/PageSectionNav.js +43 -38
  363. package/dist/components/PageSection/constants.cjs +6 -29
  364. package/dist/components/PhoneInput.cjs +141 -8789
  365. package/dist/components/PhoneInput.d.cts +1 -1
  366. package/dist/components/PhoneInput.d.ts +1 -1
  367. package/dist/components/PhoneInput.js +32 -28
  368. package/dist/components/Pill.cjs +135 -8010
  369. package/dist/components/Pill.d.cts +4 -1
  370. package/dist/components/Pill.d.ts +4 -1
  371. package/dist/components/Pill.js +28 -24
  372. package/dist/components/ProgressBar.cjs +11 -3862
  373. package/dist/components/ProgressBar.js +6 -5
  374. package/dist/components/Radio.cjs +139 -8110
  375. package/dist/components/Radio.js +29 -25
  376. package/dist/components/SecretContainer.cjs +136 -7978
  377. package/dist/components/SecretContainer.js +28 -24
  378. package/dist/components/StatusIndicator.cjs +12 -363
  379. package/dist/components/StatusIndicator.js +7 -6
  380. package/dist/components/TextButton.cjs +151 -8463
  381. package/dist/components/TextButton.d.cts +13 -2
  382. package/dist/components/TextButton.d.ts +13 -2
  383. package/dist/components/TextButton.js +42 -37
  384. package/dist/components/TextIconAligner.cjs +149 -8309
  385. package/dist/components/TextIconAligner.d.cts +20 -7
  386. package/dist/components/TextIconAligner.d.ts +20 -7
  387. package/dist/components/TextIconAligner.js +40 -35
  388. package/dist/components/TextInput.cjs +141 -8445
  389. package/dist/components/TextInput.d.cts +5 -2
  390. package/dist/components/TextInput.d.ts +5 -2
  391. package/dist/components/TextInput.js +31 -27
  392. package/dist/components/Toasts.cjs +152 -8745
  393. package/dist/components/Toasts.d.cts +5 -2
  394. package/dist/components/Toasts.d.ts +5 -2
  395. package/dist/components/Toasts.js +42 -38
  396. package/dist/components/Toggle.cjs +12 -3902
  397. package/dist/components/Toggle.js +7 -6
  398. package/dist/components/Tooltip.cjs +12 -3886
  399. package/dist/components/Tooltip.js +6 -5
  400. package/dist/components/UnstyledButton.cjs +11 -314
  401. package/dist/components/UnstyledButton.js +6 -5
  402. package/dist/components/documentation/AnchorLinkHeader.cjs +141 -7900
  403. package/dist/components/documentation/AnchorLinkHeader.d.cts +5 -2
  404. package/dist/components/documentation/AnchorLinkHeader.d.ts +5 -2
  405. package/dist/components/documentation/AnchorLinkHeader.js +30 -26
  406. package/dist/components/documentation/DocsBodyParagraph.cjs +138 -3813
  407. package/dist/components/documentation/DocsBodyParagraph.d.cts +5 -2
  408. package/dist/components/documentation/DocsBodyParagraph.d.ts +5 -2
  409. package/dist/components/documentation/DocsBodyParagraph.js +28 -24
  410. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +140 -3815
  411. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +5 -2
  412. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +5 -2
  413. package/dist/components/documentation/DocsBodyStrongParagraph.js +28 -24
  414. package/dist/components/documentation/DocsHeadline.cjs +136 -3880
  415. package/dist/components/documentation/DocsHeadline.d.cts +5 -2
  416. package/dist/components/documentation/DocsHeadline.d.ts +5 -2
  417. package/dist/components/documentation/DocsHeadline.js +29 -25
  418. package/dist/components/documentation/Video.cjs +20 -297
  419. package/dist/components/documentation/Video.js +5 -4
  420. package/dist/components/documentation/index.cjs +140 -7901
  421. package/dist/components/documentation/index.d.cts +5 -2
  422. package/dist/components/documentation/index.d.ts +5 -2
  423. package/dist/components/documentation/index.js +30 -26
  424. package/dist/components/index.cjs +379 -14544
  425. package/dist/components/index.d.cts +5 -3
  426. package/dist/components/index.d.ts +5 -3
  427. package/dist/components/index.js +80 -76
  428. package/dist/components/typography/Article.cjs +148 -4216
  429. package/dist/components/typography/Article.js +35 -31
  430. package/dist/components/typography/Body.cjs +139 -8011
  431. package/dist/components/typography/Body.d.cts +5 -2
  432. package/dist/components/typography/Body.d.ts +5 -2
  433. package/dist/components/typography/Body.js +28 -24
  434. package/dist/components/typography/BodyStrong.cjs +139 -8010
  435. package/dist/components/typography/BodyStrong.d.cts +5 -2
  436. package/dist/components/typography/BodyStrong.d.ts +5 -2
  437. package/dist/components/typography/BodyStrong.js +28 -24
  438. package/dist/components/typography/Code.cjs +139 -8008
  439. package/dist/components/typography/Code.d.cts +5 -2
  440. package/dist/components/typography/Code.d.ts +5 -2
  441. package/dist/components/typography/Code.js +28 -24
  442. package/dist/components/typography/Display.cjs +142 -8020
  443. package/dist/components/typography/Display.d.cts +5 -2
  444. package/dist/components/typography/Display.d.ts +5 -2
  445. package/dist/components/typography/Display.js +28 -24
  446. package/dist/components/typography/Headline.cjs +146 -8042
  447. package/dist/components/typography/Headline.d.cts +5 -2
  448. package/dist/components/typography/Headline.d.ts +5 -2
  449. package/dist/components/typography/Headline.js +28 -24
  450. package/dist/components/typography/Label.cjs +139 -8009
  451. package/dist/components/typography/Label.d.cts +6 -3
  452. package/dist/components/typography/Label.d.ts +6 -3
  453. package/dist/components/typography/Label.js +28 -24
  454. package/dist/components/typography/LabelModerate.cjs +139 -8009
  455. package/dist/components/typography/LabelModerate.d.cts +6 -3
  456. package/dist/components/typography/LabelModerate.d.ts +6 -3
  457. package/dist/components/typography/LabelModerate.js +28 -24
  458. package/dist/components/typography/LabelStrong.cjs +139 -8011
  459. package/dist/components/typography/LabelStrong.d.cts +6 -3
  460. package/dist/components/typography/LabelStrong.d.ts +6 -3
  461. package/dist/components/typography/LabelStrong.js +28 -24
  462. package/dist/components/typography/Overline.cjs +139 -8009
  463. package/dist/components/typography/Overline.d.cts +5 -2
  464. package/dist/components/typography/Overline.d.ts +5 -2
  465. package/dist/components/typography/Overline.js +28 -24
  466. package/dist/components/typography/Title.cjs +139 -8010
  467. package/dist/components/typography/Title.d.cts +5 -2
  468. package/dist/components/typography/Title.d.ts +5 -2
  469. package/dist/components/typography/Title.js +28 -24
  470. package/dist/components/typography/index.cjs +179 -8535
  471. package/dist/components/typography/index.d.cts +5 -2
  472. package/dist/components/typography/index.d.ts +5 -2
  473. package/dist/components/typography/index.js +40 -36
  474. package/dist/components/typography/renderTypography.cjs +149 -8257
  475. package/dist/components/typography/renderTypography.d.cts +5 -2
  476. package/dist/components/typography/renderTypography.d.ts +5 -2
  477. package/dist/components/typography/renderTypography.js +38 -34
  478. package/dist/hooks/useDebounce.cjs +9 -32
  479. package/dist/hooks/useDocumentTitle.cjs +9 -45
  480. package/dist/hooks/useIsomorphicLayoutEffect.cjs +6 -40
  481. package/dist/hooks/useLiveRef.cjs +6 -40
  482. package/dist/hooks/useResizeObserver.cjs +6 -76
  483. package/dist/hooks/useWhatChanged.cjs +5 -28
  484. package/dist/icons/AI.cjs +6 -51
  485. package/dist/icons/AnchorLink.cjs +6 -50
  486. package/dist/icons/ApiConnection.cjs +6 -48
  487. package/dist/icons/AppIcon.cjs +6 -90
  488. package/dist/icons/ArrowCircle.cjs +5 -56
  489. package/dist/icons/ArrowCircleTier1.cjs +6 -50
  490. package/dist/icons/ArrowCircleTier2.cjs +6 -50
  491. package/dist/icons/ArrowCircleTier3.cjs +6 -50
  492. package/dist/icons/ArrowCornerDownRight.cjs +6 -50
  493. package/dist/icons/ArrowDown.cjs +6 -50
  494. package/dist/icons/ArrowUp.cjs +6 -50
  495. package/dist/icons/ArrowUpRightCircleFill.cjs +6 -50
  496. package/dist/icons/Bank.cjs +6 -50
  497. package/dist/icons/BitcoinB.cjs +6 -50
  498. package/dist/icons/BitcoinBOnRoundedSquare.cjs +6 -52
  499. package/dist/icons/CameraCapture.cjs +6 -99
  500. package/dist/icons/CaretRight.cjs +6 -50
  501. package/dist/icons/CentralArrowShareRight.cjs +6 -50
  502. package/dist/icons/Checkmark.cjs +6 -49
  503. package/dist/icons/CheckmarkCircleGreen.cjs +6 -51
  504. package/dist/icons/CheckmarkCircleTier1.cjs +6 -51
  505. package/dist/icons/CheckmarkCircleTier2.cjs +6 -51
  506. package/dist/icons/CheckmarkCircleTier3.cjs +6 -51
  507. package/dist/icons/Chevron.cjs +6 -50
  508. package/dist/icons/ChevronLeft.cjs +6 -49
  509. package/dist/icons/CircleCheck.cjs +6 -51
  510. package/dist/icons/CircleCheckOutline.cjs +6 -48
  511. package/dist/icons/CirclePlus.cjs +6 -40
  512. package/dist/icons/Clock.cjs +6 -50
  513. package/dist/icons/Close.cjs +6 -49
  514. package/dist/icons/Code.cjs +6 -50
  515. package/dist/icons/Copy.cjs +6 -48
  516. package/dist/icons/CreditCard.cjs +6 -56
  517. package/dist/icons/DeleteIcon.cjs +6 -65
  518. package/dist/icons/Dollar.cjs +6 -50
  519. package/dist/icons/DollarManrope.cjs +6 -50
  520. package/dist/icons/DollarManropeSmall.cjs +6 -50
  521. package/dist/icons/DotGrid1x3Horizontal.cjs +6 -64
  522. package/dist/icons/Download.cjs +6 -60
  523. package/dist/icons/Envelope.cjs +6 -50
  524. package/dist/icons/ExclamationPoint.cjs +6 -71
  525. package/dist/icons/Explorer.cjs +6 -47
  526. package/dist/icons/Eye.cjs +6 -58
  527. package/dist/icons/EyeDropper.cjs +6 -50
  528. package/dist/icons/Figma.cjs +6 -50
  529. package/dist/icons/FlutterTwoTone.cjs +6 -70
  530. package/dist/icons/FlutterTwoTone.js +1 -1
  531. package/dist/icons/FramedLetterI.cjs +6 -59
  532. package/dist/icons/Gear.cjs +6 -56
  533. package/dist/icons/Github.cjs +6 -47
  534. package/dist/icons/GoTwoTone.cjs +6 -88
  535. package/dist/icons/GraphQLTwoTone.cjs +6 -147
  536. package/dist/icons/HeartOutline.cjs +6 -50
  537. package/dist/icons/Home.cjs +6 -49
  538. package/dist/icons/HorizontalArrows.cjs +6 -62
  539. package/dist/icons/Info.cjs +6 -72
  540. package/dist/icons/JavaScriptTwoTone.cjs +6 -83
  541. package/dist/icons/JavaTwoTone.cjs +6 -50
  542. package/dist/icons/KotlinTwoTone.cjs +6 -62
  543. package/dist/icons/LeftArrow.cjs +6 -50
  544. package/dist/icons/LightningOnRoundedSquare.cjs +6 -50
  545. package/dist/icons/LinkIcon.cjs +6 -62
  546. package/dist/icons/LoadingCircleLines.cjs +7 -0
  547. package/dist/icons/LoadingCircleLines.d.cts +5 -0
  548. package/dist/icons/LoadingCircleLines.d.ts +5 -0
  549. package/dist/icons/LoadingCircleLines.js +7 -0
  550. package/dist/icons/LoadingSpinner.cjs +6 -202
  551. package/dist/icons/Lock.cjs +6 -58
  552. package/dist/icons/Logo.cjs +4 -78
  553. package/dist/icons/LogoBolt.cjs +6 -129
  554. package/dist/icons/LogoOnCircle.cjs +6 -60
  555. package/dist/icons/MagicWand.cjs +6 -79
  556. package/dist/icons/Minus.cjs +6 -49
  557. package/dist/icons/Monitor.cjs +6 -73
  558. package/dist/icons/NodeAdd.cjs +6 -48
  559. package/dist/icons/NonagonCheckmark.cjs +7 -0
  560. package/dist/icons/NonagonCheckmark.d.cts +5 -0
  561. package/dist/icons/NonagonCheckmark.d.ts +5 -0
  562. package/dist/icons/NonagonCheckmark.js +7 -0
  563. package/dist/icons/NotEye.cjs +6 -60
  564. package/dist/icons/PaperPlane.cjs +6 -49
  565. package/dist/icons/Pencil.cjs +6 -49
  566. package/dist/icons/Person.cjs +6 -60
  567. package/dist/icons/PersonCircle.cjs +6 -60
  568. package/dist/icons/PiggyBank.cjs +6 -69
  569. package/dist/icons/Plus.cjs +6 -78
  570. package/dist/icons/PythonTwoTone.cjs +6 -56
  571. package/dist/icons/QRCodeIcon.cjs +6 -125
  572. package/dist/icons/QuestionCircle.cjs +6 -50
  573. package/dist/icons/QuestionCircleStrong.cjs +6 -50
  574. package/dist/icons/ReactTwoTone.cjs +6 -80
  575. package/dist/icons/Recycling.cjs +6 -50
  576. package/dist/icons/Remove.cjs +6 -49
  577. package/dist/icons/Restart.cjs +6 -49
  578. package/dist/icons/RightArrow.cjs +6 -50
  579. package/dist/icons/Roadmap.cjs +6 -50
  580. package/dist/icons/RustTwoTone.cjs +6 -62
  581. package/dist/icons/Satoshi.cjs +6 -61
  582. package/dist/icons/SatoshiRounded.cjs +6 -87
  583. package/dist/icons/Search.cjs +6 -51
  584. package/dist/icons/SecurityKey.cjs +6 -73
  585. package/dist/icons/Selector.cjs +6 -63
  586. package/dist/icons/SemiCircleOverlap.cjs +6 -60
  587. package/dist/icons/Share.cjs +6 -48
  588. package/dist/icons/ShieldCheck.cjs +6 -49
  589. package/dist/icons/Sidebar.cjs +6 -50
  590. package/dist/icons/Sort.cjs +6 -50
  591. package/dist/icons/StackedLines.cjs +6 -49
  592. package/dist/icons/SwiftTwoTone.cjs +6 -61
  593. package/dist/icons/TapSingle.cjs +6 -48
  594. package/dist/icons/Team.cjs +6 -50
  595. package/dist/icons/Terminal.cjs +6 -51
  596. package/dist/icons/Trash.cjs +6 -53
  597. package/dist/icons/TwoArrowsDown.cjs +6 -50
  598. package/dist/icons/TwoArrowsUp.cjs +6 -50
  599. package/dist/icons/Uma.cjs +6 -59
  600. package/dist/icons/UmaBridgeLoading.cjs +6 -52
  601. package/dist/icons/UmaBridgeLoadingTransparent.cjs +7 -0
  602. package/dist/icons/UmaBridgeLoadingTransparent.d.cts +5 -0
  603. package/dist/icons/UmaBridgeLoadingTransparent.d.ts +5 -0
  604. package/dist/icons/UmaBridgeLoadingTransparent.js +7 -0
  605. package/dist/icons/Upload.cjs +6 -60
  606. package/dist/icons/WalletSDKIcon.cjs +6 -61
  607. package/dist/icons/WarningSign.cjs +6 -61
  608. package/dist/icons/constants.cjs +8 -32
  609. package/dist/icons/index.cjs +461 -3994
  610. package/dist/icons/index.d.cts +3 -0
  611. package/dist/icons/index.d.ts +3 -0
  612. package/dist/icons/index.js +43 -31
  613. package/dist/{index-71766330.d.ts → index-1c620377.d.ts} +9 -0
  614. package/dist/{index-dcf19aa7.d.ts → index-76d74633.d.ts} +9 -0
  615. package/dist/index.cjs +1 -1
  616. package/dist/router.cjs +25 -251
  617. package/dist/router.d.cts +2 -1
  618. package/dist/router.d.ts +2 -1
  619. package/dist/router.js +2 -2
  620. package/dist/styles/breakpoints.cjs +18 -262
  621. package/dist/styles/colors.cjs +25 -170
  622. package/dist/styles/colors.d.cts +1 -0
  623. package/dist/styles/colors.d.ts +1 -0
  624. package/dist/styles/colors.js +1 -1
  625. package/dist/styles/common.cjs +47 -3879
  626. package/dist/styles/common.d.cts +1 -1
  627. package/dist/styles/common.d.ts +1 -1
  628. package/dist/styles/common.js +5 -4
  629. package/dist/styles/constants.cjs +15 -44
  630. package/dist/styles/fields.cjs +42 -4138
  631. package/dist/styles/fields.d.cts +1 -1
  632. package/dist/styles/fields.d.ts +1 -1
  633. package/dist/styles/fields.js +7 -6
  634. package/dist/styles/global.cjs +12 -3944
  635. package/dist/styles/global.d.cts +1 -1
  636. package/dist/styles/global.d.ts +1 -1
  637. package/dist/styles/global.js +6 -5
  638. package/dist/styles/themeDefaults/buttons.cjs +13 -0
  639. package/dist/styles/{buttons.d.cts → themeDefaults/buttons.d.cts} +3 -3
  640. package/dist/styles/{buttons.d.ts → themeDefaults/buttons.d.ts} +3 -3
  641. package/dist/styles/{buttons.js → themeDefaults/buttons.js} +2 -2
  642. package/dist/styles/themeDefaults/loading.cjs +9 -0
  643. package/dist/styles/themeDefaults/loading.d.cts +13 -0
  644. package/dist/styles/themeDefaults/loading.d.ts +13 -0
  645. package/dist/styles/themeDefaults/loading.js +9 -0
  646. package/dist/styles/themes.cjs +38 -3872
  647. package/dist/styles/themes.d.cts +1 -1
  648. package/dist/styles/themes.d.ts +1 -1
  649. package/dist/styles/themes.js +4 -3
  650. package/dist/styles/tokens/spacing.cjs +6 -88
  651. package/dist/styles/tokens/typography.cjs +13 -3346
  652. package/dist/styles/type.cjs +12 -482
  653. package/dist/styles/type.d.cts +1 -1
  654. package/dist/styles/type.d.ts +1 -1
  655. package/dist/styles/type.js +7 -6
  656. package/dist/styles/typography.cjs +10 -3790
  657. package/dist/styles/typography.d.cts +1 -1
  658. package/dist/styles/typography.d.ts +1 -1
  659. package/dist/styles/typography.js +5 -4
  660. package/dist/styles/utils.cjs +32 -378
  661. package/dist/styles/utils.js +6 -5
  662. package/dist/styles/z-index.cjs +6 -52
  663. package/dist/{themes-832e46b2.d.ts → themes-74cc65f5.d.ts} +54 -6
  664. package/dist/{themes-37e92940.d.ts → themes-a4269f0f.d.ts} +54 -6
  665. package/dist/types/index.cjs +1 -18
  666. package/dist/utils/NextLink.cjs +6 -79
  667. package/dist/utils/countryCodesToNames.cjs +10 -289
  668. package/dist/utils/emotion.cjs +6 -31
  669. package/dist/utils/isReactNodeWithChildren.cjs +6 -34
  670. package/dist/utils/parseURLFragments.cjs +4 -27
  671. package/dist/utils/strings.cjs +21 -108
  672. package/dist/utils/toNonTypographicReactNodes.cjs +144 -7933
  673. package/dist/utils/toNonTypographicReactNodes.d.cts +6 -2
  674. package/dist/utils/toNonTypographicReactNodes.d.ts +6 -2
  675. package/dist/utils/toNonTypographicReactNodes.js +26 -22
  676. package/dist/utils/toReactNodes.cjs +154 -8346
  677. package/dist/utils/toReactNodes.d.cts +8 -5
  678. package/dist/utils/toReactNodes.d.ts +8 -5
  679. package/dist/utils/toReactNodes.js +39 -35
  680. package/dist/utils/transformGQLName.cjs +4 -27
  681. package/dist/utils/unicode.cjs +4 -27
  682. package/package.json +1 -3
  683. package/dist/styles/buttons.cjs +0 -133
@@ -59,6 +59,7 @@ export { KotlinTwoTone } from './KotlinTwoTone.cjs';
59
59
  export { LeftArrow } from './LeftArrow.cjs';
60
60
  export { LightningOnRoundedSquare } from './LightningOnRoundedSquare.cjs';
61
61
  export { LinkIcon } from './LinkIcon.cjs';
62
+ export { LoadingCircleLines } from './LoadingCircleLines.cjs';
62
63
  export { LoadingSpinner } from './LoadingSpinner.cjs';
63
64
  export { Lock } from './Lock.cjs';
64
65
  export { Logo } from './Logo.cjs';
@@ -68,6 +69,7 @@ export { MagicWand } from './MagicWand.cjs';
68
69
  export { Minus } from './Minus.cjs';
69
70
  export { Monitor } from './Monitor.cjs';
70
71
  export { NodeAdd } from './NodeAdd.cjs';
72
+ export { NonagonCheckmark } from './NonagonCheckmark.cjs';
71
73
  export { NotEye } from './NotEye.cjs';
72
74
  export { PaperPlane } from './PaperPlane.cjs';
73
75
  export { Pencil } from './Pencil.cjs';
@@ -106,6 +108,7 @@ export { TwoArrowsDown } from './TwoArrowsDown.cjs';
106
108
  export { TwoArrowsUp } from './TwoArrowsUp.cjs';
107
109
  export { Uma } from './Uma.cjs';
108
110
  export { UmaBridgeLoading } from './UmaBridgeLoading.cjs';
111
+ export { UmaBridgeLoadingTransparent } from './UmaBridgeLoadingTransparent.cjs';
109
112
  export { Upload } from './Upload.cjs';
110
113
  export { WalletSDKIcon } from './WalletSDKIcon.cjs';
111
114
  export { WarningSign } from './WarningSign.cjs';
@@ -59,6 +59,7 @@ export { KotlinTwoTone } from './KotlinTwoTone.js';
59
59
  export { LeftArrow } from './LeftArrow.js';
60
60
  export { LightningOnRoundedSquare } from './LightningOnRoundedSquare.js';
61
61
  export { LinkIcon } from './LinkIcon.js';
62
+ export { LoadingCircleLines } from './LoadingCircleLines.js';
62
63
  export { LoadingSpinner } from './LoadingSpinner.js';
63
64
  export { Lock } from './Lock.js';
64
65
  export { Logo } from './Logo.js';
@@ -68,6 +69,7 @@ export { MagicWand } from './MagicWand.js';
68
69
  export { Minus } from './Minus.js';
69
70
  export { Monitor } from './Monitor.js';
70
71
  export { NodeAdd } from './NodeAdd.js';
72
+ export { NonagonCheckmark } from './NonagonCheckmark.js';
71
73
  export { NotEye } from './NotEye.js';
72
74
  export { PaperPlane } from './PaperPlane.js';
73
75
  export { Pencil } from './Pencil.js';
@@ -106,6 +108,7 @@ export { TwoArrowsDown } from './TwoArrowsDown.js';
106
108
  export { TwoArrowsUp } from './TwoArrowsUp.js';
107
109
  export { Uma } from './Uma.js';
108
110
  export { UmaBridgeLoading } from './UmaBridgeLoading.js';
111
+ export { UmaBridgeLoadingTransparent } from './UmaBridgeLoadingTransparent.js';
109
112
  export { Upload } from './Upload.js';
110
113
  export { WalletSDKIcon } from './WalletSDKIcon.js';
111
114
  export { WarningSign } from './WarningSign.js';
@@ -1,4 +1,16 @@
1
- import "../chunk-FT62PIPN.js";
1
+ import "../chunk-Y6Q37DGW.js";
2
+ import {
3
+ WalletSDKIcon
4
+ } from "../chunk-3BSQFYGE.js";
5
+ import {
6
+ WarningSign
7
+ } from "../chunk-XBKRPEVT.js";
8
+ import {
9
+ Terminal
10
+ } from "../chunk-FRZBZ7PD.js";
11
+ import {
12
+ Trash
13
+ } from "../chunk-3CHMNLGD.js";
2
14
  import {
3
15
  TwoArrowsDown
4
16
  } from "../chunk-5ZDDVLS6.js";
@@ -11,15 +23,18 @@ import {
11
23
  import {
12
24
  UmaBridgeLoading
13
25
  } from "../chunk-MASPP6U5.js";
26
+ import {
27
+ UmaBridgeLoadingTransparent
28
+ } from "../chunk-3MCK6I7V.js";
14
29
  import {
15
30
  Upload
16
31
  } from "../chunk-6B3T5X4O.js";
17
32
  import {
18
- WalletSDKIcon
19
- } from "../chunk-3BSQFYGE.js";
33
+ Share
34
+ } from "../chunk-HPIVJCNC.js";
20
35
  import {
21
- WarningSign
22
- } from "../chunk-XBKRPEVT.js";
36
+ ShieldCheck
37
+ } from "../chunk-F3YK2EER.js";
23
38
  import {
24
39
  Sidebar
25
40
  } from "../chunk-5XZ7ZEC7.js";
@@ -39,11 +54,11 @@ import {
39
54
  Team
40
55
  } from "../chunk-PJMGLSAW.js";
41
56
  import {
42
- Terminal
43
- } from "../chunk-FRZBZ7PD.js";
57
+ Roadmap
58
+ } from "../chunk-BX32TDWY.js";
44
59
  import {
45
- Trash
46
- } from "../chunk-3CHMNLGD.js";
60
+ RustTwoTone
61
+ } from "../chunk-IPD2D6QD.js";
47
62
  import {
48
63
  Satoshi
49
64
  } from "../chunk-VRG7HI7X.js";
@@ -63,11 +78,11 @@ import {
63
78
  SemiCircleOverlap
64
79
  } from "../chunk-GOURVX6U.js";
65
80
  import {
66
- Share
67
- } from "../chunk-HPIVJCNC.js";
81
+ QRCodeIcon
82
+ } from "../chunk-2TGRHBA5.js";
68
83
  import {
69
- ShieldCheck
70
- } from "../chunk-F3YK2EER.js";
84
+ QuestionCircle
85
+ } from "../chunk-H5R5ZG3Z.js";
71
86
  import {
72
87
  QuestionCircleStrong
73
88
  } from "../chunk-MXCYWGHN.js";
@@ -87,11 +102,11 @@ import {
87
102
  RightArrow
88
103
  } from "../chunk-CKOW6ME2.js";
89
104
  import {
90
- Roadmap
91
- } from "../chunk-BX32TDWY.js";
105
+ NotEye
106
+ } from "../chunk-3XGQJIDN.js";
92
107
  import {
93
- RustTwoTone
94
- } from "../chunk-IPD2D6QD.js";
108
+ PaperPlane
109
+ } from "../chunk-GJAG2D3Y.js";
95
110
  import {
96
111
  Pencil
97
112
  } from "../chunk-G3AHVMGL.js";
@@ -111,11 +126,8 @@ import {
111
126
  PythonTwoTone
112
127
  } from "../chunk-M4ORU6SJ.js";
113
128
  import {
114
- QRCodeIcon
115
- } from "../chunk-2TGRHBA5.js";
116
- import {
117
- QuestionCircle
118
- } from "../chunk-H5R5ZG3Z.js";
129
+ Logo
130
+ } from "../chunk-SIWCH44U.js";
119
131
  import {
120
132
  LogoBolt
121
133
  } from "../chunk-W5QTCRAG.js";
@@ -135,11 +147,8 @@ import {
135
147
  NodeAdd
136
148
  } from "../chunk-XXE3N5AE.js";
137
149
  import {
138
- NotEye
139
- } from "../chunk-3XGQJIDN.js";
140
- import {
141
- PaperPlane
142
- } from "../chunk-GJAG2D3Y.js";
150
+ NonagonCheckmark
151
+ } from "../chunk-QDNTIZC2.js";
143
152
  import {
144
153
  JavaTwoTone
145
154
  } from "../chunk-YO5J3T3L.js";
@@ -155,15 +164,15 @@ import {
155
164
  import {
156
165
  LinkIcon
157
166
  } from "../chunk-677VQ4DY.js";
167
+ import {
168
+ LoadingCircleLines
169
+ } from "../chunk-EDAMG44V.js";
158
170
  import {
159
171
  LoadingSpinner
160
172
  } from "../chunk-BDCKN7K3.js";
161
173
  import {
162
174
  Lock
163
175
  } from "../chunk-LDOAR276.js";
164
- import {
165
- Logo
166
- } from "../chunk-SIWCH44U.js";
167
176
  import {
168
177
  Github
169
178
  } from "../chunk-24JOGF62.js";
@@ -205,7 +214,7 @@ import {
205
214
  } from "../chunk-7Y2G2JDF.js";
206
215
  import {
207
216
  FlutterTwoTone
208
- } from "../chunk-7UBU5MKY.js";
217
+ } from "../chunk-W7XPZYSY.js";
209
218
  import {
210
219
  FramedLetterI
211
220
  } from "../chunk-IX5TIDMO.js";
@@ -396,6 +405,7 @@ export {
396
405
  LeftArrow,
397
406
  LightningOnRoundedSquare,
398
407
  LinkIcon,
408
+ LoadingCircleLines,
399
409
  LoadingSpinner,
400
410
  Lock,
401
411
  Logo,
@@ -405,6 +415,7 @@ export {
405
415
  Minus,
406
416
  Monitor,
407
417
  NodeAdd,
418
+ NonagonCheckmark,
408
419
  NotEye,
409
420
  PaperPlane,
410
421
  Pencil,
@@ -443,6 +454,7 @@ export {
443
454
  TwoArrowsUp,
444
455
  Uma,
445
456
  UmaBridgeLoading,
457
+ UmaBridgeLoadingTransparent,
446
458
  Upload,
447
459
  WalletSDKIcon,
448
460
  WarningSign
@@ -59,6 +59,7 @@ import { KotlinTwoTone } from './icons/KotlinTwoTone.js';
59
59
  import { LeftArrow } from './icons/LeftArrow.js';
60
60
  import { LightningOnRoundedSquare } from './icons/LightningOnRoundedSquare.js';
61
61
  import { LinkIcon } from './icons/LinkIcon.js';
62
+ import { LoadingCircleLines } from './icons/LoadingCircleLines.js';
62
63
  import { LoadingSpinner } from './icons/LoadingSpinner.js';
63
64
  import { Lock } from './icons/Lock.js';
64
65
  import { Logo } from './icons/Logo.js';
@@ -68,6 +69,7 @@ import { MagicWand } from './icons/MagicWand.js';
68
69
  import { Minus } from './icons/Minus.js';
69
70
  import { Monitor } from './icons/Monitor.js';
70
71
  import { NodeAdd } from './icons/NodeAdd.js';
72
+ import { NonagonCheckmark } from './icons/NonagonCheckmark.js';
71
73
  import { NotEye } from './icons/NotEye.js';
72
74
  import { PaperPlane } from './icons/PaperPlane.js';
73
75
  import { Pencil } from './icons/Pencil.js';
@@ -106,6 +108,7 @@ import { TwoArrowsDown } from './icons/TwoArrowsDown.js';
106
108
  import { TwoArrowsUp } from './icons/TwoArrowsUp.js';
107
109
  import { Uma } from './icons/Uma.js';
108
110
  import { UmaBridgeLoading } from './icons/UmaBridgeLoading.js';
111
+ import { UmaBridgeLoadingTransparent } from './icons/UmaBridgeLoadingTransparent.js';
109
112
  import { Upload } from './icons/Upload.js';
110
113
  import { WalletSDKIcon } from './icons/WalletSDKIcon.js';
111
114
  import { WarningSign } from './icons/WarningSign.js';
@@ -171,6 +174,7 @@ declare const icons_KotlinTwoTone: typeof KotlinTwoTone;
171
174
  declare const icons_LeftArrow: typeof LeftArrow;
172
175
  declare const icons_LightningOnRoundedSquare: typeof LightningOnRoundedSquare;
173
176
  declare const icons_LinkIcon: typeof LinkIcon;
177
+ declare const icons_LoadingCircleLines: typeof LoadingCircleLines;
174
178
  declare const icons_LoadingSpinner: typeof LoadingSpinner;
175
179
  declare const icons_Lock: typeof Lock;
176
180
  declare const icons_Logo: typeof Logo;
@@ -180,6 +184,7 @@ declare const icons_MagicWand: typeof MagicWand;
180
184
  declare const icons_Minus: typeof Minus;
181
185
  declare const icons_Monitor: typeof Monitor;
182
186
  declare const icons_NodeAdd: typeof NodeAdd;
187
+ declare const icons_NonagonCheckmark: typeof NonagonCheckmark;
183
188
  declare const icons_NotEye: typeof NotEye;
184
189
  declare const icons_PaperPlane: typeof PaperPlane;
185
190
  declare const icons_Pencil: typeof Pencil;
@@ -218,6 +223,7 @@ declare const icons_TwoArrowsDown: typeof TwoArrowsDown;
218
223
  declare const icons_TwoArrowsUp: typeof TwoArrowsUp;
219
224
  declare const icons_Uma: typeof Uma;
220
225
  declare const icons_UmaBridgeLoading: typeof UmaBridgeLoading;
226
+ declare const icons_UmaBridgeLoadingTransparent: typeof UmaBridgeLoadingTransparent;
221
227
  declare const icons_Upload: typeof Upload;
222
228
  declare const icons_WalletSDKIcon: typeof WalletSDKIcon;
223
229
  declare const icons_WarningSign: typeof WarningSign;
@@ -284,6 +290,7 @@ declare namespace icons {
284
290
  icons_LeftArrow as LeftArrow,
285
291
  icons_LightningOnRoundedSquare as LightningOnRoundedSquare,
286
292
  icons_LinkIcon as LinkIcon,
293
+ icons_LoadingCircleLines as LoadingCircleLines,
287
294
  icons_LoadingSpinner as LoadingSpinner,
288
295
  icons_Lock as Lock,
289
296
  icons_Logo as Logo,
@@ -293,6 +300,7 @@ declare namespace icons {
293
300
  icons_Minus as Minus,
294
301
  icons_Monitor as Monitor,
295
302
  icons_NodeAdd as NodeAdd,
303
+ icons_NonagonCheckmark as NonagonCheckmark,
296
304
  icons_NotEye as NotEye,
297
305
  icons_PaperPlane as PaperPlane,
298
306
  icons_Pencil as Pencil,
@@ -331,6 +339,7 @@ declare namespace icons {
331
339
  icons_TwoArrowsUp as TwoArrowsUp,
332
340
  icons_Uma as Uma,
333
341
  icons_UmaBridgeLoading as UmaBridgeLoading,
342
+ icons_UmaBridgeLoadingTransparent as UmaBridgeLoadingTransparent,
334
343
  icons_Upload as Upload,
335
344
  icons_WalletSDKIcon as WalletSDKIcon,
336
345
  icons_WarningSign as WarningSign,
@@ -59,6 +59,7 @@ import { KotlinTwoTone } from './icons/KotlinTwoTone.cjs';
59
59
  import { LeftArrow } from './icons/LeftArrow.cjs';
60
60
  import { LightningOnRoundedSquare } from './icons/LightningOnRoundedSquare.cjs';
61
61
  import { LinkIcon } from './icons/LinkIcon.cjs';
62
+ import { LoadingCircleLines } from './icons/LoadingCircleLines.cjs';
62
63
  import { LoadingSpinner } from './icons/LoadingSpinner.cjs';
63
64
  import { Lock } from './icons/Lock.cjs';
64
65
  import { Logo } from './icons/Logo.cjs';
@@ -68,6 +69,7 @@ import { MagicWand } from './icons/MagicWand.cjs';
68
69
  import { Minus } from './icons/Minus.cjs';
69
70
  import { Monitor } from './icons/Monitor.cjs';
70
71
  import { NodeAdd } from './icons/NodeAdd.cjs';
72
+ import { NonagonCheckmark } from './icons/NonagonCheckmark.cjs';
71
73
  import { NotEye } from './icons/NotEye.cjs';
72
74
  import { PaperPlane } from './icons/PaperPlane.cjs';
73
75
  import { Pencil } from './icons/Pencil.cjs';
@@ -106,6 +108,7 @@ import { TwoArrowsDown } from './icons/TwoArrowsDown.cjs';
106
108
  import { TwoArrowsUp } from './icons/TwoArrowsUp.cjs';
107
109
  import { Uma } from './icons/Uma.cjs';
108
110
  import { UmaBridgeLoading } from './icons/UmaBridgeLoading.cjs';
111
+ import { UmaBridgeLoadingTransparent } from './icons/UmaBridgeLoadingTransparent.cjs';
109
112
  import { Upload } from './icons/Upload.cjs';
110
113
  import { WalletSDKIcon } from './icons/WalletSDKIcon.cjs';
111
114
  import { WarningSign } from './icons/WarningSign.cjs';
@@ -171,6 +174,7 @@ declare const icons_KotlinTwoTone: typeof KotlinTwoTone;
171
174
  declare const icons_LeftArrow: typeof LeftArrow;
172
175
  declare const icons_LightningOnRoundedSquare: typeof LightningOnRoundedSquare;
173
176
  declare const icons_LinkIcon: typeof LinkIcon;
177
+ declare const icons_LoadingCircleLines: typeof LoadingCircleLines;
174
178
  declare const icons_LoadingSpinner: typeof LoadingSpinner;
175
179
  declare const icons_Lock: typeof Lock;
176
180
  declare const icons_Logo: typeof Logo;
@@ -180,6 +184,7 @@ declare const icons_MagicWand: typeof MagicWand;
180
184
  declare const icons_Minus: typeof Minus;
181
185
  declare const icons_Monitor: typeof Monitor;
182
186
  declare const icons_NodeAdd: typeof NodeAdd;
187
+ declare const icons_NonagonCheckmark: typeof NonagonCheckmark;
183
188
  declare const icons_NotEye: typeof NotEye;
184
189
  declare const icons_PaperPlane: typeof PaperPlane;
185
190
  declare const icons_Pencil: typeof Pencil;
@@ -218,6 +223,7 @@ declare const icons_TwoArrowsDown: typeof TwoArrowsDown;
218
223
  declare const icons_TwoArrowsUp: typeof TwoArrowsUp;
219
224
  declare const icons_Uma: typeof Uma;
220
225
  declare const icons_UmaBridgeLoading: typeof UmaBridgeLoading;
226
+ declare const icons_UmaBridgeLoadingTransparent: typeof UmaBridgeLoadingTransparent;
221
227
  declare const icons_Upload: typeof Upload;
222
228
  declare const icons_WalletSDKIcon: typeof WalletSDKIcon;
223
229
  declare const icons_WarningSign: typeof WarningSign;
@@ -284,6 +290,7 @@ declare namespace icons {
284
290
  icons_LeftArrow as LeftArrow,
285
291
  icons_LightningOnRoundedSquare as LightningOnRoundedSquare,
286
292
  icons_LinkIcon as LinkIcon,
293
+ icons_LoadingCircleLines as LoadingCircleLines,
287
294
  icons_LoadingSpinner as LoadingSpinner,
288
295
  icons_Lock as Lock,
289
296
  icons_Logo as Logo,
@@ -293,6 +300,7 @@ declare namespace icons {
293
300
  icons_Minus as Minus,
294
301
  icons_Monitor as Monitor,
295
302
  icons_NodeAdd as NodeAdd,
303
+ icons_NonagonCheckmark as NonagonCheckmark,
296
304
  icons_NotEye as NotEye,
297
305
  icons_PaperPlane as PaperPlane,
298
306
  icons_Pencil as Pencil,
@@ -331,6 +339,7 @@ declare namespace icons {
331
339
  icons_TwoArrowsUp as TwoArrowsUp,
332
340
  icons_Uma as Uma,
333
341
  icons_UmaBridgeLoading as UmaBridgeLoading,
342
+ icons_UmaBridgeLoadingTransparent as UmaBridgeLoadingTransparent,
334
343
  icons_Upload as Upload,
335
344
  icons_WalletSDKIcon as WalletSDKIcon,
336
345
  icons_WarningSign as WarningSign,
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";
package/dist/router.cjs CHANGED
@@ -1,251 +1,25 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __defProps = Object.defineProperties;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
- var __spreadValues = (a, b) => {
12
- for (var prop in b || (b = {}))
13
- if (__hasOwnProp.call(b, prop))
14
- __defNormalProp(a, prop, b[prop]);
15
- if (__getOwnPropSymbols)
16
- for (var prop of __getOwnPropSymbols(b)) {
17
- if (__propIsEnum.call(b, prop))
18
- __defNormalProp(a, prop, b[prop]);
19
- }
20
- return a;
21
- };
22
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
- var __export = (target, all) => {
24
- for (var name in all)
25
- __defProp(target, name, { get: all[name], enumerable: true });
26
- };
27
- var __copyProps = (to, from, except, desc) => {
28
- if (from && typeof from === "object" || typeof from === "function") {
29
- for (let key of __getOwnPropNames(from))
30
- if (!__hasOwnProp.call(to, key) && key !== except)
31
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
32
- }
33
- return to;
34
- };
35
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
-
37
- // src/router.tsx
38
- var router_exports = {};
39
- __export(router_exports, {
40
- Link: () => Link,
41
- Navigate: () => Navigate,
42
- getRouteName: () => getRouteName,
43
- replaceParams: () => replaceParams,
44
- useCurrentRoute: () => useCurrentRoute,
45
- useFindMatchingRoute: () => useFindMatchingRoute,
46
- useMatchRoute: () => useMatchRoute,
47
- useMatchRoutes: () => useMatchRoutes,
48
- useNavigate: () => useNavigate
49
- });
50
- module.exports = __toCommonJS(router_exports);
51
- var import_lodash_es = require("lodash-es");
52
- var import_react = require("react");
53
- var import_react_router_dom = require("react-router-dom");
54
-
55
- // src/styles/colors.tsx
56
- var neutral = {
57
- black: "#000000",
58
- gray5: "#0D0D0D",
59
- gray10: "#1A1A1A",
60
- gray15: "#262626",
61
- gray20: "#333333",
62
- gray25: "#404040",
63
- gray30: "#4D4D4D",
64
- gray40: "#666666",
65
- gray50: "#808080",
66
- gray60: "#999999",
67
- gray70: "#B3B3B3",
68
- gray80: "#CCCCCC",
69
- gray85: "#D9D9D9",
70
- gray90: "#E6E6E6",
71
- gray91: "#171717",
72
- gray95: "#F2F2F2",
73
- gray98: "#F9F9F9",
74
- white: "#FFFFFF"
75
- };
76
- var primary = "#FFF14E";
77
- var baseColors = __spreadProps(__spreadValues({}, neutral), {
78
- // green
79
- success: "#17C27C",
80
- green33: "#179257",
81
- // blue
82
- blue43: "#145BC6",
83
- blue22: "#0E2E60",
84
- blue39: "#0068C9",
85
- blue37: "#21529c",
86
- blue58: "#28BFFF",
87
- // less than 50% saturated blue
88
- grayBlue5: "#0c0d0f",
89
- grayBlue9: "#16171A",
90
- grayBlue18: "#21283a",
91
- grayBlue32: "#4F5156",
92
- grayBlue43: "#686A72",
93
- grayBlue45: "#676F80",
94
- grayBlue57: "#8B8E98",
95
- grayBlue67: "#9BA7B9",
96
- grayBlue80: "#C0C9D6",
97
- grayBlue88: "#DEDFE4",
98
- grayBlue94: "#EBEEF2",
99
- grayBlue96: "#F2F5F7",
100
- // purple
101
- purple43: "#820AD1",
102
- purple55: "#8B38DE",
103
- // red
104
- red42a10: "#D800271A",
105
- // yellow
106
- primary,
107
- warning: primary,
108
- // orange
109
- danger: "#FD2C0F",
110
- // neutral
111
- secondary: neutral.black
112
- });
113
- var colors = baseColors;
114
-
115
- // src/utils/strings.tsx
116
- function isString(str) {
117
- return typeof str === "string";
118
- }
119
-
120
- // src/router.tsx
121
- var import_jsx_runtime = require("@emotion/react/jsx-runtime");
122
- function replaceParams(to, params) {
123
- if (params) {
124
- let toWithParams = to;
125
- Object.entries((0, import_lodash_es.omit)(params, "query")).forEach(([key, value]) => {
126
- if (typeof value !== "string") {
127
- throw new Error(
128
- `Only 'query' may be an object. Route params must be a string, but '${key}' is not.`
129
- );
130
- }
131
- toWithParams = toWithParams.replace(`:${key}`, value);
132
- });
133
- if (params.query) {
134
- let query = params.query;
135
- if (typeof query !== "string") {
136
- query = Object.entries(params.query).map(([key, value]) => `${key}${value ? `=${value}` : ""}`).join("&");
137
- }
138
- toWithParams = `${toWithParams}?${query}`;
139
- }
140
- to = toWithParams;
141
- }
142
- return to;
143
- }
144
- function Link({
145
- to,
146
- id,
147
- externalLink,
148
- params,
149
- children,
150
- css,
151
- onClick,
152
- className,
153
- hash = null,
154
- blue = false,
155
- newTab = false
156
- }) {
157
- if (!isString(to) && !externalLink && !onClick) {
158
- throw new Error(
159
- "Link must have either `to` or `externalLink` or `onClick` defined"
160
- );
161
- }
162
- let toStr;
163
- if (isString(to)) {
164
- toStr = replaceParams(to, params);
165
- toStr += hash ? `#${hash}` : "";
166
- } else if (externalLink) {
167
- const definedExternalLink = externalLink;
168
- if (!definedExternalLink.startsWith("http")) {
169
- throw new Error("Link's externalLink must start with http");
170
- }
171
- toStr = definedExternalLink;
172
- } else {
173
- toStr = "#";
174
- }
175
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
176
- import_react_router_dom.Link,
177
- {
178
- to: toStr,
179
- id,
180
- css,
181
- onClick,
182
- className,
183
- style: { color: blue ? colors.blue43 : "inherit" },
184
- target: newTab ? "_blank" : void 0,
185
- rel: newTab ? "noopener noreferrer" : void 0,
186
- children
187
- }
188
- );
189
- }
190
- function Navigate({
191
- to,
192
- params,
193
- state,
194
- replace = false
195
- }) {
196
- to = replaceParams(to, params);
197
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_router_dom.Navigate, { to, state, replace });
198
- }
199
- function useNavigate() {
200
- const navigate = (0, import_react_router_dom.useNavigate)();
201
- return (0, import_react.useCallback)(
202
- (to, params, options) => {
203
- if (typeof to === "string") {
204
- to = replaceParams(to, params);
205
- return navigate(to, options);
206
- }
207
- return navigate(to);
208
- },
209
- [navigate]
210
- );
211
- }
212
- function useMatchRoutes(routes) {
213
- const location = (0, import_react_router_dom.useLocation)();
214
- const doesMatch = routes.some((route) => (0, import_react_router_dom.matchPath)(route, location.pathname));
215
- return doesMatch;
216
- }
217
- function useFindMatchingRoute(routes) {
218
- const location = (0, import_react_router_dom.useLocation)();
219
- const matchingRoute = routes.find(
220
- (route) => (0, import_react_router_dom.matchPath)(route, location.pathname)
221
- );
222
- return matchingRoute;
223
- }
224
- function useMatchRoute(route) {
225
- const location = (0, import_react_router_dom.useLocation)();
226
- return (0, import_react_router_dom.matchPath)(route, location.pathname);
227
- }
228
- function useCurrentRoute() {
229
- const location = (0, import_react_router_dom.useLocation)();
230
- return location.pathname;
231
- }
232
- function getRouteName(path, routes) {
233
- for (const routeName of Object.keys(routes)) {
234
- if ((0, import_react_router_dom.matchPath)(routes[routeName], path)) {
235
- return routeName;
236
- }
237
- }
238
- return null;
239
- }
240
- // Annotate the CommonJS export names for ESM import in node:
241
- 0 && (module.exports = {
242
- Link,
243
- Navigate,
244
- getRouteName,
245
- replaceParams,
246
- useCurrentRoute,
247
- useFindMatchingRoute,
248
- useMatchRoute,
249
- useMatchRoutes,
250
- useNavigate
251
- });
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ var _chunkQCJWZRIPcjs = require('./chunk-QCJWZRIP.cjs');
12
+ require('./chunk-7PRNB5U5.cjs');
13
+ require('./chunk-KSKKC6C2.cjs');
14
+ require('./chunk-LKKJVJCG.cjs');
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+ exports.Link = _chunkQCJWZRIPcjs.Link; exports.Navigate = _chunkQCJWZRIPcjs.Navigate; exports.getRouteName = _chunkQCJWZRIPcjs.getRouteName; exports.replaceParams = _chunkQCJWZRIPcjs.replaceParams; exports.useCurrentRoute = _chunkQCJWZRIPcjs.useCurrentRoute; exports.useFindMatchingRoute = _chunkQCJWZRIPcjs.useFindMatchingRoute; exports.useMatchRoute = _chunkQCJWZRIPcjs.useMatchRoute; exports.useMatchRoutes = _chunkQCJWZRIPcjs.useMatchRoutes; exports.useNavigate = _chunkQCJWZRIPcjs.useNavigate;
package/dist/router.d.cts CHANGED
@@ -17,6 +17,7 @@ type LinkProps<RoutesType extends string> = {
17
17
  to?: RoutesType | undefined;
18
18
  id?: string | undefined;
19
19
  externalLink?: ExternalLink | undefined;
20
+ filename?: string | undefined;
20
21
  onClick?: MouseEventHandler<HTMLAnchorElement> | undefined;
21
22
  params?: RouteParams | undefined;
22
23
  children?: react__default.ReactNode;
@@ -27,7 +28,7 @@ type LinkProps<RoutesType extends string> = {
27
28
  hash?: RouteHash | undefined;
28
29
  };
29
30
  declare function replaceParams<RoutesType extends string>(to: RoutesType, params: LinkProps<RoutesType>["params"]): RoutesType;
30
- declare function Link<RoutesType extends string>({ to, id, externalLink, params, children, css, onClick, className, hash, blue, newTab, }: LinkProps<RoutesType>): _emotion_react_jsx_runtime.JSX.Element;
31
+ declare function Link<RoutesType extends string>({ to, id, externalLink, filename, params, children, css, onClick, className, hash, blue, newTab, }: LinkProps<RoutesType>): _emotion_react_jsx_runtime.JSX.Element;
31
32
  type NavigateProps<RoutesType extends string> = Omit<LinkProps<RoutesType>, "children"> & {
32
33
  to: RoutesType;
33
34
  state?: unknown;
package/dist/router.d.ts CHANGED
@@ -17,6 +17,7 @@ type LinkProps<RoutesType extends string> = {
17
17
  to?: RoutesType | undefined;
18
18
  id?: string | undefined;
19
19
  externalLink?: ExternalLink | undefined;
20
+ filename?: string | undefined;
20
21
  onClick?: MouseEventHandler<HTMLAnchorElement> | undefined;
21
22
  params?: RouteParams | undefined;
22
23
  children?: react__default.ReactNode;
@@ -27,7 +28,7 @@ type LinkProps<RoutesType extends string> = {
27
28
  hash?: RouteHash | undefined;
28
29
  };
29
30
  declare function replaceParams<RoutesType extends string>(to: RoutesType, params: LinkProps<RoutesType>["params"]): RoutesType;
30
- declare function Link<RoutesType extends string>({ to, id, externalLink, params, children, css, onClick, className, hash, blue, newTab, }: LinkProps<RoutesType>): _emotion_react_jsx_runtime.JSX.Element;
31
+ declare function Link<RoutesType extends string>({ to, id, externalLink, filename, params, children, css, onClick, className, hash, blue, newTab, }: LinkProps<RoutesType>): _emotion_react_jsx_runtime.JSX.Element;
31
32
  type NavigateProps<RoutesType extends string> = Omit<LinkProps<RoutesType>, "children"> & {
32
33
  to: RoutesType;
33
34
  state?: unknown;
package/dist/router.js CHANGED
@@ -8,9 +8,9 @@ import {
8
8
  useMatchRoute,
9
9
  useMatchRoutes,
10
10
  useNavigate
11
- } from "./chunk-SCIQSZSW.js";
11
+ } from "./chunk-34MTU3ER.js";
12
12
  import "./chunk-EDN2QDCB.js";
13
- import "./chunk-KPAVY3UH.js";
13
+ import "./chunk-REL56P3K.js";
14
14
  import "./chunk-LOPKRCGI.js";
15
15
  export {
16
16
  Link,