@lightsparkdev/ui 1.0.7 → 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 +24 -0
- package/dist/chunk-22I3LZGW.cjs +49 -0
- package/dist/{chunk-MNAZ4BDQ.cjs → chunk-23NA5VW6.cjs} +6 -6
- package/dist/{chunk-OEDDEF6C.js → chunk-24MZEHRM.js} +17 -4
- package/dist/{chunk-SCB4M3K3.js → chunk-2EEW2LXQ.js} +27 -10
- package/dist/chunk-2HIH3J6K.js +191 -0
- package/dist/{chunk-MXMS34PK.js → chunk-2NFJCUHR.js} +11 -11
- package/dist/{chunk-J5EHGDRO.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-QZ7U4QKB.cjs → chunk-3H2DMMGU.cjs} +7 -7
- package/dist/chunk-3LXRELJE.js +54 -0
- package/dist/chunk-3MFIXO6N.js +653 -0
- package/dist/{chunk-FNV7LZTE.js → chunk-3NCG3JGI.js} +5 -5
- package/dist/chunk-3OYKPPML.js +27 -0
- package/dist/{chunk-RYNH5AXT.cjs → chunk-3WCU526N.cjs} +4 -4
- package/dist/{chunk-3FA4RQGH.cjs → chunk-3XWROTDT.cjs} +45 -41
- package/dist/{chunk-HVSAHGD7.cjs → chunk-425MNRRK.cjs} +8 -8
- package/dist/chunk-4MZNGM5R.js +49 -0
- package/dist/{chunk-Q4BUF3EO.cjs → chunk-4PWNHIAM.cjs} +2 -2
- package/dist/{chunk-CWGZNP4N.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-CBPPDWW7.js → chunk-5NMI3YI4.js} +9 -12
- package/dist/chunk-5NUORYME.cjs +584 -0
- package/dist/chunk-5O2EL5I3.js +14 -0
- package/dist/{chunk-YHQVDAZW.cjs → chunk-5OP23S3Q.cjs} +4 -4
- package/dist/chunk-62UAIR5O.cjs +462 -0
- package/dist/chunk-672ZI5XH.js +102 -0
- package/dist/{chunk-DWGNUG6W.js → chunk-6EXTHISM.js} +104 -88
- package/dist/{chunk-VYCK3QBC.cjs → chunk-6H6ME7DK.cjs} +19 -19
- package/dist/{chunk-SQ5NGX4J.cjs → chunk-72Q4JQFV.cjs} +5 -5
- package/dist/{chunk-YHDN5LEA.cjs → chunk-73EJLMPT.cjs} +2 -2
- package/dist/{chunk-W42LDOH4.js → chunk-7JQFZTKA.js} +8 -8
- package/dist/{chunk-UEG2PUK7.cjs → chunk-7QXYBPSJ.cjs} +2 -2
- package/dist/chunk-7Z37LMFQ.js +462 -0
- package/dist/chunk-7ZBJZ4GA.js +23 -0
- package/dist/{chunk-5GYVOXMF.js → chunk-AAGIFG3R.js} +3 -3
- package/dist/chunk-AB5PAZDV.js +117 -0
- package/dist/chunk-AF7KMKGF.cjs +416 -0
- package/dist/{chunk-QQ2MHKHV.cjs → chunk-AI4RYQ6R.cjs} +12 -12
- package/dist/{chunk-JMQYZAL2.cjs → chunk-AJP3GW6D.cjs} +10 -10
- package/dist/{chunk-5BNDOQKG.js → chunk-AOBHSOUN.js} +2 -2
- package/dist/chunk-ATBJVIWR.js +28 -0
- package/dist/{chunk-LW4QZL4I.js → chunk-B6O4K4K4.js} +1 -1
- package/dist/chunk-BBVC66S4.js +49 -0
- package/dist/chunk-BGJWTMDW.cjs +24 -0
- package/dist/chunk-BT3OMKYC.cjs +48 -0
- package/dist/{chunk-YD6ZGALS.cjs → chunk-CG4ZE3JV.cjs} +4 -4
- package/dist/chunk-CJ3GSEW5.cjs +49 -0
- package/dist/{chunk-AWTA3QRN.js → chunk-CN6AMXLK.js} +1 -1
- package/dist/chunk-CSO64ZMV.cjs +117 -0
- package/dist/{chunk-BYSQTUZ6.cjs → chunk-CT4WHEVU.cjs} +15 -15
- package/dist/chunk-CTPC457D.js +27 -0
- package/dist/{chunk-DSJTYUQG.cjs → chunk-CXZGUQNC.cjs} +26 -9
- package/dist/{chunk-EKCGBLIH.cjs → chunk-DCQM7IVK.cjs} +1079 -214
- package/dist/{chunk-JCNYE37S.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-YINNADVF.cjs → chunk-DXEXQIH4.cjs} +6 -6
- package/dist/{chunk-4ZEUQBJZ.js → chunk-E32ZLOWY.js} +13 -13
- package/dist/{chunk-4DPM62TI.js → chunk-E63AOG24.js} +27 -9
- package/dist/{chunk-34MTU3ER.js → chunk-ELHOJIVP.js} +20 -3
- package/dist/{chunk-LHPOQVJO.js → chunk-EQJ45T46.js} +2 -5
- package/dist/chunk-EQMAHIZH.js +48 -0
- package/dist/{chunk-WWCUEEMH.cjs → chunk-EQZOMDAA.cjs} +6 -6
- package/dist/{chunk-H47HIU2F.js → chunk-EYWGUIVP.js} +1 -1
- package/dist/chunk-EZNRFABO.cjs +77 -0
- package/dist/chunk-F465UN3N.js +165 -0
- package/dist/chunk-FDRR55YY.cjs +49 -0
- package/dist/{chunk-Y6Q37DGW.js → chunk-FQNP43IR.js} +52 -44
- 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-BED5BMM6.js → chunk-G6VXXZIN.js} +6 -6
- package/dist/{chunk-MJ4HZKPZ.cjs → chunk-GFKY6YX2.cjs} +120 -104
- package/dist/{chunk-CRVO2CAL.cjs → chunk-GIZQB46V.cjs} +13 -13
- package/dist/{chunk-V74OSV6N.cjs → chunk-GJZCJSPK.cjs} +20 -23
- package/dist/{chunk-FLYNOCPZ.js → chunk-GUGOSES5.js} +2 -2
- package/dist/chunk-GX4JNEGP.js +75 -0
- package/dist/{chunk-I4NIA4SD.js → chunk-GZW6KBUI.js} +151 -10
- package/dist/{chunk-Q4CBVF2A.cjs → chunk-H2RYAMMM.cjs} +3 -3
- package/dist/chunk-H3BNJSXS.js +49 -0
- package/dist/chunk-HCWYHWS5.js +84 -0
- package/dist/{chunk-SOMDPWUX.js → chunk-HHTHXSBF.js} +2 -2
- package/dist/{chunk-H24ZXPN3.cjs → chunk-HJL7XPY3.cjs} +12 -12
- package/dist/{chunk-XUIS5P5Z.js → chunk-HMN5YQ2P.js} +3 -3
- package/dist/chunk-HQO3PIAY.js +86 -0
- package/dist/{chunk-J4BWIY7M.cjs → chunk-I2CMZUNC.cjs} +16 -16
- package/dist/chunk-I2MKZCWY.cjs +653 -0
- package/dist/{chunk-CB3IFR2X.cjs → chunk-I6Y7IHF5.cjs} +14 -12
- package/dist/chunk-IBVONPMC.cjs +49 -0
- package/dist/{chunk-JQV6H76U.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-JIPTX3WP.js +49 -0
- package/dist/{chunk-OIR5K2NG.js → chunk-JKENUF42.js} +2 -2
- package/dist/chunk-JT3HYZXJ.cjs +34 -0
- package/dist/chunk-JX6HEEEQ.cjs +542 -0
- package/dist/{chunk-UACBVBBE.js → chunk-K3DMPJSX.js} +8 -6
- package/dist/{chunk-7NAL5XO6.cjs → chunk-KM26ZJYZ.cjs} +7 -7
- package/dist/{chunk-5WZ7X43P.cjs → chunk-KTGPS4CT.cjs} +36 -36
- package/dist/chunk-KXVW2OLB.cjs +84 -0
- package/dist/{chunk-GCUBVU4U.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-FQIT2EG7.js → chunk-LJLT2RRW.js} +2 -2
- package/dist/{chunk-EZMYYBFH.js → chunk-LKVZRZJF.js} +28 -8
- package/dist/{chunk-27TVNUBD.js → chunk-LTVF3OV7.js} +9 -11
- package/dist/chunk-M355VGZ3.cjs +62 -0
- package/dist/{chunk-EKTDBUWD.cjs → chunk-M72EXGIS.cjs} +23 -5
- package/dist/chunk-MFOXSQYS.js +77 -0
- package/dist/chunk-MOTLS6PJ.cjs +233 -0
- package/dist/{chunk-3Y63I7BP.js → chunk-MQTRGLN5.js} +2 -2
- package/dist/{chunk-VI4JM4DQ.js → chunk-MYJEL6LY.js} +2 -2
- package/dist/{chunk-XTUVGLWQ.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-NKLYOJV4.js +49 -0
- package/dist/chunk-NNYCLSJV.js +49 -0
- package/dist/chunk-NROZVENV.cjs +191 -0
- package/dist/{chunk-QR6XKKRK.cjs → chunk-NVVAOGNL.cjs} +14 -13
- package/dist/chunk-NXSA7WNB.js +41 -0
- package/dist/{chunk-PBYLFD52.cjs → chunk-O2MMD4LF.cjs} +30 -30
- package/dist/{chunk-LWXTVAZ6.js → chunk-O37IA7LS.js} +2 -2
- package/dist/{chunk-TWG7OQT7.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-YKVROUDH.js → chunk-ONSMYN3L.js} +3 -3
- package/dist/chunk-OS2EYFJG.js +584 -0
- package/dist/chunk-OVJZVL57.cjs +21 -0
- package/dist/chunk-P7AW5ENT.js +416 -0
- package/dist/{chunk-7LT4PQQ7.js → chunk-PFBJ4FWY.js} +9 -9
- package/dist/{chunk-BPPGWPEN.cjs → chunk-PPHIMPON.cjs} +2 -2
- package/dist/{chunk-XQBJ74JW.cjs → chunk-PZKJ4CZW.cjs} +6 -6
- package/dist/chunk-QCES2VRZ.cjs +28 -0
- package/dist/{chunk-CULDUDP3.js → chunk-QHH6BGRE.js} +1 -1
- package/dist/{chunk-7GCXP2EW.js → chunk-QJPQJXJ2.js} +1 -1
- package/dist/{chunk-OHMAC2V5.js → chunk-QMHXMAIQ.js} +2 -2
- package/dist/{chunk-NRKSK3OJ.cjs → chunk-QOFPVSYP.cjs} +27 -10
- 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-ZGPNVPST.js → chunk-R35JXTPE.js} +24 -20
- package/dist/{chunk-PXZFQWMN.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-RRXUQSIX.js → chunk-S4O5G43Q.js} +16 -16
- package/dist/{chunk-KQ475V76.js → chunk-S5YPOGIA.js} +2 -2
- package/dist/{chunk-2KDEPCCC.cjs → chunk-SDDC5AVT.cjs} +3 -3
- package/dist/{chunk-TKCA4LT6.cjs → chunk-SDECQB2O.cjs} +27 -9
- package/dist/{chunk-7OBPNS6W.cjs → chunk-SFTKSNEK.cjs} +18 -15
- 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-XZG2GZWI.cjs → chunk-ST3UQPZY.cjs} +2 -2
- package/dist/{chunk-QDMQOT22.js → chunk-SW7ELJLY.js} +8 -8
- package/dist/{chunk-KH5NEXIW.js → chunk-TBZO366T.js} +6 -8
- package/dist/{chunk-GB3YA32U.cjs → chunk-TWLKMIVO.cjs} +60 -55
- package/dist/chunk-U25DFCYD.js +233 -0
- package/dist/{chunk-L3BNIBK3.js → chunk-U4Y4CF4A.js} +2 -2
- package/dist/{chunk-ANP2OU53.cjs → chunk-UGGHTD3V.cjs} +11 -11
- package/dist/{chunk-AJ6OTIB2.js → chunk-UJ6CKXOV.js} +24 -6
- package/dist/{chunk-FQWU3AUO.cjs → chunk-UJKCQS5C.cjs} +27 -7
- package/dist/{chunk-XKHTSGK3.cjs → chunk-UJLCYOEL.cjs} +5 -5
- package/dist/chunk-UKMVD656.cjs +86 -0
- package/dist/{chunk-IXV57HL7.cjs → chunk-UN4FMYEQ.cjs} +4 -4
- package/dist/{chunk-A6V6LC6W.js → chunk-UQ4RW6PE.js} +7 -7
- package/dist/{chunk-ENBUKLVT.js → chunk-VASG2BKI.js} +1079 -214
- package/dist/chunk-VC743SV7.cjs +53 -0
- package/dist/{chunk-WI6IO34N.cjs → chunk-VF6BYQHD.cjs} +16 -16
- package/dist/{chunk-MXR7SFIZ.js → chunk-VKVJMZXL.js} +3 -1
- package/dist/{chunk-3O67L2QO.cjs → chunk-VNWCUVYQ.cjs} +2 -2
- package/dist/{chunk-PGULRMMV.cjs → chunk-VSBIQ3WK.cjs} +10 -12
- package/dist/chunk-VZEYA2KH.cjs +90 -0
- package/dist/{chunk-OGJLMW37.js → chunk-W5NH2F3D.js} +6 -5
- package/dist/{chunk-UYO2JW2E.cjs → chunk-WDOCYUQO.cjs} +4 -7
- package/dist/{chunk-OT4XMGY5.cjs → chunk-WHUVGS3J.cjs} +37 -29
- package/dist/chunk-WPUQ5DLK.js +52 -0
- package/dist/chunk-X5SBSJ3Z.js +21 -0
- package/dist/{chunk-WUBMWAOS.cjs → chunk-X5V7LCCX.cjs} +32 -32
- package/dist/chunk-X65D3BZG.cjs +165 -0
- package/dist/{chunk-MJ63JHE3.cjs → chunk-XJP6PQIC.cjs} +4 -2
- package/dist/chunk-XNZEPKAL.cjs +54 -0
- package/dist/{chunk-MI5TUKMX.js → chunk-XPMIPSEB.js} +3 -3
- package/dist/chunk-XS2KC4AS.js +24 -0
- package/dist/{chunk-ZV5IAOIM.js → chunk-XWSMLTYM.js} +1 -1
- package/dist/{chunk-3ET7MRCR.cjs → chunk-YB3AGHD5.cjs} +2 -2
- package/dist/{chunk-QCJWZRIP.cjs → chunk-YDTPEU32.cjs} +21 -4
- package/dist/{chunk-EKU37RBB.js → chunk-YFKVNM5L.js} +6 -6
- package/dist/chunk-YKG4VEBV.cjs +75 -0
- package/dist/chunk-YOHFXRAS.js +49 -0
- package/dist/{chunk-6W3IBNGW.js → chunk-YPNJVLQ6.js} +12 -12
- package/dist/{chunk-IMJG5CTO.cjs → chunk-ZAP2S2HO.cjs} +5 -5
- package/dist/chunk-ZARPNNHA.js +53 -0
- package/dist/{chunk-E42IFW4E.cjs → chunk-ZC7NYTXW.cjs} +27 -9
- package/dist/{chunk-WONQPE5P.js → chunk-ZFXEYU7P.js} +19 -16
- package/dist/{chunk-GMM3LRXY.js → chunk-ZMK4RE5I.js} +2 -2
- package/dist/{chunk-SODYHHOB.cjs → chunk-ZO52GP5Z.cjs} +3 -3
- package/dist/{chunk-QBSDXGPZ.js → chunk-ZOGUEOAS.js} +16 -16
- package/dist/chunk-ZQGKRDIF.js +54 -0
- package/dist/components/Badge.cjs +42 -49
- package/dist/components/Badge.d.cts +18 -22
- package/dist/components/Badge.d.ts +18 -22
- package/dist/components/Badge.js +41 -48
- package/dist/components/Banner/Banner.cjs +42 -50
- package/dist/components/Banner/Banner.d.cts +17 -19
- package/dist/components/Banner/Banner.d.ts +17 -19
- package/dist/components/Banner/Banner.js +41 -49
- 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 +40 -50
- package/dist/components/Button.d.cts +14 -9
- package/dist/components/Button.d.ts +14 -9
- package/dist/components/Button.js +39 -49
- package/dist/components/ButtonRow.cjs +42 -52
- package/dist/components/ButtonRow.d.cts +17 -12
- package/dist/components/ButtonRow.d.ts +17 -12
- package/dist/components/ButtonRow.js +41 -51
- 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 +44 -54
- package/dist/components/CardPage.d.cts +5 -5
- package/dist/components/CardPage.d.ts +5 -5
- package/dist/components/CardPage.js +43 -53
- 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} +38 -45
- package/dist/components/CodeBlock.cjs +38 -36
- package/dist/components/CodeBlock.d.cts +3 -3
- package/dist/components/CodeBlock.d.ts +3 -3
- package/dist/components/CodeBlock.js +37 -35
- 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 +35 -33
- package/dist/components/Collapsible.d.cts +6 -4
- package/dist/components/Collapsible.d.ts +6 -4
- package/dist/components/Collapsible.js +34 -32
- package/dist/components/CommaNumberInput.cjs +49 -39
- package/dist/components/CommaNumberInput.d.cts +13 -7
- package/dist/components/CommaNumberInput.d.ts +13 -7
- package/dist/components/CommaNumberInput.js +48 -38
- package/dist/components/CommandKey.cjs +1 -1
- package/dist/components/CommandKey.js +1 -1
- package/dist/components/ContentTable.cjs +34 -32
- package/dist/components/ContentTable.d.cts +1 -1
- package/dist/components/ContentTable.d.ts +1 -1
- package/dist/components/ContentTable.js +33 -31
- package/dist/components/CopyToClipboardButton.cjs +36 -34
- package/dist/components/CopyToClipboardButton.d.cts +3 -1
- package/dist/components/CopyToClipboardButton.d.ts +3 -1
- package/dist/components/CopyToClipboardButton.js +35 -33
- package/dist/components/CurrencyAmount.cjs +35 -32
- package/dist/components/CurrencyAmount.d.cts +131 -18
- package/dist/components/CurrencyAmount.d.ts +131 -18
- package/dist/components/CurrencyAmount.js +34 -31
- 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 +42 -52
- package/dist/components/Drawer.js +41 -51
- package/dist/components/Dropdown.cjs +37 -34
- package/dist/components/Dropdown.d.cts +18 -13
- package/dist/components/Dropdown.d.ts +18 -13
- package/dist/components/Dropdown.js +36 -33
- package/dist/components/FileInput.cjs +40 -38
- package/dist/components/FileInput.d.cts +1 -1
- package/dist/components/FileInput.d.ts +1 -1
- package/dist/components/FileInput.js +39 -37
- 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 +33 -31
- package/dist/components/Icon/Icon.d.cts +7 -4
- package/dist/components/Icon/Icon.d.ts +7 -4
- package/dist/components/Icon/Icon.js +32 -30
- package/dist/components/Icon/types.d.cts +4 -2
- package/dist/components/Icon/types.d.ts +4 -2
- package/dist/components/IconWithCircleBackground.cjs +34 -32
- package/dist/components/IconWithCircleBackground.d.cts +1 -1
- package/dist/components/IconWithCircleBackground.d.ts +1 -1
- package/dist/components/IconWithCircleBackground.js +33 -31
- package/dist/components/InfoIconTooltip.cjs +42 -50
- package/dist/components/InfoIconTooltip.d.cts +15 -17
- package/dist/components/InfoIconTooltip.d.ts +15 -17
- package/dist/components/InfoIconTooltip.js +41 -49
- 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 +34 -32
- package/dist/components/Loading.d.cts +2 -2
- package/dist/components/Loading.d.ts +2 -2
- package/dist/components/Loading.js +33 -31
- package/dist/components/Modal.cjs +54 -57
- package/dist/components/Modal.d.cts +18 -22
- package/dist/components/Modal.d.ts +18 -22
- package/dist/components/Modal.js +53 -56
- package/dist/components/PageSection/PageSection.cjs +52 -57
- package/dist/components/PageSection/PageSection.d.cts +22 -19
- package/dist/components/PageSection/PageSection.d.ts +22 -19
- package/dist/components/PageSection/PageSection.js +51 -56
- package/dist/components/PageSection/PageSectionNav.cjs +45 -52
- package/dist/components/PageSection/PageSectionNav.d.cts +3 -1
- package/dist/components/PageSection/PageSectionNav.d.ts +3 -1
- package/dist/components/PageSection/PageSectionNav.js +44 -51
- 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 +49 -39
- package/dist/components/PhoneInput.d.cts +127 -4
- package/dist/components/PhoneInput.d.ts +127 -4
- package/dist/components/PhoneInput.js +48 -38
- package/dist/components/Pill.cjs +37 -35
- package/dist/components/Pill.d.cts +3 -1
- package/dist/components/Pill.d.ts +3 -1
- package/dist/components/Pill.js +36 -34
- 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} +35 -40
- 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} +48 -53
- package/dist/components/QRReaderButton.d.cts +13 -0
- package/dist/components/QRReaderButton.d.ts +13 -0
- package/dist/{utils/toReactNodes.js → components/QRReaderButton.js} +49 -54
- package/dist/components/Radio.cjs +43 -37
- package/dist/components/Radio.js +42 -36
- 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 -41
- package/dist/{utils/toReactNodes.d.ts → components/SatoshiInput.d.ts} +22 -41
- 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 +37 -35
- package/dist/components/SecretContainer.js +36 -34
- 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 +44 -51
- package/dist/components/TextButton.d.cts +16 -22
- package/dist/components/TextButton.d.ts +16 -22
- package/dist/components/TextButton.js +43 -50
- package/dist/components/TextIconAligner.cjs +42 -49
- package/dist/components/TextIconAligner.d.cts +16 -20
- package/dist/components/TextIconAligner.d.ts +16 -20
- package/dist/components/TextIconAligner.js +41 -48
- package/dist/components/TextInput.cjs +54 -38
- package/dist/components/TextInput.d.cts +29 -22
- package/dist/components/TextInput.d.ts +29 -22
- package/dist/components/TextInput.js +55 -39
- package/dist/components/Toasts.cjs +43 -51
- package/dist/components/Toasts.d.cts +18 -20
- package/dist/components/Toasts.d.ts +18 -20
- package/dist/components/Toasts.js +42 -50
- 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 +44 -38
- package/dist/components/documentation/AnchorLinkHeader.d.cts +12 -8
- package/dist/components/documentation/AnchorLinkHeader.d.ts +12 -8
- package/dist/components/documentation/AnchorLinkHeader.js +43 -37
- package/dist/components/documentation/DocsBodyParagraph.cjs +59 -37
- package/dist/components/documentation/DocsBodyParagraph.d.cts +12 -8
- package/dist/components/documentation/DocsBodyParagraph.d.ts +12 -8
- package/dist/components/documentation/DocsBodyParagraph.js +58 -36
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +62 -41
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +12 -8
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +12 -8
- package/dist/components/documentation/DocsBodyStrongParagraph.js +61 -40
- package/dist/components/documentation/DocsHeadline.cjs +43 -37
- package/dist/components/documentation/DocsHeadline.d.cts +11 -7
- package/dist/components/documentation/DocsHeadline.d.ts +11 -7
- package/dist/components/documentation/DocsHeadline.js +42 -36
- package/dist/components/documentation/Video.cjs +10 -10
- package/dist/components/documentation/Video.js +7 -7
- package/dist/components/documentation/index.cjs +44 -38
- package/dist/components/documentation/index.d.cts +12 -8
- package/dist/components/documentation/index.d.ts +12 -8
- package/dist/components/documentation/index.js +43 -37
- package/dist/components/index.cjs +188 -97
- package/dist/components/index.d.cts +35 -18
- package/dist/components/index.d.ts +35 -18
- package/dist/components/index.js +219 -128
- 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 +50 -44
- package/dist/components/typography/Article.d.cts +1 -1
- package/dist/components/typography/Article.d.ts +1 -1
- package/dist/components/typography/Article.js +49 -43
- package/dist/components/typography/Body.cjs +42 -36
- package/dist/components/typography/Body.d.cts +15 -22
- package/dist/components/typography/Body.d.ts +15 -22
- package/dist/components/typography/Body.js +41 -35
- package/dist/components/typography/BodyStrong.cjs +42 -36
- package/dist/components/typography/BodyStrong.d.cts +15 -23
- package/dist/components/typography/BodyStrong.d.ts +15 -23
- package/dist/components/typography/BodyStrong.js +41 -35
- package/dist/components/typography/Code.cjs +42 -36
- package/dist/components/typography/Code.d.cts +15 -30
- package/dist/components/typography/Code.d.ts +15 -30
- package/dist/components/typography/Code.js +41 -35
- package/dist/components/typography/Display.cjs +42 -36
- package/dist/components/typography/Display.d.cts +14 -21
- package/dist/components/typography/Display.d.ts +14 -21
- package/dist/components/typography/Display.js +41 -35
- package/dist/components/typography/Headline.cjs +42 -36
- package/dist/components/typography/Headline.d.cts +15 -39
- package/dist/components/typography/Headline.d.ts +15 -39
- package/dist/components/typography/Headline.js +41 -35
- package/dist/components/typography/Label.cjs +42 -36
- package/dist/components/typography/Label.d.cts +15 -20
- package/dist/components/typography/Label.d.ts +15 -20
- package/dist/components/typography/Label.js +41 -35
- package/dist/components/typography/LabelModerate.cjs +42 -36
- package/dist/components/typography/LabelModerate.d.cts +15 -29
- package/dist/components/typography/LabelModerate.d.ts +15 -29
- package/dist/components/typography/LabelModerate.js +41 -35
- package/dist/components/typography/LabelStrong.cjs +42 -36
- package/dist/components/typography/LabelStrong.d.cts +15 -31
- package/dist/components/typography/LabelStrong.d.ts +15 -31
- package/dist/components/typography/LabelStrong.js +41 -35
- package/dist/components/typography/Overline.cjs +42 -36
- package/dist/components/typography/Overline.d.cts +15 -29
- package/dist/components/typography/Overline.d.ts +15 -29
- package/dist/components/typography/Overline.js +41 -35
- package/dist/components/typography/Title.cjs +42 -36
- package/dist/components/typography/Title.d.cts +15 -32
- package/dist/components/typography/Title.d.ts +15 -32
- package/dist/components/typography/Title.js +41 -35
- package/dist/components/typography/index.cjs +55 -49
- package/dist/components/typography/index.d.cts +10 -12
- package/dist/components/typography/index.d.ts +10 -12
- package/dist/components/typography/index.js +66 -60
- package/dist/components/typography/renderTypography.cjs +3 -145
- package/dist/components/typography/renderTypography.d.cts +21 -94
- package/dist/components/typography/renderTypography.d.ts +21 -94
- package/dist/components/typography/renderTypography.js +4 -146
- package/dist/components/typography/types.cjs +1 -0
- package/dist/components/typography/types.d.cts +131 -0
- package/dist/components/typography/types.d.ts +131 -0
- package/dist/components/typography/types.js +0 -0
- 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 +7 -0
- package/dist/components/typography/typographyStyles.d.cts +138 -0
- package/dist/components/typography/typographyStyles.d.ts +138 -0
- package/dist/components/typography/typographyStyles.js +7 -0
- 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 +37 -29
- package/dist/icons/index.d.cts +2 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +53 -45
- 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 +133 -10
- package/dist/styles/fields.d.ts +133 -10
- 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 +167 -227
- package/dist/styles/tokens/typography.d.ts +167 -227
- 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-6L3PB65W.js +0 -30
- package/dist/chunk-73LM7UGP.cjs +0 -59
- package/dist/chunk-7ZDRCGKF.js +0 -32
- package/dist/chunk-CANLBVDM.js +0 -31
- package/dist/chunk-CIGDU5PL.cjs +0 -31
- package/dist/chunk-DIKB7XZE.cjs +0 -31
- package/dist/chunk-DPK5MAQL.js +0 -31
- package/dist/chunk-FSVHUION.js +0 -31
- package/dist/chunk-HKSBGUB7.cjs +0 -119
- package/dist/chunk-J2NLRI2M.js +0 -119
- package/dist/chunk-OPV246QW.js +0 -34
- package/dist/chunk-PDZ23BED.cjs +0 -401
- package/dist/chunk-SUTN4O34.js +0 -59
- package/dist/chunk-TTWRXIOP.cjs +0 -30
- package/dist/chunk-WM2D54JJ.js +0 -32
- package/dist/chunk-XCEI3WIL.js +0 -105
- package/dist/chunk-ZFRMFHCU.cjs +0 -32
- package/dist/chunk-ZJTRXOA5.cjs +0 -105
- package/dist/themes-74cc65f5.d.ts +0 -10621
- package/dist/themes-a4269f0f.d.ts +0 -10621
- /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
|
+
import {
|
|
2
|
+
StyledSelect
|
|
3
|
+
} from "./chunk-2HIH3J6K.js";
|
|
4
|
+
import {
|
|
5
|
+
Headline
|
|
6
|
+
} from "./chunk-ZFXEYU7P.js";
|
|
7
|
+
import {
|
|
8
|
+
StyledFileInput
|
|
9
|
+
} from "./chunk-AAGIFG3R.js";
|
|
10
|
+
import {
|
|
11
|
+
ClipboardTextField
|
|
12
|
+
} from "./chunk-672ZI5XH.js";
|
|
13
|
+
import {
|
|
14
|
+
TextInputHalfRow
|
|
15
|
+
} from "./chunk-6EXTHISM.js";
|
|
16
|
+
import {
|
|
17
|
+
ToggleContainer
|
|
18
|
+
} from "./chunk-TBZO366T.js";
|
|
19
|
+
import {
|
|
20
|
+
formButtonTopMarginStyle,
|
|
21
|
+
inputSpacingPx
|
|
22
|
+
} from "./chunk-W5NH2F3D.js";
|
|
23
|
+
import {
|
|
24
|
+
StyledButtonRow
|
|
25
|
+
} from "./chunk-2PK3U5ML.js";
|
|
26
|
+
import {
|
|
27
|
+
pxToRems
|
|
28
|
+
} from "./chunk-IGZYEIQS.js";
|
|
29
|
+
import {
|
|
30
|
+
ButtonSelector
|
|
31
|
+
} from "./chunk-R35JXTPE.js";
|
|
32
|
+
import {
|
|
33
|
+
LoadingWrapper
|
|
34
|
+
} from "./chunk-QJPQJXJ2.js";
|
|
35
|
+
import {
|
|
36
|
+
Checkbox
|
|
37
|
+
} from "./chunk-UJ6CKXOV.js";
|
|
38
|
+
import {
|
|
39
|
+
toReactNodesWithTypographyMap
|
|
40
|
+
} from "./chunk-JEPHI5VC.js";
|
|
41
|
+
import {
|
|
42
|
+
toReactNodes
|
|
43
|
+
} from "./chunk-NXSA7WNB.js";
|
|
44
|
+
import {
|
|
45
|
+
icon
|
|
46
|
+
} from "./chunk-G5IVQ4O3.js";
|
|
47
|
+
import {
|
|
48
|
+
mcBold,
|
|
49
|
+
standardBorderRadius,
|
|
50
|
+
standardCardShadow,
|
|
51
|
+
standardCardShadowHard,
|
|
52
|
+
standardContentInset
|
|
53
|
+
} from "./chunk-ZMK4RE5I.js";
|
|
54
|
+
import {
|
|
55
|
+
bp
|
|
56
|
+
} from "./chunk-JSGRNWSB.js";
|
|
57
|
+
import {
|
|
58
|
+
Link
|
|
59
|
+
} from "./chunk-ELHOJIVP.js";
|
|
60
|
+
import {
|
|
61
|
+
colors
|
|
62
|
+
} from "./chunk-RTRS42I3.js";
|
|
63
|
+
|
|
64
|
+
// src/components/CardForm/CardForm.tsx
|
|
65
|
+
import { css } from "@emotion/react";
|
|
66
|
+
import styled from "@emotion/styled";
|
|
67
|
+
import { useCallback } from "react";
|
|
68
|
+
import { jsx, jsxs } from "@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 = useCallback(
|
|
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 ? toReactNodesWithTypographyMap(description, descriptionTypography[kind]) : null;
|
|
156
|
+
const belowFormContentNodes = belowFormContent ? toReactNodes(belowFormContent) : null;
|
|
157
|
+
const content = /* @__PURE__ */ jsxs(CardFormContent, { children: [
|
|
158
|
+
topContent,
|
|
159
|
+
title && /* @__PURE__ */ jsx(CardHeadline, { hasTopContent: Boolean(topContent), children: /* @__PURE__ */ jsx(
|
|
160
|
+
Headline,
|
|
161
|
+
{
|
|
162
|
+
content: [
|
|
163
|
+
title,
|
|
164
|
+
...titleRightIcon ? [icon({ name: titleRightIcon.name, ml: 4 })] : []
|
|
165
|
+
],
|
|
166
|
+
display: "inline-flex"
|
|
167
|
+
}
|
|
168
|
+
) }),
|
|
169
|
+
formattedDescription && /* @__PURE__ */ jsx(CardFormSubtitle, { children: formattedDescription }),
|
|
170
|
+
children
|
|
171
|
+
] });
|
|
172
|
+
return /* @__PURE__ */ jsxs(CardFormContainer, { children: [
|
|
173
|
+
hasChildForm ? /* @__PURE__ */ jsx(
|
|
174
|
+
StyledCardFormDiv,
|
|
175
|
+
{
|
|
176
|
+
wide,
|
|
177
|
+
shadow,
|
|
178
|
+
borderRadius,
|
|
179
|
+
border,
|
|
180
|
+
textAlign,
|
|
181
|
+
paddingY,
|
|
182
|
+
paddingX,
|
|
183
|
+
children: content
|
|
184
|
+
}
|
|
185
|
+
) : /* @__PURE__ */ jsx(
|
|
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__ */ jsx(BelowCardFormContent, { children: belowFormContentNodes })
|
|
201
|
+
] });
|
|
202
|
+
}
|
|
203
|
+
var CardFormContainer = styled.div`
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-direction: column;
|
|
206
|
+
|
|
207
|
+
${bp.sm(`
|
|
208
|
+
height: 100%;
|
|
209
|
+
`)}
|
|
210
|
+
`;
|
|
211
|
+
var CardFormContent = styled.div`
|
|
212
|
+
display: flex;
|
|
213
|
+
flex-direction: column;
|
|
214
|
+
align-self: center;
|
|
215
|
+
`;
|
|
216
|
+
var BelowCardFormContent = styled.div`
|
|
217
|
+
text-align: center;
|
|
218
|
+
margin-top: 32px;
|
|
219
|
+
|
|
220
|
+
${bp.sm(`
|
|
221
|
+
margin-bottom: 32px;
|
|
222
|
+
`)}
|
|
223
|
+
`;
|
|
224
|
+
var CardFormSubtitle = styled.div``;
|
|
225
|
+
var CardFormButtonRow = styled.div`
|
|
226
|
+
display: flex;
|
|
227
|
+
justify-content: ${({ justify }) => (
|
|
228
|
+
/* Default left */
|
|
229
|
+
justify === "center" ? "center" : "left"
|
|
230
|
+
)};
|
|
231
|
+
margin-top: 32px;
|
|
232
|
+
${ButtonSelector("* + ")} {
|
|
233
|
+
margin-left: 10px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&:not(:last-child) {
|
|
237
|
+
margin-bottom: 32px;
|
|
238
|
+
}
|
|
239
|
+
`;
|
|
240
|
+
var fieldLabelMarginPx = 12;
|
|
241
|
+
var CardFormFieldLabel = styled.label`
|
|
242
|
+
display: block;
|
|
243
|
+
margin-top: ${inputSpacingPx}px;
|
|
244
|
+
color: ${({ theme }) => theme.text};
|
|
245
|
+
font-size: ${pxToRems(14)};
|
|
246
|
+
font-weight: 700;
|
|
247
|
+
& + * {
|
|
248
|
+
margin-top: ${fieldLabelMarginPx}px;
|
|
249
|
+
}
|
|
250
|
+
`;
|
|
251
|
+
function CardFormDataFieldValue({ text }) {
|
|
252
|
+
return /* @__PURE__ */ jsx(StyledCardFormDataFieldValue, { children: /* @__PURE__ */ jsx(ClipboardTextField, { value: text, icon: true, iconSide: "right" }) });
|
|
253
|
+
}
|
|
254
|
+
var StyledCardFormDataFieldValue = styled.div`
|
|
255
|
+
margin-top: 4px;
|
|
256
|
+
color: ${({ theme }) => theme.mcNeutral};
|
|
257
|
+
`;
|
|
258
|
+
var CardFormFullWidth = styled.div``;
|
|
259
|
+
var CardFormFullTopContent = styled.div`
|
|
260
|
+
${bp.minSm(`
|
|
261
|
+
border-radius: 16px 16px 0 0;
|
|
262
|
+
overflow: hidden;
|
|
263
|
+
`)}
|
|
264
|
+
`;
|
|
265
|
+
var StyledCardFormCheckboxParagraph = styled.div`
|
|
266
|
+
display: flex;
|
|
267
|
+
color: ${({ theme }) => theme.mcNeutral};
|
|
268
|
+
`;
|
|
269
|
+
var formInset = ({ wide, paddingX, paddingY }) => 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
|
+
${bp.minSm(`
|
|
279
|
+
width: ${wide ? 700 : 505}px;
|
|
280
|
+
`)}
|
|
281
|
+
|
|
282
|
+
${bp.sm(`
|
|
283
|
+
padding: 0;
|
|
284
|
+
`)}
|
|
285
|
+
|
|
286
|
+
${standardContentInset.smCSS}
|
|
287
|
+
|
|
288
|
+
& ${CardFormFullWidth}, & ${CardFormFullTopContent} {
|
|
289
|
+
${bp.sm(`
|
|
290
|
+
width: calc(100% + ${standardContentInset.smPx * 2}px);
|
|
291
|
+
margin-left: -${standardContentInset.smPx}px;
|
|
292
|
+
`)}
|
|
293
|
+
|
|
294
|
+
${bp.minSm(`
|
|
295
|
+
width: calc(100% + ${paddingX * 2}px);
|
|
296
|
+
margin-left: -${paddingX}px;
|
|
297
|
+
`)}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
& ${CardFormFullTopContent} {
|
|
301
|
+
${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 css`
|
|
317
|
+
${formInset({ wide, paddingX, paddingY })}
|
|
318
|
+
${shadow === "soft" ? standardCardShadow : shadow === "hard" ? standardCardShadowHard : ""}
|
|
319
|
+
|
|
320
|
+
background-color: ${theme.bg};
|
|
321
|
+
position: relative;
|
|
322
|
+
height: 100%;
|
|
323
|
+
${border ? `border: 1px solid ${theme.vlcNeutral};` : ""}
|
|
324
|
+
|
|
325
|
+
${bp.sm(`
|
|
326
|
+
box-shadow: none;
|
|
327
|
+
`)}
|
|
328
|
+
|
|
329
|
+
${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}, ${StyledButtonRow} {
|
|
342
|
+
${ButtonSelector()} {
|
|
343
|
+
margin-top: 0;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
${StyledSelect}, ${ToggleContainer} {
|
|
348
|
+
margin-top: ${inputSpacingPx}px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
${CardFormFieldLabel} {
|
|
352
|
+
margin-top: ${inputSpacingPx}px;
|
|
353
|
+
|
|
354
|
+
& + ${StyledSelect} {
|
|
355
|
+
margin-top: ${fieldLabelMarginPx}px;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
${TextInputHalfRow} > ${StyledSelect} {
|
|
360
|
+
margin-top: 0;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
${LoadingWrapper} {
|
|
364
|
+
margin: 32px 0;
|
|
365
|
+
* + * {
|
|
366
|
+
margin-top: 0;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
${ButtonSelector()} ${LoadingWrapper} {
|
|
371
|
+
margin: 0;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${StyledFileInput} {
|
|
375
|
+
margin-top: 16px;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
${CardFormContent} {
|
|
379
|
+
& > ${StyledCardFormCheckboxParagraph} {
|
|
380
|
+
margin-top: 24px;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
& > ${ButtonSelector()} {
|
|
384
|
+
${formButtonTopMarginStyle}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
`;
|
|
388
|
+
};
|
|
389
|
+
var StyledCardForm = styled.form(StyledCardFormStyle);
|
|
390
|
+
var StyledCardFormDiv = styled.div(StyledCardFormStyle);
|
|
391
|
+
var CardHeadline = styled.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__ */ jsxs("div", { css: { marginTop: "16px", fontWeight: "600" }, children: [
|
|
408
|
+
/* @__PURE__ */ jsx("span", { css: mcBold, children: text }),
|
|
409
|
+
" ",
|
|
410
|
+
/* @__PURE__ */ jsx(Link, { to, children: toText })
|
|
411
|
+
] });
|
|
412
|
+
}
|
|
413
|
+
function CardFormCheckboxParagraph({
|
|
414
|
+
children,
|
|
415
|
+
onChange,
|
|
416
|
+
checked
|
|
417
|
+
}) {
|
|
418
|
+
return /* @__PURE__ */ jsxs(StyledCardFormCheckboxParagraph, { children: [
|
|
419
|
+
/* @__PURE__ */ jsx(Checkbox, { checked, onChange, alignItems: "flex-start" }),
|
|
420
|
+
/* @__PURE__ */ jsx(CardFormCheckboxParagraphText, { onClick: () => onChange(!checked), children })
|
|
421
|
+
] });
|
|
422
|
+
}
|
|
423
|
+
var CardFormCheckboxParagraphText = styled.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__ */ jsxs(StyledCardFormOption, { onClick, selected, children: [
|
|
434
|
+
/* @__PURE__ */ jsx(CardFormOptionLabel, { children: label }),
|
|
435
|
+
description ? /* @__PURE__ */ jsx(CardFormOptionDescription, { children: description }) : null
|
|
436
|
+
] });
|
|
437
|
+
var StyledCardFormOption = styled.div`
|
|
438
|
+
border: ${({ theme, selected }) => `${selected ? `2px solid ${theme.info}` : `1px solid ${theme.c1Neutral}`}`};
|
|
439
|
+
${standardBorderRadius(8)}
|
|
440
|
+
cursor: pointer;
|
|
441
|
+
margin-top: 10px;
|
|
442
|
+
padding: ${({ selected }) => selected ? "15px" : "16px"};
|
|
443
|
+
`;
|
|
444
|
+
var CardFormOptionLabel = styled.div`
|
|
445
|
+
font-weight: bold;
|
|
446
|
+
`;
|
|
447
|
+
var CardFormOptionDescription = styled.p`
|
|
448
|
+
color: ${colors.gray40};
|
|
449
|
+
margin: 6px 0 0;
|
|
450
|
+
`;
|
|
451
|
+
|
|
452
|
+
export {
|
|
453
|
+
CardForm,
|
|
454
|
+
CardFormButtonRow,
|
|
455
|
+
CardFormFieldLabel,
|
|
456
|
+
CardFormDataFieldValue,
|
|
457
|
+
CardFormFullWidth,
|
|
458
|
+
CardFormFullTopContent,
|
|
459
|
+
CardFormTextWithLink,
|
|
460
|
+
CardFormCheckboxParagraph,
|
|
461
|
+
CardFormOption
|
|
462
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/components/QRReader/styles.ts
|
|
2
|
+
var styles = {
|
|
3
|
+
container: {
|
|
4
|
+
width: "100%",
|
|
5
|
+
paddingTop: "100%",
|
|
6
|
+
overflow: "hidden",
|
|
7
|
+
position: "relative"
|
|
8
|
+
},
|
|
9
|
+
video: {
|
|
10
|
+
top: 0,
|
|
11
|
+
left: 0,
|
|
12
|
+
width: "100%",
|
|
13
|
+
height: "100%",
|
|
14
|
+
display: "block",
|
|
15
|
+
overflow: "hidden",
|
|
16
|
+
position: "absolute",
|
|
17
|
+
transform: void 0
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
styles
|
|
23
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O7EVPXE5.js";
|
|
4
4
|
import {
|
|
5
5
|
InputSubtext,
|
|
6
6
|
inputBlockStyle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W5NH2F3D.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K3DMPJSX.js";
|
|
11
11
|
|
|
12
12
|
// src/components/FileInput.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import {
|
|
2
|
+
setDefaultReactNodesTypography
|
|
3
|
+
} from "./chunk-JEPHI5VC.js";
|
|
4
|
+
import {
|
|
5
|
+
toReactNodes
|
|
6
|
+
} from "./chunk-NXSA7WNB.js";
|
|
7
|
+
import {
|
|
8
|
+
themeOrWithKey,
|
|
9
|
+
themes
|
|
10
|
+
} from "./chunk-GZW6KBUI.js";
|
|
11
|
+
import {
|
|
12
|
+
getLineHeightForTypographyType
|
|
13
|
+
} from "./chunk-VASG2BKI.js";
|
|
14
|
+
|
|
15
|
+
// src/components/PendingValue.tsx
|
|
16
|
+
import { css, keyframes, ThemeProvider } from "@emotion/react";
|
|
17
|
+
import styled from "@emotion/styled";
|
|
18
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
19
|
+
var bgPosition = keyframes`
|
|
20
|
+
0% {
|
|
21
|
+
background-position: 200% 0;
|
|
22
|
+
}
|
|
23
|
+
100% {
|
|
24
|
+
background-position: -200% 0;
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
27
|
+
function PendingValue({
|
|
28
|
+
animate = true,
|
|
29
|
+
content: contentProp,
|
|
30
|
+
typography: typographyProp,
|
|
31
|
+
width,
|
|
32
|
+
forceTheme
|
|
33
|
+
}) {
|
|
34
|
+
const defaultTypography = {
|
|
35
|
+
type: (typographyProp == null ? void 0 : typographyProp.type) || "Body",
|
|
36
|
+
size: (typographyProp == null ? void 0 : typographyProp.size) || "Small",
|
|
37
|
+
color: (typographyProp == null ? void 0 : typographyProp.color) || "text",
|
|
38
|
+
hideOverflow: true
|
|
39
|
+
};
|
|
40
|
+
const defaultTypographyMap = {
|
|
41
|
+
link: defaultTypography,
|
|
42
|
+
text: defaultTypography,
|
|
43
|
+
nextLink: defaultTypography
|
|
44
|
+
};
|
|
45
|
+
const nodesWithTypography = setDefaultReactNodesTypography(
|
|
46
|
+
contentProp,
|
|
47
|
+
defaultTypographyMap
|
|
48
|
+
);
|
|
49
|
+
const content = toReactNodes(nodesWithTypography);
|
|
50
|
+
const nodes = /* @__PURE__ */ jsxs(
|
|
51
|
+
StyledPendingValue,
|
|
52
|
+
{
|
|
53
|
+
typographyType: defaultTypography.type,
|
|
54
|
+
typographySize: defaultTypography.size,
|
|
55
|
+
widthProp: width,
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ jsx(StyledPendingValueBg, { visible: !contentProp, animate }),
|
|
58
|
+
/* @__PURE__ */ jsx(StyledPendingValueContent, { children: content })
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
return forceTheme ? /* @__PURE__ */ jsx(ThemeProvider, { theme: themes[forceTheme], children: nodes }) : nodes;
|
|
63
|
+
}
|
|
64
|
+
var StyledPendingValue = styled.div`
|
|
65
|
+
position: relative;
|
|
66
|
+
height: ${({ typographyType, typographySize, theme }) => getLineHeightForTypographyType(typographyType, typographySize, theme)};
|
|
67
|
+
|
|
68
|
+
${({ widthProp }) => widthProp ? `width: ${widthProp}px;` : "width: 100%;"}
|
|
69
|
+
max-width: 100%;
|
|
70
|
+
`;
|
|
71
|
+
var StyledPendingValueContent = styled.div`
|
|
72
|
+
position: relative;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
`;
|
|
75
|
+
var vSpacing = 2;
|
|
76
|
+
var StyledPendingValueBg = styled.div`
|
|
77
|
+
z-index: 0;
|
|
78
|
+
height: calc(100% - ${vSpacing * 2}px);
|
|
79
|
+
width: 100%;
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: ${vSpacing}px;
|
|
82
|
+
border-radius: 999px;
|
|
83
|
+
|
|
84
|
+
${({ visible }) => visible ? "opacity: 1;" : "opacity: 0;"}
|
|
85
|
+
transition: opacity 0.01s ease;
|
|
86
|
+
|
|
87
|
+
background: linear-gradient(
|
|
88
|
+
90deg,
|
|
89
|
+
${themeOrWithKey("c15Neutral", "c25Neutral")} 0%,
|
|
90
|
+
${themeOrWithKey("c2Neutral", "c3Neutral")} 50%,
|
|
91
|
+
${themeOrWithKey("c15Neutral", "c25Neutral")} 100%
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
background-size: 200% 100%;
|
|
95
|
+
background-position: 0% 0%;
|
|
96
|
+
|
|
97
|
+
@keyframes rotate {
|
|
98
|
+
0% {
|
|
99
|
+
transform: rotate(0deg);
|
|
100
|
+
}
|
|
101
|
+
100% {
|
|
102
|
+
transform: rotate(360deg);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
${({ animate }) => {
|
|
107
|
+
return animate ? css`
|
|
108
|
+
animation: ${bgPosition} 2s linear infinite;
|
|
109
|
+
` : "";
|
|
110
|
+
}}
|
|
111
|
+
`;
|
|
112
|
+
|
|
113
|
+
export {
|
|
114
|
+
PendingValue,
|
|
115
|
+
StyledPendingValueContent,
|
|
116
|
+
StyledPendingValueBg
|
|
117
|
+
};
|