@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,71 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkAGIM6BKCcjs = require('./chunk-AGIM6BKC.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkLLVW7HU4cjs = require('./chunk-LLVW7HU4.cjs');
|
|
7
|
+
|
|
8
|
+
// src/components/documentation/DocsHeadline.tsx
|
|
9
|
+
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
10
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
11
|
+
var getHeadlineText = (element) => {
|
|
12
|
+
if (typeof element === "string") {
|
|
13
|
+
return element;
|
|
14
|
+
}
|
|
15
|
+
if (Array.isArray(element)) {
|
|
16
|
+
return getHeadlineText(element[0]);
|
|
17
|
+
}
|
|
18
|
+
if (_chunkAGIM6BKCcjs.isReactNodeWithChildren.call(void 0, element)) {
|
|
19
|
+
return getHeadlineText(element.props.children);
|
|
20
|
+
}
|
|
21
|
+
throw new Error(
|
|
22
|
+
"Could not find text in Headline element: " + (element == null ? void 0 : element.toString())
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
var getHeaderId = (element) => {
|
|
26
|
+
if (_react2.default.isValidElement(element) && (element == null ? void 0 : element.type) === "a" && "href" in element.props) {
|
|
27
|
+
const props = element.props;
|
|
28
|
+
return getHeaderId(props.href);
|
|
29
|
+
}
|
|
30
|
+
if (typeof element === "string") {
|
|
31
|
+
return element.replace("#", "");
|
|
32
|
+
}
|
|
33
|
+
if (Array.isArray(element)) {
|
|
34
|
+
return getHeaderId(element[0]);
|
|
35
|
+
}
|
|
36
|
+
if (_chunkAGIM6BKCcjs.isReactNodeWithChildren.call(void 0, element)) {
|
|
37
|
+
return getHeaderId(element.props.children);
|
|
38
|
+
}
|
|
39
|
+
throw new Error(
|
|
40
|
+
"Could not find text in Headline element: " + (element == null ? void 0 : element.toString())
|
|
41
|
+
);
|
|
42
|
+
};
|
|
43
|
+
var toKebabCase = (str) => {
|
|
44
|
+
return str.replaceAll(" ", "-").toLowerCase();
|
|
45
|
+
};
|
|
46
|
+
var DocsHeadline = ({
|
|
47
|
+
children,
|
|
48
|
+
color,
|
|
49
|
+
size = "Medium",
|
|
50
|
+
heading = "h1"
|
|
51
|
+
}) => {
|
|
52
|
+
const id = toKebabCase(getHeaderId(children));
|
|
53
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
54
|
+
_chunkLLVW7HU4cjs.StyledHeadline,
|
|
55
|
+
{
|
|
56
|
+
as: heading,
|
|
57
|
+
id,
|
|
58
|
+
size,
|
|
59
|
+
colorProp: color,
|
|
60
|
+
displayProp: "block",
|
|
61
|
+
hideOverflow: false,
|
|
62
|
+
block: true,
|
|
63
|
+
children
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
exports.getHeadlineText = getHeadlineText; exports.DocsHeadline = DocsHeadline;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/Lock.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function Lock() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 21 22",
|
|
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 14.1429C1 12.5427 1 11.7426 1.34469 11.1315C1.64789 10.5938 2.13169 10.1568 2.72675 9.88284C3.40324 9.57143 4.28882 9.57143 6.05998 9.57143H14.9149C16.6861 9.57143 17.5717 9.57143 18.2482 9.88284C18.8432 10.1568 19.327 10.5938 19.6302 11.1315C19.9749 11.7426 19.9749 12.5427 19.9749 14.1429V16.4286C19.9749 18.0287 19.9749 18.8288 19.6302 19.44C19.327 19.9776 18.8432 20.4147 18.2482 20.6886C17.5717 21 16.6861 21 14.9149 21H6.05998C4.28882 21 3.40324 21 2.72675 20.6886C2.13169 20.4147 1.64789 19.9776 1.34469 19.44C1 18.8288 1 18.0287 1 16.4286V14.1429Z",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "2"
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21
|
+
"path",
|
|
22
|
+
{
|
|
23
|
+
d: "M4.5821 9.57143L4.5821 5.28572C4.5821 3.95445 4.5821 3.28882 4.82283 2.76376C5.1438 2.06368 5.75945 1.50747 6.53435 1.21749C7.11552 1 9.01392 1 10.4875 1C11.961 1 13.4884 1 14.0696 1.21749C14.8445 1.50747 15.4601 2.06368 15.7811 2.76376C16.0218 3.28882 16.0218 3.95445 16.0218 5.28571V9.57143H4.5821Z",
|
|
24
|
+
stroke: "currentColor",
|
|
25
|
+
strokeWidth: "2"
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
exports.Lock = Lock;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/ExclamationPoint.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function ExclamationPoint() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 13 13",
|
|
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.48828 6.5C1.48828 3.46243 3.95072 0.999999 6.98828 1C10.0258 1 12.4883 3.46243 12.4883 6.5C12.4883 9.53757 10.0258 12 6.98828 12C3.95072 12 1.48828 9.53757 1.48828 6.5Z",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M6.98828 4.14286L6.98828 6.5M6.98828 8.85707L6.98828 8.87549",
|
|
25
|
+
stroke: "currentColor",
|
|
26
|
+
strokeWidth: "1.25",
|
|
27
|
+
strokeLinecap: "round",
|
|
28
|
+
strokeLinejoin: "round"
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32
|
+
"path",
|
|
33
|
+
{
|
|
34
|
+
d: "M6.98828 8.85707L6.98828 8.87549",
|
|
35
|
+
stroke: "currentColor",
|
|
36
|
+
strokeWidth: "1.5",
|
|
37
|
+
strokeLinecap: "round",
|
|
38
|
+
strokeLinejoin: "round"
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
exports.ExclamationPoint = ExclamationPoint;
|
|
@@ -1,28 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UC6SP4KJ.js";
|
|
4
|
+
import {
|
|
5
|
+
typographyStyles
|
|
6
|
+
} from "./chunk-EGOOSBGG.js";
|
|
4
7
|
import {
|
|
5
8
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GHXNMLAB.js";
|
|
7
10
|
|
|
8
11
|
// src/components/typography/Overline.tsx
|
|
9
12
|
import styled from "@emotion/styled";
|
|
10
13
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
11
14
|
var Overline = ({
|
|
12
|
-
|
|
15
|
+
block = false,
|
|
16
|
+
children,
|
|
13
17
|
color,
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
content,
|
|
19
|
+
display,
|
|
20
|
+
hideOverflow = false,
|
|
21
|
+
id,
|
|
22
|
+
size = "Medium"
|
|
16
23
|
}) => {
|
|
17
24
|
let reactNodes = children || null;
|
|
18
25
|
if (content) {
|
|
19
26
|
reactNodes = toNonTypographicReactNodes(content);
|
|
20
27
|
}
|
|
21
|
-
return /* @__PURE__ */ jsx(
|
|
28
|
+
return /* @__PURE__ */ jsx(
|
|
29
|
+
StyledOverline,
|
|
30
|
+
{
|
|
31
|
+
size,
|
|
32
|
+
colorProp: color,
|
|
33
|
+
block,
|
|
34
|
+
id,
|
|
35
|
+
hideOverflow,
|
|
36
|
+
displayProp: display,
|
|
37
|
+
children: reactNodes
|
|
38
|
+
}
|
|
39
|
+
);
|
|
22
40
|
};
|
|
23
41
|
var StyledOverline = styled.span`
|
|
24
42
|
${({ theme, size, colorProp }) => applyTypography(theme, "Overline", size, colorProp)}
|
|
25
|
-
|
|
43
|
+
${typographyStyles}
|
|
26
44
|
`;
|
|
27
45
|
|
|
28
46
|
export {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/CheckmarkCircleTier2.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function CheckmarkCircleTier2() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 28 28",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "14", cy: "14", r: "14", fill: "white" }),
|
|
13
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M8 13.9752L11.644 17.6192C11.644 17.6192 15.8995 13.3636 19.2631 10",
|
|
17
|
+
stroke: "#8B38DE",
|
|
18
|
+
strokeWidth: "2"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
exports.CheckmarkCircleTier2 = CheckmarkCircleTier2;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/Envelope.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function Envelope() {
|
|
4
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 40 40",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M35.0027 15.417C30.8238 18.5565 25.6293 20.417 20.0002 20.417C14.371 20.417 9.17645 18.5565 4.99773 15.417M4.5835 7.91699H35.4168V32.0837H4.5835V7.91699Z",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "3",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.Envelope = Envelope;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunk2WREDS5Bcjs = require('./chunk-2WREDS5B.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk4P7RPU32cjs = require('./chunk-4P7RPU32.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkPYL3O7AFcjs = require('./chunk-PYL3O7AF.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkWTHHP7G2cjs = require('./chunk-WTHHP7G2.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkKSKKC6C2cjs = require('./chunk-KSKKC6C2.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var _chunkLKKJVJCGcjs = require('./chunk-LKKJVJCG.cjs');
|
|
20
|
+
|
|
21
|
+
// src/components/CodeBlock.tsx
|
|
22
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
23
|
+
var _prismjs = require('prismjs'); var _prismjs2 = _interopRequireDefault(_prismjs);
|
|
24
|
+
require('prismjs/components/prism-dart.min.js');
|
|
25
|
+
require('prismjs/components/prism-go.min.js');
|
|
26
|
+
require('prismjs/components/prism-graphql.min.js');
|
|
27
|
+
require('prismjs/components/prism-java.min.js');
|
|
28
|
+
require('prismjs/components/prism-json.min.js');
|
|
29
|
+
require('prismjs/components/prism-jsx.min.js');
|
|
30
|
+
require('prismjs/components/prism-kotlin.min.js');
|
|
31
|
+
require('prismjs/components/prism-python.min.js');
|
|
32
|
+
require('prismjs/components/prism-rust.min.js');
|
|
33
|
+
require('prismjs/components/prism-swift.min.js');
|
|
34
|
+
require('prismjs/themes/prism-tomorrow.css');
|
|
35
|
+
var _react = require('react');
|
|
36
|
+
var _reactselect = require('react-select'); var _reactselect2 = _interopRequireDefault(_reactselect);
|
|
37
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
38
|
+
var ProgrammingLanguageOptions = {
|
|
39
|
+
Bash: "bash",
|
|
40
|
+
Flutter: "dart",
|
|
41
|
+
Go: "go",
|
|
42
|
+
GraphQL: "graphql",
|
|
43
|
+
Java: "java",
|
|
44
|
+
JavaScript: "js",
|
|
45
|
+
JSON: "json",
|
|
46
|
+
Kotlin: "kotlin",
|
|
47
|
+
Python: "python",
|
|
48
|
+
React: "react",
|
|
49
|
+
ReactNative: "tsx",
|
|
50
|
+
Rust: "rust",
|
|
51
|
+
Swift: "swift",
|
|
52
|
+
Text: "txt"
|
|
53
|
+
};
|
|
54
|
+
var backgroundColor = "#2d2d2d";
|
|
55
|
+
var InlineCode = _styled2.default.span`
|
|
56
|
+
font-family: "Roboto Mono", monospace;
|
|
57
|
+
background-color: #2d2d2d;
|
|
58
|
+
border: 1px solid ${_chunkWTHHP7G2cjs.themeOr.call(void 0, _chunkKSKKC6C2cjs.colors.gray90, _chunkKSKKC6C2cjs.colors.gray20)};
|
|
59
|
+
border-radius: 3px;
|
|
60
|
+
line-height: 24px;
|
|
61
|
+
padding: 0 4px;
|
|
62
|
+
`;
|
|
63
|
+
var codeSelectStyles = {
|
|
64
|
+
container: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
65
|
+
display: "flex"
|
|
66
|
+
}),
|
|
67
|
+
control: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
68
|
+
backgroundColor,
|
|
69
|
+
border: "none",
|
|
70
|
+
cursor: "pointer",
|
|
71
|
+
"&:hover": {
|
|
72
|
+
border: "#none"
|
|
73
|
+
},
|
|
74
|
+
boxShadow: "none",
|
|
75
|
+
minHeight: 0
|
|
76
|
+
}),
|
|
77
|
+
dropdownIndicator: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
78
|
+
color: "#ffffff",
|
|
79
|
+
padding: "0 0 0 4px",
|
|
80
|
+
"&:hover": {
|
|
81
|
+
color: "#ffffff"
|
|
82
|
+
}
|
|
83
|
+
}),
|
|
84
|
+
indicatorSeparator: (styles) => ({
|
|
85
|
+
display: "none"
|
|
86
|
+
}),
|
|
87
|
+
input: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
88
|
+
fontSize: "1rem",
|
|
89
|
+
margin: 0,
|
|
90
|
+
color: "transparent"
|
|
91
|
+
}),
|
|
92
|
+
menu: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
93
|
+
backgroundColor,
|
|
94
|
+
width: "auto"
|
|
95
|
+
}),
|
|
96
|
+
menuList: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
97
|
+
borderRadius: "4px",
|
|
98
|
+
padding: 0
|
|
99
|
+
}),
|
|
100
|
+
option: (styles, state) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
101
|
+
cursor: "pointer",
|
|
102
|
+
backgroundColor: state.isSelected ? _chunkKSKKC6C2cjs.colors.gray25 : backgroundColor,
|
|
103
|
+
"&:hover": {
|
|
104
|
+
backgroundColor: _chunkKSKKC6C2cjs.colors.gray25
|
|
105
|
+
}
|
|
106
|
+
}),
|
|
107
|
+
singleValue: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
108
|
+
color: "#ffffff",
|
|
109
|
+
margin: 0
|
|
110
|
+
}),
|
|
111
|
+
valueContainer: (styles) => _chunkLKKJVJCGcjs.__spreadProps.call(void 0, _chunkLKKJVJCGcjs.__spreadValues.call(void 0, {}, styles), {
|
|
112
|
+
padding: 0
|
|
113
|
+
})
|
|
114
|
+
};
|
|
115
|
+
var CodeBlock = ({
|
|
116
|
+
title,
|
|
117
|
+
children,
|
|
118
|
+
className,
|
|
119
|
+
language = "Text",
|
|
120
|
+
languageOptions,
|
|
121
|
+
onSelectLanguage,
|
|
122
|
+
withCopyButton
|
|
123
|
+
}) => {
|
|
124
|
+
_react.useLayoutEffect.call(void 0, () => {
|
|
125
|
+
_prismjs2.default.highlightAll();
|
|
126
|
+
}, [children, language]);
|
|
127
|
+
const header = withCopyButton || languageOptions && onSelectLanguage ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CodeBlockHeader, { children: [
|
|
128
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CodeBlockHeaderTitle, { children: title }),
|
|
129
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
130
|
+
"div",
|
|
131
|
+
{
|
|
132
|
+
css: {
|
|
133
|
+
display: "flex",
|
|
134
|
+
alignItems: "center",
|
|
135
|
+
justifyContent: title ? "flex-end" : "space-between",
|
|
136
|
+
width: "100%"
|
|
137
|
+
},
|
|
138
|
+
children: [
|
|
139
|
+
languageOptions && onSelectLanguage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { css: { margin: title ? "0 16px 0 auto" : "0" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
140
|
+
_reactselect2.default,
|
|
141
|
+
{
|
|
142
|
+
value: { value: language, label: language },
|
|
143
|
+
options: languageOptions.map((lang) => ({
|
|
144
|
+
value: lang,
|
|
145
|
+
label: lang
|
|
146
|
+
})),
|
|
147
|
+
onChange: (selected) => {
|
|
148
|
+
if (selected == null ? void 0 : selected.value) {
|
|
149
|
+
onSelectLanguage(selected.value);
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
styles: codeSelectStyles
|
|
153
|
+
}
|
|
154
|
+
) }) : null,
|
|
155
|
+
withCopyButton ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WREDS5Bcjs.CopyToClipboardButton, { value: children }) : null
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
)
|
|
159
|
+
] }) : null;
|
|
160
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledCodeBlock, { className, children: [
|
|
161
|
+
header,
|
|
162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CodeBlockContainer, { hasHeader: header !== null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "code", { className: `language-${ProgrammingLanguageOptions[language]}`, children }) })
|
|
163
|
+
] });
|
|
164
|
+
};
|
|
165
|
+
var StyledCodeBlock = _styled2.default.div``;
|
|
166
|
+
var CodeBlockHeader = _styled2.default.div`
|
|
167
|
+
align-items: center;
|
|
168
|
+
background-color: #2d2d2d;
|
|
169
|
+
border-bottom: 1px solid ${_chunkKSKKC6C2cjs.colors.gray25};
|
|
170
|
+
border-top-left-radius: 8px;
|
|
171
|
+
border-top-right-radius: 8px;
|
|
172
|
+
color: #ffffff;
|
|
173
|
+
display: flex;
|
|
174
|
+
flex-direction: row;
|
|
175
|
+
justify-content: space-between;
|
|
176
|
+
padding: 16px 20px;
|
|
177
|
+
`;
|
|
178
|
+
var CodeBlockContainer = _styled2.default.pre`
|
|
179
|
+
${_chunk4P7RPU32cjs.overflowAutoWithoutScrollbars}
|
|
180
|
+
&[class*="language-"] {
|
|
181
|
+
padding: 20px;
|
|
182
|
+
font-weight: 500;
|
|
183
|
+
${_chunkPYL3O7AFcjs.standardBorderRadius.call(void 0, 8)}
|
|
184
|
+
${(props) => props.hasHeader ? `border-top-left-radius: 0;
|
|
185
|
+
border-top-right-radius: 0;
|
|
186
|
+
margin-top: 0;` : ""}
|
|
187
|
+
}
|
|
188
|
+
`;
|
|
189
|
+
var CodeBlockHeaderTitle = _styled2.default.div`
|
|
190
|
+
width: 100%;
|
|
191
|
+
font-weight: 500;
|
|
192
|
+
color: ${({ theme }) => theme.hcNeutralFromBg(backgroundColor)};
|
|
193
|
+
`;
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
exports.ProgrammingLanguageOptions = ProgrammingLanguageOptions; exports.InlineCode = InlineCode; exports.CodeBlock = CodeBlock; exports.StyledCodeBlock = StyledCodeBlock;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkPYL3O7AFcjs = require('./chunk-PYL3O7AF.cjs');
|
|
4
|
+
|
|
5
|
+
// src/components/Checkbox.tsx
|
|
6
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
7
|
+
|
|
8
|
+
// src/static/images/Checkmark.svg?url
|
|
9
|
+
var Checkmark_default = 'data:image/svg+xml,<svg width="12" height="9" viewBox="0 0 12 9" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M10.5004 1.84998L5.79662 6.63103C4.99697 7.44383 4.59714 7.85023 4.1003 7.85023C3.60346 7.85023 3.20363 7.44383 2.40398 6.63103L1.5 5.7122" stroke="white" stroke-width="1.90917" stroke-linecap="round"/>%0A</svg>%0A';
|
|
10
|
+
|
|
11
|
+
// src/components/Checkbox.tsx
|
|
12
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
13
|
+
function Checkbox({
|
|
14
|
+
checked,
|
|
15
|
+
onChange,
|
|
16
|
+
id,
|
|
17
|
+
label,
|
|
18
|
+
mt = 0,
|
|
19
|
+
alignItems = "center",
|
|
20
|
+
disabled = false
|
|
21
|
+
}) {
|
|
22
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CheckboxContainer, { mt, alignItems, children: [
|
|
23
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24
|
+
StyledCheckbox,
|
|
25
|
+
{
|
|
26
|
+
id,
|
|
27
|
+
type: "checkbox",
|
|
28
|
+
checked,
|
|
29
|
+
onChange: () => onChange(!checked),
|
|
30
|
+
disabled,
|
|
31
|
+
onKeyDown: (event) => {
|
|
32
|
+
if (event.key === "Enter") {
|
|
33
|
+
event.preventDefault();
|
|
34
|
+
onChange(!checked);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxLabel, { htmlFor: id, children: label })
|
|
40
|
+
] });
|
|
41
|
+
}
|
|
42
|
+
var StyledCheckbox = _styled2.default.input`
|
|
43
|
+
margin: 0;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
appearance: none;
|
|
46
|
+
width: 18px;
|
|
47
|
+
height: 18px;
|
|
48
|
+
/* min-width needed when in flex container: */
|
|
49
|
+
min-width: 18px;
|
|
50
|
+
border-radius: 2.25px;
|
|
51
|
+
${({ checked, theme }) => !checked && `border: 1px solid ${theme.mcNeutral};`}
|
|
52
|
+
background-color: ${({ theme, checked }) => checked ? theme.info : theme.bg};
|
|
53
|
+
background-image: ${({ checked }) => checked ? `url("${Checkmark_default}");` : "none;"}
|
|
54
|
+
background-repeat: no-repeat;
|
|
55
|
+
background-position: center;
|
|
56
|
+
background-size: 9px auto;
|
|
57
|
+
${({ disabled }) => disabled && "opacity: 0.2;"}
|
|
58
|
+
`;
|
|
59
|
+
var CheckboxContainer = _styled2.default.span`
|
|
60
|
+
display: flex;
|
|
61
|
+
margin-top: ${({ mt }) => mt}px;
|
|
62
|
+
align-items: ${({ alignItems }) => alignItems};
|
|
63
|
+
|
|
64
|
+
& + & {
|
|
65
|
+
margin-top: 12px;
|
|
66
|
+
}
|
|
67
|
+
`;
|
|
68
|
+
var CheckboxLabel = _styled2.default.label`
|
|
69
|
+
margin-left: 12px;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
height: ${_chunkPYL3O7AFcjs.standardLineHeightEms}em;
|
|
72
|
+
`;
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
exports.Checkbox = Checkbox; exports.CheckboxContainer = CheckboxContainer;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/WarningSign.tsx
|
|
2
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
3
|
+
function WarningSign() {
|
|
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_3679_43594)", children: [
|
|
13
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M1.23392 10.8195L1.52049 10.4097L1.23392 10.8195C1.40632 10.94 1.59783 10.9728 1.74858 10.9866C1.89495 11 2.07532 11 2.27188 11L2.29247 11H9.70362L9.72422 11C9.92078 11 10.1011 11 10.2475 10.9866C10.3983 10.9728 10.5898 10.94 10.7622 10.8195L10.4756 10.4097L10.7622 10.8195C10.9876 10.6618 11.1381 10.4183 11.1783 10.1462C11.209 9.93805 11.1527 9.75208 11.0977 9.61107C11.0442 9.47415 10.9635 9.31281 10.8756 9.13699L10.8664 9.11862L7.1608 1.70747L7.16096 1.7074L7.15786 1.7016L7.15094 1.68775C7.04427 1.47437 6.94927 1.28435 6.86007 1.14036C6.77215 0.998424 6.64092 0.816166 6.42657 0.714504C6.15537 0.585877 5.84073 0.585877 5.56952 0.714504C5.35517 0.816167 5.22394 0.998426 5.13602 1.14036C5.04682 1.28436 4.95182 1.47439 4.84514 1.68777L4.83529 1.70748L1.12972 9.11862L1.12051 9.13704C1.03259 9.31284 0.951915 9.47416 0.898437 9.61107C0.843361 9.75208 0.787055 9.93805 0.817803 10.1462C0.858007 10.4183 1.00852 10.6618 1.23392 10.8195Z",
|
|
17
|
+
stroke: "currentColor"
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21
|
+
"path",
|
|
22
|
+
{
|
|
23
|
+
d: "M6 8.5V8.48633M6 4V6.75",
|
|
24
|
+
stroke: "currentColor",
|
|
25
|
+
strokeLinecap: "round",
|
|
26
|
+
strokeLinejoin: "round"
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "clipPath", { id: "clip0_3679_43594", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
exports.WarningSign = WarningSign;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkAZRC3MXCcjs = require('./chunk-AZRC3MXC.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkG5HBO2FIcjs = require('./chunk-G5HBO2FI.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkZBBVZQKJcjs = require('./chunk-ZBBVZQKJ.cjs');
|
|
10
|
+
|
|
11
|
+
// src/components/typography/Title.tsx
|
|
12
|
+
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
13
|
+
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
14
|
+
var Title = ({
|
|
15
|
+
block = false,
|
|
16
|
+
children,
|
|
17
|
+
color,
|
|
18
|
+
content,
|
|
19
|
+
display,
|
|
20
|
+
hideOverflow = false,
|
|
21
|
+
id,
|
|
22
|
+
size = "Medium"
|
|
23
|
+
}) => {
|
|
24
|
+
let reactNodes = children || null;
|
|
25
|
+
if (content) {
|
|
26
|
+
reactNodes = _chunkAZRC3MXCcjs.toNonTypographicReactNodes.call(void 0, content);
|
|
27
|
+
}
|
|
28
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29
|
+
StyledTitle,
|
|
30
|
+
{
|
|
31
|
+
size,
|
|
32
|
+
colorProp: color,
|
|
33
|
+
block,
|
|
34
|
+
id,
|
|
35
|
+
hideOverflow,
|
|
36
|
+
displayProp: display,
|
|
37
|
+
children: reactNodes
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
};
|
|
41
|
+
var StyledTitle = _styled2.default.span`
|
|
42
|
+
${({ theme, size, colorProp }) => _chunkZBBVZQKJcjs.applyTypography.call(void 0, theme, "Title", size, colorProp)}
|
|
43
|
+
${_chunkG5HBO2FIcjs.typographyStyles}
|
|
44
|
+
`;
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
exports.Title = Title; exports.StyledTitle = StyledTitle;
|