@lightsparkdev/ui 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/{chunk-GMEJR5XX.js → chunk-27TVNUBD.js} +26 -11
- package/dist/chunk-2KDEPCCC.cjs +94 -0
- package/dist/chunk-2ON6YBGL.cjs +40 -0
- package/dist/chunk-2R4K7WK4.cjs +27 -0
- package/dist/{chunk-SCIQSZSW.js → chunk-34MTU3ER.js} +3 -1
- package/dist/chunk-3ET7MRCR.cjs +57 -0
- package/dist/chunk-3FA4RQGH.cjs +380 -0
- package/dist/chunk-3JDF42CW.cjs +24 -0
- package/dist/chunk-3JTH7BHI.cjs +53 -0
- package/dist/chunk-3MCK6I7V.js +40 -0
- package/dist/chunk-3NYFUIYG.cjs +27 -0
- package/dist/chunk-3O67L2QO.cjs +95 -0
- package/dist/chunk-3RJBB7Q6.cjs +38 -0
- package/dist/{chunk-JZKGVGBU.js → chunk-3Y63I7BP.js} +1 -1
- package/dist/chunk-43KEZLY6.cjs +27 -0
- package/dist/chunk-43LGFT5G.cjs +28 -0
- package/dist/chunk-46AVXTFO.cjs +6 -0
- package/dist/chunk-4CW4UJ5X.cjs +50 -0
- package/dist/{chunk-PBLWYVQF.js → chunk-4DPM62TI.js} +2 -2
- package/dist/chunk-4VVPSX5O.cjs +8 -0
- package/dist/chunk-4XPAKKBS.cjs +264 -0
- package/dist/{chunk-ERNTWEIJ.js → chunk-4ZEUQBJZ.js} +19 -12
- package/dist/chunk-4ZF4NPF7.cjs +131 -0
- package/dist/chunk-52DSX7BK.cjs +26 -0
- package/dist/chunk-544LOSOG.cjs +27 -0
- package/dist/{chunk-FE477HOE.js → chunk-5BNDOQKG.js} +2 -2
- package/dist/{chunk-45BHB7K7.js → chunk-5GYVOXMF.js} +3 -3
- package/dist/chunk-5IO7EL3S.cjs +38 -0
- package/dist/chunk-5P25HFMG.cjs +26 -0
- package/dist/chunk-5WZ7X43P.cjs +351 -0
- package/dist/chunk-6J3HJ3T2.cjs +27 -0
- package/dist/{chunk-ZR2TARGX.js → chunk-6L3PB65W.js} +2 -2
- package/dist/chunk-6LYX73L5.cjs +67 -0
- package/dist/chunk-6O6PX2UG.cjs +33 -0
- package/dist/chunk-6VA4SAHQ.cjs +8 -0
- package/dist/{chunk-RRXB5FQC.js → chunk-6W3IBNGW.js} +7 -7
- package/dist/chunk-73LM7UGP.cjs +59 -0
- package/dist/{chunk-SIYZ5PZT.js → chunk-7GCXP2EW.js} +19 -11
- package/dist/{chunk-LKJ7QTWL.js → chunk-7LT4PQQ7.js} +4 -4
- package/dist/chunk-7NAL5XO6.cjs +104 -0
- package/dist/chunk-7OBPNS6W.cjs +59 -0
- package/dist/chunk-7PRNB5U5.cjs +77 -0
- package/dist/{chunk-QON4D7N2.js → chunk-7ZDRCGKF.js} +2 -2
- package/dist/chunk-A5SF55P6.cjs +27 -0
- package/dist/{chunk-E6ZY35LN.js → chunk-A6V6LC6W.js} +5 -5
- package/dist/chunk-AGIM6BKC.cjs +11 -0
- package/dist/{chunk-PYAKYQWS.js → chunk-AJ6OTIB2.js} +1 -1
- package/dist/chunk-AJ7WPQU4.cjs +57 -0
- package/dist/chunk-AMAXYW5C.cjs +28 -0
- package/dist/chunk-ANP2OU53.cjs +163 -0
- package/dist/{chunk-LH5VFS3E.js → chunk-AWTA3QRN.js} +1 -1
- package/dist/{chunk-AVV74PTP.js → chunk-BED5BMM6.js} +2 -2
- package/dist/chunk-BPPGWPEN.cjs +49 -0
- package/dist/chunk-BQEXNVAD.cjs +36 -0
- package/dist/chunk-BS5XF33X.cjs +27 -0
- package/dist/chunk-BXLJEGX5.cjs +27 -0
- package/dist/chunk-BYSQTUZ6.cjs +218 -0
- package/dist/chunk-C54KLX7Q.cjs +27 -0
- package/dist/{chunk-GGWFUEDW.js → chunk-CANLBVDM.js} +3 -3
- package/dist/chunk-CB3IFR2X.cjs +94 -0
- package/dist/chunk-CB7GBZCJ.cjs +27 -0
- package/dist/{chunk-4IHNUHE3.js → chunk-CBPPDWW7.js} +5 -5
- package/dist/chunk-CE5LGEAR.cjs +26 -0
- package/dist/chunk-CGLTHYGY.cjs +25 -0
- package/dist/chunk-CIGDU5PL.cjs +31 -0
- package/dist/chunk-CRVO2CAL.cjs +118 -0
- package/dist/chunk-CS3NUOE2.cjs +37 -0
- package/dist/{chunk-42D2SXB2.js → chunk-CULDUDP3.js} +1 -1
- package/dist/chunk-CV4CDJUL.cjs +27 -0
- package/dist/chunk-CWGZNP4N.cjs +75 -0
- package/dist/chunk-CYWLRXPQ.cjs +34 -0
- package/dist/chunk-DIKB7XZE.cjs +31 -0
- package/dist/chunk-DM6GUQAV.cjs +42 -0
- package/dist/{chunk-IH5SIRJL.js → chunk-DPK5MAQL.js} +3 -3
- package/dist/chunk-DSJTYUQG.cjs +32 -0
- package/dist/{chunk-M7E2PMFK.js → chunk-DWGNUG6W.js} +9 -9
- package/dist/chunk-E42IFW4E.cjs +33 -0
- package/dist/chunk-E6YOHZKE.cjs +39 -0
- package/dist/chunk-EDAMG44V.js +26 -0
- package/dist/chunk-EKCGBLIH.cjs +3227 -0
- package/dist/chunk-EKTDBUWD.cjs +77 -0
- package/dist/{chunk-5JJUXAVA.js → chunk-EKU37RBB.js} +3 -3
- package/dist/chunk-ELZC2I4Y.cjs +27 -0
- package/dist/chunk-ENRGP6TU.cjs +34 -0
- package/dist/{chunk-IXAXRBFS.js → chunk-EZMYYBFH.js} +2 -2
- package/dist/chunk-FBF72OKQ.cjs +33 -0
- package/dist/chunk-FE2E2TKC.cjs +46 -0
- package/dist/{chunk-H3UUVMZ3.js → chunk-FLYNOCPZ.js} +1 -1
- package/dist/{chunk-BRJKMY6Z.js → chunk-FNV7LZTE.js} +3 -3
- package/dist/chunk-FPOQM3WG.cjs +25 -0
- package/dist/{chunk-N67Y7GWR.js → chunk-FQIT2EG7.js} +1 -1
- package/dist/chunk-FQWU3AUO.cjs +39 -0
- package/dist/{chunk-HLZNFEDV.js → chunk-FSVHUION.js} +2 -2
- package/dist/chunk-FZUELDMT.cjs +37 -0
- package/dist/chunk-G2ZTK5RI.cjs +27 -0
- package/dist/chunk-GB3YA32U.cjs +425 -0
- package/dist/{chunk-ILCC45G7.js → chunk-GCUBVU4U.js} +21 -17
- package/dist/chunk-GDXNYWJH.cjs +40 -0
- package/dist/{chunk-YG5BANJH.js → chunk-GMM3LRXY.js} +2 -2
- package/dist/chunk-GSYM5JMB.cjs +17 -0
- package/dist/chunk-GVKKUMAK.cjs +27 -0
- package/dist/chunk-GZNDFGOK.cjs +26 -0
- package/dist/chunk-H24ZXPN3.cjs +150 -0
- package/dist/chunk-H3Z7VJF4.cjs +27 -0
- package/dist/{chunk-TN5UPDZG.js → chunk-H47HIU2F.js} +1 -1
- package/dist/chunk-HA2ITLKV.cjs +26 -0
- package/dist/chunk-HKSBGUB7.cjs +119 -0
- package/dist/chunk-HVGR22WZ.cjs +24 -0
- package/dist/chunk-HVSAHGD7.cjs +73 -0
- package/dist/{chunk-UAUAYQ3C.js → chunk-I4NIA4SD.js} +23 -9
- package/dist/chunk-ICGEMWYQ.cjs +64 -0
- package/dist/chunk-IMJG5CTO.cjs +129 -0
- package/dist/chunk-INAP7GDJ.cjs +27 -0
- package/dist/chunk-IOSJLM4O.cjs +28 -0
- package/dist/chunk-IXV57HL7.cjs +21 -0
- package/dist/chunk-J25ZXQOV.cjs +65 -0
- package/dist/{chunk-HNK2KIC7.js → chunk-J2NLRI2M.js} +20 -5
- package/dist/chunk-J3G627ED.cjs +35 -0
- package/dist/chunk-J4BWIY7M.cjs +81 -0
- package/dist/chunk-J4YI5GMY.cjs +27 -0
- package/dist/{chunk-IIRG6R42.js → chunk-J5EHGDRO.js} +3 -3
- package/dist/chunk-JCNYE37S.cjs +200 -0
- package/dist/chunk-JE624NDF.cjs +27 -0
- package/dist/chunk-JEEFB6LD.cjs +37 -0
- package/dist/chunk-JFMGOEGC.cjs +26 -0
- package/dist/chunk-JGHR6XRE.cjs +33 -0
- package/dist/chunk-JMQYZAL2.cjs +89 -0
- package/dist/{chunk-D4DFISYR.js → chunk-JQV6H76U.js} +1 -1
- package/dist/{chunk-AXNQ7BDD.js → chunk-KH5NEXIW.js} +4 -4
- package/dist/chunk-KPGYI4CN.cjs +37 -0
- package/dist/chunk-KPMZD7KJ.cjs +25 -0
- package/dist/{chunk-PZTZ4436.js → chunk-KQ475V76.js} +2 -2
- package/dist/chunk-KS6GHRZI.cjs +8 -0
- package/dist/chunk-KSKKC6C2.cjs +126 -0
- package/dist/chunk-KW3JYLRI.cjs +233 -0
- package/dist/{chunk-OPUCWQMK.js → chunk-L3BNIBK3.js} +1 -1
- package/dist/{chunk-NONMMIMQ.js → chunk-LHPOQVJO.js} +1 -1
- package/dist/chunk-LKKJVJCG.cjs +63 -0
- package/dist/chunk-LLJZ3BRG.cjs +50 -0
- package/dist/chunk-LU2G6KCN.cjs +41 -0
- package/dist/{chunk-TMIBU4ME.js → chunk-LW4QZL4I.js} +1 -1
- package/dist/{chunk-EKU5IWJW.js → chunk-LWXTVAZ6.js} +2 -2
- package/dist/chunk-MFDGE4AE.cjs +29 -0
- package/dist/{chunk-YXAKRSFW.js → chunk-MI5TUKMX.js} +3 -3
- package/dist/chunk-MJ4HZKPZ.cjs +290 -0
- package/dist/chunk-MJ63JHE3.cjs +69 -0
- package/dist/chunk-MJN5WJMC.cjs +39 -0
- package/dist/chunk-MKW2IFOO.cjs +27 -0
- package/dist/chunk-MNAZ4BDQ.cjs +164 -0
- package/dist/chunk-MNZQCCZJ.cjs +26 -0
- package/dist/chunk-MT2C62ED.cjs +17 -0
- package/dist/{chunk-7EAO66LB.js → chunk-MXMS34PK.js} +5 -5
- package/dist/{chunk-I3WMJNCP.js → chunk-MXR7SFIZ.js} +1 -1
- package/dist/chunk-N7NM6ELD.cjs +28 -0
- package/dist/chunk-N7QYPDKF.cjs +27 -0
- package/dist/chunk-NMRDZ23R.cjs +26 -0
- package/dist/chunk-NRKSK3OJ.cjs +33 -0
- package/dist/chunk-NWMYGKBQ.cjs +27 -0
- package/dist/chunk-O2OR4KOM.cjs +27 -0
- package/dist/chunk-O3WGQ5ZR.cjs +39 -0
- package/dist/chunk-O4MKC7U2.js +22 -0
- package/dist/{chunk-QZMD3YHI.js → chunk-OEDDEF6C.js} +1 -13
- package/dist/{chunk-Q76C6FJ5.js → chunk-OGJLMW37.js} +3 -3
- package/dist/{chunk-QTPYP3IK.js → chunk-OHMAC2V5.js} +2 -2
- package/dist/{chunk-QEZ7L6YF.js → chunk-OIR5K2NG.js} +1 -1
- package/dist/chunk-OT4XMGY5.cjs +468 -0
- package/dist/chunk-P73HWTOR.cjs +55 -0
- package/dist/chunk-P76JZF4N.cjs +39 -0
- package/dist/chunk-PBYLFD52.cjs +168 -0
- package/dist/chunk-PD5XWF2Q.cjs +26 -0
- package/dist/chunk-PDZ23BED.cjs +401 -0
- package/dist/chunk-PGULRMMV.cjs +101 -0
- package/dist/chunk-PUSW24ER.cjs +28 -0
- package/dist/chunk-PXZFQWMN.cjs +41 -0
- package/dist/chunk-Q2OOHXBK.cjs +36 -0
- package/dist/chunk-Q4BUF3EO.cjs +24 -0
- package/dist/chunk-Q4CBVF2A.cjs +125 -0
- package/dist/chunk-Q6IGIW42.cjs +27 -0
- package/dist/{chunk-GMOJB7PP.js → chunk-QBSDXGPZ.js} +13 -11
- package/dist/chunk-QCJWZRIP.cjs +150 -0
- package/dist/{chunk-NWPPTOKK.js → chunk-QDMQOT22.js} +5 -5
- package/dist/chunk-QDNTIZC2.js +38 -0
- package/dist/chunk-QFXPWIS3.cjs +60 -0
- package/dist/chunk-QQ2MHKHV.cjs +239 -0
- package/dist/chunk-QQKHEU6E.cjs +26 -0
- package/dist/chunk-QR6XKKRK.cjs +242 -0
- package/dist/chunk-QYJOJVJD.cjs +27 -0
- package/dist/chunk-QZ7U4QKB.cjs +94 -0
- package/dist/chunk-R6JXXAU3.cjs +25 -0
- package/dist/chunk-RCWDQM37.cjs +26 -0
- package/dist/{chunk-KPAVY3UH.js → chunk-REL56P3K.js} +1 -0
- package/dist/chunk-RFJWSKGK.cjs +27 -0
- package/dist/{chunk-NBIK5O3N.js → chunk-RRXUQSIX.js} +9 -9
- package/dist/chunk-RSUJHDQA.cjs +56 -0
- package/dist/chunk-RU6KW5CM.cjs +27 -0
- package/dist/chunk-RYNH5AXT.cjs +20 -0
- package/dist/chunk-S3BY6XUW.cjs +27 -0
- package/dist/{chunk-XLKL3DNK.js → chunk-SCB4M3K3.js} +3 -3
- package/dist/chunk-SODYHHOB.cjs +94 -0
- package/dist/{chunk-FO7I4E45.js → chunk-SOMDPWUX.js} +1 -1
- package/dist/chunk-SQ5NGX4J.cjs +55 -0
- package/dist/{chunk-RQLRNKOP.js → chunk-SUTN4O34.js} +10 -10
- package/dist/chunk-T6IAT66E.cjs +106 -0
- package/dist/chunk-T7ZB3XF7.cjs +16 -0
- package/dist/chunk-TB376AUW.cjs +25 -0
- package/dist/chunk-TKCA4LT6.cjs +31 -0
- package/dist/chunk-TPVPCMRQ.cjs +7 -0
- package/dist/chunk-TTWRXIOP.cjs +30 -0
- package/dist/{chunk-EHH4M2LZ.js → chunk-TWG7OQT7.js} +5 -5
- package/dist/chunk-TZ4KOSZV.cjs +33 -0
- package/dist/chunk-TZGHXXX4.cjs +29 -0
- package/dist/chunk-U2CKBWYJ.cjs +46 -0
- package/dist/chunk-U5D736PB.cjs +25 -0
- package/dist/{chunk-LAGOF7IU.js → chunk-UACBVBBE.js} +3 -3
- package/dist/chunk-UDKRYLGK.cjs +27 -0
- package/dist/chunk-UEG2PUK7.cjs +23 -0
- package/dist/chunk-UQ7P6HTC.cjs +27 -0
- package/dist/chunk-UWGIIJDN.cjs +38 -0
- package/dist/chunk-UYO2JW2E.cjs +103 -0
- package/dist/chunk-UZK5AYDL.cjs +124 -0
- package/dist/chunk-V2VDB34C.cjs +27 -0
- package/dist/chunk-V3IFCHJZ.cjs +37 -0
- package/dist/chunk-V74OSV6N.cjs +377 -0
- package/dist/chunk-VB47G2O4.cjs +35 -0
- package/dist/chunk-VBU37CQG.cjs +48 -0
- package/dist/chunk-VDKIZEUQ.cjs +28 -0
- package/dist/chunk-VDL5FG27.cjs +27 -0
- package/dist/{chunk-3DXU76SI.js → chunk-VI4JM4DQ.js} +2 -2
- package/dist/chunk-VSFFGTTT.cjs +38 -0
- package/dist/chunk-VYCK3QBC.cjs +366 -0
- package/dist/{chunk-QBRCVOJ4.js → chunk-W42LDOH4.js} +6 -6
- package/dist/{chunk-7UBU5MKY.js → chunk-W7XPZYSY.js} +0 -1
- package/dist/chunk-WHCKM6E5.cjs +37 -0
- package/dist/chunk-WI6IO34N.cjs +327 -0
- package/dist/{chunk-4EV5IUUJ.js → chunk-WM2D54JJ.js} +2 -2
- package/dist/{chunk-BNHCCR3C.js → chunk-WONQPE5P.js} +2 -2
- package/dist/chunk-WRN66OMM.cjs +27 -0
- package/dist/chunk-WRQEO3XT.cjs +26 -0
- package/dist/chunk-WTFNCHBK.cjs +30 -0
- package/dist/chunk-WUBMWAOS.cjs +315 -0
- package/dist/chunk-WW5RAKEC.cjs +27 -0
- package/dist/chunk-WWCUEEMH.cjs +140 -0
- package/dist/chunk-XB2OTOVK.cjs +27 -0
- package/dist/{chunk-AKGW3FMJ.js → chunk-XCEI3WIL.js} +2 -2
- package/dist/chunk-XJPYWPVG.cjs +179 -0
- package/dist/chunk-XKHTSGK3.cjs +145 -0
- package/dist/chunk-XKQ2XWU5.cjs +28 -0
- package/dist/chunk-XQBJ74JW.cjs +35 -0
- package/dist/chunk-XTLPMH2Q.cjs +27 -0
- package/dist/chunk-XTUVGLWQ.cjs +87 -0
- package/dist/{chunk-QFVQ6QPA.js → chunk-XUIS5P5Z.js} +2 -2
- package/dist/chunk-XYXNI3AO.cjs +76 -0
- package/dist/chunk-XZG2GZWI.cjs +68 -0
- package/dist/chunk-Y2U2KEP4.cjs +38 -0
- package/dist/chunk-Y6M4SBN7.cjs +102 -0
- package/dist/{chunk-FT62PIPN.js → chunk-Y6Q37DGW.js} +42 -30
- package/dist/chunk-YD6ZGALS.cjs +27 -0
- package/dist/chunk-YHDN5LEA.cjs +22 -0
- package/dist/chunk-YHQVDAZW.cjs +67 -0
- package/dist/chunk-YINNADVF.cjs +80 -0
- package/dist/{chunk-VF5KSAZG.js → chunk-YKVROUDH.js} +3 -3
- package/dist/chunk-YPCTBP2X.cjs +37 -0
- package/dist/chunk-Z5IAIRIS.cjs +28 -0
- package/dist/chunk-ZFRMFHCU.cjs +32 -0
- package/dist/{chunk-NK7WH3TK.js → chunk-ZGPNVPST.js} +16 -16
- package/dist/chunk-ZJTRXOA5.cjs +105 -0
- package/dist/chunk-ZR3J7SMI.cjs +17 -0
- package/dist/chunk-ZRHJQUKS.cjs +49 -0
- package/dist/chunk-ZSGQEOY3.cjs +37 -0
- package/dist/chunk-ZU72XWNE.cjs +29 -0
- package/dist/chunk-ZUAO4DW3.cjs +65 -0
- package/dist/{chunk-XQIQOMNE.js → chunk-ZV5IAOIM.js} +1 -1
- package/dist/components/Badge.cjs +151 -8397
- package/dist/components/Badge.d.cts +5 -2
- package/dist/components/Badge.d.ts +5 -2
- package/dist/components/Badge.js +40 -36
- package/dist/components/Banner/Banner.cjs +152 -8552
- package/dist/components/Banner/Banner.d.cts +5 -2
- package/dist/components/Banner/Banner.d.ts +5 -2
- package/dist/components/Banner/Banner.js +40 -36
- package/dist/components/Banner/constants.cjs +8 -32
- package/dist/components/Button.cjs +158 -8821
- package/dist/components/Button.d.cts +10 -5
- package/dist/components/Button.d.ts +10 -5
- package/dist/components/Button.js +42 -38
- package/dist/components/ButtonRow.cjs +158 -8937
- package/dist/components/ButtonRow.d.cts +6 -2
- package/dist/components/ButtonRow.d.ts +6 -2
- package/dist/components/ButtonRow.js +44 -40
- package/dist/components/CardPage.cjs +166 -4383
- package/dist/components/CardPage.js +46 -42
- package/dist/components/Checkbox.cjs +11 -351
- package/dist/components/Checkbox.js +6 -5
- package/dist/components/CodeBlock.cjs +143 -8188
- package/dist/components/CodeBlock.js +29 -25
- package/dist/components/CodeInput/CodeInput.cjs +15 -4440
- package/dist/components/CodeInput/CodeInput.js +9 -8
- package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4131
- package/dist/components/CodeInput/SingleCodeInput.js +8 -7
- package/dist/components/Collapsible.cjs +140 -7976
- package/dist/components/Collapsible.d.cts +4 -1
- package/dist/components/Collapsible.d.ts +4 -1
- package/dist/components/Collapsible.js +26 -22
- package/dist/components/CommaNumberInput.cjs +142 -8583
- package/dist/components/CommaNumberInput.d.cts +5 -2
- package/dist/components/CommaNumberInput.d.ts +5 -2
- package/dist/components/CommaNumberInput.js +32 -28
- package/dist/components/CommandKey.cjs +7 -71
- package/dist/components/ContentTable.cjs +134 -7771
- package/dist/components/ContentTable.js +25 -21
- package/dist/components/CopyToClipboardButton.cjs +135 -7939
- package/dist/components/CopyToClipboardButton.d.cts +4 -1
- package/dist/components/CopyToClipboardButton.d.ts +4 -1
- package/dist/components/CopyToClipboardButton.js +27 -23
- package/dist/components/CurrencyAmount.cjs +134 -7808
- package/dist/components/CurrencyAmount.d.cts +0 -6
- package/dist/components/CurrencyAmount.d.ts +0 -6
- package/dist/components/CurrencyAmount.js +25 -21
- package/dist/components/Drawer.cjs +155 -9079
- package/dist/components/Drawer.js +43 -39
- package/dist/components/Dropdown.cjs +136 -8229
- package/dist/components/Dropdown.d.cts +5 -2
- package/dist/components/Dropdown.d.ts +5 -2
- package/dist/components/Dropdown.js +27 -23
- package/dist/components/FileInput.cjs +141 -8257
- package/dist/components/FileInput.js +31 -27
- package/dist/components/Flex.cjs +6 -50
- package/dist/components/GradientCardHeader.cjs +17 -506
- package/dist/components/GradientCardHeader.js +8 -7
- package/dist/components/Icon/Icon.cjs +134 -7721
- package/dist/components/Icon/Icon.d.cts +5 -2
- package/dist/components/Icon/Icon.d.ts +5 -2
- package/dist/components/Icon/Icon.js +24 -20
- package/dist/components/Icon/types.cjs +1 -18
- package/dist/components/Icon/types.d.cts +4 -1
- package/dist/components/Icon/types.d.ts +4 -1
- package/dist/components/IconWithCircleBackground.cjs +133 -7746
- package/dist/components/IconWithCircleBackground.js +25 -21
- package/dist/components/InfoIconTooltip.cjs +151 -8416
- package/dist/components/InfoIconTooltip.d.cts +5 -2
- package/dist/components/InfoIconTooltip.d.ts +5 -2
- package/dist/components/InfoIconTooltip.js +41 -37
- package/dist/components/LightboxImage.cjs +5 -182
- package/dist/components/LightsparkProvider.cjs +16 -3969
- package/dist/components/LightsparkProvider.js +7 -6
- package/dist/components/Loading.cjs +136 -7774
- package/dist/components/Loading.d.cts +9 -11
- package/dist/components/Loading.d.ts +9 -11
- package/dist/components/Loading.js +29 -23
- package/dist/components/Modal.cjs +162 -9662
- package/dist/components/Modal.d.cts +10 -3
- package/dist/components/Modal.d.ts +10 -3
- package/dist/components/Modal.js +48 -44
- package/dist/components/PageSection/PageSection.cjs +183 -9622
- package/dist/components/PageSection/PageSection.d.cts +10 -4
- package/dist/components/PageSection/PageSection.d.ts +10 -4
- package/dist/components/PageSection/PageSection.js +49 -45
- package/dist/components/PageSection/PageSectionNav.cjs +153 -8541
- package/dist/components/PageSection/PageSectionNav.d.cts +4 -1
- package/dist/components/PageSection/PageSectionNav.d.ts +4 -1
- package/dist/components/PageSection/PageSectionNav.js +43 -38
- package/dist/components/PageSection/constants.cjs +6 -29
- package/dist/components/PhoneInput.cjs +141 -8789
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +32 -28
- package/dist/components/Pill.cjs +135 -8010
- package/dist/components/Pill.d.cts +4 -1
- package/dist/components/Pill.d.ts +4 -1
- package/dist/components/Pill.js +28 -24
- package/dist/components/ProgressBar.cjs +11 -3862
- package/dist/components/ProgressBar.js +6 -5
- package/dist/components/Radio.cjs +139 -8110
- package/dist/components/Radio.js +29 -25
- package/dist/components/SecretContainer.cjs +136 -7978
- package/dist/components/SecretContainer.js +28 -24
- package/dist/components/StatusIndicator.cjs +12 -363
- package/dist/components/StatusIndicator.js +7 -6
- package/dist/components/TextButton.cjs +151 -8463
- package/dist/components/TextButton.d.cts +13 -2
- package/dist/components/TextButton.d.ts +13 -2
- package/dist/components/TextButton.js +42 -37
- package/dist/components/TextIconAligner.cjs +149 -8309
- package/dist/components/TextIconAligner.d.cts +20 -7
- package/dist/components/TextIconAligner.d.ts +20 -7
- package/dist/components/TextIconAligner.js +40 -35
- package/dist/components/TextInput.cjs +141 -8445
- package/dist/components/TextInput.d.cts +5 -2
- package/dist/components/TextInput.d.ts +5 -2
- package/dist/components/TextInput.js +31 -27
- package/dist/components/Toasts.cjs +152 -8745
- package/dist/components/Toasts.d.cts +5 -2
- package/dist/components/Toasts.d.ts +5 -2
- package/dist/components/Toasts.js +42 -38
- package/dist/components/Toggle.cjs +12 -3902
- package/dist/components/Toggle.js +7 -6
- package/dist/components/Tooltip.cjs +12 -3886
- package/dist/components/Tooltip.js +6 -5
- package/dist/components/UnstyledButton.cjs +11 -314
- package/dist/components/UnstyledButton.js +6 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +141 -7900
- package/dist/components/documentation/AnchorLinkHeader.d.cts +5 -2
- package/dist/components/documentation/AnchorLinkHeader.d.ts +5 -2
- package/dist/components/documentation/AnchorLinkHeader.js +30 -26
- package/dist/components/documentation/DocsBodyParagraph.cjs +138 -3813
- package/dist/components/documentation/DocsBodyParagraph.d.cts +5 -2
- package/dist/components/documentation/DocsBodyParagraph.d.ts +5 -2
- package/dist/components/documentation/DocsBodyParagraph.js +28 -24
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +140 -3815
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +5 -2
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +5 -2
- package/dist/components/documentation/DocsBodyStrongParagraph.js +28 -24
- package/dist/components/documentation/DocsHeadline.cjs +136 -3880
- package/dist/components/documentation/DocsHeadline.d.cts +5 -2
- package/dist/components/documentation/DocsHeadline.d.ts +5 -2
- package/dist/components/documentation/DocsHeadline.js +29 -25
- package/dist/components/documentation/Video.cjs +20 -297
- package/dist/components/documentation/Video.js +5 -4
- package/dist/components/documentation/index.cjs +140 -7901
- package/dist/components/documentation/index.d.cts +5 -2
- package/dist/components/documentation/index.d.ts +5 -2
- package/dist/components/documentation/index.js +30 -26
- package/dist/components/index.cjs +379 -14544
- package/dist/components/index.d.cts +5 -3
- package/dist/components/index.d.ts +5 -3
- package/dist/components/index.js +80 -76
- package/dist/components/typography/Article.cjs +148 -4216
- package/dist/components/typography/Article.js +35 -31
- package/dist/components/typography/Body.cjs +139 -8011
- package/dist/components/typography/Body.d.cts +5 -2
- package/dist/components/typography/Body.d.ts +5 -2
- package/dist/components/typography/Body.js +28 -24
- package/dist/components/typography/BodyStrong.cjs +139 -8010
- package/dist/components/typography/BodyStrong.d.cts +5 -2
- package/dist/components/typography/BodyStrong.d.ts +5 -2
- package/dist/components/typography/BodyStrong.js +28 -24
- package/dist/components/typography/Code.cjs +139 -8008
- package/dist/components/typography/Code.d.cts +5 -2
- package/dist/components/typography/Code.d.ts +5 -2
- package/dist/components/typography/Code.js +28 -24
- package/dist/components/typography/Display.cjs +142 -8020
- package/dist/components/typography/Display.d.cts +5 -2
- package/dist/components/typography/Display.d.ts +5 -2
- package/dist/components/typography/Display.js +28 -24
- package/dist/components/typography/Headline.cjs +146 -8042
- package/dist/components/typography/Headline.d.cts +5 -2
- package/dist/components/typography/Headline.d.ts +5 -2
- package/dist/components/typography/Headline.js +28 -24
- package/dist/components/typography/Label.cjs +139 -8009
- package/dist/components/typography/Label.d.cts +6 -3
- package/dist/components/typography/Label.d.ts +6 -3
- package/dist/components/typography/Label.js +28 -24
- package/dist/components/typography/LabelModerate.cjs +139 -8009
- package/dist/components/typography/LabelModerate.d.cts +6 -3
- package/dist/components/typography/LabelModerate.d.ts +6 -3
- package/dist/components/typography/LabelModerate.js +28 -24
- package/dist/components/typography/LabelStrong.cjs +139 -8011
- package/dist/components/typography/LabelStrong.d.cts +6 -3
- package/dist/components/typography/LabelStrong.d.ts +6 -3
- package/dist/components/typography/LabelStrong.js +28 -24
- package/dist/components/typography/Overline.cjs +139 -8009
- package/dist/components/typography/Overline.d.cts +5 -2
- package/dist/components/typography/Overline.d.ts +5 -2
- package/dist/components/typography/Overline.js +28 -24
- package/dist/components/typography/Title.cjs +139 -8010
- package/dist/components/typography/Title.d.cts +5 -2
- package/dist/components/typography/Title.d.ts +5 -2
- package/dist/components/typography/Title.js +28 -24
- package/dist/components/typography/index.cjs +179 -8535
- package/dist/components/typography/index.d.cts +5 -2
- package/dist/components/typography/index.d.ts +5 -2
- package/dist/components/typography/index.js +40 -36
- package/dist/components/typography/renderTypography.cjs +149 -8257
- package/dist/components/typography/renderTypography.d.cts +5 -2
- package/dist/components/typography/renderTypography.d.ts +5 -2
- package/dist/components/typography/renderTypography.js +38 -34
- package/dist/hooks/useDebounce.cjs +9 -32
- package/dist/hooks/useDocumentTitle.cjs +9 -45
- package/dist/hooks/useIsomorphicLayoutEffect.cjs +6 -40
- package/dist/hooks/useLiveRef.cjs +6 -40
- package/dist/hooks/useResizeObserver.cjs +6 -76
- package/dist/hooks/useWhatChanged.cjs +5 -28
- package/dist/icons/AI.cjs +6 -51
- package/dist/icons/AnchorLink.cjs +6 -50
- package/dist/icons/ApiConnection.cjs +6 -48
- package/dist/icons/AppIcon.cjs +6 -90
- package/dist/icons/ArrowCircle.cjs +5 -56
- package/dist/icons/ArrowCircleTier1.cjs +6 -50
- package/dist/icons/ArrowCircleTier2.cjs +6 -50
- package/dist/icons/ArrowCircleTier3.cjs +6 -50
- package/dist/icons/ArrowCornerDownRight.cjs +6 -50
- package/dist/icons/ArrowDown.cjs +6 -50
- package/dist/icons/ArrowUp.cjs +6 -50
- package/dist/icons/ArrowUpRightCircleFill.cjs +6 -50
- package/dist/icons/Bank.cjs +6 -50
- package/dist/icons/BitcoinB.cjs +6 -50
- package/dist/icons/BitcoinBOnRoundedSquare.cjs +6 -52
- package/dist/icons/CameraCapture.cjs +6 -99
- package/dist/icons/CaretRight.cjs +6 -50
- package/dist/icons/CentralArrowShareRight.cjs +6 -50
- package/dist/icons/Checkmark.cjs +6 -49
- package/dist/icons/CheckmarkCircleGreen.cjs +6 -51
- package/dist/icons/CheckmarkCircleTier1.cjs +6 -51
- package/dist/icons/CheckmarkCircleTier2.cjs +6 -51
- package/dist/icons/CheckmarkCircleTier3.cjs +6 -51
- package/dist/icons/Chevron.cjs +6 -50
- package/dist/icons/ChevronLeft.cjs +6 -49
- package/dist/icons/CircleCheck.cjs +6 -51
- package/dist/icons/CircleCheckOutline.cjs +6 -48
- package/dist/icons/CirclePlus.cjs +6 -40
- package/dist/icons/Clock.cjs +6 -50
- package/dist/icons/Close.cjs +6 -49
- package/dist/icons/Code.cjs +6 -50
- package/dist/icons/Copy.cjs +6 -48
- package/dist/icons/CreditCard.cjs +6 -56
- package/dist/icons/DeleteIcon.cjs +6 -65
- package/dist/icons/Dollar.cjs +6 -50
- package/dist/icons/DollarManrope.cjs +6 -50
- package/dist/icons/DollarManropeSmall.cjs +6 -50
- package/dist/icons/DotGrid1x3Horizontal.cjs +6 -64
- package/dist/icons/Download.cjs +6 -60
- package/dist/icons/Envelope.cjs +6 -50
- package/dist/icons/ExclamationPoint.cjs +6 -71
- package/dist/icons/Explorer.cjs +6 -47
- package/dist/icons/Eye.cjs +6 -58
- package/dist/icons/EyeDropper.cjs +6 -50
- package/dist/icons/Figma.cjs +6 -50
- package/dist/icons/FlutterTwoTone.cjs +6 -70
- package/dist/icons/FlutterTwoTone.js +1 -1
- package/dist/icons/FramedLetterI.cjs +6 -59
- package/dist/icons/Gear.cjs +6 -56
- package/dist/icons/Github.cjs +6 -47
- package/dist/icons/GoTwoTone.cjs +6 -88
- package/dist/icons/GraphQLTwoTone.cjs +6 -147
- package/dist/icons/HeartOutline.cjs +6 -50
- package/dist/icons/Home.cjs +6 -49
- package/dist/icons/HorizontalArrows.cjs +6 -62
- package/dist/icons/Info.cjs +6 -72
- package/dist/icons/JavaScriptTwoTone.cjs +6 -83
- package/dist/icons/JavaTwoTone.cjs +6 -50
- package/dist/icons/KotlinTwoTone.cjs +6 -62
- package/dist/icons/LeftArrow.cjs +6 -50
- package/dist/icons/LightningOnRoundedSquare.cjs +6 -50
- package/dist/icons/LinkIcon.cjs +6 -62
- package/dist/icons/LoadingCircleLines.cjs +7 -0
- package/dist/icons/LoadingCircleLines.d.cts +5 -0
- package/dist/icons/LoadingCircleLines.d.ts +5 -0
- package/dist/icons/LoadingCircleLines.js +7 -0
- package/dist/icons/LoadingSpinner.cjs +6 -202
- package/dist/icons/Lock.cjs +6 -58
- package/dist/icons/Logo.cjs +4 -78
- package/dist/icons/LogoBolt.cjs +6 -129
- package/dist/icons/LogoOnCircle.cjs +6 -60
- package/dist/icons/MagicWand.cjs +6 -79
- package/dist/icons/Minus.cjs +6 -49
- package/dist/icons/Monitor.cjs +6 -73
- package/dist/icons/NodeAdd.cjs +6 -48
- package/dist/icons/NonagonCheckmark.cjs +7 -0
- package/dist/icons/NonagonCheckmark.d.cts +5 -0
- package/dist/icons/NonagonCheckmark.d.ts +5 -0
- package/dist/icons/NonagonCheckmark.js +7 -0
- package/dist/icons/NotEye.cjs +6 -60
- package/dist/icons/PaperPlane.cjs +6 -49
- package/dist/icons/Pencil.cjs +6 -49
- package/dist/icons/Person.cjs +6 -60
- package/dist/icons/PersonCircle.cjs +6 -60
- package/dist/icons/PiggyBank.cjs +6 -69
- package/dist/icons/Plus.cjs +6 -78
- package/dist/icons/PythonTwoTone.cjs +6 -56
- package/dist/icons/QRCodeIcon.cjs +6 -125
- package/dist/icons/QuestionCircle.cjs +6 -50
- package/dist/icons/QuestionCircleStrong.cjs +6 -50
- package/dist/icons/ReactTwoTone.cjs +6 -80
- package/dist/icons/Recycling.cjs +6 -50
- package/dist/icons/Remove.cjs +6 -49
- package/dist/icons/Restart.cjs +6 -49
- package/dist/icons/RightArrow.cjs +6 -50
- package/dist/icons/Roadmap.cjs +6 -50
- package/dist/icons/RustTwoTone.cjs +6 -62
- package/dist/icons/Satoshi.cjs +6 -61
- package/dist/icons/SatoshiRounded.cjs +6 -87
- package/dist/icons/Search.cjs +6 -51
- package/dist/icons/SecurityKey.cjs +6 -73
- package/dist/icons/Selector.cjs +6 -63
- package/dist/icons/SemiCircleOverlap.cjs +6 -60
- package/dist/icons/Share.cjs +6 -48
- package/dist/icons/ShieldCheck.cjs +6 -49
- package/dist/icons/Sidebar.cjs +6 -50
- package/dist/icons/Sort.cjs +6 -50
- package/dist/icons/StackedLines.cjs +6 -49
- package/dist/icons/SwiftTwoTone.cjs +6 -61
- package/dist/icons/TapSingle.cjs +6 -48
- package/dist/icons/Team.cjs +6 -50
- package/dist/icons/Terminal.cjs +6 -51
- package/dist/icons/Trash.cjs +6 -53
- package/dist/icons/TwoArrowsDown.cjs +6 -50
- package/dist/icons/TwoArrowsUp.cjs +6 -50
- package/dist/icons/Uma.cjs +6 -59
- package/dist/icons/UmaBridgeLoading.cjs +6 -52
- package/dist/icons/UmaBridgeLoadingTransparent.cjs +7 -0
- package/dist/icons/UmaBridgeLoadingTransparent.d.cts +5 -0
- package/dist/icons/UmaBridgeLoadingTransparent.d.ts +5 -0
- package/dist/icons/UmaBridgeLoadingTransparent.js +7 -0
- package/dist/icons/Upload.cjs +6 -60
- package/dist/icons/WalletSDKIcon.cjs +6 -61
- package/dist/icons/WarningSign.cjs +6 -61
- package/dist/icons/constants.cjs +8 -32
- package/dist/icons/index.cjs +461 -3994
- package/dist/icons/index.d.cts +3 -0
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons/index.js +43 -31
- package/dist/{index-71766330.d.ts → index-1c620377.d.ts} +9 -0
- package/dist/{index-dcf19aa7.d.ts → index-76d74633.d.ts} +9 -0
- package/dist/index.cjs +1 -1
- package/dist/router.cjs +25 -251
- package/dist/router.d.cts +2 -1
- package/dist/router.d.ts +2 -1
- package/dist/router.js +2 -2
- package/dist/styles/breakpoints.cjs +18 -262
- package/dist/styles/colors.cjs +25 -170
- package/dist/styles/colors.d.cts +1 -0
- package/dist/styles/colors.d.ts +1 -0
- package/dist/styles/colors.js +1 -1
- package/dist/styles/common.cjs +47 -3879
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +5 -4
- package/dist/styles/constants.cjs +15 -44
- package/dist/styles/fields.cjs +42 -4138
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +7 -6
- package/dist/styles/global.cjs +12 -3944
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +6 -5
- package/dist/styles/themeDefaults/buttons.cjs +13 -0
- package/dist/styles/{buttons.d.cts → themeDefaults/buttons.d.cts} +3 -3
- package/dist/styles/{buttons.d.ts → themeDefaults/buttons.d.ts} +3 -3
- package/dist/styles/{buttons.js → themeDefaults/buttons.js} +2 -2
- package/dist/styles/themeDefaults/loading.cjs +9 -0
- package/dist/styles/themeDefaults/loading.d.cts +13 -0
- package/dist/styles/themeDefaults/loading.d.ts +13 -0
- package/dist/styles/themeDefaults/loading.js +9 -0
- package/dist/styles/themes.cjs +38 -3872
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +4 -3
- package/dist/styles/tokens/spacing.cjs +6 -88
- package/dist/styles/tokens/typography.cjs +13 -3346
- package/dist/styles/type.cjs +12 -482
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +7 -6
- package/dist/styles/typography.cjs +10 -3790
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +5 -4
- package/dist/styles/utils.cjs +32 -378
- package/dist/styles/utils.js +6 -5
- package/dist/styles/z-index.cjs +6 -52
- package/dist/{themes-832e46b2.d.ts → themes-74cc65f5.d.ts} +54 -6
- package/dist/{themes-37e92940.d.ts → themes-a4269f0f.d.ts} +54 -6
- package/dist/types/index.cjs +1 -18
- package/dist/utils/NextLink.cjs +6 -79
- package/dist/utils/countryCodesToNames.cjs +10 -289
- package/dist/utils/emotion.cjs +6 -31
- package/dist/utils/isReactNodeWithChildren.cjs +6 -34
- package/dist/utils/parseURLFragments.cjs +4 -27
- package/dist/utils/strings.cjs +21 -108
- package/dist/utils/toNonTypographicReactNodes.cjs +144 -7933
- package/dist/utils/toNonTypographicReactNodes.d.cts +6 -2
- package/dist/utils/toNonTypographicReactNodes.d.ts +6 -2
- package/dist/utils/toNonTypographicReactNodes.js +26 -22
- package/dist/utils/toReactNodes.cjs +154 -8346
- package/dist/utils/toReactNodes.d.cts +8 -5
- package/dist/utils/toReactNodes.d.ts +8 -5
- package/dist/utils/toReactNodes.js +39 -35
- package/dist/utils/transformGQLName.cjs +4 -27
- package/dist/utils/unicode.cjs +4 -27
- package/package.json +1 -3
- package/dist/styles/buttons.cjs +0 -133
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setDefaultReactNodesTypography,
|
|
3
3
|
toReactNodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XCEI3WIL.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UACBVBBE.js";
|
|
8
8
|
import {
|
|
9
9
|
standardBorderRadius
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GMM3LRXY.js";
|
|
11
11
|
import {
|
|
12
12
|
getColor
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I4NIA4SD.js";
|
|
14
14
|
|
|
15
15
|
// src/components/Badge.tsx
|
|
16
16
|
import styled from "@emotion/styled";
|
|
@@ -25,26 +25,33 @@ function Badge({
|
|
|
25
25
|
block = false,
|
|
26
26
|
typography: typographyProp
|
|
27
27
|
}) {
|
|
28
|
-
const
|
|
28
|
+
const defaultTypography = {
|
|
29
29
|
type: (typographyProp == null ? void 0 : typographyProp.type) || "Label Moderate",
|
|
30
30
|
props: {
|
|
31
31
|
size: (typographyProp == null ? void 0 : typographyProp.size) || "Small",
|
|
32
32
|
color: (typographyProp == null ? void 0 : typographyProp.color) || (kind === "danger" ? "danger" : "text")
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
const
|
|
36
|
-
link:
|
|
37
|
-
externalLink:
|
|
38
|
-
text:
|
|
39
|
-
nextLink:
|
|
35
|
+
const defaultTypographyMap = {
|
|
36
|
+
link: defaultTypography,
|
|
37
|
+
externalLink: defaultTypography,
|
|
38
|
+
text: defaultTypography,
|
|
39
|
+
nextLink: defaultTypography
|
|
40
40
|
};
|
|
41
41
|
let content = setDefaultReactNodesTypography(
|
|
42
42
|
contentProp,
|
|
43
|
-
|
|
43
|
+
defaultTypographyMap
|
|
44
44
|
);
|
|
45
45
|
content = toReactNodes(content);
|
|
46
46
|
return contentProp ? /* @__PURE__ */ jsxs(StyledBadge, { kind, ml, size, block, children: [
|
|
47
|
-
icon ? /* @__PURE__ */ jsx(
|
|
47
|
+
icon ? /* @__PURE__ */ jsx(
|
|
48
|
+
Icon,
|
|
49
|
+
{
|
|
50
|
+
name: icon.name,
|
|
51
|
+
width: 20,
|
|
52
|
+
color: icon.color ? icon.color : kind === "danger" ? "danger" : void 0
|
|
53
|
+
}
|
|
54
|
+
) : null,
|
|
48
55
|
/* @__PURE__ */ jsx(BadgeContent, { children: content })
|
|
49
56
|
] }) : null;
|
|
50
57
|
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
|
|
4
|
+
|
|
5
|
+
// src/components/LightboxImage.tsx
|
|
6
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _react = require('react');
|
|
12
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
13
|
+
var LightboxImage = ({ children }) => {
|
|
14
|
+
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15
|
+
const [boundingRect, setBoundingRect] = _react.useState.call(void 0, {
|
|
16
|
+
x: 0,
|
|
17
|
+
y: 0,
|
|
18
|
+
width: 0,
|
|
19
|
+
height: 0
|
|
20
|
+
});
|
|
21
|
+
const imageRef = _react.useRef.call(void 0, null);
|
|
22
|
+
const handleMouseUp = () => {
|
|
23
|
+
setIsOpen(!isOpen);
|
|
24
|
+
};
|
|
25
|
+
const handleSetBoundingRect = (ref) => {
|
|
26
|
+
var _a;
|
|
27
|
+
const rect = (_a = ref.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
28
|
+
if (rect) {
|
|
29
|
+
setBoundingRect({
|
|
30
|
+
x: rect.x,
|
|
31
|
+
y: rect.y,
|
|
32
|
+
width: rect.width,
|
|
33
|
+
height: rect.height
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
_react.useEffect.call(void 0, () => {
|
|
38
|
+
handleSetBoundingRect(imageRef);
|
|
39
|
+
}, [imageRef]);
|
|
40
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
41
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DummyImage, { isOpen, boundingRect }),
|
|
42
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43
|
+
StyledImage,
|
|
44
|
+
{
|
|
45
|
+
isOpen,
|
|
46
|
+
ref: imageRef,
|
|
47
|
+
boundingRect,
|
|
48
|
+
onMouseDown: () => handleSetBoundingRect(imageRef),
|
|
49
|
+
onMouseUp: handleMouseUp,
|
|
50
|
+
children
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Lightbox, { isOpen, onClick: handleMouseUp })
|
|
54
|
+
] });
|
|
55
|
+
};
|
|
56
|
+
var DummyImage = _styled2.default.div`
|
|
57
|
+
${(props) => props.isOpen ? `height: ${props.boundingRect.height}px; width: ${props.boundingRect.width}px;` : ``}
|
|
58
|
+
`;
|
|
59
|
+
var StyledImage = _styled2.default.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: start;
|
|
62
|
+
align-items: center;
|
|
63
|
+
z-index: ${_chunkZU72XWNEcjs.z.modalContainer};
|
|
64
|
+
|
|
65
|
+
animation-duration: 0.4s;
|
|
66
|
+
animation-fill-mode: forwards;
|
|
67
|
+
transition: all 0.2s ease-out;
|
|
68
|
+
|
|
69
|
+
${(props) => props.isOpen ? `
|
|
70
|
+
animation-direction: normal;
|
|
71
|
+
position: fixed;
|
|
72
|
+
animation-name: zoomIn;
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
` : `
|
|
75
|
+
&:hover {
|
|
76
|
+
cursor: zoom-in;
|
|
77
|
+
}
|
|
78
|
+
`}
|
|
79
|
+
|
|
80
|
+
img {
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
object-fit: contain;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@keyframes zoomIn {
|
|
87
|
+
from {
|
|
88
|
+
${(props) => {
|
|
89
|
+
const { x, y, width, height } = props.boundingRect;
|
|
90
|
+
return `
|
|
91
|
+
top: ${y}px;
|
|
92
|
+
left: ${x}px;
|
|
93
|
+
width: ${width}px;
|
|
94
|
+
height: ${height}px;
|
|
95
|
+
`;
|
|
96
|
+
}}
|
|
97
|
+
}
|
|
98
|
+
to {
|
|
99
|
+
top: 0;
|
|
100
|
+
left: 0;
|
|
101
|
+
width: 100%;
|
|
102
|
+
height: 100%;
|
|
103
|
+
padding: 24px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
`;
|
|
107
|
+
var Lightbox = _styled2.default.div`
|
|
108
|
+
transition: opacity 0.2s ease-out;
|
|
109
|
+
position: fixed;
|
|
110
|
+
opacity: 0;
|
|
111
|
+
z-index: ${_chunkZU72XWNEcjs.z.modalOverlay};
|
|
112
|
+
top: 0;
|
|
113
|
+
left: 0;
|
|
114
|
+
width: 100%;
|
|
115
|
+
height: 100%;
|
|
116
|
+
|
|
117
|
+
${({ theme, isOpen }) => isOpen ? `
|
|
118
|
+
opacity: 1;
|
|
119
|
+
background: ${theme.bg};
|
|
120
|
+
|
|
121
|
+
&:hover {
|
|
122
|
+
cursor: zoom-out;
|
|
123
|
+
}
|
|
124
|
+
` : `
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
`}
|
|
127
|
+
`;
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
exports.LightboxImage = LightboxImage;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/Home.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function Home() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M3.75 9.2582C3.75 8.97962 3.75 8.84033 3.78504 8.71146C3.81609 8.59729 3.86716 8.48953 3.93586 8.39321C4.0134 8.28448 4.12121 8.19628 4.33682 8.01987L10.9868 2.57896C11.3478 2.28362 11.5283 2.13596 11.7291 2.07944C11.9063 2.02959 12.0937 2.02959 12.2709 2.07944C12.4717 2.13596 12.6522 2.28362 13.0132 2.57896L19.6632 8.01987C19.8788 8.19628 19.9866 8.28448 20.0641 8.39321C20.1328 8.48953 20.1839 8.59729 20.215 8.71146C20.25 8.84033 20.25 8.97962 20.25 9.2582V18.65C20.25 19.21 20.25 19.4901 20.141 19.704C20.0451 19.8921 19.8922 20.0451 19.704 20.141C19.4901 20.25 19.2101 20.25 18.65 20.25H5.35C4.78995 20.25 4.50992 20.25 4.29601 20.141C4.10785 20.0451 3.95487 19.8921 3.85899 19.704C3.75 19.4901 3.75 19.21 3.75 18.65V9.2582Z",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
exports.Home = Home;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/HeartOutline.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function HeartOutline() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M14.1041 2.9055C12.6568 1.46965 10.3103 1.46965 8.86307 2.9055L7.98955 3.88576L7.11603 2.90552C5.66876 1.46967 3.32227 1.46967 1.875 2.90552C0.427734 4.34137 0.427732 6.66934 1.875 8.10519L7.98953 14.1715L14.1041 8.10517C15.5514 6.66932 15.5514 4.34135 14.1041 2.9055Z",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "1.5",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.HeartOutline = HeartOutline;
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
rootFontSizeRems,
|
|
6
6
|
standardLineHeightEms
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GMM3LRXY.js";
|
|
8
8
|
import {
|
|
9
9
|
useThemeBg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I4NIA4SD.js";
|
|
11
11
|
import {
|
|
12
12
|
bp
|
|
13
13
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TWG7OQT7.js";
|
|
4
4
|
import {
|
|
5
5
|
InputSubtext,
|
|
6
6
|
inputBlockStyle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OGJLMW37.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UACBVBBE.js";
|
|
11
11
|
|
|
12
12
|
// src/components/FileInput.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/NonagonCheckmark.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function NonagonCheckmark() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 12 12",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "g", { clipPath: "url(#clip0_1_2)", children: [
|
|
13
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M6.00009 0.166443C6.12679 0.166443 6.24725 0.221364 6.33031 0.316995L7.59831 1.77637L9.50773 1.47348C9.63286 1.45363 9.76043 1.489 9.8575 1.57043C9.95456 1.65187 10.0116 1.77137 10.0137 1.89804L10.047 3.83105L11.7044 4.82637C11.813 4.89162 11.888 5.0007 11.91 5.12548C11.932 5.25025 11.8988 5.37841 11.8191 5.47682L10.6021 6.97902L11.2319 8.80678C11.2732 8.92659 11.2605 9.05837 11.1972 9.16809C11.1338 9.27782 11.026 9.3547 10.9017 9.37879L9.00379 9.74723L8.31143 11.5523C8.26605 11.6706 8.17161 11.7634 8.05255 11.8067C7.93349 11.8501 7.80154 11.8396 7.69076 11.7782L6.00009 10.8405L4.30941 11.7782C4.19862 11.8396 4.06663 11.8501 3.94758 11.8067C3.82853 11.7634 3.7341 11.6706 3.68873 11.5523L2.99634 9.74723L1.09848 9.37879C0.974113 9.3547 0.866319 9.27782 0.802969 9.16809C0.739625 9.05837 0.726949 8.92659 0.768226 8.80678L1.39809 6.97902L0.181066 5.47682C0.101312 5.37841 0.0681439 5.25025 0.0901473 5.12548C0.112145 5.0007 0.18715 4.89162 0.295761 4.82637L1.95315 3.83105L1.98642 1.89804C1.98861 1.77137 2.04559 1.65187 2.14264 1.57043C2.2397 1.489 2.36728 1.45363 2.49241 1.47348L4.40182 1.77637L5.66981 0.316995C5.75293 0.221364 5.87339 0.166443 6.00009 0.166443ZM7.76776 5.57995C7.93862 5.40909 7.93862 5.13213 7.76776 4.96127C7.59691 4.7904 7.31988 4.7904 7.14902 4.96127L5.41676 6.69353L4.8511 6.12793C4.68025 5.95708 4.40323 5.95708 4.23238 6.12793C4.06153 6.29879 4.06153 6.57576 4.23238 6.74662L5.10736 7.62162C5.18943 7.70369 5.30073 7.74978 5.41676 7.74978C5.53278 7.74978 5.64408 7.70369 5.7261 7.62162L7.76776 5.57995Z",
|
|
19
|
+
fill: "#0068C9"
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23
|
+
"path",
|
|
24
|
+
{
|
|
25
|
+
d: "M7.76776 5.57989C7.93862 5.40903 7.93862 5.13207 7.76776 4.96121C7.59691 4.79034 7.31988 4.79034 7.14902 4.96121L5.41676 6.69347L4.8511 6.12787C4.68025 5.95702 4.40323 5.95702 4.23238 6.12787C4.06153 6.29873 4.06153 6.5757 4.23238 6.74656L5.10736 7.62156C5.18943 7.70363 5.30073 7.74972 5.41676 7.74972C5.53278 7.74972 5.64408 7.70363 5.7261 7.62156L7.76776 5.57989Z",
|
|
26
|
+
fill: "#F9F9F9"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "clipPath", { id: "clip0_1_2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
exports.NonagonCheckmark = NonagonCheckmark;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/ChevronLeft.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
var ChevronLeft = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
width: "100%",
|
|
7
|
+
height: "100%",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M15 20L7 12L15 4",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "2",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
exports.ChevronLeft = ChevronLeft;
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunk46AVXTFOcjs = require('./chunk-46AVXTFO.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkCRVO2CALcjs = require('./chunk-CRVO2CAL.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkV74OSV6Ncjs = require('./chunk-V74OSV6N.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkQR6XKKRKcjs = require('./chunk-QR6XKKRK.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkJ4BWIY7Mcjs = require('./chunk-J4BWIY7M.cjs');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var _chunkZJTRXOA5cjs = require('./chunk-ZJTRXOA5.cjs');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunkH24ZXPN3cjs = require('./chunk-H24ZXPN3.cjs');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
var _chunkXZG2GZWIcjs = require('./chunk-XZG2GZWI.cjs');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
var _chunk6VA4SAHQcjs = require('./chunk-6VA4SAHQ.cjs');
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
var _chunkUEG2PUK7cjs = require('./chunk-UEG2PUK7.cjs');
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
var _chunkCB3IFR2Xcjs = require('./chunk-CB3IFR2X.cjs');
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
var _chunkMNAZ4BDQcjs = require('./chunk-MNAZ4BDQ.cjs');
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
var _chunkKW3JYLRIcjs = require('./chunk-KW3JYLRI.cjs');
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var _chunkKSKKC6C2cjs = require('./chunk-KSKKC6C2.cjs');
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
var _chunkLKKJVJCGcjs = require('./chunk-LKKJVJCG.cjs');
|
|
49
|
+
|
|
50
|
+
// src/components/PageSection/PageSection.tsx
|
|
51
|
+
var _react = require('@emotion/react');
|
|
52
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
53
|
+
var _react3 = require('react');
|
|
54
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
55
|
+
function PageSection({
|
|
56
|
+
children,
|
|
57
|
+
title,
|
|
58
|
+
sectionId,
|
|
59
|
+
headerOffset = 0
|
|
60
|
+
}) {
|
|
61
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledPageSection, { scrollMarginTop: headerOffset + _chunk46AVXTFOcjs.pageSectionScrollOffset, children: [
|
|
62
|
+
title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH24ZXPN3cjs.Heading, { type: "h3", id: sectionId, mt: 0, mb: 40, children: title }) : null,
|
|
63
|
+
children
|
|
64
|
+
] });
|
|
65
|
+
}
|
|
66
|
+
var StyledPageSection = _styled2.default.div`
|
|
67
|
+
&:first-of-type {
|
|
68
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
69
|
+
margin-top: 4px;
|
|
70
|
+
`)}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:not(:first-of-type) {
|
|
74
|
+
margin-top: 72px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
h3,
|
|
78
|
+
h4 {
|
|
79
|
+
scroll-margin-top: ${({ scrollMarginTop }) => scrollMarginTop}px !important;
|
|
80
|
+
}
|
|
81
|
+
`;
|
|
82
|
+
var PageSectionSubheading = _chunkH24ZXPN3cjs.headingWithDefaults.call(void 0, {
|
|
83
|
+
type: "h4",
|
|
84
|
+
mb: 32
|
|
85
|
+
});
|
|
86
|
+
var PageSectionBoxActionColumn = ({
|
|
87
|
+
label,
|
|
88
|
+
value,
|
|
89
|
+
valueId
|
|
90
|
+
}) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledPageSectionBoxActionColumn, { children: [
|
|
91
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageSectionBoxActionColumnLabel, { children: label }),
|
|
92
|
+
value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageSectionBoxActionColumnValue, { id: valueId, children: value }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageSectionBoxActionColumnNoValue, { children: "Unknown" })
|
|
93
|
+
] });
|
|
94
|
+
var StyledPageSectionBoxActionColumn = _styled2.default.div``;
|
|
95
|
+
var PageSectionBoxActionColumnLabel = _styled2.default.div`
|
|
96
|
+
color: ${_chunkKSKKC6C2cjs.colors.gray40};
|
|
97
|
+
font-weight: 500;
|
|
98
|
+
margin: 0;
|
|
99
|
+
`;
|
|
100
|
+
var PageSectionBoxActionColumnValue = _styled2.default.div`
|
|
101
|
+
font-weight: 700;
|
|
102
|
+
margin-bottom: 0;
|
|
103
|
+
margin-top: 6px;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
text-overflow: ellipsis;
|
|
106
|
+
`;
|
|
107
|
+
var PageSectionBoxActionColumnNoValue = _styled2.default.call(void 0,
|
|
108
|
+
PageSectionBoxActionColumnValue
|
|
109
|
+
)`
|
|
110
|
+
color: ${_chunkKSKKC6C2cjs.colors.gray80};
|
|
111
|
+
font-style: italic;
|
|
112
|
+
`;
|
|
113
|
+
function PageSectionBoxAction({
|
|
114
|
+
dropdownItems,
|
|
115
|
+
icon,
|
|
116
|
+
isDelete = false,
|
|
117
|
+
label,
|
|
118
|
+
loading = false,
|
|
119
|
+
onClick,
|
|
120
|
+
to,
|
|
121
|
+
toParams
|
|
122
|
+
}) {
|
|
123
|
+
const theme = _react.useTheme.call(void 0, );
|
|
124
|
+
return loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXZG2GZWIcjs.Loading, { size: 12, center: false }) }) : icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEG2PUK7cjs.UnstyledButton, { onClick: icon.onClick, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCB3IFR2Xcjs.Icon, { name: icon.name, width: 12, color: "mcNeutral" }) }) }) : dropdownItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
125
|
+
_chunkV74OSV6Ncjs.Dropdown,
|
|
126
|
+
{
|
|
127
|
+
button: {
|
|
128
|
+
getContent: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCB3IFR2Xcjs.Icon, { name: "DotGrid1x3Horizontal", width: 16 })
|
|
129
|
+
},
|
|
130
|
+
dropdownItems
|
|
131
|
+
}
|
|
132
|
+
) : isDelete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEG2PUK7cjs.UnstyledButton, { css: { color: theme.mcNeutral }, onClick, children: "Delete" }) : label ? (
|
|
133
|
+
/* Extra div for proper default alignment inside flex contexts */
|
|
134
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
135
|
+
_chunkCRVO2CALcjs.TextButton,
|
|
136
|
+
{
|
|
137
|
+
leftIcon: icon,
|
|
138
|
+
text: label,
|
|
139
|
+
to,
|
|
140
|
+
toParams,
|
|
141
|
+
onClick
|
|
142
|
+
}
|
|
143
|
+
) })
|
|
144
|
+
) : null;
|
|
145
|
+
}
|
|
146
|
+
var PageSectionBoxActionRow = ({
|
|
147
|
+
title,
|
|
148
|
+
titleBadge,
|
|
149
|
+
description,
|
|
150
|
+
separator,
|
|
151
|
+
children,
|
|
152
|
+
action,
|
|
153
|
+
smFlexColumn = true
|
|
154
|
+
}) => {
|
|
155
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react3.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
156
|
+
SPageSectionBoxActionRow,
|
|
157
|
+
{
|
|
158
|
+
separator: Boolean(separator),
|
|
159
|
+
smFlexColumn: Boolean(smFlexColumn),
|
|
160
|
+
children: [
|
|
161
|
+
title ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
162
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PageSectionBoxTitle, { children: [
|
|
163
|
+
title,
|
|
164
|
+
titleBadge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4BWIY7Mcjs.Badge, { content: titleBadge, ml: 4 }) : null
|
|
165
|
+
] }),
|
|
166
|
+
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageSectionBoxDescription, { children: description }) : null
|
|
167
|
+
] }) : null,
|
|
168
|
+
children,
|
|
169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageSectionBoxAction, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, action))
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
) });
|
|
173
|
+
};
|
|
174
|
+
var SPageSectionBoxActionRow = _styled2.default.div`
|
|
175
|
+
display: flex;
|
|
176
|
+
gap: 12px;
|
|
177
|
+
align-items: top;
|
|
178
|
+
flex-direction: row;
|
|
179
|
+
justify-content: space-between;
|
|
180
|
+
|
|
181
|
+
& + & {
|
|
182
|
+
margin-top: 32px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
${({ smFlexColumn }) => smFlexColumn ? _chunkKW3JYLRIcjs.bp.sm(`flex-direction: column;`) : ""}
|
|
186
|
+
|
|
187
|
+
&:has(> ${StyledPageSectionBoxActionColumn}) {
|
|
188
|
+
${_chunk6VA4SAHQcjs.select.call(void 0, StyledPageSectionBoxActionColumn)} {
|
|
189
|
+
width: 150px;
|
|
190
|
+
}
|
|
191
|
+
${_chunkKW3JYLRIcjs.bp.maxMd(`
|
|
192
|
+
${_chunk6VA4SAHQcjs.select.call(void 0, StyledPageSectionBoxActionColumn)} {
|
|
193
|
+
width: auto;
|
|
194
|
+
}
|
|
195
|
+
`)}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
${({ separator, theme }) => separator && `
|
|
199
|
+
border-top: 1px solid;
|
|
200
|
+
${_chunkQR6XKKRKcjs.standardBorderColor.call(void 0, { theme }).styles};
|
|
201
|
+
padding-top: 32px;
|
|
202
|
+
`}
|
|
203
|
+
`;
|
|
204
|
+
var PageSectionBoxColumn = _styled2.default.div``;
|
|
205
|
+
var PageSectionBoxRow = _styled2.default.div`
|
|
206
|
+
display: grid;
|
|
207
|
+
grid-template-columns: repeat(
|
|
208
|
+
auto-fit,
|
|
209
|
+
minmax(215px, 1fr)
|
|
210
|
+
); /* This creates as many columns as can fit, each at least 150px wide */
|
|
211
|
+
`;
|
|
212
|
+
function PageSectionBox({
|
|
213
|
+
action,
|
|
214
|
+
description,
|
|
215
|
+
children
|
|
216
|
+
}) {
|
|
217
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledPageSectionBox, { children: [
|
|
218
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageSectionBoxDescription, { children: _chunkZJTRXOA5cjs.toReactNodes.call(void 0, description) }),
|
|
219
|
+
children,
|
|
220
|
+
(action == null ? void 0 : action.label) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { css: { marginTop: "12px" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageSectionBoxAction, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, action)) }) : null
|
|
221
|
+
] });
|
|
222
|
+
}
|
|
223
|
+
var StyledPageSectionBox = _styled2.default.div`
|
|
224
|
+
& + & {
|
|
225
|
+
margin-top: 32px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
& > ${PageSectionBoxRow}, & {
|
|
229
|
+
border: 1px solid;
|
|
230
|
+
${_chunkQR6XKKRKcjs.standardBorderColor}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
${_chunkMNAZ4BDQcjs.standardBorderRadius.call(void 0, 8)}
|
|
234
|
+
padding: 16px;
|
|
235
|
+
|
|
236
|
+
/* PageSectionBoxRow and PageSectionBoxColumn manage their own borders: */
|
|
237
|
+
&:has(> ${PageSectionBoxRow}) {
|
|
238
|
+
border: none;
|
|
239
|
+
padding: 0;
|
|
240
|
+
${_chunkMNAZ4BDQcjs.standardBorderRadius.call(void 0, 0)}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
& > ${PageSectionBoxRow} {
|
|
244
|
+
&:first-of-type {
|
|
245
|
+
${_chunkMNAZ4BDQcjs.standardBorderRadius.call(void 0, [12, 12, 0, 0])}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&:last-of-type {
|
|
249
|
+
${_chunkMNAZ4BDQcjs.standardBorderRadius.call(void 0, [0, 0, 12, 12])}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&:only-of-type {
|
|
253
|
+
${_chunkMNAZ4BDQcjs.standardBorderRadius.call(void 0, 12)}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
&:not(:last-of-type) {
|
|
257
|
+
border-bottom: 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
${PageSectionBoxColumn} {
|
|
261
|
+
padding: 32px;
|
|
262
|
+
${_chunkKW3JYLRIcjs.bp.sm(`padding: 16px;`)}
|
|
263
|
+
&:not(:first-of-type) {
|
|
264
|
+
border-left: solid 1px;
|
|
265
|
+
${_chunkQR6XKKRKcjs.standardBorderColor}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
${({ theme }) => _chunkKW3JYLRIcjs.bp.maxMd(`
|
|
270
|
+
grid-template-columns: none;
|
|
271
|
+
${_chunk6VA4SAHQcjs.select.call(void 0, PageSectionBoxColumn)} {
|
|
272
|
+
&:not(:first-of-type) {
|
|
273
|
+
border-left: 0 !important;
|
|
274
|
+
border-top: solid 1px;
|
|
275
|
+
${_chunkQR6XKKRKcjs.standardBorderColor.call(void 0, { theme }).styles};
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
`)}
|
|
279
|
+
}
|
|
280
|
+
`;
|
|
281
|
+
var PageSectionBoxTitle = _styled2.default.div`
|
|
282
|
+
display: flex;
|
|
283
|
+
align-items: center;
|
|
284
|
+
font-size: ${({ lg }) => lg ? 14 : 12}px;
|
|
285
|
+
font-weight: 600;
|
|
286
|
+
line-height: ${({ lg }) => _chunkMNAZ4BDQcjs.standardLineHeightEms * (lg ? 14 : 12) + _chunkJ4BWIY7Mcjs.badgeSmVPadding * 2}px;
|
|
287
|
+
`;
|
|
288
|
+
var PageSectionBoxDescription = _styled2.default.div`
|
|
289
|
+
color: ${({ theme }) => theme.mcNeutral};
|
|
290
|
+
${PageSectionBoxTitle} + & {
|
|
291
|
+
margin-top: 6px;
|
|
292
|
+
}
|
|
293
|
+
`;
|
|
294
|
+
var gapPx = 24;
|
|
295
|
+
var PageSectionRow = _styled2.default.div`
|
|
296
|
+
display: flex;
|
|
297
|
+
flex-direction: column;
|
|
298
|
+
gap: ${gapPx}px;
|
|
299
|
+
|
|
300
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
301
|
+
flex-direction: row;
|
|
302
|
+
`)}
|
|
303
|
+
|
|
304
|
+
margin-top: 40px;
|
|
305
|
+
&:first-of-type {
|
|
306
|
+
margin-top: 0;
|
|
307
|
+
}
|
|
308
|
+
`;
|
|
309
|
+
var PageSectionRowSubSection = _styled2.default.div`
|
|
310
|
+
box-sizing: border-box;
|
|
311
|
+
width: 100%;
|
|
312
|
+
|
|
313
|
+
&:first-of-type {
|
|
314
|
+
margin-right: 0px;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
&:last-of-type {
|
|
318
|
+
margin-left: 0px;
|
|
319
|
+
margin-top: ${gapPx}px;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
${StyledPageSectionBox} + ${StyledPageSectionBox} {
|
|
323
|
+
/* Less margin for boxes within a single SubSection: */
|
|
324
|
+
margin-top: 16px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
328
|
+
width: calc(50% - ${gapPx / 2}px);
|
|
329
|
+
|
|
330
|
+
&:last-of-type {
|
|
331
|
+
margin-top: 0;
|
|
332
|
+
}
|
|
333
|
+
`)}
|
|
334
|
+
|
|
335
|
+
${({ fullWidth }) => fullWidth ? "width: 100% !important;" : ""}
|
|
336
|
+
`;
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
exports.PageSection = PageSection; exports.PageSectionSubheading = PageSectionSubheading; exports.PageSectionBoxActionColumn = PageSectionBoxActionColumn; exports.PageSectionBoxActionRow = PageSectionBoxActionRow; exports.PageSectionBoxColumn = PageSectionBoxColumn; exports.PageSectionBoxRow = PageSectionBoxRow; exports.PageSectionBox = PageSectionBox; exports.StyledPageSectionBox = StyledPageSectionBox; exports.PageSectionBoxTitle = PageSectionBoxTitle; exports.PageSectionBoxDescription = PageSectionBoxDescription; exports.PageSectionRow = PageSectionRow; exports.PageSectionRowSubSection = PageSectionRowSubSection;
|