@lightsparkdev/ui 1.0.17 → 1.1.1
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 +44 -0
- package/dist/chunk-22F7POOJ.cjs +32 -0
- package/dist/chunk-22Z3FKPS.cjs +32 -0
- package/dist/chunk-27KFOQ2E.cjs +31 -0
- package/dist/chunk-2FEYG26P.js +16 -0
- package/dist/chunk-2NFFDKIX.js +163 -0
- package/dist/chunk-2OE2VPDJ.js +425 -0
- package/dist/chunk-2RXMYPBB.cjs +150 -0
- package/dist/chunk-2VEWSENQ.cjs +68 -0
- package/dist/chunk-2VVOVGDU.js +251 -0
- package/dist/chunk-2WGT2HLG.js +32 -0
- package/dist/chunk-2X7TY7WF.cjs +477 -0
- package/dist/chunk-2YBZV2K6.cjs +118 -0
- package/dist/chunk-2ZEXIXP5.cjs +33 -0
- package/dist/chunk-33OPRYWV.js +792 -0
- package/dist/chunk-355DFDX6.cjs +327 -0
- package/dist/chunk-363DAWKZ.js +101 -0
- package/dist/chunk-3AAQPOUS.cjs +72 -0
- package/dist/chunk-3HIDFTSK.js +23 -0
- package/dist/chunk-3KRQU3PT.js +25 -0
- package/dist/chunk-3LYNN54X.js +32 -0
- package/dist/chunk-3N2BVLZJ.js +102 -0
- package/dist/chunk-3NO2KSS7.cjs +125 -0
- package/dist/chunk-3URPB6A2.cjs +262 -0
- package/dist/chunk-3V2ISAGX.cjs +33 -0
- package/dist/chunk-42MFZHGO.js +31 -0
- package/dist/chunk-43FHEBXH.js +256 -0
- package/dist/chunk-45JK224Z.js +33 -0
- package/dist/chunk-46X45LHV.cjs +94 -0
- package/dist/chunk-4C6DRJZF.js +35 -0
- package/dist/chunk-4FGWW3A2.js +115 -0
- package/dist/chunk-4HPURCWW.cjs +168 -0
- package/dist/chunk-4HUUCNLQ.cjs +63 -0
- package/dist/chunk-4IFDR4TO.cjs +32 -0
- package/dist/chunk-4KGDYJKA.cjs +33 -0
- package/dist/chunk-4LGS7DX5.js +327 -0
- package/dist/chunk-4MMW2VJI.js +20 -0
- package/dist/chunk-4N5EXQIS.cjs +123 -0
- package/dist/chunk-4NE7A6PJ.cjs +33 -0
- package/dist/chunk-4S2OUM3H.js +44 -0
- package/dist/chunk-4TP6B3DR.js +41 -0
- package/dist/chunk-4XIHOG3M.js +33 -0
- package/dist/chunk-4Y7H6RLJ.cjs +118 -0
- package/dist/chunk-5257236A.js +169 -0
- package/dist/chunk-526OLTGI.cjs +701 -0
- package/dist/chunk-5A42W3Q2.cjs +33 -0
- package/dist/chunk-5A7SOR5D.js +109 -0
- package/dist/chunk-5CJJZ7YM.cjs +48 -0
- package/dist/chunk-5IE76ZD5.js +165 -0
- package/dist/chunk-5LO7RI2D.cjs +72 -0
- package/dist/chunk-5UCT6JIF.cjs +16 -0
- package/dist/chunk-66MAH27Y.cjs +33 -0
- package/dist/chunk-6CQGMGIC.js +44 -0
- package/dist/chunk-6J4PCKID.js +33 -0
- package/dist/chunk-6KEADEVM.js +394 -0
- package/dist/chunk-6N7XRYZD.cjs +285 -0
- package/dist/chunk-6O44WIUE.js +26 -0
- package/dist/chunk-6OSTNEFI.cjs +96 -0
- package/dist/chunk-6S5BDYYO.cjs +315 -0
- package/dist/chunk-6SKXUGXK.cjs +342 -0
- package/dist/chunk-6SXB34S4.js +35 -0
- package/dist/chunk-6XPKQVUC.cjs +33 -0
- package/dist/chunk-75HJ26WW.js +28 -0
- package/dist/chunk-7ENTQXB2.js +33 -0
- package/dist/chunk-7GLJ7C2G.cjs +130 -0
- package/dist/chunk-7MCQ77NB.js +33 -0
- package/dist/chunk-7QQY56II.js +26 -0
- package/dist/chunk-7VSNXYK4.cjs +181 -0
- package/dist/chunk-A3UC2IL3.js +168 -0
- package/dist/chunk-A4XFLXBG.js +68 -0
- package/dist/chunk-ACUDTIRC.cjs +640 -0
- package/dist/chunk-AEAI2LPC.js +33 -0
- package/dist/chunk-AEJVUUYW.js +105 -0
- package/dist/chunk-AFSQFTQO.cjs +79 -0
- package/dist/chunk-AG6RANYL.cjs +33 -0
- package/dist/chunk-ALFU7MBM.js +100 -0
- package/dist/chunk-ANYBXX2H.cjs +54 -0
- package/dist/chunk-ANZUTQRP.js +164 -0
- package/dist/chunk-AOLSQE7K.cjs +32 -0
- package/dist/chunk-AOMTGBKQ.js +26 -0
- package/dist/chunk-AQ3YLJHI.cjs +100 -0
- package/dist/chunk-ARF5YFDI.js +94 -0
- package/dist/chunk-AYSWBPD3.cjs +33 -0
- package/dist/chunk-AZUWBYBH.cjs +32 -0
- package/dist/chunk-B4W3Q36G.js +31 -0
- package/dist/chunk-B6C5BAVY.js +129 -0
- package/dist/chunk-B6QJQTH5.js +26 -0
- package/dist/chunk-B77E362T.js +77 -0
- package/dist/chunk-BDL3A6DZ.js +96 -0
- package/dist/chunk-BDMEMB3V.cjs +33 -0
- package/dist/chunk-BF433KOL.cjs +77 -0
- package/dist/chunk-BI2QOOQ4.cjs +56 -0
- package/dist/chunk-BNP5R3JD.cjs +68 -0
- package/dist/chunk-BOWOVDC3.js +32 -0
- package/dist/chunk-BQCPG6LN.js +33 -0
- package/dist/chunk-BRUPLIGS.js +292 -0
- package/dist/chunk-BRZYPGMN.cjs +49 -0
- package/dist/chunk-BX3ABYIH.cjs +170 -0
- package/dist/chunk-BX4NPADU.js +32 -0
- package/dist/chunk-C75BQCBI.cjs +33 -0
- package/dist/chunk-CBZWRFNU.cjs +256 -0
- package/dist/chunk-CE3IOBBS.js +46 -0
- package/dist/chunk-CENFKSI4.js +358 -0
- package/dist/chunk-CEV6D4MN.js +35 -0
- package/dist/chunk-CG4UJ3BT.cjs +33 -0
- package/dist/chunk-CLSOA767.cjs +140 -0
- package/dist/chunk-CN32QIGW.js +54 -0
- package/dist/chunk-CNBS2XC2.js +16 -0
- package/dist/chunk-CP43M6OM.js +33 -0
- package/dist/chunk-CSAM3DBS.cjs +84 -0
- package/dist/chunk-CWZHO2GN.cjs +33 -0
- package/dist/chunk-CXAL4YW6.js +170 -0
- package/dist/chunk-CXSPSVH6.cjs +292 -0
- package/dist/chunk-CYXJZHLX.cjs +33 -0
- package/dist/chunk-D2TOV5JJ.js +70 -0
- package/dist/chunk-D3HYKGPY.js +26 -0
- package/dist/chunk-DARFMEKE.js +291 -0
- package/dist/chunk-DAXG55MZ.cjs +33 -0
- package/dist/chunk-DG46HTPM.cjs +28 -0
- package/dist/chunk-DGBVWO3Q.cjs +26 -0
- package/dist/chunk-DH3F4ATS.cjs +6 -0
- package/dist/chunk-DKYMW7FA.js +44 -0
- package/dist/chunk-DMKPWI5V.js +84 -0
- package/dist/chunk-DMYQK7AO.js +33 -0
- package/dist/chunk-DTK72LXN.cjs +129 -0
- package/dist/chunk-DUQKLYWW.cjs +482 -0
- package/dist/chunk-E4BMKFM2.js +33 -0
- package/dist/chunk-E4DYTGSO.cjs +32 -0
- package/dist/chunk-E4Z4BCP2.cjs +32 -0
- package/dist/chunk-E62AL352.js +77 -0
- package/dist/chunk-E6QPVXC5.js +35 -0
- package/dist/chunk-E74QMD4G.cjs +33 -0
- package/dist/chunk-E7KQYTWW.cjs +77 -0
- package/dist/chunk-EIK6IX56.cjs +16 -0
- package/dist/chunk-EL2GRBE2.js +26 -0
- package/dist/chunk-ENUWW557.cjs +35 -0
- package/dist/chunk-EPQWR7TV.cjs +169 -0
- package/dist/chunk-ESBJE62E.cjs +33 -0
- package/dist/chunk-ET4LGII3.js +33 -0
- package/dist/chunk-EXGP7GKS.js +18 -0
- package/dist/chunk-EZF6MMJ3.cjs +33 -0
- package/dist/chunk-F4QOEU5B.cjs +33 -0
- package/dist/chunk-F6GZJLCQ.js +33 -0
- package/dist/chunk-FAI2JG7U.cjs +34 -0
- package/dist/chunk-FAZRPNVL.cjs +35 -0
- package/dist/chunk-FDMZZB2V.js +87 -0
- package/dist/chunk-FGL6AQO2.cjs +26 -0
- package/dist/chunk-FHYBFAVA.js +27 -0
- package/dist/chunk-FK7E2RMW.cjs +32 -0
- package/dist/chunk-FLVJOJLK.js +70 -0
- package/dist/chunk-FMBWVJNX.cjs +27 -0
- package/dist/chunk-FPHVKCVO.cjs +44 -0
- package/dist/chunk-FPURFODV.js +55 -0
- package/dist/chunk-FTJZZWYS.cjs +256 -0
- package/dist/chunk-FUJFLMBS.cjs +33 -0
- package/dist/chunk-FXWL6U2X.js +32 -0
- package/dist/chunk-G2J3BVI4.cjs +65 -0
- package/dist/chunk-G5AXUILN.cjs +33 -0
- package/dist/chunk-G6OQNEXP.js +63 -0
- package/dist/chunk-GA5Y5JKU.js +24 -0
- package/dist/chunk-GDALD3BQ.cjs +55 -0
- package/dist/chunk-GDG5YSJC.cjs +43 -0
- package/dist/chunk-GG32O4Y2.cjs +577 -0
- package/dist/chunk-GHBRK6O3.cjs +18 -0
- package/dist/chunk-GM7RDF3D.cjs +26 -0
- package/dist/chunk-GMBFE2Y7.js +118 -0
- package/dist/chunk-GPRW3L26.cjs +31 -0
- package/dist/chunk-GQJZNXMB.js +79 -0
- package/dist/chunk-GRC7XFET.js +26 -0
- package/dist/chunk-GSU6TJQP.js +315 -0
- package/dist/chunk-GUJMV4XO.cjs +45 -0
- package/dist/chunk-GUN5LY2D.js +640 -0
- package/dist/chunk-GWUKK6B5.js +32 -0
- package/dist/chunk-GY6ON7B5.js +53 -0
- package/dist/chunk-GYJS6Q35.js +135 -0
- package/dist/chunk-H5VEOEU7.cjs +163 -0
- package/dist/chunk-H6A7QINF.cjs +26 -0
- package/dist/chunk-H7THYYLM.cjs +44 -0
- package/dist/chunk-HEMGZE2G.cjs +21 -0
- package/dist/chunk-HG5W4VS7.js +33 -0
- package/dist/chunk-HLDRZANS.cjs +26 -0
- package/dist/chunk-HSFE4DIZ.js +32 -0
- package/dist/chunk-HZE33XY4.js +200 -0
- package/dist/chunk-I3KL3NAG.cjs +35 -0
- package/dist/chunk-I6MQ5VOE.cjs +158 -0
- package/dist/chunk-I7ENJICA.cjs +33 -0
- package/dist/chunk-I7VBJ3G4.cjs +33 -0
- package/dist/chunk-ICPDX4CV.cjs +33 -0
- package/dist/chunk-IDXB6JJF.js +33 -0
- package/dist/chunk-ILL2GVLF.cjs +56 -0
- package/dist/chunk-IMDCLW36.cjs +26 -0
- package/dist/chunk-IUVT7TDD.js +342 -0
- package/dist/chunk-IWQDUW5F.js +32 -0
- package/dist/chunk-IYKMBN4Q.js +33 -0
- package/dist/chunk-J2OW4W7T.cjs +227 -0
- package/dist/chunk-J3TUZRIL.js +4168 -0
- package/dist/chunk-J44WQFQT.js +21 -0
- package/dist/chunk-J4JUSV5P.js +35 -0
- package/dist/chunk-J6J6O5BR.cjs +35 -0
- package/dist/chunk-J6W7XPX7.cjs +31 -0
- package/dist/chunk-JBKOX4EH.js +347 -0
- package/dist/chunk-JG37EZLJ.cjs +87 -0
- package/dist/chunk-JHMM3LEX.cjs +80 -0
- package/dist/chunk-JIUGPX3A.cjs +96 -0
- package/dist/chunk-JIV33B22.js +49 -0
- package/dist/chunk-JMDDJ2I2.js +57 -0
- package/dist/chunk-JNEL3EPC.cjs +57 -0
- package/dist/chunk-JOT3EVGV.js +6 -0
- package/dist/chunk-JTEEQSLU.cjs +33 -0
- package/dist/chunk-JVA433WN.js +33 -0
- package/dist/chunk-K2PLWNAI.js +33 -0
- package/dist/chunk-K4GYDTFO.cjs +33 -0
- package/dist/chunk-K52UQVCM.cjs +101 -0
- package/dist/chunk-K7HWTEGP.cjs +154 -0
- package/dist/chunk-K7OIWNQA.js +34 -0
- package/dist/chunk-KAUM6NYW.cjs +33 -0
- package/dist/chunk-KD7IHYFR.js +33 -0
- package/dist/chunk-KDCMTDLB.js +150 -0
- package/dist/chunk-KDWRK455.js +48 -0
- package/dist/chunk-KGBK65DQ.js +118 -0
- package/dist/chunk-KKGZ47R3.js +94 -0
- package/dist/chunk-KL323MQ2.js +26 -0
- package/dist/chunk-KOKUQZOJ.js +6 -0
- package/dist/chunk-KZ3UWVQX.js +33 -0
- package/dist/chunk-L257W6RX.cjs +33 -0
- package/dist/chunk-L2FEPOWM.js +33 -0
- package/dist/chunk-L3TCL4GZ.js +577 -0
- package/dist/chunk-L3UAJMYW.js +33 -0
- package/dist/chunk-L4AQQPYC.cjs +41 -0
- package/dist/chunk-L4EXAPGP.js +26 -0
- package/dist/chunk-L7GVFVL4.js +32 -0
- package/dist/chunk-LFYFZKHG.js +701 -0
- package/dist/chunk-LIAWB4ZO.cjs +251 -0
- package/dist/chunk-LIVX4NT2.js +65 -0
- package/dist/chunk-LMEC4DZB.cjs +33 -0
- package/dist/chunk-LMPAMZVN.cjs +118 -0
- package/dist/chunk-LPXYXAZY.js +33 -0
- package/dist/chunk-LRDORQ2Q.js +33 -0
- package/dist/chunk-LT3CVT6X.js +32 -0
- package/dist/chunk-LXVLGEB6.cjs +26 -0
- package/dist/chunk-M2CSUSFK.js +48 -0
- package/dist/chunk-M5ADA2BD.js +33 -0
- package/dist/chunk-M7TZ2J3K.js +40 -0
- package/dist/chunk-MD6F2JLH.cjs +33 -0
- package/dist/chunk-N2SRJZC5.cjs +32 -0
- package/dist/chunk-N5HNNQGA.js +32 -0
- package/dist/chunk-N6KLO6D6.js +72 -0
- package/dist/chunk-N6L2WIQ5.cjs +75 -0
- package/dist/chunk-NEXCIZXQ.cjs +165 -0
- package/dist/chunk-NH66U2JU.cjs +200 -0
- package/dist/chunk-NN2HPIE7.js +33 -0
- package/dist/chunk-NPBX74FW.cjs +33 -0
- package/dist/chunk-NPKEAEDV.js +118 -0
- package/dist/chunk-NU4MVTWH.js +33 -0
- package/dist/chunk-NVLWIAE7.cjs +33 -0
- package/dist/chunk-NVOTWDEF.cjs +418 -0
- package/dist/chunk-NZ2MHHRO.cjs +32 -0
- package/dist/chunk-O2CZN7HH.cjs +35 -0
- package/dist/chunk-O3AC5VB6.cjs +25 -0
- package/dist/chunk-O57LOSUV.js +33 -0
- package/dist/chunk-O7SUJOVJ.js +54 -0
- package/dist/chunk-OAK4IOA5.js +227 -0
- package/dist/chunk-OBAVFHD2.cjs +33 -0
- package/dist/chunk-OEIQXMR2.cjs +358 -0
- package/dist/chunk-OGB2O67U.js +33 -0
- package/dist/chunk-OIVDJXHX.js +35 -0
- package/dist/chunk-OP2J5CXP.cjs +35 -0
- package/dist/chunk-ORF432JY.cjs +32 -0
- package/dist/chunk-OTVMB2IW.cjs +104 -0
- package/dist/chunk-OUCODIBE.js +33 -0
- package/dist/chunk-OVJCWJG2.cjs +661 -0
- package/dist/chunk-OZUQD57V.cjs +73 -0
- package/dist/chunk-P4R7LALX.cjs +191 -0
- package/dist/chunk-PBOK3NY5.js +32 -0
- package/dist/chunk-PGJA2U3B.js +72 -0
- package/dist/chunk-PHWN5AFV.cjs +32 -0
- package/dist/chunk-PIOJFAQQ.cjs +26 -0
- package/dist/chunk-PTJ7AVLT.js +181 -0
- package/dist/chunk-PTNB25V2.cjs +33 -0
- package/dist/chunk-PTPVVRZZ.js +33 -0
- package/dist/chunk-Q7QLDLNL.js +33 -0
- package/dist/chunk-QAAKCTKH.cjs +33 -0
- package/dist/chunk-QBP5TG5J.cjs +33 -0
- package/dist/chunk-QCIMEP2I.js +33 -0
- package/dist/chunk-QGTABNMJ.cjs +32 -0
- package/dist/chunk-QH47F6N3.js +35 -0
- package/dist/chunk-QLLGA3JU.js +20 -0
- package/dist/chunk-QOLXSB37.cjs +24 -0
- package/dist/chunk-QRUOIV2T.cjs +20 -0
- package/dist/chunk-QTY3GSBT.cjs +32 -0
- package/dist/chunk-QV5FM54P.cjs +291 -0
- package/dist/chunk-QVNC5OHQ.js +33 -0
- package/dist/chunk-QWAPH5RV.cjs +35 -0
- package/dist/chunk-QX2R5WFV.js +26 -0
- package/dist/chunk-R3XORWKQ.cjs +33 -0
- package/dist/chunk-R46DRG52.cjs +23 -0
- package/dist/chunk-R55MYCCB.cjs +6 -0
- package/dist/chunk-R6NEZ575.js +28 -0
- package/dist/chunk-RCVVSZT3.js +32 -0
- package/dist/chunk-RDKG3P67.cjs +48 -0
- package/dist/chunk-RE4IEZZ6.cjs +44 -0
- package/dist/chunk-RFNH3J2K.cjs +33 -0
- package/dist/chunk-RKYLP4HY.js +89 -0
- package/dist/chunk-RQ6KU5IP.cjs +70 -0
- package/dist/chunk-RQR7DMFJ.js +65 -0
- package/dist/chunk-RQXKAXPR.js +104 -0
- package/dist/chunk-RTQTT7FW.cjs +26 -0
- package/dist/chunk-RVKJVCRG.cjs +40 -0
- package/dist/chunk-S5IN4KJV.js +75 -0
- package/dist/chunk-S6DFYJPA.cjs +135 -0
- package/dist/chunk-SCRXEZAI.js +125 -0
- package/dist/chunk-SENJMFUX.js +32 -0
- package/dist/chunk-SFJ3DWJC.js +33 -0
- package/dist/chunk-SFVPZBMV.cjs +109 -0
- package/dist/chunk-SIDAD2FY.cjs +44 -0
- package/dist/chunk-SILL7PHK.js +33 -0
- package/dist/chunk-SKCBVJQC.cjs +33 -0
- package/dist/chunk-T6Q43UMB.js +256 -0
- package/dist/chunk-T6XDAWX2.cjs +33 -0
- package/dist/chunk-TCWNQIEO.js +31 -0
- package/dist/chunk-TCWY4GZA.js +33 -0
- package/dist/chunk-THPYU4LG.js +130 -0
- package/dist/chunk-THSWGYVR.js +45 -0
- package/dist/chunk-TT5U4LAS.cjs +53 -0
- package/dist/chunk-TVY3TN3W.js +40 -0
- package/dist/chunk-TXPTCNIG.cjs +54 -0
- package/dist/chunk-U35SY546.cjs +164 -0
- package/dist/chunk-UBQ5BC6M.cjs +46 -0
- package/dist/chunk-UH2H3Y7Y.js +285 -0
- package/dist/chunk-UL6O4F7D.js +56 -0
- package/dist/chunk-UOKPUAUZ.cjs +33 -0
- package/dist/chunk-UQ3PKWPK.js +158 -0
- package/dist/chunk-USA24CMU.cjs +28 -0
- package/dist/chunk-UX2MUW6L.cjs +53 -0
- package/dist/chunk-UXQZQ4WU.js +33 -0
- package/dist/chunk-V62JEK7T.js +10 -0
- package/dist/chunk-VARPVAZT.js +140 -0
- package/dist/chunk-VD2XST4J.js +44 -0
- package/dist/chunk-VDD5W2ZW.js +477 -0
- package/dist/chunk-VDSQAXIM.cjs +102 -0
- package/dist/chunk-VF63C7JK.js +33 -0
- package/dist/chunk-VHX4V2EN.js +80 -0
- package/dist/chunk-VUXLRZHO.js +418 -0
- package/dist/chunk-VUZXSNCH.js +33 -0
- package/dist/chunk-VXW4GOMO.cjs +425 -0
- package/dist/chunk-VZGUQ467.js +32 -0
- package/dist/chunk-W4YBOFPU.js +56 -0
- package/dist/chunk-WAGTMEWB.js +154 -0
- package/dist/chunk-WBWKMCL3.js +33 -0
- package/dist/chunk-WDN77DVO.cjs +20 -0
- package/dist/chunk-WFMPV7KX.js +262 -0
- package/dist/chunk-WHZ7VCKD.js +45 -0
- package/dist/chunk-WKRK7DGR.cjs +4168 -0
- package/dist/chunk-WOKD2LBD.cjs +35 -0
- package/dist/chunk-WW3KFUFD.js +68 -0
- package/dist/chunk-WXN7CK2O.cjs +26 -0
- package/dist/chunk-X2BH6NCP.cjs +40 -0
- package/dist/chunk-X3B5QLXZ.cjs +33 -0
- package/dist/chunk-X77BDZX3.cjs +33 -0
- package/dist/chunk-XK6WXVWL.js +35 -0
- package/dist/chunk-XLNNWWCT.cjs +394 -0
- package/dist/chunk-XLXBCBY5.js +73 -0
- package/dist/chunk-XPV3XQ5D.js +661 -0
- package/dist/chunk-XQNOVNF4.cjs +94 -0
- package/dist/chunk-XUEKQQJV.cjs +792 -0
- package/dist/chunk-XVFF35KL.js +43 -0
- package/dist/chunk-XW7TPKTP.js +96 -0
- package/dist/chunk-XYZWSNVM.cjs +35 -0
- package/dist/chunk-Y5ADDRTY.cjs +32 -0
- package/dist/chunk-YARU3I62.js +33 -0
- package/dist/chunk-YAS6CAZO.cjs +35 -0
- package/dist/chunk-YBHALQ7F.cjs +33 -0
- package/dist/chunk-YD7IPS53.js +33 -0
- package/dist/chunk-YEBNI6T5.cjs +33 -0
- package/dist/chunk-YEN2IQ6Z.cjs +65 -0
- package/dist/chunk-YIT3HB4T.cjs +89 -0
- package/dist/chunk-YNBZC3U6.cjs +70 -0
- package/dist/chunk-YTKSEJHA.js +123 -0
- package/dist/chunk-YVINHMMA.js +191 -0
- package/dist/chunk-YWIW4JSQ.cjs +105 -0
- package/dist/chunk-YXWPKT7O.cjs +10 -0
- package/dist/chunk-YYV45HP4.js +482 -0
- package/dist/chunk-YZ2C4D6N.cjs +347 -0
- package/dist/chunk-ZAQNPOEC.js +35 -0
- package/dist/chunk-ZC2EU3AC.js +35 -0
- package/dist/chunk-ZF4AHRQY.js +33 -0
- package/dist/chunk-ZGLJH7VS.cjs +45 -0
- package/dist/chunk-ZIRILKCR.js +33 -0
- package/dist/chunk-ZIRKYDVN.js +53 -0
- package/dist/chunk-ZLI4UY4D.cjs +115 -0
- package/dist/chunk-ZOEXNLCQ.js +33 -0
- package/dist/components/Badge.cjs +164 -90
- package/dist/components/Badge.d.cts +74 -1
- package/dist/components/Badge.d.ts +74 -1
- package/dist/components/Badge.js +163 -89
- package/dist/components/Banner/Banner.cjs +165 -91
- package/dist/components/Banner/Banner.d.cts +78 -2
- package/dist/components/Banner/Banner.d.ts +78 -2
- package/dist/components/Banner/Banner.js +164 -90
- package/dist/components/BirthdayInput.cjs +248 -175
- package/dist/components/BirthdayInput.js +246 -173
- package/dist/components/BlockAlert.cjs +165 -91
- package/dist/components/BlockAlert.js +163 -89
- package/dist/components/Button.cjs +160 -86
- package/dist/components/Button.d.cts +85 -6
- package/dist/components/Button.d.ts +85 -6
- package/dist/components/Button.js +159 -85
- package/dist/components/ButtonRow.cjs +163 -88
- package/dist/components/ButtonRow.d.cts +80 -5
- package/dist/components/ButtonRow.d.ts +80 -5
- package/dist/components/ButtonRow.js +166 -91
- package/dist/components/CardForm/CardForm.cjs +178 -104
- package/dist/components/CardForm/CardForm.d.cts +82 -3
- package/dist/components/CardForm/CardForm.d.ts +82 -3
- package/dist/components/CardForm/CardForm.js +177 -103
- package/dist/components/CardForm/CardFormCodeInput.cjs +12 -12
- package/dist/components/CardForm/CardFormCodeInput.js +11 -11
- package/dist/components/CardPage.cjs +165 -90
- package/dist/components/CardPage.js +164 -89
- package/dist/components/Checkbox.cjs +164 -90
- package/dist/components/Checkbox.d.cts +74 -1
- package/dist/components/Checkbox.d.ts +74 -1
- package/dist/components/Checkbox.js +163 -89
- package/dist/components/ClipboardTextField.cjs +147 -73
- package/dist/components/ClipboardTextField.d.cts +74 -1
- package/dist/components/ClipboardTextField.d.ts +74 -1
- package/dist/components/ClipboardTextField.js +146 -72
- package/dist/components/CodeBlock.cjs +148 -74
- package/dist/components/CodeBlock.js +147 -73
- package/dist/components/CodeInput/CodeInput.cjs +11 -11
- package/dist/components/CodeInput/CodeInput.js +10 -10
- package/dist/components/CodeInput/SingleCodeInput.cjs +10 -10
- package/dist/components/CodeInput/SingleCodeInput.js +9 -9
- package/dist/components/Collapsible.cjs +145 -71
- package/dist/components/Collapsible.d.cts +73 -0
- package/dist/components/Collapsible.d.ts +73 -0
- package/dist/components/Collapsible.js +144 -70
- package/dist/components/ContentTable.cjs +144 -70
- package/dist/components/ContentTable.js +143 -69
- package/dist/components/CopyToClipboardButton.cjs +146 -72
- package/dist/components/CopyToClipboardButton.d.cts +73 -0
- package/dist/components/CopyToClipboardButton.d.ts +73 -0
- package/dist/components/CopyToClipboardButton.js +145 -71
- package/dist/components/CurrencyAmount.cjs +156 -82
- package/dist/components/CurrencyAmount.d.cts +77 -4
- package/dist/components/CurrencyAmount.d.ts +77 -4
- package/dist/components/CurrencyAmount.js +155 -81
- package/dist/components/DataManagerTable/BooleanFilter.cjs +167 -93
- package/dist/components/DataManagerTable/BooleanFilter.js +166 -92
- package/dist/components/DataManagerTable/CurrencyFilter.cjs +191 -117
- package/dist/components/DataManagerTable/CurrencyFilter.js +190 -116
- package/dist/components/DataManagerTable/DataManagerTable.cjs +214 -141
- package/dist/components/DataManagerTable/DataManagerTable.d.cts +76 -2
- package/dist/components/DataManagerTable/DataManagerTable.d.ts +76 -2
- package/dist/components/DataManagerTable/DataManagerTable.js +213 -140
- package/dist/components/DataManagerTable/DateFilter.cjs +177 -103
- package/dist/components/DataManagerTable/DateFilter.js +176 -102
- package/dist/components/DataManagerTable/DateWidget.cjs +166 -92
- package/dist/components/DataManagerTable/DateWidget.js +165 -91
- package/dist/components/DataManagerTable/EnumFilter.cjs +172 -98
- package/dist/components/DataManagerTable/EnumFilter.js +171 -97
- package/dist/components/DataManagerTable/Filter.cjs +164 -90
- package/dist/components/DataManagerTable/Filter.js +163 -89
- package/dist/components/DataManagerTable/IdFilter.cjs +175 -101
- package/dist/components/DataManagerTable/IdFilter.js +174 -100
- package/dist/components/DataManagerTable/StringFilter.cjs +175 -101
- package/dist/components/DataManagerTable/StringFilter.js +174 -100
- package/dist/components/Drawer.cjs +162 -88
- package/dist/components/Drawer.d.cts +3 -2
- package/dist/components/Drawer.d.ts +3 -2
- package/dist/components/Drawer.js +161 -87
- package/dist/components/Dropdown.cjs +164 -85
- package/dist/components/Dropdown.d.cts +95 -12
- package/dist/components/Dropdown.d.ts +95 -12
- package/dist/components/Dropdown.js +163 -84
- package/dist/components/FileInput.cjs +150 -76
- package/dist/components/FileInput.js +149 -75
- package/dist/components/Flex.cjs +2 -2
- package/dist/components/Flex.d.cts +7 -1
- package/dist/components/Flex.d.ts +7 -1
- package/dist/components/Flex.js +1 -1
- package/dist/components/GradientCardHeader.cjs +10 -10
- package/dist/components/GradientCardHeader.js +9 -9
- package/dist/components/Icon/Icon.cjs +143 -69
- package/dist/components/Icon/Icon.d.cts +74 -1
- package/dist/components/Icon/Icon.d.ts +74 -1
- package/dist/components/Icon/Icon.js +142 -68
- package/dist/components/Icon/types.cjs +136 -62
- package/dist/components/Icon/types.d.cts +166 -20
- package/dist/components/Icon/types.d.ts +166 -20
- package/dist/components/Icon/types.js +135 -61
- package/dist/components/IconWithCircleBackground.cjs +158 -84
- package/dist/components/IconWithCircleBackground.d.cts +84 -2
- package/dist/components/IconWithCircleBackground.d.ts +84 -2
- package/dist/components/IconWithCircleBackground.js +157 -83
- package/dist/components/InfoIconTooltip.cjs +165 -91
- package/dist/components/InfoIconTooltip.d.cts +74 -1
- package/dist/components/InfoIconTooltip.d.ts +74 -1
- package/dist/components/InfoIconTooltip.js +164 -90
- package/dist/components/LightsparkProvider.cjs +9 -9
- package/dist/components/LightsparkProvider.js +8 -8
- package/dist/components/Loading.cjs +144 -70
- package/dist/components/Loading.js +143 -69
- package/dist/components/Modal.cjs +174 -100
- package/dist/components/Modal.d.cts +79 -2
- package/dist/components/Modal.d.ts +79 -2
- package/dist/components/Modal.js +173 -99
- package/dist/components/MultiToggle.cjs +248 -0
- package/dist/components/MultiToggle.d.cts +257 -0
- package/dist/components/MultiToggle.d.ts +257 -0
- package/dist/components/MultiToggle.js +248 -0
- package/dist/components/NumberInput.cjs +186 -112
- package/dist/components/NumberInput.d.cts +74 -1
- package/dist/components/NumberInput.d.ts +74 -1
- package/dist/components/NumberInput.js +185 -111
- package/dist/components/PageSection/PageSection.cjs +178 -100
- package/dist/components/PageSection/PageSection.d.cts +74 -1
- package/dist/components/PageSection/PageSection.d.ts +74 -1
- package/dist/components/PageSection/PageSection.js +177 -99
- package/dist/components/PageSection/PageSectionNav.cjs +167 -93
- package/dist/components/PageSection/PageSectionNav.d.cts +73 -0
- package/dist/components/PageSection/PageSectionNav.d.ts +73 -0
- package/dist/components/PageSection/PageSectionNav.js +166 -92
- package/dist/components/PendingValue.cjs +164 -90
- package/dist/components/PendingValue.d.cts +74 -1
- package/dist/components/PendingValue.d.ts +74 -1
- package/dist/components/PendingValue.js +163 -89
- package/dist/components/PhoneInput.cjs +172 -98
- package/dist/components/PhoneInput.d.cts +85 -5
- package/dist/components/PhoneInput.d.ts +85 -5
- package/dist/components/PhoneInput.js +171 -97
- package/dist/components/Pill.cjs +147 -73
- package/dist/components/Pill.d.cts +73 -0
- package/dist/components/Pill.d.ts +73 -0
- package/dist/components/Pill.js +146 -72
- package/dist/components/ProgressBar.cjs +8 -8
- package/dist/components/ProgressBar.js +7 -7
- package/dist/components/QRCode.cjs +145 -71
- package/dist/components/QRCode.js +144 -70
- package/dist/components/QRReaderButton.cjs +163 -89
- package/dist/components/QRReaderButton.js +162 -88
- package/dist/components/Radio.cjs +164 -90
- package/dist/components/Radio.js +163 -89
- package/dist/components/ReadClipboardButton.cjs +173 -99
- package/dist/components/ReadClipboardButton.js +172 -98
- package/dist/components/SatoshiInput.cjs +189 -115
- package/dist/components/SatoshiInput.d.cts +74 -1
- package/dist/components/SatoshiInput.d.ts +74 -1
- package/dist/components/SatoshiInput.js +188 -114
- package/dist/components/SatoshiInputLabel.cjs +167 -93
- package/dist/components/SatoshiInputLabel.js +166 -92
- package/dist/components/SecretContainer.cjs +147 -73
- package/dist/components/SecretContainer.js +146 -72
- package/dist/components/SecretInput.cjs +172 -98
- package/dist/components/SecretInput.d.cts +74 -1
- package/dist/components/SecretInput.d.ts +74 -1
- package/dist/components/SecretInput.js +171 -97
- package/dist/components/Select.cjs +146 -72
- package/dist/components/Select.js +145 -71
- package/dist/components/SidePanel.cjs +144 -70
- package/dist/components/SidePanel.js +143 -69
- package/dist/components/StatusIndicator.cjs +9 -9
- package/dist/components/StatusIndicator.js +8 -8
- package/dist/components/Table/Table.cjs +167 -93
- package/dist/components/Table/Table.d.cts +76 -2
- package/dist/components/Table/Table.d.ts +76 -2
- package/dist/components/Table/Table.js +166 -92
- package/dist/components/Table/TableEmptyState.cjs +8 -8
- package/dist/components/Table/TableEmptyState.js +7 -7
- package/dist/components/TextArea.cjs +10 -10
- package/dist/components/TextArea.js +9 -9
- package/dist/components/TextButton.cjs +166 -92
- package/dist/components/TextButton.d.cts +74 -1
- package/dist/components/TextButton.d.ts +74 -1
- package/dist/components/TextButton.js +165 -91
- package/dist/components/TextIconAligner.cjs +164 -90
- package/dist/components/TextIconAligner.d.cts +74 -1
- package/dist/components/TextIconAligner.d.ts +74 -1
- package/dist/components/TextIconAligner.js +163 -89
- package/dist/components/TextInput.cjs +171 -97
- package/dist/components/TextInput.d.cts +77 -1
- package/dist/components/TextInput.d.ts +77 -1
- package/dist/components/TextInput.js +170 -96
- package/dist/components/Toasts.cjs +166 -92
- package/dist/components/Toasts.d.cts +78 -4
- package/dist/components/Toasts.d.ts +78 -4
- package/dist/components/Toasts.js +165 -91
- package/dist/components/Toggle.cjs +9 -9
- package/dist/components/Toggle.d.cts +233 -1
- package/dist/components/Toggle.d.ts +233 -1
- package/dist/components/Toggle.js +8 -8
- package/dist/components/Tooltip.cjs +8 -8
- package/dist/components/Tooltip.d.cts +1 -0
- package/dist/components/Tooltip.d.ts +1 -0
- package/dist/components/Tooltip.js +7 -7
- package/dist/components/UnstyledButton.cjs +8 -8
- package/dist/components/UnstyledButton.js +7 -7
- package/dist/components/documentation/AnchorLinkHeader.cjs +147 -73
- package/dist/components/documentation/AnchorLinkHeader.d.cts +74 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +74 -1
- package/dist/components/documentation/AnchorLinkHeader.js +146 -72
- package/dist/components/documentation/DocsBodyParagraph.cjs +8 -8
- package/dist/components/documentation/DocsBodyParagraph.d.cts +74 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +74 -1
- package/dist/components/documentation/DocsBodyParagraph.js +7 -7
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +8 -8
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +74 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +74 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +7 -7
- package/dist/components/documentation/DocsHeadline.cjs +9 -9
- package/dist/components/documentation/DocsHeadline.d.cts +74 -1
- package/dist/components/documentation/DocsHeadline.d.ts +74 -1
- package/dist/components/documentation/DocsHeadline.js +8 -8
- package/dist/components/documentation/Video.cjs +8 -8
- package/dist/components/documentation/Video.js +6 -6
- package/dist/components/documentation/index.cjs +147 -73
- package/dist/components/documentation/index.d.cts +74 -1
- package/dist/components/documentation/index.d.ts +74 -1
- package/dist/components/documentation/index.js +146 -72
- package/dist/components/index.cjs +265 -192
- package/dist/components/index.d.cts +77 -4
- package/dist/components/index.d.ts +77 -4
- package/dist/components/index.js +290 -217
- package/dist/components/typography/Article.cjs +152 -78
- package/dist/components/typography/Article.js +151 -77
- package/dist/components/typography/Body.cjs +163 -89
- package/dist/components/typography/Body.d.cts +74 -1
- package/dist/components/typography/Body.d.ts +74 -1
- package/dist/components/typography/Body.js +162 -88
- package/dist/components/typography/BodyStrong.cjs +163 -89
- package/dist/components/typography/BodyStrong.d.cts +74 -1
- package/dist/components/typography/BodyStrong.d.ts +74 -1
- package/dist/components/typography/BodyStrong.js +162 -88
- package/dist/components/typography/Code.cjs +163 -89
- package/dist/components/typography/Code.d.cts +74 -1
- package/dist/components/typography/Code.d.ts +74 -1
- package/dist/components/typography/Code.js +162 -88
- package/dist/components/typography/Display.cjs +163 -89
- package/dist/components/typography/Display.d.cts +74 -1
- package/dist/components/typography/Display.d.ts +74 -1
- package/dist/components/typography/Display.js +162 -88
- package/dist/components/typography/Headline.cjs +163 -89
- package/dist/components/typography/Headline.d.cts +74 -1
- package/dist/components/typography/Headline.d.ts +74 -1
- package/dist/components/typography/Headline.js +162 -88
- package/dist/components/typography/Label.cjs +163 -89
- package/dist/components/typography/Label.d.cts +74 -1
- package/dist/components/typography/Label.d.ts +74 -1
- package/dist/components/typography/Label.js +162 -88
- package/dist/components/typography/LabelModerate.cjs +163 -89
- package/dist/components/typography/LabelModerate.d.cts +74 -1
- package/dist/components/typography/LabelModerate.d.ts +74 -1
- package/dist/components/typography/LabelModerate.js +162 -88
- package/dist/components/typography/LabelStrong.cjs +163 -89
- package/dist/components/typography/LabelStrong.d.cts +74 -1
- package/dist/components/typography/LabelStrong.d.ts +74 -1
- package/dist/components/typography/LabelStrong.js +162 -88
- package/dist/components/typography/Overline.cjs +163 -89
- package/dist/components/typography/Overline.d.cts +74 -1
- package/dist/components/typography/Overline.d.ts +74 -1
- package/dist/components/typography/Overline.js +162 -88
- package/dist/components/typography/Title.cjs +163 -89
- package/dist/components/typography/Title.d.cts +74 -1
- package/dist/components/typography/Title.d.ts +74 -1
- package/dist/components/typography/Title.js +162 -88
- package/dist/components/typography/base/Body.cjs +8 -8
- package/dist/components/typography/base/Body.d.cts +76 -3
- package/dist/components/typography/base/Body.d.ts +76 -3
- package/dist/components/typography/base/Body.js +7 -7
- package/dist/components/typography/base/BodyStrong.cjs +8 -8
- package/dist/components/typography/base/BodyStrong.d.cts +76 -3
- package/dist/components/typography/base/BodyStrong.d.ts +76 -3
- package/dist/components/typography/base/BodyStrong.js +7 -7
- package/dist/components/typography/base/Code.cjs +8 -8
- package/dist/components/typography/base/Code.d.cts +76 -3
- package/dist/components/typography/base/Code.d.ts +76 -3
- package/dist/components/typography/base/Code.js +7 -7
- package/dist/components/typography/base/Display.cjs +8 -8
- package/dist/components/typography/base/Display.d.cts +76 -3
- package/dist/components/typography/base/Display.d.ts +76 -3
- package/dist/components/typography/base/Display.js +7 -7
- package/dist/components/typography/base/Headline.cjs +8 -8
- package/dist/components/typography/base/Headline.d.cts +76 -3
- package/dist/components/typography/base/Headline.d.ts +76 -3
- package/dist/components/typography/base/Headline.js +7 -7
- package/dist/components/typography/base/Label.cjs +8 -8
- package/dist/components/typography/base/Label.d.cts +76 -3
- package/dist/components/typography/base/Label.d.ts +76 -3
- package/dist/components/typography/base/Label.js +7 -7
- package/dist/components/typography/base/LabelModerate.cjs +8 -8
- package/dist/components/typography/base/LabelModerate.d.cts +76 -3
- package/dist/components/typography/base/LabelModerate.d.ts +76 -3
- package/dist/components/typography/base/LabelModerate.js +7 -7
- package/dist/components/typography/base/LabelStrong.cjs +8 -8
- package/dist/components/typography/base/LabelStrong.d.cts +76 -3
- package/dist/components/typography/base/LabelStrong.d.ts +76 -3
- package/dist/components/typography/base/LabelStrong.js +7 -7
- package/dist/components/typography/base/Overline.cjs +8 -8
- package/dist/components/typography/base/Overline.d.cts +76 -3
- package/dist/components/typography/base/Overline.d.ts +76 -3
- package/dist/components/typography/base/Overline.js +7 -7
- package/dist/components/typography/base/Title.cjs +8 -8
- package/dist/components/typography/base/Title.d.cts +76 -3
- package/dist/components/typography/base/Title.d.ts +76 -3
- package/dist/components/typography/base/Title.js +7 -7
- package/dist/components/typography/base/getPropDefaults.d.cts +76 -3
- package/dist/components/typography/base/getPropDefaults.d.ts +76 -3
- package/dist/components/typography/index.cjs +174 -100
- package/dist/components/typography/index.d.cts +74 -1
- package/dist/components/typography/index.d.ts +74 -1
- package/dist/components/typography/index.js +182 -108
- package/dist/components/typography/renderTypography.cjs +18 -18
- package/dist/components/typography/renderTypography.d.cts +74 -1
- package/dist/components/typography/renderTypography.d.ts +74 -1
- package/dist/components/typography/renderTypography.js +17 -17
- package/dist/components/typography/types.d.cts +79 -4
- package/dist/components/typography/types.d.ts +79 -4
- package/dist/components/typography/typographyStyles.d.cts +74 -1
- package/dist/components/typography/typographyStyles.d.ts +74 -1
- package/dist/hooks/index.cjs +60 -0
- package/dist/hooks/index.d.cts +14 -0
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/index.js +60 -0
- package/dist/hooks/useDebounce.cjs +4 -23
- package/dist/hooks/useDebounce.js +3 -22
- package/dist/hooks/useDocumentTitle.cjs +3 -15
- package/dist/hooks/useDocumentTitle.js +3 -15
- package/dist/hooks/useFields.cjs +3 -244
- package/dist/hooks/useFields.js +4 -245
- package/dist/hooks/useMaxScaleIOS.cjs +4 -25
- package/dist/hooks/useMaxScaleIOS.js +3 -24
- package/dist/hooks/useNumberInput/useNumberInput.cjs +9 -9
- package/dist/hooks/useNumberInput/useNumberInput.js +8 -8
- package/dist/hooks/useNumberInput/utils/cleanValue.cjs +3 -3
- package/dist/hooks/useNumberInput/utils/cleanValue.js +2 -2
- package/dist/hooks/useNumberInput/utils/index.cjs +13 -13
- package/dist/hooks/useNumberInput/utils/index.js +15 -15
- package/dist/hooks/useQueryParams.cjs +5 -13
- package/dist/hooks/useQueryParams.js +4 -12
- package/dist/hooks/useWhatChanged.cjs +4 -4
- package/dist/hooks/useWhatChanged.js +3 -3
- package/dist/icons/Bank.cjs +2 -2
- package/dist/icons/Bank.d.cts +1 -1
- package/dist/icons/Bank.d.ts +1 -1
- package/dist/icons/Bank.js +1 -1
- package/dist/icons/BitcoinB.cjs +2 -2
- package/dist/icons/BitcoinB.d.cts +4 -1
- package/dist/icons/BitcoinB.d.ts +4 -1
- package/dist/icons/BitcoinB.js +1 -1
- package/dist/icons/CheckmarkGreen.cjs +7 -0
- package/dist/icons/CheckmarkGreen.d.cts +6 -0
- package/dist/icons/CheckmarkGreen.d.ts +6 -0
- package/dist/icons/CheckmarkGreen.js +7 -0
- package/dist/icons/ChevronUp.cjs +7 -0
- package/dist/icons/ChevronUp.d.cts +6 -0
- package/dist/icons/ChevronUp.d.ts +6 -0
- package/dist/icons/ChevronUp.js +7 -0
- package/dist/icons/Globe.cjs +2 -2
- package/dist/icons/Globe.js +1 -1
- package/dist/icons/Lock2.cjs +7 -0
- package/dist/icons/Lock2.d.cts +6 -0
- package/dist/icons/Lock2.d.ts +6 -0
- package/dist/icons/Lock2.js +7 -0
- package/dist/icons/Satoshi.cjs +2 -2
- package/dist/icons/Satoshi.d.cts +4 -1
- package/dist/icons/Satoshi.d.ts +4 -1
- package/dist/icons/Satoshi.js +1 -1
- package/dist/icons/central/ArrowBoxRight.cjs +7 -0
- package/dist/icons/central/ArrowBoxRight.d.cts +6 -0
- package/dist/icons/central/ArrowBoxRight.d.ts +6 -0
- package/dist/icons/central/ArrowBoxRight.js +7 -0
- package/dist/icons/central/ArrowDownLeft.cjs +7 -0
- package/dist/icons/central/ArrowDownLeft.d.cts +6 -0
- package/dist/icons/central/ArrowDownLeft.d.ts +6 -0
- package/dist/icons/central/ArrowDownLeft.js +7 -0
- package/dist/icons/central/ArrowInbox.cjs +7 -0
- package/dist/icons/central/ArrowInbox.d.cts +6 -0
- package/dist/icons/central/ArrowInbox.d.ts +6 -0
- package/dist/icons/central/ArrowInbox.js +7 -0
- package/dist/icons/central/ArrowLeft.cjs +7 -0
- package/dist/icons/central/ArrowLeft.d.cts +6 -0
- package/dist/icons/central/ArrowLeft.d.ts +6 -0
- package/dist/icons/central/ArrowLeft.js +7 -0
- package/dist/icons/central/ArrowUpDown.cjs +7 -0
- package/dist/icons/central/ArrowUpDown.d.cts +6 -0
- package/dist/icons/central/ArrowUpDown.d.ts +6 -0
- package/dist/icons/central/ArrowUpDown.js +7 -0
- package/dist/icons/central/ArrowUpRight.cjs +7 -0
- package/dist/icons/central/ArrowUpRight.d.cts +6 -0
- package/dist/icons/central/ArrowUpRight.d.ts +6 -0
- package/dist/icons/central/ArrowUpRight.js +7 -0
- package/dist/icons/central/ArrowsRepeatLeftRight.cjs +7 -0
- package/dist/icons/central/ArrowsRepeatLeftRight.d.cts +6 -0
- package/dist/icons/central/ArrowsRepeatLeftRight.d.ts +6 -0
- package/dist/icons/central/ArrowsRepeatLeftRight.js +7 -0
- package/dist/icons/central/Bank.cjs +7 -0
- package/dist/icons/central/Bank.d.cts +6 -0
- package/dist/icons/central/Bank.d.ts +6 -0
- package/dist/icons/central/Bank.js +7 -0
- package/dist/icons/central/BarsThree.cjs +7 -0
- package/dist/icons/central/BarsThree.d.cts +6 -0
- package/dist/icons/central/BarsThree.d.ts +6 -0
- package/dist/icons/central/BarsThree.js +7 -0
- package/dist/icons/central/Bell2.cjs +7 -0
- package/dist/icons/central/Bell2.d.cts +6 -0
- package/dist/icons/central/Bell2.d.ts +6 -0
- package/dist/icons/central/Bell2.js +7 -0
- package/dist/icons/central/BubbleWideNotification.cjs +7 -0
- package/dist/icons/central/BubbleWideNotification.d.cts +6 -0
- package/dist/icons/central/BubbleWideNotification.d.ts +6 -0
- package/dist/icons/central/BubbleWideNotification.js +7 -0
- package/dist/icons/central/Checkmark2.cjs +7 -0
- package/dist/icons/central/Checkmark2.d.cts +6 -0
- package/dist/icons/central/Checkmark2.d.ts +6 -0
- package/dist/icons/central/Checkmark2.js +7 -0
- package/dist/icons/central/Checkmark2Small.cjs +7 -0
- package/dist/icons/central/Checkmark2Small.d.cts +6 -0
- package/dist/icons/central/Checkmark2Small.d.ts +6 -0
- package/dist/icons/central/Checkmark2Small.js +7 -0
- package/dist/icons/central/ChevronBottom.cjs +7 -0
- package/dist/icons/central/ChevronBottom.d.cts +6 -0
- package/dist/icons/central/ChevronBottom.d.ts +6 -0
- package/dist/icons/central/ChevronBottom.js +7 -0
- package/dist/icons/central/ChevronBottomSm.cjs +7 -0
- package/dist/icons/central/ChevronBottomSm.d.cts +6 -0
- package/dist/icons/central/ChevronBottomSm.d.ts +6 -0
- package/dist/icons/central/ChevronBottomSm.js +7 -0
- package/dist/icons/central/ChevronBottomXs.cjs +7 -0
- package/dist/icons/central/ChevronBottomXs.d.cts +6 -0
- package/dist/icons/central/ChevronBottomXs.d.ts +6 -0
- package/dist/icons/central/ChevronBottomXs.js +7 -0
- package/dist/icons/central/ChevronLeft.cjs +7 -0
- package/dist/icons/central/ChevronLeft.d.cts +6 -0
- package/dist/icons/central/ChevronLeft.d.ts +6 -0
- package/dist/icons/central/ChevronLeft.js +7 -0
- package/dist/icons/central/ChevronLeftSm.cjs +7 -0
- package/dist/icons/central/ChevronLeftSm.d.cts +6 -0
- package/dist/icons/central/ChevronLeftSm.d.ts +6 -0
- package/dist/icons/central/ChevronLeftSm.js +7 -0
- package/dist/icons/central/ChevronLeftXs.cjs +7 -0
- package/dist/icons/central/ChevronLeftXs.d.cts +6 -0
- package/dist/icons/central/ChevronLeftXs.d.ts +6 -0
- package/dist/icons/central/ChevronLeftXs.js +7 -0
- package/dist/icons/central/ChevronRight.cjs +7 -0
- package/dist/icons/central/ChevronRight.d.cts +6 -0
- package/dist/icons/central/ChevronRight.d.ts +6 -0
- package/dist/icons/central/ChevronRight.js +7 -0
- package/dist/icons/central/ChevronRightSm.cjs +7 -0
- package/dist/icons/central/ChevronRightSm.d.cts +6 -0
- package/dist/icons/central/ChevronRightSm.d.ts +6 -0
- package/dist/icons/central/ChevronRightSm.js +7 -0
- package/dist/icons/central/ChevronRightXs.cjs +7 -0
- package/dist/icons/central/ChevronRightXs.d.cts +6 -0
- package/dist/icons/central/ChevronRightXs.d.ts +6 -0
- package/dist/icons/central/ChevronRightXs.js +7 -0
- package/dist/icons/central/ChevronTop.cjs +34 -0
- package/dist/icons/central/ChevronTop.d.cts +6 -0
- package/dist/icons/central/ChevronTop.d.ts +6 -0
- package/dist/icons/central/ChevronTop.js +34 -0
- package/dist/icons/central/ChevronTopSm.cjs +34 -0
- package/dist/icons/central/ChevronTopSm.d.cts +6 -0
- package/dist/icons/central/ChevronTopSm.d.ts +6 -0
- package/dist/icons/central/ChevronTopSm.js +34 -0
- package/dist/icons/central/ChevronTopXs.cjs +34 -0
- package/dist/icons/central/ChevronTopXs.d.cts +6 -0
- package/dist/icons/central/ChevronTopXs.d.ts +6 -0
- package/dist/icons/central/ChevronTopXs.js +34 -0
- package/dist/icons/central/CircleCheckFilled.cjs +7 -0
- package/dist/icons/central/CircleCheckFilled.d.cts +6 -0
- package/dist/icons/central/CircleCheckFilled.d.ts +6 -0
- package/dist/icons/central/CircleCheckFilled.js +7 -0
- package/dist/icons/central/CircleInfo.cjs +7 -0
- package/dist/icons/central/CircleInfo.d.cts +6 -0
- package/dist/icons/central/CircleInfo.d.ts +6 -0
- package/dist/icons/central/CircleInfo.js +7 -0
- package/dist/icons/central/CircleInfoFilled.cjs +7 -0
- package/dist/icons/central/CircleInfoFilled.d.cts +6 -0
- package/dist/icons/central/CircleInfoFilled.d.ts +6 -0
- package/dist/icons/central/CircleInfoFilled.js +7 -0
- package/dist/icons/central/CircleQuestionmark.cjs +7 -0
- package/dist/icons/central/CircleQuestionmark.d.cts +6 -0
- package/dist/icons/central/CircleQuestionmark.d.ts +6 -0
- package/dist/icons/central/CircleQuestionmark.js +7 -0
- package/dist/icons/central/CircleQuestionmarkFilled.cjs +7 -0
- package/dist/icons/central/CircleQuestionmarkFilled.d.cts +6 -0
- package/dist/icons/central/CircleQuestionmarkFilled.d.ts +6 -0
- package/dist/icons/central/CircleQuestionmarkFilled.js +7 -0
- package/dist/icons/central/CircleX.cjs +7 -0
- package/dist/icons/central/CircleX.d.cts +6 -0
- package/dist/icons/central/CircleX.d.ts +6 -0
- package/dist/icons/central/CircleX.js +7 -0
- package/dist/icons/central/CrossLarge.cjs +7 -0
- package/dist/icons/central/CrossLarge.d.cts +6 -0
- package/dist/icons/central/CrossLarge.d.ts +6 -0
- package/dist/icons/central/CrossLarge.js +7 -0
- package/dist/icons/central/DollarSign.cjs +7 -0
- package/dist/icons/central/DollarSign.d.cts +6 -0
- package/dist/icons/central/DollarSign.d.ts +6 -0
- package/dist/icons/central/DollarSign.js +7 -0
- package/dist/icons/central/Email3.cjs +7 -0
- package/dist/icons/central/Email3.d.cts +6 -0
- package/dist/icons/central/Email3.d.ts +6 -0
- package/dist/icons/central/Email3.js +7 -0
- package/dist/icons/central/EmailNotification.cjs +7 -0
- package/dist/icons/central/EmailNotification.d.cts +6 -0
- package/dist/icons/central/EmailNotification.d.ts +6 -0
- package/dist/icons/central/EmailNotification.js +7 -0
- package/dist/icons/central/EyeOpen.cjs +7 -0
- package/dist/icons/central/EyeOpen.d.cts +6 -0
- package/dist/icons/central/EyeOpen.d.ts +6 -0
- package/dist/icons/central/EyeOpen.js +7 -0
- package/dist/icons/central/EyeSlash.cjs +7 -0
- package/dist/icons/central/EyeSlash.d.cts +6 -0
- package/dist/icons/central/EyeSlash.d.ts +6 -0
- package/dist/icons/central/EyeSlash.js +7 -0
- package/dist/icons/central/FingerPrint1.cjs +7 -0
- package/dist/icons/central/FingerPrint1.d.cts +6 -0
- package/dist/icons/central/FingerPrint1.d.ts +6 -0
- package/dist/icons/central/FingerPrint1.js +7 -0
- package/dist/icons/central/Globus.cjs +7 -0
- package/dist/icons/central/Globus.d.cts +6 -0
- package/dist/icons/central/Globus.d.ts +6 -0
- package/dist/icons/central/Globus.js +7 -0
- package/dist/icons/central/Group3.cjs +7 -0
- package/dist/icons/central/Group3.d.cts +6 -0
- package/dist/icons/central/Group3.d.ts +6 -0
- package/dist/icons/central/Group3.js +7 -0
- package/dist/icons/central/Key2.cjs +7 -0
- package/dist/icons/central/Key2.d.cts +6 -0
- package/dist/icons/central/Key2.d.ts +6 -0
- package/dist/icons/central/Key2.js +7 -0
- package/dist/icons/central/Leading.cjs +7 -0
- package/dist/icons/central/Leading.d.cts +6 -0
- package/dist/icons/central/Leading.d.ts +6 -0
- package/dist/icons/central/Leading.js +7 -0
- package/dist/icons/central/Loader.cjs +7 -0
- package/dist/icons/central/Loader.d.cts +6 -0
- package/dist/icons/central/Loader.d.ts +6 -0
- package/dist/icons/central/Loader.js +7 -0
- package/dist/icons/central/Lock.cjs +7 -0
- package/dist/icons/central/Lock.d.cts +6 -0
- package/dist/icons/central/Lock.d.ts +6 -0
- package/dist/icons/central/Lock.js +7 -0
- package/dist/icons/central/MagnifyingGlass.cjs +7 -0
- package/dist/icons/central/MagnifyingGlass.d.cts +6 -0
- package/dist/icons/central/MagnifyingGlass.d.ts +6 -0
- package/dist/icons/central/MagnifyingGlass.js +7 -0
- package/dist/icons/central/MapPin.cjs +7 -0
- package/dist/icons/central/MapPin.d.cts +6 -0
- package/dist/icons/central/MapPin.d.ts +6 -0
- package/dist/icons/central/MapPin.js +7 -0
- package/dist/icons/central/Megaphone.cjs +7 -0
- package/dist/icons/central/Megaphone.d.cts +6 -0
- package/dist/icons/central/Megaphone.d.ts +6 -0
- package/dist/icons/central/Megaphone.js +7 -0
- package/dist/icons/central/MinusLarge.cjs +7 -0
- package/dist/icons/central/MinusLarge.d.cts +6 -0
- package/dist/icons/central/MinusLarge.d.ts +6 -0
- package/dist/icons/central/MinusLarge.js +7 -0
- package/dist/icons/central/MinusSmall.cjs +7 -0
- package/dist/icons/central/MinusSmall.d.cts +6 -0
- package/dist/icons/central/MinusSmall.d.ts +6 -0
- package/dist/icons/central/MinusSmall.js +7 -0
- package/dist/icons/central/Passkeys.cjs +7 -0
- package/dist/icons/central/Passkeys.d.cts +6 -0
- package/dist/icons/central/Passkeys.d.ts +6 -0
- package/dist/icons/central/Passkeys.js +7 -0
- package/dist/icons/central/Pencil.cjs +7 -0
- package/dist/icons/central/Pencil.d.cts +6 -0
- package/dist/icons/central/Pencil.d.ts +6 -0
- package/dist/icons/central/Pencil.js +7 -0
- package/dist/icons/central/People.cjs +7 -0
- package/dist/icons/central/People.d.cts +6 -0
- package/dist/icons/central/People.d.ts +6 -0
- package/dist/icons/central/People.js +7 -0
- package/dist/icons/central/PeopleAdd.cjs +7 -0
- package/dist/icons/central/PeopleAdd.d.cts +6 -0
- package/dist/icons/central/PeopleAdd.d.ts +6 -0
- package/dist/icons/central/PeopleAdd.js +7 -0
- package/dist/icons/central/PeopleCircle.cjs +7 -0
- package/dist/icons/central/PeopleCircle.d.cts +6 -0
- package/dist/icons/central/PeopleCircle.d.ts +6 -0
- package/dist/icons/central/PeopleCircle.js +7 -0
- package/dist/icons/central/PeopleCircleStroke.cjs +7 -0
- package/dist/icons/central/PeopleCircleStroke.d.cts +6 -0
- package/dist/icons/central/PeopleCircleStroke.d.ts +6 -0
- package/dist/icons/central/PeopleCircleStroke.js +7 -0
- package/dist/icons/central/Phone.cjs +7 -0
- package/dist/icons/central/Phone.d.cts +6 -0
- package/dist/icons/central/Phone.d.ts +6 -0
- package/dist/icons/central/Phone.js +7 -0
- package/dist/icons/central/PlusLarge.cjs +7 -0
- package/dist/icons/central/PlusLarge.d.cts +6 -0
- package/dist/icons/central/PlusLarge.d.ts +6 -0
- package/dist/icons/central/PlusLarge.js +7 -0
- package/dist/icons/central/PlusSmall.cjs +7 -0
- package/dist/icons/central/PlusSmall.d.cts +6 -0
- package/dist/icons/central/PlusSmall.d.ts +6 -0
- package/dist/icons/central/PlusSmall.js +7 -0
- package/dist/icons/central/QrCode.cjs +7 -0
- package/dist/icons/central/QrCode.d.cts +6 -0
- package/dist/icons/central/QrCode.d.ts +6 -0
- package/dist/icons/central/QrCode.js +7 -0
- package/dist/icons/central/ReceiptBill.cjs +7 -0
- package/dist/icons/central/ReceiptBill.d.cts +6 -0
- package/dist/icons/central/ReceiptBill.d.ts +6 -0
- package/dist/icons/central/ReceiptBill.js +7 -0
- package/dist/icons/central/SettingsGear2.cjs +7 -0
- package/dist/icons/central/SettingsGear2.d.cts +6 -0
- package/dist/icons/central/SettingsGear2.d.ts +6 -0
- package/dist/icons/central/SettingsGear2.js +7 -0
- package/dist/icons/central/ShapesPlusXSquareCircle.cjs +7 -0
- package/dist/icons/central/ShapesPlusXSquareCircle.d.cts +6 -0
- package/dist/icons/central/ShapesPlusXSquareCircle.d.ts +6 -0
- package/dist/icons/central/ShapesPlusXSquareCircle.js +7 -0
- package/dist/icons/central/ShapesPlusXSquareCircleFill.cjs +7 -0
- package/dist/icons/central/ShapesPlusXSquareCircleFill.d.cts +6 -0
- package/dist/icons/central/ShapesPlusXSquareCircleFill.d.ts +6 -0
- package/dist/icons/central/ShapesPlusXSquareCircleFill.js +7 -0
- package/dist/icons/central/ShareAndroid.cjs +7 -0
- package/dist/icons/central/ShareAndroid.d.cts +6 -0
- package/dist/icons/central/ShareAndroid.d.ts +6 -0
- package/dist/icons/central/ShareAndroid.js +7 -0
- package/dist/icons/central/ShareIOS.cjs +7 -0
- package/dist/icons/central/ShareIOS.d.cts +6 -0
- package/dist/icons/central/ShareIOS.d.ts +6 -0
- package/dist/icons/central/ShareIOS.js +7 -0
- package/dist/icons/central/ShieldCheck.cjs +7 -0
- package/dist/icons/central/ShieldCheck.d.cts +6 -0
- package/dist/icons/central/ShieldCheck.d.ts +6 -0
- package/dist/icons/central/ShieldCheck.js +7 -0
- package/dist/icons/central/SparklesSoft.cjs +7 -0
- package/dist/icons/central/SparklesSoft.d.cts +6 -0
- package/dist/icons/central/SparklesSoft.d.ts +6 -0
- package/dist/icons/central/SparklesSoft.js +7 -0
- package/dist/icons/central/SquareArrowTopRight2.cjs +7 -0
- package/dist/icons/central/SquareArrowTopRight2.d.cts +6 -0
- package/dist/icons/central/SquareArrowTopRight2.d.ts +6 -0
- package/dist/icons/central/SquareArrowTopRight2.js +7 -0
- package/dist/icons/central/SquareBehindSquare1.cjs +7 -0
- package/dist/icons/central/SquareBehindSquare1.d.cts +6 -0
- package/dist/icons/central/SquareBehindSquare1.d.ts +6 -0
- package/dist/icons/central/SquareBehindSquare1.js +7 -0
- package/dist/icons/central/SubscriptionTick1.cjs +7 -0
- package/dist/icons/central/SubscriptionTick1.d.cts +6 -0
- package/dist/icons/central/SubscriptionTick1.d.ts +6 -0
- package/dist/icons/central/SubscriptionTick1.js +7 -0
- package/dist/icons/central/TrashCan.cjs +7 -0
- package/dist/icons/central/TrashCan.d.cts +6 -0
- package/dist/icons/central/TrashCan.d.ts +6 -0
- package/dist/icons/central/TrashCan.js +7 -0
- package/dist/icons/central/TriangleExclamation.cjs +7 -0
- package/dist/icons/central/TriangleExclamation.d.cts +6 -0
- package/dist/icons/central/TriangleExclamation.d.ts +6 -0
- package/dist/icons/central/TriangleExclamation.js +7 -0
- package/dist/icons/central/TriangleExclamationFilled.cjs +7 -0
- package/dist/icons/central/TriangleExclamationFilled.d.cts +6 -0
- package/dist/icons/central/TriangleExclamationFilled.d.ts +6 -0
- package/dist/icons/central/TriangleExclamationFilled.js +7 -0
- package/dist/icons/central/index.cjs +284 -0
- package/dist/icons/central/index.d.cts +72 -0
- package/dist/icons/central/index.d.ts +72 -0
- package/dist/icons/central/index.js +284 -0
- package/dist/icons/index.cjs +84 -72
- package/dist/icons/index.d.cts +3 -0
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons/index.js +134 -122
- package/dist/icons/types.d.cts +1 -0
- package/dist/icons/types.d.ts +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/router.cjs +21 -19
- package/dist/router.d.cts +79 -4
- package/dist/router.d.ts +79 -4
- package/dist/router.js +20 -18
- package/dist/styles/colors.cjs +2 -2
- package/dist/styles/colors.d.cts +12 -0
- package/dist/styles/colors.d.ts +12 -0
- package/dist/styles/colors.js +1 -1
- package/dist/styles/common.cjs +7 -7
- package/dist/styles/common.d.cts +74 -1
- package/dist/styles/common.d.ts +74 -1
- package/dist/styles/common.js +6 -6
- package/dist/styles/fields.cjs +9 -11
- package/dist/styles/fields.d.cts +78 -5
- package/dist/styles/fields.d.ts +78 -5
- package/dist/styles/fields.js +8 -10
- package/dist/styles/global.cjs +8 -8
- package/dist/styles/global.d.cts +74 -1
- package/dist/styles/global.d.ts +74 -1
- package/dist/styles/global.js +7 -7
- package/dist/styles/themeDefaults/buttons.d.cts +74 -1
- package/dist/styles/themeDefaults/buttons.d.ts +74 -1
- package/dist/styles/themeDefaults/cardForm.cjs +2 -2
- package/dist/styles/themeDefaults/cardForm.d.cts +74 -1
- package/dist/styles/themeDefaults/cardForm.d.ts +74 -1
- package/dist/styles/themeDefaults/cardForm.js +1 -1
- package/dist/styles/themeDefaults/loading.d.cts +73 -0
- package/dist/styles/themeDefaults/loading.d.ts +73 -0
- package/dist/styles/themes.cjs +8 -6
- package/dist/styles/themes.d.cts +74 -1
- package/dist/styles/themes.d.ts +74 -1
- package/dist/styles/themes.js +7 -5
- package/dist/styles/tokens/typography.cjs +2 -2
- package/dist/styles/tokens/typography.js +1 -1
- package/dist/styles/type.cjs +9 -9
- package/dist/styles/type.d.cts +74 -1
- package/dist/styles/type.d.ts +74 -1
- package/dist/styles/type.js +8 -8
- package/dist/styles/typography.cjs +7 -7
- package/dist/styles/typography.d.cts +74 -1
- package/dist/styles/typography.d.ts +74 -1
- package/dist/styles/typography.js +6 -6
- package/dist/styles/utils.cjs +8 -8
- package/dist/styles/utils.js +7 -7
- package/dist/themes-B7JL_qLp.d.ts +1148 -0
- package/dist/themes-DeERxW10.d.cts +1148 -0
- package/dist/utils/NextLink.cjs +19 -19
- package/dist/utils/NextLink.d.cts +74 -1
- package/dist/utils/NextLink.d.ts +74 -1
- package/dist/utils/NextLink.js +18 -18
- package/dist/utils/getGQLOperationName.cjs +7 -0
- package/dist/utils/getGQLOperationName.d.cts +5 -0
- package/dist/utils/getGQLOperationName.d.ts +5 -0
- package/dist/utils/getGQLOperationName.js +7 -0
- package/dist/utils/index.cjs +366 -0
- package/dist/utils/index.d.cts +271 -0
- package/dist/utils/index.d.ts +271 -0
- package/dist/utils/index.js +366 -0
- package/dist/utils/locale.cjs +4 -8
- package/dist/utils/locale.js +3 -7
- package/dist/utils/parseURLFragments.cjs +4 -16
- package/dist/utils/parseURLFragments.js +3 -15
- package/dist/utils/toReactNodes/nodes.d.cts +98 -6
- package/dist/utils/toReactNodes/nodes.d.ts +98 -6
- package/dist/utils/toReactNodes/setReactNodesTypography.cjs +163 -89
- package/dist/utils/toReactNodes/setReactNodesTypography.d.cts +78 -5
- package/dist/utils/toReactNodes/setReactNodesTypography.d.ts +78 -5
- package/dist/utils/toReactNodes/setReactNodesTypography.js +162 -88
- package/dist/utils/toReactNodes/toReactNodes.cjs +162 -88
- package/dist/utils/toReactNodes/toReactNodes.d.cts +74 -1
- package/dist/utils/toReactNodes/toReactNodes.d.ts +74 -1
- package/dist/utils/toReactNodes/toReactNodes.js +161 -87
- package/dist/utils/transformGQLName.cjs +4 -38
- package/dist/utils/transformGQLName.js +3 -37
- package/dist/utils/unicode.cjs +4 -4
- package/dist/utils/unicode.js +3 -3
- package/package.json +60 -24
- package/dist/chunk-23GQNBC7.js +0 -66
- package/dist/chunk-2BGDZDOL.cjs +0 -41
- package/dist/chunk-2DXEH7CB.cjs +0 -191
- package/dist/chunk-2JGQOHD7.js +0 -26
- package/dist/chunk-2MLGBMRI.cjs +0 -72
- package/dist/chunk-2OU2WKC2.js +0 -291
- package/dist/chunk-2SD26ZFK.cjs +0 -26
- package/dist/chunk-2ZERFWQC.cjs +0 -46
- package/dist/chunk-2ZTLTTOC.js +0 -53
- package/dist/chunk-3BCCWTC5.cjs +0 -54
- package/dist/chunk-3GZ6NQU2.js +0 -218
- package/dist/chunk-3KNJJXRN.js +0 -35
- package/dist/chunk-3P5CYHL6.js +0 -73
- package/dist/chunk-3TWHVJOG.js +0 -95
- package/dist/chunk-454TUS2Y.js +0 -28
- package/dist/chunk-4GKKZR3W.js +0 -475
- package/dist/chunk-4GUHURSO.js +0 -125
- package/dist/chunk-4HQ55EF2.cjs +0 -327
- package/dist/chunk-4QJQDPA5.js +0 -628
- package/dist/chunk-4TMA7FVD.js +0 -104
- package/dist/chunk-4TRRSQCH.cjs +0 -67
- package/dist/chunk-52ZPI4LH.cjs +0 -35
- package/dist/chunk-5JWZFCRU.js +0 -68
- package/dist/chunk-5LMKNZNC.js +0 -49
- package/dist/chunk-5MPBTIUJ.js +0 -378
- package/dist/chunk-5RS72XHY.js +0 -48
- package/dist/chunk-5TMYPGUK.cjs +0 -89
- package/dist/chunk-5ZP2W4MV.js +0 -140
- package/dist/chunk-6C5LQAJO.cjs +0 -200
- package/dist/chunk-6FBIHFL4.js +0 -54
- package/dist/chunk-6FLXHRCX.js +0 -46
- package/dist/chunk-6HZI7YLO.js +0 -26
- package/dist/chunk-6IAPO7QF.cjs +0 -31
- package/dist/chunk-6IM6TXLB.cjs +0 -35
- package/dist/chunk-6KPDO4EP.cjs +0 -101
- package/dist/chunk-6R3KL7OD.cjs +0 -163
- package/dist/chunk-6XSWUT6N.cjs +0 -31
- package/dist/chunk-6ZGEOYFR.cjs +0 -35
- package/dist/chunk-7ZWTYM3Z.js +0 -101
- package/dist/chunk-7ZYFEI5I.js +0 -191
- package/dist/chunk-ACQIOYO3.js +0 -468
- package/dist/chunk-ALY72SUO.js +0 -13
- package/dist/chunk-AMXTRBOO.cjs +0 -54
- package/dist/chunk-B7ROYPB4.js +0 -175
- package/dist/chunk-B7XPX2P5.cjs +0 -315
- package/dist/chunk-BG5UE3X7.js +0 -77
- package/dist/chunk-BR3ELBNC.js +0 -80
- package/dist/chunk-BV25DKRW.js +0 -123
- package/dist/chunk-BXVISXG7.cjs +0 -75
- package/dist/chunk-C22GNNIM.js +0 -165
- package/dist/chunk-C5P7KMPK.cjs +0 -26
- package/dist/chunk-CEZHIXNR.js +0 -396
- package/dist/chunk-CNUVS7PS.js +0 -41
- package/dist/chunk-CSQOAPYZ.cjs +0 -26
- package/dist/chunk-CUTUDBAF.cjs +0 -65
- package/dist/chunk-CYINPDD3.cjs +0 -158
- package/dist/chunk-D3O46OJV.js +0 -84
- package/dist/chunk-D74KW6MA.cjs +0 -49
- package/dist/chunk-DALFOB54.js +0 -94
- package/dist/chunk-DDBUFQHF.js +0 -34
- package/dist/chunk-DEKDYZK5.cjs +0 -358
- package/dist/chunk-DJOYSOXT.js +0 -767
- package/dist/chunk-DS3NOKLZ.cjs +0 -249
- package/dist/chunk-DVOTHQWX.cjs +0 -77
- package/dist/chunk-DXHQ5NZR.js +0 -26
- package/dist/chunk-E4MOQFME.cjs +0 -274
- package/dist/chunk-EAQ7M47D.cjs +0 -80
- package/dist/chunk-EB6CFGPX.js +0 -118
- package/dist/chunk-EEDWTST6.cjs +0 -31
- package/dist/chunk-EEWYKLDL.js +0 -31
- package/dist/chunk-EF2UG64Q.js +0 -200
- package/dist/chunk-EF34DX4E.js +0 -26
- package/dist/chunk-EIF3CC6N.cjs +0 -390
- package/dist/chunk-EINF4ABO.js +0 -315
- package/dist/chunk-ELP54FQS.cjs +0 -113
- package/dist/chunk-ETO64UV5.cjs +0 -35
- package/dist/chunk-EVNAJH5S.cjs +0 -125
- package/dist/chunk-EWFLOOVN.cjs +0 -20
- package/dist/chunk-F62E5IOF.js +0 -44
- package/dist/chunk-FGZFMWJU.js +0 -4168
- package/dist/chunk-FI5UJI63.js +0 -26
- package/dist/chunk-FL26BMYB.js +0 -169
- package/dist/chunk-FOCQSOQL.js +0 -35
- package/dist/chunk-FZBPLBND.cjs +0 -21
- package/dist/chunk-GAI4WC3V.cjs +0 -24
- package/dist/chunk-GDYBOBYN.cjs +0 -628
- package/dist/chunk-GFFS66UR.js +0 -327
- package/dist/chunk-GGAWK7BG.js +0 -100
- package/dist/chunk-GHLNFY6T.js +0 -274
- package/dist/chunk-GT2UW67L.js +0 -23
- package/dist/chunk-GYM3B7AA.cjs +0 -26
- package/dist/chunk-GZ7ZKXUQ.cjs +0 -44
- package/dist/chunk-HQ7KFKMJ.cjs +0 -28
- package/dist/chunk-HU2UCL6I.js +0 -142
- package/dist/chunk-HU4PSB3N.cjs +0 -342
- package/dist/chunk-HYCPAGAW.js +0 -87
- package/dist/chunk-I6VHS5CF.cjs +0 -100
- package/dist/chunk-I75KJLUV.cjs +0 -135
- package/dist/chunk-IEHW6GRE.cjs +0 -34
- package/dist/chunk-IHPPW7AC.js +0 -31
- package/dist/chunk-IMZKCKTI.cjs +0 -56
- package/dist/chunk-IR56ZLYL.cjs +0 -68
- package/dist/chunk-IXTGSOHT.cjs +0 -344
- package/dist/chunk-IYIN4UXN.cjs +0 -101
- package/dist/chunk-JBVSQGPY.cjs +0 -96
- package/dist/chunk-JGFSABKL.js +0 -89
- package/dist/chunk-JOY57EFG.js +0 -621
- package/dist/chunk-JPI72A4T.cjs +0 -26
- package/dist/chunk-K33DLKPB.cjs +0 -107
- package/dist/chunk-KJG3RAR5.js +0 -35
- package/dist/chunk-KSHNWL2L.cjs +0 -89
- package/dist/chunk-KSYQ6LPO.cjs +0 -87
- package/dist/chunk-L6XBCODS.cjs +0 -396
- package/dist/chunk-LDHIR73W.js +0 -86
- package/dist/chunk-LJIKRQZG.js +0 -65
- package/dist/chunk-LMY3LARP.cjs +0 -94
- package/dist/chunk-LYIBYAWL.cjs +0 -262
- package/dist/chunk-M2ZLCF6P.cjs +0 -23
- package/dist/chunk-M5IYWFXX.js +0 -135
- package/dist/chunk-M5KSMK7L.cjs +0 -26
- package/dist/chunk-MFTEQD6P.js +0 -94
- package/dist/chunk-MSA5RFGJ.cjs +0 -48
- package/dist/chunk-MZGMWERJ.cjs +0 -475
- package/dist/chunk-N63HBX3V.cjs +0 -767
- package/dist/chunk-N7KRXYHS.cjs +0 -57
- package/dist/chunk-NE2ZJLB2.cjs +0 -35
- package/dist/chunk-NESDPXHA.cjs +0 -150
- package/dist/chunk-NEUY6LQC.cjs +0 -101
- package/dist/chunk-NISTXKRR.cjs +0 -55
- package/dist/chunk-NJ6R2LV6.js +0 -342
- package/dist/chunk-NJE4WITH.cjs +0 -169
- package/dist/chunk-NWNESPGQ.cjs +0 -164
- package/dist/chunk-O5EOB46M.js +0 -101
- package/dist/chunk-OBTDFAOA.cjs +0 -66
- package/dist/chunk-OFQSA6JC.cjs +0 -170
- package/dist/chunk-OJPJQJA4.cjs +0 -104
- package/dist/chunk-PF4YPDY2.cjs +0 -165
- package/dist/chunk-PIJDG55S.cjs +0 -35
- package/dist/chunk-PIMOLSBM.cjs +0 -108
- package/dist/chunk-PNDMLYIH.js +0 -129
- package/dist/chunk-PY2NQL2W.js +0 -163
- package/dist/chunk-Q4W2QLTQ.cjs +0 -13
- package/dist/chunk-Q6WAGQTZ.js +0 -35
- package/dist/chunk-Q7QDKHFY.cjs +0 -118
- package/dist/chunk-QA7NKYGQ.js +0 -31
- package/dist/chunk-QEMH2VKO.js +0 -390
- package/dist/chunk-QETS33GL.js +0 -68
- package/dist/chunk-QI6VWILS.js +0 -67
- package/dist/chunk-QIV6TUFE.js +0 -661
- package/dist/chunk-QP2AAX4Y.js +0 -75
- package/dist/chunk-QR4SGBRR.cjs +0 -26
- package/dist/chunk-QVQJIKDF.cjs +0 -378
- package/dist/chunk-QXXG63Q6.cjs +0 -168
- package/dist/chunk-QZWPUCKF.cjs +0 -86
- package/dist/chunk-R7JI2CHV.js +0 -89
- package/dist/chunk-RFUCHH2L.cjs +0 -513
- package/dist/chunk-RHDTYPBF.cjs +0 -140
- package/dist/chunk-RJO3M4DK.js +0 -54
- package/dist/chunk-RMOWWR6C.js +0 -107
- package/dist/chunk-RO35VUHW.js +0 -26
- package/dist/chunk-RQUCWFNR.js +0 -35
- package/dist/chunk-RW6KUD7U.cjs +0 -26
- package/dist/chunk-S7KG743Q.js +0 -72
- package/dist/chunk-SBUXCFVL.cjs +0 -35
- package/dist/chunk-SCB5GKFG.js +0 -344
- package/dist/chunk-SEKSPTVM.js +0 -158
- package/dist/chunk-SG7NTEG5.js +0 -77
- package/dist/chunk-SJ2MVP3F.js +0 -96
- package/dist/chunk-SOIXYX64.cjs +0 -95
- package/dist/chunk-SSPKQJOW.cjs +0 -56
- package/dist/chunk-SUE6KGED.js +0 -262
- package/dist/chunk-SXPJP3TR.cjs +0 -468
- package/dist/chunk-T4PBRJFT.cjs +0 -35
- package/dist/chunk-T74FAGM4.js +0 -256
- package/dist/chunk-TACMJI7W.js +0 -108
- package/dist/chunk-TBZZXLAM.cjs +0 -4168
- package/dist/chunk-TDQOMZWC.js +0 -513
- package/dist/chunk-TK5AT24W.js +0 -21
- package/dist/chunk-TKJYIZ7D.js +0 -20
- package/dist/chunk-TXKZXR43.js +0 -168
- package/dist/chunk-U33WFLLR.js +0 -113
- package/dist/chunk-UBJ2ALT3.cjs +0 -77
- package/dist/chunk-UK5GJ2J2.cjs +0 -35
- package/dist/chunk-UU76LJDF.js +0 -56
- package/dist/chunk-UUPX2PFU.js +0 -26
- package/dist/chunk-V2IIQUYA.cjs +0 -291
- package/dist/chunk-V2SU7NNU.js +0 -26
- package/dist/chunk-V3N3Q6QK.js +0 -26
- package/dist/chunk-V5NLYG5D.cjs +0 -73
- package/dist/chunk-VAKYMPPX.cjs +0 -99
- package/dist/chunk-VAUZ4W4O.cjs +0 -94
- package/dist/chunk-VGH42UK6.js +0 -26
- package/dist/chunk-VSE37O3E.js +0 -35
- package/dist/chunk-WDEX6VIP.cjs +0 -68
- package/dist/chunk-WDVBREAE.cjs +0 -26
- package/dist/chunk-WE5L55ZS.js +0 -35
- package/dist/chunk-WF3JZZPW.js +0 -170
- package/dist/chunk-WHQV75TX.js +0 -101
- package/dist/chunk-WIEZYC5X.js +0 -150
- package/dist/chunk-WLPKMO36.cjs +0 -661
- package/dist/chunk-WPIAYV6V.js +0 -99
- package/dist/chunk-WSK2MYVL.cjs +0 -256
- package/dist/chunk-WXTUJICN.cjs +0 -129
- package/dist/chunk-WY7PY47Q.cjs +0 -175
- package/dist/chunk-X2EDVBOD.js +0 -57
- package/dist/chunk-XDJJ5SAF.js +0 -35
- package/dist/chunk-XDL2VYUF.js +0 -164
- package/dist/chunk-XNWZZRPP.cjs +0 -84
- package/dist/chunk-XTLUMJ6S.cjs +0 -621
- package/dist/chunk-XTQV7ZJ6.cjs +0 -123
- package/dist/chunk-Y3JRC553.cjs +0 -218
- package/dist/chunk-YABB2HZV.js +0 -55
- package/dist/chunk-YCWLYE6N.js +0 -35
- package/dist/chunk-YIJZVE4P.js +0 -56
- package/dist/chunk-YQHWVNUW.js +0 -358
- package/dist/chunk-YT3YJ2VR.cjs +0 -53
- package/dist/chunk-YXTL55KM.js +0 -24
- package/dist/chunk-ZAB77SSF.js +0 -53
- package/dist/chunk-ZBLXVPL4.cjs +0 -142
- package/dist/chunk-ZEGF5HFO.cjs +0 -26
- package/dist/chunk-ZG3RCS6W.js +0 -249
- package/dist/chunk-ZJDDZQZC.cjs +0 -53
- package/dist/components/DataManagerTable/Popover.cjs +0 -212
- package/dist/components/DataManagerTable/Popover.d.cts +0 -13
- package/dist/components/DataManagerTable/Popover.d.ts +0 -13
- package/dist/components/DataManagerTable/Popover.js +0 -212
- package/dist/components/IconToggle.cjs +0 -174
- package/dist/components/IconToggle.d.cts +0 -180
- package/dist/components/IconToggle.d.ts +0 -180
- package/dist/components/IconToggle.js +0 -174
- package/dist/themes-8QWmAhYQ.d.ts +0 -1134
- package/dist/themes-C-sJDaWN.d.cts +0 -1134
|
@@ -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 _chunkJIUGPX3Acjs = require('./chunk-JIUGPX3A.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk6N7XRYZDcjs = require('./chunk-6N7XRYZD.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkZ6EUSUADcjs = require('./chunk-Z6EUSUAD.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 _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__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 = _chunkZ6EUSUADcjs.__spreadValues.call(void 0, {}, inputState);
|
|
145
|
+
Object.keys(replaceEntireState).forEach((inputId2) => {
|
|
146
|
+
const newState2 = replaceEntireState;
|
|
147
|
+
newState2[inputId2] = _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__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 : _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__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 = _chunkZ6EUSUADcjs.__spreadValues.call(void 0, {}, inputState);
|
|
199
|
+
inputValues.forEach((value, i) => {
|
|
200
|
+
const inputId = getInputId(i);
|
|
201
|
+
newState[inputId] = _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__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
|
+
_chunkJIUGPX3Acjs.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 _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__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 _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__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: ${_chunk6N7XRYZDcjs.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,101 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Flex
|
|
3
|
+
} from "./chunk-NPKEAEDV.js";
|
|
4
|
+
import {
|
|
5
|
+
Icon
|
|
6
|
+
} from "./chunk-YTKSEJHA.js";
|
|
7
|
+
import {
|
|
8
|
+
Link
|
|
9
|
+
} from "./chunk-PTJ7AVLT.js";
|
|
10
|
+
import {
|
|
11
|
+
getColor
|
|
12
|
+
} from "./chunk-33OPRYWV.js";
|
|
13
|
+
|
|
14
|
+
// src/components/IconWithCircleBackground.tsx
|
|
15
|
+
import styled from "@emotion/styled";
|
|
16
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
17
|
+
function IconWithCircleBackground({
|
|
18
|
+
iconName = "WarningSign",
|
|
19
|
+
iconWidth = 40,
|
|
20
|
+
to,
|
|
21
|
+
onClick,
|
|
22
|
+
darkBg = false,
|
|
23
|
+
shouldRotate = false,
|
|
24
|
+
noBg = false,
|
|
25
|
+
disabled = false,
|
|
26
|
+
bgColor,
|
|
27
|
+
iconColor,
|
|
28
|
+
iconStrokeWidth,
|
|
29
|
+
opaque = false
|
|
30
|
+
}) {
|
|
31
|
+
const content = /* @__PURE__ */ jsx(
|
|
32
|
+
Flex,
|
|
33
|
+
{
|
|
34
|
+
center: true,
|
|
35
|
+
onClick,
|
|
36
|
+
disabled,
|
|
37
|
+
as: onClick ? "button" : "div",
|
|
38
|
+
asButtonType: "button",
|
|
39
|
+
children: /* @__PURE__ */ jsx(
|
|
40
|
+
StyledIconWithCircleBackground,
|
|
41
|
+
{
|
|
42
|
+
size: iconWidth,
|
|
43
|
+
darkBg,
|
|
44
|
+
shouldRotate,
|
|
45
|
+
noBg,
|
|
46
|
+
bgColor,
|
|
47
|
+
children: /* @__PURE__ */ jsx(
|
|
48
|
+
Icon,
|
|
49
|
+
{
|
|
50
|
+
name: iconName,
|
|
51
|
+
width: iconWidth,
|
|
52
|
+
color: iconColor ? iconColor : darkBg ? "white" : "grayBlue9",
|
|
53
|
+
iconProps: {
|
|
54
|
+
strokeWidth: iconStrokeWidth,
|
|
55
|
+
fill: opaque ? "currentColor" : "none"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
return to ? /* @__PURE__ */ jsx("div", { css: { cursor: disabled ? "not-allowed" : void 0 }, children: /* @__PURE__ */ jsx(Link, { to, disabled, children: content }) }) : content;
|
|
64
|
+
}
|
|
65
|
+
var StyledIconWithCircleBackground = styled.div`
|
|
66
|
+
background: ${({ theme, darkBg, noBg, bgColor }) => darkBg ? `linear-gradient(291.4deg, #1C243F 0%, #21283A 100%)` : noBg ? "transparent" : bgColor ? getColor(theme, bgColor) : getColor(theme, "grayBlue94")};
|
|
67
|
+
border-radius: 50%;
|
|
68
|
+
padding: ${({ size }) => getPadding(size)}px;
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
${({ size }) => `width: ${size + getPadding(size) * 2}px; height: ${size + getPadding(size) * 2}px;`}
|
|
72
|
+
|
|
73
|
+
@keyframes IconWithCircleBackgroundRotate {
|
|
74
|
+
0% {
|
|
75
|
+
transform: rotate(0);
|
|
76
|
+
}
|
|
77
|
+
35% {
|
|
78
|
+
transform: rotate(360deg);
|
|
79
|
+
}
|
|
80
|
+
100% {
|
|
81
|
+
transform: rotate(360deg);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
${({ shouldRotate }) => shouldRotate && `animation: IconWithCircleBackgroundRotate 10s ease infinite;`}
|
|
85
|
+
`;
|
|
86
|
+
function getPadding(size) {
|
|
87
|
+
if (size === 40) {
|
|
88
|
+
return 20;
|
|
89
|
+
}
|
|
90
|
+
if (size === 36) {
|
|
91
|
+
return 14;
|
|
92
|
+
}
|
|
93
|
+
if (size === 20) {
|
|
94
|
+
return 10;
|
|
95
|
+
}
|
|
96
|
+
return 16;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export {
|
|
100
|
+
IconWithCircleBackground
|
|
101
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunk4N5EXQIScjs = require('./chunk-4N5EXQIS.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkXUEKQQJVcjs = require('./chunk-XUEKQQJV.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkZ6EUSUADcjs = require('./chunk-Z6EUSUAD.cjs');
|
|
12
|
+
|
|
13
|
+
// src/components/MultiToggle.tsx
|
|
14
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
15
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
16
|
+
var _react = require('@emotion/react');
|
|
17
|
+
function MultiToggle({
|
|
18
|
+
options,
|
|
19
|
+
selectedOption,
|
|
20
|
+
onChange,
|
|
21
|
+
selectedBgColor = "c1Neutral",
|
|
22
|
+
selectedColor = "hcNeutral",
|
|
23
|
+
bgColor = "c4Neutral",
|
|
24
|
+
color = "mcNeutral"
|
|
25
|
+
}) {
|
|
26
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledMultiToggle, { bgColor, children: options.map((_a) => {
|
|
27
|
+
var _b = _a, { key } = _b, optionProps = _chunkZ6EUSUADcjs.__objRest.call(void 0, _b, ["key"]);
|
|
28
|
+
let content = null;
|
|
29
|
+
if ("name" in optionProps) {
|
|
30
|
+
content = /* @__PURE__ */ _react.createElement.call(void 0,
|
|
31
|
+
_chunk4N5EXQIScjs.Icon,
|
|
32
|
+
_chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__spreadValues.call(void 0, {}, optionProps), {
|
|
33
|
+
width: 11,
|
|
34
|
+
key,
|
|
35
|
+
color: key === selectedOption ? selectedColor : color
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
} else {
|
|
39
|
+
content = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: { fontSize: "11px", lineHeight: "11px" }, children: optionProps.text });
|
|
40
|
+
}
|
|
41
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42
|
+
StyledMultiToggleOption,
|
|
43
|
+
{
|
|
44
|
+
onClick: () => onChange(key),
|
|
45
|
+
selected: key === selectedOption,
|
|
46
|
+
selectedBgColor,
|
|
47
|
+
selectedColor,
|
|
48
|
+
colorProp: color,
|
|
49
|
+
children: content
|
|
50
|
+
},
|
|
51
|
+
key
|
|
52
|
+
);
|
|
53
|
+
}) });
|
|
54
|
+
}
|
|
55
|
+
var StyledMultiToggle = _styled2.default.div`
|
|
56
|
+
border-radius: 999px;
|
|
57
|
+
background: ${({ theme, bgColor }) => _chunkXUEKQQJVcjs.getColor.call(void 0, theme, bgColor)};
|
|
58
|
+
padding: 2px;
|
|
59
|
+
gap: 2px;
|
|
60
|
+
display: flex;
|
|
61
|
+
`;
|
|
62
|
+
var StyledMultiToggleOption = _styled2.default.div`
|
|
63
|
+
display: flex;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
border-radius: 999px;
|
|
66
|
+
padding: 4px;
|
|
67
|
+
background: ${({ theme, selected, selectedBgColor }) => selected ? _chunkXUEKQQJVcjs.getColor.call(void 0, theme, selectedBgColor) : "transparent"};
|
|
68
|
+
`;
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
exports.MultiToggle = MultiToggle;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
standardFocusOutline
|
|
3
|
+
} from "./chunk-ANZUTQRP.js";
|
|
4
|
+
|
|
5
|
+
// src/components/UnstyledButton.tsx
|
|
6
|
+
import styled from "@emotion/styled";
|
|
7
|
+
var UnstyledButton = styled.button`
|
|
8
|
+
${standardFocusOutline}
|
|
9
|
+
font-family: ${({ theme }) => theme.typography.fontFamilies.main};
|
|
10
|
+
appearance: none;
|
|
11
|
+
background: transparent;
|
|
12
|
+
border: none;
|
|
13
|
+
padding: 0;
|
|
14
|
+
cursor: ${({ disabled }) => disabled ? "not-allowed" : "pointer"};
|
|
15
|
+
/* needed in Safari for some reason */
|
|
16
|
+
font-size: 1rem;
|
|
17
|
+
color: inherit;
|
|
18
|
+
font-weight: inherit;
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
UnstyledButton
|
|
23
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// src/hooks/useDebounce.tsx
|
|
2
|
+
import { debounce } from "lodash-es";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
function useDebounce(value, delay = 0, options) {
|
|
5
|
+
const [current, setCurrent] = useState(value);
|
|
6
|
+
const jsonOptions = JSON.stringify(options);
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
const debounced = debounce(
|
|
9
|
+
() => {
|
|
10
|
+
setCurrent(value);
|
|
11
|
+
},
|
|
12
|
+
delay,
|
|
13
|
+
options
|
|
14
|
+
);
|
|
15
|
+
debounced();
|
|
16
|
+
return () => {
|
|
17
|
+
debounced.cancel();
|
|
18
|
+
};
|
|
19
|
+
}, [value, delay, jsonOptions]);
|
|
20
|
+
return current;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
useDebounce
|
|
25
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// src/icons/central/Loader.tsx
|
|
2
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
+
function Loader({
|
|
4
|
+
strokeWidth = "1.5",
|
|
5
|
+
strokeLinecap = "round",
|
|
6
|
+
strokeLinejoin = "round"
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
width: "24",
|
|
12
|
+
height: "24",
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
children: /* @__PURE__ */ jsx(
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
clipRule: "evenodd",
|
|
21
|
+
d: "M12.0004 2C12.4146 2.00004 12.7503 2.33585 12.7503 2.75007L12.75 6.25007C12.75 6.66428 12.4141 7.00004 11.9999 7C11.5857 6.99996 11.25 6.66415 11.25 6.24993L11.2503 2.74993C11.2503 2.33572 11.5862 1.99996 12.0004 2ZM4.92919 4.92867C5.22211 4.6358 5.69699 4.63584 5.98985 4.92876L8.46451 7.40385C8.75738 7.69677 8.75734 8.17164 8.46442 8.46451C8.1715 8.75738 7.69663 8.75734 7.40376 8.46442L4.9291 5.98933C4.63623 5.69641 4.63628 5.22154 4.92919 4.92867ZM19.0716 4.92943C19.3645 5.22232 19.3645 5.69719 19.0716 5.99009L16.5967 8.46496C16.3038 8.75785 15.8289 8.75785 15.536 8.46496C15.2431 8.17207 15.2431 7.69719 15.536 7.4043L18.0109 4.92943C18.3038 4.63653 18.7787 4.63653 19.0716 4.92943ZM2 12.0007C2 11.5865 2.33579 11.2507 2.75 11.2507H6.25C6.66421 11.2507 7 11.5865 7 12.0007C7 12.4149 6.66421 12.7507 6.25 12.7507H2.75C2.33579 12.7507 2 12.4149 2 12.0007ZM17 12.0007C17 11.5865 17.3358 11.2507 17.75 11.2507H21.25C21.6642 11.2507 22 11.5865 22 12.0007C22 12.4149 21.6642 12.7507 21.25 12.7507H17.75C17.3358 12.7507 17 12.4149 17 12.0007ZM15.5357 15.5353C15.8286 15.2424 16.3035 15.2424 16.5964 15.5353L19.0713 18.0102C19.3642 18.3031 19.3642 18.778 19.0713 19.0709C18.7784 19.3637 18.3035 19.3637 18.0106 19.0709L15.5357 16.596C15.2429 16.3031 15.2429 15.8282 15.5357 15.5353ZM8.46496 15.536C8.75785 15.8289 8.75785 16.3038 8.46496 16.5967L5.99009 19.0716C5.69719 19.3645 5.22232 19.3645 4.92943 19.0716C4.63653 18.7787 4.63653 18.3038 4.92943 18.0109L7.4043 15.536C7.69719 15.2431 8.17207 15.2431 8.46496 15.536ZM12.0003 17C12.4145 17 12.7503 17.3358 12.7503 17.75V21.25C12.7503 21.6642 12.4145 22 12.0003 22C11.5861 22 11.2503 21.6642 11.2503 21.25V17.75C11.2503 17.3358 11.5861 17 12.0003 17Z",
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
vectorEffect: "non-scaling-stroke"
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
Loader
|
|
32
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button
|
|
3
|
+
} from "./chunk-2OE2VPDJ.js";
|
|
4
|
+
import {
|
|
5
|
+
Spacing
|
|
6
|
+
} from "./chunk-E5DUKMCU.js";
|
|
7
|
+
import {
|
|
8
|
+
overflowAutoWithoutScrollbars
|
|
9
|
+
} from "./chunk-KKGZ47R3.js";
|
|
10
|
+
import {
|
|
11
|
+
standardContentInset
|
|
12
|
+
} from "./chunk-ANZUTQRP.js";
|
|
13
|
+
import {
|
|
14
|
+
bp
|
|
15
|
+
} from "./chunk-JSGRNWSB.js";
|
|
16
|
+
import {
|
|
17
|
+
__spreadValues
|
|
18
|
+
} from "./chunk-W7FAWX6T.js";
|
|
19
|
+
|
|
20
|
+
// src/components/ButtonRow.tsx
|
|
21
|
+
import styled from "@emotion/styled";
|
|
22
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
23
|
+
function ButtonRow({
|
|
24
|
+
buttons,
|
|
25
|
+
className,
|
|
26
|
+
smSticky = true,
|
|
27
|
+
bottomBorder = true,
|
|
28
|
+
headerHeight = 0,
|
|
29
|
+
ml
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
StyledButtonRow,
|
|
33
|
+
{
|
|
34
|
+
smSticky,
|
|
35
|
+
headerHeight,
|
|
36
|
+
bottomBorder,
|
|
37
|
+
ml,
|
|
38
|
+
children: /* @__PURE__ */ jsx(StyledButtonRowButton, { className, children: buttons.map(
|
|
39
|
+
(button, idx) => button === "divider" ? /* @__PURE__ */ jsx(ButtonRowDivider, {}, idx) : /* @__PURE__ */ jsx(Button, __spreadValues({}, button), idx)
|
|
40
|
+
) })
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
var StyledButtonRow = styled.div`
|
|
45
|
+
max-width: 100%;
|
|
46
|
+
${({ ml }) => typeof ml !== "undefined" ? `margin-left: ${ml}px;` : ``}
|
|
47
|
+
${({ theme }) => bp.sm(`background: ${theme.bg}`)}
|
|
48
|
+
${({ headerHeight, smSticky, bottomBorder }) => bp.sm(
|
|
49
|
+
`
|
|
50
|
+
${smSticky ? `
|
|
51
|
+
display: block;
|
|
52
|
+
position: sticky;
|
|
53
|
+
top: ${headerHeight}px;
|
|
54
|
+
margin-top: 24px;
|
|
55
|
+
margin-left: -${standardContentInset.smPx}px;
|
|
56
|
+
width: calc(100% + ${standardContentInset.smPx * 2}px);
|
|
57
|
+
max-width: calc(100% + ${standardContentInset.smPx * 2}px);
|
|
58
|
+
z-index: 2;` : `position: relative;`}
|
|
59
|
+
${bottomBorder ? `
|
|
60
|
+
&:before {
|
|
61
|
+
content: "";
|
|
62
|
+
box-shadow: 0px 0px 9px 3px rgba(0, 0, 0, 0.09);
|
|
63
|
+
height: 1px;
|
|
64
|
+
position: absolute;
|
|
65
|
+
background: black;
|
|
66
|
+
bottom: 1px;
|
|
67
|
+
width: 100%;
|
|
68
|
+
z-index: 0;
|
|
69
|
+
}
|
|
70
|
+
` : ``}
|
|
71
|
+
z-index: 2;
|
|
72
|
+
`
|
|
73
|
+
)}
|
|
74
|
+
`;
|
|
75
|
+
var ButtonRowDivider = styled.div`
|
|
76
|
+
border-left: 1px #d9d9d9 solid;
|
|
77
|
+
margin-left: 16px;
|
|
78
|
+
padding-left: 16px;
|
|
79
|
+
`;
|
|
80
|
+
var StyledButtonRowButton = styled.div`
|
|
81
|
+
${overflowAutoWithoutScrollbars}
|
|
82
|
+
background: ${({ theme }) => theme.bg};
|
|
83
|
+
display: flex;
|
|
84
|
+
position: relative;
|
|
85
|
+
z-index: 1;
|
|
86
|
+
gap: ${Spacing.px.xs};
|
|
87
|
+
|
|
88
|
+
& ${ButtonRowDivider} + button,
|
|
89
|
+
& ${ButtonRowDivider} + a {
|
|
90
|
+
margin-left: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
${bp.sm(`
|
|
94
|
+
padding: ${standardContentInset.smPx}px;
|
|
95
|
+
`)}
|
|
96
|
+
`;
|
|
97
|
+
|
|
98
|
+
export {
|
|
99
|
+
ButtonRow,
|
|
100
|
+
StyledButtonRow,
|
|
101
|
+
StyledButtonRowButton
|
|
102
|
+
};
|