@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,779 @@
|
|
|
1
|
+
import * as _emotion_react from '@emotion/react';
|
|
2
|
+
import { Theme } from '@emotion/react';
|
|
3
|
+
import { IconName } from './components/Icon/types.cjs';
|
|
4
|
+
import { TokenSizeKey, FontFamilies, TypographyGroup, TypographyTypeKey } from './styles/tokens/typography.cjs';
|
|
5
|
+
import { CSSInterpolation } from '@emotion/css';
|
|
6
|
+
import { ColorKey } from './styles/colors.cjs';
|
|
7
|
+
|
|
8
|
+
type PaddingYKey = "short" | "regular";
|
|
9
|
+
type PaddingY = number | {
|
|
10
|
+
[key in PaddingYKey]: number;
|
|
11
|
+
};
|
|
12
|
+
declare const buttonBorderRadiuses: readonly [8, 32, 999];
|
|
13
|
+
type ButtonBorderRadius = (typeof buttonBorderRadiuses)[number];
|
|
14
|
+
declare const allowedButtonTypographyTypes: readonly ["Body", "Body Strong", "Title", "Label", "Label Moderate", "Label Strong"];
|
|
15
|
+
type AllowedButtonTypographyTypes = (typeof allowedButtonTypographyTypes)[number];
|
|
16
|
+
type ButtonTypographyArgs = {
|
|
17
|
+
type?: AllowedButtonTypographyTypes;
|
|
18
|
+
color?: ThemeOrColorKey;
|
|
19
|
+
};
|
|
20
|
+
declare const buttonsThemeBase: {
|
|
21
|
+
defaultSize: TokenSizeKey;
|
|
22
|
+
defaultTypographyType: AllowedButtonTypographyTypes;
|
|
23
|
+
defaultColor: ThemeOrColorKey;
|
|
24
|
+
defaultBorderRadius: ButtonBorderRadius;
|
|
25
|
+
defaultBorderWidth: number;
|
|
26
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
27
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
28
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
29
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
30
|
+
defaultOutlineOffset: number;
|
|
31
|
+
defaultPaddingsY: {
|
|
32
|
+
ExtraSmall: number;
|
|
33
|
+
Small: PaddingY;
|
|
34
|
+
Schmedium: number;
|
|
35
|
+
Medium: number;
|
|
36
|
+
Mlarge: number;
|
|
37
|
+
Large: number;
|
|
38
|
+
};
|
|
39
|
+
kinds: {};
|
|
40
|
+
};
|
|
41
|
+
type ButtonsThemeKey = keyof typeof buttonsThemeBase;
|
|
42
|
+
type ButtonKindsProps = Record<string, Partial<typeof buttonsThemeBase>>;
|
|
43
|
+
declare const defaultButtonsTheme: {
|
|
44
|
+
kinds: ButtonKindsProps;
|
|
45
|
+
defaultSize: TokenSizeKey;
|
|
46
|
+
defaultTypographyType: AllowedButtonTypographyTypes;
|
|
47
|
+
defaultColor: ThemeOrColorKey;
|
|
48
|
+
defaultBorderRadius: ButtonBorderRadius;
|
|
49
|
+
defaultBorderWidth: number;
|
|
50
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
51
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
52
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
53
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
54
|
+
defaultOutlineOffset: number;
|
|
55
|
+
defaultPaddingsY: {
|
|
56
|
+
ExtraSmall: number;
|
|
57
|
+
Small: PaddingY;
|
|
58
|
+
Schmedium: number;
|
|
59
|
+
Medium: number;
|
|
60
|
+
Mlarge: number;
|
|
61
|
+
Large: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
declare enum Themes {
|
|
66
|
+
Light = "light",
|
|
67
|
+
Dark = "dark",
|
|
68
|
+
LightsparkDocsLight = "lightsparkDocsLight",
|
|
69
|
+
LightsparkDocsDark = "lightsparkDocsDark",
|
|
70
|
+
UmaAuthSdkLight = "umaAuthSdkLight",
|
|
71
|
+
UmaAuthSdkDark = "umaAuthSdkDark",
|
|
72
|
+
UmameDocsLight = "umameDocsLight",
|
|
73
|
+
UmameDocsDark = "umameDocsDark",
|
|
74
|
+
BridgeLight = "bridgeLight",
|
|
75
|
+
BridgeDark = "bridgeDark"
|
|
76
|
+
}
|
|
77
|
+
declare const baseThemeColors: {
|
|
78
|
+
bg: string;
|
|
79
|
+
smBg: string;
|
|
80
|
+
c05Neutral: string;
|
|
81
|
+
c1Neutral: string;
|
|
82
|
+
c15Neutral: string;
|
|
83
|
+
c2Neutral: string;
|
|
84
|
+
c25Neutral: string;
|
|
85
|
+
c3Neutral: string;
|
|
86
|
+
c4Neutral: string;
|
|
87
|
+
c5Neutral: string;
|
|
88
|
+
c6Neutral: string;
|
|
89
|
+
c7Neutral: string;
|
|
90
|
+
c8Neutral: string;
|
|
91
|
+
c9Neutral: string;
|
|
92
|
+
danger: string;
|
|
93
|
+
hcNeutral: string;
|
|
94
|
+
info: string;
|
|
95
|
+
lcNeutral: string;
|
|
96
|
+
link: string;
|
|
97
|
+
mcNeutral: string;
|
|
98
|
+
onInfoText: string;
|
|
99
|
+
onPrimaryText: string;
|
|
100
|
+
onSuccessText: string;
|
|
101
|
+
primary: string;
|
|
102
|
+
secondary: string;
|
|
103
|
+
tertiary: string;
|
|
104
|
+
success: string;
|
|
105
|
+
text: string;
|
|
106
|
+
vlcNeutral: string;
|
|
107
|
+
warning: string;
|
|
108
|
+
};
|
|
109
|
+
type ThemeColorKey = keyof typeof baseThemeColors;
|
|
110
|
+
declare const themeOrColorKeyValues: readonly string[];
|
|
111
|
+
type SurfaceThemeColorKey = [keyof LightsparkSurfaces, ThemeColorKey];
|
|
112
|
+
type ThemeOrColorKey = ThemeColorKey | ColorKey | SurfaceThemeColorKey;
|
|
113
|
+
declare const baseTheme: {
|
|
114
|
+
type: Themes;
|
|
115
|
+
typography: {
|
|
116
|
+
group: TypographyGroup;
|
|
117
|
+
fontFamilies: FontFamilies;
|
|
118
|
+
lineHeights: {
|
|
119
|
+
readonly "8xl": "72px";
|
|
120
|
+
readonly "7xl": "72px";
|
|
121
|
+
readonly "6xl": "60px";
|
|
122
|
+
readonly "5xl": "44px";
|
|
123
|
+
readonly "4xl": "40px";
|
|
124
|
+
readonly "3xl": "36px";
|
|
125
|
+
readonly "2xs": "14px";
|
|
126
|
+
readonly "2xl": "32px";
|
|
127
|
+
readonly lg: "24px";
|
|
128
|
+
readonly md: "20px";
|
|
129
|
+
readonly sm: "18px";
|
|
130
|
+
readonly xl: "28px";
|
|
131
|
+
readonly xs: "16px";
|
|
132
|
+
} | {
|
|
133
|
+
readonly "8xl": "72px";
|
|
134
|
+
readonly "7xl": "72px";
|
|
135
|
+
readonly "6xl": "60px";
|
|
136
|
+
readonly "5xl": "44px";
|
|
137
|
+
readonly "4xl": "40px";
|
|
138
|
+
readonly "3xl": "36px";
|
|
139
|
+
readonly "2xs": "14px";
|
|
140
|
+
readonly "2xl": "32px";
|
|
141
|
+
readonly lg: "24px";
|
|
142
|
+
readonly md: "20px";
|
|
143
|
+
readonly sm: "18px";
|
|
144
|
+
readonly xl: "28px";
|
|
145
|
+
readonly xs: "16px";
|
|
146
|
+
} | {
|
|
147
|
+
readonly "8xl": "72px";
|
|
148
|
+
readonly "7xl": "72px";
|
|
149
|
+
readonly "6xl": "72px";
|
|
150
|
+
readonly "5xl": "72px";
|
|
151
|
+
readonly "4xl": "60px";
|
|
152
|
+
readonly "3xl": "44px";
|
|
153
|
+
readonly "2xs": "16px";
|
|
154
|
+
readonly "2xl": "40px";
|
|
155
|
+
readonly lg: "32px";
|
|
156
|
+
readonly md: "28px";
|
|
157
|
+
readonly sm: "24px";
|
|
158
|
+
readonly xl: "36px";
|
|
159
|
+
readonly xs: "20px";
|
|
160
|
+
} | {
|
|
161
|
+
readonly "8xl": "72px";
|
|
162
|
+
readonly "7xl": "72px";
|
|
163
|
+
readonly "6xl": "72px";
|
|
164
|
+
readonly "5xl": "72px";
|
|
165
|
+
readonly "4xl": "60px";
|
|
166
|
+
readonly "3xl": "44px";
|
|
167
|
+
readonly "2xs": "16px";
|
|
168
|
+
readonly "2xl": "40px";
|
|
169
|
+
readonly lg: "32px";
|
|
170
|
+
readonly md: "28px";
|
|
171
|
+
readonly sm: "24px";
|
|
172
|
+
readonly xl: "36px";
|
|
173
|
+
readonly xs: "20px";
|
|
174
|
+
} | {
|
|
175
|
+
readonly "8xl": "72px";
|
|
176
|
+
readonly "7xl": "60px";
|
|
177
|
+
readonly "6xl": "44px";
|
|
178
|
+
readonly "5xl": "40px";
|
|
179
|
+
readonly "4xl": "36px";
|
|
180
|
+
readonly "3xl": "32px";
|
|
181
|
+
readonly "2xs": "16px";
|
|
182
|
+
readonly "2xl": "28px";
|
|
183
|
+
readonly lg: "22px";
|
|
184
|
+
readonly md: "20px";
|
|
185
|
+
readonly sm: "18px";
|
|
186
|
+
readonly xl: "24px";
|
|
187
|
+
readonly xs: "16px";
|
|
188
|
+
};
|
|
189
|
+
fontWeights: {
|
|
190
|
+
main: {
|
|
191
|
+
ExtraBold: number;
|
|
192
|
+
Bold: number;
|
|
193
|
+
SemiBold: number;
|
|
194
|
+
Medium: number;
|
|
195
|
+
};
|
|
196
|
+
code: {
|
|
197
|
+
Bold: number;
|
|
198
|
+
Regular: number;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
fontSize: {
|
|
202
|
+
"2xs": string;
|
|
203
|
+
xs: string;
|
|
204
|
+
sm: string;
|
|
205
|
+
md: string;
|
|
206
|
+
lg: string;
|
|
207
|
+
xl: string;
|
|
208
|
+
"2xl": string;
|
|
209
|
+
"3xl": string;
|
|
210
|
+
"4xl": string;
|
|
211
|
+
"5xl": string;
|
|
212
|
+
"6xl": string;
|
|
213
|
+
} | {
|
|
214
|
+
"2xs": string;
|
|
215
|
+
xs: string;
|
|
216
|
+
sm: string;
|
|
217
|
+
md: string;
|
|
218
|
+
lg: string;
|
|
219
|
+
xl: string;
|
|
220
|
+
"2xl": string;
|
|
221
|
+
"3xl": string;
|
|
222
|
+
"4xl": string;
|
|
223
|
+
"5xl": string;
|
|
224
|
+
"6xl": string;
|
|
225
|
+
} | {
|
|
226
|
+
"2xs": string;
|
|
227
|
+
xs: string;
|
|
228
|
+
sm: string;
|
|
229
|
+
md: string;
|
|
230
|
+
lg: string;
|
|
231
|
+
xl: string;
|
|
232
|
+
"2xl": string;
|
|
233
|
+
"3xl": string;
|
|
234
|
+
"4xl": string;
|
|
235
|
+
"5xl": string;
|
|
236
|
+
"6xl": string;
|
|
237
|
+
} | {
|
|
238
|
+
"2xs": string;
|
|
239
|
+
xs: string;
|
|
240
|
+
sm: string;
|
|
241
|
+
md: string;
|
|
242
|
+
lg: string;
|
|
243
|
+
xl: string;
|
|
244
|
+
"2xl": string;
|
|
245
|
+
"3xl": string;
|
|
246
|
+
"4xl": string;
|
|
247
|
+
"5xl": string;
|
|
248
|
+
"6xl": string;
|
|
249
|
+
} | {
|
|
250
|
+
"2xs": string;
|
|
251
|
+
xs: string;
|
|
252
|
+
md: string;
|
|
253
|
+
lg: string;
|
|
254
|
+
xl: string;
|
|
255
|
+
"2xl": string;
|
|
256
|
+
"3xl": string;
|
|
257
|
+
"4xl": string;
|
|
258
|
+
"5xl": string;
|
|
259
|
+
"6xl": string;
|
|
260
|
+
"7xl": string;
|
|
261
|
+
};
|
|
262
|
+
letterSpacing: {
|
|
263
|
+
"tight-max": string;
|
|
264
|
+
"tight-high": string;
|
|
265
|
+
"tight-medium": string;
|
|
266
|
+
"tight-low": string;
|
|
267
|
+
normal: string;
|
|
268
|
+
"loose-max": string;
|
|
269
|
+
} | {
|
|
270
|
+
"tight-max": string;
|
|
271
|
+
"tight-high": string;
|
|
272
|
+
"tight-medium": string;
|
|
273
|
+
"tight-low": string;
|
|
274
|
+
normal: string;
|
|
275
|
+
"loose-max": string;
|
|
276
|
+
} | {
|
|
277
|
+
tight: string;
|
|
278
|
+
normal: string;
|
|
279
|
+
loose: string;
|
|
280
|
+
} | {
|
|
281
|
+
tight: string;
|
|
282
|
+
normal: string;
|
|
283
|
+
loose: string;
|
|
284
|
+
} | {
|
|
285
|
+
tight: string;
|
|
286
|
+
normal: string;
|
|
287
|
+
};
|
|
288
|
+
textCase: {
|
|
289
|
+
none: string;
|
|
290
|
+
uppercase: string;
|
|
291
|
+
};
|
|
292
|
+
textDecoration: {
|
|
293
|
+
none: string;
|
|
294
|
+
};
|
|
295
|
+
paragraphIndent: {
|
|
296
|
+
0: string;
|
|
297
|
+
};
|
|
298
|
+
paragraphSpacing: {
|
|
299
|
+
default: string;
|
|
300
|
+
0: string;
|
|
301
|
+
16: string;
|
|
302
|
+
40: string;
|
|
303
|
+
};
|
|
304
|
+
types: {
|
|
305
|
+
Mobile: { [key in TypographyTypeKey]?: { [key_1 in TokenSizeKey]?: {
|
|
306
|
+
fontFamily: string;
|
|
307
|
+
fontWeight: string;
|
|
308
|
+
lineHeight: string;
|
|
309
|
+
fontSize: string;
|
|
310
|
+
letterSpacing: string;
|
|
311
|
+
paragraphSpacing: string;
|
|
312
|
+
paragraphIndent: string;
|
|
313
|
+
textCase: string;
|
|
314
|
+
textDecoration: string;
|
|
315
|
+
}; }; };
|
|
316
|
+
Desktop: { [key in TypographyTypeKey]?: { [key_1 in TokenSizeKey]?: {
|
|
317
|
+
fontFamily: string;
|
|
318
|
+
fontWeight: string;
|
|
319
|
+
lineHeight: string;
|
|
320
|
+
fontSize: string;
|
|
321
|
+
letterSpacing: string;
|
|
322
|
+
paragraphSpacing: string;
|
|
323
|
+
paragraphIndent: string;
|
|
324
|
+
textCase: string;
|
|
325
|
+
textDecoration: string;
|
|
326
|
+
}; }; };
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
hcNeutralFromBg: (bgHex: string) => string;
|
|
330
|
+
buttons: {
|
|
331
|
+
kinds: {
|
|
332
|
+
[x: string]: Partial<{
|
|
333
|
+
defaultSize: TokenSizeKey;
|
|
334
|
+
defaultTypographyType: AllowedButtonTypographyTypes;
|
|
335
|
+
defaultColor: ThemeOrColorKey;
|
|
336
|
+
defaultBorderRadius: ButtonBorderRadius;
|
|
337
|
+
defaultBorderWidth: number;
|
|
338
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
339
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
340
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
341
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
342
|
+
defaultOutlineOffset: number;
|
|
343
|
+
defaultPaddingsY: {
|
|
344
|
+
ExtraSmall: number;
|
|
345
|
+
Small: PaddingY;
|
|
346
|
+
Schmedium: number;
|
|
347
|
+
Medium: number;
|
|
348
|
+
Mlarge: number;
|
|
349
|
+
Large: number;
|
|
350
|
+
};
|
|
351
|
+
kinds: {};
|
|
352
|
+
}>;
|
|
353
|
+
};
|
|
354
|
+
defaultSize: TokenSizeKey;
|
|
355
|
+
defaultTypographyType: AllowedButtonTypographyTypes;
|
|
356
|
+
defaultColor: ThemeOrColorKey;
|
|
357
|
+
defaultBorderRadius: ButtonBorderRadius;
|
|
358
|
+
defaultBorderWidth: number;
|
|
359
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
360
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
361
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
362
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
363
|
+
defaultOutlineOffset: number;
|
|
364
|
+
defaultPaddingsY: {
|
|
365
|
+
ExtraSmall: number;
|
|
366
|
+
Small: PaddingY;
|
|
367
|
+
Schmedium: number;
|
|
368
|
+
Medium: number;
|
|
369
|
+
Mlarge: number;
|
|
370
|
+
Large: number;
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
loading: {
|
|
374
|
+
kinds: {
|
|
375
|
+
[x: string]: Partial<{
|
|
376
|
+
defaultIconName: IconName;
|
|
377
|
+
kinds: {};
|
|
378
|
+
}>;
|
|
379
|
+
};
|
|
380
|
+
defaultIconName: IconName;
|
|
381
|
+
};
|
|
382
|
+
badge: {
|
|
383
|
+
bg: ThemeOrColorKey;
|
|
384
|
+
};
|
|
385
|
+
inputBackground: string;
|
|
386
|
+
bg: string;
|
|
387
|
+
smBg: string;
|
|
388
|
+
c05Neutral: string;
|
|
389
|
+
c1Neutral: string;
|
|
390
|
+
c15Neutral: string;
|
|
391
|
+
c2Neutral: string;
|
|
392
|
+
c25Neutral: string;
|
|
393
|
+
c3Neutral: string;
|
|
394
|
+
c4Neutral: string;
|
|
395
|
+
c5Neutral: string;
|
|
396
|
+
c6Neutral: string;
|
|
397
|
+
c7Neutral: string;
|
|
398
|
+
c8Neutral: string;
|
|
399
|
+
c9Neutral: string;
|
|
400
|
+
danger: string;
|
|
401
|
+
hcNeutral: string;
|
|
402
|
+
info: string;
|
|
403
|
+
lcNeutral: string;
|
|
404
|
+
link: string;
|
|
405
|
+
mcNeutral: string;
|
|
406
|
+
onInfoText: string;
|
|
407
|
+
onPrimaryText: string;
|
|
408
|
+
onSuccessText: string;
|
|
409
|
+
primary: string;
|
|
410
|
+
secondary: string;
|
|
411
|
+
tertiary: string;
|
|
412
|
+
success: string;
|
|
413
|
+
text: string;
|
|
414
|
+
vlcNeutral: string;
|
|
415
|
+
warning: string;
|
|
416
|
+
};
|
|
417
|
+
type BaseTheme = typeof baseTheme;
|
|
418
|
+
type LightsparkSurfaces = {
|
|
419
|
+
header: BaseTheme;
|
|
420
|
+
nav: BaseTheme;
|
|
421
|
+
content: BaseTheme;
|
|
422
|
+
controls: BaseTheme;
|
|
423
|
+
};
|
|
424
|
+
type LightsparkTheme = BaseTheme & LightsparkSurfaces;
|
|
425
|
+
declare module "@emotion/react" {
|
|
426
|
+
interface Theme extends LightsparkTheme {
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
declare const themes: {
|
|
430
|
+
readonly light: LightsparkTheme;
|
|
431
|
+
readonly dark: LightsparkTheme;
|
|
432
|
+
readonly lightsparkDocsLight: LightsparkTheme;
|
|
433
|
+
readonly lightsparkDocsDark: LightsparkTheme;
|
|
434
|
+
readonly umaAuthSdkLight: LightsparkTheme;
|
|
435
|
+
readonly umaAuthSdkDark: LightsparkTheme;
|
|
436
|
+
readonly umameDocsLight: LightsparkTheme;
|
|
437
|
+
readonly umameDocsDark: LightsparkTheme;
|
|
438
|
+
readonly bridgeLight: LightsparkTheme;
|
|
439
|
+
readonly bridgeDark: LightsparkTheme;
|
|
440
|
+
};
|
|
441
|
+
declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
442
|
+
typography: {
|
|
443
|
+
group: TypographyGroup;
|
|
444
|
+
fontFamilies: FontFamilies;
|
|
445
|
+
lineHeights: {
|
|
446
|
+
readonly "8xl": "72px";
|
|
447
|
+
readonly "7xl": "72px";
|
|
448
|
+
readonly "6xl": "60px";
|
|
449
|
+
readonly "5xl": "44px";
|
|
450
|
+
readonly "4xl": "40px";
|
|
451
|
+
readonly "3xl": "36px";
|
|
452
|
+
readonly "2xs": "14px";
|
|
453
|
+
readonly "2xl": "32px";
|
|
454
|
+
readonly lg: "24px";
|
|
455
|
+
readonly md: "20px";
|
|
456
|
+
readonly sm: "18px";
|
|
457
|
+
readonly xl: "28px";
|
|
458
|
+
readonly xs: "16px";
|
|
459
|
+
} | {
|
|
460
|
+
readonly "8xl": "72px";
|
|
461
|
+
readonly "7xl": "72px";
|
|
462
|
+
readonly "6xl": "60px";
|
|
463
|
+
readonly "5xl": "44px";
|
|
464
|
+
readonly "4xl": "40px";
|
|
465
|
+
readonly "3xl": "36px";
|
|
466
|
+
readonly "2xs": "14px";
|
|
467
|
+
readonly "2xl": "32px";
|
|
468
|
+
readonly lg: "24px";
|
|
469
|
+
readonly md: "20px";
|
|
470
|
+
readonly sm: "18px";
|
|
471
|
+
readonly xl: "28px";
|
|
472
|
+
readonly xs: "16px";
|
|
473
|
+
} | {
|
|
474
|
+
readonly "8xl": "72px";
|
|
475
|
+
readonly "7xl": "72px";
|
|
476
|
+
readonly "6xl": "72px";
|
|
477
|
+
readonly "5xl": "72px";
|
|
478
|
+
readonly "4xl": "60px";
|
|
479
|
+
readonly "3xl": "44px";
|
|
480
|
+
readonly "2xs": "16px";
|
|
481
|
+
readonly "2xl": "40px";
|
|
482
|
+
readonly lg: "32px";
|
|
483
|
+
readonly md: "28px";
|
|
484
|
+
readonly sm: "24px";
|
|
485
|
+
readonly xl: "36px";
|
|
486
|
+
readonly xs: "20px";
|
|
487
|
+
} | {
|
|
488
|
+
readonly "8xl": "72px";
|
|
489
|
+
readonly "7xl": "72px";
|
|
490
|
+
readonly "6xl": "72px";
|
|
491
|
+
readonly "5xl": "72px";
|
|
492
|
+
readonly "4xl": "60px";
|
|
493
|
+
readonly "3xl": "44px";
|
|
494
|
+
readonly "2xs": "16px";
|
|
495
|
+
readonly "2xl": "40px";
|
|
496
|
+
readonly lg: "32px";
|
|
497
|
+
readonly md: "28px";
|
|
498
|
+
readonly sm: "24px";
|
|
499
|
+
readonly xl: "36px";
|
|
500
|
+
readonly xs: "20px";
|
|
501
|
+
} | {
|
|
502
|
+
readonly "8xl": "72px";
|
|
503
|
+
readonly "7xl": "60px";
|
|
504
|
+
readonly "6xl": "44px";
|
|
505
|
+
readonly "5xl": "40px";
|
|
506
|
+
readonly "4xl": "36px";
|
|
507
|
+
readonly "3xl": "32px";
|
|
508
|
+
readonly "2xs": "16px";
|
|
509
|
+
readonly "2xl": "28px";
|
|
510
|
+
readonly lg: "22px";
|
|
511
|
+
readonly md: "20px";
|
|
512
|
+
readonly sm: "18px";
|
|
513
|
+
readonly xl: "24px";
|
|
514
|
+
readonly xs: "16px";
|
|
515
|
+
};
|
|
516
|
+
fontWeights: {
|
|
517
|
+
main: {
|
|
518
|
+
ExtraBold: number;
|
|
519
|
+
Bold: number;
|
|
520
|
+
SemiBold: number;
|
|
521
|
+
Medium: number;
|
|
522
|
+
};
|
|
523
|
+
code: {
|
|
524
|
+
Bold: number;
|
|
525
|
+
Regular: number;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
fontSize: {
|
|
529
|
+
"2xs": string;
|
|
530
|
+
xs: string;
|
|
531
|
+
sm: string;
|
|
532
|
+
md: string;
|
|
533
|
+
lg: string;
|
|
534
|
+
xl: string;
|
|
535
|
+
"2xl": string;
|
|
536
|
+
"3xl": string;
|
|
537
|
+
"4xl": string;
|
|
538
|
+
"5xl": string;
|
|
539
|
+
"6xl": string;
|
|
540
|
+
} | {
|
|
541
|
+
"2xs": string;
|
|
542
|
+
xs: string;
|
|
543
|
+
sm: string;
|
|
544
|
+
md: string;
|
|
545
|
+
lg: string;
|
|
546
|
+
xl: string;
|
|
547
|
+
"2xl": string;
|
|
548
|
+
"3xl": string;
|
|
549
|
+
"4xl": string;
|
|
550
|
+
"5xl": string;
|
|
551
|
+
"6xl": string;
|
|
552
|
+
} | {
|
|
553
|
+
"2xs": string;
|
|
554
|
+
xs: string;
|
|
555
|
+
sm: string;
|
|
556
|
+
md: string;
|
|
557
|
+
lg: string;
|
|
558
|
+
xl: string;
|
|
559
|
+
"2xl": string;
|
|
560
|
+
"3xl": string;
|
|
561
|
+
"4xl": string;
|
|
562
|
+
"5xl": string;
|
|
563
|
+
"6xl": string;
|
|
564
|
+
} | {
|
|
565
|
+
"2xs": string;
|
|
566
|
+
xs: string;
|
|
567
|
+
sm: string;
|
|
568
|
+
md: string;
|
|
569
|
+
lg: string;
|
|
570
|
+
xl: string;
|
|
571
|
+
"2xl": string;
|
|
572
|
+
"3xl": string;
|
|
573
|
+
"4xl": string;
|
|
574
|
+
"5xl": string;
|
|
575
|
+
"6xl": string;
|
|
576
|
+
} | {
|
|
577
|
+
"2xs": string;
|
|
578
|
+
xs: string;
|
|
579
|
+
md: string;
|
|
580
|
+
lg: string;
|
|
581
|
+
xl: string;
|
|
582
|
+
"2xl": string;
|
|
583
|
+
"3xl": string;
|
|
584
|
+
"4xl": string;
|
|
585
|
+
"5xl": string;
|
|
586
|
+
"6xl": string;
|
|
587
|
+
"7xl": string;
|
|
588
|
+
};
|
|
589
|
+
letterSpacing: {
|
|
590
|
+
"tight-max": string;
|
|
591
|
+
"tight-high": string;
|
|
592
|
+
"tight-medium": string;
|
|
593
|
+
"tight-low": string;
|
|
594
|
+
normal: string;
|
|
595
|
+
"loose-max": string;
|
|
596
|
+
} | {
|
|
597
|
+
"tight-max": string;
|
|
598
|
+
"tight-high": string;
|
|
599
|
+
"tight-medium": string;
|
|
600
|
+
"tight-low": string;
|
|
601
|
+
normal: string;
|
|
602
|
+
"loose-max": string;
|
|
603
|
+
} | {
|
|
604
|
+
tight: string;
|
|
605
|
+
normal: string;
|
|
606
|
+
loose: string;
|
|
607
|
+
} | {
|
|
608
|
+
tight: string;
|
|
609
|
+
normal: string;
|
|
610
|
+
loose: string;
|
|
611
|
+
} | {
|
|
612
|
+
tight: string;
|
|
613
|
+
normal: string;
|
|
614
|
+
};
|
|
615
|
+
textCase: {
|
|
616
|
+
none: string;
|
|
617
|
+
uppercase: string;
|
|
618
|
+
};
|
|
619
|
+
textDecoration: {
|
|
620
|
+
none: string;
|
|
621
|
+
};
|
|
622
|
+
paragraphIndent: {
|
|
623
|
+
0: string;
|
|
624
|
+
};
|
|
625
|
+
paragraphSpacing: {
|
|
626
|
+
default: string;
|
|
627
|
+
0: string;
|
|
628
|
+
16: string;
|
|
629
|
+
40: string;
|
|
630
|
+
};
|
|
631
|
+
types: {
|
|
632
|
+
Mobile: { [key in TypographyTypeKey]?: { [key_1 in TokenSizeKey]?: {
|
|
633
|
+
fontFamily: string;
|
|
634
|
+
fontWeight: string;
|
|
635
|
+
lineHeight: string;
|
|
636
|
+
fontSize: string;
|
|
637
|
+
letterSpacing: string;
|
|
638
|
+
paragraphSpacing: string;
|
|
639
|
+
paragraphIndent: string;
|
|
640
|
+
textCase: string;
|
|
641
|
+
textDecoration: string;
|
|
642
|
+
}; }; };
|
|
643
|
+
Desktop: { [key in TypographyTypeKey]?: { [key_1 in TokenSizeKey]?: {
|
|
644
|
+
fontFamily: string;
|
|
645
|
+
fontWeight: string;
|
|
646
|
+
lineHeight: string;
|
|
647
|
+
fontSize: string;
|
|
648
|
+
letterSpacing: string;
|
|
649
|
+
paragraphSpacing: string;
|
|
650
|
+
paragraphIndent: string;
|
|
651
|
+
textCase: string;
|
|
652
|
+
textDecoration: string;
|
|
653
|
+
}; }; };
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
type: Themes;
|
|
657
|
+
hcNeutralFromBg: (bgHex: string) => string;
|
|
658
|
+
buttons: {
|
|
659
|
+
kinds: {
|
|
660
|
+
[x: string]: Partial<{
|
|
661
|
+
defaultSize: TokenSizeKey;
|
|
662
|
+
defaultTypographyType: AllowedButtonTypographyTypes;
|
|
663
|
+
defaultColor: ThemeOrColorKey;
|
|
664
|
+
defaultBorderRadius: ButtonBorderRadius;
|
|
665
|
+
defaultBorderWidth: number;
|
|
666
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
667
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
668
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
669
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
670
|
+
defaultOutlineOffset: number;
|
|
671
|
+
defaultPaddingsY: {
|
|
672
|
+
ExtraSmall: number;
|
|
673
|
+
Small: PaddingY;
|
|
674
|
+
Schmedium: number;
|
|
675
|
+
Medium: number;
|
|
676
|
+
Mlarge: number;
|
|
677
|
+
Large: number;
|
|
678
|
+
};
|
|
679
|
+
kinds: {};
|
|
680
|
+
}>;
|
|
681
|
+
};
|
|
682
|
+
defaultSize: TokenSizeKey;
|
|
683
|
+
defaultTypographyType: AllowedButtonTypographyTypes;
|
|
684
|
+
defaultColor: ThemeOrColorKey;
|
|
685
|
+
defaultBorderRadius: ButtonBorderRadius;
|
|
686
|
+
defaultBorderWidth: number;
|
|
687
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
688
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
689
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
690
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
691
|
+
defaultOutlineOffset: number;
|
|
692
|
+
defaultPaddingsY: {
|
|
693
|
+
ExtraSmall: number;
|
|
694
|
+
Small: PaddingY;
|
|
695
|
+
Schmedium: number;
|
|
696
|
+
Medium: number;
|
|
697
|
+
Mlarge: number;
|
|
698
|
+
Large: number;
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
loading: {
|
|
702
|
+
kinds: {
|
|
703
|
+
[x: string]: Partial<{
|
|
704
|
+
defaultIconName: IconName;
|
|
705
|
+
kinds: {};
|
|
706
|
+
}>;
|
|
707
|
+
};
|
|
708
|
+
defaultIconName: IconName;
|
|
709
|
+
};
|
|
710
|
+
badge: {
|
|
711
|
+
bg: ThemeOrColorKey;
|
|
712
|
+
};
|
|
713
|
+
inputBackground: string;
|
|
714
|
+
bg: string;
|
|
715
|
+
smBg: string;
|
|
716
|
+
c05Neutral: string;
|
|
717
|
+
c1Neutral: string;
|
|
718
|
+
c15Neutral: string;
|
|
719
|
+
c2Neutral: string;
|
|
720
|
+
c25Neutral: string;
|
|
721
|
+
c3Neutral: string;
|
|
722
|
+
c4Neutral: string;
|
|
723
|
+
c5Neutral: string;
|
|
724
|
+
c6Neutral: string;
|
|
725
|
+
c7Neutral: string;
|
|
726
|
+
c8Neutral: string;
|
|
727
|
+
c9Neutral: string;
|
|
728
|
+
danger: string;
|
|
729
|
+
hcNeutral: string;
|
|
730
|
+
info: string;
|
|
731
|
+
lcNeutral: string;
|
|
732
|
+
link: string;
|
|
733
|
+
mcNeutral: string;
|
|
734
|
+
onInfoText: string;
|
|
735
|
+
onPrimaryText: string;
|
|
736
|
+
onSuccessText: string;
|
|
737
|
+
primary: string;
|
|
738
|
+
secondary: string;
|
|
739
|
+
tertiary: string;
|
|
740
|
+
success: string;
|
|
741
|
+
text: string;
|
|
742
|
+
vlcNeutral: string;
|
|
743
|
+
warning: string;
|
|
744
|
+
header: BaseTheme;
|
|
745
|
+
nav: BaseTheme;
|
|
746
|
+
content: BaseTheme;
|
|
747
|
+
controls: BaseTheme;
|
|
748
|
+
};
|
|
749
|
+
declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
|
|
750
|
+
declare function isThemeOrColorKey(key: unknown): key is ThemeOrColorKey;
|
|
751
|
+
declare function getColor(theme: LightsparkTheme, key?: ThemeOrColorKey | undefined): string;
|
|
752
|
+
type FontColorKey = ThemeOrColorKey | "inherit";
|
|
753
|
+
declare function getFontColor(theme: LightsparkTheme, key?: FontColorKey | undefined, defaultColor?: ThemeColorKey | "inherit"): string;
|
|
754
|
+
type BackgroundColorKey = ThemeOrColorKey | "transparent";
|
|
755
|
+
type BackgroundColorKeyArg = BackgroundColorKey | [BackgroundColorKey, BackgroundColorKey];
|
|
756
|
+
declare function isBackgroundColorKey(key: unknown): key is BackgroundColorKey;
|
|
757
|
+
declare function isBackgroundColorKeyTuple(key: unknown): key is [BackgroundColorKey, BackgroundColorKey];
|
|
758
|
+
declare function getBackgroundColor(theme: LightsparkTheme, key?: BackgroundColorKeyArg | undefined, defaultColor?: BackgroundColorKeyArg): string;
|
|
759
|
+
declare const isDark: (theme: Theme) => boolean;
|
|
760
|
+
declare const isLight: (theme: Theme) => boolean;
|
|
761
|
+
declare const themeOr: (lightValue: string, darkValue: string) => ({ theme }: {
|
|
762
|
+
theme: Theme;
|
|
763
|
+
}) => string;
|
|
764
|
+
declare const themeOrWithKey: (lightValue: ThemeOrColorKey, darkValue: ThemeOrColorKey) => ({ theme }: {
|
|
765
|
+
theme: Theme;
|
|
766
|
+
}) => string;
|
|
767
|
+
declare function ifLight(style: CSSInterpolation): ({ theme }: {
|
|
768
|
+
theme: LightsparkTheme;
|
|
769
|
+
}) => _emotion_react.SerializedStyles | "";
|
|
770
|
+
declare function ifDark(style: CSSInterpolation): ({ theme }: {
|
|
771
|
+
theme: LightsparkTheme;
|
|
772
|
+
}) => _emotion_react.SerializedStyles | "";
|
|
773
|
+
declare function useThemeBg(): string;
|
|
774
|
+
type ThemeProp = {
|
|
775
|
+
theme: Theme;
|
|
776
|
+
};
|
|
777
|
+
type WithTheme<T extends Record<string, unknown>> = T & ThemeProp;
|
|
778
|
+
|
|
779
|
+
export { type AllowedButtonTypographyTypes as A, type ButtonTypographyArgs as B, ifDark as C, useThemeBg as D, type FontColorKey as F, type LightsparkTheme as L, type PaddingYKey as P, type SurfaceThemeColorKey as S, type ThemeOrColorKey as T, type WithTheme as W, type ButtonBorderRadius as a, type ThemeProp as b, Themes as c, type PaddingY as d, buttonBorderRadiuses as e, allowedButtonTypographyTypes as f, buttonsThemeBase as g, type ButtonsThemeKey as h, defaultButtonsTheme as i, themes as j, isThemeColorKey as k, isThemeOrColorKey as l, getColor as m, getFontColor as n, type BackgroundColorKey as o, type BackgroundColorKeyArg as p, isBackgroundColorKey as q, isBackgroundColorKeyTuple as r, setFonts as s, themeOrColorKeyValues as t, getBackgroundColor as u, isDark as v, isLight as w, themeOr as x, themeOrWithKey as y, ifLight as z };
|