@lightsparkdev/ui 1.0.6 → 1.0.8
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-4EV5IUUJ.js → chunk-22TGTMSK.js} +25 -8
- package/dist/chunk-24G7XKW5.cjs +87 -0
- package/dist/{chunk-ENBUKLVT.js → chunk-24PXYMSU.js} +829 -0
- package/dist/chunk-24SOCRDH.cjs +94 -0
- package/dist/chunk-2C4Z2X45.cjs +81 -0
- package/dist/chunk-2ON6YBGL.cjs +40 -0
- package/dist/chunk-2R4K7WK4.cjs +27 -0
- package/dist/chunk-2WREDS5B.cjs +73 -0
- package/dist/{chunk-SCIQSZSW.js → chunk-34MTU3ER.js} +3 -1
- 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-3RJBB7Q6.cjs +38 -0
- package/dist/chunk-3TXLQOT4.cjs +94 -0
- package/dist/chunk-3UXAUDOL.cjs +168 -0
- package/dist/{chunk-FO7I4E45.js → chunk-3Z7RPOMO.js} +2 -2
- package/dist/chunk-43KEZLY6.cjs +27 -0
- package/dist/chunk-43LGFT5G.cjs +28 -0
- package/dist/chunk-46AVXTFO.cjs +6 -0
- package/dist/chunk-4BXMY75P.cjs +50 -0
- package/dist/chunk-4CW4UJ5X.cjs +50 -0
- package/dist/chunk-4HGJNBTO.cjs +41 -0
- package/dist/{chunk-RQLRNKOP.js → chunk-4IC7HDY4.js} +10 -10
- package/dist/chunk-4P7RPU32.cjs +94 -0
- package/dist/{chunk-PZTZ4436.js → chunk-4VKPCWNP.js} +2 -2
- package/dist/chunk-4VVPSX5O.cjs +8 -0
- package/dist/chunk-4XPAKKBS.cjs +264 -0
- package/dist/chunk-4ZF4NPF7.cjs +131 -0
- package/dist/chunk-52DSX7BK.cjs +26 -0
- package/dist/chunk-544LOSOG.cjs +27 -0
- package/dist/chunk-5IO7EL3S.cjs +38 -0
- package/dist/chunk-5O6LWFY4.cjs +49 -0
- package/dist/{chunk-QBRCVOJ4.js → chunk-5OIQOVHS.js} +6 -6
- package/dist/chunk-5P25HFMG.cjs +26 -0
- package/dist/{chunk-H3UUVMZ3.js → chunk-5W523NQP.js} +1 -1
- package/dist/chunk-6J3HJ3T2.cjs +27 -0
- package/dist/chunk-6LHW62FG.cjs +239 -0
- package/dist/chunk-6LYX73L5.cjs +67 -0
- package/dist/chunk-6O6PX2UG.cjs +33 -0
- package/dist/chunk-6VA4SAHQ.cjs +8 -0
- package/dist/{chunk-BRJKMY6Z.js → chunk-6YSADIN7.js} +3 -3
- package/dist/{chunk-EKU5IWJW.js → chunk-7ICNTAPO.js} +2 -2
- package/dist/chunk-7PRNB5U5.cjs +77 -0
- package/dist/chunk-A5QRVHWP.cjs +315 -0
- package/dist/chunk-A5SF55P6.cjs +27 -0
- package/dist/{chunk-TMIBU4ME.js → chunk-A6NNNY72.js} +1 -1
- package/dist/chunk-AGIM6BKC.cjs +11 -0
- package/dist/chunk-AJ7WPQU4.cjs +57 -0
- package/dist/chunk-AMAXYW5C.cjs +28 -0
- package/dist/{chunk-YG5BANJH.js → chunk-APUV4UN4.js} +2 -2
- package/dist/{chunk-QON4D7N2.js → chunk-AVEKG63Q.js} +24 -7
- package/dist/chunk-AXV4CDSK.cjs +89 -0
- package/dist/chunk-AZRC3MXC.cjs +119 -0
- package/dist/{chunk-I3WMJNCP.js → chunk-BBPNYL4K.js} +3 -1
- package/dist/chunk-BD3WXMLE.cjs +68 -0
- package/dist/chunk-BOBYW7PP.cjs +23 -0
- package/dist/chunk-BQEXNVAD.cjs +36 -0
- package/dist/chunk-BQG6DASD.cjs +49 -0
- package/dist/chunk-BS5XF33X.cjs +27 -0
- package/dist/chunk-BXLJEGX5.cjs +27 -0
- package/dist/chunk-BY47I7ZP.cjs +94 -0
- package/dist/chunk-C54KLX7Q.cjs +27 -0
- package/dist/{chunk-JZKGVGBU.js → chunk-C5KQZIKL.js} +1 -1
- package/dist/chunk-CB7GBZCJ.cjs +27 -0
- package/dist/chunk-CE5LGEAR.cjs +26 -0
- package/dist/chunk-CGLTHYGY.cjs +25 -0
- package/dist/{chunk-IIRG6R42.js → chunk-CHXBDWS3.js} +3 -3
- package/dist/{chunk-NBIK5O3N.js → chunk-CJBS52GU.js} +10 -10
- package/dist/chunk-CS3NUOE2.cjs +37 -0
- package/dist/chunk-CV4CDJUL.cjs +27 -0
- package/dist/chunk-CYWLRXPQ.cjs +34 -0
- package/dist/chunk-DBB5TKTS.cjs +291 -0
- package/dist/{chunk-YXAKRSFW.js → chunk-DBMGV4DX.js} +3 -3
- package/dist/{chunk-LKJ7QTWL.js → chunk-DGS7USD6.js} +4 -4
- package/dist/chunk-DM6GUQAV.cjs +42 -0
- package/dist/{chunk-D4DFISYR.js → chunk-DNRHVCOE.js} +1 -1
- package/dist/{chunk-M7E2PMFK.js → chunk-DPSSQNBK.js} +11 -10
- package/dist/{chunk-42D2SXB2.js → chunk-E4YBYEWH.js} +1 -1
- package/dist/chunk-E6YOHZKE.cjs +39 -0
- package/dist/{chunk-TN5UPDZG.js → chunk-E7RKIBJY.js} +1 -1
- package/dist/chunk-EDAMG44V.js +26 -0
- package/dist/{chunk-AVV74PTP.js → chunk-EEB6DWY3.js} +2 -2
- package/dist/chunk-EGOOSBGG.js +21 -0
- package/dist/{chunk-NK7WH3TK.js → chunk-EJZ3BXS3.js} +19 -18
- package/dist/chunk-ELZC2I4Y.cjs +27 -0
- package/dist/chunk-EM7O6Y3M.cjs +145 -0
- package/dist/chunk-ENRGP6TU.cjs +34 -0
- package/dist/chunk-EQ4V4QBD.cjs +35 -0
- package/dist/chunk-EXGU7HIU.cjs +49 -0
- package/dist/{chunk-NWPPTOKK.js → chunk-EXTVW2LU.js} +5 -5
- package/dist/{chunk-5JJUXAVA.js → chunk-F4RWDLPI.js} +3 -3
- package/dist/chunk-FBF72OKQ.cjs +33 -0
- package/dist/{chunk-XLKL3DNK.js → chunk-FBU6BGRP.js} +26 -9
- package/dist/chunk-FE2E2TKC.cjs +46 -0
- package/dist/{chunk-ZR2TARGX.js → chunk-FH3E64BU.js} +26 -7
- package/dist/chunk-FJZXLAEH.cjs +125 -0
- package/dist/chunk-FPOQM3WG.cjs +25 -0
- package/dist/chunk-FRASE266.cjs +150 -0
- package/dist/chunk-FZUELDMT.cjs +37 -0
- package/dist/chunk-G2ZTK5RI.cjs +27 -0
- package/dist/chunk-G5HBO2FI.cjs +21 -0
- package/dist/{chunk-IH5SIRJL.js → chunk-GB2UBWT4.js} +26 -8
- package/dist/chunk-GCE3EVF6.cjs +105 -0
- package/dist/chunk-GDXNYWJH.cjs +40 -0
- package/dist/{chunk-OPUCWQMK.js → chunk-GHXNMLAB.js} +2 -2
- package/dist/chunk-GSYM5JMB.cjs +17 -0
- package/dist/chunk-GVKKUMAK.cjs +27 -0
- package/dist/chunk-GWCVYEJG.cjs +118 -0
- package/dist/chunk-GZNDFGOK.cjs +26 -0
- package/dist/{chunk-45BHB7K7.js → chunk-H2OQXO5Z.js} +3 -3
- package/dist/chunk-H3Z7VJF4.cjs +27 -0
- package/dist/chunk-HA2ITLKV.cjs +26 -0
- package/dist/chunk-HJCROZDQ.cjs +55 -0
- package/dist/{chunk-QZMD3YHI.js → chunk-HN6NGIKM.js} +1 -13
- package/dist/{chunk-XQIQOMNE.js → chunk-HOKT6NQP.js} +1 -1
- package/dist/{chunk-QFVQ6QPA.js → chunk-HOR467ZW.js} +2 -2
- package/dist/{chunk-E6ZY35LN.js → chunk-HSBQGWYB.js} +5 -5
- package/dist/chunk-HTFKWW4S.cjs +381 -0
- package/dist/chunk-HVGR22WZ.cjs +24 -0
- package/dist/chunk-ICGEMWYQ.cjs +64 -0
- package/dist/chunk-IFT6NJX4.cjs +140 -0
- package/dist/chunk-IJ4XF2NA.cjs +129 -0
- package/dist/chunk-INAP7GDJ.cjs +27 -0
- package/dist/chunk-IOSJLM4O.cjs +28 -0
- package/dist/{chunk-4IHNUHE3.js → chunk-ISVMIEHD.js} +5 -5
- package/dist/chunk-J25ZXQOV.cjs +65 -0
- package/dist/chunk-J3G627ED.cjs +35 -0
- package/dist/chunk-J4YI5GMY.cjs +27 -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-N67Y7GWR.js → chunk-JSOZMOEJ.js} +1 -1
- package/dist/{chunk-VF5KSAZG.js → chunk-JWGDZRNN.js} +3 -3
- package/dist/chunk-JWWKSKXB.cjs +425 -0
- package/dist/{chunk-AKGW3FMJ.js → chunk-JZJQOZEN.js} +2 -2
- package/dist/chunk-KACMKEQC.cjs +57 -0
- package/dist/{chunk-QEZ7L6YF.js → chunk-KKK2ML75.js} +1 -1
- package/dist/chunk-KLC2OBTG.cjs +243 -0
- package/dist/chunk-KMFK2MOB.cjs +163 -0
- package/dist/chunk-KPGYI4CN.cjs +37 -0
- package/dist/chunk-KPMZD7KJ.cjs +25 -0
- package/dist/chunk-KS6GHRZI.cjs +8 -0
- package/dist/chunk-KSKKC6C2.cjs +126 -0
- package/dist/chunk-KW3JYLRI.cjs +233 -0
- package/dist/chunk-LIVPDWXD.cjs +27 -0
- package/dist/chunk-LKKJVJCG.cjs +63 -0
- package/dist/chunk-LLJZ3BRG.cjs +50 -0
- package/dist/chunk-LLVW7HU4.cjs +62 -0
- package/dist/chunk-LU2G6KCN.cjs +41 -0
- package/dist/chunk-LZ24FX6C.cjs +67 -0
- package/dist/{chunk-EHH4M2LZ.js → chunk-MBZSVLKB.js} +5 -5
- package/dist/{chunk-ILCC45G7.js → chunk-MDAPZY4A.js} +22 -18
- package/dist/chunk-MFDGE4AE.cjs +29 -0
- package/dist/chunk-MHOXWPRA.cjs +80 -0
- package/dist/chunk-MJN5WJMC.cjs +39 -0
- package/dist/{chunk-7EAO66LB.js → chunk-MK445W3F.js} +5 -5
- package/dist/chunk-MKW2IFOO.cjs +27 -0
- package/dist/chunk-MMK4RQ64.cjs +468 -0
- package/dist/chunk-MNZQCCZJ.cjs +26 -0
- package/dist/chunk-MSBDBEM7.cjs +59 -0
- package/dist/chunk-MT2C62ED.cjs +17 -0
- package/dist/{chunk-GMOJB7PP.js → chunk-N5A5ZNNB.js} +13 -11
- package/dist/chunk-N7NM6ELD.cjs +28 -0
- package/dist/chunk-N7QYPDKF.cjs +27 -0
- package/dist/chunk-NMRDZ23R.cjs +26 -0
- package/dist/chunk-NN23LWC7.cjs +366 -0
- package/dist/chunk-NNTGGG2C.cjs +95 -0
- package/dist/chunk-NPTHZ6KR.cjs +377 -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-O7UTME4V.cjs +24 -0
- package/dist/{chunk-AXNQ7BDD.js → chunk-ONE4Q37F.js} +4 -4
- package/dist/chunk-P73HWTOR.cjs +55 -0
- package/dist/chunk-P76JZF4N.cjs +39 -0
- package/dist/chunk-PBD4TY4L.cjs +104 -0
- package/dist/chunk-PD5XWF2Q.cjs +26 -0
- package/dist/chunk-PDDHDR54.cjs +351 -0
- package/dist/{chunk-GMEJR5XX.js → chunk-PFYBJXL5.js} +26 -11
- package/dist/chunk-PUSW24ER.cjs +28 -0
- package/dist/chunk-PYL3O7AF.cjs +164 -0
- package/dist/chunk-Q2OOHXBK.cjs +36 -0
- package/dist/chunk-Q6IGIW42.cjs +27 -0
- package/dist/chunk-QCJWZRIP.cjs +150 -0
- package/dist/chunk-QDNTIZC2.js +38 -0
- package/dist/chunk-QFOCB4NF.cjs +20 -0
- package/dist/chunk-QFXPWIS3.cjs +60 -0
- package/dist/chunk-QQKHEU6E.cjs +26 -0
- package/dist/{chunk-FT62PIPN.js → chunk-QQLUKKYZ.js} +97 -85
- package/dist/{chunk-LAGOF7IU.js → chunk-QQTZ6DZL.js} +3 -3
- package/dist/{chunk-BNHCCR3C.js → chunk-QU7VRXE6.js} +16 -13
- package/dist/chunk-QYJOJVJD.cjs +27 -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-RKBBY43D.cjs +59 -0
- package/dist/chunk-RSUJHDQA.cjs +56 -0
- package/dist/{chunk-SIYZ5PZT.js → chunk-RT4SDUU6.js} +19 -11
- package/dist/chunk-RU6KW5CM.cjs +27 -0
- package/dist/{chunk-Q76C6FJ5.js → chunk-RZMG2TID.js} +6 -5
- package/dist/chunk-S3BY6XUW.cjs +27 -0
- package/dist/chunk-SEJXEWOJ.cjs +51 -0
- package/dist/{chunk-ERNTWEIJ.js → chunk-SI63PJGM.js} +19 -12
- package/dist/{chunk-LH5VFS3E.js → chunk-SXY5KR2T.js} +1 -1
- package/dist/chunk-T6IAT66E.cjs +106 -0
- package/dist/chunk-T7PTO2D2.cjs +327 -0
- package/dist/chunk-T7ZB3XF7.cjs +16 -0
- package/dist/chunk-TB376AUW.cjs +25 -0
- package/dist/chunk-TMTEVKSD.cjs +4056 -0
- package/dist/{chunk-RRXB5FQC.js → chunk-TPL3YXOG.js} +7 -7
- package/dist/chunk-TPVPCMRQ.cjs +7 -0
- package/dist/chunk-TRIJJTMX.cjs +49 -0
- package/dist/{chunk-3DXU76SI.js → chunk-TSO4WRU4.js} +2 -2
- package/dist/chunk-TZ4KOSZV.cjs +33 -0
- package/dist/chunk-TZGHXXX4.cjs +29 -0
- package/dist/{chunk-QTPYP3IK.js → chunk-TZN3OW2Q.js} +2 -2
- package/dist/chunk-U2CKBWYJ.cjs +46 -0
- package/dist/chunk-U5D736PB.cjs +25 -0
- package/dist/{chunk-HNK2KIC7.js → chunk-UC6SP4KJ.js} +20 -5
- package/dist/chunk-UDKRYLGK.cjs +27 -0
- package/dist/chunk-UQ7P6HTC.cjs +27 -0
- package/dist/{chunk-IXAXRBFS.js → chunk-UUQZW2LJ.js} +25 -5
- package/dist/chunk-UWGIIJDN.cjs +38 -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-V5DGRLV7.cjs +71 -0
- package/dist/chunk-VB47G2O4.cjs +35 -0
- package/dist/chunk-VBU37CQG.cjs +48 -0
- package/dist/{chunk-PYAKYQWS.js → chunk-VCHMPHHC.js} +1 -1
- package/dist/{chunk-HLZNFEDV.js → chunk-VD3UNL3N.js} +25 -7
- package/dist/chunk-VDKIZEUQ.cjs +28 -0
- package/dist/chunk-VDL5FG27.cjs +27 -0
- package/dist/chunk-VMYRYEML.cjs +200 -0
- package/dist/chunk-VNFSKZW2.cjs +77 -0
- package/dist/chunk-VSFFGTTT.cjs +38 -0
- package/dist/{chunk-NONMMIMQ.js → chunk-VW2IB7XD.js} +1 -1
- package/dist/chunk-VYKXX3SH.cjs +49 -0
- package/dist/{chunk-UAUAYQ3C.js → chunk-W5I53DTZ.js} +154 -10
- package/dist/{chunk-7UBU5MKY.js → chunk-W7XPZYSY.js} +0 -1
- package/dist/chunk-WHCKM6E5.cjs +37 -0
- package/dist/chunk-WRN66OMM.cjs +27 -0
- package/dist/chunk-WRQEO3XT.cjs +26 -0
- package/dist/chunk-WTFNCHBK.cjs +30 -0
- package/dist/chunk-WTHHP7G2.cjs +531 -0
- package/dist/chunk-WW5RAKEC.cjs +27 -0
- package/dist/{chunk-FE477HOE.js → chunk-X5RKTU6O.js} +2 -2
- package/dist/chunk-XB2OTOVK.cjs +27 -0
- package/dist/chunk-XIFM5AMT.cjs +49 -0
- package/dist/chunk-XJPYWPVG.cjs +179 -0
- package/dist/chunk-XKQ2XWU5.cjs +28 -0
- package/dist/chunk-XTE2IISE.cjs +103 -0
- package/dist/chunk-XTLPMH2Q.cjs +27 -0
- package/dist/chunk-XYXNI3AO.cjs +76 -0
- package/dist/chunk-XZKD27Y2.cjs +49 -0
- package/dist/chunk-Y2U2KEP4.cjs +38 -0
- package/dist/chunk-Y6M4SBN7.cjs +102 -0
- package/dist/chunk-YHDN5LEA.cjs +22 -0
- package/dist/chunk-YJJBABLW.cjs +75 -0
- package/dist/chunk-YPCTBP2X.cjs +37 -0
- package/dist/chunk-YZVHWN44.cjs +101 -0
- package/dist/chunk-Z5IAIRIS.cjs +28 -0
- package/dist/chunk-ZBBVZQKJ.cjs +21 -0
- package/dist/{chunk-GGWFUEDW.js → chunk-ZHCJTMTX.js} +26 -8
- package/dist/chunk-ZPIJMKJZ.cjs +218 -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-PBLWYVQF.js → chunk-ZTIL63SE.js} +25 -7
- package/dist/chunk-ZU72XWNE.cjs +29 -0
- package/dist/chunk-ZUAO4DW3.cjs +65 -0
- package/dist/components/Badge.cjs +152 -8397
- package/dist/components/Badge.d.cts +6 -8
- package/dist/components/Badge.d.ts +6 -8
- package/dist/components/Badge.js +68 -63
- package/dist/components/Banner/Banner.cjs +153 -8552
- package/dist/components/Banner/Banner.d.cts +6 -8
- package/dist/components/Banner/Banner.d.ts +6 -8
- package/dist/components/Banner/Banner.js +68 -63
- package/dist/components/Banner/constants.cjs +8 -32
- package/dist/components/Button.cjs +159 -8821
- package/dist/components/Button.d.cts +11 -6
- package/dist/components/Button.d.ts +11 -6
- package/dist/components/Button.js +70 -65
- package/dist/components/ButtonRow.cjs +159 -8937
- package/dist/components/ButtonRow.d.cts +6 -2
- package/dist/components/ButtonRow.d.ts +6 -2
- package/dist/components/ButtonRow.js +72 -67
- package/dist/components/CardPage.cjs +167 -4383
- package/dist/components/CardPage.js +74 -69
- package/dist/components/Checkbox.cjs +11 -351
- package/dist/components/Checkbox.js +7 -6
- package/dist/components/CodeBlock.cjs +143 -8188
- package/dist/components/CodeBlock.js +56 -52
- package/dist/components/CodeInput/CodeInput.cjs +15 -4440
- package/dist/components/CodeInput/CodeInput.js +10 -9
- package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4131
- package/dist/components/CodeInput/SingleCodeInput.js +9 -8
- 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 +53 -49
- package/dist/components/CommaNumberInput.cjs +142 -8583
- package/dist/components/CommaNumberInput.d.cts +8 -4
- package/dist/components/CommaNumberInput.d.ts +8 -4
- package/dist/components/CommaNumberInput.js +59 -55
- package/dist/components/CommandKey.cjs +7 -71
- package/dist/components/ContentTable.cjs +134 -7771
- package/dist/components/ContentTable.js +52 -48
- 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 +54 -50
- 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 +52 -48
- package/dist/components/Drawer.cjs +156 -9079
- package/dist/components/Drawer.js +71 -66
- 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 +54 -50
- package/dist/components/FileInput.cjs +141 -8257
- package/dist/components/FileInput.js +58 -54
- package/dist/components/Flex.cjs +6 -50
- package/dist/components/GradientCardHeader.cjs +17 -506
- package/dist/components/GradientCardHeader.js +9 -8
- 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 +51 -47
- 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 +52 -48
- package/dist/components/InfoIconTooltip.cjs +152 -8416
- package/dist/components/InfoIconTooltip.d.cts +6 -8
- package/dist/components/InfoIconTooltip.d.ts +6 -8
- package/dist/components/InfoIconTooltip.js +69 -64
- package/dist/components/LightboxImage.cjs +5 -182
- package/dist/components/LightsparkProvider.cjs +16 -3969
- package/dist/components/LightsparkProvider.js +8 -7
- 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 +56 -50
- package/dist/components/Modal.cjs +163 -9662
- package/dist/components/Modal.d.cts +13 -10
- package/dist/components/Modal.d.ts +13 -10
- package/dist/components/Modal.js +76 -71
- package/dist/components/PageSection/PageSection.cjs +184 -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 +77 -72
- package/dist/components/PageSection/PageSectionNav.cjs +154 -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 +71 -65
- 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 +59 -55
- 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 +55 -51
- package/dist/components/ProgressBar.cjs +11 -3862
- package/dist/components/ProgressBar.js +7 -6
- package/dist/components/Radio.cjs +140 -8110
- package/dist/components/Radio.js +57 -52
- package/dist/components/SecretContainer.cjs +136 -7978
- package/dist/components/SecretContainer.js +55 -51
- package/dist/components/StatusIndicator.cjs +12 -363
- package/dist/components/StatusIndicator.js +8 -7
- package/dist/components/TextButton.cjs +152 -8463
- package/dist/components/TextButton.d.cts +9 -2
- package/dist/components/TextButton.d.ts +9 -2
- package/dist/components/TextButton.js +70 -64
- package/dist/components/TextIconAligner.cjs +150 -8309
- package/dist/components/TextIconAligner.d.cts +15 -7
- package/dist/components/TextIconAligner.d.ts +15 -7
- package/dist/components/TextIconAligner.js +68 -62
- package/dist/components/TextInput.cjs +141 -8445
- package/dist/components/TextInput.d.cts +8 -3
- package/dist/components/TextInput.d.ts +8 -3
- package/dist/components/TextInput.js +58 -54
- package/dist/components/Toasts.cjs +153 -8745
- package/dist/components/Toasts.d.cts +6 -8
- package/dist/components/Toasts.d.ts +6 -8
- package/dist/components/Toasts.js +70 -65
- package/dist/components/Toggle.cjs +12 -3902
- package/dist/components/Toggle.js +8 -7
- package/dist/components/Tooltip.cjs +12 -3886
- package/dist/components/Tooltip.js +7 -6
- package/dist/components/UnstyledButton.cjs +11 -314
- package/dist/components/UnstyledButton.js +7 -6
- package/dist/components/documentation/AnchorLinkHeader.cjs +142 -7900
- package/dist/components/documentation/AnchorLinkHeader.d.cts +6 -2
- package/dist/components/documentation/AnchorLinkHeader.d.ts +6 -2
- package/dist/components/documentation/AnchorLinkHeader.js +58 -53
- package/dist/components/documentation/DocsBodyParagraph.cjs +155 -3813
- package/dist/components/documentation/DocsBodyParagraph.d.cts +8 -4
- package/dist/components/documentation/DocsBodyParagraph.d.ts +8 -4
- package/dist/components/documentation/DocsBodyParagraph.js +73 -52
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +160 -3819
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +8 -4
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +8 -4
- package/dist/components/documentation/DocsBodyStrongParagraph.js +76 -56
- package/dist/components/documentation/DocsHeadline.cjs +137 -3880
- package/dist/components/documentation/DocsHeadline.d.cts +6 -2
- package/dist/components/documentation/DocsHeadline.d.ts +6 -2
- package/dist/components/documentation/DocsHeadline.js +57 -52
- package/dist/components/documentation/Video.cjs +20 -297
- package/dist/components/documentation/Video.js +6 -5
- package/dist/components/documentation/index.cjs +141 -7901
- package/dist/components/documentation/index.d.cts +6 -2
- package/dist/components/documentation/index.d.ts +6 -2
- package/dist/components/documentation/index.js +58 -53
- package/dist/components/index.cjs +380 -14544
- package/dist/components/index.d.cts +8 -9
- package/dist/components/index.d.ts +8 -9
- package/dist/components/index.js +108 -103
- package/dist/components/typography/Article.cjs +149 -4216
- package/dist/components/typography/Article.js +63 -58
- package/dist/components/typography/Body.cjs +140 -8011
- package/dist/components/typography/Body.d.cts +11 -19
- package/dist/components/typography/Body.d.ts +11 -19
- package/dist/components/typography/Body.js +56 -51
- package/dist/components/typography/BodyStrong.cjs +140 -8010
- package/dist/components/typography/BodyStrong.d.cts +11 -20
- package/dist/components/typography/BodyStrong.d.ts +11 -20
- package/dist/components/typography/BodyStrong.js +56 -51
- package/dist/components/typography/Code.cjs +140 -8008
- package/dist/components/typography/Code.d.cts +11 -18
- package/dist/components/typography/Code.d.ts +11 -18
- package/dist/components/typography/Code.js +56 -51
- package/dist/components/typography/Display.cjs +143 -8020
- package/dist/components/typography/Display.d.cts +12 -11
- package/dist/components/typography/Display.d.ts +12 -11
- package/dist/components/typography/Display.js +56 -51
- package/dist/components/typography/Headline.cjs +147 -8042
- package/dist/components/typography/Headline.d.cts +12 -22
- package/dist/components/typography/Headline.d.ts +12 -22
- package/dist/components/typography/Headline.js +56 -51
- package/dist/components/typography/Label.cjs +140 -8009
- package/dist/components/typography/Label.d.cts +11 -17
- package/dist/components/typography/Label.d.ts +11 -17
- package/dist/components/typography/Label.js +56 -51
- package/dist/components/typography/LabelModerate.cjs +140 -8009
- package/dist/components/typography/LabelModerate.d.cts +11 -17
- package/dist/components/typography/LabelModerate.d.ts +11 -17
- package/dist/components/typography/LabelModerate.js +56 -51
- package/dist/components/typography/LabelStrong.cjs +140 -8011
- package/dist/components/typography/LabelStrong.d.cts +11 -19
- package/dist/components/typography/LabelStrong.d.ts +11 -19
- package/dist/components/typography/LabelStrong.js +56 -51
- package/dist/components/typography/Overline.cjs +140 -8009
- package/dist/components/typography/Overline.d.cts +11 -17
- package/dist/components/typography/Overline.d.ts +11 -17
- package/dist/components/typography/Overline.js +56 -51
- package/dist/components/typography/Title.cjs +140 -8010
- package/dist/components/typography/Title.d.cts +11 -20
- package/dist/components/typography/Title.d.ts +11 -20
- package/dist/components/typography/Title.js +56 -51
- package/dist/components/typography/index.cjs +180 -8535
- package/dist/components/typography/index.d.cts +6 -2
- package/dist/components/typography/index.d.ts +6 -2
- package/dist/components/typography/index.js +68 -63
- package/dist/components/typography/renderTypography.cjs +150 -8257
- package/dist/components/typography/renderTypography.d.cts +35 -81
- package/dist/components/typography/renderTypography.d.ts +35 -81
- package/dist/components/typography/renderTypography.js +66 -61
- package/dist/components/typography/types.cjs +1 -0
- package/dist/components/typography/types.d.cts +147 -0
- package/dist/components/typography/types.d.ts +147 -0
- package/dist/components/typography/types.js +0 -0
- package/dist/components/typography/typographyStyles.cjs +7 -0
- package/dist/components/typography/typographyStyles.d.cts +133 -0
- package/dist/components/typography/typographyStyles.d.ts +133 -0
- package/dist/components/typography/typographyStyles.js +7 -0
- 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 +98 -86
- 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 +6 -5
- package/dist/styles/constants.cjs +15 -44
- package/dist/styles/fields.cjs +42 -4138
- package/dist/styles/fields.d.cts +5 -3
- package/dist/styles/fields.d.ts +5 -3
- package/dist/styles/fields.js +8 -7
- 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 +7 -6
- 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 +5 -4
- package/dist/styles/tokens/spacing.cjs +6 -88
- package/dist/styles/tokens/typography.cjs +13 -3346
- package/dist/styles/tokens/typography.d.cts +40 -12
- package/dist/styles/tokens/typography.d.ts +40 -12
- package/dist/styles/tokens/typography.js +1 -1
- 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 +8 -7
- 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 +6 -5
- package/dist/styles/utils.cjs +32 -378
- package/dist/styles/utils.js +7 -6
- package/dist/styles/z-index.cjs +6 -52
- package/dist/{themes-37e92940.d.ts → themes-13a0ed7c.d.ts} +364 -143
- package/dist/{themes-832e46b2.d.ts → themes-67ece8cd.d.ts} +364 -143
- 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 +53 -49
- package/dist/utils/toReactNodes.cjs +155 -8346
- package/dist/utils/toReactNodes.d.cts +9 -11
- package/dist/utils/toReactNodes.d.ts +9 -11
- package/dist/utils/toReactNodes.js +67 -62
- 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
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkT7ZB3XF7cjs = require('./chunk-T7ZB3XF7.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkQCJWZRIPcjs = require('./chunk-QCJWZRIP.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkBOBYW7PPcjs = require('./chunk-BOBYW7PP.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkBY47I7ZPcjs = require('./chunk-BY47I7ZP.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _chunkPYL3O7AFcjs = require('./chunk-PYL3O7AF.cjs');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunkWTHHP7G2cjs = require('./chunk-WTHHP7G2.cjs');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
var _chunkKW3JYLRIcjs = require('./chunk-KW3JYLRI.cjs');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
var _chunkLKKJVJCGcjs = require('./chunk-LKKJVJCG.cjs');
|
|
31
|
+
|
|
32
|
+
// src/components/Dropdown.tsx
|
|
33
|
+
var _react = require('@emotion/react');
|
|
34
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
var _react3 = require('react');
|
|
42
|
+
var _reactdom = require('react-dom'); var _reactdom2 = _interopRequireDefault(_reactdom);
|
|
43
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
44
|
+
function Dropdown({
|
|
45
|
+
button,
|
|
46
|
+
dropdownItems,
|
|
47
|
+
horizontalScrollRef,
|
|
48
|
+
onClickDropdownItems,
|
|
49
|
+
getCSS,
|
|
50
|
+
onOpen,
|
|
51
|
+
onClose,
|
|
52
|
+
closeOnScroll = false,
|
|
53
|
+
openOnHover = false,
|
|
54
|
+
minDropdownItemsWidth = 200,
|
|
55
|
+
maxDropdownItemsWidth = 300,
|
|
56
|
+
align = "center",
|
|
57
|
+
footer = null,
|
|
58
|
+
dropdownContent = null
|
|
59
|
+
}) {
|
|
60
|
+
const theme = _react.useTheme.call(void 0, );
|
|
61
|
+
const [isOpen, setIsOpen] = _react3.useState.call(void 0, false);
|
|
62
|
+
const [dropdownButtonHeight, setDropdownButtonHeight] = _react3.useState.call(void 0, 0);
|
|
63
|
+
const [dropdownButtonWidth, setDropdownButtonWidth] = _react3.useState.call(void 0, 0);
|
|
64
|
+
const [dropdownCoords, setDropdownCoords] = _react3.useState.call(void 0, {
|
|
65
|
+
top: 0,
|
|
66
|
+
left: 0,
|
|
67
|
+
right: 0
|
|
68
|
+
});
|
|
69
|
+
const dropdownRef = _react3.useRef.call(void 0, null);
|
|
70
|
+
const dropdownButtonRef = _react3.useRef.call(void 0, null);
|
|
71
|
+
const dropdownItemsRef = _react3.useRef.call(void 0, null);
|
|
72
|
+
const [dropdownItemsWidth, setDropdownItemsWidth] = _react3.useState.call(void 0, 0);
|
|
73
|
+
const nodeRef = _react3.useRef.call(void 0, null);
|
|
74
|
+
const [nodeReady, setNodeReady] = _react3.useState.call(void 0, false);
|
|
75
|
+
_react3.useEffect.call(void 0, () => {
|
|
76
|
+
if (!nodeRef.current) {
|
|
77
|
+
nodeRef.current = document.createElement("div");
|
|
78
|
+
document.body.appendChild(nodeRef.current);
|
|
79
|
+
}
|
|
80
|
+
setNodeReady(true);
|
|
81
|
+
return () => {
|
|
82
|
+
if (nodeRef.current) {
|
|
83
|
+
document.body.removeChild(nodeRef.current);
|
|
84
|
+
nodeRef.current = null;
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}, []);
|
|
88
|
+
const setOpen = _react3.useCallback.call(void 0,
|
|
89
|
+
(newValue) => {
|
|
90
|
+
setIsOpen(newValue);
|
|
91
|
+
if (newValue && onOpen) {
|
|
92
|
+
onOpen();
|
|
93
|
+
} else if (!newValue && onClose) {
|
|
94
|
+
onClose();
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
[onOpen, onClose]
|
|
98
|
+
);
|
|
99
|
+
function handleKeyDown(event) {
|
|
100
|
+
if (event.key === "Escape") {
|
|
101
|
+
event.preventDefault();
|
|
102
|
+
setOpen(false);
|
|
103
|
+
} else if (["Enter", "Return"].includes(event.key)) {
|
|
104
|
+
event.preventDefault();
|
|
105
|
+
setOpen(!isOpen);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function handleBlur(event) {
|
|
109
|
+
const targetOutsideDropdownItems = dropdownItemsRef.current && !dropdownItemsRef.current.contains(event.relatedTarget) && event.relatedTarget !== null;
|
|
110
|
+
if (targetOutsideDropdownItems) {
|
|
111
|
+
setOpen(false);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const handleRef = _react3.useCallback.call(void 0, (ref) => {
|
|
115
|
+
if (ref && !dropdownButtonRef.current) {
|
|
116
|
+
dropdownButtonRef.current = ref;
|
|
117
|
+
}
|
|
118
|
+
return ref;
|
|
119
|
+
}, []);
|
|
120
|
+
_react3.useEffect.call(void 0, () => {
|
|
121
|
+
function handleClickOutside(event) {
|
|
122
|
+
const targetOutsideDropdownItems = dropdownItemsRef.current && !dropdownItemsRef.current.contains(event.target);
|
|
123
|
+
const targetOutsideDropdownButton = dropdownButtonRef.current && !dropdownButtonRef.current.contains(event.target);
|
|
124
|
+
if (isOpen && event.target && targetOutsideDropdownItems && targetOutsideDropdownButton) {
|
|
125
|
+
setOpen(false);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
window.document.addEventListener("mousedown", handleClickOutside);
|
|
129
|
+
return () => {
|
|
130
|
+
window.document.removeEventListener("mousedown", handleClickOutside);
|
|
131
|
+
};
|
|
132
|
+
}, [isOpen, setOpen]);
|
|
133
|
+
const reposition = _react3.useCallback.call(void 0, () => {
|
|
134
|
+
if (dropdownButtonRef.current && dropdownItemsRef.current) {
|
|
135
|
+
const dropdownButtonRect = dropdownButtonRef.current.getBoundingClientRect();
|
|
136
|
+
setDropdownCoords({
|
|
137
|
+
top: dropdownButtonRect.top,
|
|
138
|
+
left: dropdownButtonRect.left,
|
|
139
|
+
right: dropdownButtonRect.right
|
|
140
|
+
});
|
|
141
|
+
setDropdownButtonHeight(dropdownButtonRect.height);
|
|
142
|
+
setDropdownButtonWidth(dropdownButtonRect.width);
|
|
143
|
+
const dropdownItemsRect = dropdownItemsRef.current.getBoundingClientRect();
|
|
144
|
+
setDropdownItemsWidth(dropdownItemsRect.width);
|
|
145
|
+
}
|
|
146
|
+
}, []);
|
|
147
|
+
_react3.useLayoutEffect.call(void 0, () => {
|
|
148
|
+
function onWindowResize() {
|
|
149
|
+
setOpen(false);
|
|
150
|
+
reposition();
|
|
151
|
+
}
|
|
152
|
+
function handleScroll() {
|
|
153
|
+
if (closeOnScroll) {
|
|
154
|
+
setOpen(false);
|
|
155
|
+
}
|
|
156
|
+
reposition();
|
|
157
|
+
}
|
|
158
|
+
reposition();
|
|
159
|
+
let dropdownButtonResizeObserver = null;
|
|
160
|
+
if (dropdownButtonRef.current) {
|
|
161
|
+
dropdownButtonResizeObserver = new ResizeObserver(reposition);
|
|
162
|
+
dropdownButtonResizeObserver.observe(dropdownButtonRef.current);
|
|
163
|
+
}
|
|
164
|
+
let dropdownResizeObserver = null;
|
|
165
|
+
if (dropdownButtonRef.current) {
|
|
166
|
+
dropdownResizeObserver = new ResizeObserver(reposition);
|
|
167
|
+
dropdownResizeObserver.observe(dropdownButtonRef.current);
|
|
168
|
+
}
|
|
169
|
+
window.addEventListener("resize", onWindowResize);
|
|
170
|
+
let navItemsResizeObserver = null;
|
|
171
|
+
window.addEventListener("scroll", handleScroll);
|
|
172
|
+
if (horizontalScrollRef == null ? void 0 : horizontalScrollRef.current) {
|
|
173
|
+
horizontalScrollRef.current.addEventListener("scroll", handleScroll);
|
|
174
|
+
navItemsResizeObserver = new ResizeObserver(reposition);
|
|
175
|
+
navItemsResizeObserver.observe(horizontalScrollRef.current);
|
|
176
|
+
}
|
|
177
|
+
return () => {
|
|
178
|
+
window.removeEventListener("resize", onWindowResize);
|
|
179
|
+
window.removeEventListener("scroll", handleScroll);
|
|
180
|
+
dropdownButtonResizeObserver == null ? void 0 : dropdownButtonResizeObserver.disconnect();
|
|
181
|
+
navItemsResizeObserver == null ? void 0 : navItemsResizeObserver.disconnect();
|
|
182
|
+
dropdownResizeObserver == null ? void 0 : dropdownResizeObserver.disconnect();
|
|
183
|
+
};
|
|
184
|
+
}, [setOpen, horizontalScrollRef, closeOnScroll, reposition]);
|
|
185
|
+
const handleClickDropdownItems = _react3.useCallback.call(void 0, () => {
|
|
186
|
+
setOpen(false);
|
|
187
|
+
onClickDropdownItems && onClickDropdownItems();
|
|
188
|
+
}, [onClickDropdownItems, setOpen]);
|
|
189
|
+
const dropdownTopMargin = 8;
|
|
190
|
+
const dropdownItemOffsetTop = dropdownCoords.top + dropdownButtonHeight + dropdownTopMargin;
|
|
191
|
+
let dropdownItemOffsetLeft = 0;
|
|
192
|
+
if (align === "center") {
|
|
193
|
+
dropdownItemOffsetLeft = dropdownCoords.left - (dropdownItemsWidth - dropdownButtonWidth) / 2;
|
|
194
|
+
} else if (align === "right") {
|
|
195
|
+
dropdownItemOffsetLeft = dropdownCoords.right - dropdownItemsWidth;
|
|
196
|
+
}
|
|
197
|
+
const buttonContent = button.label || button.getContent && button.getContent({ isOpen, theme });
|
|
198
|
+
const containerCSS = getCSS && getCSS({ isOpen, theme });
|
|
199
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
200
|
+
"div",
|
|
201
|
+
{
|
|
202
|
+
css: _chunkLKKJVJCGcjs.__spreadValues.call(void 0, { position: "relative", display: "inline-flex" }, containerCSS),
|
|
203
|
+
ref: dropdownRef,
|
|
204
|
+
children: [
|
|
205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
DropdownButton,
|
|
207
|
+
{
|
|
208
|
+
id: button.id,
|
|
209
|
+
type: "button",
|
|
210
|
+
onMouseEnter: openOnHover ? () => {
|
|
211
|
+
reposition();
|
|
212
|
+
setOpen(true);
|
|
213
|
+
} : void 0,
|
|
214
|
+
onMouseLeave: openOnHover ? () => {
|
|
215
|
+
setOpen(false);
|
|
216
|
+
} : void 0,
|
|
217
|
+
onMouseDown: (e) => {
|
|
218
|
+
reposition();
|
|
219
|
+
setOpen(!isOpen);
|
|
220
|
+
},
|
|
221
|
+
onKeyDown: handleKeyDown,
|
|
222
|
+
onFocus: (e) => {
|
|
223
|
+
reposition();
|
|
224
|
+
setOpen(true);
|
|
225
|
+
},
|
|
226
|
+
onBlur: handleBlur,
|
|
227
|
+
ref: handleRef,
|
|
228
|
+
css: button.getCSS && button.getCSS({ isOpen, theme }),
|
|
229
|
+
children: buttonContent
|
|
230
|
+
}
|
|
231
|
+
),
|
|
232
|
+
nodeReady && nodeRef.current ? _reactdom2.default.createPortal(
|
|
233
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
234
|
+
DropdownItems,
|
|
235
|
+
{
|
|
236
|
+
isOpen,
|
|
237
|
+
left: dropdownItemOffsetLeft,
|
|
238
|
+
top: dropdownItemOffsetTop,
|
|
239
|
+
ref: dropdownItemsRef,
|
|
240
|
+
minWidth: minDropdownItemsWidth,
|
|
241
|
+
maxWidth: maxDropdownItemsWidth,
|
|
242
|
+
children: [
|
|
243
|
+
dropdownItems == null ? void 0 : dropdownItems.map((dropdownItem, i) => {
|
|
244
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { onBlur: handleBlur, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
245
|
+
DropdownItem,
|
|
246
|
+
{
|
|
247
|
+
dropdownItem,
|
|
248
|
+
onClick: handleClickDropdownItems
|
|
249
|
+
}
|
|
250
|
+
) }, dropdownItem.label);
|
|
251
|
+
}),
|
|
252
|
+
dropdownContent,
|
|
253
|
+
footer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownFooter, { children: footer })
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
),
|
|
257
|
+
nodeRef.current
|
|
258
|
+
) : null
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
var DropdownFooter = _styled2.default.div`
|
|
264
|
+
padding: 24px 16px 0;
|
|
265
|
+
border-top: 1px solid ${({ theme }) => theme.c2Neutral};
|
|
266
|
+
margin-top: 16px;
|
|
267
|
+
`;
|
|
268
|
+
var DropdownItems = _styled2.default.ul`
|
|
269
|
+
${_chunkPYL3O7AFcjs.overlaySurface}
|
|
270
|
+
color: ${({ theme }) => _chunkWTHHP7G2cjs.themeOr.call(void 0, theme.c6Neutral, theme.c8Neutral)};
|
|
271
|
+
${_chunkPYL3O7AFcjs.standardBorderRadius.call(void 0, 8)}
|
|
272
|
+
padding: 12px 0;
|
|
273
|
+
visibility: ${({ isOpen }) => isOpen ? "visible" : "hidden"};
|
|
274
|
+
position: fixed;
|
|
275
|
+
${({ minWidth }) => minWidth ? `min-width: ${minWidth}px;` : ""}
|
|
276
|
+
${({ maxWidth }) => maxWidth ? `max-width: ${maxWidth}px;` : ""}
|
|
277
|
+
left: ${({ left }) => left}px;
|
|
278
|
+
top: ${({ top }) => top}px;
|
|
279
|
+
z-index: ${_chunkZU72XWNEcjs.z.dropdown};
|
|
280
|
+
list-style: none;
|
|
281
|
+
margin: 0;
|
|
282
|
+
`;
|
|
283
|
+
function DropdownItem({
|
|
284
|
+
dropdownItem,
|
|
285
|
+
onClick
|
|
286
|
+
}) {
|
|
287
|
+
const theme = _react.useTheme.call(void 0, );
|
|
288
|
+
const dropdownItemIcon = dropdownItem.getIcon && dropdownItem.getIcon({ dropdownItem, theme });
|
|
289
|
+
const dropdownItemIconNode = dropdownItemIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
+
_chunkBY47I7ZPcjs.Icon,
|
|
291
|
+
{
|
|
292
|
+
name: dropdownItemIcon.name,
|
|
293
|
+
width: dropdownItemIcon.width || 12,
|
|
294
|
+
mr: 10
|
|
295
|
+
}
|
|
296
|
+
) : null;
|
|
297
|
+
const cssProp2 = dropdownItem.getCSS && dropdownItem.getCSS({ theme, dropdownItem });
|
|
298
|
+
const onClickDropdownItem = _react3.useCallback.call(void 0, () => {
|
|
299
|
+
dropdownItem.onClick && dropdownItem.onClick(dropdownItem);
|
|
300
|
+
onClick && onClick();
|
|
301
|
+
}, [dropdownItem, onClick]);
|
|
302
|
+
if (dropdownItem.to !== void 0 || dropdownItem.externalLink) {
|
|
303
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
304
|
+
DropdownItemLink,
|
|
305
|
+
{
|
|
306
|
+
selected: Boolean(dropdownItem.selected),
|
|
307
|
+
to: dropdownItem.to,
|
|
308
|
+
externalLink: dropdownItem.externalLink,
|
|
309
|
+
params: dropdownItem.params,
|
|
310
|
+
onClick: onClickDropdownItem,
|
|
311
|
+
css: cssProp2,
|
|
312
|
+
hash: dropdownItem.hash,
|
|
313
|
+
children: [
|
|
314
|
+
dropdownItemIconNode,
|
|
315
|
+
dropdownItem.label
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
321
|
+
DropdownItemDiv,
|
|
322
|
+
{
|
|
323
|
+
selected: false,
|
|
324
|
+
css: cssProp2,
|
|
325
|
+
onClick: onClickDropdownItem,
|
|
326
|
+
children: [
|
|
327
|
+
dropdownItemIconNode,
|
|
328
|
+
dropdownItem.label
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
);
|
|
332
|
+
}
|
|
333
|
+
var DropdownButton = _styled2.default.call(void 0, _chunkBOBYW7PPcjs.UnstyledButton)`
|
|
334
|
+
${_chunkPYL3O7AFcjs.standardFocusOutline}
|
|
335
|
+
`;
|
|
336
|
+
var dropdownItemStyle = ({ selected, theme }) => `
|
|
337
|
+
background-color: ${selected ? theme.primary : "transparent"};
|
|
338
|
+
box-sizing: border-box;
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
display: flex;
|
|
341
|
+
flex-direction: row;
|
|
342
|
+
align-items: center;
|
|
343
|
+
height: 100%;
|
|
344
|
+
outline-color: ${selected ? theme.onPrimaryText : theme.hcNeutral} !important;
|
|
345
|
+
white-space: nowrap;
|
|
346
|
+
|
|
347
|
+
padding: 8px 16px;
|
|
348
|
+
${_chunkKW3JYLRIcjs.bp.sm(`padding-left: ${_chunkT7ZB3XF7cjs.smHeaderLogoMarginLeft};`)}
|
|
349
|
+
|
|
350
|
+
&:hover {
|
|
351
|
+
color: ${theme.hcNeutral} !important;
|
|
352
|
+
}
|
|
353
|
+
`;
|
|
354
|
+
var cssProp = ({
|
|
355
|
+
theme,
|
|
356
|
+
selected
|
|
357
|
+
}) => _react.css`
|
|
358
|
+
${dropdownItemStyle({ theme, selected: Boolean(selected) })}
|
|
359
|
+
${_chunkPYL3O7AFcjs.standardFocusOutline.call(void 0, { theme })}
|
|
360
|
+
`;
|
|
361
|
+
function DropdownItemLink(props) {
|
|
362
|
+
const theme = _react.useTheme.call(void 0, );
|
|
363
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
364
|
+
_chunkQCJWZRIPcjs.Link,
|
|
365
|
+
_chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, props), {
|
|
366
|
+
css: cssProp({ theme, selected: Boolean(props.selected) })
|
|
367
|
+
})
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
var DropdownItemDiv = _styled2.default.div`
|
|
371
|
+
${dropdownItemStyle}
|
|
372
|
+
${_chunkPYL3O7AFcjs.standardFocusOutline}
|
|
373
|
+
`;
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
exports.Dropdown = Dropdown;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/LeftArrow.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function LeftArrow() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 18 16",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M16.4744 8.00005L1.52344 8.00005M1.52344 8.00005L7.52344 14.2858M1.52344 8.00005L7.52344 1.71434",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "2",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.LeftArrow = LeftArrow;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/QuestionCircle.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function QuestionCircle() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 20 20",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M7.75 7.25C8.5 5 12.25 5.19156 12.25 7.54132C12.25 9.2008 10 9.4614 10 11.25M10 14V13.99M19.25 10C19.25 15.1086 15.1086 19.25 10 19.25C4.89137 19.25 0.75 15.1086 0.75 10C0.75 4.89137 4.89137 0.75 10 0.75C15.1086 0.75 19.25 4.89137 19.25 10ZM10.25 14C10.25 14.1381 10.1381 14.25 10 14.25C9.8619 14.25 9.75 14.1381 9.75 14C9.75 13.8619 9.8619 13.75 10 13.75C10.1381 13.75 10.25 13.8619 10.25 14Z",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.QuestionCircle = QuestionCircle;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/LinkIcon.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function LinkIcon() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 11 11",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "g", { clipPath: "url(#clip0_1880_31045)", children: [
|
|
13
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M10.5 0.5L5.5 5.5M10.5 0.5V3.5M10.5 0.5H7.5",
|
|
17
|
+
stroke: "currentColor",
|
|
18
|
+
strokeLinecap: "round"
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
fillRule: "evenodd",
|
|
25
|
+
clipRule: "evenodd",
|
|
26
|
+
d: "M5 1H2C0.895431 1 0 1.89543 0 3V9C0 10.1046 0.89543 11 2 11H8C9.10457 11 10 10.1046 10 9V6H9V9C9 9.55229 8.55229 10 8 10H2C1.44772 10 1 9.55229 1 9V3C1 2.44772 1.44772 2 2 2H5V1Z",
|
|
27
|
+
fill: "currentColor"
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
] }),
|
|
31
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "clipPath", { id: "clip0_1880_31045", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: "11", height: "11", fill: "currentColor" }) }) })
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
exports.LinkIcon = LinkIcon;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadProps,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "./chunk-LOPKRCGI.js";
|
|
5
|
+
|
|
6
|
+
// src/styles/themeDefaults/loading.tsx
|
|
7
|
+
var loadingThemeBase = {
|
|
8
|
+
defaultIconName: "LoadingSpinner",
|
|
9
|
+
kinds: {}
|
|
10
|
+
};
|
|
11
|
+
var defaultLoadingTheme = __spreadProps(__spreadValues({}, loadingThemeBase), {
|
|
12
|
+
kinds: {
|
|
13
|
+
primary: {
|
|
14
|
+
defaultIconName: "LoadingSpinner"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
loadingThemeBase,
|
|
21
|
+
defaultLoadingTheme
|
|
22
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunk4P7RPU32cjs = require('./chunk-4P7RPU32.cjs');
|
|
4
|
+
|
|
5
|
+
// src/components/StatusIndicator.tsx
|
|
6
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
7
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
8
|
+
function StatusIndicator({
|
|
9
|
+
color = "success",
|
|
10
|
+
text,
|
|
11
|
+
size = 12,
|
|
12
|
+
fontWeight = 700
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledStatusIndicator, { color, size, fontWeight, children: text });
|
|
15
|
+
}
|
|
16
|
+
var StyledStatusIndicator = _styled2.default.div`
|
|
17
|
+
color: ${({ theme, color }) => theme[color]};
|
|
18
|
+
font-size: ${({ size }) => _chunk4P7RPU32cjs.pxToRems.call(void 0, size)};
|
|
19
|
+
font-weight: ${({ fontWeight }) => fontWeight};
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
exports.StatusIndicator = StatusIndicator;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E7RKIBJY.js";
|
|
4
4
|
import {
|
|
5
5
|
standardLineHeightEms
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-APUV4UN4.js";
|
|
7
7
|
import {
|
|
8
8
|
themeOr
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W5I53DTZ.js";
|
|
10
10
|
import {
|
|
11
11
|
colors
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-REL56P3K.js";
|
|
13
13
|
|
|
14
14
|
// src/components/Toggle.tsx
|
|
15
15
|
import styled from "@emotion/styled";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/Plus.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function Plus() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 15 15",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M1.875 7.17828H7.1783V1.87498",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "1.40621",
|
|
18
|
+
strokeLinecap: "round"
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M7.33203 1.875V7.1783H12.6353",
|
|
25
|
+
stroke: "currentColor",
|
|
26
|
+
strokeWidth: "1.40621",
|
|
27
|
+
strokeLinecap: "round"
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31
|
+
"path",
|
|
32
|
+
{
|
|
33
|
+
d: "M12.6367 7.33859H7.33342V12.6419",
|
|
34
|
+
stroke: "currentColor",
|
|
35
|
+
strokeWidth: "1.40621",
|
|
36
|
+
strokeLinecap: "round"
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
+
"path",
|
|
41
|
+
{
|
|
42
|
+
d: "M7.17969 12.643L7.17969 7.33969L1.87639 7.33969",
|
|
43
|
+
stroke: "currentColor",
|
|
44
|
+
strokeWidth: "1.40621",
|
|
45
|
+
strokeLinecap: "round"
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
exports.Plus = Plus;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/RustTwoTone.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function RustTwoTone() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.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: [
|
|
12
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M11.8407 1.43262C6.11131 1.43262 1.44824 6.09788 1.44824 11.825C1.44824 17.5522 6.11351 22.2174 11.8407 22.2174C17.5678 22.2174 22.2331 17.5522 22.2331 11.825C22.2331 6.09788 17.5678 1.43262 11.8407 1.43262ZM11.8253 2.356C12.003 2.3606 12.1718 2.43466 12.2959 2.56239C12.4199 2.69012 12.4893 2.86141 12.4892 3.03974C12.4892 3.22108 12.4172 3.39499 12.289 3.52321C12.1607 3.65144 11.9868 3.72348 11.8055 3.72348C11.6241 3.72348 11.4502 3.65144 11.322 3.52321C11.1938 3.39499 11.1217 3.22108 11.1217 3.03974C11.1217 2.94826 11.14 2.8577 11.1756 2.77343C11.2112 2.68916 11.2633 2.61288 11.3289 2.54913C11.3945 2.48537 11.4723 2.43543 11.5575 2.40225C11.6428 2.36908 11.7338 2.35335 11.8253 2.356ZM13.3906 3.48164C14.5909 3.70646 15.7279 4.18988 16.7226 4.89831C17.7173 5.60675 18.5459 6.52322 19.1507 7.58408L18.3439 9.40446C18.2054 9.71885 18.3483 10.0882 18.6605 10.2289L20.2126 10.917C20.2608 11.4022 20.2667 11.8907 20.2302 12.3769H19.3662C19.2805 12.3769 19.2453 12.434 19.2453 12.5176V12.9133C19.2453 13.8455 18.7198 14.0499 18.2581 14.1005C17.8184 14.1511 17.3326 13.9158 17.271 13.6476C17.0116 12.19 16.5807 11.88 15.8991 11.3414C16.7456 10.8049 17.625 10.0113 17.625 8.95156C17.625 7.80613 16.8401 7.08502 16.3059 6.73106C15.554 6.23639 14.7229 6.13746 14.4987 6.13746H5.57267C6.80692 4.75863 8.46132 3.82518 10.2797 3.48164L11.3328 4.5853C11.5702 4.83373 11.9638 4.84472 12.2122 4.60508L13.3906 3.48164ZM3.67315 8.54264C3.85103 8.54779 4.01991 8.62209 4.14388 8.74976C4.26786 8.87744 4.33717 9.04842 4.3371 9.22638C4.3371 9.40772 4.26506 9.58163 4.13684 9.70986C4.00861 9.83808 3.8347 9.91012 3.65336 9.91012C3.47202 9.91012 3.29811 9.83808 3.16988 9.70986C3.04166 9.58163 2.96962 9.40772 2.96962 9.22638C2.96958 9.1349 2.9879 9.04434 3.02349 8.96007C3.05908 8.8758 3.11122 8.79953 3.17683 8.73577C3.24243 8.67201 3.32016 8.62207 3.40541 8.58889C3.49066 8.55572 3.58171 8.53999 3.67315 8.54264ZM19.9752 8.57342C20.1531 8.57857 20.3219 8.65287 20.4459 8.78054C20.5699 8.90822 20.6392 9.0792 20.6391 9.25716C20.6391 9.4385 20.5671 9.61241 20.4389 9.74064C20.3107 9.86886 20.1367 9.9409 19.9554 9.9409C19.7741 9.9409 19.6002 9.86886 19.4719 9.74064C19.3437 9.61241 19.2717 9.4385 19.2717 9.25716C19.2716 9.16568 19.2899 9.07512 19.3255 8.99085C19.3611 8.90658 19.4133 8.8303 19.4789 8.76655C19.5445 8.70279 19.6222 8.65285 19.7075 8.61967C19.7927 8.5865 19.8837 8.57077 19.9752 8.57342ZM4.96148 8.68334H6.15308V14.0565H3.7479C3.45085 13.0134 3.35828 11.9227 3.47528 10.8445L4.94829 10.1893C5.26268 10.0486 5.40558 9.68147 5.26488 9.36708L4.96148 8.68334ZM9.93454 8.7405H12.7728C12.9201 8.7405 13.8083 8.90979 13.8083 9.57594C13.8083 10.1278 13.1268 10.3256 12.5662 10.3256H9.93234L9.93454 8.7405ZM9.93454 12.6011H12.1089C12.3067 12.6011 13.1708 12.6583 13.4456 13.7619C13.5313 14.1005 13.7226 15.2042 13.8523 15.5581C13.982 15.9539 14.5075 16.7453 15.0681 16.7453H18.6165C18.3787 17.0638 18.1186 17.365 17.8382 17.6467L16.3938 17.3367C16.0574 17.2642 15.7254 17.4796 15.6529 17.816L15.3099 19.4165C14.207 19.9161 13.0093 20.1718 11.7986 20.1661C10.5878 20.1604 9.39257 19.8935 8.29444 19.3836L7.95147 17.783C7.87892 17.4467 7.54914 17.2312 7.21277 17.3037L5.79912 17.6071C5.53679 17.3365 5.29293 17.0486 5.06921 16.7453H11.944C12.0209 16.7453 12.0737 16.7321 12.0737 16.6596V14.228C12.0737 14.1577 12.0209 14.1423 11.944 14.1423H9.93234L9.93454 12.6011ZM6.76207 18.17C6.93996 18.1751 7.10883 18.2494 7.23281 18.3771C7.35678 18.5048 7.4261 18.6757 7.42602 18.8537C7.42602 19.035 7.35399 19.209 7.22576 19.3372C7.09753 19.4654 6.92362 19.5374 6.74228 19.5374C6.56094 19.5374 6.38703 19.4654 6.25881 19.3372C6.13058 19.209 6.05854 19.035 6.05854 18.8537C6.0585 18.7622 6.07682 18.6717 6.11242 18.5874C6.14801 18.5031 6.20015 18.4269 6.26575 18.3631C6.33135 18.2993 6.40908 18.2494 6.49433 18.2162C6.57959 18.183 6.67063 18.1673 6.76207 18.17ZM16.8863 18.2007C17.0642 18.2059 17.233 18.2802 17.357 18.4079C17.481 18.5355 17.5503 18.7065 17.5502 18.8845C17.5502 19.0658 17.4782 19.2397 17.35 19.368C17.2217 19.4962 17.0478 19.5682 16.8665 19.5682C16.6851 19.5682 16.5112 19.4962 16.383 19.368C16.2548 19.2397 16.1827 19.0658 16.1827 18.8845C16.1827 18.793 16.201 18.7025 16.2366 18.6182C16.2722 18.5339 16.3243 18.4576 16.3899 18.3939C16.4555 18.3301 16.5333 18.2802 16.6185 18.247C16.7038 18.2138 16.7948 18.1981 16.8863 18.2007Z",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
}
|
|
18
|
+
),
|
|
19
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20
|
+
"path",
|
|
21
|
+
{
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M21.6541 11.825C21.6541 14.4273 20.6203 16.923 18.7802 18.7631C16.9401 20.6032 14.4444 21.637 11.8421 21.637C9.23977 21.637 6.74404 20.6032 4.90394 18.7631C3.06383 16.923 2.03007 14.4273 2.03007 11.825C2.03007 9.22267 3.06383 6.72695 4.90394 4.88685C6.74404 3.04674 9.23977 2.01298 11.8421 2.01298C14.4444 2.01298 16.9401 3.04674 18.7802 4.88685C20.6203 6.72695 21.6541 9.22267 21.6541 11.825ZM21.4694 10.8774L22.9996 11.825L21.4694 12.7725L22.7841 14.0015L21.1 14.6325L22.1509 16.0945L20.3723 16.3847L21.1198 18.0248L19.3192 17.9611L19.7326 19.7155L17.9781 19.3022L18.0419 21.1027L16.4018 20.3552L16.1116 22.1339L14.6496 21.083L14.0186 22.767L12.7896 21.4523L11.8421 22.9825L10.8945 21.4523L9.66553 22.767L9.03456 21.083L7.57254 22.1339L7.28234 20.3552L5.64224 21.1027L5.706 19.3022L3.95157 19.7155L4.3649 17.9611L2.56431 18.0248L3.3118 16.3847L1.5332 16.0945L2.58409 14.6325L0.900026 14.0015L2.21474 12.7725L0.68457 11.825L2.21474 10.8774L0.900026 9.64844L2.58409 9.01747L1.5332 7.55545L3.3118 7.26525L2.56431 5.62515L4.3649 5.68891L3.95157 3.93448L5.706 4.34781L5.64224 2.54722L7.28234 3.29471L7.57254 1.51611L9.03456 2.567L9.66553 0.882936L10.8945 2.19765L11.8421 0.66748L12.7896 2.19765L14.0186 0.882936L14.6496 2.567L16.1116 1.51611L16.4018 3.29471L18.0419 2.54722L17.9781 4.34781L19.7326 3.93448L19.3192 5.68891L21.1198 5.62515L20.3723 7.26525L22.1509 7.55545L21.1 9.01747L22.7841 9.64844L21.4694 10.8774Z",
|
|
25
|
+
fill: "currentColor",
|
|
26
|
+
stroke: "currentColor",
|
|
27
|
+
strokeWidth: "0.659557",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round"
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
exports.RustTwoTone = RustTwoTone;
|