@lightsparkdev/ui 1.0.8 → 1.0.9
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 +13 -0
- package/dist/{chunk-TRIJJTMX.cjs → chunk-22I3LZGW.cjs} +6 -6
- package/dist/{chunk-PYL3O7AF.cjs → chunk-23NA5VW6.cjs} +6 -6
- package/dist/{chunk-HN6NGIKM.js → chunk-24MZEHRM.js} +17 -4
- package/dist/{chunk-FBU6BGRP.js → chunk-2EEW2LXQ.js} +6 -6
- package/dist/chunk-2HIH3J6K.js +191 -0
- package/dist/{chunk-MK445W3F.js → chunk-2NFJCUHR.js} +11 -11
- package/dist/{chunk-CHXBDWS3.js → chunk-2PK3U5ML.js} +6 -6
- package/dist/chunk-2U7V5APX.cjs +52 -0
- package/dist/chunk-2ZRPJUTY.cjs +36 -0
- package/dist/chunk-35AX6MQ4.cjs +291 -0
- package/dist/{chunk-3TXLQOT4.cjs → chunk-3H2DMMGU.cjs} +7 -7
- package/dist/chunk-3LXRELJE.js +54 -0
- package/dist/chunk-3MFIXO6N.js +653 -0
- package/dist/{chunk-6YSADIN7.js → chunk-3NCG3JGI.js} +5 -5
- package/dist/chunk-3OYKPPML.js +27 -0
- package/dist/{chunk-QFOCB4NF.cjs → chunk-3WCU526N.cjs} +4 -4
- package/dist/{chunk-HTFKWW4S.cjs → chunk-3XWROTDT.cjs} +43 -40
- package/dist/{chunk-2WREDS5B.cjs → chunk-425MNRRK.cjs} +8 -8
- package/dist/{chunk-GB2UBWT4.js → chunk-4MZNGM5R.js} +6 -6
- package/dist/{chunk-O7UTME4V.cjs → chunk-4PWNHIAM.cjs} +2 -2
- package/dist/{chunk-YJJBABLW.cjs → chunk-4SNEOOFX.cjs} +10 -12
- package/dist/chunk-4WKQPWLI.cjs +41 -0
- package/dist/chunk-4WSTOUAH.cjs +27 -0
- package/dist/chunk-54YV767N.js +31 -0
- package/dist/chunk-5GLOHTP6.js +36 -0
- package/dist/{chunk-ISVMIEHD.js → chunk-5NMI3YI4.js} +9 -12
- package/dist/chunk-5NUORYME.cjs +584 -0
- package/dist/chunk-5O2EL5I3.js +14 -0
- package/dist/{chunk-LZ24FX6C.cjs → chunk-5OP23S3Q.cjs} +4 -4
- package/dist/chunk-62UAIR5O.cjs +462 -0
- package/dist/chunk-672ZI5XH.js +102 -0
- package/dist/{chunk-DPSSQNBK.js → chunk-6EXTHISM.js} +105 -90
- package/dist/{chunk-NN23LWC7.cjs → chunk-6H6ME7DK.cjs} +19 -19
- package/dist/{chunk-HJCROZDQ.cjs → chunk-72Q4JQFV.cjs} +5 -5
- package/dist/{chunk-YHDN5LEA.cjs → chunk-73EJLMPT.cjs} +2 -2
- package/dist/{chunk-5OIQOVHS.js → chunk-7JQFZTKA.js} +8 -8
- package/dist/{chunk-BOBYW7PP.cjs → chunk-7QXYBPSJ.cjs} +2 -2
- package/dist/chunk-7Z37LMFQ.js +462 -0
- package/dist/chunk-7ZBJZ4GA.js +23 -0
- package/dist/{chunk-H2OQXO5Z.js → chunk-AAGIFG3R.js} +3 -3
- package/dist/chunk-AB5PAZDV.js +117 -0
- package/dist/chunk-AF7KMKGF.cjs +416 -0
- package/dist/{chunk-6LHW62FG.cjs → chunk-AI4RYQ6R.cjs} +12 -12
- package/dist/{chunk-AXV4CDSK.cjs → chunk-AJP3GW6D.cjs} +10 -10
- package/dist/{chunk-X5RKTU6O.js → chunk-AOBHSOUN.js} +2 -2
- package/dist/chunk-ATBJVIWR.js +28 -0
- package/dist/{chunk-A6NNNY72.js → chunk-B6O4K4K4.js} +1 -1
- package/dist/{chunk-AVEKG63Q.js → chunk-BBVC66S4.js} +6 -6
- package/dist/chunk-BGJWTMDW.cjs +24 -0
- package/dist/chunk-BT3OMKYC.cjs +48 -0
- package/dist/{chunk-LIVPDWXD.cjs → chunk-CG4ZE3JV.cjs} +4 -4
- package/dist/{chunk-VYKXX3SH.cjs → chunk-CJ3GSEW5.cjs} +6 -6
- package/dist/{chunk-SXY5KR2T.js → chunk-CN6AMXLK.js} +1 -1
- package/dist/chunk-CSO64ZMV.cjs +117 -0
- package/dist/{chunk-ZPIJMKJZ.cjs → chunk-CT4WHEVU.cjs} +15 -15
- package/dist/chunk-CTPC457D.js +27 -0
- package/dist/{chunk-5O6LWFY4.cjs → chunk-CXZGUQNC.cjs} +6 -6
- package/dist/{chunk-TMTEVKSD.cjs → chunk-DCQM7IVK.cjs} +37 -1
- package/dist/{chunk-VMYRYEML.cjs → chunk-DDAP7HQS.cjs} +23 -23
- package/dist/chunk-DIUJNGAX.js +129 -0
- package/dist/{chunk-SIWCH44U.js → chunk-DQHT3RBW.js} +1 -1
- package/dist/{chunk-MHOXWPRA.cjs → chunk-DXEXQIH4.cjs} +6 -6
- package/dist/{chunk-SI63PJGM.js → chunk-E32ZLOWY.js} +13 -13
- package/dist/{chunk-ZTIL63SE.js → chunk-E63AOG24.js} +6 -6
- package/dist/{chunk-34MTU3ER.js → chunk-ELHOJIVP.js} +20 -3
- package/dist/{chunk-VW2IB7XD.js → chunk-EQJ45T46.js} +2 -5
- package/dist/chunk-EQMAHIZH.js +48 -0
- package/dist/{chunk-IFT6NJX4.cjs → chunk-EQZOMDAA.cjs} +6 -6
- package/dist/{chunk-E7RKIBJY.js → chunk-EYWGUIVP.js} +1 -1
- package/dist/chunk-EZNRFABO.cjs +77 -0
- package/dist/chunk-F465UN3N.js +165 -0
- package/dist/{chunk-BQG6DASD.cjs → chunk-FDRR55YY.cjs} +6 -6
- package/dist/{chunk-QQLUKKYZ.js → chunk-FQNP43IR.js} +112 -104
- package/dist/chunk-FR73DFNG.cjs +58 -0
- package/dist/chunk-FRXVOBFV.cjs +102 -0
- package/dist/chunk-G4KKDEZ4.cjs +31 -0
- package/dist/chunk-G5IVQ4O3.js +41 -0
- package/dist/{chunk-EEB6DWY3.js → chunk-G6VXXZIN.js} +6 -6
- package/dist/{chunk-DBB5TKTS.cjs → chunk-GFKY6YX2.cjs} +121 -106
- package/dist/{chunk-GWCVYEJG.cjs → chunk-GIZQB46V.cjs} +13 -13
- package/dist/{chunk-NPTHZ6KR.cjs → chunk-GJZCJSPK.cjs} +20 -23
- package/dist/{chunk-5W523NQP.js → chunk-GUGOSES5.js} +2 -2
- package/dist/chunk-GX4JNEGP.js +75 -0
- package/dist/{chunk-W5I53DTZ.js → chunk-GZW6KBUI.js} +18 -7
- package/dist/{chunk-FJZXLAEH.cjs → chunk-H2RYAMMM.cjs} +3 -3
- package/dist/{chunk-VD3UNL3N.js → chunk-H3BNJSXS.js} +6 -6
- package/dist/chunk-HCWYHWS5.js +84 -0
- package/dist/{chunk-3Z7RPOMO.js → chunk-HHTHXSBF.js} +1 -1
- package/dist/{chunk-FRASE266.cjs → chunk-HJL7XPY3.cjs} +12 -12
- package/dist/{chunk-HOR467ZW.js → chunk-HMN5YQ2P.js} +3 -3
- package/dist/chunk-HQO3PIAY.js +86 -0
- package/dist/{chunk-2C4Z2X45.cjs → chunk-I2CMZUNC.cjs} +16 -16
- package/dist/chunk-I2MKZCWY.cjs +653 -0
- package/dist/{chunk-BY47I7ZP.cjs → chunk-I6Y7IHF5.cjs} +14 -12
- package/dist/{chunk-XZKD27Y2.cjs → chunk-IBVONPMC.cjs} +6 -6
- package/dist/{chunk-DNRHVCOE.js → chunk-IGZYEIQS.js} +1 -1
- package/dist/chunk-ILYMHUCA.cjs +14 -0
- package/dist/chunk-INOVOG4X.cjs +77 -0
- package/dist/{chunk-CYWLRXPQ.cjs → chunk-JA26JNLK.cjs} +25 -5
- package/dist/chunk-JEPHI5VC.js +90 -0
- package/dist/{chunk-22TGTMSK.js → chunk-JIPTX3WP.js} +6 -6
- package/dist/{chunk-KKK2ML75.js → chunk-JKENUF42.js} +2 -2
- package/dist/chunk-JT3HYZXJ.cjs +34 -0
- package/dist/{chunk-WTHHP7G2.cjs → chunk-JX6HEEEQ.cjs} +176 -165
- package/dist/{chunk-QQTZ6DZL.js → chunk-K3DMPJSX.js} +8 -6
- package/dist/{chunk-PBD4TY4L.cjs → chunk-KM26ZJYZ.cjs} +7 -7
- package/dist/{chunk-PDDHDR54.cjs → chunk-KTGPS4CT.cjs} +36 -36
- package/dist/chunk-KXVW2OLB.cjs +84 -0
- package/dist/{chunk-MDAPZY4A.js → chunk-KYH4JQVD.js} +41 -36
- package/dist/chunk-LHXL6GOO.cjs +41 -0
- package/dist/{chunk-O4MKC7U2.js → chunk-LIVMIDVJ.js} +1 -1
- package/dist/{chunk-JSOZMOEJ.js → chunk-LJLT2RRW.js} +2 -2
- package/dist/{chunk-UUQZW2LJ.js → chunk-LKVZRZJF.js} +8 -8
- package/dist/{chunk-PFYBJXL5.js → chunk-LTVF3OV7.js} +9 -11
- package/dist/chunk-M355VGZ3.cjs +62 -0
- package/dist/{chunk-VNFSKZW2.cjs → chunk-M72EXGIS.cjs} +23 -5
- package/dist/chunk-MFOXSQYS.js +77 -0
- package/dist/chunk-MOTLS6PJ.cjs +233 -0
- package/dist/{chunk-C5KQZIKL.js → chunk-MQTRGLN5.js} +2 -2
- package/dist/{chunk-TSO4WRU4.js → chunk-MYJEL6LY.js} +2 -2
- package/dist/{chunk-24G7XKW5.cjs → chunk-N4HNDEUN.cjs} +19 -6
- package/dist/chunk-N55NOLCV.cjs +342 -0
- package/dist/chunk-N5UVZQ5K.cjs +27 -0
- package/dist/chunk-NFQP7P3D.js +77 -0
- package/dist/{chunk-ZHCJTMTX.js → chunk-NKLYOJV4.js} +6 -6
- package/dist/chunk-NNYCLSJV.js +49 -0
- package/dist/chunk-NROZVENV.cjs +191 -0
- package/dist/{chunk-KLC2OBTG.cjs → chunk-NVVAOGNL.cjs} +11 -11
- package/dist/chunk-NXSA7WNB.js +41 -0
- package/dist/{chunk-3UXAUDOL.cjs → chunk-O2MMD4LF.cjs} +30 -30
- package/dist/{chunk-7ICNTAPO.js → chunk-O37IA7LS.js} +2 -2
- package/dist/{chunk-MBZSVLKB.js → chunk-O7EVPXE5.js} +7 -7
- package/dist/{chunk-KSKKC6C2.cjs → chunk-O7USIZI6.cjs} +4 -4
- package/dist/chunk-ODJXKX67.cjs +101 -0
- package/dist/chunk-OM4IBALU.cjs +23 -0
- package/dist/{chunk-JWGDZRNN.js → chunk-ONSMYN3L.js} +3 -3
- package/dist/chunk-OS2EYFJG.js +584 -0
- package/dist/{chunk-G5HBO2FI.cjs → chunk-OVJZVL57.cjs} +1 -1
- package/dist/chunk-P7AW5ENT.js +416 -0
- package/dist/{chunk-DGS7USD6.js → chunk-PFBJ4FWY.js} +9 -9
- package/dist/{chunk-EXGU7HIU.cjs → chunk-PPHIMPON.cjs} +2 -2
- package/dist/{chunk-EQ4V4QBD.cjs → chunk-PZKJ4CZW.cjs} +6 -6
- package/dist/chunk-QCES2VRZ.cjs +28 -0
- package/dist/{chunk-E4YBYEWH.js → chunk-QHH6BGRE.js} +1 -1
- package/dist/{chunk-RT4SDUU6.js → chunk-QJPQJXJ2.js} +1 -1
- package/dist/{chunk-TZN3OW2Q.js → chunk-QMHXMAIQ.js} +2 -2
- package/dist/{chunk-4BXMY75P.cjs → chunk-QOFPVSYP.cjs} +6 -6
- package/dist/chunk-QTX2AMWH.cjs +129 -0
- package/dist/chunk-QV2SZAAX.js +58 -0
- package/dist/chunk-QXSIVX4U.js +34 -0
- package/dist/chunk-QYB65ZJC.js +291 -0
- package/dist/{chunk-EJZ3BXS3.js → chunk-R35JXTPE.js} +22 -19
- package/dist/{chunk-4HGJNBTO.cjs → chunk-RDSI3OMQ.cjs} +4 -4
- package/dist/{chunk-TZ4KOSZV.cjs → chunk-RSQWIVP4.cjs} +2 -2
- package/dist/{chunk-REL56P3K.js → chunk-RTRS42I3.js} +3 -3
- package/dist/{chunk-CJBS52GU.js → chunk-S4O5G43Q.js} +16 -16
- package/dist/{chunk-4VKPCWNP.js → chunk-S5YPOGIA.js} +2 -2
- package/dist/{chunk-24SOCRDH.cjs → chunk-SDDC5AVT.cjs} +2 -2
- package/dist/{chunk-XIFM5AMT.cjs → chunk-SDECQB2O.cjs} +6 -6
- package/dist/{chunk-LLVW7HU4.cjs → chunk-SFTKSNEK.cjs} +7 -7
- package/dist/chunk-SGEOJN66.js +101 -0
- package/dist/chunk-SL7GOUXJ.cjs +49 -0
- package/dist/chunk-SNAEIQF4.js +62 -0
- package/dist/chunk-SNGHCC4T.js +342 -0
- package/dist/{chunk-BD3WXMLE.cjs → chunk-ST3UQPZY.cjs} +2 -2
- package/dist/{chunk-EXTVW2LU.js → chunk-SW7ELJLY.js} +8 -8
- package/dist/{chunk-ONE4Q37F.js → chunk-TBZO366T.js} +6 -8
- package/dist/{chunk-JWWKSKXB.cjs → chunk-TWLKMIVO.cjs} +60 -55
- package/dist/chunk-U25DFCYD.js +233 -0
- package/dist/{chunk-GHXNMLAB.js → chunk-U4Y4CF4A.js} +2 -2
- package/dist/{chunk-KMFK2MOB.cjs → chunk-UGGHTD3V.cjs} +11 -11
- package/dist/{chunk-VCHMPHHC.js → chunk-UJ6CKXOV.js} +24 -6
- package/dist/{chunk-RKBBY43D.cjs → chunk-UJKCQS5C.cjs} +7 -7
- package/dist/{chunk-EM7O6Y3M.cjs → chunk-UJLCYOEL.cjs} +5 -5
- package/dist/chunk-UKMVD656.cjs +86 -0
- package/dist/{chunk-ZBBVZQKJ.cjs → chunk-UN4FMYEQ.cjs} +4 -4
- package/dist/{chunk-HSBQGWYB.js → chunk-UQ4RW6PE.js} +7 -7
- package/dist/{chunk-24PXYMSU.js → chunk-VASG2BKI.js} +37 -1
- package/dist/chunk-VC743SV7.cjs +53 -0
- package/dist/{chunk-T7PTO2D2.cjs → chunk-VF6BYQHD.cjs} +16 -16
- package/dist/{chunk-BBPNYL4K.js → chunk-VKVJMZXL.js} +1 -1
- package/dist/{chunk-NNTGGG2C.cjs → chunk-VNWCUVYQ.cjs} +2 -2
- package/dist/{chunk-YZVHWN44.cjs → chunk-VSBIQ3WK.cjs} +10 -12
- package/dist/chunk-VZEYA2KH.cjs +90 -0
- package/dist/{chunk-RZMG2TID.js → chunk-W5NH2F3D.js} +3 -3
- package/dist/{chunk-XTE2IISE.cjs → chunk-WDOCYUQO.cjs} +4 -7
- package/dist/{chunk-MMK4RQ64.cjs → chunk-WHUVGS3J.cjs} +73 -65
- package/dist/chunk-WPUQ5DLK.js +52 -0
- package/dist/{chunk-EGOOSBGG.js → chunk-X5SBSJ3Z.js} +1 -1
- package/dist/{chunk-A5QRVHWP.cjs → chunk-X5V7LCCX.cjs} +32 -32
- package/dist/chunk-X65D3BZG.cjs +165 -0
- package/dist/{chunk-V5DGRLV7.cjs → chunk-XJP6PQIC.cjs} +2 -2
- package/dist/chunk-XNZEPKAL.cjs +54 -0
- package/dist/{chunk-DBMGV4DX.js → chunk-XPMIPSEB.js} +3 -3
- package/dist/chunk-XS2KC4AS.js +24 -0
- package/dist/{chunk-HOKT6NQP.js → chunk-XWSMLTYM.js} +1 -1
- package/dist/{chunk-KACMKEQC.cjs → chunk-YB3AGHD5.cjs} +2 -2
- package/dist/{chunk-QCJWZRIP.cjs → chunk-YDTPEU32.cjs} +21 -4
- package/dist/{chunk-F4RWDLPI.js → chunk-YFKVNM5L.js} +6 -6
- package/dist/chunk-YKG4VEBV.cjs +75 -0
- package/dist/{chunk-FH3E64BU.js → chunk-YOHFXRAS.js} +6 -6
- package/dist/{chunk-TPL3YXOG.js → chunk-YPNJVLQ6.js} +12 -12
- package/dist/{chunk-IJ4XF2NA.cjs → chunk-ZAP2S2HO.cjs} +5 -5
- package/dist/chunk-ZARPNNHA.js +53 -0
- package/dist/{chunk-SEJXEWOJ.cjs → chunk-ZC7NYTXW.cjs} +6 -6
- package/dist/{chunk-QU7VRXE6.js → chunk-ZFXEYU7P.js} +8 -8
- package/dist/{chunk-APUV4UN4.js → chunk-ZMK4RE5I.js} +2 -2
- package/dist/{chunk-4P7RPU32.cjs → chunk-ZO52GP5Z.cjs} +3 -3
- package/dist/{chunk-N5A5ZNNB.js → chunk-ZOGUEOAS.js} +16 -16
- package/dist/chunk-ZQGKRDIF.js +54 -0
- package/dist/components/Badge.cjs +70 -78
- package/dist/components/Badge.d.cts +18 -17
- package/dist/components/Badge.d.ts +18 -17
- package/dist/components/Badge.js +69 -77
- package/dist/components/Banner/Banner.cjs +70 -79
- package/dist/components/Banner/Banner.d.cts +17 -14
- package/dist/components/Banner/Banner.d.ts +17 -14
- package/dist/components/Banner/Banner.js +69 -78
- package/dist/components/Banner/constants.cjs +1 -1
- package/dist/components/Banner/constants.js +1 -1
- package/dist/components/BlockAlert.cjs +174 -0
- package/dist/components/BlockAlert.d.cts +9 -0
- package/dist/components/BlockAlert.d.ts +9 -0
- package/dist/components/BlockAlert.js +174 -0
- package/dist/components/Button.cjs +68 -79
- package/dist/components/Button.d.cts +13 -8
- package/dist/components/Button.d.ts +13 -8
- package/dist/components/Button.js +67 -78
- package/dist/components/ButtonRow.cjs +70 -81
- package/dist/components/ButtonRow.d.cts +17 -12
- package/dist/components/ButtonRow.d.ts +17 -12
- package/dist/components/ButtonRow.js +69 -80
- package/dist/components/CardForm/CardForm.cjs +178 -0
- package/dist/components/CardForm/CardForm.d.cts +196 -0
- package/dist/components/CardForm/CardForm.d.ts +196 -0
- package/dist/components/CardForm/CardForm.js +178 -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 +72 -83
- package/dist/components/CardPage.d.cts +5 -5
- package/dist/components/CardPage.d.ts +5 -5
- package/dist/components/CardPage.js +71 -82
- package/dist/components/Checkbox.cjs +137 -9
- package/dist/components/Checkbox.d.cts +133 -4
- package/dist/components/Checkbox.d.ts +133 -4
- package/dist/components/Checkbox.js +136 -8
- package/dist/components/ClipboardTextField.cjs +137 -0
- package/dist/{utils/toNonTypographicReactNodes.d.cts → components/ClipboardTextField.d.cts} +28 -37
- package/dist/{utils/toNonTypographicReactNodes.d.ts → components/ClipboardTextField.d.ts} +28 -37
- package/dist/{utils/toNonTypographicReactNodes.js → components/ClipboardTextField.js} +66 -73
- package/dist/components/CodeBlock.cjs +66 -64
- package/dist/components/CodeBlock.d.cts +3 -3
- package/dist/components/CodeBlock.d.ts +3 -3
- package/dist/components/CodeBlock.js +65 -63
- 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 +63 -61
- package/dist/components/Collapsible.d.cts +6 -4
- package/dist/components/Collapsible.d.ts +6 -4
- package/dist/components/Collapsible.js +62 -60
- package/dist/components/CommaNumberInput.cjs +77 -67
- package/dist/components/CommaNumberInput.d.cts +12 -7
- package/dist/components/CommaNumberInput.d.ts +12 -7
- package/dist/components/CommaNumberInput.js +76 -66
- package/dist/components/CommandKey.cjs +1 -1
- package/dist/components/CommandKey.js +1 -1
- package/dist/components/ContentTable.cjs +62 -60
- package/dist/components/ContentTable.d.cts +1 -1
- package/dist/components/ContentTable.d.ts +1 -1
- package/dist/components/ContentTable.js +61 -59
- package/dist/components/CopyToClipboardButton.cjs +64 -62
- package/dist/components/CopyToClipboardButton.d.cts +3 -1
- package/dist/components/CopyToClipboardButton.d.ts +3 -1
- package/dist/components/CopyToClipboardButton.js +63 -61
- package/dist/components/CurrencyAmount.cjs +63 -60
- package/dist/components/CurrencyAmount.d.cts +131 -18
- package/dist/components/CurrencyAmount.d.ts +131 -18
- package/dist/components/CurrencyAmount.js +62 -59
- package/dist/components/DataManagerTable/BooleanFilter.cjs +152 -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 +152 -0
- package/dist/components/DataManagerTable/DataManagerTable.cjs +180 -0
- package/dist/components/DataManagerTable/DataManagerTable.d.cts +164 -0
- package/dist/components/DataManagerTable/DataManagerTable.d.ts +164 -0
- package/dist/components/DataManagerTable/DataManagerTable.js +180 -0
- package/dist/components/DataManagerTable/DateFilter.cjs +167 -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 +167 -0
- package/dist/components/DataManagerTable/DateWidget.cjs +147 -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 +147 -0
- package/dist/components/DataManagerTable/EnumFilter.cjs +158 -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 +158 -0
- package/dist/components/DataManagerTable/Filter.cjs +144 -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 +144 -0
- package/dist/components/DataManagerTable/IdFilter.cjs +164 -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 +164 -0
- package/dist/components/DataManagerTable/Popover.cjs +144 -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 +144 -0
- package/dist/components/DataManagerTable/StringFilter.cjs +162 -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 +162 -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 +70 -81
- package/dist/components/Drawer.js +69 -80
- package/dist/components/Dropdown.cjs +65 -62
- package/dist/components/Dropdown.d.cts +18 -13
- package/dist/components/Dropdown.d.ts +18 -13
- package/dist/components/Dropdown.js +64 -61
- package/dist/components/FileInput.cjs +68 -66
- package/dist/components/FileInput.d.cts +1 -1
- package/dist/components/FileInput.d.ts +1 -1
- package/dist/components/FileInput.js +67 -65
- package/dist/components/Flex.cjs +1 -1
- package/dist/components/Flex.js +1 -1
- package/dist/components/GradientCardHeader.cjs +11 -11
- package/dist/components/GradientCardHeader.js +10 -10
- package/dist/components/Icon/Icon.cjs +61 -59
- package/dist/components/Icon/Icon.d.cts +7 -4
- package/dist/components/Icon/Icon.d.ts +7 -4
- package/dist/components/Icon/Icon.js +60 -58
- package/dist/components/Icon/types.d.cts +4 -2
- package/dist/components/Icon/types.d.ts +4 -2
- package/dist/components/IconWithCircleBackground.cjs +62 -60
- package/dist/components/IconWithCircleBackground.d.cts +1 -1
- package/dist/components/IconWithCircleBackground.d.ts +1 -1
- package/dist/components/IconWithCircleBackground.js +61 -59
- package/dist/components/InfoIconTooltip.cjs +70 -79
- package/dist/components/InfoIconTooltip.d.cts +16 -13
- package/dist/components/InfoIconTooltip.d.ts +16 -13
- package/dist/components/InfoIconTooltip.js +69 -78
- 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 +62 -60
- package/dist/components/Loading.d.cts +2 -2
- package/dist/components/Loading.d.ts +2 -2
- package/dist/components/Loading.js +61 -59
- package/dist/components/Modal.cjs +82 -86
- package/dist/components/Modal.d.cts +18 -18
- package/dist/components/Modal.d.ts +18 -18
- package/dist/components/Modal.js +81 -85
- package/dist/components/PageSection/PageSection.cjs +80 -86
- package/dist/components/PageSection/PageSection.d.cts +22 -19
- package/dist/components/PageSection/PageSection.d.ts +22 -19
- package/dist/components/PageSection/PageSection.js +79 -85
- package/dist/components/PageSection/PageSectionNav.cjs +73 -81
- package/dist/components/PageSection/PageSectionNav.d.cts +3 -1
- package/dist/components/PageSection/PageSectionNav.d.ts +3 -1
- package/dist/components/PageSection/PageSectionNav.js +72 -80
- package/dist/components/PageSection/constants.cjs +1 -1
- package/dist/components/PageSection/constants.js +1 -1
- package/dist/components/PendingValue.cjs +146 -0
- package/dist/components/PendingValue.d.cts +155 -0
- package/dist/components/PendingValue.d.ts +155 -0
- package/dist/components/PendingValue.js +146 -0
- package/dist/components/PhoneInput.cjs +77 -67
- package/dist/components/PhoneInput.d.cts +127 -4
- package/dist/components/PhoneInput.d.ts +127 -4
- package/dist/components/PhoneInput.js +76 -66
- package/dist/components/Pill.cjs +65 -63
- package/dist/components/Pill.d.cts +3 -1
- package/dist/components/Pill.d.ts +3 -1
- package/dist/components/Pill.js +64 -62
- 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} +63 -68
- package/dist/components/QRCode.d.cts +37 -0
- package/dist/components/QRCode.d.ts +37 -0
- package/dist/components/QRCode.js +139 -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} +76 -82
- package/dist/components/QRReaderButton.d.cts +13 -0
- package/dist/components/QRReaderButton.d.ts +13 -0
- package/dist/{utils/toReactNodes.js → components/QRReaderButton.js} +77 -83
- package/dist/components/Radio.cjs +71 -66
- package/dist/components/Radio.js +70 -65
- package/dist/components/ReadClipboardButton.cjs +154 -0
- package/dist/components/ReadClipboardButton.d.cts +19 -0
- package/dist/components/ReadClipboardButton.d.ts +19 -0
- package/dist/components/ReadClipboardButton.js +154 -0
- package/dist/components/SatoshiInput.cjs +155 -0
- package/dist/{utils/toReactNodes.d.cts → components/SatoshiInput.d.cts} +22 -36
- package/dist/{utils/toReactNodes.d.ts → components/SatoshiInput.d.ts} +22 -36
- package/dist/components/SatoshiInput.js +155 -0
- package/dist/components/SatoshiInputLabel.cjs +146 -0
- package/dist/components/SatoshiInputLabel.d.cts +10 -0
- package/dist/components/SatoshiInputLabel.d.ts +10 -0
- package/dist/components/SatoshiInputLabel.js +146 -0
- package/dist/components/SecretContainer.cjs +65 -63
- package/dist/components/SecretContainer.js +64 -62
- package/dist/components/SecretInput.cjs +150 -0
- package/dist/components/SecretInput.d.cts +138 -0
- package/dist/components/SecretInput.d.ts +138 -0
- package/dist/components/SecretInput.js +150 -0
- package/dist/components/Select.cjs +141 -0
- package/dist/components/Select.d.cts +20 -0
- package/dist/components/Select.d.ts +20 -0
- package/dist/components/Select.js +141 -0
- package/dist/components/SidePanel.cjs +166 -0
- package/dist/components/SidePanel.d.cts +10 -0
- package/dist/components/SidePanel.d.ts +10 -0
- package/dist/components/SidePanel.js +166 -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 +148 -0
- package/dist/components/Table/Table.d.cts +174 -0
- package/dist/components/Table/Table.d.ts +174 -0
- package/dist/components/Table/Table.js +148 -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 +72 -80
- package/dist/components/TextButton.d.cts +16 -18
- package/dist/components/TextButton.d.ts +16 -18
- package/dist/components/TextButton.js +71 -79
- package/dist/components/TextIconAligner.cjs +70 -78
- package/dist/components/TextIconAligner.d.cts +17 -16
- package/dist/components/TextIconAligner.d.ts +17 -16
- package/dist/components/TextIconAligner.js +69 -77
- package/dist/components/TextInput.cjs +82 -66
- package/dist/components/TextInput.d.cts +27 -22
- package/dist/components/TextInput.d.ts +27 -22
- package/dist/components/TextInput.js +83 -67
- package/dist/components/Toasts.cjs +71 -80
- package/dist/components/Toasts.d.cts +19 -16
- package/dist/components/Toasts.d.ts +19 -16
- package/dist/components/Toasts.js +70 -79
- 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 +72 -67
- package/dist/components/documentation/AnchorLinkHeader.d.cts +12 -9
- package/dist/components/documentation/AnchorLinkHeader.d.ts +12 -9
- package/dist/components/documentation/AnchorLinkHeader.js +71 -66
- package/dist/components/documentation/DocsBodyParagraph.cjs +72 -67
- package/dist/components/documentation/DocsBodyParagraph.d.cts +10 -7
- package/dist/components/documentation/DocsBodyParagraph.d.ts +10 -7
- package/dist/components/documentation/DocsBodyParagraph.js +69 -64
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +72 -67
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +10 -7
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +10 -7
- package/dist/components/documentation/DocsBodyStrongParagraph.js +69 -64
- package/dist/components/documentation/DocsHeadline.cjs +71 -66
- package/dist/components/documentation/DocsHeadline.d.cts +11 -8
- package/dist/components/documentation/DocsHeadline.d.ts +11 -8
- package/dist/components/documentation/DocsHeadline.js +70 -65
- package/dist/components/documentation/Video.cjs +10 -10
- package/dist/components/documentation/Video.js +7 -7
- package/dist/components/documentation/index.cjs +72 -67
- package/dist/components/documentation/index.d.cts +12 -9
- package/dist/components/documentation/index.d.ts +12 -9
- package/dist/components/documentation/index.js +71 -66
- package/dist/components/index.cjs +216 -126
- package/dist/components/index.d.cts +33 -13
- package/dist/components/index.d.ts +33 -13
- package/dist/components/index.js +247 -157
- 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 +78 -73
- package/dist/components/typography/Article.d.cts +1 -1
- package/dist/components/typography/Article.d.ts +1 -1
- package/dist/components/typography/Article.js +77 -72
- package/dist/components/typography/Body.cjs +70 -65
- package/dist/components/typography/Body.d.cts +12 -8
- package/dist/components/typography/Body.d.ts +12 -8
- package/dist/components/typography/Body.js +69 -64
- package/dist/components/typography/BodyStrong.cjs +70 -65
- package/dist/components/typography/BodyStrong.d.cts +12 -8
- package/dist/components/typography/BodyStrong.d.ts +12 -8
- package/dist/components/typography/BodyStrong.js +69 -64
- package/dist/components/typography/Code.cjs +70 -65
- package/dist/components/typography/Code.d.cts +15 -20
- package/dist/components/typography/Code.d.ts +15 -20
- package/dist/components/typography/Code.js +69 -64
- package/dist/components/typography/Display.cjs +70 -65
- package/dist/components/typography/Display.d.cts +14 -19
- package/dist/components/typography/Display.d.ts +14 -19
- package/dist/components/typography/Display.js +69 -64
- package/dist/components/typography/Headline.cjs +70 -65
- package/dist/components/typography/Headline.d.cts +15 -26
- package/dist/components/typography/Headline.d.ts +15 -26
- package/dist/components/typography/Headline.js +69 -64
- package/dist/components/typography/Label.cjs +70 -65
- package/dist/components/typography/Label.d.cts +12 -8
- package/dist/components/typography/Label.d.ts +12 -8
- package/dist/components/typography/Label.js +69 -64
- package/dist/components/typography/LabelModerate.cjs +70 -65
- package/dist/components/typography/LabelModerate.d.cts +15 -20
- package/dist/components/typography/LabelModerate.d.ts +15 -20
- package/dist/components/typography/LabelModerate.js +69 -64
- package/dist/components/typography/LabelStrong.cjs +70 -65
- package/dist/components/typography/LabelStrong.d.cts +15 -20
- package/dist/components/typography/LabelStrong.d.ts +15 -20
- package/dist/components/typography/LabelStrong.js +69 -64
- package/dist/components/typography/Overline.cjs +70 -65
- package/dist/components/typography/Overline.d.cts +15 -20
- package/dist/components/typography/Overline.d.ts +15 -20
- package/dist/components/typography/Overline.js +69 -64
- package/dist/components/typography/Title.cjs +70 -65
- package/dist/components/typography/Title.d.cts +15 -20
- package/dist/components/typography/Title.d.ts +15 -20
- package/dist/components/typography/Title.js +69 -64
- package/dist/components/typography/index.cjs +83 -78
- package/dist/components/typography/index.d.cts +10 -13
- package/dist/components/typography/index.d.ts +10 -13
- package/dist/components/typography/index.js +94 -89
- package/dist/components/typography/renderTypography.cjs +3 -146
- package/dist/components/typography/renderTypography.d.cts +20 -44
- package/dist/components/typography/renderTypography.d.ts +20 -44
- package/dist/components/typography/renderTypography.js +4 -147
- package/dist/components/typography/types.d.cts +14 -30
- package/dist/components/typography/types.d.ts +14 -30
- package/dist/components/typography/typographyMap.cjs +185 -0
- package/dist/components/typography/typographyMap.d.cts +131 -0
- package/dist/components/typography/typographyMap.d.ts +131 -0
- package/dist/components/typography/typographyMap.js +185 -0
- package/dist/components/typography/typographyStyles.cjs +3 -3
- package/dist/components/typography/typographyStyles.d.cts +13 -8
- package/dist/components/typography/typographyStyles.d.ts +13 -8
- 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/ArrowUp.cjs +1 -1
- package/dist/icons/ArrowUp.js +1 -1
- package/dist/icons/ArrowUpRightCircleFill.cjs +1 -1
- package/dist/icons/ArrowUpRightCircleFill.js +1 -1
- 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/CheckmarkCircleGreen.cjs +1 -1
- package/dist/icons/CheckmarkCircleGreen.js +1 -1
- 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/HorizontalArrows.cjs +1 -1
- package/dist/icons/HorizontalArrows.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/LeftArrow.cjs +1 -1
- package/dist/icons/LeftArrow.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/RightArrow.cjs +1 -1
- package/dist/icons/RightArrow.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/TwoArrowsDown.cjs +1 -1
- package/dist/icons/TwoArrowsDown.js +1 -1
- package/dist/icons/TwoArrowsUp.cjs +1 -1
- package/dist/icons/TwoArrowsUp.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 +73 -65
- package/dist/icons/index.d.cts +2 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +113 -105
- package/dist/{index-1c620377.d.ts → index-CWs-zlDk.d.ts} +5 -116
- package/dist/{index-76d74633.d.ts → index-ph3sEiDM.d.cts} +5 -116
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/router-BTHW5nz2.d.ts +223 -0
- package/dist/router-Csv81WaZ.d.cts +223 -0
- package/dist/router.cjs +5 -4
- package/dist/router.d.cts +131 -47
- package/dist/router.d.ts +131 -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 +35 -28
- package/dist/styles/colors.d.ts +35 -28
- package/dist/styles/colors.js +2 -2
- package/dist/styles/common.cjs +8 -8
- package/dist/styles/common.d.cts +121 -2
- package/dist/styles/common.d.ts +121 -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 +130 -9
- package/dist/styles/fields.d.ts +130 -9
- package/dist/styles/fields.js +9 -9
- package/dist/styles/global.cjs +9 -9
- package/dist/styles/global.d.cts +119 -1
- package/dist/styles/global.d.ts +119 -1
- package/dist/styles/global.js +8 -8
- package/dist/styles/themeDefaults/buttons.cjs +3 -3
- package/dist/styles/themeDefaults/buttons.d.cts +120 -1
- package/dist/styles/themeDefaults/buttons.d.ts +120 -1
- package/dist/styles/themeDefaults/buttons.js +2 -2
- package/dist/styles/themeDefaults/loading.cjs +3 -3
- package/dist/styles/themeDefaults/loading.d.cts +123 -3
- package/dist/styles/themeDefaults/loading.d.ts +123 -3
- package/dist/styles/themeDefaults/loading.js +2 -2
- package/dist/styles/themes.cjs +9 -7
- package/dist/styles/themes.d.cts +120 -1
- package/dist/styles/themes.d.ts +120 -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 +120 -2
- package/dist/styles/type.d.ts +120 -2
- package/dist/styles/type.js +9 -9
- package/dist/styles/typography.cjs +8 -8
- package/dist/styles/typography.d.cts +121 -9
- package/dist/styles/typography.d.ts +121 -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 +131 -10
- package/dist/utils/NextLink.d.ts +131 -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 +131 -0
- package/dist/utils/toReactNodes/nodes.d.ts +131 -0
- package/dist/utils/toReactNodes/nodes.js +23 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.cjs +147 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.d.cts +144 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.d.ts +144 -0
- package/dist/utils/toReactNodes/setReactNodesTypography.js +147 -0
- package/dist/utils/toReactNodes/toReactNodes.cjs +140 -0
- package/dist/utils/toReactNodes/toReactNodes.d.cts +137 -0
- package/dist/utils/toReactNodes/toReactNodes.d.ts +137 -0
- package/dist/utils/toReactNodes/toReactNodes.js +140 -0
- package/dist/utils/toReactNodes/toReactNodesBase.cjs +139 -0
- package/dist/utils/toReactNodes/toReactNodesBase.d.cts +131 -0
- package/dist/utils/toReactNodes/toReactNodesBase.d.ts +131 -0
- package/dist/utils/toReactNodes/toReactNodesBase.js +139 -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-JZJQOZEN.js +0 -105
- package/dist/chunk-MSBDBEM7.cjs +0 -59
- package/dist/chunk-OPV246QW.js +0 -34
- package/dist/chunk-UC6SP4KJ.js +0 -119
- 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
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkNROZVENVcjs = require('./chunk-NROZVENV.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkSFTKSNEKcjs = require('./chunk-SFTKSNEK.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkKM26ZJYZcjs = require('./chunk-KM26ZJYZ.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkFRXVOBFVcjs = require('./chunk-FRXVOBFV.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkGFKY6YX2cjs = require('./chunk-GFKY6YX2.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var _chunkVSBIQ3WKcjs = require('./chunk-VSBIQ3WK.cjs');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
var _chunkNVVAOGNLcjs = require('./chunk-NVVAOGNL.cjs');
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
var _chunkAJP3GW6Dcjs = require('./chunk-AJP3GW6D.cjs');
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
var _chunkZO52GP5Zcjs = require('./chunk-ZO52GP5Z.cjs');
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
var _chunk3XWROTDTcjs = require('./chunk-3XWROTDT.cjs');
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
var _chunkST3UQPZYcjs = require('./chunk-ST3UQPZY.cjs');
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
var _chunkM72EXGIScjs = require('./chunk-M72EXGIS.cjs');
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
var _chunkVZEYA2KHcjs = require('./chunk-VZEYA2KH.cjs');
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
var _chunkLHXL6GOOcjs = require('./chunk-LHXL6GOO.cjs');
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
var _chunk4WKQPWLIcjs = require('./chunk-4WKQPWLI.cjs');
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
var _chunk23NA5VW6cjs = require('./chunk-23NA5VW6.cjs');
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
var _chunkKW3JYLRIcjs = require('./chunk-KW3JYLRI.cjs');
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
var _chunkYDTPEU32cjs = require('./chunk-YDTPEU32.cjs');
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
var _chunkO7USIZI6cjs = require('./chunk-O7USIZI6.cjs');
|
|
63
|
+
|
|
64
|
+
// src/components/CardForm/CardForm.tsx
|
|
65
|
+
var _react = require('@emotion/react');
|
|
66
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
67
|
+
var _react3 = require('react');
|
|
68
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
69
|
+
var descriptionTypography = {
|
|
70
|
+
primary: {
|
|
71
|
+
text: {
|
|
72
|
+
type: "Body Strong",
|
|
73
|
+
size: "Small",
|
|
74
|
+
color: "mcNeutral"
|
|
75
|
+
},
|
|
76
|
+
link: {
|
|
77
|
+
type: "Body Strong",
|
|
78
|
+
size: "Small",
|
|
79
|
+
color: "text"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
secondary: {
|
|
83
|
+
text: {
|
|
84
|
+
type: "Body Strong",
|
|
85
|
+
size: "Small",
|
|
86
|
+
color: "mcNeutral"
|
|
87
|
+
},
|
|
88
|
+
link: {
|
|
89
|
+
type: "Body Strong",
|
|
90
|
+
size: "Small",
|
|
91
|
+
color: "text"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
tertiary: {
|
|
95
|
+
text: {
|
|
96
|
+
type: "Body",
|
|
97
|
+
size: "Large",
|
|
98
|
+
color: "mcNeutral"
|
|
99
|
+
},
|
|
100
|
+
link: {
|
|
101
|
+
type: "Body",
|
|
102
|
+
size: "Large",
|
|
103
|
+
color: "text"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
function resolveProps(args) {
|
|
108
|
+
const isPrimary = args.kind === "primary";
|
|
109
|
+
const isSecondary = args.kind === "secondary";
|
|
110
|
+
const isTertiary = args.kind === "tertiary";
|
|
111
|
+
const paddingY = isPrimary || isTertiary ? 56 : 40;
|
|
112
|
+
const paddingX = isSecondary || isTertiary ? 40 : 56;
|
|
113
|
+
const textAlign = args.textAlign || "left";
|
|
114
|
+
const shadow = isPrimary ? "soft" : isTertiary ? "hard" : "none";
|
|
115
|
+
const borderRadius = isSecondary ? 8 : 24;
|
|
116
|
+
const border = isSecondary;
|
|
117
|
+
return {
|
|
118
|
+
paddingY,
|
|
119
|
+
paddingX,
|
|
120
|
+
shadow,
|
|
121
|
+
borderRadius,
|
|
122
|
+
border,
|
|
123
|
+
textAlign
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function CardForm({
|
|
127
|
+
children,
|
|
128
|
+
disabled,
|
|
129
|
+
topContent = null,
|
|
130
|
+
title,
|
|
131
|
+
description,
|
|
132
|
+
onSubmit,
|
|
133
|
+
titleRightIcon,
|
|
134
|
+
/* In some cases eg third party libs we can't avoid the need for child forms, so the
|
|
135
|
+
top level element must be a div. Avoid using this prop generally except when necessary: */
|
|
136
|
+
hasChildForm,
|
|
137
|
+
wide = false,
|
|
138
|
+
kind = "primary",
|
|
139
|
+
textAlign: textAlignProp,
|
|
140
|
+
belowFormContent
|
|
141
|
+
}) {
|
|
142
|
+
const { paddingY, paddingX, shadow, borderRadius, border, textAlign } = resolveProps({ kind, textAlign: textAlignProp });
|
|
143
|
+
const onSubmitForm = _react3.useCallback.call(void 0,
|
|
144
|
+
(e) => {
|
|
145
|
+
e.preventDefault();
|
|
146
|
+
if (disabled) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
if (onSubmit) {
|
|
150
|
+
onSubmit(e);
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
[onSubmit, disabled]
|
|
154
|
+
);
|
|
155
|
+
const formattedDescription = description ? _chunkVZEYA2KHcjs.toReactNodesWithTypographyMap.call(void 0, description, descriptionTypography[kind]) : null;
|
|
156
|
+
const belowFormContentNodes = belowFormContent ? _chunkLHXL6GOOcjs.toReactNodes.call(void 0, belowFormContent) : null;
|
|
157
|
+
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFormContent, { children: [
|
|
158
|
+
topContent,
|
|
159
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeadline, { hasTopContent: Boolean(topContent), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
160
|
+
_chunkSFTKSNEKcjs.Headline,
|
|
161
|
+
{
|
|
162
|
+
content: [
|
|
163
|
+
title,
|
|
164
|
+
...titleRightIcon ? [_chunk4WKQPWLIcjs.icon.call(void 0, { name: titleRightIcon.name, ml: 4 })] : []
|
|
165
|
+
],
|
|
166
|
+
display: "inline-flex"
|
|
167
|
+
}
|
|
168
|
+
) }),
|
|
169
|
+
formattedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardFormSubtitle, { children: formattedDescription }),
|
|
170
|
+
children
|
|
171
|
+
] });
|
|
172
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFormContainer, { children: [
|
|
173
|
+
hasChildForm ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
174
|
+
StyledCardFormDiv,
|
|
175
|
+
{
|
|
176
|
+
wide,
|
|
177
|
+
shadow,
|
|
178
|
+
borderRadius,
|
|
179
|
+
border,
|
|
180
|
+
textAlign,
|
|
181
|
+
paddingY,
|
|
182
|
+
paddingX,
|
|
183
|
+
children: content
|
|
184
|
+
}
|
|
185
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
+
StyledCardForm,
|
|
187
|
+
{
|
|
188
|
+
wide,
|
|
189
|
+
onSubmit: onSubmitForm,
|
|
190
|
+
shadow,
|
|
191
|
+
borderRadius,
|
|
192
|
+
border,
|
|
193
|
+
textAlign,
|
|
194
|
+
paddingY,
|
|
195
|
+
paddingX,
|
|
196
|
+
noValidate: true,
|
|
197
|
+
children: content
|
|
198
|
+
}
|
|
199
|
+
),
|
|
200
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BelowCardFormContent, { children: belowFormContentNodes })
|
|
201
|
+
] });
|
|
202
|
+
}
|
|
203
|
+
var CardFormContainer = _styled2.default.div`
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-direction: column;
|
|
206
|
+
|
|
207
|
+
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
208
|
+
height: 100%;
|
|
209
|
+
`)}
|
|
210
|
+
`;
|
|
211
|
+
var CardFormContent = _styled2.default.div`
|
|
212
|
+
display: flex;
|
|
213
|
+
flex-direction: column;
|
|
214
|
+
align-self: center;
|
|
215
|
+
`;
|
|
216
|
+
var BelowCardFormContent = _styled2.default.div`
|
|
217
|
+
text-align: center;
|
|
218
|
+
margin-top: 32px;
|
|
219
|
+
|
|
220
|
+
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
221
|
+
margin-bottom: 32px;
|
|
222
|
+
`)}
|
|
223
|
+
`;
|
|
224
|
+
var CardFormSubtitle = _styled2.default.div``;
|
|
225
|
+
var CardFormButtonRow = _styled2.default.div`
|
|
226
|
+
display: flex;
|
|
227
|
+
justify-content: ${({ justify }) => (
|
|
228
|
+
/* Default left */
|
|
229
|
+
justify === "center" ? "center" : "left"
|
|
230
|
+
)};
|
|
231
|
+
margin-top: 32px;
|
|
232
|
+
${_chunk3XWROTDTcjs.ButtonSelector.call(void 0, "* + ")} {
|
|
233
|
+
margin-left: 10px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&:not(:last-child) {
|
|
237
|
+
margin-bottom: 32px;
|
|
238
|
+
}
|
|
239
|
+
`;
|
|
240
|
+
var fieldLabelMarginPx = 12;
|
|
241
|
+
var CardFormFieldLabel = _styled2.default.label`
|
|
242
|
+
display: block;
|
|
243
|
+
margin-top: ${_chunkNVVAOGNLcjs.inputSpacingPx}px;
|
|
244
|
+
color: ${({ theme }) => theme.text};
|
|
245
|
+
font-size: ${_chunkZO52GP5Zcjs.pxToRems.call(void 0, 14)};
|
|
246
|
+
font-weight: 700;
|
|
247
|
+
& + * {
|
|
248
|
+
margin-top: ${fieldLabelMarginPx}px;
|
|
249
|
+
}
|
|
250
|
+
`;
|
|
251
|
+
function CardFormDataFieldValue({ text }) {
|
|
252
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledCardFormDataFieldValue, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRXVOBFVcjs.ClipboardTextField, { value: text, icon: true, iconSide: "right" }) });
|
|
253
|
+
}
|
|
254
|
+
var StyledCardFormDataFieldValue = _styled2.default.div`
|
|
255
|
+
margin-top: 4px;
|
|
256
|
+
color: ${({ theme }) => theme.mcNeutral};
|
|
257
|
+
`;
|
|
258
|
+
var CardFormFullWidth = _styled2.default.div``;
|
|
259
|
+
var CardFormFullTopContent = _styled2.default.div`
|
|
260
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
261
|
+
border-radius: 16px 16px 0 0;
|
|
262
|
+
overflow: hidden;
|
|
263
|
+
`)}
|
|
264
|
+
`;
|
|
265
|
+
var StyledCardFormCheckboxParagraph = _styled2.default.div`
|
|
266
|
+
display: flex;
|
|
267
|
+
color: ${({ theme }) => theme.mcNeutral};
|
|
268
|
+
`;
|
|
269
|
+
var formInset = ({ wide, paddingX, paddingY }) => _react.css`
|
|
270
|
+
margin-left: auto;
|
|
271
|
+
margin-right: auto;
|
|
272
|
+
max-width: 100%;
|
|
273
|
+
padding-right: ${paddingX}px;
|
|
274
|
+
padding-left: ${paddingX}px;
|
|
275
|
+
padding-top: ${paddingY}px;
|
|
276
|
+
padding-bottom: ${paddingY}px;
|
|
277
|
+
|
|
278
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
279
|
+
width: ${wide ? 700 : 505}px;
|
|
280
|
+
`)}
|
|
281
|
+
|
|
282
|
+
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
283
|
+
padding: 0;
|
|
284
|
+
`)}
|
|
285
|
+
|
|
286
|
+
${_chunk23NA5VW6cjs.standardContentInset.smCSS}
|
|
287
|
+
|
|
288
|
+
& ${CardFormFullWidth}, & ${CardFormFullTopContent} {
|
|
289
|
+
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
290
|
+
width: calc(100% + ${_chunk23NA5VW6cjs.standardContentInset.smPx * 2}px);
|
|
291
|
+
margin-left: -${_chunk23NA5VW6cjs.standardContentInset.smPx}px;
|
|
292
|
+
`)}
|
|
293
|
+
|
|
294
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
295
|
+
width: calc(100% + ${paddingX * 2}px);
|
|
296
|
+
margin-left: -${paddingX}px;
|
|
297
|
+
`)}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
& ${CardFormFullTopContent} {
|
|
301
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
302
|
+
margin-top: -${paddingY}px;
|
|
303
|
+
`)}
|
|
304
|
+
}
|
|
305
|
+
`;
|
|
306
|
+
var StyledCardFormStyle = ({
|
|
307
|
+
theme,
|
|
308
|
+
wide,
|
|
309
|
+
shadow,
|
|
310
|
+
borderRadius,
|
|
311
|
+
border,
|
|
312
|
+
textAlign,
|
|
313
|
+
paddingX,
|
|
314
|
+
paddingY
|
|
315
|
+
}) => {
|
|
316
|
+
return _react.css`
|
|
317
|
+
${formInset({ wide, paddingX, paddingY })}
|
|
318
|
+
${shadow === "soft" ? _chunk23NA5VW6cjs.standardCardShadow : shadow === "hard" ? _chunk23NA5VW6cjs.standardCardShadowHard : ""}
|
|
319
|
+
|
|
320
|
+
background-color: ${theme.bg};
|
|
321
|
+
position: relative;
|
|
322
|
+
height: 100%;
|
|
323
|
+
${border ? `border: 1px solid ${theme.vlcNeutral};` : ""}
|
|
324
|
+
|
|
325
|
+
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
326
|
+
box-shadow: none;
|
|
327
|
+
`)}
|
|
328
|
+
|
|
329
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
330
|
+
border-radius: ${borderRadius}px;
|
|
331
|
+
`)}
|
|
332
|
+
|
|
333
|
+
${CardHeadline}, ${CardFormSubtitle} {
|
|
334
|
+
text-align: ${textAlign};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
${CardFormSubtitle} + * {
|
|
338
|
+
margin-top: 40px !important;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
${CardFormButtonRow}, ${_chunkAJP3GW6Dcjs.StyledButtonRow} {
|
|
342
|
+
${_chunk3XWROTDTcjs.ButtonSelector.call(void 0, )} {
|
|
343
|
+
margin-top: 0;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
${_chunkNROZVENVcjs.StyledSelect}, ${_chunkVSBIQ3WKcjs.ToggleContainer} {
|
|
348
|
+
margin-top: ${_chunkNVVAOGNLcjs.inputSpacingPx}px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
${CardFormFieldLabel} {
|
|
352
|
+
margin-top: ${_chunkNVVAOGNLcjs.inputSpacingPx}px;
|
|
353
|
+
|
|
354
|
+
& + ${_chunkNROZVENVcjs.StyledSelect} {
|
|
355
|
+
margin-top: ${fieldLabelMarginPx}px;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
${_chunkGFKY6YX2cjs.TextInputHalfRow} > ${_chunkNROZVENVcjs.StyledSelect} {
|
|
360
|
+
margin-top: 0;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
${_chunkST3UQPZYcjs.LoadingWrapper} {
|
|
364
|
+
margin: 32px 0;
|
|
365
|
+
* + * {
|
|
366
|
+
margin-top: 0;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
${_chunk3XWROTDTcjs.ButtonSelector.call(void 0, )} ${_chunkST3UQPZYcjs.LoadingWrapper} {
|
|
371
|
+
margin: 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${_chunkKM26ZJYZcjs.StyledFileInput} {
|
|
375
|
+
margin-top: 16px;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
${CardFormContent} {
|
|
379
|
+
& > ${StyledCardFormCheckboxParagraph} {
|
|
380
|
+
margin-top: 24px;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
& > ${_chunk3XWROTDTcjs.ButtonSelector.call(void 0, )} {
|
|
384
|
+
${_chunkNVVAOGNLcjs.formButtonTopMarginStyle}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
`;
|
|
388
|
+
};
|
|
389
|
+
var StyledCardForm = _styled2.default.form(StyledCardFormStyle);
|
|
390
|
+
var StyledCardFormDiv = _styled2.default.div(StyledCardFormStyle);
|
|
391
|
+
var CardHeadline = _styled2.default.div`
|
|
392
|
+
${({ hasTopContent }) => hasTopContent ? "margin-top: 32px;" : ""}
|
|
393
|
+
|
|
394
|
+
& + *:not(${CardFormSubtitle}) {
|
|
395
|
+
margin-top: 40px;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
& + ${CardFormSubtitle} {
|
|
399
|
+
margin-top: 12px;
|
|
400
|
+
}
|
|
401
|
+
`;
|
|
402
|
+
function CardFormTextWithLink({
|
|
403
|
+
text,
|
|
404
|
+
toText,
|
|
405
|
+
to
|
|
406
|
+
}) {
|
|
407
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: { marginTop: "16px", fontWeight: "600" }, children: [
|
|
408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: _chunk23NA5VW6cjs.mcBold, children: text }),
|
|
409
|
+
" ",
|
|
410
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYDTPEU32cjs.Link, { to, children: toText })
|
|
411
|
+
] });
|
|
412
|
+
}
|
|
413
|
+
function CardFormCheckboxParagraph({
|
|
414
|
+
children,
|
|
415
|
+
onChange,
|
|
416
|
+
checked
|
|
417
|
+
}) {
|
|
418
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledCardFormCheckboxParagraph, { children: [
|
|
419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM72EXGIScjs.Checkbox, { checked, onChange, alignItems: "flex-start" }),
|
|
420
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardFormCheckboxParagraphText, { onClick: () => onChange(!checked), children })
|
|
421
|
+
] });
|
|
422
|
+
}
|
|
423
|
+
var CardFormCheckboxParagraphText = _styled2.default.span`
|
|
424
|
+
margin-left: 12px;
|
|
425
|
+
max-width: 350px;
|
|
426
|
+
cursor: pointer;
|
|
427
|
+
`;
|
|
428
|
+
var CardFormOption = ({
|
|
429
|
+
label,
|
|
430
|
+
description,
|
|
431
|
+
onClick,
|
|
432
|
+
selected = false
|
|
433
|
+
}) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledCardFormOption, { onClick, selected, children: [
|
|
434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardFormOptionLabel, { children: label }),
|
|
435
|
+
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardFormOptionDescription, { children: description }) : null
|
|
436
|
+
] });
|
|
437
|
+
var StyledCardFormOption = _styled2.default.div`
|
|
438
|
+
border: ${({ theme, selected }) => `${selected ? `2px solid ${theme.info}` : `1px solid ${theme.c1Neutral}`}`};
|
|
439
|
+
${_chunk23NA5VW6cjs.standardBorderRadius.call(void 0, 8)}
|
|
440
|
+
cursor: pointer;
|
|
441
|
+
margin-top: 10px;
|
|
442
|
+
padding: ${({ selected }) => selected ? "15px" : "16px"};
|
|
443
|
+
`;
|
|
444
|
+
var CardFormOptionLabel = _styled2.default.div`
|
|
445
|
+
font-weight: bold;
|
|
446
|
+
`;
|
|
447
|
+
var CardFormOptionDescription = _styled2.default.p`
|
|
448
|
+
color: ${_chunkO7USIZI6cjs.colors.gray40};
|
|
449
|
+
margin: 6px 0 0;
|
|
450
|
+
`;
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
exports.CardForm = CardForm; exports.CardFormButtonRow = CardFormButtonRow; exports.CardFormFieldLabel = CardFormFieldLabel; exports.CardFormDataFieldValue = CardFormDataFieldValue; exports.CardFormFullWidth = CardFormFullWidth; exports.CardFormFullTopContent = CardFormFullTopContent; exports.CardFormTextWithLink = CardFormTextWithLink; exports.CardFormCheckboxParagraph = CardFormCheckboxParagraph; exports.CardFormOption = CardFormOption;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useClipboard
|
|
3
|
+
} from "./chunk-NFQP7P3D.js";
|
|
4
|
+
import {
|
|
5
|
+
extend,
|
|
6
|
+
lineClamp
|
|
7
|
+
} from "./chunk-IGZYEIQS.js";
|
|
8
|
+
import {
|
|
9
|
+
Icon
|
|
10
|
+
} from "./chunk-K3DMPJSX.js";
|
|
11
|
+
import {
|
|
12
|
+
renderTypography
|
|
13
|
+
} from "./chunk-5GLOHTP6.js";
|
|
14
|
+
import {
|
|
15
|
+
elide
|
|
16
|
+
} from "./chunk-EDN2QDCB.js";
|
|
17
|
+
|
|
18
|
+
// src/components/ClipboardTextField.tsx
|
|
19
|
+
import styled from "@emotion/styled";
|
|
20
|
+
import { useCallback } from "react";
|
|
21
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
22
|
+
function ClipboardTextField({
|
|
23
|
+
value,
|
|
24
|
+
icon,
|
|
25
|
+
stopPropagation,
|
|
26
|
+
maxLines,
|
|
27
|
+
elide: elideArgs,
|
|
28
|
+
wordBreakAll = false,
|
|
29
|
+
tag = "span",
|
|
30
|
+
iconSide = "left",
|
|
31
|
+
typography,
|
|
32
|
+
clipboardCallbacks
|
|
33
|
+
}) {
|
|
34
|
+
const { canWriteToClipboard, writeTextToClipboard } = useClipboard(clipboardCallbacks);
|
|
35
|
+
const addLineClamp = maxLines && maxLines > 1;
|
|
36
|
+
const displayValue = elideArgs ? elide(value, elideArgs) : value;
|
|
37
|
+
const nodes = renderTypography((typography == null ? void 0 : typography.type) || "Body", {
|
|
38
|
+
content: displayValue,
|
|
39
|
+
size: (typography == null ? void 0 : typography.size) || "ExtraSmall",
|
|
40
|
+
color: (typography == null ? void 0 : typography.color) || "inherit"
|
|
41
|
+
});
|
|
42
|
+
const baseValueCSS = {
|
|
43
|
+
flex: 1,
|
|
44
|
+
overflow: "hidden",
|
|
45
|
+
textAlign: "left",
|
|
46
|
+
textOverflow: "ellipsis",
|
|
47
|
+
wordBreak: wordBreakAll ? "break-all" : "normal",
|
|
48
|
+
verticalAlign: "middle"
|
|
49
|
+
};
|
|
50
|
+
const valueCSS = addLineClamp ? extend(baseValueCSS, lineClamp(maxLines), { alignSelf: "baseline" }) : baseValueCSS;
|
|
51
|
+
const valueNode = /* @__PURE__ */ jsx("span", { css: valueCSS, children: nodes });
|
|
52
|
+
const onClick = useCallback(
|
|
53
|
+
(event) => {
|
|
54
|
+
if (stopPropagation) {
|
|
55
|
+
event.stopPropagation();
|
|
56
|
+
}
|
|
57
|
+
void writeTextToClipboard(value);
|
|
58
|
+
},
|
|
59
|
+
[stopPropagation, value, writeTextToClipboard]
|
|
60
|
+
);
|
|
61
|
+
function onKeyDown(event) {
|
|
62
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
63
|
+
if (stopPropagation) {
|
|
64
|
+
event.stopPropagation();
|
|
65
|
+
}
|
|
66
|
+
void writeTextToClipboard(value);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
const baseContainerCSS = {
|
|
70
|
+
maxWidth: "100%",
|
|
71
|
+
overflow: "hidden",
|
|
72
|
+
textOverflow: "ellipsis",
|
|
73
|
+
alignItems: "center",
|
|
74
|
+
boxSizing: "content-box",
|
|
75
|
+
cursor: "pointer"
|
|
76
|
+
};
|
|
77
|
+
const containerCSS = addLineClamp ? (
|
|
78
|
+
/* keep the icon on the same line when addLineClamp: */
|
|
79
|
+
extend(baseContainerCSS, { display: "inline-flex" })
|
|
80
|
+
) : maxLines === 1 ? extend(baseContainerCSS, { whiteSpace: "nowrap", display: "inline-flex" }) : baseContainerCSS;
|
|
81
|
+
return canWriteToClipboard && value ? /* @__PURE__ */ jsxs(
|
|
82
|
+
StyledClipboardTextField,
|
|
83
|
+
{
|
|
84
|
+
as: tag,
|
|
85
|
+
onClick,
|
|
86
|
+
css: containerCSS,
|
|
87
|
+
role: "button",
|
|
88
|
+
tabIndex: 0,
|
|
89
|
+
onKeyDown,
|
|
90
|
+
children: [
|
|
91
|
+
icon && iconSide === "left" ? /* @__PURE__ */ jsx(Icon, { name: "Copy", width: 16, mr: 4 }) : null,
|
|
92
|
+
valueNode,
|
|
93
|
+
icon && iconSide === "right" ? /* @__PURE__ */ jsx(Icon, { name: "Copy", width: 16, ml: 4 }) : null
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
) : /* @__PURE__ */ jsx(StyledClipboardTextField, { as: tag, css: containerCSS, children: valueNode });
|
|
97
|
+
}
|
|
98
|
+
var StyledClipboardTextField = styled.span``;
|
|
99
|
+
|
|
100
|
+
export {
|
|
101
|
+
ClipboardTextField
|
|
102
|
+
};
|