@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,191 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkNVVAOGNLcjs = require('./chunk-NVVAOGNL.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkI6Y7IHF5cjs = require('./chunk-I6Y7IHF5.cjs');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _chunkJX6HEEEQcjs = require('./chunk-JX6HEEEQ.cjs');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
26
|
+
|
|
27
|
+
// src/components/Select.tsx
|
|
28
|
+
var _react = require('@emotion/react');
|
|
29
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
30
|
+
var _reactselect = require('react-select'); var _reactselect2 = _interopRequireDefault(_reactselect);
|
|
31
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
32
|
+
function Select(_a) {
|
|
33
|
+
var _b = _a, {
|
|
34
|
+
zIndex,
|
|
35
|
+
selectRef,
|
|
36
|
+
label,
|
|
37
|
+
openMenuOnFocus = true,
|
|
38
|
+
tabSelectsValue = false,
|
|
39
|
+
getOptionStyles
|
|
40
|
+
} = _b, rest = _chunkYM5JDZDQcjs.__objRest.call(void 0, _b, [
|
|
41
|
+
"zIndex",
|
|
42
|
+
"selectRef",
|
|
43
|
+
"label",
|
|
44
|
+
"openMenuOnFocus",
|
|
45
|
+
"tabSelectsValue",
|
|
46
|
+
"getOptionStyles"
|
|
47
|
+
]);
|
|
48
|
+
const theme = _react.useTheme.call(void 0, );
|
|
49
|
+
const styles = {
|
|
50
|
+
container: (styles2, state) => {
|
|
51
|
+
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
52
|
+
width: _chunkNVVAOGNLcjs.fieldWidth,
|
|
53
|
+
maxWidth: _chunkNVVAOGNLcjs.maxFieldWidth,
|
|
54
|
+
zIndex: _chunkZU72XWNEcjs.z.select
|
|
55
|
+
});
|
|
56
|
+
},
|
|
57
|
+
control: (styles2, state) => {
|
|
58
|
+
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
59
|
+
transition: "none",
|
|
60
|
+
padding: state.menuIsOpen || state.isFocused ? `${_chunkNVVAOGNLcjs.textInputPaddingPx - 1}px` : _chunkNVVAOGNLcjs.textInputPadding,
|
|
61
|
+
boxShadow: "none",
|
|
62
|
+
background: theme.bg,
|
|
63
|
+
minHeight: 0,
|
|
64
|
+
fontSize: 14,
|
|
65
|
+
borderWidth: state.menuIsOpen || state.isFocused ? "2px" : "1px",
|
|
66
|
+
"&:hover": {
|
|
67
|
+
borderColor: state.menuIsOpen ? _chunkNVVAOGNLcjs.textInputBorderColorFocused.call(void 0, { theme }) : _chunkNVVAOGNLcjs.textInputBorderColor.call(void 0, { theme })
|
|
68
|
+
},
|
|
69
|
+
borderColor: state.menuIsOpen || state.isFocused ? _chunkNVVAOGNLcjs.textInputBorderColorFocused.call(void 0, { theme }) : _chunkNVVAOGNLcjs.textInputBorderColor.call(void 0, { theme })
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
indicatorsContainer: (styles2) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
73
|
+
padding: "0 8px"
|
|
74
|
+
}),
|
|
75
|
+
indicatorSeparator: (styles2) => ({
|
|
76
|
+
display: "none"
|
|
77
|
+
}),
|
|
78
|
+
menu: (styles2, state) => {
|
|
79
|
+
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
80
|
+
overflow: "hidden",
|
|
81
|
+
border: `2px solid ${theme.lcNeutral}`,
|
|
82
|
+
backgroundColor: theme.bg,
|
|
83
|
+
boxShadow: "0px 3px 6px 1px rgba(0,0,0,0.05)",
|
|
84
|
+
borderColor: theme.hcNeutral,
|
|
85
|
+
width: "max-content",
|
|
86
|
+
minWidth: "100%"
|
|
87
|
+
});
|
|
88
|
+
},
|
|
89
|
+
option: (styles2, props) => {
|
|
90
|
+
const optionStyles = getOptionStyles ? getOptionStyles(styles2, props) : {};
|
|
91
|
+
return _chunkYM5JDZDQcjs.__spreadValues.call(void 0, _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
92
|
+
color: props.isFocused ? _chunkJX6HEEEQcjs.getColor.call(void 0, theme, _chunkNVVAOGNLcjs.defaultTextInputTypography.color) : props.isDisabled ? _chunkNVVAOGNLcjs.textInputPlaceholderColor.call(void 0, { theme }) : _chunkJX6HEEEQcjs.getColor.call(void 0, theme, _chunkNVVAOGNLcjs.defaultTextInputTypography.color),
|
|
93
|
+
fontWeight: 600,
|
|
94
|
+
cursor: "pointer",
|
|
95
|
+
backgroundColor: props.isFocused ? _chunkJX6HEEEQcjs.themeOr.call(void 0, theme.c05Neutral, theme.c2Neutral)({ theme }) : theme.bg,
|
|
96
|
+
WebkitTapHighlightColor: theme.c1Neutral,
|
|
97
|
+
"&:active": {
|
|
98
|
+
backgroundColor: _chunkJX6HEEEQcjs.themeOr.call(void 0,
|
|
99
|
+
theme.c05Neutral,
|
|
100
|
+
theme.c5Neutral
|
|
101
|
+
)({ theme })
|
|
102
|
+
}
|
|
103
|
+
}), optionStyles);
|
|
104
|
+
},
|
|
105
|
+
menuPortal: (styles2) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
106
|
+
fontSize: 14,
|
|
107
|
+
zIndex: zIndex || _chunkZU72XWNEcjs.z.selectFocused
|
|
108
|
+
}),
|
|
109
|
+
singleValue: (styles2) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
110
|
+
color: theme.text,
|
|
111
|
+
fontWeight: 600,
|
|
112
|
+
fontSize: 14
|
|
113
|
+
}),
|
|
114
|
+
placeholder: (styles2) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
115
|
+
color: theme.mcNeutral
|
|
116
|
+
}),
|
|
117
|
+
valueContainer: (styles2) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
118
|
+
padding: 0
|
|
119
|
+
}),
|
|
120
|
+
input: (styles2) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
121
|
+
color: theme.text,
|
|
122
|
+
fontWeight: 600,
|
|
123
|
+
fontSize: 14
|
|
124
|
+
})
|
|
125
|
+
};
|
|
126
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledSelect, { children: [
|
|
127
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectLabel, { hasError: false, children: label }),
|
|
128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
129
|
+
_reactselect2.default,
|
|
130
|
+
_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, rest), {
|
|
131
|
+
styles,
|
|
132
|
+
openMenuOnFocus,
|
|
133
|
+
tabSelectsValue,
|
|
134
|
+
menuPortalTarget: document.body,
|
|
135
|
+
ref: selectRef,
|
|
136
|
+
components: {
|
|
137
|
+
DropdownIndicator: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI6Y7IHF5cjs.Icon, { name: "Chevron", width: 16 })
|
|
138
|
+
// Option: (option) => {
|
|
139
|
+
// return <div>Option</div>;
|
|
140
|
+
// },
|
|
141
|
+
},
|
|
142
|
+
theme: (selectTheme) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, selectTheme), {
|
|
143
|
+
borderRadius: 8,
|
|
144
|
+
colors: {
|
|
145
|
+
danger: theme.danger,
|
|
146
|
+
dangerLight: "#ff8",
|
|
147
|
+
primary: theme.text,
|
|
148
|
+
primary75: "#ccc",
|
|
149
|
+
primary50: "#888",
|
|
150
|
+
primary25: "#444",
|
|
151
|
+
neutral0: "#000",
|
|
152
|
+
neutral5: "#111",
|
|
153
|
+
neutral10: "#222",
|
|
154
|
+
neutral20: "#999",
|
|
155
|
+
neutral30: "#aaa",
|
|
156
|
+
neutral40: "#bbb",
|
|
157
|
+
neutral50: "#bbb",
|
|
158
|
+
neutral60: "#ccc",
|
|
159
|
+
neutral70: "#ccc",
|
|
160
|
+
neutral80: "#ddd",
|
|
161
|
+
neutral90: "#ddd"
|
|
162
|
+
}
|
|
163
|
+
})
|
|
164
|
+
})
|
|
165
|
+
)
|
|
166
|
+
] });
|
|
167
|
+
}
|
|
168
|
+
var SelectLabel = _styled2.default.label`
|
|
169
|
+
font-size: 10px;
|
|
170
|
+
position: absolute;
|
|
171
|
+
z-index: ${_chunkZU72XWNEcjs.z.select + 1};
|
|
172
|
+
background-color: ${({ theme }) => theme.bg};
|
|
173
|
+
color: ${({ theme, hasError }) => hasError ? theme.danger : theme.mcNeutral};
|
|
174
|
+
font-weight: 600;
|
|
175
|
+
padding: 0px 6px;
|
|
176
|
+
left: 12px;
|
|
177
|
+
top: -6px;
|
|
178
|
+
`;
|
|
179
|
+
var StyledSelect = _styled2.default.div`
|
|
180
|
+
position: relative;
|
|
181
|
+
& + & {
|
|
182
|
+
margin-top: 8px;
|
|
183
|
+
}
|
|
184
|
+
`;
|
|
185
|
+
var Select_default = Select;
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
exports.Select = Select; exports.StyledSelect = StyledSelect; exports.Select_default = Select_default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUN4FMYEQcjs = require('./chunk-UN4FMYEQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk23NA5VW6cjs = require('./chunk-23NA5VW6.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkJX6HEEEQcjs = require('./chunk-JX6HEEEQ.cjs');
|
|
14
14
|
|
|
15
15
|
// src/styles/fields.tsx
|
|
16
16
|
var _react = require('@emotion/react');
|
|
@@ -25,16 +25,16 @@ var formButtonTopMarginStyle = _react.css`
|
|
|
25
25
|
margin-top: ${formButtonTopMargin};
|
|
26
26
|
`;
|
|
27
27
|
var standardBorderColor = ({ theme }) => _react.css`
|
|
28
|
-
border-color: ${
|
|
28
|
+
border-color: ${_chunkJX6HEEEQcjs.themeOr.call(void 0, theme.c1Neutral, theme.mcNeutral)({ theme })};
|
|
29
29
|
`;
|
|
30
30
|
var inputBlockStyle = ({
|
|
31
31
|
theme,
|
|
32
32
|
hasValue,
|
|
33
33
|
hasError
|
|
34
34
|
}) => _react.css`
|
|
35
|
-
${
|
|
35
|
+
${_chunk23NA5VW6cjs.subtext.call(void 0, { theme })}
|
|
36
36
|
${standardBorderColor({ theme })}
|
|
37
|
-
${
|
|
37
|
+
${_chunk23NA5VW6cjs.standardBorderRadius.call(void 0, 8)}
|
|
38
38
|
background-color: ${theme.bg};
|
|
39
39
|
border-width: 2px;
|
|
40
40
|
display: flex;
|
|
@@ -51,8 +51,8 @@ var textInputFontWeight = 600;
|
|
|
51
51
|
var textInputBorderRadiusPx = 8;
|
|
52
52
|
var textInputPaddingPx = 12;
|
|
53
53
|
var textInputPadding = `${textInputPaddingPx}px`;
|
|
54
|
-
var textInputBorderColor = ({ theme }) =>
|
|
55
|
-
var textInputBorderColorFocused = ({ theme }) =>
|
|
54
|
+
var textInputBorderColor = ({ theme }) => _chunkJX6HEEEQcjs.themeOr.call(void 0, theme.c1Neutral, theme.c3Neutral)({ theme });
|
|
55
|
+
var textInputBorderColorFocused = ({ theme }) => _chunkJX6HEEEQcjs.themeOr.call(void 0, theme.hcNeutral, theme.hcNeutral)({ theme });
|
|
56
56
|
var textInputActiveStyles = ({
|
|
57
57
|
theme,
|
|
58
58
|
paddingLeftPx,
|
|
@@ -76,11 +76,12 @@ var textInputStyle = ({
|
|
|
76
76
|
hasError,
|
|
77
77
|
paddingLeftPx,
|
|
78
78
|
paddingRightPx,
|
|
79
|
-
typography
|
|
79
|
+
typography,
|
|
80
|
+
borderRadius
|
|
80
81
|
}) => {
|
|
81
82
|
var _a;
|
|
82
83
|
return _react.css`
|
|
83
|
-
border-radius: ${textInputBorderRadiusPx}px;
|
|
84
|
+
border-radius: ${borderRadius === "round" ? "999" : textInputBorderRadiusPx}px;
|
|
84
85
|
background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
|
|
85
86
|
cursor: ${disabled ? "not-allowed" : "auto"};
|
|
86
87
|
box-sizing: border-box;
|
|
@@ -98,7 +99,7 @@ var textInputStyle = ({
|
|
|
98
99
|
line-height: 22px;
|
|
99
100
|
outline: none;
|
|
100
101
|
|
|
101
|
-
${
|
|
102
|
+
${_chunkUN4FMYEQcjs.applyTypography.call(void 0,
|
|
102
103
|
theme,
|
|
103
104
|
(typography == null ? void 0 : typography.type) || defaultTextInputTypography.type,
|
|
104
105
|
(typography == null ? void 0 : typography.size) || defaultTextInputTypography.size,
|
|
@@ -207,11 +208,11 @@ var labelStyle = ({
|
|
|
207
208
|
}
|
|
208
209
|
`;
|
|
209
210
|
var Label = _styled2.default.label`
|
|
210
|
-
${
|
|
211
|
+
${_chunk23NA5VW6cjs.subtext}
|
|
211
212
|
${labelStyle}
|
|
212
213
|
`;
|
|
213
214
|
var LabelDiv = _styled2.default.div`
|
|
214
|
-
${
|
|
215
|
+
${_chunk23NA5VW6cjs.subtext}
|
|
215
216
|
${labelStyle}
|
|
216
217
|
`;
|
|
217
218
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
toReactNodesBase
|
|
3
|
+
} from "./chunk-HQO3PIAY.js";
|
|
4
|
+
import {
|
|
5
|
+
isTextNode
|
|
6
|
+
} from "./chunk-G5IVQ4O3.js";
|
|
7
|
+
import {
|
|
8
|
+
renderTypography
|
|
9
|
+
} from "./chunk-5GLOHTP6.js";
|
|
10
|
+
import {
|
|
11
|
+
__objRest,
|
|
12
|
+
__spreadProps,
|
|
13
|
+
__spreadValues
|
|
14
|
+
} from "./chunk-CWMXXUWU.js";
|
|
15
|
+
|
|
16
|
+
// src/utils/toReactNodes/toReactNodes.tsx
|
|
17
|
+
import { ensureArray } from "@lightsparkdev/core";
|
|
18
|
+
import { Fragment } from "react";
|
|
19
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
20
|
+
function toReactNodes(toReactNodesArg) {
|
|
21
|
+
const toReactNodesArray = ensureArray(toReactNodesArg);
|
|
22
|
+
const reactNodes = toReactNodesArray.map((node, i) => {
|
|
23
|
+
let content;
|
|
24
|
+
if (!node) {
|
|
25
|
+
return null;
|
|
26
|
+
} else if (isTextNode(node) && node.typography) {
|
|
27
|
+
const _a = node.typography, { type: typographyType } = _a, typographyProps = __objRest(_a, ["type"]);
|
|
28
|
+
content = /* @__PURE__ */ jsx(Fragment, { children: renderTypography(typographyType, __spreadProps(__spreadValues({}, typographyProps), {
|
|
29
|
+
content: node.text
|
|
30
|
+
})) }, `typography-${i}-${node.text.substr(0, 10)}`);
|
|
31
|
+
} else {
|
|
32
|
+
content = toReactNodesBase(node);
|
|
33
|
+
}
|
|
34
|
+
return content || null;
|
|
35
|
+
});
|
|
36
|
+
return /* @__PURE__ */ jsx(Fragment, { children: reactNodes });
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
toReactNodes
|
|
41
|
+
};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCJ3GSEW5cjs = require('./chunk-CJ3GSEW5.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk22I3LZGWcjs = require('./chunk-22I3LZGW.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUJKCQS5Ccjs = require('./chunk-UJKCQS5C.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkZC7NYTXWcjs = require('./chunk-ZC7NYTXW.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var _chunkE42IFW4Ecjs = require('./chunk-E42IFW4E.cjs');
|
|
16
15
|
|
|
16
|
+
var _chunkSFTKSNEKcjs = require('./chunk-SFTKSNEK.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkZUAO4DW3cjs = require('./chunk-ZUAO4DW3.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkYB3AGHD5cjs = require('./chunk-YB3AGHD5.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkZO52GP5Zcjs = require('./chunk-ZO52GP5Z.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk6VA4SAHQcjs = require('./chunk-6VA4SAHQ.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunk23NA5VW6cjs = require('./chunk-23NA5VW6.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkDCQM7IVKcjs = require('./chunk-DCQM7IVK.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkO7USIZI6cjs = require('./chunk-O7USIZI6.cjs');
|
|
38
38
|
|
|
39
39
|
// src/components/typography/Article.tsx
|
|
40
40
|
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
@@ -50,53 +50,53 @@ function Article({ defaultTypography, children }) {
|
|
|
50
50
|
);
|
|
51
51
|
}
|
|
52
52
|
var StyledArticle = _styled2.default.article`
|
|
53
|
-
${({ theme, type, size }) =>
|
|
53
|
+
${({ theme, type, size }) => _chunkDCQM7IVKcjs.getTypographyString.call(void 0, theme, type, size)}
|
|
54
54
|
|
|
55
|
-
${
|
|
55
|
+
${_chunkUJKCQS5Ccjs.displaySelector.call(void 0, "h1")} {
|
|
56
56
|
margin: 0;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
${
|
|
59
|
+
${_chunkSFTKSNEKcjs.headlineSelector.call(void 0, "h1")} {
|
|
60
60
|
margin: 0;
|
|
61
61
|
padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
${
|
|
64
|
+
${_chunkSFTKSNEKcjs.headlineSelector.call(void 0, "h2")} {
|
|
65
65
|
padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
|
|
66
66
|
padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
67
67
|
margin: 0;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
${
|
|
70
|
+
${_chunkSFTKSNEKcjs.headlineSelector.call(void 0, "h3")} {
|
|
71
71
|
padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
|
|
72
72
|
padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
73
73
|
margin: 0;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
${
|
|
76
|
+
${_chunkSFTKSNEKcjs.headlineSelector.call(void 0, "h4")} {
|
|
77
77
|
padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
|
|
78
78
|
padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
79
79
|
margin: 0;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
${
|
|
82
|
+
${_chunkSFTKSNEKcjs.headlineSelector.call(void 0, "h5")} {
|
|
83
83
|
padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
|
|
84
84
|
padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
85
85
|
margin: 0;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
${
|
|
88
|
+
${_chunkSFTKSNEKcjs.headlineSelector.call(void 0, "h6")} {
|
|
89
89
|
padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
|
|
90
90
|
padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
91
91
|
margin: 0;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
${_chunk6VA4SAHQcjs.select.call(void 0,
|
|
94
|
+
${_chunk6VA4SAHQcjs.select.call(void 0, _chunkZC7NYTXWcjs.StyledBody)} {
|
|
95
95
|
margin-top: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
96
96
|
margin-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
${_chunk6VA4SAHQcjs.select.call(void 0,
|
|
99
|
+
${_chunk6VA4SAHQcjs.select.call(void 0, _chunkYB3AGHD5cjs.StyledContentTable)} {
|
|
100
100
|
margin: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]} 0;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -110,9 +110,9 @@ var StyledArticle = _styled2.default.article`
|
|
|
110
110
|
font-weight: 700;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
*:not(${
|
|
113
|
+
*:not(${_chunkSFTKSNEKcjs.ALL_HEADLINE_SELECTORS},${_chunk6VA4SAHQcjs.select.call(void 0, _chunkCJ3GSEW5cjs.StyledTitle)},${_chunk6VA4SAHQcjs.select.call(void 0, _chunk22I3LZGWcjs.StyledCode)})
|
|
114
114
|
> a {
|
|
115
|
-
${({ theme }) =>
|
|
115
|
+
${({ theme }) => _chunkDCQM7IVKcjs.getTypographyString.call(void 0, theme, "Label Strong", "Large")}
|
|
116
116
|
font-size: inherit;
|
|
117
117
|
color: ${({ theme }) => theme.link};
|
|
118
118
|
}
|
|
@@ -128,22 +128,22 @@ var StyledArticle = _styled2.default.article`
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
li {
|
|
131
|
-
${({ theme }) =>
|
|
131
|
+
${({ theme }) => _chunkDCQM7IVKcjs.getTypographyString.call(void 0, theme, "Body", "Medium")}
|
|
132
132
|
:not(:last-child) {
|
|
133
133
|
margin-bottom: ${_chunkZUAO4DW3cjs.Spacing.px["3xs"]};
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
code:not([class|="language"]) {
|
|
138
|
-
${({ theme }) =>
|
|
139
|
-
background: ${
|
|
138
|
+
${({ theme }) => _chunkDCQM7IVKcjs.getTypographyString.call(void 0, theme, "Code", "Medium")}
|
|
139
|
+
background: ${_chunkO7USIZI6cjs.colors.grayBlue94};
|
|
140
140
|
padding: ${_chunkZUAO4DW3cjs.Spacing.px["4xs"]} ${_chunkZUAO4DW3cjs.Spacing.px["2xs"]};
|
|
141
141
|
margin: ${_chunkZUAO4DW3cjs.Spacing.px["4xs"]};
|
|
142
142
|
border-radius: 4px;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
pre[class|="language"] {
|
|
146
|
-
${
|
|
146
|
+
${_chunk23NA5VW6cjs.standardBorderRadius.call(void 0, 8)}
|
|
147
147
|
width: 100%;
|
|
148
148
|
padding: ${_chunkZUAO4DW3cjs.Spacing.px.md} ${_chunkZUAO4DW3cjs.Spacing.px.lg};
|
|
149
149
|
margin: ${_chunkZUAO4DW3cjs.Spacing.px.md} 0;
|
|
@@ -152,9 +152,9 @@ var StyledArticle = _styled2.default.article`
|
|
|
152
152
|
// Must match specificity of prismjs to get proper line height!
|
|
153
153
|
pre[class|="language"],
|
|
154
154
|
code[class|="language"] {
|
|
155
|
-
${({ theme }) =>
|
|
155
|
+
${({ theme }) => _chunkDCQM7IVKcjs.getTypographyString.call(void 0, theme, "Code", "Small")}
|
|
156
156
|
|
|
157
|
-
${
|
|
157
|
+
${_chunkZO52GP5Zcjs.overflowAutoWithoutScrollbars}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
blockquote {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GlobalStyles
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AOBHSOUN.js";
|
|
4
4
|
import {
|
|
5
5
|
themes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GZW6KBUI.js";
|
|
7
7
|
|
|
8
8
|
// src/components/LightsparkProvider.tsx
|
|
9
9
|
import { ThemeProvider } from "@emotion/react";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
flexCenter
|
|
3
|
+
} from "./chunk-IGZYEIQS.js";
|
|
1
4
|
import {
|
|
2
5
|
Loading
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QJPQJXJ2.js";
|
|
4
7
|
import {
|
|
5
8
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
flexCenter
|
|
9
|
-
} from "./chunk-JQV6H76U.js";
|
|
9
|
+
} from "./chunk-EYWGUIVP.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K3DMPJSX.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RTRS42I3.js";
|
|
16
16
|
|
|
17
17
|
// src/components/Pill.tsx
|
|
18
18
|
import styled from "@emotion/styled";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/styles/colors.tsx
|
|
7
7
|
var neutral = {
|
|
@@ -16,6 +16,7 @@ var neutral = {
|
|
|
16
16
|
gray50: "#808080",
|
|
17
17
|
gray60: "#999999",
|
|
18
18
|
gray70: "#B3B3B3",
|
|
19
|
+
gray75: "#BFBFBF",
|
|
19
20
|
gray80: "#CCCCCC",
|
|
20
21
|
gray85: "#D9D9D9",
|
|
21
22
|
gray90: "#E6E6E6",
|
|
@@ -26,7 +27,7 @@ var neutral = {
|
|
|
26
27
|
};
|
|
27
28
|
var darkGradient = "#1d1d1d linear-gradient(180deg, #090909 63.08%, #1d1d1d 100.52%)";
|
|
28
29
|
var primary = "#FFF14E";
|
|
29
|
-
var baseColors =
|
|
30
|
+
var baseColors = _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, neutral), {
|
|
30
31
|
// green
|
|
31
32
|
success: "#17C27C",
|
|
32
33
|
green33: "#179257",
|
|
@@ -70,8 +71,7 @@ function isColorKey(key) {
|
|
|
70
71
|
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
71
72
|
const bgRGB = hexToRGB(bgHex);
|
|
72
73
|
const hcRGB = hexToRGB(defaultHex);
|
|
73
|
-
if (!bgRGB || !hcRGB)
|
|
74
|
-
return defaultHex;
|
|
74
|
+
if (!bgRGB || !hcRGB) return defaultHex;
|
|
75
75
|
const c = contrast(bgRGB, hcRGB);
|
|
76
76
|
if (c < 4.5) {
|
|
77
77
|
return altHex;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkJT3HYZXJcjs = require('./chunk-JT3HYZXJ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkNROZVENVcjs = require('./chunk-NROZVENV.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkZUAO4DW3cjs = require('./chunk-ZUAO4DW3.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunk3XWROTDTcjs = require('./chunk-3XWROTDT.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
17
|
+
|
|
18
|
+
// src/components/DataManagerTable/EnumFilter.tsx
|
|
19
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
20
|
+
var _core = require('@lightsparkdev/core');
|
|
21
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
22
|
+
var isEnumFilterState = (state) => state.type === "enum" /* ENUM */;
|
|
23
|
+
var getDefaultEnumFilterState = () => ({
|
|
24
|
+
type: "enum" /* ENUM */,
|
|
25
|
+
value: "",
|
|
26
|
+
isApplied: false
|
|
27
|
+
});
|
|
28
|
+
var EnumFilter = ({
|
|
29
|
+
updateFilterState,
|
|
30
|
+
state,
|
|
31
|
+
options,
|
|
32
|
+
placeholder,
|
|
33
|
+
label,
|
|
34
|
+
isMulti
|
|
35
|
+
}) => {
|
|
36
|
+
var _a;
|
|
37
|
+
const appliedValueButtons = (_a = state.appliedValues) == null ? void 0 : _a.map((value) => {
|
|
38
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39
|
+
_chunk3XWROTDTcjs.Button,
|
|
40
|
+
{
|
|
41
|
+
kind: "primary",
|
|
42
|
+
size: "ExtraSmall",
|
|
43
|
+
text: value,
|
|
44
|
+
icon: "Close",
|
|
45
|
+
iconSide: "right",
|
|
46
|
+
onClick: () => {
|
|
47
|
+
var _a2;
|
|
48
|
+
updateFilterState(_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, state), {
|
|
49
|
+
appliedValues: (_a2 = state.appliedValues) == null ? void 0 : _a2.filter(
|
|
50
|
+
(appliedValue) => appliedValue !== value
|
|
51
|
+
)
|
|
52
|
+
}));
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
value
|
|
56
|
+
);
|
|
57
|
+
});
|
|
58
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
59
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJT3HYZXJcjs.Filter, { label, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
60
|
+
_chunkNROZVENVcjs.Select_default,
|
|
61
|
+
{
|
|
62
|
+
placeholder: "Select event",
|
|
63
|
+
options,
|
|
64
|
+
onChange: (option) => {
|
|
65
|
+
if (option) {
|
|
66
|
+
const optionValues = _core.ensureArray.call(void 0, option.value);
|
|
67
|
+
let updatedAppliedValues = [];
|
|
68
|
+
if (isMulti) {
|
|
69
|
+
updatedAppliedValues = state.appliedValues ? [
|
|
70
|
+
...state.appliedValues.filter(
|
|
71
|
+
(appliedValue) => appliedValue !== option.value
|
|
72
|
+
),
|
|
73
|
+
...optionValues
|
|
74
|
+
] : [...optionValues];
|
|
75
|
+
} else {
|
|
76
|
+
updatedAppliedValues = [...optionValues];
|
|
77
|
+
}
|
|
78
|
+
updateFilterState(_chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, state), {
|
|
79
|
+
value: option.label,
|
|
80
|
+
isApplied: true,
|
|
81
|
+
appliedValues: updatedAppliedValues
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
) }),
|
|
87
|
+
!!(appliedValueButtons == null ? void 0 : appliedValueButtons.length) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppliedButtonsContainer, { children: appliedValueButtons }) : null
|
|
88
|
+
] });
|
|
89
|
+
};
|
|
90
|
+
var AppliedButtonsContainer = _styled2.default.div`
|
|
91
|
+
margin-top: ${_chunkZUAO4DW3cjs.Spacing.px.sm};
|
|
92
|
+
display: flex;
|
|
93
|
+
gap: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
|
|
94
|
+
flex-wrap: wrap;
|
|
95
|
+
`;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
exports.isEnumFilterState = isEnumFilterState; exports.getDefaultEnumFilterState = getDefaultEnumFilterState; exports.EnumFilter = EnumFilter;
|