@lightsparkdev/ui 1.0.10 → 1.0.12
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.
- package/CHANGELOG.md +31 -1
- package/dist/chunk-23OGEUAA.cjs +89 -0
- package/dist/chunk-2466FZJC.js +15 -0
- package/dist/chunk-24B3POUB.js +68 -0
- package/dist/chunk-24LPJJHJ.js +31 -0
- package/dist/chunk-2DRWZCMM.cjs +31 -0
- package/dist/chunk-2FWNZBZE.js +77 -0
- package/dist/chunk-2LRIRGH3.cjs +31 -0
- package/dist/chunk-2Q7NWUOL.cjs +40 -0
- package/dist/chunk-2T5Z36FG.cjs +28 -0
- package/dist/chunk-2YWN7AMD.js +26 -0
- package/dist/chunk-2ZQXX5QN.cjs +40 -0
- package/dist/chunk-35422IVB.js +73 -0
- package/dist/chunk-3CC6QLHR.cjs +31 -0
- package/dist/chunk-3DZBJFI6.cjs +56 -0
- package/dist/chunk-3ENUNXXT.cjs +31 -0
- package/dist/chunk-3JH7VKIA.js +366 -0
- package/dist/chunk-3KKC4JH2.cjs +191 -0
- package/dist/chunk-3RSPLU4N.cjs +31 -0
- package/dist/chunk-3XHBIFRP.cjs +32 -0
- package/dist/chunk-47766MAP.cjs +60 -0
- package/dist/chunk-4BF5OJOG.js +53 -0
- package/dist/chunk-4H7CTVLY.js +164 -0
- package/dist/chunk-4NYJ4H6P.js +24 -0
- package/dist/chunk-4RHUIDWO.js +322 -0
- package/dist/chunk-4SQPA3NZ.js +30 -0
- package/dist/chunk-4SYS6DNZ.cjs +84 -0
- package/dist/chunk-4TRRSQCH.cjs +67 -0
- package/dist/chunk-4U5DM3S3.cjs +31 -0
- package/dist/chunk-4WPCKAKN.js +32 -0
- package/dist/chunk-53EV2WQY.js +163 -0
- package/dist/chunk-55Q7PRWQ.js +54 -0
- package/dist/chunk-5ETWW3MY.cjs +29 -0
- package/dist/chunk-5H4BI3W4.js +26 -0
- package/dist/chunk-5K5AYIT3.cjs +374 -0
- package/dist/chunk-5KOPIDPY.js +101 -0
- package/dist/chunk-5N2IZZTU.js +57 -0
- package/dist/chunk-5OGIVMZJ.js +53 -0
- package/dist/chunk-5V4FEIGE.cjs +29 -0
- package/dist/chunk-5YBPA32P.js +35 -0
- package/dist/chunk-5ZVWTD6L.cjs +26 -0
- package/dist/chunk-66BLXSWO.cjs +58 -0
- package/dist/chunk-67WFM4DK.js +26 -0
- package/dist/chunk-6DU7EFD6.js +150 -0
- package/dist/chunk-6IAPO7QF.cjs +31 -0
- package/dist/chunk-6PQGI7PY.cjs +158 -0
- package/dist/chunk-6TBJ3WAQ.js +35 -0
- package/dist/chunk-6VYXAPL5.cjs +129 -0
- package/dist/chunk-6XSWUT6N.cjs +31 -0
- package/dist/chunk-74WE3XMA.js +31 -0
- package/dist/chunk-774SVRJM.js +75 -0
- package/dist/chunk-7GDAU2A5.js +40 -0
- package/dist/chunk-7HUGOQWD.cjs +39 -0
- package/dist/chunk-7LDS4SRD.js +49 -0
- package/dist/chunk-7LMCUJSK.js +51 -0
- package/dist/chunk-7MJAEOCT.cjs +366 -0
- package/dist/chunk-7P6IZGDK.cjs +43 -0
- package/dist/chunk-7TBJ4QRU.js +30 -0
- package/dist/chunk-7WVHZ7QB.cjs +41 -0
- package/dist/chunk-A4V6K3NL.cjs +26 -0
- package/dist/chunk-A5ZRYK3E.js +200 -0
- package/dist/chunk-AAME5FDM.js +38 -0
- package/dist/chunk-ABVJG7FC.js +56 -0
- package/dist/chunk-AHDGEAU3.cjs +26 -0
- package/dist/chunk-AIJ4JHXB.cjs +94 -0
- package/dist/chunk-AJW2KEMX.cjs +54 -0
- package/dist/chunk-AL5EN3OS.cjs +35 -0
- package/dist/chunk-AMHVEQMW.cjs +30 -0
- package/dist/chunk-ANSJY57D.cjs +43 -0
- package/dist/chunk-ARWE2RT6.js +43 -0
- package/dist/chunk-ASI7Y3M5.js +101 -0
- package/dist/chunk-ATCXH4ZA.cjs +89 -0
- package/dist/chunk-AV62WHL7.js +94 -0
- package/dist/chunk-AWILIHUP.cjs +53 -0
- package/dist/chunk-AZ5X6OZD.cjs +51 -0
- package/dist/chunk-AZALJITU.js +26 -0
- package/dist/chunk-AZSSORPU.js +4097 -0
- package/dist/chunk-B5GAL6FT.cjs +26 -0
- package/dist/chunk-BBUM55WQ.cjs +29 -0
- package/dist/chunk-BDWIY7XT.js +52 -0
- package/dist/chunk-BHJZ6MSD.cjs +43 -0
- package/dist/chunk-BI43T24B.cjs +25 -0
- package/dist/chunk-BJSYSTAY.js +129 -0
- package/dist/chunk-BKCJOZOI.js +31 -0
- package/dist/chunk-BKWQR4DL.cjs +291 -0
- package/dist/chunk-BOZO2MC4.js +84 -0
- package/dist/chunk-BQMS62AQ.js +31 -0
- package/dist/chunk-BRXGIA2O.js +29 -0
- package/dist/chunk-BW4YJMRG.cjs +44 -0
- package/dist/chunk-C6XJ7ZJF.cjs +640 -0
- package/dist/chunk-CBMUUZOJ.js +32 -0
- package/dist/chunk-CBPXRCT4.cjs +98 -0
- package/dist/chunk-CH2PLO6F.cjs +47 -0
- package/dist/chunk-CIPNSK37.js +67 -0
- package/dist/chunk-CMFAVB4T.js +38 -0
- package/dist/chunk-CMVAGQAD.js +35 -0
- package/dist/chunk-COOUYFZY.cjs +25 -0
- package/dist/chunk-CPMIR5VM.js +47 -0
- package/dist/chunk-CPSWVYVW.js +95 -0
- package/dist/chunk-CSKAG4GK.cjs +35 -0
- package/dist/chunk-CU526BHG.js +26 -0
- package/dist/chunk-CYP2PSHA.js +60 -0
- package/dist/chunk-CZ6BVVYO.cjs +54 -0
- package/dist/chunk-D54SWGNX.js +31 -0
- package/dist/chunk-DDRYWSRC.cjs +24 -0
- package/dist/chunk-DGSDE672.js +351 -0
- package/dist/chunk-DOX6V46V.cjs +315 -0
- package/dist/chunk-DQ74DHTA.cjs +31 -0
- package/dist/chunk-DQTVRADP.js +31 -0
- package/dist/chunk-DSXD2AYT.js +32 -0
- package/dist/chunk-DYWIRRUN.cjs +31 -0
- package/dist/chunk-E5ICVBJN.js +73 -0
- package/dist/chunk-EEVXVQKM.js +26 -0
- package/dist/chunk-EH2OYE5W.cjs +31 -0
- package/dist/chunk-ENPMQ6GR.cjs +57 -0
- package/dist/chunk-ETVTOI55.js +170 -0
- package/dist/chunk-EYATIQFP.cjs +43 -0
- package/dist/chunk-EYLWCQQS.js +31 -0
- package/dist/chunk-EZAUWB7J.cjs +31 -0
- package/dist/chunk-F22X3YUD.cjs +26 -0
- package/dist/chunk-F2XDXARE.js +55 -0
- package/dist/chunk-FC3BTZUR.js +158 -0
- package/dist/chunk-FDAOZI2M.cjs +31 -0
- package/dist/chunk-FHSUCKWT.js +43 -0
- package/dist/chunk-FKTI5NUC.js +23 -0
- package/dist/chunk-FM64WRDF.js +29 -0
- package/dist/chunk-FOM2WDPQ.cjs +29 -0
- package/dist/chunk-FR73DFNG.cjs +58 -0
- package/dist/chunk-FTTZSNVV.cjs +163 -0
- package/dist/chunk-FU4P3SS6.cjs +31 -0
- package/dist/chunk-FYOO7WC6.cjs +26 -0
- package/dist/chunk-FZUV52PP.js +47 -0
- package/dist/chunk-G3CGGNAN.js +50 -0
- package/dist/chunk-G3IX67DG.cjs +31 -0
- package/dist/chunk-G4BSGC7X.cjs +31 -0
- package/dist/chunk-G6OCHOW7.cjs +26 -0
- package/dist/chunk-GBOBMCRP.cjs +140 -0
- package/dist/chunk-GCB7CZV6.js +31 -0
- package/dist/chunk-GDC7HXN5.js +315 -0
- package/dist/chunk-GG7Q3VQ6.js +72 -0
- package/dist/chunk-GHAFTTAZ.cjs +101 -0
- package/dist/chunk-GHWSM6PO.cjs +31 -0
- package/dist/chunk-GJL5Z2XV.js +31 -0
- package/dist/chunk-GLSWZ36Y.cjs +322 -0
- package/dist/chunk-GMBFHOBN.js +25 -0
- package/dist/chunk-GMVP3EYX.cjs +23 -0
- package/dist/chunk-GNHERYF4.cjs +43 -0
- package/dist/chunk-GPSNZNRK.cjs +165 -0
- package/dist/chunk-GRGNVKQF.js +41 -0
- package/dist/chunk-GRLGEEEL.cjs +43 -0
- package/dist/chunk-H32UFZ4X.cjs +38 -0
- package/dist/chunk-H3OLYLZQ.cjs +31 -0
- package/dist/chunk-H4K2ZEF4.js +507 -0
- package/dist/chunk-H5TVOVCX.js +58 -0
- package/dist/chunk-HAXWNU7K.cjs +52 -0
- package/dist/chunk-HCKCJR5Y.js +640 -0
- package/dist/chunk-HCOW6636.cjs +21 -0
- package/dist/chunk-HGKK6OQJ.js +23 -0
- package/dist/chunk-HHYISJUB.cjs +31 -0
- package/dist/chunk-HIA3H6YK.js +39 -0
- package/dist/chunk-HIWEVNZA.js +31 -0
- package/dist/chunk-HLDOB52A.cjs +34 -0
- package/dist/chunk-HO7LVJ3R.js +137 -0
- package/dist/chunk-HRNYKB2C.js +34 -0
- package/dist/chunk-HSNTRQ7D.js +24 -0
- package/dist/chunk-HXNEBHAR.js +80 -0
- package/dist/chunk-I6XDZ76B.js +35 -0
- package/dist/chunk-IAGH4CKJ.js +274 -0
- package/dist/chunk-IBPPT3NU.cjs +407 -0
- package/dist/chunk-IETDJ4VJ.js +30 -0
- package/dist/chunk-IGBNU4B5.cjs +125 -0
- package/dist/chunk-IHPPW7AC.js +31 -0
- package/dist/chunk-IJGP5N74.js +31 -0
- package/dist/chunk-IJUGHSUV.cjs +26 -0
- package/dist/chunk-IM5HCKLR.cjs +73 -0
- package/dist/chunk-ISJUDEVT.cjs +218 -0
- package/dist/chunk-ITGYBPXM.js +129 -0
- package/dist/chunk-IVR625TW.js +374 -0
- package/dist/chunk-IWKBCFHJ.cjs +24 -0
- package/dist/chunk-J5TNC4VK.cjs +507 -0
- package/dist/chunk-JAGLJ4EU.js +52 -0
- package/dist/chunk-JBCEOOZS.cjs +137 -0
- package/dist/chunk-JDWL6PDJ.cjs +99 -0
- package/dist/chunk-JJ5FC4G4.cjs +25 -0
- package/dist/chunk-JOUCRBCH.js +31 -0
- package/dist/chunk-JUVYJIXR.cjs +30 -0
- package/dist/chunk-JVEEX5WK.cjs +170 -0
- package/dist/chunk-K3ACAFJ2.js +26 -0
- package/dist/chunk-K3FHRZSU.js +653 -0
- package/dist/chunk-KDUQH43X.cjs +28 -0
- package/dist/chunk-KFFGSG6N.js +249 -0
- package/dist/chunk-KHCCPRY7.cjs +53 -0
- package/dist/chunk-KHEPTT3O.js +44 -0
- package/dist/chunk-KHWDSWRH.cjs +32 -0
- package/dist/chunk-KI3YLNIT.cjs +53 -0
- package/dist/chunk-KN5BA5GV.js +20 -0
- package/dist/chunk-KOU32XJ2.cjs +129 -0
- package/dist/chunk-KTV5DXZQ.cjs +38 -0
- package/dist/chunk-KUDJQH6S.js +53 -0
- package/dist/chunk-KX3LU3EN.cjs +31 -0
- package/dist/chunk-KYPG23A5.cjs +23 -0
- package/dist/chunk-L3OT4CVD.cjs +46 -0
- package/dist/chunk-L3U3VIEJ.cjs +15 -0
- package/dist/chunk-L56T5KV2.cjs +31 -0
- package/dist/chunk-L6V3S6ZA.js +125 -0
- package/dist/chunk-LALHIOAE.cjs +29 -0
- package/dist/chunk-LDQCPJGF.js +94 -0
- package/dist/chunk-LE6VBBOJ.cjs +73 -0
- package/dist/chunk-LEM2VWU3.cjs +80 -0
- package/dist/chunk-LLVSDC5Z.cjs +31 -0
- package/dist/chunk-LNQFUFVM.js +46 -0
- package/dist/chunk-LQ7N5FRY.cjs +274 -0
- package/dist/chunk-LQEMFKCF.js +31 -0
- package/dist/chunk-LTAR34WV.cjs +95 -0
- package/dist/chunk-LX7VGFNI.js +31 -0
- package/dist/chunk-LXENASLG.cjs +26 -0
- package/dist/chunk-LXPA6OZD.js +99 -0
- package/dist/chunk-LYVDYZ4M.js +29 -0
- package/dist/chunk-M3SFKHYM.js +584 -0
- package/dist/chunk-M4345TMD.js +233 -0
- package/dist/chunk-MAJGPNTK.js +327 -0
- package/dist/chunk-MJT45BKR.cjs +29 -0
- package/dist/chunk-MKFYFJ3Q.js +31 -0
- package/dist/chunk-ML27YGLI.js +43 -0
- package/dist/chunk-MN64OE4X.cjs +44 -0
- package/dist/chunk-MORFJJA6.cjs +31 -0
- package/dist/chunk-MPLG4K2N.cjs +155 -0
- package/dist/chunk-MSP3QRA4.js +75 -0
- package/dist/chunk-MTGIVYDC.cjs +31 -0
- package/dist/chunk-MTQPR56G.cjs +75 -0
- package/dist/chunk-MWKTG4OY.cjs +31 -0
- package/dist/chunk-MWLC4ITH.cjs +200 -0
- package/dist/chunk-MXEXCNVB.cjs +75 -0
- package/dist/chunk-MXSPA6A5.js +436 -0
- package/dist/chunk-MYYHNYPZ.cjs +31 -0
- package/dist/chunk-N5PWG2KY.cjs +35 -0
- package/dist/chunk-NB36L4H3.cjs +31 -0
- package/dist/chunk-NC77CVAQ.cjs +52 -0
- package/dist/chunk-NMT43L6J.cjs +31 -0
- package/dist/chunk-NN7VXYS5.cjs +653 -0
- package/dist/chunk-NQWT3YD6.js +35 -0
- package/dist/chunk-NTGAPKFA.js +342 -0
- package/dist/chunk-NUXSVPEO.cjs +31 -0
- package/dist/chunk-OAA7QSMX.js +31 -0
- package/dist/chunk-OFZVJPBJ.js +99 -0
- package/dist/chunk-OJOYEIU2.js +31 -0
- package/dist/chunk-OJSXSEA4.js +31 -0
- package/dist/chunk-OPQ3OYOA.js +104 -0
- package/dist/chunk-OTVNFRHW.js +38 -0
- package/dist/chunk-OUVY3GFY.js +56 -0
- package/dist/chunk-P7H66N4C.js +35 -0
- package/dist/chunk-PEOEIN2Q.js +191 -0
- package/dist/chunk-PEVHTJZU.cjs +29 -0
- package/dist/chunk-PFUM46F7.js +31 -0
- package/dist/chunk-PG25LYTU.cjs +327 -0
- package/dist/chunk-PJXM7TA3.js +31 -0
- package/dist/chunk-PMKBHZ4E.cjs +35 -0
- package/dist/chunk-POOHYK25.cjs +32 -0
- package/dist/chunk-PVEDEZJZ.js +169 -0
- package/dist/chunk-PW7HEV4R.cjs +13 -0
- package/dist/chunk-PWLKDT2K.js +89 -0
- package/dist/chunk-PY6SGAVS.js +28 -0
- package/dist/chunk-PYV6DRBL.cjs +72 -0
- package/dist/chunk-Q7O5UNXN.js +31 -0
- package/dist/chunk-QA7NKYGQ.js +31 -0
- package/dist/chunk-QI6VWILS.js +67 -0
- package/dist/chunk-QKEOAUTX.js +29 -0
- package/dist/chunk-QN3JI3W3.js +32 -0
- package/dist/chunk-QPBAMJDW.js +31 -0
- package/dist/chunk-QUSKVCX2.js +40 -0
- package/dist/chunk-QUTVNUD3.cjs +30 -0
- package/dist/chunk-QV2H2IH5.js +31 -0
- package/dist/chunk-QV2SZAAX.js +58 -0
- package/dist/chunk-QVOEB2KR.js +26 -0
- package/dist/chunk-QWR5YHRM.js +31 -0
- package/dist/chunk-QWXH7CSV.cjs +67 -0
- package/dist/chunk-QZKO5K7K.cjs +101 -0
- package/dist/chunk-R544PD7U.cjs +49 -0
- package/dist/chunk-R6J2VHHF.js +43 -0
- package/dist/chunk-RAWDWQ5S.cjs +20 -0
- package/dist/chunk-RBWRQTGB.cjs +169 -0
- package/dist/chunk-RC5JHTD7.cjs +342 -0
- package/dist/chunk-REHJMAGS.js +31 -0
- package/dist/chunk-RHWR2O34.js +48 -0
- package/dist/chunk-RJ737CIF.cjs +35 -0
- package/dist/chunk-RJQ3DREP.js +41 -0
- package/dist/chunk-RNDP3523.js +504 -0
- package/dist/chunk-RRB4QAW7.js +29 -0
- package/dist/chunk-RROZ5XYP.cjs +99 -0
- package/dist/chunk-RSZP4OJA.cjs +54 -0
- package/dist/chunk-RT7X3ZOO.js +108 -0
- package/dist/chunk-RUJJ7EDO.cjs +416 -0
- package/dist/chunk-RYUBADKE.js +13 -0
- package/dist/chunk-S3MYMANK.js +28 -0
- package/dist/chunk-SBDTS7O3.js +32 -0
- package/dist/chunk-SGVJXPX7.js +73 -0
- package/dist/chunk-SNWQ665Q.js +25 -0
- package/dist/chunk-SOGADTSR.js +98 -0
- package/dist/chunk-SP3BMGMU.cjs +68 -0
- package/dist/chunk-ST3ESOEO.js +165 -0
- package/dist/chunk-SWQDRB3A.cjs +164 -0
- package/dist/chunk-SYK3ZI26.cjs +584 -0
- package/dist/chunk-SZKZWADN.cjs +4097 -0
- package/dist/chunk-T2BWXID7.js +168 -0
- package/dist/chunk-T7MOHHJE.js +35 -0
- package/dist/chunk-TANQHQ2I.js +35 -0
- package/dist/chunk-TD7GFSMN.js +31 -0
- package/dist/chunk-TDJ7NEQX.cjs +100 -0
- package/dist/chunk-TDSGZFCT.js +140 -0
- package/dist/chunk-TETFIMNO.cjs +108 -0
- package/dist/chunk-TGNWD4ZG.js +67 -0
- package/dist/chunk-TLLFD4ZU.js +31 -0
- package/dist/chunk-TP3PDGQB.cjs +46 -0
- package/dist/chunk-TPTRQKV2.cjs +35 -0
- package/dist/chunk-TQFTLCOD.cjs +150 -0
- package/dist/chunk-TUNKNOBK.cjs +31 -0
- package/dist/chunk-TUV3P3AL.cjs +41 -0
- package/dist/chunk-TZEWS2YL.js +29 -0
- package/dist/chunk-U7DKVU2I.cjs +47 -0
- package/dist/chunk-UC3YQZIA.cjs +31 -0
- package/dist/chunk-UCAODZLU.js +35 -0
- package/dist/chunk-UCTTDHY6.js +44 -0
- package/dist/chunk-UE3WNLRT.js +26 -0
- package/dist/chunk-UH6CSXBF.cjs +35 -0
- package/dist/chunk-UHFU3I4B.js +30 -0
- package/dist/chunk-ULIKCHGY.cjs +35 -0
- package/dist/chunk-UMW2YGQI.cjs +118 -0
- package/dist/chunk-UUJOF4TC.cjs +50 -0
- package/dist/chunk-V2JQKFFB.cjs +55 -0
- package/dist/chunk-V2N4S2HL.cjs +168 -0
- package/dist/chunk-V5WYUOGL.js +46 -0
- package/dist/chunk-VGQOENLH.js +31 -0
- package/dist/chunk-VK3H73S2.cjs +31 -0
- package/dist/chunk-VKOZFTCX.cjs +67 -0
- package/dist/chunk-VLHC2EXB.cjs +31 -0
- package/dist/chunk-VNROMCYV.cjs +504 -0
- package/dist/chunk-VPWN2FCB.js +54 -0
- package/dist/chunk-VQN2N26R.js +43 -0
- package/dist/chunk-VVRNYQ3J.js +129 -0
- package/dist/chunk-VXZ7H5N5.js +118 -0
- package/dist/chunk-W7JGP24B.cjs +104 -0
- package/dist/chunk-W7TFYYYB.js +31 -0
- package/dist/chunk-WHRKM7UL.cjs +56 -0
- package/dist/chunk-WKKD3NF6.js +31 -0
- package/dist/chunk-WKPWEJSW.cjs +233 -0
- package/dist/chunk-WUPMVX4G.js +407 -0
- package/dist/chunk-WW3XB4NG.js +291 -0
- package/dist/chunk-WY63TJ7S.js +31 -0
- package/dist/chunk-WYI5QIGG.cjs +38 -0
- package/dist/chunk-WYK3Q2DP.js +35 -0
- package/dist/chunk-WYYSFYDE.js +31 -0
- package/dist/chunk-X4AII3DN.js +155 -0
- package/dist/chunk-X6N5NKSP.js +43 -0
- package/dist/chunk-XAODBL4D.cjs +249 -0
- package/dist/chunk-XFNMLVTD.cjs +26 -0
- package/dist/chunk-XFVRDQH7.cjs +32 -0
- package/dist/chunk-XJ3UGTYC.js +25 -0
- package/dist/chunk-XOTPCTYH.cjs +35 -0
- package/dist/chunk-XR7TFTV6.cjs +32 -0
- package/dist/chunk-XTOBN7SG.js +21 -0
- package/dist/chunk-Y3PPLR3S.cjs +436 -0
- package/dist/chunk-Y56ARX56.js +31 -0
- package/dist/chunk-YDPZCOU3.cjs +77 -0
- package/dist/chunk-YEGEF62V.cjs +30 -0
- package/dist/chunk-YFRUEGET.cjs +35 -0
- package/dist/chunk-YGOTODKE.js +31 -0
- package/dist/chunk-YHCTFSBK.cjs +129 -0
- package/dist/chunk-YLZVGRVF.js +218 -0
- package/dist/chunk-YO3KUPPI.js +35 -0
- package/dist/chunk-YSZZ2EO6.js +416 -0
- package/dist/chunk-YV7GYR77.cjs +31 -0
- package/dist/chunk-Z3KLTHA6.cjs +31 -0
- package/dist/chunk-Z6TZF3W2.js +89 -0
- package/dist/chunk-Z7RV7ITM.cjs +73 -0
- package/dist/chunk-ZDKHSLBB.js +100 -0
- package/dist/chunk-ZHPDXKF2.cjs +35 -0
- package/dist/chunk-ZI7GPZP6.cjs +48 -0
- package/dist/chunk-ZJFTFFBE.cjs +351 -0
- package/dist/chunk-ZJFUJTKS.cjs +31 -0
- package/dist/chunk-ZNA7SHZM.js +54 -0
- package/dist/chunk-ZQ6LKGI6.js +29 -0
- package/dist/chunk-ZQEMMDJA.js +26 -0
- package/dist/chunk-ZVFRBBRG.cjs +94 -0
- package/dist/components/Badge.cjs +130 -105
- package/dist/components/Badge.d.cts +33 -10
- package/dist/components/Badge.d.ts +33 -10
- package/dist/components/Badge.js +129 -104
- package/dist/components/Banner/Banner.cjs +129 -104
- package/dist/components/Banner/Banner.d.cts +29 -6
- package/dist/components/Banner/Banner.d.ts +29 -6
- package/dist/components/Banner/Banner.js +128 -103
- package/dist/components/BlockAlert.cjs +131 -106
- package/dist/components/BlockAlert.js +129 -104
- package/dist/components/Button.cjs +125 -104
- package/dist/components/Button.d.cts +19 -11
- package/dist/components/Button.d.ts +19 -11
- package/dist/components/Button.js +124 -103
- package/dist/components/ButtonRow.cjs +127 -106
- package/dist/components/ButtonRow.d.cts +11 -5
- package/dist/components/ButtonRow.d.ts +11 -5
- package/dist/components/ButtonRow.js +126 -105
- package/dist/components/CardForm/CardForm.cjs +143 -124
- package/dist/components/CardForm/CardForm.d.cts +31 -9
- package/dist/components/CardForm/CardForm.d.ts +31 -9
- package/dist/components/CardForm/CardForm.js +142 -123
- package/dist/components/CardForm/CardFormCodeInput.cjs +12 -11
- package/dist/components/CardForm/CardFormCodeInput.js +11 -10
- package/dist/components/CardPage.cjs +129 -108
- package/dist/components/CardPage.js +128 -107
- package/dist/components/Checkbox.cjs +130 -105
- package/dist/components/Checkbox.d.cts +29 -6
- package/dist/components/Checkbox.d.ts +29 -6
- package/dist/components/Checkbox.js +129 -104
- package/dist/components/ClipboardTextField.cjs +107 -99
- package/dist/components/ClipboardTextField.d.cts +14 -11
- package/dist/components/ClipboardTextField.d.ts +14 -11
- package/dist/components/ClipboardTextField.js +106 -98
- package/dist/components/CodeBlock.cjs +109 -101
- package/dist/components/CodeBlock.js +108 -100
- package/dist/components/CodeInput/CodeInput.cjs +11 -10
- package/dist/components/CodeInput/CodeInput.js +10 -9
- package/dist/components/CodeInput/SingleCodeInput.cjs +10 -9
- package/dist/components/CodeInput/SingleCodeInput.js +9 -8
- package/dist/components/Collapsible.cjs +106 -98
- package/dist/components/Collapsible.d.cts +7 -2
- package/dist/components/Collapsible.d.ts +7 -2
- package/dist/components/Collapsible.js +105 -97
- package/dist/components/CommaNumberInput.cjs +136 -112
- package/dist/components/CommaNumberInput.d.cts +9 -7
- package/dist/components/CommaNumberInput.d.ts +9 -7
- package/dist/components/CommaNumberInput.js +135 -111
- package/dist/components/ContentTable.cjs +105 -97
- package/dist/components/ContentTable.js +104 -96
- package/dist/components/CopyToClipboardButton.cjs +107 -99
- package/dist/components/CopyToClipboardButton.d.cts +7 -2
- package/dist/components/CopyToClipboardButton.d.ts +7 -2
- package/dist/components/CopyToClipboardButton.js +106 -98
- package/dist/components/CurrencyAmount.cjs +121 -98
- package/dist/components/CurrencyAmount.d.cts +31 -11
- package/dist/components/CurrencyAmount.d.ts +31 -11
- package/dist/components/CurrencyAmount.js +120 -97
- package/dist/components/DataManagerTable/BooleanFilter.cjs +133 -109
- package/dist/components/DataManagerTable/BooleanFilter.js +132 -108
- package/dist/components/DataManagerTable/DataManagerTable.cjs +157 -138
- package/dist/components/DataManagerTable/DataManagerTable.d.cts +10 -5
- package/dist/components/DataManagerTable/DataManagerTable.d.ts +10 -5
- package/dist/components/DataManagerTable/DataManagerTable.js +156 -137
- package/dist/components/DataManagerTable/DateFilter.cjs +142 -120
- package/dist/components/DataManagerTable/DateFilter.js +141 -119
- package/dist/components/DataManagerTable/DateWidget.cjs +131 -107
- package/dist/components/DataManagerTable/DateWidget.js +130 -106
- package/dist/components/DataManagerTable/EnumFilter.cjs +137 -114
- package/dist/components/DataManagerTable/EnumFilter.js +136 -113
- package/dist/components/DataManagerTable/Filter.cjs +130 -106
- package/dist/components/DataManagerTable/Filter.js +129 -105
- package/dist/components/DataManagerTable/IdFilter.cjs +140 -118
- package/dist/components/DataManagerTable/IdFilter.js +139 -117
- package/dist/components/DataManagerTable/Popover.cjs +126 -105
- package/dist/components/DataManagerTable/Popover.js +125 -104
- package/dist/components/DataManagerTable/StringFilter.cjs +140 -118
- package/dist/components/DataManagerTable/StringFilter.js +139 -117
- package/dist/components/Drawer.cjs +126 -105
- package/dist/components/Drawer.d.cts +3 -0
- package/dist/components/Drawer.d.ts +3 -0
- package/dist/components/Drawer.js +125 -104
- package/dist/components/Dropdown.cjs +123 -100
- package/dist/components/Dropdown.d.cts +11 -6
- package/dist/components/Dropdown.d.ts +11 -6
- package/dist/components/Dropdown.js +122 -99
- package/dist/components/FileInput.cjs +111 -103
- package/dist/components/FileInput.js +110 -102
- package/dist/components/GradientCardHeader.cjs +10 -9
- package/dist/components/GradientCardHeader.js +9 -8
- package/dist/components/Icon/Icon.cjs +104 -96
- package/dist/components/Icon/Icon.d.cts +25 -15
- package/dist/components/Icon/Icon.d.ts +25 -15
- package/dist/components/Icon/Icon.js +103 -95
- package/dist/components/Icon/types.cjs +132 -1
- package/dist/components/Icon/types.d.cts +251 -121
- package/dist/components/Icon/types.d.ts +251 -121
- package/dist/components/Icon/types.js +132 -0
- package/dist/components/IconWithCircleBackground.cjs +122 -99
- package/dist/components/IconWithCircleBackground.d.cts +10 -3
- package/dist/components/IconWithCircleBackground.d.ts +10 -3
- package/dist/components/IconWithCircleBackground.js +121 -98
- package/dist/components/InfoIconTooltip.cjs +130 -105
- package/dist/components/InfoIconTooltip.d.cts +31 -8
- package/dist/components/InfoIconTooltip.d.ts +31 -8
- package/dist/components/InfoIconTooltip.js +129 -104
- package/dist/components/LightsparkProvider.cjs +9 -8
- package/dist/components/LightsparkProvider.js +8 -7
- package/dist/components/Loading.cjs +105 -97
- package/dist/components/Loading.js +104 -96
- package/dist/components/Modal.cjs +138 -117
- package/dist/components/Modal.d.cts +30 -7
- package/dist/components/Modal.d.ts +30 -7
- package/dist/components/Modal.js +137 -116
- package/dist/components/PageSection/PageSection.cjs +138 -116
- package/dist/components/PageSection/PageSection.d.cts +8 -3
- package/dist/components/PageSection/PageSection.d.ts +8 -3
- package/dist/components/PageSection/PageSection.js +137 -115
- package/dist/components/PageSection/PageSectionNav.cjs +133 -108
- package/dist/components/PageSection/PageSectionNav.d.cts +7 -2
- package/dist/components/PageSection/PageSectionNav.d.ts +7 -2
- package/dist/components/PageSection/PageSectionNav.js +132 -107
- package/dist/components/PendingValue.cjs +130 -105
- package/dist/components/PendingValue.d.cts +35 -8
- package/dist/components/PendingValue.d.ts +35 -8
- package/dist/components/PendingValue.js +129 -104
- package/dist/components/PhoneInput.cjs +136 -112
- package/dist/components/PhoneInput.d.cts +11 -10
- package/dist/components/PhoneInput.d.ts +11 -10
- package/dist/components/PhoneInput.js +135 -111
- package/dist/components/Pill.cjs +108 -100
- package/dist/components/Pill.d.cts +7 -2
- package/dist/components/Pill.d.ts +7 -2
- package/dist/components/Pill.js +107 -99
- package/dist/components/ProgressBar.cjs +8 -7
- package/dist/components/ProgressBar.js +7 -6
- package/dist/components/QRCode.cjs +106 -98
- package/dist/components/QRCode.js +105 -97
- package/dist/components/QRReader/QRReader.cjs +3 -3
- package/dist/components/QRReader/QRReader.js +2 -2
- package/dist/components/QRReaderButton.cjs +130 -109
- package/dist/components/QRReaderButton.js +129 -108
- package/dist/components/Radio.cjs +130 -106
- package/dist/components/Radio.js +129 -105
- package/dist/components/ReadClipboardButton.cjs +138 -116
- package/dist/components/ReadClipboardButton.js +137 -115
- package/dist/components/SatoshiInput.cjs +139 -115
- package/dist/components/SatoshiInput.d.cts +9 -7
- package/dist/components/SatoshiInput.d.ts +9 -7
- package/dist/components/SatoshiInput.js +138 -114
- package/dist/components/SatoshiInputLabel.cjs +132 -108
- package/dist/components/SatoshiInputLabel.js +131 -107
- package/dist/components/SecretContainer.cjs +108 -100
- package/dist/components/SecretContainer.js +107 -99
- package/dist/components/SecretInput.cjs +136 -112
- package/dist/components/SecretInput.d.cts +9 -7
- package/dist/components/SecretInput.d.ts +9 -7
- package/dist/components/SecretInput.js +135 -111
- package/dist/components/Select.cjs +107 -99
- package/dist/components/Select.js +106 -98
- package/dist/components/SidePanel.cjs +105 -97
- package/dist/components/SidePanel.js +104 -96
- package/dist/components/StatusIndicator.cjs +9 -8
- package/dist/components/StatusIndicator.js +8 -7
- package/dist/components/Table/Table.cjs +132 -110
- package/dist/components/Table/Table.d.cts +10 -5
- package/dist/components/Table/Table.d.ts +10 -5
- package/dist/components/Table/Table.js +131 -109
- package/dist/components/Table/TableEmptyState.cjs +8 -7
- package/dist/components/Table/TableEmptyState.js +7 -6
- package/dist/components/TextArea.cjs +10 -9
- package/dist/components/TextArea.js +9 -8
- package/dist/components/TextButton.cjs +132 -107
- package/dist/components/TextButton.d.cts +27 -5
- package/dist/components/TextButton.d.ts +27 -5
- package/dist/components/TextButton.js +131 -106
- package/dist/components/TextIconAligner.cjs +130 -105
- package/dist/components/TextIconAligner.d.cts +30 -7
- package/dist/components/TextIconAligner.d.ts +30 -7
- package/dist/components/TextIconAligner.js +129 -104
- package/dist/components/TextInput.cjs +135 -111
- package/dist/components/TextInput.d.cts +13 -7
- package/dist/components/TextInput.d.ts +13 -7
- package/dist/components/TextInput.js +134 -110
- package/dist/components/Toasts.cjs +130 -106
- package/dist/components/Toasts.d.cts +31 -8
- package/dist/components/Toasts.d.ts +31 -8
- package/dist/components/Toasts.js +129 -105
- package/dist/components/Toggle.cjs +9 -8
- package/dist/components/Toggle.js +8 -7
- package/dist/components/Tooltip.cjs +8 -7
- package/dist/components/Tooltip.js +7 -6
- package/dist/components/UnstyledButton.cjs +8 -7
- package/dist/components/UnstyledButton.js +7 -6
- package/dist/components/documentation/AnchorLinkHeader.cjs +112 -108
- package/dist/components/documentation/AnchorLinkHeader.d.cts +13 -10
- package/dist/components/documentation/AnchorLinkHeader.d.ts +13 -10
- package/dist/components/documentation/AnchorLinkHeader.js +111 -107
- package/dist/components/documentation/DocsBodyParagraph.cjs +16 -138
- package/dist/components/documentation/DocsBodyParagraph.d.cts +13 -11
- package/dist/components/documentation/DocsBodyParagraph.d.ts +13 -11
- package/dist/components/documentation/DocsBodyParagraph.js +15 -137
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +17 -139
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +13 -11
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +13 -11
- package/dist/components/documentation/DocsBodyStrongParagraph.js +16 -138
- package/dist/components/documentation/DocsHeadline.cjs +12 -137
- package/dist/components/documentation/DocsHeadline.d.cts +15 -15
- package/dist/components/documentation/DocsHeadline.d.ts +15 -15
- package/dist/components/documentation/DocsHeadline.js +11 -136
- package/dist/components/documentation/Video.cjs +8 -7
- package/dist/components/documentation/Video.js +6 -5
- package/dist/components/documentation/index.cjs +112 -108
- package/dist/components/documentation/index.d.cts +13 -10
- package/dist/components/documentation/index.d.ts +13 -10
- package/dist/components/documentation/index.js +111 -107
- package/dist/components/index.cjs +200 -181
- package/dist/components/index.d.cts +27 -7
- package/dist/components/index.d.ts +27 -7
- package/dist/components/index.js +202 -183
- package/dist/components/typography/Article.cjs +117 -113
- package/dist/components/typography/Article.js +116 -112
- package/dist/components/typography/Body.cjs +129 -107
- package/dist/components/typography/Body.d.cts +37 -18
- package/dist/components/typography/Body.d.ts +37 -18
- package/dist/components/typography/Body.js +130 -108
- package/dist/components/typography/BodyStrong.cjs +129 -107
- package/dist/components/typography/BodyStrong.d.cts +38 -16
- package/dist/components/typography/BodyStrong.d.ts +38 -16
- package/dist/components/typography/BodyStrong.js +130 -108
- package/dist/components/typography/Code.cjs +129 -107
- package/dist/components/typography/Code.d.cts +39 -8
- package/dist/components/typography/Code.d.ts +39 -8
- package/dist/components/typography/Code.js +130 -108
- package/dist/components/typography/Display.cjs +129 -110
- package/dist/components/typography/Display.d.cts +40 -9
- package/dist/components/typography/Display.d.ts +40 -9
- package/dist/components/typography/Display.js +130 -111
- package/dist/components/typography/Headline.cjs +129 -114
- package/dist/components/typography/Headline.d.cts +39 -8
- package/dist/components/typography/Headline.d.ts +39 -8
- package/dist/components/typography/Headline.js +130 -115
- package/dist/components/typography/Label.cjs +129 -107
- package/dist/components/typography/Label.d.cts +38 -16
- package/dist/components/typography/Label.d.ts +38 -16
- package/dist/components/typography/Label.js +130 -108
- package/dist/components/typography/LabelModerate.cjs +129 -107
- package/dist/components/typography/LabelModerate.d.cts +39 -8
- package/dist/components/typography/LabelModerate.d.ts +39 -8
- package/dist/components/typography/LabelModerate.js +130 -108
- package/dist/components/typography/LabelStrong.cjs +129 -107
- package/dist/components/typography/LabelStrong.d.cts +39 -8
- package/dist/components/typography/LabelStrong.d.ts +39 -8
- package/dist/components/typography/LabelStrong.js +130 -108
- package/dist/components/typography/Overline.cjs +129 -107
- package/dist/components/typography/Overline.d.cts +39 -8
- package/dist/components/typography/Overline.d.ts +39 -8
- package/dist/components/typography/Overline.js +130 -108
- package/dist/components/typography/Title.cjs +129 -107
- package/dist/components/typography/Title.d.cts +39 -8
- package/dist/components/typography/Title.d.ts +39 -8
- package/dist/components/typography/Title.js +128 -106
- package/dist/components/typography/base/Body.cjs +23 -0
- package/dist/components/typography/base/Body.d.cts +159 -0
- package/dist/components/typography/base/Body.d.ts +159 -0
- package/dist/components/typography/base/Body.js +23 -0
- package/dist/components/typography/base/BodyStrong.cjs +23 -0
- package/dist/components/typography/base/BodyStrong.d.cts +159 -0
- package/dist/components/typography/base/BodyStrong.d.ts +159 -0
- package/dist/components/typography/base/BodyStrong.js +23 -0
- package/dist/components/typography/base/Code.cjs +23 -0
- package/dist/components/typography/base/Code.d.cts +159 -0
- package/dist/components/typography/base/Code.d.ts +159 -0
- package/dist/components/typography/base/Code.js +23 -0
- package/dist/components/typography/base/Display.cjs +28 -0
- package/dist/components/typography/base/Display.d.cts +161 -0
- package/dist/components/typography/base/Display.d.ts +161 -0
- package/dist/components/typography/base/Display.js +28 -0
- package/dist/components/typography/base/Headline.cjs +30 -0
- package/dist/components/typography/base/Headline.d.cts +162 -0
- package/dist/components/typography/base/Headline.d.ts +162 -0
- package/dist/components/typography/base/Headline.js +30 -0
- package/dist/components/typography/base/Label.cjs +23 -0
- package/dist/components/typography/base/Label.d.cts +159 -0
- package/dist/components/typography/base/Label.d.ts +159 -0
- package/dist/components/typography/base/Label.js +23 -0
- package/dist/components/typography/base/LabelModerate.cjs +23 -0
- package/dist/components/typography/base/LabelModerate.d.cts +159 -0
- package/dist/components/typography/base/LabelModerate.d.ts +159 -0
- package/dist/components/typography/base/LabelModerate.js +23 -0
- package/dist/components/typography/base/LabelStrong.cjs +23 -0
- package/dist/components/typography/base/LabelStrong.d.cts +159 -0
- package/dist/components/typography/base/LabelStrong.d.ts +159 -0
- package/dist/components/typography/base/LabelStrong.js +23 -0
- package/dist/components/typography/base/Overline.cjs +23 -0
- package/dist/components/typography/base/Overline.d.cts +159 -0
- package/dist/components/typography/base/Overline.d.ts +159 -0
- package/dist/components/typography/base/Overline.js +23 -0
- package/dist/components/typography/base/Title.cjs +23 -0
- package/dist/components/typography/base/Title.d.cts +159 -0
- package/dist/components/typography/base/Title.d.ts +159 -0
- package/dist/components/typography/base/Title.js +23 -0
- package/dist/components/typography/base/getPropDefaults.cjs +8 -0
- package/dist/components/typography/base/getPropDefaults.d.cts +147 -0
- package/dist/components/typography/base/getPropDefaults.d.ts +147 -0
- package/dist/components/typography/base/getPropDefaults.js +8 -0
- package/dist/components/typography/index.cjs +165 -128
- package/dist/components/typography/index.d.cts +38 -7
- package/dist/components/typography/index.d.ts +38 -7
- package/dist/components/typography/index.js +174 -137
- package/dist/components/typography/renderTypography.cjs +26 -2
- package/dist/components/typography/renderTypography.d.cts +40 -14
- package/dist/components/typography/renderTypography.d.ts +40 -14
- package/dist/components/typography/renderTypography.js +27 -3
- package/dist/components/typography/types.d.cts +43 -12
- package/dist/components/typography/types.d.ts +43 -12
- package/dist/components/typography/typographyStyles.cjs +2 -2
- package/dist/components/typography/typographyStyles.d.cts +12 -11
- package/dist/components/typography/typographyStyles.d.ts +12 -11
- package/dist/components/typography/typographyStyles.js +1 -1
- package/dist/icons/AI.cjs +2 -2
- package/dist/icons/AI.d.cts +2 -1
- package/dist/icons/AI.d.ts +2 -1
- package/dist/icons/AI.js +1 -1
- package/dist/icons/AnchorLink.cjs +2 -2
- package/dist/icons/AnchorLink.d.cts +2 -1
- package/dist/icons/AnchorLink.d.ts +2 -1
- package/dist/icons/AnchorLink.js +1 -1
- package/dist/icons/ArrowCircle.cjs +2 -2
- package/dist/icons/ArrowCircle.d.cts +2 -1
- package/dist/icons/ArrowCircle.d.ts +2 -1
- package/dist/icons/ArrowCircle.js +1 -1
- package/dist/icons/ArrowCornerDownRight.cjs +2 -2
- package/dist/icons/ArrowCornerDownRight.d.cts +2 -1
- package/dist/icons/ArrowCornerDownRight.d.ts +2 -1
- package/dist/icons/ArrowCornerDownRight.js +1 -1
- package/dist/icons/ArrowDown.cjs +2 -2
- package/dist/icons/ArrowDown.d.cts +2 -1
- package/dist/icons/ArrowDown.d.ts +2 -1
- package/dist/icons/ArrowDown.js +1 -1
- package/dist/icons/ArrowLeft.cjs +2 -2
- package/dist/icons/ArrowLeft.d.cts +2 -1
- package/dist/icons/ArrowLeft.d.ts +2 -1
- package/dist/icons/ArrowLeft.js +1 -1
- package/dist/icons/ArrowRight.cjs +2 -2
- package/dist/icons/ArrowRight.d.cts +2 -1
- package/dist/icons/ArrowRight.d.ts +2 -1
- package/dist/icons/ArrowRight.js +1 -1
- package/dist/icons/ArrowUp.cjs +2 -2
- package/dist/icons/ArrowUp.d.cts +2 -1
- package/dist/icons/ArrowUp.d.ts +2 -1
- package/dist/icons/ArrowUp.js +1 -1
- package/dist/icons/ArrowUpRight.cjs +2 -2
- package/dist/icons/ArrowUpRight.d.cts +2 -1
- package/dist/icons/ArrowUpRight.d.ts +2 -1
- package/dist/icons/ArrowUpRight.js +1 -1
- package/dist/icons/ArrowsDown.cjs +2 -2
- package/dist/icons/ArrowsDown.d.cts +2 -1
- package/dist/icons/ArrowsDown.d.ts +2 -1
- package/dist/icons/ArrowsDown.js +1 -1
- package/dist/icons/ArrowsHorizontal.cjs +2 -2
- package/dist/icons/ArrowsHorizontal.d.cts +2 -1
- package/dist/icons/ArrowsHorizontal.d.ts +2 -1
- package/dist/icons/ArrowsHorizontal.js +1 -1
- package/dist/icons/ArrowsUp.cjs +2 -2
- package/dist/icons/ArrowsUp.d.cts +2 -1
- package/dist/icons/ArrowsUp.d.ts +2 -1
- package/dist/icons/ArrowsUp.js +1 -1
- package/dist/icons/Bank.cjs +2 -2
- package/dist/icons/Bank.d.cts +2 -1
- package/dist/icons/Bank.d.ts +2 -1
- package/dist/icons/Bank.js +1 -1
- package/dist/icons/BitcoinB.cjs +2 -2
- package/dist/icons/BitcoinB.d.cts +2 -1
- package/dist/icons/BitcoinB.d.ts +2 -1
- package/dist/icons/BitcoinB.js +1 -1
- package/dist/icons/BrokenChainLink.cjs +7 -0
- package/dist/icons/BrokenChainLink.d.cts +6 -0
- package/dist/icons/BrokenChainLink.d.ts +6 -0
- package/dist/icons/BrokenChainLink.js +7 -0
- package/dist/icons/CalendarClock.cjs +7 -0
- package/dist/icons/CalendarClock.d.cts +6 -0
- package/dist/icons/CalendarClock.d.ts +6 -0
- package/dist/icons/CalendarClock.js +7 -0
- package/dist/icons/CaretRight.cjs +2 -2
- package/dist/icons/CaretRight.d.cts +2 -1
- package/dist/icons/CaretRight.d.ts +2 -1
- package/dist/icons/CaretRight.js +1 -1
- package/dist/icons/CentralArrowShareRight.cjs +2 -2
- package/dist/icons/CentralArrowShareRight.d.cts +2 -1
- package/dist/icons/CentralArrowShareRight.d.ts +2 -1
- package/dist/icons/CentralArrowShareRight.js +1 -1
- package/dist/icons/Checkmark.cjs +2 -2
- package/dist/icons/Checkmark.d.cts +2 -1
- package/dist/icons/Checkmark.d.ts +2 -1
- package/dist/icons/Checkmark.js +1 -1
- package/dist/icons/CheckmarkCircle.cjs +3 -2
- package/dist/icons/CheckmarkCircle.d.cts +2 -1
- package/dist/icons/CheckmarkCircle.d.ts +2 -1
- package/dist/icons/CheckmarkCircle.js +2 -1
- package/dist/icons/Chevron.cjs +2 -2
- package/dist/icons/Chevron.d.cts +2 -1
- package/dist/icons/Chevron.d.ts +2 -1
- package/dist/icons/Chevron.js +1 -1
- package/dist/icons/ChevronLeft.cjs +2 -2
- package/dist/icons/ChevronLeft.d.cts +2 -1
- package/dist/icons/ChevronLeft.d.ts +2 -1
- package/dist/icons/ChevronLeft.js +1 -1
- package/dist/icons/CircleCheck.cjs +3 -2
- package/dist/icons/CircleCheck.d.cts +2 -1
- package/dist/icons/CircleCheck.d.ts +2 -1
- package/dist/icons/CircleCheck.js +2 -1
- package/dist/icons/CircleCheckOutline.cjs +2 -2
- package/dist/icons/CircleCheckOutline.d.cts +2 -1
- package/dist/icons/CircleCheckOutline.d.ts +2 -1
- package/dist/icons/CircleCheckOutline.js +1 -1
- package/dist/icons/CirclePlus.cjs +3 -2
- package/dist/icons/CirclePlus.d.cts +2 -1
- package/dist/icons/CirclePlus.d.ts +2 -1
- package/dist/icons/CirclePlus.js +2 -1
- package/dist/icons/Clock.cjs +2 -2
- package/dist/icons/Clock.d.cts +2 -1
- package/dist/icons/Clock.d.ts +2 -1
- package/dist/icons/Clock.js +1 -1
- package/dist/icons/Close.cjs +2 -2
- package/dist/icons/Close.d.cts +2 -1
- package/dist/icons/Close.d.ts +2 -1
- package/dist/icons/Close.js +1 -1
- package/dist/icons/Code.cjs +2 -2
- package/dist/icons/Code.d.cts +2 -1
- package/dist/icons/Code.d.ts +2 -1
- package/dist/icons/Code.js +1 -1
- package/dist/icons/Copy.cjs +2 -2
- package/dist/icons/Copy.d.cts +2 -1
- package/dist/icons/Copy.d.ts +2 -1
- package/dist/icons/Copy.js +1 -1
- package/dist/icons/CreditCard.cjs +2 -2
- package/dist/icons/CreditCard.d.cts +2 -1
- package/dist/icons/CreditCard.d.ts +2 -1
- package/dist/icons/CreditCard.js +1 -1
- package/dist/icons/DeleteIcon.cjs +2 -2
- package/dist/icons/DeleteIcon.d.cts +2 -1
- package/dist/icons/DeleteIcon.d.ts +2 -1
- package/dist/icons/DeleteIcon.js +1 -1
- package/dist/icons/Dollar.cjs +2 -2
- package/dist/icons/Dollar.d.cts +2 -1
- package/dist/icons/Dollar.d.ts +2 -1
- package/dist/icons/Dollar.js +1 -1
- package/dist/icons/DollarManrope.cjs +2 -2
- package/dist/icons/DollarManrope.d.cts +2 -1
- package/dist/icons/DollarManrope.d.ts +2 -1
- package/dist/icons/DollarManrope.js +1 -1
- package/dist/icons/DollarManropeSmall.cjs +2 -2
- package/dist/icons/DollarManropeSmall.d.cts +2 -1
- package/dist/icons/DollarManropeSmall.d.ts +2 -1
- package/dist/icons/DollarManropeSmall.js +1 -1
- package/dist/icons/Download.cjs +2 -2
- package/dist/icons/Download.d.cts +2 -1
- package/dist/icons/Download.d.ts +2 -1
- package/dist/icons/Download.js +1 -1
- package/dist/icons/Envelope.cjs +2 -2
- package/dist/icons/Envelope.d.cts +2 -1
- package/dist/icons/Envelope.d.ts +2 -1
- package/dist/icons/Envelope.js +1 -1
- package/dist/icons/ExclamationPoint.cjs +2 -2
- package/dist/icons/ExclamationPoint.d.cts +2 -1
- package/dist/icons/ExclamationPoint.d.ts +2 -1
- package/dist/icons/ExclamationPoint.js +1 -1
- package/dist/icons/Eye.cjs +2 -2
- package/dist/icons/Eye.d.cts +2 -1
- package/dist/icons/Eye.d.ts +2 -1
- package/dist/icons/Eye.js +1 -1
- package/dist/icons/FramedLetterI.cjs +2 -2
- package/dist/icons/FramedLetterI.d.cts +2 -1
- package/dist/icons/FramedLetterI.d.ts +2 -1
- package/dist/icons/FramedLetterI.js +1 -1
- package/dist/icons/Gear.cjs +2 -2
- package/dist/icons/Gear.d.cts +2 -1
- package/dist/icons/Gear.d.ts +2 -1
- package/dist/icons/Gear.js +1 -1
- package/dist/icons/Globus.cjs +7 -0
- package/dist/icons/Globus.d.cts +6 -0
- package/dist/icons/Globus.d.ts +6 -0
- package/dist/icons/Globus.js +7 -0
- package/dist/icons/HeartOutline.cjs +2 -2
- package/dist/icons/HeartOutline.d.cts +2 -1
- package/dist/icons/HeartOutline.d.ts +2 -1
- package/dist/icons/HeartOutline.js +1 -1
- package/dist/icons/Home.cjs +2 -2
- package/dist/icons/Home.d.cts +2 -1
- package/dist/icons/Home.d.ts +2 -1
- package/dist/icons/Home.js +1 -1
- package/dist/icons/Info.cjs +2 -2
- package/dist/icons/Info.d.cts +2 -1
- package/dist/icons/Info.d.ts +2 -1
- package/dist/icons/Info.js +1 -1
- package/dist/icons/Limit.cjs +7 -0
- package/dist/icons/Limit.d.cts +6 -0
- package/dist/icons/Limit.d.ts +6 -0
- package/dist/icons/Limit.js +7 -0
- package/dist/icons/LinkIcon.cjs +2 -2
- package/dist/icons/LinkIcon.d.cts +2 -1
- package/dist/icons/LinkIcon.d.ts +2 -1
- package/dist/icons/LinkIcon.js +1 -1
- package/dist/icons/Lock.cjs +2 -2
- package/dist/icons/Lock.d.cts +2 -1
- package/dist/icons/Lock.d.ts +2 -1
- package/dist/icons/Lock.js +1 -1
- package/dist/icons/MagicWand.cjs +2 -2
- package/dist/icons/MagicWand.d.cts +2 -1
- package/dist/icons/MagicWand.d.ts +2 -1
- package/dist/icons/MagicWand.js +1 -1
- package/dist/icons/Minus.cjs +2 -2
- package/dist/icons/Minus.d.cts +2 -1
- package/dist/icons/Minus.d.ts +2 -1
- package/dist/icons/Minus.js +1 -1
- package/dist/icons/Monitor.cjs +2 -2
- package/dist/icons/Monitor.d.cts +2 -1
- package/dist/icons/Monitor.d.ts +2 -1
- package/dist/icons/Monitor.js +1 -1
- package/dist/icons/NodeAdd.cjs +2 -2
- package/dist/icons/NodeAdd.d.cts +2 -1
- package/dist/icons/NodeAdd.d.ts +2 -1
- package/dist/icons/NodeAdd.js +1 -1
- package/dist/icons/Notebook.cjs +2 -2
- package/dist/icons/Notebook.d.cts +2 -1
- package/dist/icons/Notebook.d.ts +2 -1
- package/dist/icons/Notebook.js +1 -1
- package/dist/icons/PaperPlane.cjs +2 -2
- package/dist/icons/PaperPlane.d.cts +2 -1
- package/dist/icons/PaperPlane.d.ts +2 -1
- package/dist/icons/PaperPlane.js +1 -1
- package/dist/icons/Pencil.cjs +2 -2
- package/dist/icons/Pencil.d.cts +2 -1
- package/dist/icons/Pencil.d.ts +2 -1
- package/dist/icons/Pencil.js +1 -1
- package/dist/icons/Person.cjs +2 -2
- package/dist/icons/Person.d.cts +2 -1
- package/dist/icons/Person.d.ts +2 -1
- package/dist/icons/Person.js +1 -1
- package/dist/icons/PiggyBank.cjs +2 -2
- package/dist/icons/PiggyBank.d.cts +2 -1
- package/dist/icons/PiggyBank.d.ts +2 -1
- package/dist/icons/PiggyBank.js +1 -1
- package/dist/icons/Plus.cjs +2 -2
- package/dist/icons/Plus.d.cts +2 -1
- package/dist/icons/Plus.d.ts +2 -1
- package/dist/icons/Plus.js +1 -1
- package/dist/icons/QuestionCircle.cjs +2 -2
- package/dist/icons/QuestionCircle.d.cts +2 -1
- package/dist/icons/QuestionCircle.d.ts +2 -1
- package/dist/icons/QuestionCircle.js +1 -1
- package/dist/icons/QuestionCircleStrong.cjs +2 -2
- package/dist/icons/QuestionCircleStrong.d.cts +2 -1
- package/dist/icons/QuestionCircleStrong.d.ts +2 -1
- package/dist/icons/QuestionCircleStrong.js +1 -1
- package/dist/icons/ReceiptBill.cjs +2 -2
- package/dist/icons/ReceiptBill.d.cts +2 -1
- package/dist/icons/ReceiptBill.d.ts +2 -1
- package/dist/icons/ReceiptBill.js +1 -1
- package/dist/icons/Recycling.cjs +2 -2
- package/dist/icons/Recycling.d.cts +2 -1
- package/dist/icons/Recycling.d.ts +2 -1
- package/dist/icons/Recycling.js +1 -1
- package/dist/icons/Remove.cjs +2 -2
- package/dist/icons/Remove.d.cts +2 -1
- package/dist/icons/Remove.d.ts +2 -1
- package/dist/icons/Remove.js +1 -1
- package/dist/icons/Restart.cjs +2 -2
- package/dist/icons/Restart.d.cts +2 -1
- package/dist/icons/Restart.d.ts +2 -1
- package/dist/icons/Restart.js +1 -1
- package/dist/icons/Roadmap.cjs +2 -2
- package/dist/icons/Roadmap.d.cts +2 -1
- package/dist/icons/Roadmap.d.ts +2 -1
- package/dist/icons/Roadmap.js +1 -1
- package/dist/icons/Satoshi.cjs +2 -2
- package/dist/icons/Satoshi.d.cts +2 -1
- package/dist/icons/Satoshi.d.ts +2 -1
- package/dist/icons/Satoshi.js +1 -1
- package/dist/icons/SatoshiRounded.cjs +2 -2
- package/dist/icons/SatoshiRounded.d.cts +2 -1
- package/dist/icons/SatoshiRounded.d.ts +2 -1
- package/dist/icons/SatoshiRounded.js +1 -1
- package/dist/icons/Search.cjs +2 -2
- package/dist/icons/Search.d.cts +2 -1
- package/dist/icons/Search.d.ts +2 -1
- package/dist/icons/Search.js +1 -1
- package/dist/icons/SecurityKey.cjs +2 -2
- package/dist/icons/SecurityKey.d.cts +2 -1
- package/dist/icons/SecurityKey.d.ts +2 -1
- package/dist/icons/SecurityKey.js +1 -1
- package/dist/icons/Selector.cjs +2 -2
- package/dist/icons/Selector.d.cts +2 -1
- package/dist/icons/Selector.d.ts +2 -1
- package/dist/icons/Selector.js +1 -1
- package/dist/icons/Share.cjs +2 -2
- package/dist/icons/Share.d.cts +2 -1
- package/dist/icons/Share.d.ts +2 -1
- package/dist/icons/Share.js +1 -1
- package/dist/icons/Sidebar.cjs +2 -2
- package/dist/icons/Sidebar.d.cts +2 -1
- package/dist/icons/Sidebar.d.ts +2 -1
- package/dist/icons/Sidebar.js +1 -1
- package/dist/icons/Sort.cjs +2 -2
- package/dist/icons/Sort.d.cts +2 -1
- package/dist/icons/Sort.d.ts +2 -1
- package/dist/icons/Sort.js +1 -1
- package/dist/icons/SparklesSoft.cjs +7 -0
- package/dist/icons/SparklesSoft.d.cts +6 -0
- package/dist/icons/SparklesSoft.d.ts +6 -0
- package/dist/icons/SparklesSoft.js +7 -0
- package/dist/icons/StackedLines.cjs +2 -2
- package/dist/icons/StackedLines.d.cts +2 -1
- package/dist/icons/StackedLines.d.ts +2 -1
- package/dist/icons/StackedLines.js +1 -1
- package/dist/icons/TapSingle.cjs +2 -2
- package/dist/icons/TapSingle.js +1 -1
- package/dist/icons/Team.cjs +2 -2
- package/dist/icons/Team.d.cts +2 -1
- package/dist/icons/Team.d.ts +2 -1
- package/dist/icons/Team.js +1 -1
- package/dist/icons/Terminal.cjs +2 -2
- package/dist/icons/Terminal.d.cts +2 -1
- package/dist/icons/Terminal.d.ts +2 -1
- package/dist/icons/Terminal.js +1 -1
- package/dist/icons/Trash.cjs +2 -2
- package/dist/icons/Trash.d.cts +2 -1
- package/dist/icons/Trash.d.ts +2 -1
- package/dist/icons/Trash.js +1 -1
- package/dist/icons/Uma.cjs +2 -2
- package/dist/icons/Uma.js +1 -1
- package/dist/icons/UmaBridgeLoading.cjs +2 -2
- package/dist/icons/UmaBridgeLoading.d.cts +2 -1
- package/dist/icons/UmaBridgeLoading.d.ts +2 -1
- package/dist/icons/UmaBridgeLoading.js +1 -1
- package/dist/icons/UmaBridgeLoadingTransparent.cjs +2 -2
- package/dist/icons/UmaBridgeLoadingTransparent.d.cts +2 -1
- package/dist/icons/UmaBridgeLoadingTransparent.d.ts +2 -1
- package/dist/icons/UmaBridgeLoadingTransparent.js +1 -1
- package/dist/icons/WarningSign.cjs +2 -2
- package/dist/icons/WarningSign.d.cts +2 -1
- package/dist/icons/WarningSign.d.ts +2 -1
- package/dist/icons/WarningSign.js +1 -1
- package/dist/icons/Zap.cjs +7 -0
- package/dist/icons/Zap.d.cts +5 -0
- package/dist/icons/Zap.d.ts +5 -0
- package/dist/icons/Zap.js +7 -0
- package/dist/icons/index.cjs +123 -99
- package/dist/icons/index.d.cts +7 -0
- package/dist/icons/index.d.ts +7 -0
- package/dist/icons/index.js +159 -135
- package/dist/icons/types.cjs +1 -0
- package/dist/icons/types.d.cts +10 -0
- package/dist/icons/types.d.ts +10 -0
- package/dist/icons/types.js +0 -0
- package/dist/router.cjs +25 -4
- package/dist/router.d.cts +62 -11
- package/dist/router.d.ts +62 -11
- package/dist/router.js +24 -3
- package/dist/styles/colors.cjs +2 -2
- package/dist/styles/colors.d.cts +9 -0
- package/dist/styles/colors.d.ts +9 -0
- package/dist/styles/colors.js +1 -1
- package/dist/styles/common.cjs +7 -6
- package/dist/styles/common.d.cts +10 -5
- package/dist/styles/common.d.ts +10 -5
- package/dist/styles/common.js +6 -5
- package/dist/styles/fields.cjs +9 -8
- package/dist/styles/fields.d.cts +14 -8
- package/dist/styles/fields.d.ts +14 -8
- package/dist/styles/fields.js +8 -7
- package/dist/styles/global.cjs +8 -7
- package/dist/styles/global.d.cts +8 -3
- package/dist/styles/global.d.ts +8 -3
- package/dist/styles/global.js +7 -6
- package/dist/styles/themeDefaults/buttons.cjs +2 -2
- package/dist/styles/themeDefaults/buttons.d.cts +9 -4
- package/dist/styles/themeDefaults/buttons.d.ts +9 -4
- package/dist/styles/themeDefaults/buttons.js +1 -1
- package/dist/styles/themeDefaults/cardForm.cjs +9 -0
- package/dist/styles/themeDefaults/cardForm.d.cts +130 -0
- package/dist/styles/themeDefaults/cardForm.d.ts +130 -0
- package/dist/styles/themeDefaults/cardForm.js +9 -0
- package/dist/styles/themeDefaults/loading.d.cts +8 -3
- package/dist/styles/themeDefaults/loading.d.ts +8 -3
- package/dist/styles/themes.cjs +6 -5
- package/dist/styles/themes.d.cts +9 -4
- package/dist/styles/themes.d.ts +9 -4
- package/dist/styles/themes.js +5 -4
- package/dist/styles/tokens/typography.cjs +4 -2
- package/dist/styles/tokens/typography.d.cts +2 -1
- package/dist/styles/tokens/typography.d.ts +2 -1
- package/dist/styles/tokens/typography.js +3 -1
- package/dist/styles/type.cjs +9 -8
- package/dist/styles/type.d.cts +8 -3
- package/dist/styles/type.d.ts +8 -3
- package/dist/styles/type.js +8 -7
- package/dist/styles/typography.cjs +7 -6
- package/dist/styles/typography.d.cts +9 -4
- package/dist/styles/typography.d.ts +9 -4
- package/dist/styles/typography.js +6 -5
- package/dist/styles/utils.cjs +8 -7
- package/dist/styles/utils.js +7 -6
- package/dist/themes-CWieEen0.d.ts +1077 -0
- package/dist/themes-DFmLzqw5.d.cts +1077 -0
- package/dist/utils/NextLink.cjs +25 -3
- package/dist/utils/NextLink.d.cts +24 -11
- package/dist/utils/NextLink.d.ts +24 -11
- package/dist/utils/NextLink.js +24 -2
- package/dist/utils/toReactNodes/nodes.cjs +6 -2
- package/dist/utils/toReactNodes/nodes.d.cts +68 -9
- package/dist/utils/toReactNodes/nodes.d.ts +68 -9
- package/dist/utils/toReactNodes/nodes.js +5 -1
- package/dist/utils/toReactNodes/setReactNodesTypography.cjs +129 -104
- package/dist/utils/toReactNodes/setReactNodesTypography.d.cts +35 -12
- package/dist/utils/toReactNodes/setReactNodesTypography.d.ts +35 -12
- package/dist/utils/toReactNodes/setReactNodesTypography.js +128 -103
- package/dist/utils/toReactNodes/stringToNodes.cjs +7 -0
- package/dist/utils/toReactNodes/stringToNodes.d.cts +5 -0
- package/dist/utils/toReactNodes/stringToNodes.d.ts +5 -0
- package/dist/utils/toReactNodes/stringToNodes.js +7 -0
- package/dist/utils/toReactNodes/toReactNodes.cjs +128 -103
- package/dist/utils/toReactNodes/toReactNodes.d.cts +32 -9
- package/dist/utils/toReactNodes/toReactNodes.d.ts +32 -9
- package/dist/utils/toReactNodes/toReactNodes.js +127 -102
- package/package.json +2 -2
- package/dist/chunk-262GCJFO.js +0 -48
- package/dist/chunk-272LB55I.js +0 -26
- package/dist/chunk-2C73WWPT.js +0 -384
- package/dist/chunk-2F2YMUL5.js +0 -89
- package/dist/chunk-2G552RN7.js +0 -59
- package/dist/chunk-2ITITIZK.js +0 -27
- package/dist/chunk-2KHMKDGF.js +0 -67
- package/dist/chunk-2MIU5D22.cjs +0 -233
- package/dist/chunk-2ON6YBGL.cjs +0 -40
- package/dist/chunk-2R4K7WK4.cjs +0 -27
- package/dist/chunk-36RZWQ7S.js +0 -28
- package/dist/chunk-37HQ4WOA.js +0 -20
- package/dist/chunk-3CHMNLGD.js +0 -30
- package/dist/chunk-3KOUSJV6.js +0 -26
- package/dist/chunk-3MCK6I7V.js +0 -40
- package/dist/chunk-3OYKPPML.js +0 -27
- package/dist/chunk-3V52MNZC.js +0 -125
- package/dist/chunk-3VB55LWB.js +0 -71
- package/dist/chunk-3YVEKRB3.js +0 -55
- package/dist/chunk-43KEZLY6.cjs +0 -27
- package/dist/chunk-43LGFT5G.cjs +0 -28
- package/dist/chunk-4CFGJROV.cjs +0 -306
- package/dist/chunk-4CW4UJ5X.cjs +0 -50
- package/dist/chunk-4EK5RAZS.cjs +0 -23
- package/dist/chunk-4EKGRFUQ.js +0 -27
- package/dist/chunk-4QK2V7YW.cjs +0 -24
- package/dist/chunk-4VRON4MF.cjs +0 -73
- package/dist/chunk-4WKQPWLI.cjs +0 -41
- package/dist/chunk-4WSTOUAH.cjs +0 -27
- package/dist/chunk-52DSX7BK.cjs +0 -26
- package/dist/chunk-544LOSOG.cjs +0 -27
- package/dist/chunk-54VI7M4H.js +0 -50
- package/dist/chunk-5522HZOC.js +0 -25
- package/dist/chunk-55FMRU2M.cjs +0 -239
- package/dist/chunk-57IQEIDN.js +0 -27
- package/dist/chunk-57MJ26OG.js +0 -27
- package/dist/chunk-5EFICY5Y.js +0 -46
- package/dist/chunk-5EIYTCCK.js +0 -49
- package/dist/chunk-5LEYZK7K.js +0 -100
- package/dist/chunk-5MLMGZJG.cjs +0 -67
- package/dist/chunk-5P25HFMG.cjs +0 -26
- package/dist/chunk-5VRX24DR.js +0 -28
- package/dist/chunk-5XTJZUMA.js +0 -27
- package/dist/chunk-5XZ7ZEC7.js +0 -27
- package/dist/chunk-5YKEHMNB.js +0 -99
- package/dist/chunk-625AYCBC.js +0 -80
- package/dist/chunk-62K3RQJB.js +0 -24
- package/dist/chunk-677VQ4DY.js +0 -39
- package/dist/chunk-6AC5YUBP.js +0 -27
- package/dist/chunk-6AFSPHQC.js +0 -17
- package/dist/chunk-6AHBVQ2G.cjs +0 -31
- package/dist/chunk-6IU4OQOC.cjs +0 -94
- package/dist/chunk-6J3HJ3T2.cjs +0 -27
- package/dist/chunk-6O6PX2UG.cjs +0 -33
- package/dist/chunk-6P2AYPAD.js +0 -101
- package/dist/chunk-6RG56RES.cjs +0 -49
- package/dist/chunk-72JQQKA7.js +0 -191
- package/dist/chunk-73ETEREG.js +0 -36
- package/dist/chunk-7D5HL6WZ.js +0 -49
- package/dist/chunk-7H74ZBRC.js +0 -95
- package/dist/chunk-7HGSAPSN.js +0 -200
- package/dist/chunk-7JJQGMWT.cjs +0 -49
- package/dist/chunk-7K2QTWCN.js +0 -94
- package/dist/chunk-7LOKZM7V.cjs +0 -384
- package/dist/chunk-7MHIAUWU.js +0 -165
- package/dist/chunk-A7BCCSEC.js +0 -117
- package/dist/chunk-ACWTDOWH.js +0 -42
- package/dist/chunk-AEL6DM2K.js +0 -118
- package/dist/chunk-AFROYZKQ.js +0 -64
- package/dist/chunk-AIP5ENLX.js +0 -145
- package/dist/chunk-AMAXYW5C.cjs +0 -28
- package/dist/chunk-ANXJRCTV.cjs +0 -95
- package/dist/chunk-AQ27MNSE.cjs +0 -584
- package/dist/chunk-ATJPSJS5.js +0 -43
- package/dist/chunk-AXHFR6HR.js +0 -243
- package/dist/chunk-B3OYC2SZ.js +0 -351
- package/dist/chunk-B5DSZXP6.js +0 -48
- package/dist/chunk-B5JDB6M7.cjs +0 -480
- package/dist/chunk-B7GBVRFP.cjs +0 -52
- package/dist/chunk-BQEXNVAD.cjs +0 -36
- package/dist/chunk-BQYGHD5H.js +0 -28
- package/dist/chunk-BS4QRGM3.cjs +0 -28
- package/dist/chunk-BS5XF33X.cjs +0 -27
- package/dist/chunk-BUMYA2SJ.cjs +0 -27
- package/dist/chunk-BX32TDWY.js +0 -27
- package/dist/chunk-C4CFIKAL.js +0 -27
- package/dist/chunk-C54KLX7Q.cjs +0 -27
- package/dist/chunk-C5EEHCIJ.cjs +0 -102
- package/dist/chunk-C5PYKGR6.js +0 -34
- package/dist/chunk-C5WEZGAD.cjs +0 -39
- package/dist/chunk-CB7GBZCJ.cjs +0 -27
- package/dist/chunk-CBFA6RJW.cjs +0 -101
- package/dist/chunk-CE5LGEAR.cjs +0 -26
- package/dist/chunk-CFG65CGC.cjs +0 -127
- package/dist/chunk-CTPC457D.js +0 -27
- package/dist/chunk-CV4CDJUL.cjs +0 -27
- package/dist/chunk-D5AXHK6H.js +0 -233
- package/dist/chunk-D5FJIN3D.js +0 -315
- package/dist/chunk-D7U3OZEA.js +0 -584
- package/dist/chunk-DCQM7IVK.cjs +0 -4092
- package/dist/chunk-DILTUDQN.js +0 -86
- package/dist/chunk-DIMJISMH.cjs +0 -164
- package/dist/chunk-DISSWFSS.cjs +0 -62
- package/dist/chunk-DM6GUQAV.cjs +0 -42
- package/dist/chunk-DXQSKF7R.js +0 -95
- package/dist/chunk-DYOWCUZ3.cjs +0 -75
- package/dist/chunk-DYTFVMD3.js +0 -31
- package/dist/chunk-E2MVN4UE.cjs +0 -54
- package/dist/chunk-E5ARGCTH.cjs +0 -49
- package/dist/chunk-E6ZB6OJD.js +0 -26
- package/dist/chunk-EKGTEPQH.cjs +0 -54
- package/dist/chunk-ELKBW52S.js +0 -430
- package/dist/chunk-EMMXUHGF.js +0 -49
- package/dist/chunk-ENRGP6TU.cjs +0 -34
- package/dist/chunk-ETXGHZRA.js +0 -75
- package/dist/chunk-F6ITVYPU.js +0 -55
- package/dist/chunk-FFOE2R32.js +0 -68
- package/dist/chunk-FGJPZTJP.js +0 -33
- package/dist/chunk-FOC33AUT.js +0 -33
- package/dist/chunk-FPOQM3WG.cjs +0 -25
- package/dist/chunk-FRZBZ7PD.js +0 -28
- package/dist/chunk-FZUELDMT.cjs +0 -37
- package/dist/chunk-G2ZTK5RI.cjs +0 -27
- package/dist/chunk-G3AHVMGL.js +0 -26
- package/dist/chunk-G3FLE2PL.js +0 -306
- package/dist/chunk-G5IVQ4O3.js +0 -41
- package/dist/chunk-GCUAIBB5.js +0 -51
- package/dist/chunk-GDLQ54TN.cjs +0 -41
- package/dist/chunk-GDXNYWJH.cjs +0 -40
- package/dist/chunk-GEMBOYJD.cjs +0 -21
- package/dist/chunk-GJAG2D3Y.js +0 -26
- package/dist/chunk-GPWAK4HM.js +0 -52
- package/dist/chunk-GSETAASM.cjs +0 -77
- package/dist/chunk-GU46BAEF.js +0 -73
- package/dist/chunk-GU4QMN7Z.cjs +0 -80
- package/dist/chunk-GVKKUMAK.cjs +0 -27
- package/dist/chunk-GZNDFGOK.cjs +0 -26
- package/dist/chunk-H3Z7VJF4.cjs +0 -27
- package/dist/chunk-H52K5UTT.js +0 -27
- package/dist/chunk-H5GYYPG3.js +0 -27
- package/dist/chunk-H5R5ZG3Z.js +0 -27
- package/dist/chunk-H7GCH36P.cjs +0 -129
- package/dist/chunk-HA2ITLKV.cjs +0 -26
- package/dist/chunk-HEXTPM3C.js +0 -94
- package/dist/chunk-HHD4D2CU.cjs +0 -218
- package/dist/chunk-HHTHXSBF.js +0 -94
- package/dist/chunk-HJQIDDKT.js +0 -169
- package/dist/chunk-HOMUFDUQ.js +0 -49
- package/dist/chunk-HPIVJCNC.js +0 -25
- package/dist/chunk-HZFMTV5V.js +0 -84
- package/dist/chunk-I3A4BTFM.js +0 -101
- package/dist/chunk-I7MVMRCX.js +0 -150
- package/dist/chunk-ICGEMWYQ.cjs +0 -64
- package/dist/chunk-IGNDJHKO.js +0 -62
- package/dist/chunk-IKR6723M.cjs +0 -163
- package/dist/chunk-INAP7GDJ.cjs +0 -27
- package/dist/chunk-IOSJLM4O.cjs +0 -28
- package/dist/chunk-IP233XPH.cjs +0 -150
- package/dist/chunk-ISYVFILW.js +0 -291
- package/dist/chunk-IX5TIDMO.js +0 -36
- package/dist/chunk-IYEEAOW3.js +0 -26
- package/dist/chunk-J3G627ED.cjs +0 -35
- package/dist/chunk-J5NYACJ7.js +0 -26
- package/dist/chunk-J6Q5RIOB.js +0 -39
- package/dist/chunk-JE624NDF.cjs +0 -27
- package/dist/chunk-JFMGOEGC.cjs +0 -26
- package/dist/chunk-JGHR6XRE.cjs +0 -33
- package/dist/chunk-JKR3MA6Q.js +0 -327
- package/dist/chunk-JMIYMECJ.cjs +0 -96
- package/dist/chunk-JPRA3J5C.cjs +0 -243
- package/dist/chunk-JUGL45TE.cjs +0 -57
- package/dist/chunk-JWMMGYNV.js +0 -36
- package/dist/chunk-KB4YCFWX.cjs +0 -104
- package/dist/chunk-KEO4UBBQ.cjs +0 -95
- package/dist/chunk-KNBAVK6L.js +0 -53
- package/dist/chunk-KODQP6CN.js +0 -27
- package/dist/chunk-KPMZD7KJ.cjs +0 -25
- package/dist/chunk-KSGW5YL2.js +0 -342
- package/dist/chunk-KX3WMRSO.js +0 -27
- package/dist/chunk-L2A4DODW.cjs +0 -342
- package/dist/chunk-L2PEYHPD.js +0 -168
- package/dist/chunk-L33DG5GN.cjs +0 -100
- package/dist/chunk-LDOAR276.js +0 -35
- package/dist/chunk-LE5UZLTM.cjs +0 -191
- package/dist/chunk-LFIZVZWX.js +0 -374
- package/dist/chunk-LHSGZZVE.js +0 -26
- package/dist/chunk-LLJZ3BRG.cjs +0 -50
- package/dist/chunk-LOAEVVLR.cjs +0 -416
- package/dist/chunk-LQ6VW2FH.js +0 -50
- package/dist/chunk-LQLD7FVY.cjs +0 -27
- package/dist/chunk-LU5EBFVL.js +0 -462
- package/dist/chunk-LUA7C7Z6.js +0 -163
- package/dist/chunk-LVJ2PUOM.js +0 -27
- package/dist/chunk-LZLRG4BO.cjs +0 -84
- package/dist/chunk-M2H6AEUK.js +0 -50
- package/dist/chunk-MASPP6U5.js +0 -29
- package/dist/chunk-MDAXRWPT.cjs +0 -50
- package/dist/chunk-MET4GBWC.js +0 -54
- package/dist/chunk-MFDGE4AE.cjs +0 -29
- package/dist/chunk-MJQOF3RS.cjs +0 -118
- package/dist/chunk-MKW2IFOO.cjs +0 -27
- package/dist/chunk-MN4NUSPL.js +0 -127
- package/dist/chunk-MNZQCCZJ.cjs +0 -26
- package/dist/chunk-MOEVMNK6.js +0 -239
- package/dist/chunk-MQVRZOTQ.js +0 -34
- package/dist/chunk-MWHLGPKO.cjs +0 -68
- package/dist/chunk-MXCYWGHN.js +0 -27
- package/dist/chunk-MZVYDXQ7.cjs +0 -20
- package/dist/chunk-N5LIZ3K6.js +0 -56
- package/dist/chunk-N5UVZQ5K.cjs +0 -27
- package/dist/chunk-N7NM6ELD.cjs +0 -28
- package/dist/chunk-N7QYPDKF.cjs +0 -27
- package/dist/chunk-NADZQTPB.js +0 -129
- package/dist/chunk-NCH72LUB.cjs +0 -90
- package/dist/chunk-NCIBJJIE.js +0 -129
- package/dist/chunk-NCQUX52Z.cjs +0 -462
- package/dist/chunk-NESZTWYE.js +0 -27
- package/dist/chunk-NGSQ2OOV.js +0 -96
- package/dist/chunk-NMBI5XXU.cjs +0 -165
- package/dist/chunk-NSA4FO4B.js +0 -104
- package/dist/chunk-O2OR4KOM.cjs +0 -27
- package/dist/chunk-O3WGQ5ZR.cjs +0 -39
- package/dist/chunk-O42E7NAG.js +0 -544
- package/dist/chunk-OBLAEHPT.cjs +0 -366
- package/dist/chunk-OCULQS4S.cjs +0 -51
- package/dist/chunk-OLDUIEBR.cjs +0 -49
- package/dist/chunk-ONCHRB4P.cjs +0 -140
- package/dist/chunk-OP2GXTL3.js +0 -77
- package/dist/chunk-OVJZVL57.cjs +0 -21
- package/dist/chunk-OVL3XQUI.cjs +0 -291
- package/dist/chunk-OVOZ4MWA.cjs +0 -168
- package/dist/chunk-OYWYTUJD.js +0 -49
- package/dist/chunk-P73HWTOR.cjs +0 -55
- package/dist/chunk-PF5SD6AF.js +0 -37
- package/dist/chunk-PFLKL4U5.cjs +0 -374
- package/dist/chunk-PJMGLSAW.js +0 -27
- package/dist/chunk-PPWQMT6L.js +0 -27
- package/dist/chunk-PW6MUX7N.cjs +0 -145
- package/dist/chunk-PXY7XXMI.js +0 -81
- package/dist/chunk-Q2OOHXBK.cjs +0 -36
- package/dist/chunk-Q3YLC4JA.js +0 -27
- package/dist/chunk-QAWK7SU6.js +0 -26
- package/dist/chunk-QCTPBUWI.cjs +0 -27
- package/dist/chunk-QE67LKK5.cjs +0 -169
- package/dist/chunk-QQKHEU6E.cjs +0 -26
- package/dist/chunk-QWBJBEYT.js +0 -653
- package/dist/chunk-R4JQUMCP.js +0 -21
- package/dist/chunk-R6JXXAU3.cjs +0 -25
- package/dist/chunk-R74ZB3VR.cjs +0 -71
- package/dist/chunk-RCIZUC7L.js +0 -27
- package/dist/chunk-RCWDQM37.cjs +0 -26
- package/dist/chunk-RFJWSKGK.cjs +0 -27
- package/dist/chunk-RFO3GG6R.cjs +0 -58
- package/dist/chunk-RPYB66KY.js +0 -40
- package/dist/chunk-RRPNFKNW.cjs +0 -59
- package/dist/chunk-RSTCESAL.js +0 -35
- package/dist/chunk-RSUJHDQA.cjs +0 -56
- package/dist/chunk-RTDZGU5J.js +0 -366
- package/dist/chunk-RU6KW5CM.cjs +0 -27
- package/dist/chunk-RYS6JJEE.js +0 -41
- package/dist/chunk-S3BY6XUW.cjs +0 -27
- package/dist/chunk-SAI5MDK3.js +0 -102
- package/dist/chunk-SDDC5AVT.cjs +0 -94
- package/dist/chunk-SEOJ475Z.cjs +0 -86
- package/dist/chunk-SMVLBX2D.cjs +0 -34
- package/dist/chunk-SPZKZUAH.js +0 -73
- package/dist/chunk-SQEOBZOQ.cjs +0 -351
- package/dist/chunk-SZNCRT6T.cjs +0 -35
- package/dist/chunk-TA7W237X.js +0 -26
- package/dist/chunk-TAEOGBWY.js +0 -28
- package/dist/chunk-TB376AUW.cjs +0 -25
- package/dist/chunk-TBB3GUOK.js +0 -54
- package/dist/chunk-TGVZCORB.cjs +0 -430
- package/dist/chunk-THAT7M2K.cjs +0 -315
- package/dist/chunk-TMB4SEV7.cjs +0 -81
- package/dist/chunk-TSYLKHL2.js +0 -27
- package/dist/chunk-U2CKBWYJ.cjs +0 -46
- package/dist/chunk-U3FWVBZ3.cjs +0 -94
- package/dist/chunk-U5D736PB.cjs +0 -25
- package/dist/chunk-UCOL37RG.js +0 -27
- package/dist/chunk-UF2SAH66.js +0 -27
- package/dist/chunk-UIYWFRXB.cjs +0 -200
- package/dist/chunk-URISHIUW.cjs +0 -653
- package/dist/chunk-UTSRM2EL.js +0 -57
- package/dist/chunk-UUBFMN76.js +0 -49
- package/dist/chunk-UUC3PWWZ.cjs +0 -27
- package/dist/chunk-UWGIIJDN.cjs +0 -38
- package/dist/chunk-V5GQM24U.js +0 -28
- package/dist/chunk-VASG2BKI.js +0 -4092
- package/dist/chunk-VB47G2O4.cjs +0 -35
- package/dist/chunk-VBU37CQG.cjs +0 -48
- package/dist/chunk-VDL5FG27.cjs +0 -27
- package/dist/chunk-VFDFLLP7.js +0 -416
- package/dist/chunk-VNJ4NNZJ.js +0 -25
- package/dist/chunk-VRG7HI7X.js +0 -38
- package/dist/chunk-VSFFGTTT.cjs +0 -38
- package/dist/chunk-VVA3TL2D.js +0 -90
- package/dist/chunk-W3PPZLB6.cjs +0 -49
- package/dist/chunk-W5GHORWN.cjs +0 -49
- package/dist/chunk-WC66SYZ7.cjs +0 -117
- package/dist/chunk-WDFOXMFH.js +0 -27
- package/dist/chunk-WG6IF6MG.cjs +0 -41
- package/dist/chunk-WHIOQKWN.js +0 -27
- package/dist/chunk-WIPV62VC.cjs +0 -101
- package/dist/chunk-WIRXH6BA.js +0 -58
- package/dist/chunk-WKNYSBTF.cjs +0 -28
- package/dist/chunk-WKRK5OVE.cjs +0 -544
- package/dist/chunk-WM2JR4O2.cjs +0 -129
- package/dist/chunk-WRQEO3XT.cjs +0 -26
- package/dist/chunk-WRZUCCQD.cjs +0 -36
- package/dist/chunk-WTFNCHBK.cjs +0 -30
- package/dist/chunk-WW5RAKEC.cjs +0 -27
- package/dist/chunk-WY2D7I5O.js +0 -49
- package/dist/chunk-WZJTXJM5.js +0 -23
- package/dist/chunk-X5SBSJ3Z.js +0 -21
- package/dist/chunk-XB2OTOVK.cjs +0 -27
- package/dist/chunk-XBKRPEVT.js +0 -38
- package/dist/chunk-XF2X7TOO.cjs +0 -53
- package/dist/chunk-XHLHQC5Q.js +0 -37
- package/dist/chunk-XHLL5XVN.cjs +0 -99
- package/dist/chunk-XKRDJQOZ.js +0 -218
- package/dist/chunk-XRS4QU2A.cjs +0 -125
- package/dist/chunk-XSMF72UT.js +0 -41
- package/dist/chunk-XTLPMH2Q.cjs +0 -27
- package/dist/chunk-XXE3N5AE.js +0 -25
- package/dist/chunk-XXXM6HSW.js +0 -49
- package/dist/chunk-XYP5XYVU.js +0 -480
- package/dist/chunk-YBWM4WKV.cjs +0 -27
- package/dist/chunk-YHJTGE2Y.cjs +0 -327
- package/dist/chunk-YPCTBP2X.cjs +0 -37
- package/dist/chunk-YRD2SMIO.js +0 -140
- package/dist/chunk-YTMT3NY6.cjs +0 -73
- package/dist/chunk-YUALIPXR.cjs +0 -89
- package/dist/chunk-YWI7HVJX.cjs +0 -43
- package/dist/chunk-YZM4ALKD.js +0 -164
- package/dist/chunk-Z64EONUS.cjs +0 -48
- package/dist/chunk-ZE4CS3ZS.js +0 -25
- package/dist/chunk-ZGJYMKB2.cjs +0 -55
- package/dist/chunk-ZLYJ3AKU.js +0 -27
- package/dist/chunk-ZMCAQFC6.js +0 -35
- package/dist/chunk-ZPJOE4AS.cjs +0 -49
- package/dist/chunk-ZQXRHPB6.js +0 -27
- package/dist/chunk-ZR3J7SMI.cjs +0 -17
- package/dist/chunk-ZRHJQUKS.cjs +0 -49
- package/dist/components/typography/typographyMap.cjs +0 -186
- package/dist/components/typography/typographyMap.d.cts +0 -132
- package/dist/components/typography/typographyMap.d.ts +0 -132
- package/dist/components/typography/typographyMap.js +0 -186
- package/dist/index-DCxwC_P-.d.cts +0 -240
- package/dist/index-K07-bA0i.d.ts +0 -240
- package/dist/router-Bz3Q1Loj.d.cts +0 -226
- package/dist/router-DcvQVNci.d.ts +0 -226
- package/dist/themes-ewqUKrgr.d.ts +0 -779
- package/dist/themes-yD4K014U.d.cts +0 -779
- package/dist/utils/toReactNodes/toReactNodesBase.cjs +0 -140
- package/dist/utils/toReactNodes/toReactNodesBase.d.cts +0 -132
- package/dist/utils/toReactNodes/toReactNodesBase.d.ts +0 -132
- package/dist/utils/toReactNodes/toReactNodesBase.js +0 -140
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkLTAR34WVcjs = require('./chunk-LTAR34WV.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkLQ7N5FRYcjs = require('./chunk-LQ7N5FRY.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
11
|
+
|
|
12
|
+
// src/components/CodeInput/CodeInput.tsx
|
|
13
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
14
|
+
var _lodashes = require('lodash-es');
|
|
15
|
+
var _nanoid = require('nanoid');
|
|
16
|
+
var _react = require('react');
|
|
17
|
+
var _reactdevicedetect = require('react-device-detect');
|
|
18
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
19
|
+
function codeFromInputState(inputState) {
|
|
20
|
+
return Object.values(inputState).map((input) => input.value).join("");
|
|
21
|
+
}
|
|
22
|
+
function getRef(key, refsObj) {
|
|
23
|
+
if (key && refsObj && typeof refsObj === "object" && refsObj.current) {
|
|
24
|
+
const ref = refsObj.current[key];
|
|
25
|
+
if (ref && typeof ref === "object" && ref.current && ref.current instanceof HTMLInputElement) {
|
|
26
|
+
return ref.current;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
function CodeInput({
|
|
32
|
+
codeLength = 8,
|
|
33
|
+
onChange,
|
|
34
|
+
onSubmit,
|
|
35
|
+
inputCSS,
|
|
36
|
+
autoFocus = true,
|
|
37
|
+
onBlur
|
|
38
|
+
}) {
|
|
39
|
+
const componentId = _react.useRef.call(void 0, _nanoid.nanoid.call(void 0, 5));
|
|
40
|
+
const inputRefs = _react.useRef.call(void 0, {});
|
|
41
|
+
const autofillValuesRef = _react.useRef.call(void 0, "");
|
|
42
|
+
const getInputId = _react.useCallback.call(void 0, (index) => {
|
|
43
|
+
const idPrefix = `two-factor-input-${componentId.current}-`;
|
|
44
|
+
return `${idPrefix}-${index}`;
|
|
45
|
+
}, []);
|
|
46
|
+
function getInputIndex(id) {
|
|
47
|
+
return Number.parseInt(id.charAt(id.length - 1), 10);
|
|
48
|
+
}
|
|
49
|
+
const firstFieldRefCb = _react.useCallback.call(void 0,
|
|
50
|
+
(ref) => {
|
|
51
|
+
if (ref) {
|
|
52
|
+
inputRefs.current[ref.id] = _react.createRef.call(void 0, );
|
|
53
|
+
inputRefs.current[ref.id].current = ref;
|
|
54
|
+
if (ref.id === getInputId(0) && autoFocus) {
|
|
55
|
+
ref.focus();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
[getInputId, autoFocus]
|
|
60
|
+
);
|
|
61
|
+
const [inputState, setInputState] = _react.useState.call(void 0,
|
|
62
|
+
Array(codeLength).fill(0).reduce((acc, _, i) => {
|
|
63
|
+
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, acc), {
|
|
64
|
+
[getInputId(i)]: {
|
|
65
|
+
value: ""
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}, {})
|
|
69
|
+
);
|
|
70
|
+
const onKeyDown = _react.useCallback.call(void 0,
|
|
71
|
+
(event, inputId) => {
|
|
72
|
+
const handleKeys = /* @__PURE__ */ new Set([
|
|
73
|
+
"0",
|
|
74
|
+
"1",
|
|
75
|
+
"2",
|
|
76
|
+
"3",
|
|
77
|
+
"4",
|
|
78
|
+
"5",
|
|
79
|
+
"6",
|
|
80
|
+
"7",
|
|
81
|
+
"8",
|
|
82
|
+
"9",
|
|
83
|
+
"Enter",
|
|
84
|
+
"Escape",
|
|
85
|
+
"Backspace",
|
|
86
|
+
"Delete",
|
|
87
|
+
"ArrowLeft",
|
|
88
|
+
"ArrowRight"
|
|
89
|
+
]);
|
|
90
|
+
if (["e", "E", "+", "-", "."].includes(event.key)) {
|
|
91
|
+
event.preventDefault();
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (!handleKeys.has(event.key)) {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
let replaceEntireState = false;
|
|
98
|
+
const currentInputIndex = getInputIndex(inputId);
|
|
99
|
+
const isFirstInput = currentInputIndex === 0;
|
|
100
|
+
const isLastInput = currentInputIndex === codeLength - 1;
|
|
101
|
+
const nextInputIndex = isLastInput ? void 0 : currentInputIndex + 1;
|
|
102
|
+
const prevInputIndex = isFirstInput ? void 0 : currentInputIndex - 1;
|
|
103
|
+
const nextInputId = _lodashes.isNumber.call(void 0, nextInputIndex) ? getInputId(nextInputIndex) : void 0;
|
|
104
|
+
const prevInputId = _lodashes.isNumber.call(void 0, prevInputIndex) ? getInputId(prevInputIndex) : void 0;
|
|
105
|
+
const nextInput = nextInputId ? inputState[nextInputId] : void 0;
|
|
106
|
+
const prevInput = prevInputId ? inputState[prevInputId] : void 0;
|
|
107
|
+
const currentInputRef = getRef(inputId, inputRefs);
|
|
108
|
+
const nextInputRef = getRef(nextInputId, inputRefs);
|
|
109
|
+
const prevInputRef = getRef(prevInputId, inputRefs);
|
|
110
|
+
const firstInputRef = getRef(getInputId(0), inputRefs);
|
|
111
|
+
const lastInputRef = getRef(getInputId(codeLength - 1), inputRefs);
|
|
112
|
+
if (event.key === "ArrowLeft") {
|
|
113
|
+
if (firstInputRef && (event.metaKey || event.ctrlKey || event.altKey)) {
|
|
114
|
+
firstInputRef.focus();
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
if (prevInput && prevInputRef) {
|
|
118
|
+
prevInputRef.focus();
|
|
119
|
+
prevInputRef.select();
|
|
120
|
+
}
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if (event.key === "ArrowRight") {
|
|
124
|
+
if (lastInputRef && (event.metaKey || event.ctrlKey || event.altKey)) {
|
|
125
|
+
lastInputRef.focus();
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
if (nextInput && nextInputRef) {
|
|
129
|
+
nextInputRef.focus();
|
|
130
|
+
nextInputRef.select();
|
|
131
|
+
}
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
if (event.key === "Enter" && onSubmit) {
|
|
135
|
+
const code2 = codeFromInputState(inputState);
|
|
136
|
+
onSubmit(code2);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
if (event.key === "Escape" && currentInputRef) {
|
|
140
|
+
currentInputRef.blur();
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
if (event.key === "Backspace" && (event.metaKey || event.ctrlKey || event.altKey)) {
|
|
144
|
+
replaceEntireState = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, inputState);
|
|
145
|
+
Object.keys(replaceEntireState).forEach((inputId2) => {
|
|
146
|
+
const newState2 = replaceEntireState;
|
|
147
|
+
newState2[inputId2] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, newState2[inputId2]), {
|
|
148
|
+
value: ""
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
let value = event.key;
|
|
153
|
+
if (event.key === "Backspace" && !event.metaKey && !event.ctrlKey && !event.altKey) {
|
|
154
|
+
value = "";
|
|
155
|
+
if (!isFirstInput && prevInput && prevInputRef) {
|
|
156
|
+
prevInputRef.focus();
|
|
157
|
+
}
|
|
158
|
+
} else if (event.key === "Delete") {
|
|
159
|
+
value = "";
|
|
160
|
+
if (!isLastInput && nextInput && nextInputRef) {
|
|
161
|
+
nextInputRef.focus();
|
|
162
|
+
}
|
|
163
|
+
} else if (replaceEntireState) {
|
|
164
|
+
const lastInputWithValue = Object.entries(replaceEntireState).reverse().find(([, { value: value2 }]) => value2 !== "");
|
|
165
|
+
if (lastInputWithValue) {
|
|
166
|
+
const inputId2 = lastInputWithValue[0];
|
|
167
|
+
const inputRef = getRef(inputId2, inputRefs);
|
|
168
|
+
inputRef == null ? void 0 : inputRef.focus();
|
|
169
|
+
inputRef == null ? void 0 : inputRef.select();
|
|
170
|
+
} else if (firstInputRef) {
|
|
171
|
+
firstInputRef.focus();
|
|
172
|
+
}
|
|
173
|
+
} else if (isLastInput) {
|
|
174
|
+
} else if (nextInput && nextInputRef) {
|
|
175
|
+
nextInputRef.focus();
|
|
176
|
+
nextInputRef.select();
|
|
177
|
+
}
|
|
178
|
+
const newState = replaceEntireState ? replaceEntireState : _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, inputState), {
|
|
179
|
+
[inputId]: { value }
|
|
180
|
+
});
|
|
181
|
+
const code = codeFromInputState(newState);
|
|
182
|
+
if (onChange) {
|
|
183
|
+
onChange(code);
|
|
184
|
+
}
|
|
185
|
+
setInputState(newState);
|
|
186
|
+
},
|
|
187
|
+
[onChange, setInputState, onSubmit, getInputId, inputState, codeLength]
|
|
188
|
+
);
|
|
189
|
+
const onPasteCb = _react.useCallback.call(void 0,
|
|
190
|
+
(event) => {
|
|
191
|
+
event.preventDefault();
|
|
192
|
+
const rawText = event.clipboardData.getData("text");
|
|
193
|
+
const text = rawText == null ? void 0 : rawText.replace(/[\s.]/g, "");
|
|
194
|
+
if (!text || Number.isNaN(Number.parseInt(text))) {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
const inputValues = text.split("");
|
|
198
|
+
const newState = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, inputState);
|
|
199
|
+
inputValues.forEach((value, i) => {
|
|
200
|
+
const inputId = getInputId(i);
|
|
201
|
+
newState[inputId] = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, newState[inputId]), {
|
|
202
|
+
value
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
const firstInputRef = getRef(getInputId(0), inputRefs);
|
|
206
|
+
const lastInputWithValue = Object.entries(newState).reverse().find(([, { value }]) => value !== "");
|
|
207
|
+
if (lastInputWithValue) {
|
|
208
|
+
const inputId = lastInputWithValue[0];
|
|
209
|
+
const inputRef = getRef(inputId, inputRefs);
|
|
210
|
+
inputRef == null ? void 0 : inputRef.focus();
|
|
211
|
+
inputRef == null ? void 0 : inputRef.select();
|
|
212
|
+
} else if (firstInputRef) {
|
|
213
|
+
firstInputRef.focus();
|
|
214
|
+
}
|
|
215
|
+
const code = codeFromInputState(newState);
|
|
216
|
+
if (onChange) {
|
|
217
|
+
onChange(code);
|
|
218
|
+
}
|
|
219
|
+
setInputState(newState);
|
|
220
|
+
},
|
|
221
|
+
[getInputId, inputState, onChange, setInputState]
|
|
222
|
+
);
|
|
223
|
+
const onBlurCb = _react.useCallback.call(void 0, () => {
|
|
224
|
+
setTimeout(() => {
|
|
225
|
+
let hasCodeFocused = false;
|
|
226
|
+
if (inputRefs.current) {
|
|
227
|
+
Object.values(inputRefs.current).forEach((ref) => {
|
|
228
|
+
if (ref && ref.current && ref.current === document.activeElement) {
|
|
229
|
+
hasCodeFocused = true;
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
if (!hasCodeFocused && onBlur) {
|
|
233
|
+
onBlur();
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}, 0);
|
|
237
|
+
}, [onBlur]);
|
|
238
|
+
const inputsPerGroup = Math.ceil(codeLength / 2);
|
|
239
|
+
const inputs = [];
|
|
240
|
+
for (let i = 0; i < codeLength; i += 1) {
|
|
241
|
+
const inputId = getInputId(i);
|
|
242
|
+
inputs.push(
|
|
243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
244
|
+
_chunkLTAR34WVcjs.SingleCodeInput,
|
|
245
|
+
{
|
|
246
|
+
value: inputState[inputId].value,
|
|
247
|
+
id: inputId,
|
|
248
|
+
inputRef: firstFieldRefCb,
|
|
249
|
+
onPaste: onPasteCb,
|
|
250
|
+
onKeyDown: (event) => onKeyDown(event, inputId),
|
|
251
|
+
onChange: (event) => {
|
|
252
|
+
if (_reactdevicedetect.isMobileSafari && event.nativeEvent instanceof CustomEvent) {
|
|
253
|
+
autofillValuesRef.current += event.target.value;
|
|
254
|
+
if (autofillValuesRef.current.length === codeLength) {
|
|
255
|
+
const newState = Array(codeLength).fill(0).reduce((acc, _, i2) => {
|
|
256
|
+
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, acc), {
|
|
257
|
+
[getInputId(i2)]: {
|
|
258
|
+
value: autofillValuesRef.current[i2]
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
}, {});
|
|
262
|
+
setInputState(newState);
|
|
263
|
+
if (onSubmit) {
|
|
264
|
+
onSubmit(autofillValuesRef.current);
|
|
265
|
+
}
|
|
266
|
+
autofillValuesRef.current = "";
|
|
267
|
+
}
|
|
268
|
+
} else if (_reactdevicedetect.isMobile && _reactdevicedetect.isChrome && event.target.value.length === codeLength) {
|
|
269
|
+
const newState = Array(codeLength).fill(0).reduce((acc, _, i2) => {
|
|
270
|
+
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, acc), {
|
|
271
|
+
[getInputId(i2)]: {
|
|
272
|
+
value: event.target.value[i2]
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
}, {});
|
|
276
|
+
setInputState(newState);
|
|
277
|
+
if (onSubmit) {
|
|
278
|
+
onSubmit(event.target.value);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
type: "number",
|
|
283
|
+
ariaLabel: `Code input ${i + 1} of ${codeLength}`,
|
|
284
|
+
cssProp: inputCSS,
|
|
285
|
+
onBlur: onBlurCb,
|
|
286
|
+
width: `${(100 / inputsPerGroup).toFixed(2)}%`,
|
|
287
|
+
max: 9
|
|
288
|
+
},
|
|
289
|
+
inputId
|
|
290
|
+
)
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledCodeInput, { children: [
|
|
294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CodeInputGroup, { children: inputs.slice(0, inputsPerGroup) }),
|
|
295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CodeInputGroupSeparator, {}),
|
|
296
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CodeInputGroup, { children: inputs.slice(inputsPerGroup, inputs.length) })
|
|
297
|
+
] });
|
|
298
|
+
}
|
|
299
|
+
var StyledCodeInput = _styled2.default.div`
|
|
300
|
+
display: inline-flex;
|
|
301
|
+
flex-direction: row;
|
|
302
|
+
justify-content: space-between;
|
|
303
|
+
align-items: center;
|
|
304
|
+
flex-wrap: wrap;
|
|
305
|
+
`;
|
|
306
|
+
var separatorWidth = 12;
|
|
307
|
+
var separatorMargin = 8;
|
|
308
|
+
var CodeInputGroup = _styled2.default.div`
|
|
309
|
+
display: flex;
|
|
310
|
+
flex-direction: row;
|
|
311
|
+
justify-content: space-between;
|
|
312
|
+
align-items: center;
|
|
313
|
+
flex-wrap: wrap;
|
|
314
|
+
width: calc(50% - ${(separatorWidth + separatorMargin * 2) / 2}px);
|
|
315
|
+
`;
|
|
316
|
+
var CodeInputGroupSeparator = _styled2.default.div`
|
|
317
|
+
width: ${separatorWidth}px;
|
|
318
|
+
height: 4px;
|
|
319
|
+
background-color: ${_chunkLQ7N5FRYcjs.textInputBorderColor};
|
|
320
|
+
border-radius: 2px;
|
|
321
|
+
margin: 0 ${separatorMargin}px;
|
|
322
|
+
`;
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
exports.CodeInput = CodeInput; exports.StyledCodeInput = StyledCodeInput;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// src/icons/QuestionCircleStrong.tsx
|
|
2
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
+
function QuestionCircleStrong({
|
|
4
|
+
strokeWidth = "1.5",
|
|
5
|
+
strokeLinecap = "round",
|
|
6
|
+
strokeLinejoin = "round"
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
width: "100%",
|
|
12
|
+
viewBox: "0 0 14 14",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
children: /* @__PURE__ */ jsx(
|
|
16
|
+
"path",
|
|
17
|
+
{
|
|
18
|
+
d: "M5.50065 5.16634C6.00065 3.66634 8.50065 3.79405 8.50065 5.36055C8.50065 6.46687 7.00065 6.64061 7.00065 7.83301M7.00065 9.66634V9.65967M13.1673 6.99967C13.1673 10.4054 10.4064 13.1663 7.00065 13.1663C3.5949 13.1663 0.833984 10.4054 0.833984 6.99967C0.833984 3.59392 3.5949 0.833008 7.00065 0.833008C10.4064 0.833008 13.1673 3.59392 13.1673 6.99967ZM7.16732 9.66634C7.16732 9.75841 7.09272 9.83301 7.00065 9.83301C6.90858 9.83301 6.83398 9.75841 6.83398 9.66634C6.83398 9.57427 6.90858 9.49967 7.00065 9.49967C7.09272 9.49967 7.16732 9.57427 7.16732 9.66634Z",
|
|
19
|
+
stroke: "currentColor",
|
|
20
|
+
strokeWidth,
|
|
21
|
+
strokeLinecap,
|
|
22
|
+
strokeLinejoin
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
QuestionCircleStrong
|
|
31
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/Uma.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function Uma() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: "100%",
|
|
9
|
+
viewBox: "0 0 40 18",
|
|
10
|
+
fill: "none",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M30.6127 11.5888C30.9753 11.5888 31.2799 11.5259 31.5265 11.4002C31.778 11.2697 31.9762 11.1222 32.1213 10.9578C32.2712 10.7934 32.3727 10.6556 32.4259 10.5444C32.5274 10.3316 32.5854 10.085 32.6 9.80459C32.6126 9.61777 32.6211 9.45169 32.6255 9.30635C32.3053 9.38884 32.0235 9.44143 31.7972 9.48367L31.7876 9.48546C31.425 9.54832 31.1324 9.60634 30.91 9.65953C30.6876 9.71272 30.4918 9.77074 30.3225 9.8336C30.1291 9.91096 29.972 9.99558 29.8511 10.0875C29.7351 10.1745 29.648 10.2712 29.59 10.3776C29.5368 10.4839 29.5102 10.6024 29.5102 10.733C29.5102 10.9119 29.5537 11.0666 29.6408 11.1971C29.7326 11.3229 29.8608 11.4196 30.0252 11.4873C30.1896 11.555 30.3854 11.5888 30.6127 11.5888Z",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
}
|
|
18
|
+
),
|
|
19
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20
|
+
"path",
|
|
21
|
+
{
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M0.506832 2.74799C0 3.7427 0 5.04485 0 7.64916V10.3512C0 12.9555 0 14.2577 0.506832 15.2524C0.952653 16.1274 1.66403 16.8387 2.539 17.2846C3.53372 17.7914 4.83587 17.7914 7.44018 17.7914H32.5163C35.1206 17.7914 36.4228 17.7914 37.4175 17.2846C38.2925 16.8387 39.0038 16.1274 39.4497 15.2524C39.9565 14.2577 39.9565 12.9555 39.9565 10.3512V7.64916C39.9565 5.04485 39.9565 3.7427 39.4497 2.74799C39.0038 1.87301 38.2925 1.16164 37.4175 0.715816C36.4228 0.208984 35.1206 0.208984 32.5163 0.208984H7.44018C4.83587 0.208984 3.53372 0.208984 2.539 0.715816C1.66403 1.16164 0.952653 1.87301 0.506832 2.74799ZM30.192 13.1409C29.6311 13.1409 29.1548 13.0345 28.7632 12.8218C28.3763 12.6042 28.0814 12.3165 27.8783 11.9587C27.6801 11.5961 27.5809 11.1971 27.5809 10.762C27.5809 10.3993 27.6101 10.1905 27.7213 9.89067C27.8326 9.59088 28.0075 9.32106 28.2541 9.0938C28.5055 8.86171 28.8516 8.70218 29.1317 8.61725C29.4118 8.53232 29.9345 8.40989 30.2676 8.35398C30.3758 8.33582 30.5032 8.31555 30.649 8.29235L30.6491 8.29234L30.6493 8.29231C30.9523 8.24411 31.3345 8.1833 31.7876 8.10271C32.1373 8.04051 32.4065 7.94077 32.649 7.80203C32.6185 7.44774 32.5103 7.17964 32.3243 6.99772C32.1019 6.78013 31.7296 6.67134 31.2074 6.67134C30.9173 6.67134 30.6151 6.74145 30.3008 6.88167C29.9865 7.02189 29.7665 7.27091 29.6408 7.62872L27.8566 7.06299C28.0548 6.41507 28.4271 5.88802 28.9735 5.48186C29.5199 5.0757 30.2645 4.87262 31.2074 4.87262C31.8988 4.87262 32.5129 4.97899 33.0496 5.19174C33.5863 5.4045 33.9925 5.77198 34.2681 6.29419C34.4228 6.5843 34.5147 6.87442 34.5437 7.16453C34.5727 7.45465 34.5872 7.77861 34.5872 8.13642V12.9233H32.8611V11.9618C32.5494 12.329 32.2182 12.606 31.8674 12.7928C31.4274 13.0249 30.8689 13.1409 30.192 13.1409ZM24.1572 12.9231V8.29575C24.1572 7.77837 24.0339 7.37705 23.7873 7.09177C23.5456 6.80165 23.2095 6.65659 22.7792 6.65659C22.5036 6.65659 22.2642 6.72187 22.0611 6.85242C21.8581 6.97814 21.6985 7.15704 21.5825 7.38914C21.4712 7.61639 21.4156 7.87992 21.4156 8.1797V12.9231H19.4428V8.29575C19.4428 7.77837 19.3195 7.37705 19.073 7.09177C18.8312 6.80165 18.4951 6.65659 18.0648 6.65659C17.6538 6.65659 17.3226 6.79923 17.0711 7.08451C16.8246 7.36496 16.7013 7.73002 16.7013 8.1797V12.9231H14.714V5.08997H16.4547V5.94818C16.6819 5.6683 16.9599 5.43784 17.2887 5.25678C17.7239 5.01986 18.2099 4.90139 18.7466 4.90139C19.3606 4.90139 19.8635 5.03194 20.2552 5.29305C20.5823 5.50848 20.8387 5.78317 21.0243 6.11711C21.2732 5.74915 21.5946 5.45996 21.9886 5.24953C22.419 5.01744 22.8952 4.90139 23.4174 4.90139C24.312 4.90139 24.9865 5.16733 25.441 5.69921C25.9003 6.22625 26.13 6.9177 26.13 7.77354V12.9231H24.1572ZM6.92079 12.8433C7.30762 13.0512 7.80807 13.1552 8.42214 13.1552C9.19095 13.1552 9.82679 12.9884 10.3297 12.6547C10.5683 12.4979 10.7786 12.3181 10.9607 12.1154V12.9231H12.7014V5.08997H10.7141V9.06456C10.7141 9.54809 10.6585 9.93975 10.5472 10.2395C10.4409 10.5345 10.3031 10.7593 10.1338 10.9141C9.96459 11.0639 9.78327 11.1655 9.58986 11.2187C9.39645 11.2719 9.21513 11.2985 9.04589 11.2985C8.62523 11.2985 8.29884 11.2042 8.06675 11.0156C7.83949 10.827 7.6751 10.5925 7.57355 10.3121C7.47201 10.0316 7.41157 9.75359 7.39223 9.47798C7.37289 9.19753 7.36322 8.96786 7.36322 8.78895V5.08997H5.36142V9.48523C5.36142 9.61578 5.37109 9.8237 5.39043 10.109C5.40977 10.3943 5.46538 10.711 5.55725 11.0591C5.64912 11.4024 5.80143 11.7336 6.01418 12.0528C6.23177 12.3719 6.53397 12.6354 6.92079 12.8433Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
exports.Uma = Uma;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/Terminal.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function Terminal({
|
|
4
|
+
strokeWidth = "2.28571",
|
|
5
|
+
strokeLinecap = "round",
|
|
6
|
+
strokeLinejoin = "round"
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
width: "32",
|
|
13
|
+
height: "32",
|
|
14
|
+
viewBox: "0 0 32 32",
|
|
15
|
+
fill: "none",
|
|
16
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
d: "M7.33337 23.3333L14.6667 16L7.33337 8.66663M16.6667 26H26",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
strokeWidth,
|
|
22
|
+
strokeLinecap,
|
|
23
|
+
strokeLinejoin
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.Terminal = Terminal;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderTypography
|
|
3
|
+
} from "./chunk-OUVY3GFY.js";
|
|
4
|
+
import {
|
|
5
|
+
isString
|
|
6
|
+
} from "./chunk-EDN2QDCB.js";
|
|
7
|
+
import {
|
|
8
|
+
colors
|
|
9
|
+
} from "./chunk-HO7LVJ3R.js";
|
|
10
|
+
|
|
11
|
+
// src/router.tsx
|
|
12
|
+
import styled from "@emotion/styled";
|
|
13
|
+
import { omit } from "lodash-es";
|
|
14
|
+
import { useCallback } from "react";
|
|
15
|
+
import {
|
|
16
|
+
Link as RLink,
|
|
17
|
+
Navigate as RNavigate,
|
|
18
|
+
matchPath,
|
|
19
|
+
useLocation,
|
|
20
|
+
useNavigate as useRNavigate
|
|
21
|
+
} from "react-router-dom";
|
|
22
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
23
|
+
function replaceParams(to, params) {
|
|
24
|
+
if (params) {
|
|
25
|
+
let toWithParams = to;
|
|
26
|
+
Object.entries(omit(params, "query")).forEach(([key, value]) => {
|
|
27
|
+
if (typeof value !== "string") {
|
|
28
|
+
throw new Error(
|
|
29
|
+
`Only 'query' may be an object. Route params must be a string, but '${key}' is not.`
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
toWithParams = toWithParams.replace(`:${key}`, value);
|
|
33
|
+
});
|
|
34
|
+
if (params.query) {
|
|
35
|
+
let query = params.query;
|
|
36
|
+
if (typeof query !== "string") {
|
|
37
|
+
query = Object.entries(params.query).map(([key, value]) => `${key}${value ? `=${value}` : ""}`).join("&");
|
|
38
|
+
}
|
|
39
|
+
toWithParams = `${toWithParams}?${query}`;
|
|
40
|
+
}
|
|
41
|
+
to = toWithParams;
|
|
42
|
+
}
|
|
43
|
+
return to;
|
|
44
|
+
}
|
|
45
|
+
function LinkBase({
|
|
46
|
+
to,
|
|
47
|
+
id,
|
|
48
|
+
externalLink,
|
|
49
|
+
filename,
|
|
50
|
+
params,
|
|
51
|
+
children,
|
|
52
|
+
text,
|
|
53
|
+
css,
|
|
54
|
+
onClick,
|
|
55
|
+
className,
|
|
56
|
+
hash = null,
|
|
57
|
+
blue = false,
|
|
58
|
+
newTab: newTabProp,
|
|
59
|
+
typography
|
|
60
|
+
}) {
|
|
61
|
+
if (!isString(to) && !externalLink && !onClick) {
|
|
62
|
+
throw new Error(
|
|
63
|
+
"Link must have either `to` or `externalLink` or `onClick` defined"
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
let toStr;
|
|
67
|
+
let newTab = Boolean(newTabProp);
|
|
68
|
+
if (isString(to)) {
|
|
69
|
+
toStr = replaceParams(to, params);
|
|
70
|
+
toStr += hash ? `#${hash}` : "";
|
|
71
|
+
} else if (externalLink) {
|
|
72
|
+
const definedExternalLink = externalLink;
|
|
73
|
+
if (!definedExternalLink.startsWith("http") && !definedExternalLink.startsWith("mailto:")) {
|
|
74
|
+
throw new Error("Link's externalLink must start with http or mailto:");
|
|
75
|
+
}
|
|
76
|
+
if (newTabProp === void 0) {
|
|
77
|
+
newTab = true;
|
|
78
|
+
}
|
|
79
|
+
toStr = definedExternalLink;
|
|
80
|
+
} else {
|
|
81
|
+
toStr = "#";
|
|
82
|
+
}
|
|
83
|
+
let content = children;
|
|
84
|
+
if (text) {
|
|
85
|
+
content = typography ? renderTypography(typography.type, {
|
|
86
|
+
size: typography.size,
|
|
87
|
+
color: typography.color,
|
|
88
|
+
children: text
|
|
89
|
+
}) : text;
|
|
90
|
+
}
|
|
91
|
+
return /* @__PURE__ */ jsx(
|
|
92
|
+
RLink,
|
|
93
|
+
{
|
|
94
|
+
to: toStr,
|
|
95
|
+
id,
|
|
96
|
+
css,
|
|
97
|
+
onClick,
|
|
98
|
+
className,
|
|
99
|
+
download: filename,
|
|
100
|
+
style: { color: blue ? colors.blue43 : "inherit" },
|
|
101
|
+
target: newTab ? "_blank" : void 0,
|
|
102
|
+
rel: newTab ? "noopener noreferrer" : void 0,
|
|
103
|
+
children: content
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
var Link = styled(LinkBase)``;
|
|
108
|
+
function Navigate({
|
|
109
|
+
to,
|
|
110
|
+
params,
|
|
111
|
+
state,
|
|
112
|
+
replace = false
|
|
113
|
+
}) {
|
|
114
|
+
to = replaceParams(to, params);
|
|
115
|
+
return /* @__PURE__ */ jsx(RNavigate, { to, state, replace });
|
|
116
|
+
}
|
|
117
|
+
function useNavigate() {
|
|
118
|
+
const navigate = useRNavigate();
|
|
119
|
+
return useCallback(
|
|
120
|
+
(to, params, options) => {
|
|
121
|
+
if (typeof to === "string") {
|
|
122
|
+
to = replaceParams(to, params);
|
|
123
|
+
return navigate(to, options);
|
|
124
|
+
}
|
|
125
|
+
return navigate(to);
|
|
126
|
+
},
|
|
127
|
+
[navigate]
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
function useMatchRoutes(routes) {
|
|
131
|
+
const location = useLocation();
|
|
132
|
+
const doesMatch = routes.some((route) => matchPath(route, location.pathname));
|
|
133
|
+
return doesMatch;
|
|
134
|
+
}
|
|
135
|
+
function useFindMatchingRoute(routes) {
|
|
136
|
+
const location = useLocation();
|
|
137
|
+
const matchingRoute = routes.find(
|
|
138
|
+
(route) => matchPath(route, location.pathname)
|
|
139
|
+
);
|
|
140
|
+
return matchingRoute;
|
|
141
|
+
}
|
|
142
|
+
function useMatchRoute(route) {
|
|
143
|
+
const location = useLocation();
|
|
144
|
+
return matchPath(route, location.pathname);
|
|
145
|
+
}
|
|
146
|
+
function useCurrentRoute() {
|
|
147
|
+
const location = useLocation();
|
|
148
|
+
return location.pathname;
|
|
149
|
+
}
|
|
150
|
+
function getRouteName(path, routes) {
|
|
151
|
+
for (const routeName of Object.keys(routes)) {
|
|
152
|
+
if (matchPath(routes[routeName], path)) {
|
|
153
|
+
return routeName;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return null;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export {
|
|
160
|
+
replaceParams,
|
|
161
|
+
Link,
|
|
162
|
+
Navigate,
|
|
163
|
+
useNavigate,
|
|
164
|
+
useMatchRoutes,
|
|
165
|
+
useFindMatchingRoute,
|
|
166
|
+
useMatchRoute,
|
|
167
|
+
useCurrentRoute,
|
|
168
|
+
getRouteName
|
|
169
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkVNROMCYVcjs = require('./chunk-VNROMCYV.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
7
|
+
|
|
8
|
+
// src/components/Icon/types.tsx
|
|
9
|
+
var iconMap = _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, _chunkVNROMCYVcjs.icons_exports);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.iconMap = iconMap;
|