@lightsparkdev/ui 1.0.8 → 1.0.10
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 +21 -0
- package/dist/{chunk-EJZ3BXS3.js → chunk-2C73WWPT.js} +22 -19
- package/dist/{chunk-CHXBDWS3.js → chunk-2F2YMUL5.js} +6 -6
- package/dist/{chunk-UUQZW2LJ.js → chunk-2G552RN7.js} +8 -8
- package/dist/{chunk-5W523NQP.js → chunk-2KHMKDGF.js} +2 -2
- package/dist/chunk-2MIU5D22.cjs +233 -0
- package/dist/{chunk-7ICNTAPO.js → chunk-37HQ4WOA.js} +2 -2
- package/dist/chunk-3OYKPPML.js +27 -0
- package/dist/{chunk-C5KQZIKL.js → chunk-3V52MNZC.js} +2 -2
- package/dist/{chunk-BBPNYL4K.js → chunk-3VB55LWB.js} +1 -1
- package/dist/{chunk-DBB5TKTS.cjs → chunk-4CFGJROV.cjs} +121 -106
- package/dist/{chunk-BOBYW7PP.cjs → chunk-4EK5RAZS.cjs} +2 -2
- package/dist/{chunk-O7UTME4V.cjs → chunk-4QK2V7YW.cjs} +2 -2
- package/dist/{chunk-YJJBABLW.cjs → chunk-4VRON4MF.cjs} +10 -12
- package/dist/chunk-4WKQPWLI.cjs +41 -0
- package/dist/chunk-4WSTOUAH.cjs +27 -0
- package/dist/{chunk-FBU6BGRP.js → chunk-54VI7M4H.js} +6 -6
- package/dist/{chunk-6LHW62FG.cjs → chunk-55FMRU2M.cjs} +12 -12
- package/dist/chunk-57IQEIDN.js +27 -0
- package/dist/{chunk-VW2IB7XD.js → chunk-5LEYZK7K.js} +2 -5
- package/dist/{chunk-LZ24FX6C.cjs → chunk-5MLMGZJG.cjs} +4 -4
- package/dist/chunk-5O2EL5I3.js +14 -0
- package/dist/chunk-5SJB7TBQ.js +39 -0
- package/dist/chunk-5VRX24DR.js +28 -0
- package/dist/{chunk-ONE4Q37F.js → chunk-5YKEHMNB.js} +6 -8
- package/dist/{chunk-TSO4WRU4.js → chunk-625AYCBC.js} +2 -2
- package/dist/{chunk-SXY5KR2T.js → chunk-62K3RQJB.js} +1 -1
- package/dist/chunk-6AHBVQ2G.cjs +31 -0
- package/dist/{chunk-4P7RPU32.cjs → chunk-6IU4OQOC.cjs} +3 -3
- package/dist/{chunk-HN6NGIKM.js → chunk-6P2AYPAD.js} +19 -5
- package/dist/{chunk-XIFM5AMT.cjs → chunk-6RG56RES.cjs} +6 -6
- package/dist/chunk-72JQQKA7.js +191 -0
- package/dist/{chunk-YHDN5LEA.cjs → chunk-73EJLMPT.cjs} +2 -2
- package/dist/chunk-73ETEREG.js +36 -0
- package/dist/{chunk-UDKRYLGK.cjs → chunk-753ZXPCO.cjs} +1 -1
- package/dist/{chunk-GB2UBWT4.js → chunk-7D5HL6WZ.js} +6 -6
- package/dist/{chunk-VCHMPHHC.js → chunk-7H74ZBRC.js} +24 -6
- package/dist/{chunk-HSBQGWYB.js → chunk-7HGSAPSN.js} +7 -7
- package/dist/{chunk-EXGU7HIU.cjs → chunk-7JJQGMWT.cjs} +2 -2
- package/dist/{chunk-JWGDZRNN.js → chunk-7K2QTWCN.js} +3 -3
- package/dist/{chunk-HTFKWW4S.cjs → chunk-7LOKZM7V.cjs} +43 -40
- package/dist/chunk-7MHIAUWU.js +165 -0
- package/dist/chunk-7ZBJZ4GA.js +23 -0
- package/dist/chunk-A7BCCSEC.js +117 -0
- package/dist/{chunk-DGS7USD6.js → chunk-AEL6DM2K.js} +10 -10
- package/dist/{chunk-X5RKTU6O.js → chunk-AIP5ENLX.js} +2 -2
- package/dist/{chunk-NNTGGG2C.cjs → chunk-ANXJRCTV.cjs} +2 -2
- package/dist/chunk-AQ27MNSE.cjs +584 -0
- package/dist/chunk-ATJPSJS5.js +43 -0
- package/dist/{chunk-RZMG2TID.js → chunk-AXHFR6HR.js} +3 -3
- package/dist/{chunk-N5A5ZNNB.js → chunk-B3OYC2SZ.js} +16 -16
- package/dist/chunk-B5DSZXP6.js +48 -0
- package/dist/{chunk-MMK4RQ64.cjs → chunk-B5JDB6M7.cjs} +69 -57
- package/dist/chunk-B7GBVRFP.cjs +52 -0
- package/dist/chunk-BGJWTMDW.cjs +24 -0
- package/dist/{chunk-4FM66VF3.js → chunk-BQYGHD5H.js} +4 -4
- package/dist/{chunk-XKQ2XWU5.cjs → chunk-BS4QRGM3.cjs} +4 -4
- package/dist/chunk-BUMYA2SJ.cjs +27 -0
- package/dist/chunk-C5EEHCIJ.cjs +102 -0
- package/dist/{chunk-MJN5WJMC.cjs → chunk-C5WEZGAD.cjs} +3 -3
- package/dist/chunk-C6GQCKNT.cjs +39 -0
- package/dist/{chunk-24G7XKW5.cjs → chunk-CBFA6RJW.cjs} +21 -7
- package/dist/{chunk-KSKKC6C2.cjs → chunk-CFG65CGC.cjs} +5 -4
- package/dist/chunk-CTPC457D.js +27 -0
- package/dist/chunk-D5AXHK6H.js +233 -0
- package/dist/{chunk-EXTVW2LU.js → chunk-D5FJIN3D.js} +8 -8
- package/dist/chunk-D7U3OZEA.js +584 -0
- package/dist/{chunk-TMTEVKSD.cjs → chunk-DCQM7IVK.cjs} +37 -1
- package/dist/chunk-DILTUDQN.js +86 -0
- package/dist/{chunk-PYL3O7AF.cjs → chunk-DIMJISMH.cjs} +6 -6
- package/dist/{chunk-LLVW7HU4.cjs → chunk-DISSWFSS.cjs} +7 -7
- package/dist/{chunk-SIWCH44U.js → chunk-DQHT3RBW.js} +1 -1
- package/dist/{chunk-E4YBYEWH.js → chunk-DXQSKF7R.js} +1 -1
- package/dist/chunk-DYOWCUZ3.cjs +75 -0
- package/dist/chunk-DYTFVMD3.js +31 -0
- package/dist/chunk-E2MVN4UE.cjs +54 -0
- package/dist/{chunk-VYKXX3SH.cjs → chunk-E5ARGCTH.cjs} +6 -6
- package/dist/{chunk-CYWLRXPQ.cjs → chunk-EKGTEPQH.cjs} +25 -5
- package/dist/{chunk-MDAPZY4A.js → chunk-ELKBW52S.js} +41 -36
- package/dist/{chunk-VD3UNL3N.js → chunk-EMMXUHGF.js} +6 -6
- package/dist/chunk-ETXGHZRA.js +75 -0
- package/dist/chunk-EZNRFABO.cjs +77 -0
- package/dist/{chunk-HOR467ZW.js → chunk-F6ITVYPU.js} +3 -3
- package/dist/{chunk-RT4SDUU6.js → chunk-FFOE2R32.js} +1 -1
- package/dist/{chunk-DPSSQNBK.js → chunk-G3FLE2PL.js} +105 -90
- package/dist/chunk-G5IVQ4O3.js +41 -0
- package/dist/{chunk-ZTIL63SE.js → chunk-GCUAIBB5.js} +6 -6
- package/dist/chunk-GDLQ54TN.cjs +41 -0
- package/dist/{chunk-ZBBVZQKJ.cjs → chunk-GEMBOYJD.cjs} +4 -4
- package/dist/chunk-GPWAK4HM.js +52 -0
- package/dist/chunk-GSETAASM.cjs +77 -0
- package/dist/{chunk-F4RWDLPI.js → chunk-GU46BAEF.js} +6 -6
- package/dist/{chunk-MHOXWPRA.cjs → chunk-GU4QMN7Z.cjs} +6 -6
- package/dist/{chunk-36ATWJ72.js → chunk-H5GYYPG3.js} +3 -3
- package/dist/{chunk-IJ4XF2NA.cjs → chunk-H7GCH36P.cjs} +5 -5
- package/dist/{chunk-DNRHVCOE.js → chunk-HEXTPM3C.js} +1 -1
- package/dist/{chunk-ZPIJMKJZ.cjs → chunk-HHD4D2CU.cjs} +15 -15
- package/dist/{chunk-3Z7RPOMO.js → chunk-HHTHXSBF.js} +1 -1
- package/dist/{chunk-34MTU3ER.js → chunk-HJQIDDKT.js} +25 -6
- package/dist/{chunk-ZHCJTMTX.js → chunk-HOMUFDUQ.js} +6 -6
- package/dist/chunk-HZFMTV5V.js +84 -0
- package/dist/chunk-I3A4BTFM.js +101 -0
- package/dist/{chunk-JSOZMOEJ.js → chunk-I7MVMRCX.js} +2 -2
- package/dist/{chunk-QU7VRXE6.js → chunk-IGNDJHKO.js} +8 -8
- package/dist/{chunk-KMFK2MOB.cjs → chunk-IKR6723M.cjs} +11 -11
- package/dist/chunk-ILYMHUCA.cjs +14 -0
- package/dist/{chunk-FRASE266.cjs → chunk-IP233XPH.cjs} +12 -12
- package/dist/chunk-ISYVFILW.js +291 -0
- package/dist/{chunk-72CHU34B.js → chunk-J6Q5RIOB.js} +3 -3
- package/dist/{chunk-EEB6DWY3.js → chunk-JKR3MA6Q.js} +6 -6
- package/dist/{chunk-BY47I7ZP.cjs → chunk-JMIYMECJ.cjs} +14 -12
- package/dist/{chunk-KLC2OBTG.cjs → chunk-JPRA3J5C.cjs} +11 -11
- package/dist/{chunk-KACMKEQC.cjs → chunk-JUGL45TE.cjs} +2 -2
- package/dist/{chunk-PBD4TY4L.cjs → chunk-KB4YCFWX.cjs} +7 -7
- package/dist/{chunk-VNFSKZW2.cjs → chunk-KEO4UBBQ.cjs} +23 -5
- package/dist/chunk-KNBAVK6L.js +53 -0
- package/dist/chunk-KSGW5YL2.js +342 -0
- package/dist/chunk-L2A4DODW.cjs +342 -0
- package/dist/{chunk-CJBS52GU.js → chunk-L2PEYHPD.js} +17 -17
- package/dist/{chunk-XTE2IISE.cjs → chunk-L33DG5GN.cjs} +4 -7
- package/dist/chunk-LE5UZLTM.cjs +191 -0
- package/dist/{chunk-ISVMIEHD.js → chunk-LFIZVZWX.js} +9 -12
- package/dist/{chunk-O4MKC7U2.js → chunk-LIVMIDVJ.js} +1 -1
- package/dist/chunk-LOAEVVLR.cjs +416 -0
- package/dist/{chunk-NWMYGKBQ.cjs → chunk-LQLD7FVY.cjs} +3 -3
- package/dist/chunk-LU5EBFVL.js +462 -0
- package/dist/{chunk-MBZSVLKB.js → chunk-LUA7C7Z6.js} +7 -7
- package/dist/{chunk-CKOW6ME2.js → chunk-LVJ2PUOM.js} +3 -3
- package/dist/chunk-LZLRG4BO.cjs +84 -0
- package/dist/chunk-M355VGZ3.cjs +62 -0
- package/dist/{chunk-4BXMY75P.cjs → chunk-MDAXRWPT.cjs} +6 -6
- package/dist/chunk-MET4GBWC.js +54 -0
- package/dist/{chunk-GWCVYEJG.cjs → chunk-MJQOF3RS.cjs} +14 -14
- package/dist/{chunk-REL56P3K.js → chunk-MN4NUSPL.js} +4 -3
- package/dist/{chunk-5OIQOVHS.js → chunk-MOEVMNK6.js} +8 -8
- package/dist/chunk-MQVRZOTQ.js +34 -0
- package/dist/{chunk-BD3WXMLE.cjs → chunk-MWHLGPKO.cjs} +2 -2
- package/dist/{chunk-QFOCB4NF.cjs → chunk-MZVYDXQ7.cjs} +4 -4
- package/dist/chunk-N5UVZQ5K.cjs +27 -0
- package/dist/chunk-NADZQTPB.js +129 -0
- package/dist/chunk-NCH72LUB.cjs +90 -0
- package/dist/{chunk-KKK2ML75.js → chunk-NCIBJJIE.js} +2 -2
- package/dist/chunk-NCQUX52Z.cjs +462 -0
- package/dist/chunk-NFQP7P3D.js +77 -0
- package/dist/{chunk-QQTZ6DZL.js → chunk-NGSQ2OOV.js} +8 -6
- package/dist/chunk-NMBI5XXU.cjs +165 -0
- package/dist/chunk-NNYCLSJV.js +49 -0
- package/dist/{chunk-H2OQXO5Z.js → chunk-NSA4FO4B.js} +3 -3
- package/dist/{chunk-W5I53DTZ.js → chunk-O42E7NAG.js} +20 -7
- package/dist/{chunk-NN23LWC7.cjs → chunk-OBLAEHPT.cjs} +19 -19
- package/dist/{chunk-SEJXEWOJ.cjs → chunk-OCULQS4S.cjs} +6 -6
- package/dist/{chunk-BQG6DASD.cjs → chunk-OLDUIEBR.cjs} +6 -6
- package/dist/chunk-OM4IBALU.cjs +23 -0
- package/dist/{chunk-IFT6NJX4.cjs → chunk-ONCHRB4P.cjs} +6 -6
- package/dist/chunk-OP2GXTL3.js +77 -0
- package/dist/{chunk-G5HBO2FI.cjs → chunk-OVJZVL57.cjs} +1 -1
- package/dist/chunk-OVL3XQUI.cjs +291 -0
- package/dist/{chunk-3UXAUDOL.cjs → chunk-OVOZ4MWA.cjs} +30 -30
- package/dist/{chunk-AVEKG63Q.js → chunk-OYWYTUJD.js} +6 -6
- package/dist/{chunk-NPTHZ6KR.cjs → chunk-PFLKL4U5.cjs} +20 -23
- package/dist/{chunk-BCXQD6ZP.js → chunk-PPWQMT6L.js} +3 -3
- package/dist/{chunk-EM7O6Y3M.cjs → chunk-PW6MUX7N.cjs} +5 -5
- package/dist/{chunk-SI63PJGM.js → chunk-PXY7XXMI.js} +13 -13
- package/dist/{chunk-J4YI5GMY.cjs → chunk-QCTPBUWI.cjs} +3 -3
- package/dist/{chunk-QCJWZRIP.cjs → chunk-QE67LKK5.cjs} +27 -8
- package/dist/chunk-QWBJBEYT.js +653 -0
- package/dist/{chunk-GHXNMLAB.js → chunk-R4JQUMCP.js} +2 -2
- package/dist/{chunk-V5DGRLV7.cjs → chunk-R74ZB3VR.cjs} +2 -2
- package/dist/chunk-RFO3GG6R.cjs +58 -0
- package/dist/{chunk-RKBBY43D.cjs → chunk-RRPNFKNW.cjs} +7 -7
- package/dist/{chunk-TZ4KOSZV.cjs → chunk-RSQWIVP4.cjs} +2 -2
- package/dist/{chunk-6YSADIN7.js → chunk-RSTCESAL.js} +5 -5
- package/dist/{chunk-TPL3YXOG.js → chunk-RTDZGU5J.js} +12 -12
- package/dist/{chunk-4VKPCWNP.js → chunk-RYS6JJEE.js} +2 -2
- package/dist/chunk-SAI5MDK3.js +102 -0
- package/dist/{chunk-24SOCRDH.cjs → chunk-SDDC5AVT.cjs} +2 -2
- package/dist/chunk-SEOJ475Z.cjs +86 -0
- package/dist/chunk-SL7GOUXJ.cjs +49 -0
- package/dist/chunk-SMVLBX2D.cjs +34 -0
- package/dist/chunk-SNAEIQF4.js +62 -0
- package/dist/{chunk-PFYBJXL5.js → chunk-SPZKZUAH.js} +9 -11
- package/dist/{chunk-PDDHDR54.cjs → chunk-SQEOBZOQ.cjs} +36 -36
- package/dist/{chunk-EQ4V4QBD.cjs → chunk-SZNCRT6T.cjs} +6 -6
- package/dist/chunk-TBB3GUOK.js +54 -0
- package/dist/{chunk-JWWKSKXB.cjs → chunk-TGVZCORB.cjs} +60 -55
- package/dist/{chunk-A5QRVHWP.cjs → chunk-THAT7M2K.cjs} +32 -32
- package/dist/{chunk-2C4Z2X45.cjs → chunk-TMB4SEV7.cjs} +16 -16
- package/dist/{chunk-3TXLQOT4.cjs → chunk-U3FWVBZ3.cjs} +7 -7
- package/dist/{chunk-5ZDDVLS6.js → chunk-UF2SAH66.js} +3 -3
- package/dist/{chunk-VMYRYEML.cjs → chunk-UIYWFRXB.cjs} +23 -23
- package/dist/chunk-URISHIUW.cjs +653 -0
- package/dist/{chunk-A6NNNY72.js → chunk-UTSRM2EL.js} +2 -2
- package/dist/{chunk-FH3E64BU.js → chunk-UUBFMN76.js} +6 -6
- package/dist/{chunk-V2VDB34C.cjs → chunk-UUC3PWWZ.cjs} +3 -3
- package/dist/{chunk-24PXYMSU.js → chunk-VASG2BKI.js} +37 -1
- package/dist/chunk-VFDFLLP7.js +416 -0
- package/dist/chunk-VVA3TL2D.js +90 -0
- package/dist/{chunk-5O6LWFY4.cjs → chunk-W3PPZLB6.cjs} +6 -6
- package/dist/{chunk-XZKD27Y2.cjs → chunk-W5GHORWN.cjs} +6 -6
- package/dist/chunk-WC66SYZ7.cjs +117 -0
- package/dist/{chunk-4HGJNBTO.cjs → chunk-WG6IF6MG.cjs} +4 -4
- package/dist/chunk-WIPV62VC.cjs +101 -0
- package/dist/chunk-WIRXH6BA.js +58 -0
- package/dist/chunk-WKNYSBTF.cjs +28 -0
- package/dist/{chunk-WTHHP7G2.cjs → chunk-WKRK5OVE.cjs} +178 -165
- package/dist/chunk-WM2JR4O2.cjs +129 -0
- package/dist/chunk-WRZUCCQD.cjs +36 -0
- package/dist/{chunk-22TGTMSK.js → chunk-WY2D7I5O.js} +6 -6
- package/dist/{chunk-E7RKIBJY.js → chunk-WZJTXJM5.js} +1 -1
- package/dist/{chunk-EGOOSBGG.js → chunk-X5SBSJ3Z.js} +1 -1
- package/dist/chunk-XF2X7TOO.cjs +53 -0
- package/dist/{chunk-YZVHWN44.cjs → chunk-XHLL5XVN.cjs} +10 -12
- package/dist/{chunk-MK445W3F.js → chunk-XKRDJQOZ.js} +12 -12
- package/dist/{chunk-FJZXLAEH.cjs → chunk-XRS4QU2A.cjs} +3 -3
- package/dist/chunk-XS2KC4AS.js +24 -0
- package/dist/chunk-XSMF72UT.js +41 -0
- package/dist/{chunk-HOKT6NQP.js → chunk-XXXM6HSW.js} +1 -1
- package/dist/{chunk-QQLUKKYZ.js → chunk-XYP5XYVU.js} +91 -79
- package/dist/{chunk-BXLJEGX5.cjs → chunk-YBWM4WKV.cjs} +3 -3
- package/dist/{chunk-T7PTO2D2.cjs → chunk-YHJTGE2Y.cjs} +16 -16
- package/dist/{chunk-DBMGV4DX.js → chunk-YRD2SMIO.js} +3 -3
- package/dist/{chunk-2WREDS5B.cjs → chunk-YTMT3NY6.cjs} +8 -8
- package/dist/{chunk-AXV4CDSK.cjs → chunk-YUALIPXR.cjs} +10 -10
- package/dist/chunk-YWI7HVJX.cjs +43 -0
- package/dist/{chunk-APUV4UN4.js → chunk-YZM4ALKD.js} +2 -2
- package/dist/{chunk-2IXAUIKR.js → chunk-Z545Q5S3.js} +1 -1
- package/dist/chunk-Z64EONUS.cjs +48 -0
- package/dist/{chunk-HJCROZDQ.cjs → chunk-ZGJYMKB2.cjs} +5 -5
- package/dist/{chunk-TRIJJTMX.cjs → chunk-ZPJOE4AS.cjs} +6 -6
- package/dist/components/Badge.cjs +54 -61
- package/dist/components/Badge.d.cts +25 -23
- package/dist/components/Badge.d.ts +25 -23
- package/dist/components/Badge.js +53 -60
- package/dist/components/Banner/Banner.cjs +54 -62
- package/dist/components/Banner/Banner.d.cts +24 -20
- package/dist/components/Banner/Banner.d.ts +24 -20
- package/dist/components/Banner/Banner.js +53 -61
- package/dist/components/Banner/constants.cjs +1 -1
- package/dist/components/Banner/constants.js +1 -1
- package/dist/components/BlockAlert.cjs +175 -0
- package/dist/components/BlockAlert.d.cts +9 -0
- package/dist/components/BlockAlert.d.ts +9 -0
- package/dist/components/BlockAlert.js +175 -0
- package/dist/components/Button.cjs +52 -62
- package/dist/components/Button.d.cts +20 -14
- package/dist/components/Button.d.ts +20 -14
- package/dist/components/Button.js +51 -61
- package/dist/components/ButtonRow.cjs +54 -64
- package/dist/components/ButtonRow.d.cts +24 -18
- package/dist/components/ButtonRow.d.ts +24 -18
- package/dist/components/ButtonRow.js +53 -63
- package/dist/components/CardForm/CardForm.cjs +179 -0
- package/dist/components/CardForm/CardForm.d.cts +197 -0
- package/dist/components/CardForm/CardForm.d.ts +197 -0
- package/dist/components/CardForm/CardForm.js +179 -0
- package/dist/components/CardForm/CardFormCodeInput.cjs +19 -0
- package/dist/components/CardForm/CardFormCodeInput.d.cts +14 -0
- package/dist/components/CardForm/CardFormCodeInput.d.ts +14 -0
- package/dist/components/CardForm/CardFormCodeInput.js +19 -0
- package/dist/components/CardPage.cjs +56 -66
- package/dist/components/CardPage.d.cts +5 -5
- package/dist/components/CardPage.d.ts +5 -5
- package/dist/components/CardPage.js +55 -65
- package/dist/components/Checkbox.cjs +138 -9
- package/dist/components/Checkbox.d.cts +134 -4
- package/dist/components/Checkbox.d.ts +134 -4
- package/dist/components/Checkbox.js +137 -8
- package/dist/components/ClipboardTextField.cjs +138 -0
- package/dist/{utils/toNonTypographicReactNodes.d.cts → components/ClipboardTextField.d.cts} +35 -43
- package/dist/{utils/toNonTypographicReactNodes.d.ts → components/ClipboardTextField.d.ts} +35 -43
- package/dist/{utils/toNonTypographicReactNodes.js → components/ClipboardTextField.js} +50 -56
- package/dist/components/CodeBlock.cjs +50 -47
- package/dist/components/CodeBlock.d.cts +3 -3
- package/dist/components/CodeBlock.d.ts +3 -3
- package/dist/components/CodeBlock.js +49 -46
- package/dist/components/CodeInput/CodeInput.cjs +12 -12
- package/dist/components/CodeInput/CodeInput.d.cts +2 -2
- package/dist/components/CodeInput/CodeInput.d.ts +2 -2
- package/dist/components/CodeInput/CodeInput.js +11 -11
- package/dist/components/CodeInput/SingleCodeInput.cjs +11 -11
- package/dist/components/CodeInput/SingleCodeInput.js +10 -10
- package/dist/components/Collapsible.cjs +47 -44
- package/dist/components/Collapsible.d.cts +13 -10
- package/dist/components/Collapsible.d.ts +13 -10
- package/dist/components/Collapsible.js +46 -43
- package/dist/components/CommaNumberInput.cjs +61 -50
- package/dist/components/CommaNumberInput.d.cts +19 -13
- package/dist/components/CommaNumberInput.d.ts +19 -13
- package/dist/components/CommaNumberInput.js +60 -49
- package/dist/components/CommandKey.cjs +1 -1
- package/dist/components/CommandKey.js +1 -1
- package/dist/components/ContentTable.cjs +46 -43
- package/dist/components/ContentTable.d.cts +1 -1
- package/dist/components/ContentTable.d.ts +1 -1
- package/dist/components/ContentTable.js +45 -42
- package/dist/components/CopyToClipboardButton.cjs +48 -45
- package/dist/components/CopyToClipboardButton.d.cts +10 -7
- package/dist/components/CopyToClipboardButton.d.ts +10 -7
- package/dist/components/CopyToClipboardButton.js +47 -44
- package/dist/components/CurrencyAmount.cjs +47 -43
- package/dist/components/CurrencyAmount.d.cts +132 -18
- package/dist/components/CurrencyAmount.d.ts +132 -18
- package/dist/components/CurrencyAmount.js +46 -42
- package/dist/components/DataManagerTable/BooleanFilter.cjs +153 -0
- package/dist/components/DataManagerTable/BooleanFilter.d.cts +24 -0
- package/dist/components/DataManagerTable/BooleanFilter.d.ts +24 -0
- package/dist/components/DataManagerTable/BooleanFilter.js +153 -0
- package/dist/components/DataManagerTable/DataManagerTable.cjs +181 -0
- package/dist/components/DataManagerTable/DataManagerTable.d.cts +165 -0
- package/dist/components/DataManagerTable/DataManagerTable.d.ts +165 -0
- package/dist/components/DataManagerTable/DataManagerTable.js +181 -0
- package/dist/components/DataManagerTable/DateFilter.cjs +168 -0
- package/dist/components/DataManagerTable/DateFilter.d.cts +36 -0
- package/dist/components/DataManagerTable/DateFilter.d.ts +36 -0
- package/dist/components/DataManagerTable/DateFilter.js +168 -0
- package/dist/components/DataManagerTable/DateWidget.cjs +148 -0
- package/dist/components/DataManagerTable/DateWidget.d.cts +10 -0
- package/dist/components/DataManagerTable/DateWidget.d.ts +10 -0
- package/dist/components/DataManagerTable/DateWidget.js +148 -0
- package/dist/components/DataManagerTable/EnumFilter.cjs +159 -0
- package/dist/components/DataManagerTable/EnumFilter.d.cts +31 -0
- package/dist/components/DataManagerTable/EnumFilter.d.ts +31 -0
- package/dist/components/DataManagerTable/EnumFilter.js +159 -0
- package/dist/components/DataManagerTable/Filter.cjs +145 -0
- package/dist/components/DataManagerTable/Filter.d.cts +27 -0
- package/dist/components/DataManagerTable/Filter.d.ts +27 -0
- package/dist/components/DataManagerTable/Filter.js +145 -0
- package/dist/components/DataManagerTable/IdFilter.cjs +165 -0
- package/dist/components/DataManagerTable/IdFilter.d.cts +54 -0
- package/dist/components/DataManagerTable/IdFilter.d.ts +54 -0
- package/dist/components/DataManagerTable/IdFilter.js +165 -0
- package/dist/components/DataManagerTable/Popover.cjs +145 -0
- package/dist/components/DataManagerTable/Popover.d.cts +13 -0
- package/dist/components/DataManagerTable/Popover.d.ts +13 -0
- package/dist/components/DataManagerTable/Popover.js +145 -0
- package/dist/components/DataManagerTable/StringFilter.cjs +163 -0
- package/dist/components/DataManagerTable/StringFilter.d.cts +29 -0
- package/dist/components/DataManagerTable/StringFilter.d.ts +29 -0
- package/dist/components/DataManagerTable/StringFilter.js +163 -0
- package/dist/components/DataManagerTable/date_utils.cjs +19 -0
- package/dist/components/DataManagerTable/date_utils.d.cts +45 -0
- package/dist/components/DataManagerTable/date_utils.d.ts +45 -0
- package/dist/components/DataManagerTable/date_utils.js +19 -0
- package/dist/components/DataManagerTable/filters.cjs +7 -0
- package/dist/components/DataManagerTable/filters.d.cts +56 -0
- package/dist/components/DataManagerTable/filters.d.ts +56 -0
- package/dist/components/DataManagerTable/filters.js +7 -0
- package/dist/components/Drawer.cjs +54 -64
- package/dist/components/Drawer.js +53 -63
- package/dist/components/Dropdown.cjs +49 -45
- package/dist/components/Dropdown.d.cts +25 -19
- package/dist/components/Dropdown.d.ts +25 -19
- package/dist/components/Dropdown.js +48 -44
- package/dist/components/FileInput.cjs +52 -49
- package/dist/components/FileInput.d.cts +1 -1
- package/dist/components/FileInput.d.ts +1 -1
- package/dist/components/FileInput.js +51 -48
- package/dist/components/Flex.cjs +3 -3
- package/dist/components/Flex.d.cts +5 -1
- package/dist/components/Flex.d.ts +5 -1
- package/dist/components/Flex.js +2 -2
- package/dist/components/GradientCardHeader.cjs +11 -11
- package/dist/components/GradientCardHeader.js +10 -10
- package/dist/components/Icon/Icon.cjs +45 -42
- package/dist/components/Icon/Icon.d.cts +14 -10
- package/dist/components/Icon/Icon.d.ts +14 -10
- package/dist/components/Icon/Icon.js +44 -41
- package/dist/components/Icon/types.d.cts +11 -8
- package/dist/components/Icon/types.d.ts +11 -8
- package/dist/components/IconWithCircleBackground.cjs +49 -44
- package/dist/components/IconWithCircleBackground.d.cts +126 -2
- package/dist/components/IconWithCircleBackground.d.ts +126 -2
- package/dist/components/IconWithCircleBackground.js +48 -43
- package/dist/components/InfoIconTooltip.cjs +54 -62
- package/dist/components/InfoIconTooltip.d.cts +23 -19
- package/dist/components/InfoIconTooltip.d.ts +23 -19
- package/dist/components/InfoIconTooltip.js +53 -61
- package/dist/components/LightboxImage.cjs +1 -1
- package/dist/components/LightboxImage.js +1 -1
- package/dist/components/LightsparkProvider.cjs +10 -10
- package/dist/components/LightsparkProvider.js +9 -9
- package/dist/components/Loading.cjs +46 -43
- package/dist/components/Loading.d.cts +2 -2
- package/dist/components/Loading.d.ts +2 -2
- package/dist/components/Loading.js +45 -42
- package/dist/components/Modal.cjs +67 -70
- package/dist/components/Modal.d.cts +25 -24
- package/dist/components/Modal.d.ts +25 -24
- package/dist/components/Modal.js +66 -69
- package/dist/components/PageSection/PageSection.cjs +64 -69
- package/dist/components/PageSection/PageSection.d.cts +29 -25
- package/dist/components/PageSection/PageSection.d.ts +29 -25
- package/dist/components/PageSection/PageSection.js +63 -68
- package/dist/components/PageSection/PageSectionNav.cjs +57 -64
- package/dist/components/PageSection/PageSectionNav.d.cts +10 -7
- package/dist/components/PageSection/PageSectionNav.d.ts +10 -7
- package/dist/components/PageSection/PageSectionNav.js +56 -63
- package/dist/components/PageSection/constants.cjs +1 -1
- package/dist/components/PageSection/constants.js +1 -1
- package/dist/components/PendingValue.cjs +147 -0
- package/dist/components/PendingValue.d.cts +156 -0
- package/dist/components/PendingValue.d.ts +156 -0
- package/dist/components/PendingValue.js +147 -0
- package/dist/components/PhoneInput.cjs +61 -50
- package/dist/components/PhoneInput.d.cts +128 -4
- package/dist/components/PhoneInput.d.ts +128 -4
- package/dist/components/PhoneInput.js +60 -49
- package/dist/components/Pill.cjs +49 -46
- package/dist/components/Pill.d.cts +10 -7
- package/dist/components/Pill.d.ts +10 -7
- package/dist/components/Pill.js +48 -45
- package/dist/components/ProgressBar.cjs +9 -9
- package/dist/components/ProgressBar.d.cts +1 -1
- package/dist/components/ProgressBar.d.ts +1 -1
- package/dist/components/ProgressBar.js +8 -8
- package/dist/{utils/toNonTypographicReactNodes.cjs → components/QRCode.cjs} +47 -51
- package/dist/components/QRCode.d.cts +37 -0
- package/dist/components/QRCode.d.ts +37 -0
- package/dist/components/QRCode.js +140 -0
- package/dist/components/QRReader/QRReader.cjs +10 -0
- package/dist/components/QRReader/QRReader.d.cts +18 -0
- package/dist/components/QRReader/QRReader.d.ts +18 -0
- package/dist/components/QRReader/QRReader.js +10 -0
- package/dist/components/QRReader/hooks.cjs +8 -0
- package/dist/components/QRReader/hooks.d.cts +7 -0
- package/dist/components/QRReader/hooks.d.ts +7 -0
- package/dist/components/QRReader/hooks.js +8 -0
- package/dist/components/QRReader/styles.cjs +7 -0
- package/dist/components/QRReader/styles.d.cts +20 -0
- package/dist/components/QRReader/styles.d.ts +20 -0
- package/dist/components/QRReader/styles.js +7 -0
- package/dist/components/QRReader/types.cjs +1 -0
- package/dist/components/QRReader/types.d.cts +72 -0
- package/dist/components/QRReader/types.d.ts +72 -0
- package/dist/components/QRReader/types.js +0 -0
- package/dist/components/QRReader/utils.cjs +9 -0
- package/dist/components/QRReader/utils.d.cts +4 -0
- package/dist/components/QRReader/utils.d.ts +4 -0
- package/dist/components/QRReader/utils.js +9 -0
- package/dist/{utils/toReactNodes.cjs → components/QRReaderButton.cjs} +60 -65
- package/dist/components/QRReaderButton.d.cts +13 -0
- package/dist/components/QRReaderButton.d.ts +13 -0
- package/dist/{utils/toReactNodes.js → components/QRReaderButton.js} +61 -66
- package/dist/components/Radio.cjs +55 -49
- package/dist/components/Radio.js +54 -48
- package/dist/components/ReadClipboardButton.cjs +155 -0
- package/dist/components/ReadClipboardButton.d.cts +19 -0
- package/dist/components/ReadClipboardButton.d.ts +19 -0
- package/dist/components/ReadClipboardButton.js +155 -0
- package/dist/components/SatoshiInput.cjs +156 -0
- package/dist/{utils/toReactNodes.d.cts → components/SatoshiInput.d.cts} +29 -42
- package/dist/{utils/toReactNodes.d.ts → components/SatoshiInput.d.ts} +29 -42
- package/dist/components/SatoshiInput.js +156 -0
- package/dist/components/SatoshiInputLabel.cjs +147 -0
- package/dist/components/SatoshiInputLabel.d.cts +10 -0
- package/dist/components/SatoshiInputLabel.d.ts +10 -0
- package/dist/components/SatoshiInputLabel.js +147 -0
- package/dist/components/SecretContainer.cjs +49 -46
- package/dist/components/SecretContainer.js +48 -45
- package/dist/components/SecretInput.cjs +151 -0
- package/dist/components/SecretInput.d.cts +139 -0
- package/dist/components/SecretInput.d.ts +139 -0
- package/dist/components/SecretInput.js +151 -0
- package/dist/components/Select.cjs +142 -0
- package/dist/components/Select.d.cts +20 -0
- package/dist/components/Select.d.ts +20 -0
- package/dist/components/Select.js +142 -0
- package/dist/components/SidePanel.cjs +167 -0
- package/dist/components/SidePanel.d.cts +10 -0
- package/dist/components/SidePanel.d.ts +10 -0
- package/dist/components/SidePanel.js +167 -0
- package/dist/components/StatusIndicator.cjs +10 -10
- package/dist/components/StatusIndicator.d.cts +1 -1
- package/dist/components/StatusIndicator.d.ts +1 -1
- package/dist/components/StatusIndicator.js +9 -9
- package/dist/components/Table/Table.cjs +149 -0
- package/dist/components/Table/Table.d.cts +175 -0
- package/dist/components/Table/Table.d.ts +175 -0
- package/dist/components/Table/Table.js +149 -0
- package/dist/components/Table/TableEmptyState.cjs +14 -0
- package/dist/components/Table/TableEmptyState.d.cts +9 -0
- package/dist/components/Table/TableEmptyState.d.ts +9 -0
- package/dist/components/Table/TableEmptyState.js +14 -0
- package/dist/components/TextArea.cjs +17 -0
- package/dist/components/TextArea.d.cts +18 -0
- package/dist/components/TextArea.d.ts +18 -0
- package/dist/components/TextArea.js +17 -0
- package/dist/components/TextButton.cjs +56 -63
- package/dist/components/TextButton.d.cts +24 -25
- package/dist/components/TextButton.d.ts +24 -25
- package/dist/components/TextButton.js +55 -62
- package/dist/components/TextIconAligner.cjs +54 -61
- package/dist/components/TextIconAligner.d.cts +24 -22
- package/dist/components/TextIconAligner.d.ts +24 -22
- package/dist/components/TextIconAligner.js +53 -60
- package/dist/components/TextInput.cjs +66 -49
- package/dist/components/TextInput.d.cts +34 -28
- package/dist/components/TextInput.d.ts +34 -28
- package/dist/components/TextInput.js +67 -50
- package/dist/components/Toasts.cjs +55 -63
- package/dist/components/Toasts.d.cts +26 -22
- package/dist/components/Toasts.d.ts +26 -22
- package/dist/components/Toasts.js +54 -62
- package/dist/components/Toggle.cjs +10 -10
- package/dist/components/Toggle.d.cts +1 -1
- package/dist/components/Toggle.d.ts +1 -1
- package/dist/components/Toggle.js +9 -9
- package/dist/components/Tooltip.cjs +9 -9
- package/dist/components/Tooltip.js +8 -8
- package/dist/components/UnstyledButton.cjs +9 -9
- package/dist/components/UnstyledButton.d.cts +1 -1
- package/dist/components/UnstyledButton.d.ts +1 -1
- package/dist/components/UnstyledButton.js +8 -8
- package/dist/components/documentation/AnchorLinkHeader.cjs +56 -50
- package/dist/components/documentation/AnchorLinkHeader.d.cts +19 -15
- package/dist/components/documentation/AnchorLinkHeader.d.ts +19 -15
- package/dist/components/documentation/AnchorLinkHeader.js +55 -49
- package/dist/components/documentation/DocsBodyParagraph.cjs +56 -50
- package/dist/components/documentation/DocsBodyParagraph.d.cts +17 -13
- package/dist/components/documentation/DocsBodyParagraph.d.ts +17 -13
- package/dist/components/documentation/DocsBodyParagraph.js +53 -47
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +56 -50
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +17 -13
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +17 -13
- package/dist/components/documentation/DocsBodyStrongParagraph.js +53 -47
- package/dist/components/documentation/DocsHeadline.cjs +55 -49
- package/dist/components/documentation/DocsHeadline.d.cts +18 -14
- package/dist/components/documentation/DocsHeadline.d.ts +18 -14
- package/dist/components/documentation/DocsHeadline.js +54 -48
- package/dist/components/documentation/Video.cjs +10 -10
- package/dist/components/documentation/Video.js +7 -7
- package/dist/components/documentation/index.cjs +56 -50
- package/dist/components/documentation/index.d.cts +19 -15
- package/dist/components/documentation/index.d.ts +19 -15
- package/dist/components/documentation/index.js +55 -49
- package/dist/components/index.cjs +200 -109
- package/dist/components/index.d.cts +40 -19
- package/dist/components/index.d.ts +40 -19
- package/dist/components/index.js +231 -140
- package/dist/components/types.cjs +1 -0
- package/dist/components/types.d.cts +1 -0
- package/dist/components/types.d.ts +1 -0
- package/dist/components/types.js +0 -0
- package/dist/components/typography/Article.cjs +62 -56
- package/dist/components/typography/Article.d.cts +1 -1
- package/dist/components/typography/Article.d.ts +1 -1
- package/dist/components/typography/Article.js +61 -55
- package/dist/components/typography/Body.cjs +54 -48
- package/dist/components/typography/Body.d.cts +19 -14
- package/dist/components/typography/Body.d.ts +19 -14
- package/dist/components/typography/Body.js +53 -47
- package/dist/components/typography/BodyStrong.cjs +54 -48
- package/dist/components/typography/BodyStrong.d.cts +19 -14
- package/dist/components/typography/BodyStrong.d.ts +19 -14
- package/dist/components/typography/BodyStrong.js +53 -47
- package/dist/components/typography/Code.cjs +54 -48
- package/dist/components/typography/Code.d.cts +22 -26
- package/dist/components/typography/Code.d.ts +22 -26
- package/dist/components/typography/Code.js +53 -47
- package/dist/components/typography/Display.cjs +54 -48
- package/dist/components/typography/Display.d.cts +21 -25
- package/dist/components/typography/Display.d.ts +21 -25
- package/dist/components/typography/Display.js +53 -47
- package/dist/components/typography/Headline.cjs +54 -48
- package/dist/components/typography/Headline.d.cts +22 -32
- package/dist/components/typography/Headline.d.ts +22 -32
- package/dist/components/typography/Headline.js +53 -47
- package/dist/components/typography/Label.cjs +54 -48
- package/dist/components/typography/Label.d.cts +19 -14
- package/dist/components/typography/Label.d.ts +19 -14
- package/dist/components/typography/Label.js +53 -47
- package/dist/components/typography/LabelModerate.cjs +54 -48
- package/dist/components/typography/LabelModerate.d.cts +22 -26
- package/dist/components/typography/LabelModerate.d.ts +22 -26
- package/dist/components/typography/LabelModerate.js +53 -47
- package/dist/components/typography/LabelStrong.cjs +54 -48
- package/dist/components/typography/LabelStrong.d.cts +22 -26
- package/dist/components/typography/LabelStrong.d.ts +22 -26
- package/dist/components/typography/LabelStrong.js +53 -47
- package/dist/components/typography/Overline.cjs +54 -48
- package/dist/components/typography/Overline.d.cts +22 -26
- package/dist/components/typography/Overline.d.ts +22 -26
- package/dist/components/typography/Overline.js +53 -47
- package/dist/components/typography/Title.cjs +54 -48
- package/dist/components/typography/Title.d.cts +22 -26
- package/dist/components/typography/Title.d.ts +22 -26
- package/dist/components/typography/Title.js +53 -47
- package/dist/components/typography/index.cjs +67 -61
- package/dist/components/typography/index.d.cts +17 -19
- package/dist/components/typography/index.d.ts +17 -19
- package/dist/components/typography/index.js +78 -72
- package/dist/components/typography/renderTypography.cjs +3 -146
- package/dist/components/typography/renderTypography.d.cts +27 -50
- package/dist/components/typography/renderTypography.d.ts +27 -50
- package/dist/components/typography/renderTypography.js +4 -147
- package/dist/components/typography/types.d.cts +21 -36
- package/dist/components/typography/types.d.ts +21 -36
- package/dist/components/typography/typographyMap.cjs +186 -0
- package/dist/components/typography/typographyMap.d.cts +132 -0
- package/dist/components/typography/typographyMap.d.ts +132 -0
- package/dist/components/typography/typographyMap.js +186 -0
- package/dist/components/typography/typographyStyles.cjs +3 -3
- package/dist/components/typography/typographyStyles.d.cts +20 -14
- package/dist/components/typography/typographyStyles.d.ts +20 -14
- package/dist/components/typography/typographyStyles.js +2 -2
- package/dist/hooks/useClipboard.cjs +7 -0
- package/dist/hooks/useClipboard.d.cts +14 -0
- package/dist/hooks/useClipboard.d.ts +14 -0
- package/dist/hooks/useClipboard.js +7 -0
- package/dist/hooks/useDebounce.cjs +1 -1
- package/dist/hooks/useDebounce.js +1 -1
- package/dist/hooks/useDocumentTitle.cjs +1 -1
- package/dist/hooks/useDocumentTitle.js +1 -1
- package/dist/hooks/useFields.cjs +247 -0
- package/dist/hooks/useFields.d.cts +25 -0
- package/dist/hooks/useFields.d.ts +25 -0
- package/dist/hooks/useFields.js +247 -0
- package/dist/hooks/useIsomorphicLayoutEffect.cjs +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/dist/hooks/useLiveRef.cjs +1 -1
- package/dist/hooks/useLiveRef.js +1 -1
- package/dist/hooks/useMaxScaleIOS.cjs +28 -0
- package/dist/hooks/useMaxScaleIOS.d.cts +3 -0
- package/dist/hooks/useMaxScaleIOS.d.ts +3 -0
- package/dist/hooks/useMaxScaleIOS.js +28 -0
- package/dist/hooks/useQueryParams.cjs +17 -0
- package/dist/hooks/useQueryParams.d.cts +4 -0
- package/dist/hooks/useQueryParams.d.ts +4 -0
- package/dist/hooks/useQueryParams.js +17 -0
- package/dist/hooks/useResizeObserver.cjs +1 -1
- package/dist/hooks/useResizeObserver.js +1 -1
- package/dist/hooks/useWhatChanged.cjs +1 -1
- package/dist/hooks/useWhatChanged.js +1 -1
- package/dist/icons/AI.cjs +1 -1
- package/dist/icons/AI.js +1 -1
- package/dist/icons/AnchorLink.cjs +1 -1
- package/dist/icons/AnchorLink.js +1 -1
- package/dist/icons/ApiConnection.cjs +1 -1
- package/dist/icons/ApiConnection.js +1 -1
- package/dist/icons/AppIcon.cjs +1 -1
- package/dist/icons/AppIcon.js +1 -1
- package/dist/icons/ArrowCircle.cjs +1 -1
- package/dist/icons/ArrowCircle.js +1 -1
- package/dist/icons/ArrowCircleTier1.cjs +1 -1
- package/dist/icons/ArrowCircleTier1.js +1 -1
- package/dist/icons/ArrowCircleTier2.cjs +1 -1
- package/dist/icons/ArrowCircleTier2.js +1 -1
- package/dist/icons/ArrowCircleTier3.cjs +1 -1
- package/dist/icons/ArrowCircleTier3.js +1 -1
- package/dist/icons/ArrowCornerDownRight.cjs +1 -1
- package/dist/icons/ArrowCornerDownRight.js +1 -1
- package/dist/icons/ArrowDown.cjs +1 -1
- package/dist/icons/ArrowDown.js +1 -1
- package/dist/icons/ArrowLeft.cjs +7 -0
- package/dist/icons/ArrowLeft.d.cts +5 -0
- package/dist/icons/ArrowLeft.d.ts +5 -0
- package/dist/icons/ArrowLeft.js +7 -0
- package/dist/icons/ArrowRight.cjs +7 -0
- package/dist/icons/ArrowRight.d.cts +5 -0
- package/dist/icons/ArrowRight.d.ts +5 -0
- package/dist/icons/ArrowRight.js +7 -0
- package/dist/icons/ArrowUp.cjs +1 -1
- package/dist/icons/ArrowUp.js +1 -1
- package/dist/icons/ArrowUpRight.cjs +7 -0
- package/dist/icons/ArrowUpRight.d.cts +5 -0
- package/dist/icons/ArrowUpRight.d.ts +5 -0
- package/dist/icons/ArrowUpRight.js +7 -0
- package/dist/icons/ArrowUpRightCircleFill.cjs +3 -3
- package/dist/icons/ArrowUpRightCircleFill.js +2 -2
- package/dist/icons/ArrowsDown.cjs +7 -0
- package/dist/icons/ArrowsDown.d.cts +5 -0
- package/dist/icons/ArrowsDown.d.ts +5 -0
- package/dist/icons/ArrowsDown.js +7 -0
- package/dist/icons/ArrowsHorizontal.cjs +7 -0
- package/dist/icons/ArrowsHorizontal.d.cts +5 -0
- package/dist/icons/ArrowsHorizontal.d.ts +5 -0
- package/dist/icons/ArrowsHorizontal.js +7 -0
- package/dist/icons/ArrowsUp.cjs +7 -0
- package/dist/icons/ArrowsUp.d.cts +5 -0
- package/dist/icons/ArrowsUp.d.ts +5 -0
- package/dist/icons/ArrowsUp.js +7 -0
- package/dist/icons/Bank.cjs +1 -1
- package/dist/icons/Bank.js +1 -1
- package/dist/icons/BitcoinB.cjs +1 -1
- package/dist/icons/BitcoinB.js +1 -1
- package/dist/icons/BitcoinBOnRoundedSquare.cjs +1 -1
- package/dist/icons/BitcoinBOnRoundedSquare.js +1 -1
- package/dist/icons/CameraCapture.cjs +1 -1
- package/dist/icons/CameraCapture.js +1 -1
- package/dist/icons/CaretRight.cjs +1 -1
- package/dist/icons/CaretRight.js +1 -1
- package/dist/icons/CentralArrowShareRight.cjs +1 -1
- package/dist/icons/CentralArrowShareRight.js +1 -1
- package/dist/icons/Checkmark.cjs +1 -1
- package/dist/icons/Checkmark.js +1 -1
- package/dist/icons/CheckmarkCircle.cjs +7 -0
- package/dist/icons/CheckmarkCircle.d.cts +5 -0
- package/dist/icons/CheckmarkCircle.d.ts +5 -0
- package/dist/icons/CheckmarkCircle.js +7 -0
- package/dist/icons/CheckmarkCircleTier1.cjs +1 -1
- package/dist/icons/CheckmarkCircleTier1.js +1 -1
- package/dist/icons/CheckmarkCircleTier2.cjs +1 -1
- package/dist/icons/CheckmarkCircleTier2.js +1 -1
- package/dist/icons/CheckmarkCircleTier3.cjs +1 -1
- package/dist/icons/CheckmarkCircleTier3.js +1 -1
- package/dist/icons/Chevron.cjs +1 -1
- package/dist/icons/Chevron.js +1 -1
- package/dist/icons/ChevronLeft.cjs +1 -1
- package/dist/icons/ChevronLeft.js +1 -1
- package/dist/icons/CircleCheck.cjs +1 -1
- package/dist/icons/CircleCheck.js +1 -1
- package/dist/icons/CircleCheckOutline.cjs +1 -1
- package/dist/icons/CircleCheckOutline.js +1 -1
- package/dist/icons/CirclePlus.cjs +1 -1
- package/dist/icons/CirclePlus.js +1 -1
- package/dist/icons/Clock.cjs +1 -1
- package/dist/icons/Clock.js +1 -1
- package/dist/icons/Close.cjs +1 -1
- package/dist/icons/Close.js +1 -1
- package/dist/icons/Code.cjs +1 -1
- package/dist/icons/Code.js +1 -1
- package/dist/icons/Copy.cjs +1 -1
- package/dist/icons/Copy.js +1 -1
- package/dist/icons/CreditCard.cjs +1 -1
- package/dist/icons/CreditCard.js +1 -1
- package/dist/icons/DeleteIcon.cjs +1 -1
- package/dist/icons/DeleteIcon.js +1 -1
- package/dist/icons/Dollar.cjs +1 -1
- package/dist/icons/Dollar.js +1 -1
- package/dist/icons/DollarManrope.cjs +1 -1
- package/dist/icons/DollarManrope.js +1 -1
- package/dist/icons/DollarManropeSmall.cjs +1 -1
- package/dist/icons/DollarManropeSmall.js +1 -1
- package/dist/icons/DotGrid1x3Horizontal.cjs +1 -1
- package/dist/icons/DotGrid1x3Horizontal.js +1 -1
- package/dist/icons/Download.cjs +1 -1
- package/dist/icons/Download.js +1 -1
- package/dist/icons/Envelope.cjs +1 -1
- package/dist/icons/Envelope.js +1 -1
- package/dist/icons/ExclamationPoint.cjs +1 -1
- package/dist/icons/ExclamationPoint.js +1 -1
- package/dist/icons/Explorer.cjs +1 -1
- package/dist/icons/Explorer.js +1 -1
- package/dist/icons/Eye.cjs +1 -1
- package/dist/icons/Eye.js +1 -1
- package/dist/icons/EyeDropper.cjs +1 -1
- package/dist/icons/EyeDropper.js +1 -1
- package/dist/icons/Figma.cjs +1 -1
- package/dist/icons/Figma.js +1 -1
- package/dist/icons/FlutterTwoTone.cjs +1 -1
- package/dist/icons/FlutterTwoTone.js +1 -1
- package/dist/icons/FramedLetterI.cjs +1 -1
- package/dist/icons/FramedLetterI.js +1 -1
- package/dist/icons/Gear.cjs +1 -1
- package/dist/icons/Gear.js +1 -1
- package/dist/icons/Github.cjs +1 -1
- package/dist/icons/Github.js +1 -1
- package/dist/icons/GoTwoTone.cjs +1 -1
- package/dist/icons/GoTwoTone.js +1 -1
- package/dist/icons/GraphQLTwoTone.cjs +1 -1
- package/dist/icons/GraphQLTwoTone.js +1 -1
- package/dist/icons/HeartOutline.cjs +1 -1
- package/dist/icons/HeartOutline.js +1 -1
- package/dist/icons/Home.cjs +1 -1
- package/dist/icons/Home.js +1 -1
- package/dist/icons/Info.cjs +1 -1
- package/dist/icons/Info.js +1 -1
- package/dist/icons/JavaScriptTwoTone.cjs +1 -1
- package/dist/icons/JavaScriptTwoTone.js +1 -1
- package/dist/icons/JavaTwoTone.cjs +1 -1
- package/dist/icons/JavaTwoTone.js +1 -1
- package/dist/icons/KotlinTwoTone.cjs +1 -1
- package/dist/icons/KotlinTwoTone.js +1 -1
- package/dist/icons/LightningOnRoundedSquare.cjs +1 -1
- package/dist/icons/LightningOnRoundedSquare.js +1 -1
- package/dist/icons/LinkIcon.cjs +1 -1
- package/dist/icons/LinkIcon.js +1 -1
- package/dist/icons/LoadingCircleLines.cjs +1 -1
- package/dist/icons/LoadingCircleLines.js +1 -1
- package/dist/icons/LoadingSpinner.cjs +1 -1
- package/dist/icons/LoadingSpinner.js +1 -1
- package/dist/icons/Lock.cjs +1 -1
- package/dist/icons/Lock.js +1 -1
- package/dist/icons/Logo.cjs +3 -3
- package/dist/icons/Logo.js +2 -2
- package/dist/icons/LogoBolt.cjs +1 -1
- package/dist/icons/LogoBolt.js +1 -1
- package/dist/icons/LogoOnCircle.cjs +1 -1
- package/dist/icons/LogoOnCircle.js +1 -1
- package/dist/icons/MagicWand.cjs +1 -1
- package/dist/icons/MagicWand.js +1 -1
- package/dist/icons/Minus.cjs +1 -1
- package/dist/icons/Minus.js +1 -1
- package/dist/icons/Monitor.cjs +1 -1
- package/dist/icons/Monitor.js +1 -1
- package/dist/icons/NodeAdd.cjs +1 -1
- package/dist/icons/NodeAdd.js +1 -1
- package/dist/icons/NonagonCheckmark.cjs +1 -1
- package/dist/icons/NonagonCheckmark.js +1 -1
- package/dist/icons/NotEye.cjs +1 -1
- package/dist/icons/NotEye.js +1 -1
- package/dist/icons/Notebook.cjs +7 -0
- package/dist/icons/Notebook.d.cts +5 -0
- package/dist/icons/Notebook.d.ts +5 -0
- package/dist/icons/Notebook.js +7 -0
- package/dist/icons/PaperPlane.cjs +1 -1
- package/dist/icons/PaperPlane.js +1 -1
- package/dist/icons/Pencil.cjs +1 -1
- package/dist/icons/Pencil.js +1 -1
- package/dist/icons/Person.cjs +1 -1
- package/dist/icons/Person.js +1 -1
- package/dist/icons/PersonCircle.cjs +1 -1
- package/dist/icons/PersonCircle.js +1 -1
- package/dist/icons/PiggyBank.cjs +1 -1
- package/dist/icons/PiggyBank.js +1 -1
- package/dist/icons/Plus.cjs +1 -1
- package/dist/icons/Plus.js +1 -1
- package/dist/icons/PythonTwoTone.cjs +1 -1
- package/dist/icons/PythonTwoTone.js +1 -1
- package/dist/icons/QRCodeIcon.cjs +1 -1
- package/dist/icons/QRCodeIcon.js +1 -1
- package/dist/icons/QuestionCircle.cjs +1 -1
- package/dist/icons/QuestionCircle.js +1 -1
- package/dist/icons/QuestionCircleStrong.cjs +1 -1
- package/dist/icons/QuestionCircleStrong.js +1 -1
- package/dist/icons/ReactTwoTone.cjs +1 -1
- package/dist/icons/ReactTwoTone.js +1 -1
- package/dist/icons/ReceiptBill.cjs +7 -0
- package/dist/icons/ReceiptBill.d.cts +5 -0
- package/dist/icons/ReceiptBill.d.ts +5 -0
- package/dist/icons/ReceiptBill.js +7 -0
- package/dist/icons/Recycling.cjs +1 -1
- package/dist/icons/Recycling.js +1 -1
- package/dist/icons/Remove.cjs +1 -1
- package/dist/icons/Remove.js +1 -1
- package/dist/icons/Restart.cjs +1 -1
- package/dist/icons/Restart.js +1 -1
- package/dist/icons/Roadmap.cjs +1 -1
- package/dist/icons/Roadmap.js +1 -1
- package/dist/icons/RustTwoTone.cjs +1 -1
- package/dist/icons/RustTwoTone.js +1 -1
- package/dist/icons/Satoshi.cjs +1 -1
- package/dist/icons/Satoshi.js +1 -1
- package/dist/icons/SatoshiRounded.cjs +1 -1
- package/dist/icons/SatoshiRounded.js +1 -1
- package/dist/icons/Search.cjs +1 -1
- package/dist/icons/Search.js +1 -1
- package/dist/icons/SecurityKey.cjs +1 -1
- package/dist/icons/SecurityKey.js +1 -1
- package/dist/icons/Selector.cjs +1 -1
- package/dist/icons/Selector.js +1 -1
- package/dist/icons/SemiCircleOverlap.cjs +1 -1
- package/dist/icons/SemiCircleOverlap.js +1 -1
- package/dist/icons/Share.cjs +1 -1
- package/dist/icons/Share.js +1 -1
- package/dist/icons/ShieldCheck.cjs +1 -1
- package/dist/icons/ShieldCheck.js +1 -1
- package/dist/icons/Sidebar.cjs +1 -1
- package/dist/icons/Sidebar.js +1 -1
- package/dist/icons/Sort.cjs +1 -1
- package/dist/icons/Sort.js +1 -1
- package/dist/icons/StackedLines.cjs +1 -1
- package/dist/icons/StackedLines.js +1 -1
- package/dist/icons/SwiftTwoTone.cjs +1 -1
- package/dist/icons/SwiftTwoTone.js +1 -1
- package/dist/icons/TapSingle.cjs +1 -1
- package/dist/icons/TapSingle.js +1 -1
- package/dist/icons/Team.cjs +1 -1
- package/dist/icons/Team.js +1 -1
- package/dist/icons/Terminal.cjs +1 -1
- package/dist/icons/Terminal.js +1 -1
- package/dist/icons/Trash.cjs +1 -1
- package/dist/icons/Trash.js +1 -1
- package/dist/icons/Uma.cjs +1 -1
- package/dist/icons/Uma.js +1 -1
- package/dist/icons/UmaBridgeLoading.cjs +1 -1
- package/dist/icons/UmaBridgeLoading.js +1 -1
- package/dist/icons/UmaBridgeLoadingTransparent.cjs +1 -1
- package/dist/icons/UmaBridgeLoadingTransparent.js +1 -1
- package/dist/icons/Upload.cjs +1 -1
- package/dist/icons/Upload.js +1 -1
- package/dist/icons/WalletSDKIcon.cjs +1 -1
- package/dist/icons/WalletSDKIcon.js +1 -1
- package/dist/icons/WarningSign.cjs +1 -1
- package/dist/icons/WarningSign.js +1 -1
- package/dist/icons/constants.cjs +1 -1
- package/dist/icons/constants.js +1 -1
- package/dist/icons/index.cjs +63 -51
- package/dist/icons/index.d.cts +9 -6
- package/dist/icons/index.d.ts +9 -6
- package/dist/icons/index.js +92 -80
- package/dist/{index-76d74633.d.ts → index-DCxwC_P-.d.cts} +19 -128
- package/dist/{index-1c620377.d.ts → index-K07-bA0i.d.ts} +19 -128
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/router-Bz3Q1Loj.d.cts +226 -0
- package/dist/router-DcvQVNci.d.ts +226 -0
- package/dist/router.cjs +5 -4
- package/dist/router.d.cts +132 -47
- package/dist/router.d.ts +132 -47
- package/dist/router.js +4 -3
- package/dist/styles/breakpoints.cjs +1 -1
- package/dist/styles/breakpoints.js +1 -1
- package/dist/styles/colors.cjs +3 -3
- package/dist/styles/colors.d.cts +36 -28
- package/dist/styles/colors.d.ts +36 -28
- package/dist/styles/colors.js +2 -2
- package/dist/styles/common.cjs +8 -8
- package/dist/styles/common.d.cts +122 -2
- package/dist/styles/common.d.ts +122 -2
- package/dist/styles/common.js +7 -7
- package/dist/styles/constants.cjs +1 -1
- package/dist/styles/constants.js +1 -1
- package/dist/styles/fields.cjs +10 -10
- package/dist/styles/fields.d.cts +131 -9
- package/dist/styles/fields.d.ts +131 -9
- package/dist/styles/fields.js +9 -9
- package/dist/styles/global.cjs +9 -9
- package/dist/styles/global.d.cts +120 -1
- package/dist/styles/global.d.ts +120 -1
- package/dist/styles/global.js +8 -8
- package/dist/styles/themeDefaults/buttons.cjs +3 -3
- package/dist/styles/themeDefaults/buttons.d.cts +121 -1
- package/dist/styles/themeDefaults/buttons.d.ts +121 -1
- package/dist/styles/themeDefaults/buttons.js +2 -2
- package/dist/styles/themeDefaults/loading.cjs +3 -3
- package/dist/styles/themeDefaults/loading.d.cts +124 -3
- package/dist/styles/themeDefaults/loading.d.ts +124 -3
- package/dist/styles/themeDefaults/loading.js +2 -2
- package/dist/styles/themes.cjs +9 -7
- package/dist/styles/themes.d.cts +121 -1
- package/dist/styles/themes.d.ts +121 -1
- package/dist/styles/themes.js +8 -6
- package/dist/styles/tokens/spacing.cjs +1 -1
- package/dist/styles/tokens/spacing.js +1 -1
- package/dist/styles/tokens/typography.cjs +9 -3
- package/dist/styles/tokens/typography.d.cts +149 -237
- package/dist/styles/tokens/typography.d.ts +149 -237
- package/dist/styles/tokens/typography.js +10 -4
- package/dist/styles/type.cjs +10 -10
- package/dist/styles/type.d.cts +121 -2
- package/dist/styles/type.d.ts +121 -2
- package/dist/styles/type.js +9 -9
- package/dist/styles/typography.cjs +8 -8
- package/dist/styles/typography.d.cts +122 -9
- package/dist/styles/typography.d.ts +122 -9
- package/dist/styles/typography.js +7 -7
- package/dist/styles/utils.cjs +9 -9
- package/dist/styles/utils.js +8 -8
- package/dist/styles/z-index.cjs +1 -1
- package/dist/styles/z-index.js +1 -1
- package/dist/themes-ewqUKrgr.d.ts +779 -0
- package/dist/themes-yD4K014U.d.cts +779 -0
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/NextLink.cjs +4 -3
- package/dist/utils/NextLink.d.cts +132 -10
- package/dist/utils/NextLink.d.ts +132 -10
- package/dist/utils/NextLink.js +3 -2
- package/dist/utils/countryCodesToNames.cjs +1 -1
- package/dist/utils/countryCodesToNames.d.cts +1 -1
- package/dist/utils/countryCodesToNames.d.ts +1 -1
- package/dist/utils/countryCodesToNames.js +1 -1
- package/dist/utils/emotion.cjs +1 -1
- package/dist/utils/emotion.js +1 -1
- package/dist/utils/isReactNodeWithChildren.cjs +1 -1
- package/dist/utils/isReactNodeWithChildren.js +1 -1
- package/dist/utils/parseURLFragments.cjs +1 -1
- package/dist/utils/parseURLFragments.js +1 -1
- package/dist/utils/strings.cjs +1 -1
- package/dist/utils/strings.d.cts +3 -2
- package/dist/utils/strings.d.ts +3 -2
- package/dist/utils/strings.js +1 -1
- package/dist/utils/toReactNodes/nodes.cjs +23 -0
- package/dist/utils/toReactNodes/nodes.d.cts +132 -0
- package/dist/utils/toReactNodes/nodes.d.ts +132 -0
- package/dist/utils/toReactNodes/nodes.js +23 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.cjs +148 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.d.cts +145 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.d.ts +145 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.js +148 -0
- package/dist/utils/toReactNodes/toReactNodes.cjs +141 -0
- package/dist/utils/toReactNodes/toReactNodes.d.cts +138 -0
- package/dist/utils/toReactNodes/toReactNodes.d.ts +138 -0
- package/dist/utils/toReactNodes/toReactNodes.js +141 -0
- package/dist/utils/toReactNodes/toReactNodesBase.cjs +140 -0
- package/dist/utils/toReactNodes/toReactNodesBase.d.cts +132 -0
- package/dist/utils/toReactNodes/toReactNodesBase.d.ts +132 -0
- package/dist/utils/toReactNodes/toReactNodesBase.js +140 -0
- package/dist/utils/transformGQLName.cjs +1 -1
- package/dist/utils/transformGQLName.js +1 -1
- package/dist/utils/unicode.cjs +1 -1
- package/dist/utils/unicode.js +1 -1
- package/package.json +22 -8
- package/dist/chunk-4IC7HDY4.js +0 -59
- package/dist/chunk-AZRC3MXC.cjs +0 -119
- package/dist/chunk-GCE3EVF6.cjs +0 -105
- package/dist/chunk-IL6J7EBZ.js +0 -17
- package/dist/chunk-JZJQOZEN.js +0 -105
- package/dist/chunk-LIVPDWXD.cjs +0 -27
- package/dist/chunk-MSBDBEM7.cjs +0 -59
- package/dist/chunk-MT2C62ED.cjs +0 -17
- package/dist/chunk-OPV246QW.js +0 -34
- package/dist/chunk-TZN3OW2Q.js +0 -27
- package/dist/chunk-UC6SP4KJ.js +0 -119
- package/dist/icons/CheckmarkCircleGreen.cjs +0 -7
- package/dist/icons/CheckmarkCircleGreen.d.cts +0 -5
- package/dist/icons/CheckmarkCircleGreen.d.ts +0 -5
- package/dist/icons/CheckmarkCircleGreen.js +0 -7
- package/dist/icons/HorizontalArrows.cjs +0 -7
- package/dist/icons/HorizontalArrows.d.cts +0 -5
- package/dist/icons/HorizontalArrows.d.ts +0 -5
- package/dist/icons/HorizontalArrows.js +0 -7
- package/dist/icons/LeftArrow.cjs +0 -7
- package/dist/icons/LeftArrow.d.cts +0 -5
- package/dist/icons/LeftArrow.d.ts +0 -5
- package/dist/icons/LeftArrow.js +0 -7
- package/dist/icons/RightArrow.cjs +0 -7
- package/dist/icons/RightArrow.d.cts +0 -5
- package/dist/icons/RightArrow.d.ts +0 -5
- package/dist/icons/RightArrow.js +0 -7
- package/dist/icons/TwoArrowsDown.cjs +0 -7
- package/dist/icons/TwoArrowsDown.d.cts +0 -5
- package/dist/icons/TwoArrowsDown.d.ts +0 -5
- package/dist/icons/TwoArrowsDown.js +0 -7
- package/dist/icons/TwoArrowsUp.cjs +0 -7
- package/dist/icons/TwoArrowsUp.d.cts +0 -5
- package/dist/icons/TwoArrowsUp.d.ts +0 -5
- package/dist/icons/TwoArrowsUp.js +0 -7
- package/dist/themes-13a0ed7c.d.ts +0 -10794
- package/dist/themes-67ece8cd.d.ts +0 -10794
- /package/dist/{chunk-LOPKRCGI.js → chunk-CWMXXUWU.js} +0 -0
- /package/dist/{chunk-LKKJVJCG.cjs → chunk-YM5JDZDQ.cjs} +0 -0
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-5KSG5D3I.js";
|
|
4
4
|
import {
|
|
5
5
|
TextInput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G3FLE2PL.js";
|
|
7
7
|
import {
|
|
8
8
|
__spreadProps,
|
|
9
9
|
__spreadValues
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CWMXXUWU.js";
|
|
11
11
|
|
|
12
12
|
// src/components/PhoneInput.tsx
|
|
13
13
|
import {
|
|
@@ -19,9 +19,6 @@ import { useCallback, useState } from "react";
|
|
|
19
19
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
20
20
|
var countries = getCountries();
|
|
21
21
|
var defaultOptions = countries.map((countryCode) => {
|
|
22
|
-
if (countryCodesToNames[countryCode] === void 0) {
|
|
23
|
-
console.log("no name", countryCode);
|
|
24
|
-
}
|
|
25
22
|
return {
|
|
26
23
|
value: countryCode,
|
|
27
24
|
label: `${getCountryCallingCode(countryCode)} (${countryCodesToNames[countryCode]})`
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDIMJISMHcjs = require('./chunk-DIMJISMH.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
11
11
|
|
|
12
12
|
// src/components/Tooltip.tsx
|
|
13
13
|
var _css = require('@emotion/css');
|
|
@@ -36,7 +36,7 @@ function Tooltip(props) {
|
|
|
36
36
|
return nodeReady && nodeRef.current ? _reactdom2.default.createPortal(
|
|
37
37
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
38
|
_reacttooltip.Tooltip,
|
|
39
|
-
|
|
39
|
+
_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, props), {
|
|
40
40
|
id: props.id || "",
|
|
41
41
|
content: props.content || "",
|
|
42
42
|
noArrow: true,
|
|
@@ -54,7 +54,7 @@ var styles = ({ theme }) => _css.css`
|
|
|
54
54
|
border-radius: 8px !important;
|
|
55
55
|
padding: 16px !important;
|
|
56
56
|
z-index: ${_chunkZU72XWNEcjs.z.tooltip};
|
|
57
|
-
${
|
|
57
|
+
${_chunkDIMJISMHcjs.overlaySurface.call(void 0, { theme, important: true })};
|
|
58
58
|
|
|
59
59
|
max-width: 260px;
|
|
60
60
|
box-shadow:
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/components/DataManagerTable/filters.ts
|
|
2
|
+
var FilterType = /* @__PURE__ */ ((FilterType2) => {
|
|
3
|
+
FilterType2["DATE"] = "date";
|
|
4
|
+
FilterType2["ENUM"] = "enum";
|
|
5
|
+
FilterType2["STRING"] = "string";
|
|
6
|
+
FilterType2["ID"] = "id";
|
|
7
|
+
FilterType2["NUMBER"] = "number";
|
|
8
|
+
FilterType2["BOOLEAN"] = "boolean";
|
|
9
|
+
return FilterType2;
|
|
10
|
+
})(FilterType || {});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
FilterType
|
|
14
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// src/components/Flex.tsx
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
4
|
+
function Flex({
|
|
5
|
+
center = false,
|
|
6
|
+
justify: justifyProp,
|
|
7
|
+
align: alignProp,
|
|
8
|
+
column = false,
|
|
9
|
+
children,
|
|
10
|
+
onClick,
|
|
11
|
+
as = "div"
|
|
12
|
+
}) {
|
|
13
|
+
const justify = justifyProp ? justifyProp : center ? "center" : "flex-start";
|
|
14
|
+
const align = alignProp ? alignProp : center ? "center" : "flex-start";
|
|
15
|
+
return /* @__PURE__ */ jsx(
|
|
16
|
+
StyledFlex,
|
|
17
|
+
{
|
|
18
|
+
justify,
|
|
19
|
+
align,
|
|
20
|
+
column,
|
|
21
|
+
as,
|
|
22
|
+
onClick,
|
|
23
|
+
cursorProp: onClick ? "pointer" : "unset",
|
|
24
|
+
children
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
var StyledFlex = styled.div`
|
|
29
|
+
display: flex;
|
|
30
|
+
|
|
31
|
+
${({ column }) => column && `flex-direction: column;`}
|
|
32
|
+
${({ justify }) => `justify-content: ${justify};`}
|
|
33
|
+
${({ align }) => `align-items: ${align};`}
|
|
34
|
+
${({ cursorProp }) => `cursor: ${cursorProp};`}
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
Flex
|
|
39
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeInput
|
|
3
|
+
} from "./chunk-JKR3MA6Q.js";
|
|
4
|
+
|
|
5
|
+
// src/components/CardForm/CardFormCodeInput.tsx
|
|
6
|
+
import { css } from "@emotion/react";
|
|
7
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
8
|
+
var inputCSS = css``;
|
|
9
|
+
function CardFormCodeInput({
|
|
10
|
+
onChange,
|
|
11
|
+
onSubmit,
|
|
12
|
+
onBlur
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
CodeInput,
|
|
16
|
+
{
|
|
17
|
+
codeLength: 6,
|
|
18
|
+
onSubmit,
|
|
19
|
+
inputCSS,
|
|
20
|
+
onChange,
|
|
21
|
+
onBlur
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
CardFormCodeInput
|
|
28
|
+
};
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
standardLineHeightEms
|
|
6
|
-
} from "./chunk-APUV4UN4.js";
|
|
3
|
+
} from "./chunk-WZJTXJM5.js";
|
|
7
4
|
import {
|
|
8
5
|
themeOr
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O42E7NAG.js";
|
|
10
7
|
import {
|
|
11
8
|
colors
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MN4NUSPL.js";
|
|
13
10
|
|
|
14
11
|
// src/components/Toggle.tsx
|
|
15
12
|
import styled from "@emotion/styled";
|
|
@@ -82,17 +79,18 @@ var ToggleButton = styled(UnstyledButton)`
|
|
|
82
79
|
right: ${({ isOn }) => isOn ? `${circleOffset}px` : `${width - circleDim - circleOffset}px`};
|
|
83
80
|
}
|
|
84
81
|
`;
|
|
82
|
+
var gap = 12;
|
|
85
83
|
var ToggleContainer = styled.span`
|
|
86
84
|
display: flex;
|
|
87
85
|
margin-bottom: ${({ mb }) => mb}px;
|
|
88
86
|
margin-top: ${({ mt }) => mt}px;
|
|
89
87
|
margin-left: ${({ ml }) => ml}px;
|
|
90
88
|
align-items: center;
|
|
89
|
+
gap: ${gap}px;
|
|
91
90
|
`;
|
|
92
91
|
var ToggleLabel = styled.label`
|
|
93
|
-
|
|
92
|
+
width: calc(100% - ${width + gap}px);
|
|
94
93
|
cursor: pointer;
|
|
95
|
-
height: ${standardLineHeightEms}em;
|
|
96
94
|
`;
|
|
97
95
|
|
|
98
96
|
export {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk4CFGJROVcjs = require('./chunk-4CFGJROV.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
9
|
+
|
|
10
|
+
// src/components/SecretInput.tsx
|
|
11
|
+
var _react = require('react');
|
|
12
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
13
|
+
function SecretInput(_a) {
|
|
14
|
+
var rest = _chunkYM5JDZDQcjs.__objRest.call(void 0, _a, []);
|
|
15
|
+
const [showSecret, setShowSecret] = _react.useState.call(void 0, false);
|
|
16
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17
|
+
_chunk4CFGJROVcjs.TextInput,
|
|
18
|
+
_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, rest), {
|
|
19
|
+
type: showSecret ? void 0 : "password",
|
|
20
|
+
onClickIcon: () => setShowSecret(!showSecret),
|
|
21
|
+
icon: {
|
|
22
|
+
name: showSecret ? "NotEye" : "Eye",
|
|
23
|
+
width: 16
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.SecretInput = SecretInput;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDIMJISMHcjs = require('./chunk-DIMJISMH.cjs');
|
|
4
4
|
|
|
5
5
|
// src/styles/utils.tsx
|
|
6
6
|
var _react = require('@emotion/react');
|
|
7
7
|
function pxToRems(rems, asNum = false) {
|
|
8
|
-
const value = (rems /
|
|
8
|
+
const value = (rems / _chunkDIMJISMHcjs.rootFontSizePx).toFixed(6);
|
|
9
9
|
return asNum ? Number(value) : `${value}rem`;
|
|
10
10
|
}
|
|
11
11
|
function remsToPx(rems, asNum = false) {
|
|
12
|
-
const value = (
|
|
12
|
+
const value = (_chunkDIMJISMHcjs.rootFontSizePx * rems).toFixed(6);
|
|
13
13
|
return asNum ? Number(value) : `${value}px`;
|
|
14
14
|
}
|
|
15
15
|
var extend = (...args) => _react.css.call(void 0, ...args);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Icon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NGSQ2OOV.js";
|
|
4
|
+
import {
|
|
5
|
+
renderTypography
|
|
6
|
+
} from "./chunk-73ETEREG.js";
|
|
4
7
|
|
|
5
8
|
// src/components/CurrencyAmount.tsx
|
|
6
9
|
import styled from "@emotion/styled";
|
|
@@ -18,10 +21,13 @@ function CurrencyAmount({
|
|
|
18
21
|
showUnits = false,
|
|
19
22
|
includeEstimatedIndicator = false,
|
|
20
23
|
fullPrecision = false,
|
|
21
|
-
|
|
24
|
+
id,
|
|
25
|
+
ml = 0,
|
|
26
|
+
typography,
|
|
27
|
+
centsPerBtc
|
|
22
28
|
}) {
|
|
23
29
|
const unit = displayUnit;
|
|
24
|
-
const amountMap = isCurrencyMap(amount) ? amount : mapCurrencyAmount(amount);
|
|
30
|
+
const amountMap = isCurrencyMap(amount) ? amount : mapCurrencyAmount(amount, centsPerBtc);
|
|
25
31
|
const value = amountMap[unit];
|
|
26
32
|
const defaultFormattedNumber = amountMap.formatted[unit];
|
|
27
33
|
let formattedNumber = defaultFormattedNumber;
|
|
@@ -39,10 +45,18 @@ function CurrencyAmount({
|
|
|
39
45
|
if (showUnits) {
|
|
40
46
|
formattedNumber += ` ${shorttext(unit, value)}`;
|
|
41
47
|
}
|
|
42
|
-
|
|
48
|
+
let content = formattedNumber;
|
|
49
|
+
if (typography && typography.type) {
|
|
50
|
+
content = renderTypography(typography.type, {
|
|
51
|
+
size: typography.size,
|
|
52
|
+
color: typography.color,
|
|
53
|
+
content: formattedNumber
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
return /* @__PURE__ */ jsxs(StyledCurrencyAmount, { ml, id, children: [
|
|
43
57
|
includeEstimatedIndicator && "Est. ",
|
|
44
58
|
/* @__PURE__ */ jsx(CurrencyIcon, { unit }),
|
|
45
|
-
|
|
59
|
+
content
|
|
46
60
|
] });
|
|
47
61
|
}
|
|
48
62
|
var CurrencyIcon = ({ unit }) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOVJZVL57cjs = require('./chunk-OVJZVL57.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkGEMBOYJDcjs = require('./chunk-GEMBOYJD.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkSEOJ475Zcjs = require('./chunk-SEOJ475Z.cjs');
|
|
10
10
|
|
|
11
11
|
// src/components/typography/LabelModerate.tsx
|
|
12
12
|
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
@@ -23,7 +23,7 @@ var LabelModerate = ({
|
|
|
23
23
|
}) => {
|
|
24
24
|
let reactNodes = children || null;
|
|
25
25
|
if (content) {
|
|
26
|
-
reactNodes =
|
|
26
|
+
reactNodes = _chunkSEOJ475Zcjs.toReactNodesBase.call(void 0, content);
|
|
27
27
|
}
|
|
28
28
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29
29
|
StyledLabelModerate,
|
|
@@ -39,8 +39,8 @@ var LabelModerate = ({
|
|
|
39
39
|
);
|
|
40
40
|
};
|
|
41
41
|
var StyledLabelModerate = _styled2.default.span`
|
|
42
|
-
${({ theme, size, colorProp }) =>
|
|
43
|
-
${
|
|
42
|
+
${({ theme, size, colorProp }) => _chunkGEMBOYJDcjs.applyTypography.call(void 0, theme, "Label Moderate", size, colorProp)}
|
|
43
|
+
${_chunkOVJZVL57cjs.typographyStyles}
|
|
44
44
|
`;
|
|
45
45
|
|
|
46
46
|
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultTextInputTypography,
|
|
3
|
+
fieldWidth,
|
|
4
|
+
maxFieldWidth,
|
|
5
|
+
textInputBorderColor,
|
|
6
|
+
textInputBorderColorFocused,
|
|
7
|
+
textInputPadding,
|
|
8
|
+
textInputPaddingPx,
|
|
9
|
+
textInputPlaceholderColor
|
|
10
|
+
} from "./chunk-AXHFR6HR.js";
|
|
11
|
+
import {
|
|
12
|
+
z
|
|
13
|
+
} from "./chunk-55OQPFLF.js";
|
|
14
|
+
import {
|
|
15
|
+
Icon
|
|
16
|
+
} from "./chunk-NGSQ2OOV.js";
|
|
17
|
+
import {
|
|
18
|
+
getColor,
|
|
19
|
+
themeOr
|
|
20
|
+
} from "./chunk-O42E7NAG.js";
|
|
21
|
+
import {
|
|
22
|
+
__objRest,
|
|
23
|
+
__spreadProps,
|
|
24
|
+
__spreadValues
|
|
25
|
+
} from "./chunk-CWMXXUWU.js";
|
|
26
|
+
|
|
27
|
+
// src/components/Select.tsx
|
|
28
|
+
import { useTheme } from "@emotion/react";
|
|
29
|
+
import styled from "@emotion/styled";
|
|
30
|
+
import BaseSelect from "react-select";
|
|
31
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
32
|
+
function Select(_a) {
|
|
33
|
+
var _b = _a, {
|
|
34
|
+
zIndex,
|
|
35
|
+
selectRef,
|
|
36
|
+
label,
|
|
37
|
+
openMenuOnFocus = true,
|
|
38
|
+
tabSelectsValue = false,
|
|
39
|
+
getOptionStyles
|
|
40
|
+
} = _b, rest = __objRest(_b, [
|
|
41
|
+
"zIndex",
|
|
42
|
+
"selectRef",
|
|
43
|
+
"label",
|
|
44
|
+
"openMenuOnFocus",
|
|
45
|
+
"tabSelectsValue",
|
|
46
|
+
"getOptionStyles"
|
|
47
|
+
]);
|
|
48
|
+
const theme = useTheme();
|
|
49
|
+
const styles = {
|
|
50
|
+
container: (styles2, state) => {
|
|
51
|
+
return __spreadProps(__spreadValues({}, styles2), {
|
|
52
|
+
width: fieldWidth,
|
|
53
|
+
maxWidth: maxFieldWidth,
|
|
54
|
+
zIndex: z.select
|
|
55
|
+
});
|
|
56
|
+
},
|
|
57
|
+
control: (styles2, state) => {
|
|
58
|
+
return __spreadProps(__spreadValues({}, styles2), {
|
|
59
|
+
transition: "none",
|
|
60
|
+
padding: state.menuIsOpen || state.isFocused ? `${textInputPaddingPx - 1}px` : textInputPadding,
|
|
61
|
+
boxShadow: "none",
|
|
62
|
+
background: theme.bg,
|
|
63
|
+
minHeight: 0,
|
|
64
|
+
fontSize: 14,
|
|
65
|
+
borderWidth: state.menuIsOpen || state.isFocused ? "2px" : "1px",
|
|
66
|
+
"&:hover": {
|
|
67
|
+
borderColor: state.menuIsOpen ? textInputBorderColorFocused({ theme }) : textInputBorderColor({ theme })
|
|
68
|
+
},
|
|
69
|
+
borderColor: state.menuIsOpen || state.isFocused ? textInputBorderColorFocused({ theme }) : textInputBorderColor({ theme })
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
indicatorsContainer: (styles2) => __spreadProps(__spreadValues({}, styles2), {
|
|
73
|
+
padding: "0 8px"
|
|
74
|
+
}),
|
|
75
|
+
indicatorSeparator: (styles2) => ({
|
|
76
|
+
display: "none"
|
|
77
|
+
}),
|
|
78
|
+
menu: (styles2, state) => {
|
|
79
|
+
return __spreadProps(__spreadValues({}, styles2), {
|
|
80
|
+
overflow: "hidden",
|
|
81
|
+
border: `2px solid ${theme.lcNeutral}`,
|
|
82
|
+
backgroundColor: theme.bg,
|
|
83
|
+
boxShadow: "0px 3px 6px 1px rgba(0,0,0,0.05)",
|
|
84
|
+
borderColor: theme.hcNeutral,
|
|
85
|
+
width: "max-content",
|
|
86
|
+
minWidth: "100%"
|
|
87
|
+
});
|
|
88
|
+
},
|
|
89
|
+
option: (styles2, props) => {
|
|
90
|
+
const optionStyles = getOptionStyles ? getOptionStyles(styles2, props) : {};
|
|
91
|
+
return __spreadValues(__spreadProps(__spreadValues({}, styles2), {
|
|
92
|
+
color: props.isFocused ? getColor(theme, defaultTextInputTypography.color) : props.isDisabled ? textInputPlaceholderColor({ theme }) : getColor(theme, defaultTextInputTypography.color),
|
|
93
|
+
fontWeight: 600,
|
|
94
|
+
cursor: "pointer",
|
|
95
|
+
backgroundColor: props.isFocused ? themeOr(theme.c05Neutral, theme.c2Neutral)({ theme }) : theme.bg,
|
|
96
|
+
WebkitTapHighlightColor: theme.c1Neutral,
|
|
97
|
+
"&:active": {
|
|
98
|
+
backgroundColor: themeOr(
|
|
99
|
+
theme.c05Neutral,
|
|
100
|
+
theme.c5Neutral
|
|
101
|
+
)({ theme })
|
|
102
|
+
}
|
|
103
|
+
}), optionStyles);
|
|
104
|
+
},
|
|
105
|
+
menuPortal: (styles2) => __spreadProps(__spreadValues({}, styles2), {
|
|
106
|
+
fontSize: 14,
|
|
107
|
+
zIndex: zIndex || z.selectFocused
|
|
108
|
+
}),
|
|
109
|
+
singleValue: (styles2) => __spreadProps(__spreadValues({}, styles2), {
|
|
110
|
+
color: theme.text,
|
|
111
|
+
fontWeight: 600,
|
|
112
|
+
fontSize: 14
|
|
113
|
+
}),
|
|
114
|
+
placeholder: (styles2) => __spreadProps(__spreadValues({}, styles2), {
|
|
115
|
+
color: theme.mcNeutral
|
|
116
|
+
}),
|
|
117
|
+
valueContainer: (styles2) => __spreadProps(__spreadValues({}, styles2), {
|
|
118
|
+
padding: 0
|
|
119
|
+
}),
|
|
120
|
+
input: (styles2) => __spreadProps(__spreadValues({}, styles2), {
|
|
121
|
+
color: theme.text,
|
|
122
|
+
fontWeight: 600,
|
|
123
|
+
fontSize: 14
|
|
124
|
+
})
|
|
125
|
+
};
|
|
126
|
+
return /* @__PURE__ */ jsxs(StyledSelect, { children: [
|
|
127
|
+
label && /* @__PURE__ */ jsx(SelectLabel, { hasError: false, children: label }),
|
|
128
|
+
/* @__PURE__ */ jsx(
|
|
129
|
+
BaseSelect,
|
|
130
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
131
|
+
styles,
|
|
132
|
+
openMenuOnFocus,
|
|
133
|
+
tabSelectsValue,
|
|
134
|
+
menuPortalTarget: document.body,
|
|
135
|
+
ref: selectRef,
|
|
136
|
+
components: {
|
|
137
|
+
DropdownIndicator: () => /* @__PURE__ */ jsx(Icon, { name: "Chevron", width: 16 })
|
|
138
|
+
// Option: (option) => {
|
|
139
|
+
// return <div>Option</div>;
|
|
140
|
+
// },
|
|
141
|
+
},
|
|
142
|
+
theme: (selectTheme) => __spreadProps(__spreadValues({}, selectTheme), {
|
|
143
|
+
borderRadius: 8,
|
|
144
|
+
colors: {
|
|
145
|
+
danger: theme.danger,
|
|
146
|
+
dangerLight: "#ff8",
|
|
147
|
+
primary: theme.text,
|
|
148
|
+
primary75: "#ccc",
|
|
149
|
+
primary50: "#888",
|
|
150
|
+
primary25: "#444",
|
|
151
|
+
neutral0: "#000",
|
|
152
|
+
neutral5: "#111",
|
|
153
|
+
neutral10: "#222",
|
|
154
|
+
neutral20: "#999",
|
|
155
|
+
neutral30: "#aaa",
|
|
156
|
+
neutral40: "#bbb",
|
|
157
|
+
neutral50: "#bbb",
|
|
158
|
+
neutral60: "#ccc",
|
|
159
|
+
neutral70: "#ccc",
|
|
160
|
+
neutral80: "#ddd",
|
|
161
|
+
neutral90: "#ddd"
|
|
162
|
+
}
|
|
163
|
+
})
|
|
164
|
+
})
|
|
165
|
+
)
|
|
166
|
+
] });
|
|
167
|
+
}
|
|
168
|
+
var SelectLabel = styled.label`
|
|
169
|
+
font-size: 10px;
|
|
170
|
+
position: absolute;
|
|
171
|
+
z-index: ${z.select + 1};
|
|
172
|
+
background-color: ${({ theme }) => theme.bg};
|
|
173
|
+
color: ${({ theme, hasError }) => hasError ? theme.danger : theme.mcNeutral};
|
|
174
|
+
font-weight: 600;
|
|
175
|
+
padding: 0px 6px;
|
|
176
|
+
left: 12px;
|
|
177
|
+
top: -6px;
|
|
178
|
+
`;
|
|
179
|
+
var StyledSelect = styled.div`
|
|
180
|
+
position: relative;
|
|
181
|
+
& + & {
|
|
182
|
+
margin-top: 8px;
|
|
183
|
+
}
|
|
184
|
+
`;
|
|
185
|
+
var Select_default = Select;
|
|
186
|
+
|
|
187
|
+
export {
|
|
188
|
+
Select,
|
|
189
|
+
StyledSelect,
|
|
190
|
+
Select_default
|
|
191
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/styles/themeDefaults/loading.tsx
|
|
7
7
|
var loadingThemeBase = {
|
|
8
8
|
defaultIconName: "LoadingSpinner",
|
|
9
9
|
kinds: {}
|
|
10
10
|
};
|
|
11
|
-
var defaultLoadingTheme =
|
|
11
|
+
var defaultLoadingTheme = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, loadingThemeBase), {
|
|
12
12
|
kinds: {
|
|
13
13
|
primary: {
|
|
14
14
|
defaultIconName: "LoadingSpinner"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// src/components/typography/renderTypography.tsx
|
|
2
|
+
import React, {
|
|
3
|
+
useEffect,
|
|
4
|
+
useRef,
|
|
5
|
+
useState
|
|
6
|
+
} from "react";
|
|
7
|
+
var typographyMapModulePromise = import("./components/typography/typographyMap.js");
|
|
8
|
+
var renderTypography = (typographyType, typographyProps) => {
|
|
9
|
+
return React.createElement(RenderTypographyLoader, {
|
|
10
|
+
typographyType,
|
|
11
|
+
typographyProps
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
function RenderTypographyLoader({
|
|
15
|
+
typographyType,
|
|
16
|
+
typographyProps
|
|
17
|
+
}) {
|
|
18
|
+
const typographyMap = useRef(null);
|
|
19
|
+
const [ready, setReady] = useState(false);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
void typographyMapModulePromise.then((typographyMapModule) => {
|
|
22
|
+
typographyMap.current = typographyMapModule.typographyMap;
|
|
23
|
+
setReady(true);
|
|
24
|
+
});
|
|
25
|
+
}, []);
|
|
26
|
+
if (!ready || !typographyMap.current) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
const TypographyComponent = typographyMap.current[typographyType];
|
|
30
|
+
const { children } = typographyProps;
|
|
31
|
+
return React.createElement(TypographyComponent, typographyProps, children);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export {
|
|
35
|
+
renderTypography
|
|
36
|
+
};
|
|
@@ -15,7 +15,7 @@ function ArrowUpRightCircleFill() {
|
|
|
15
15
|
fillRule: "evenodd",
|
|
16
16
|
clipRule: "evenodd",
|
|
17
17
|
d: "M20 1.25C30.3553 1.25 38.75 9.64468 38.75 20C38.75 30.3553 30.3553 38.75 20 38.75C9.64468 38.75 1.25 30.3553 1.25 20C1.25 9.64468 9.64468 1.25 20 1.25ZM15.4392 12.4122C14.8869 12.4122 14.4392 12.8599 14.4392 13.4122C14.4392 13.9644 14.8869 14.4122 15.4392 14.4122H24.1736L12.7051 25.8807C12.3146 26.2713 12.3146 26.9044 12.7051 27.2949C13.0956 27.6855 13.7288 27.6855 14.1193 27.2949L25.5879 15.8263V24.5608C25.5879 25.1131 26.0356 25.5608 26.5879 25.5608C27.1402 25.5608 27.5879 25.1131 27.5879 24.5608V13.4122C27.5879 12.8599 27.1402 12.4122 26.5879 12.4122H15.4392Z",
|
|
18
|
-
fill: "
|
|
18
|
+
fill: "currentColor"
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-UC6SP4KJ.js";
|
|
4
1
|
import {
|
|
5
2
|
typographyStyles
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X5SBSJ3Z.js";
|
|
7
4
|
import {
|
|
8
5
|
applyTypography
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-R4JQUMCP.js";
|
|
7
|
+
import {
|
|
8
|
+
toReactNodesBase
|
|
9
|
+
} from "./chunk-DILTUDQN.js";
|
|
10
10
|
|
|
11
11
|
// src/components/typography/Label.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -23,7 +23,7 @@ var Label = ({
|
|
|
23
23
|
}) => {
|
|
24
24
|
let reactNodes = children || null;
|
|
25
25
|
if (content) {
|
|
26
|
-
reactNodes =
|
|
26
|
+
reactNodes = toReactNodesBase(content);
|
|
27
27
|
}
|
|
28
28
|
return /* @__PURE__ */ jsx(
|
|
29
29
|
StyledLabel,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
setDefaultReactNodesTypography
|
|
3
|
+
} from "./chunk-VVA3TL2D.js";
|
|
4
|
+
import {
|
|
5
|
+
toReactNodes
|
|
6
|
+
} from "./chunk-XSMF72UT.js";
|
|
4
7
|
|
|
5
8
|
// src/components/Checkbox.tsx
|
|
6
9
|
import styled from "@emotion/styled";
|
|
@@ -17,8 +20,24 @@ function Checkbox({
|
|
|
17
20
|
label,
|
|
18
21
|
mt = 0,
|
|
19
22
|
alignItems = "center",
|
|
20
|
-
disabled = false
|
|
23
|
+
disabled = false,
|
|
24
|
+
typography: typographyProp
|
|
21
25
|
}) {
|
|
26
|
+
const defaultTypography = {
|
|
27
|
+
type: (typographyProp == null ? void 0 : typographyProp.type) || "Body",
|
|
28
|
+
size: (typographyProp == null ? void 0 : typographyProp.size) || "Medium",
|
|
29
|
+
color: (typographyProp == null ? void 0 : typographyProp.color) || "text"
|
|
30
|
+
};
|
|
31
|
+
const defaultTypographyMap = {
|
|
32
|
+
link: defaultTypography,
|
|
33
|
+
text: defaultTypography,
|
|
34
|
+
nextLink: defaultTypography
|
|
35
|
+
};
|
|
36
|
+
const nodesWithTypography = setDefaultReactNodesTypography(
|
|
37
|
+
label,
|
|
38
|
+
defaultTypographyMap
|
|
39
|
+
);
|
|
40
|
+
const content = toReactNodes(nodesWithTypography);
|
|
22
41
|
return /* @__PURE__ */ jsxs(CheckboxContainer, { mt, alignItems, children: [
|
|
23
42
|
/* @__PURE__ */ jsx(
|
|
24
43
|
StyledCheckbox,
|
|
@@ -36,7 +55,7 @@ function Checkbox({
|
|
|
36
55
|
}
|
|
37
56
|
}
|
|
38
57
|
),
|
|
39
|
-
label && /* @__PURE__ */ jsx(CheckboxLabel, { htmlFor: id, children:
|
|
58
|
+
label && /* @__PURE__ */ jsx(CheckboxLabel, { htmlFor: id, children: content })
|
|
40
59
|
] });
|
|
41
60
|
}
|
|
42
61
|
var StyledCheckbox = styled.input`
|
|
@@ -58,7 +77,7 @@ var StyledCheckbox = styled.input`
|
|
|
58
77
|
`;
|
|
59
78
|
var CheckboxContainer = styled.span`
|
|
60
79
|
display: flex;
|
|
61
|
-
|
|
80
|
+
${({ mt }) => mt === 0 ? "" : `margin-top: ${mt}px;`}
|
|
62
81
|
align-items: ${({ alignItems }) => alignItems};
|
|
63
82
|
|
|
64
83
|
& + & {
|
|
@@ -68,7 +87,6 @@ var CheckboxContainer = styled.span`
|
|
|
68
87
|
var CheckboxLabel = styled.label`
|
|
69
88
|
margin-left: 12px;
|
|
70
89
|
cursor: pointer;
|
|
71
|
-
height: ${standardLineHeightEms}em;
|
|
72
90
|
`;
|
|
73
91
|
|
|
74
92
|
export {
|