@lightsparkdev/ui 0.0.12 → 1.0.0
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 +48 -2
- package/README.md +1 -1
- package/dist/buttons-5a4562d5.d.ts +10531 -0
- package/dist/buttons-73127447.d.ts +10531 -0
- package/dist/chunk-24JOGF62.js +24 -0
- package/dist/chunk-262GCJFO.js +48 -0
- package/dist/{icons/Down.js → chunk-272LB55I.js} +10 -12
- package/dist/chunk-2ITITIZK.js +27 -0
- package/dist/chunk-2NT4RAQ3.js +11 -0
- package/dist/chunk-2TGRHBA5.js +102 -0
- package/dist/chunk-36ATWJ72.js +27 -0
- package/dist/chunk-36RZWQ7S.js +28 -0
- package/dist/{chunk-3EVAP5JT.js → chunk-3A6TEYT3.js} +13 -13
- package/dist/{chunk-UV6JCAHE.js → chunk-3BMKXP5E.js} +8 -6
- package/dist/chunk-3BSQFYGE.js +38 -0
- package/dist/{icons/TrashOld.js → chunk-3CHMNLGD.js} +9 -13
- package/dist/chunk-3KOUSJV6.js +26 -0
- package/dist/chunk-3TKO2L4T.js +31 -0
- package/dist/chunk-3XGQJIDN.js +37 -0
- package/dist/{icons/Channel.js → chunk-3YVEKRB3.js} +21 -14
- package/dist/chunk-44UNWWP3.js +58 -0
- package/dist/chunk-4CYGTH2J.js +327 -0
- package/dist/chunk-4EKGRFUQ.js +27 -0
- package/dist/chunk-4FM66VF3.js +28 -0
- package/dist/{chunk-OGSDZTHM.js → chunk-4QVTXKRX.js} +4 -2
- package/dist/chunk-4YN25H5H.js +59 -0
- package/dist/{chunk-JK4BP73A.js → chunk-52POF2W4.js} +15 -3
- package/dist/{chunk-J4FJQ3FN.js → chunk-54WKLEUU.js} +4 -2
- package/dist/chunk-5522HZOC.js +25 -0
- package/dist/chunk-55PXMNOG.js +65 -0
- package/dist/chunk-57MJ26OG.js +27 -0
- package/dist/chunk-5EFICY5Y.js +46 -0
- package/dist/chunk-5EIYTCCK.js +49 -0
- package/dist/chunk-5GVDRJLI.js +377 -0
- package/dist/chunk-5KSG5D3I.js +264 -0
- package/dist/chunk-5XTJZUMA.js +27 -0
- package/dist/chunk-5XZ7ZEC7.js +27 -0
- package/dist/chunk-5ZDDVLS6.js +27 -0
- package/dist/chunk-677VQ4DY.js +39 -0
- package/dist/chunk-6AC5YUBP.js +27 -0
- package/dist/chunk-6AFSPHQC.js +17 -0
- package/dist/chunk-6B3T5X4O.js +37 -0
- package/dist/chunk-72CHU34B.js +39 -0
- package/dist/chunk-7TOLLB23.js +24 -0
- package/dist/chunk-7UBU5MKY.js +47 -0
- package/dist/chunk-ACWTDOWH.js +42 -0
- package/dist/{chunk-VZX5ETRB.js → chunk-ACYYMZQZ.js} +40 -27
- package/dist/chunk-AFROYZKQ.js +64 -0
- package/dist/chunk-AHIR5UAO.js +31 -0
- package/dist/chunk-AXFZE7WZ.js +101 -0
- package/dist/chunk-B2VYAIYR.js +0 -0
- package/dist/chunk-BAQMHUBZ.js +27 -0
- package/dist/chunk-BCXQD6ZP.js +27 -0
- package/dist/chunk-BDCKN7K3.js +179 -0
- package/dist/{chunk-P3EUPXFA.js → chunk-BPZ7AV7W.js} +2 -2
- package/dist/chunk-BX32TDWY.js +27 -0
- package/dist/chunk-C4CFIKAL.js +27 -0
- package/dist/chunk-C5PYKGR6.js +34 -0
- package/dist/{chunk-PBRN7MJY.js → chunk-C7TNFU3D.js} +5 -5
- package/dist/chunk-CB2PBQ2G.js +35 -0
- package/dist/chunk-CJDIDKDD.js +29 -0
- package/dist/chunk-CKOW6ME2.js +27 -0
- package/dist/chunk-CPHTE26N.js +37 -0
- package/dist/{chunk-NFSAJ5GJ.js → chunk-CY3LZRBR.js} +4 -4
- package/dist/{chunk-5POPBNPS.js → chunk-CZH4OCQY.js} +14 -5
- package/dist/chunk-DW6LFUI2.js +27 -0
- package/dist/chunk-E3FGOYEJ.js +8 -0
- package/dist/{chunk-4TFRLWCC.js → chunk-E6XGSPA6.js} +19 -39
- package/dist/chunk-E6ZB6OJD.js +26 -0
- package/dist/{chunk-LAMQKQU3.js → chunk-EDN2QDCB.js} +28 -7
- package/dist/chunk-ENBUKLVT.js +3227 -0
- package/dist/chunk-F3YK2EER.js +26 -0
- package/dist/{chunk-ATUH6SXK.js → chunk-FEJU2K4L.js} +22 -13
- package/dist/chunk-FGJPZTJP.js +33 -0
- package/dist/chunk-FLREHHOH.js +124 -0
- package/dist/chunk-FOC33AUT.js +33 -0
- package/dist/chunk-FRZBZ7PD.js +28 -0
- package/dist/chunk-FUC2Z5QZ.js +33 -0
- package/dist/chunk-G3AHVMGL.js +26 -0
- package/dist/chunk-GHIYWOAC.js +394 -0
- package/dist/chunk-GJAG2D3Y.js +26 -0
- package/dist/chunk-GKBQAEH5.js +79 -0
- package/dist/chunk-GKH3ZH4N.js +27 -0
- package/dist/chunk-GOURVX6U.js +37 -0
- package/dist/chunk-GY5XKCWS.js +24 -0
- package/dist/chunk-H52K5UTT.js +27 -0
- package/dist/chunk-H5R5ZG3Z.js +27 -0
- package/dist/chunk-HE76YUIL.js +290 -0
- package/dist/{chunk-3GS5EFXV.js → chunk-HGYVPOA7.js} +1 -1
- package/dist/chunk-HPIVJCNC.js +25 -0
- package/dist/chunk-HV6SRK57.js +32 -0
- package/dist/chunk-I5PGTS2V.js +366 -0
- package/dist/chunk-IOWK2GBE.js +30 -0
- package/dist/chunk-IPD2D6QD.js +39 -0
- package/dist/chunk-IX5TIDMO.js +36 -0
- package/dist/chunk-IYEEAOW3.js +26 -0
- package/dist/chunk-J5NYACJ7.js +26 -0
- package/dist/chunk-JJC2AUQ3.js +6 -0
- package/dist/chunk-JLD7MGLC.js +27 -0
- package/dist/chunk-JWMMGYNV.js +36 -0
- package/dist/{chunk-FCZJILMW.js → chunk-JXXIU52B.js} +1 -1
- package/dist/chunk-K6KKTYTR.js +27 -0
- package/dist/{chunk-EEFNW7NS.js → chunk-KBL7GU4S.js} +15 -7
- package/dist/{chunk-XZR237JJ.js → chunk-KOD6R7U5.js} +9 -11
- package/dist/chunk-KODQP6CN.js +27 -0
- package/dist/chunk-KX3WMRSO.js +27 -0
- package/dist/chunk-KYTOF4WO.js +123 -0
- package/dist/chunk-L52XQKBX.js +38 -0
- package/dist/chunk-LDOAR276.js +35 -0
- package/dist/chunk-LHSGZZVE.js +26 -0
- package/dist/{chunk-CIGAQ47A.js → chunk-LOPKRCGI.js} +18 -0
- package/dist/chunk-LQ6VW2FH.js +50 -0
- package/dist/{chunk-A4FQBEYU.js → chunk-LWYMD7X4.js} +6 -6
- package/dist/chunk-LXK52GLU.js +190 -0
- package/dist/chunk-M2H6AEUK.js +50 -0
- package/dist/chunk-M4ORU6SJ.js +33 -0
- package/dist/chunk-MASPP6U5.js +29 -0
- package/dist/chunk-MD7VQ24I.js +456 -0
- package/dist/chunk-MGXWKJDU.js +32 -0
- package/dist/chunk-MO5PIHUX.js +46 -0
- package/dist/chunk-MXCYWGHN.js +27 -0
- package/dist/chunk-N5LIZ3K6.js +56 -0
- package/dist/chunk-NEH2HFAW.js +104 -0
- package/dist/chunk-NESZTWYE.js +27 -0
- package/dist/chunk-NETNVCI3.js +28 -0
- package/dist/{chunk-PVQCLQNA.js → chunk-NHZO42IA.js} +7 -16
- package/dist/chunk-NMJGBK5W.js +31 -0
- package/dist/chunk-NPY3QVGG.js +103 -0
- package/dist/chunk-O6YPHO6M.js +28 -0
- package/dist/chunk-OPV246QW.js +34 -0
- package/dist/chunk-OSOHJUPD.js +60 -0
- package/dist/chunk-PF5SD6AF.js +37 -0
- package/dist/chunk-PJMGLSAW.js +27 -0
- package/dist/{chunk-7C4MHI6Q.js → chunk-PK4E5P4Q.js} +7 -7
- package/dist/chunk-PO5NJLKW.js +27 -0
- package/dist/chunk-POTDIFIX.js +33 -0
- package/dist/chunk-Q3YLC4JA.js +27 -0
- package/dist/chunk-QAWK7SU6.js +26 -0
- package/dist/chunk-QBJ57KNQ.js +103 -0
- package/dist/chunk-QBM7XXVQ.js +37 -0
- package/dist/chunk-QSVZXM35.js +95 -0
- package/dist/{chunk-H3RW6JSU.js → chunk-QVKXSZ63.js} +2 -2
- package/dist/chunk-QW2INB5A.js +27 -0
- package/dist/chunk-RCIZUC7L.js +27 -0
- package/dist/{chunk-IPAXAP6K.js → chunk-RHHYOFN6.js} +7 -1
- package/dist/chunk-RPYB66KY.js +40 -0
- package/dist/{chunk-E3AOYBY5.js → chunk-RVT4NV6Z.js} +2 -2
- package/dist/chunk-SBFDPMTS.js +35 -0
- package/dist/chunk-SGI4RWHJ.js +76 -0
- package/dist/chunk-SIWCH44U.js +33 -0
- package/dist/{chunk-NM7UW54G.js → chunk-SMDDRU6V.js} +134 -76
- package/dist/chunk-SW6GFFIG.js +77 -0
- package/dist/chunk-TA7W237X.js +26 -0
- package/dist/chunk-TAEOGBWY.js +28 -0
- package/dist/{chunk-7T36JGTC.js → chunk-TKERS7F6.js} +2 -2
- package/dist/chunk-TSHXYNRZ.js +94 -0
- package/dist/chunk-TSYLKHL2.js +27 -0
- package/dist/chunk-TW4DU3WY.js +129 -0
- package/dist/chunk-U2VV6SRJ.js +67 -0
- package/dist/chunk-UA3XC7J6.js +349 -0
- package/dist/{chunk-RWIZ7Q74.js → chunk-UAFWDZRG.js} +39 -38
- package/dist/chunk-UCOL37RG.js +27 -0
- package/dist/{chunk-KMR5C25B.js → chunk-UKAPI3BN.js} +9 -4
- package/dist/chunk-UZ4TRHF3.js +41 -0
- package/dist/chunk-V5GQM24U.js +28 -0
- package/dist/chunk-VENBTZHV.js +97 -0
- package/dist/chunk-VI6WTKMV.js +8 -0
- package/dist/chunk-VNJ4NNZJ.js +25 -0
- package/dist/chunk-VQVEZVAG.js +16 -0
- package/dist/chunk-VRG7HI7X.js +38 -0
- package/dist/chunk-VRZRCDI4.js +218 -0
- package/dist/chunk-W5QTCRAG.js +106 -0
- package/dist/chunk-WDFOXMFH.js +27 -0
- package/dist/chunk-WHIOQKWN.js +27 -0
- package/dist/chunk-WIFHFWAN.js +21 -0
- package/dist/chunk-WNQ7KWL6.js +28 -0
- package/dist/chunk-XBKRPEVT.js +38 -0
- package/dist/chunk-XGUCS6ED.js +39 -0
- package/dist/chunk-XHLHQC5Q.js +37 -0
- package/dist/chunk-XXE3N5AE.js +25 -0
- package/dist/chunk-YO5J3T3L.js +27 -0
- package/dist/chunk-YQP6EWZY.js +39 -0
- package/dist/chunk-YRFC56VN.js +25 -0
- package/dist/chunk-YYPRW5VJ.js +118 -0
- package/dist/chunk-ZE4CS3ZS.js +25 -0
- package/dist/chunk-ZFDYANKZ.js +372 -0
- package/dist/{chunk-XP2MX2AA.js → chunk-ZKJS5M5E.js} +1 -1
- package/dist/chunk-ZLYJ3AKU.js +27 -0
- package/dist/chunk-ZMCAQFC6.js +35 -0
- package/dist/chunk-ZQXRHPB6.js +27 -0
- package/dist/chunk-ZSWFGISK.js +53 -0
- package/dist/chunk-ZXACVTYJ.js +57 -0
- package/dist/components/Badge.cjs +7630 -967
- package/dist/components/Badge.d.cts +6 -3
- package/dist/components/Badge.d.ts +6 -3
- package/dist/components/Badge.js +142 -5
- package/dist/components/Banner/Banner.cjs +8504 -0
- package/dist/components/Banner/Banner.d.cts +152 -0
- package/dist/components/Banner/Banner.d.ts +152 -0
- package/dist/components/Banner/Banner.js +148 -0
- package/dist/{types/utils.cjs → components/Banner/constants.cjs} +10 -14
- package/dist/components/Banner/constants.d.cts +4 -0
- package/dist/components/Banner/constants.d.ts +4 -0
- package/dist/components/Banner/constants.js +9 -0
- package/dist/components/Button.cjs +8164 -1339
- package/dist/components/Button.d.cts +157 -30
- package/dist/components/Button.d.ts +157 -30
- package/dist/components/Button.js +144 -13
- package/dist/components/ButtonRow.cjs +8094 -1278
- package/dist/components/ButtonRow.d.cts +117 -0
- package/dist/components/ButtonRow.d.ts +117 -0
- package/dist/components/ButtonRow.js +142 -13
- package/dist/components/CardPage.cjs +3374 -944
- package/dist/components/CardPage.js +144 -15
- package/dist/components/Checkbox.cjs +354 -0
- package/dist/components/Checkbox.d.cts +24 -0
- package/dist/components/Checkbox.d.ts +24 -0
- package/dist/components/Checkbox.js +15 -0
- package/dist/components/CodeBlock.cjs +7395 -1111
- package/dist/components/CodeBlock.js +126 -11
- package/dist/components/CodeInput/CodeInput.cjs +4413 -0
- package/dist/components/CodeInput/CodeInput.d.cts +22 -0
- package/dist/components/CodeInput/CodeInput.d.ts +22 -0
- package/dist/components/CodeInput/CodeInput.js +19 -0
- package/dist/components/CodeInput/SingleCodeInput.cjs +4099 -0
- package/dist/components/CodeInput/SingleCodeInput.d.cts +23 -0
- package/dist/components/CodeInput/SingleCodeInput.d.ts +23 -0
- package/dist/components/CodeInput/SingleCodeInput.js +16 -0
- package/dist/components/Collapsible.cjs +7334 -1069
- package/dist/components/Collapsible.d.cts +116 -2
- package/dist/components/Collapsible.d.ts +116 -2
- package/dist/components/Collapsible.js +123 -8
- package/dist/components/CommaNumberInput.cjs +8550 -0
- package/dist/components/CommaNumberInput.d.cts +132 -0
- package/dist/components/CommaNumberInput.d.ts +132 -0
- package/dist/components/CommaNumberInput.js +138 -0
- package/dist/components/CommandKey.js +1 -1
- package/dist/components/ContentTable.cjs +7280 -1023
- package/dist/components/ContentTable.js +122 -7
- package/dist/components/CopyToClipboardButton.cjs +7302 -1020
- package/dist/components/CopyToClipboardButton.d.cts +114 -1
- package/dist/components/CopyToClipboardButton.d.ts +114 -1
- package/dist/components/CopyToClipboardButton.js +124 -9
- package/dist/components/CurrencyAmount.cjs +7287 -1032
- package/dist/components/CurrencyAmount.d.cts +7 -7
- package/dist/components/CurrencyAmount.d.ts +7 -7
- package/dist/components/CurrencyAmount.js +122 -7
- package/dist/components/Drawer.cjs +8957 -0
- package/dist/components/Drawer.d.cts +11 -0
- package/dist/components/Drawer.d.ts +11 -0
- package/dist/components/Drawer.js +151 -0
- package/dist/components/Dropdown.cjs +8196 -0
- package/dist/components/Dropdown.d.cts +169 -0
- package/dist/components/Dropdown.d.ts +169 -0
- package/dist/components/Dropdown.js +132 -0
- package/dist/components/FileInput.cjs +7474 -1208
- package/dist/components/FileInput.js +130 -106
- package/dist/components/GradientCardHeader.cjs +341 -14
- package/dist/components/GradientCardHeader.d.cts +2 -1
- package/dist/components/GradientCardHeader.d.ts +2 -1
- package/dist/components/GradientCardHeader.js +10 -2
- package/dist/components/Icon/Icon.cjs +7689 -0
- package/dist/components/Icon/Icon.d.cts +146 -0
- package/dist/components/Icon/Icon.d.ts +146 -0
- package/dist/components/Icon/Icon.js +130 -0
- package/dist/components/Icon/types.cjs +18 -0
- package/dist/components/Icon/types.d.cts +117 -0
- package/dist/components/Icon/types.d.ts +117 -0
- package/dist/components/Icon/types.js +0 -0
- package/dist/components/InfoIconTooltip.cjs +8367 -0
- package/dist/components/InfoIconTooltip.d.cts +140 -0
- package/dist/components/InfoIconTooltip.d.ts +140 -0
- package/dist/components/InfoIconTooltip.js +147 -0
- package/dist/components/LightboxImage.js +1 -1
- package/dist/components/LightsparkProvider.cjs +3394 -956
- package/dist/components/LightsparkProvider.js +9 -7
- package/dist/components/Loading.cjs +7276 -1017
- package/dist/components/Loading.js +122 -7
- package/dist/components/Modal.cjs +8450 -1414
- package/dist/components/Modal.d.cts +151 -5
- package/dist/components/Modal.d.ts +151 -5
- package/dist/components/Modal.js +146 -15
- package/dist/components/PageSection/PageSection.cjs +9489 -0
- package/dist/components/PageSection/PageSection.d.cts +202 -0
- package/dist/components/PageSection/PageSection.d.ts +202 -0
- package/dist/components/PageSection/PageSection.js +183 -0
- package/dist/components/PageSection/PageSectionNav.cjs +8493 -0
- package/dist/components/PageSection/PageSectionNav.d.cts +127 -0
- package/dist/components/PageSection/PageSectionNav.d.ts +127 -0
- package/dist/components/PageSection/PageSectionNav.js +148 -0
- package/dist/{icons/Dots.cjs → components/PageSection/constants.cjs} +10 -18
- package/dist/components/PageSection/constants.d.cts +3 -0
- package/dist/components/PageSection/constants.d.ts +3 -0
- package/dist/components/PageSection/constants.js +7 -0
- package/dist/components/PhoneInput.cjs +8756 -0
- package/dist/components/PhoneInput.d.cts +22 -0
- package/dist/components/PhoneInput.d.ts +22 -0
- package/dist/components/PhoneInput.js +137 -0
- package/dist/components/Pill.cjs +7308 -1047
- package/dist/components/Pill.d.cts +114 -1
- package/dist/components/Pill.d.ts +114 -1
- package/dist/components/Pill.js +125 -10
- package/dist/components/ProgressBar.cjs +3376 -946
- package/dist/components/ProgressBar.js +7 -5
- package/dist/components/Radio.cjs +8015 -0
- package/dist/components/Radio.d.cts +13 -0
- package/dist/components/Radio.d.ts +13 -0
- package/dist/components/Radio.js +149 -0
- package/dist/components/SecretContainer.cjs +7447 -1165
- package/dist/components/SecretContainer.js +125 -10
- package/dist/components/StatusIndicator.cjs +364 -0
- package/dist/components/StatusIndicator.d.cts +12 -0
- package/dist/components/StatusIndicator.d.ts +12 -0
- package/dist/components/StatusIndicator.js +14 -0
- package/dist/components/TextButton.cjs +8415 -0
- package/dist/components/TextButton.d.cts +148 -0
- package/dist/components/TextButton.d.ts +148 -0
- package/dist/components/TextButton.js +146 -0
- package/dist/components/TextIconAligner.cjs +7780 -994
- package/dist/components/TextIconAligner.d.cts +135 -10
- package/dist/components/TextIconAligner.d.ts +135 -10
- package/dist/components/TextIconAligner.js +138 -7
- package/dist/components/TextInput.cjs +8412 -0
- package/dist/components/TextInput.d.cts +183 -0
- package/dist/components/TextInput.d.ts +183 -0
- package/dist/components/TextInput.js +137 -0
- package/dist/components/Toasts.cjs +8697 -0
- package/dist/components/Toasts.d.cts +150 -0
- package/dist/components/Toasts.d.ts +150 -0
- package/dist/components/Toasts.js +148 -0
- package/dist/components/Toggle.cjs +3877 -0
- package/dist/components/Toggle.d.cts +28 -0
- package/dist/components/Toggle.d.ts +28 -0
- package/dist/components/Toggle.js +16 -0
- package/dist/components/Tooltip.cjs +3856 -0
- package/dist/components/Tooltip.d.cts +9 -0
- package/dist/components/Tooltip.d.ts +9 -0
- package/dist/components/Tooltip.js +14 -0
- package/dist/components/UnstyledButton.cjs +41 -1082
- package/dist/components/UnstyledButton.js +7 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +7405 -1091
- package/dist/components/documentation/AnchorLinkHeader.d.cts +125 -4
- package/dist/components/documentation/AnchorLinkHeader.d.ts +125 -4
- package/dist/components/documentation/AnchorLinkHeader.js +129 -8
- package/dist/components/documentation/DocsBodyParagraph.cjs +3795 -0
- package/dist/components/documentation/DocsBodyParagraph.d.cts +130 -0
- package/dist/components/documentation/DocsBodyParagraph.d.ts +130 -0
- package/dist/components/documentation/DocsBodyParagraph.js +148 -0
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +3799 -0
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +130 -0
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +130 -0
- package/dist/components/documentation/DocsBodyStrongParagraph.js +152 -0
- package/dist/components/documentation/DocsHeadline.cjs +3854 -0
- package/dist/components/documentation/DocsHeadline.d.cts +135 -0
- package/dist/components/documentation/DocsHeadline.d.ts +135 -0
- package/dist/components/documentation/DocsHeadline.js +138 -0
- package/dist/components/documentation/Video.cjs +303 -0
- package/dist/components/documentation/Video.d.cts +10 -0
- package/dist/components/documentation/Video.d.ts +10 -0
- package/dist/components/documentation/Video.js +27 -0
- package/dist/components/documentation/index.cjs +7405 -1091
- package/dist/components/documentation/index.d.cts +123 -2
- package/dist/components/documentation/index.d.ts +123 -2
- package/dist/components/documentation/index.js +129 -8
- package/dist/components/index.cjs +13259 -3079
- package/dist/components/index.d.cts +155 -8
- package/dist/components/index.d.ts +155 -8
- package/dist/components/index.js +288 -46
- package/dist/components/typography/Article.cjs +4122 -0
- package/dist/components/typography/Article.d.cts +25 -0
- package/dist/components/typography/Article.d.ts +25 -0
- package/dist/components/typography/Article.js +144 -0
- package/dist/components/typography/Body.cjs +7978 -0
- package/dist/components/typography/Body.d.cts +147 -0
- package/dist/components/typography/Body.d.ts +147 -0
- package/dist/components/typography/Body.js +135 -0
- package/dist/components/typography/BodyStrong.cjs +7977 -0
- package/dist/components/typography/BodyStrong.d.cts +145 -0
- package/dist/components/typography/BodyStrong.d.ts +145 -0
- package/dist/components/typography/BodyStrong.js +135 -0
- package/dist/components/typography/Code.cjs +7975 -0
- package/dist/components/typography/Code.d.cts +143 -0
- package/dist/components/typography/Code.d.ts +143 -0
- package/dist/components/typography/Code.js +135 -0
- package/dist/components/typography/Display.cjs +7987 -0
- package/dist/components/typography/Display.d.cts +135 -0
- package/dist/components/typography/Display.d.ts +135 -0
- package/dist/components/typography/Display.js +138 -0
- package/dist/components/typography/Headline.cjs +8009 -0
- package/dist/components/typography/Headline.d.cts +152 -0
- package/dist/components/typography/Headline.d.ts +152 -0
- package/dist/components/typography/Headline.js +142 -0
- package/dist/components/typography/Label.cjs +7976 -0
- package/dist/components/typography/Label.d.cts +142 -0
- package/dist/components/typography/Label.d.ts +142 -0
- package/dist/components/typography/Label.js +135 -0
- package/dist/components/typography/LabelModerate.cjs +7976 -0
- package/dist/components/typography/LabelModerate.d.cts +142 -0
- package/dist/components/typography/LabelModerate.d.ts +142 -0
- package/dist/components/typography/LabelModerate.js +135 -0
- package/dist/components/typography/LabelStrong.cjs +7978 -0
- package/dist/components/typography/LabelStrong.d.cts +144 -0
- package/dist/components/typography/LabelStrong.d.ts +144 -0
- package/dist/components/typography/LabelStrong.js +135 -0
- package/dist/components/typography/Overline.cjs +7976 -0
- package/dist/components/typography/Overline.d.cts +142 -0
- package/dist/components/typography/Overline.d.ts +142 -0
- package/dist/components/typography/Overline.js +135 -0
- package/dist/components/typography/Title.cjs +7977 -0
- package/dist/components/typography/Title.d.cts +145 -0
- package/dist/components/typography/Title.d.ts +145 -0
- package/dist/components/typography/Title.js +135 -0
- package/dist/components/typography/index.cjs +8462 -0
- package/dist/components/typography/index.d.cts +134 -0
- package/dist/components/typography/index.d.ts +134 -0
- package/dist/components/typography/index.js +198 -0
- package/dist/components/typography/renderTypography.cjs +8211 -0
- package/dist/components/typography/renderTypography.d.cts +214 -0
- package/dist/components/typography/renderTypography.d.ts +214 -0
- package/dist/components/typography/renderTypography.js +145 -0
- package/dist/hooks/useDebounce.cjs +49 -0
- package/dist/hooks/useDebounce.d.cts +5 -0
- package/dist/hooks/useDebounce.d.ts +5 -0
- package/dist/hooks/useDebounce.js +26 -0
- package/dist/hooks/useLiveRef.js +1 -1
- package/dist/hooks/useResizeObserver.cjs +77 -0
- package/dist/hooks/useResizeObserver.d.cts +16 -0
- package/dist/hooks/useResizeObserver.d.ts +16 -0
- package/dist/hooks/useResizeObserver.js +7 -0
- package/dist/hooks/useWhatChanged.js +1 -1
- package/dist/icons/AI.cjs +5 -2
- package/dist/icons/AI.d.cts +1 -1
- package/dist/icons/AI.d.ts +1 -1
- package/dist/icons/AI.js +5 -28
- package/dist/icons/AnchorLink.cjs +5 -2
- package/dist/icons/AnchorLink.d.cts +1 -1
- package/dist/icons/AnchorLink.d.ts +1 -1
- package/dist/icons/AnchorLink.js +5 -27
- package/dist/icons/ApiConnection.cjs +24 -19
- package/dist/icons/ApiConnection.d.cts +2 -2
- package/dist/icons/ApiConnection.d.ts +2 -2
- package/dist/icons/ApiConnection.js +5 -23
- package/dist/icons/AppIcon.cjs +5 -2
- package/dist/icons/AppIcon.d.cts +1 -1
- package/dist/icons/AppIcon.d.ts +1 -1
- package/dist/icons/AppIcon.js +5 -67
- package/dist/icons/{TrashOld.cjs → ArrowCircle.cjs} +23 -17
- package/dist/icons/ArrowCircle.d.cts +5 -0
- package/dist/icons/ArrowCircle.d.ts +5 -0
- package/dist/icons/ArrowCircle.js +8 -0
- package/dist/icons/ArrowCircleTier1.cjs +5 -2
- package/dist/icons/ArrowCircleTier1.d.cts +1 -1
- package/dist/icons/ArrowCircleTier1.d.ts +1 -1
- package/dist/icons/ArrowCircleTier1.js +5 -27
- package/dist/icons/ArrowCircleTier2.cjs +5 -2
- package/dist/icons/ArrowCircleTier2.d.cts +1 -1
- package/dist/icons/ArrowCircleTier2.d.ts +1 -1
- package/dist/icons/ArrowCircleTier2.js +5 -27
- package/dist/icons/ArrowCircleTier3.cjs +5 -2
- package/dist/icons/ArrowCircleTier3.d.cts +1 -1
- package/dist/icons/ArrowCircleTier3.d.ts +1 -1
- package/dist/icons/ArrowCircleTier3.js +5 -27
- package/dist/icons/ArrowCornerDownRight.cjs +6 -4
- package/dist/icons/ArrowCornerDownRight.d.cts +1 -1
- package/dist/icons/ArrowCornerDownRight.d.ts +1 -1
- package/dist/icons/ArrowCornerDownRight.js +5 -28
- package/dist/icons/ArrowDown.cjs +1 -3
- package/dist/icons/ArrowDown.d.cts +1 -1
- package/dist/icons/ArrowDown.d.ts +1 -1
- package/dist/icons/ArrowDown.js +5 -28
- package/dist/icons/ArrowUp.cjs +1 -3
- package/dist/icons/ArrowUp.d.cts +1 -1
- package/dist/icons/ArrowUp.d.ts +1 -1
- package/dist/icons/ArrowUp.js +5 -28
- package/dist/icons/ArrowUpRightCircleFill.cjs +51 -0
- package/dist/icons/ArrowUpRightCircleFill.d.cts +5 -0
- package/dist/icons/ArrowUpRightCircleFill.d.ts +5 -0
- package/dist/icons/ArrowUpRightCircleFill.js +7 -0
- package/dist/icons/Bank.cjs +51 -0
- package/dist/icons/Bank.d.cts +5 -0
- package/dist/icons/Bank.d.ts +5 -0
- package/dist/icons/Bank.js +7 -0
- package/dist/icons/BitcoinB.cjs +26 -21
- package/dist/icons/BitcoinB.d.cts +2 -2
- package/dist/icons/BitcoinB.d.ts +2 -2
- package/dist/icons/BitcoinB.js +5 -25
- package/dist/icons/BitcoinBOnRoundedSquare.cjs +28 -23
- package/dist/icons/BitcoinBOnRoundedSquare.d.cts +2 -2
- package/dist/icons/BitcoinBOnRoundedSquare.d.ts +2 -2
- package/dist/icons/BitcoinBOnRoundedSquare.js +5 -27
- package/dist/icons/CameraCapture.cjs +5 -2
- package/dist/icons/CameraCapture.d.cts +1 -1
- package/dist/icons/CameraCapture.d.ts +1 -1
- package/dist/icons/CameraCapture.js +5 -76
- package/dist/icons/{WarningIcon.cjs → CaretRight.cjs} +13 -10
- package/dist/icons/CaretRight.d.cts +5 -0
- package/dist/icons/CaretRight.d.ts +5 -0
- package/dist/icons/CaretRight.js +7 -0
- package/dist/icons/CentralArrowShareRight.cjs +1 -3
- package/dist/icons/CentralArrowShareRight.d.cts +1 -1
- package/dist/icons/CentralArrowShareRight.d.ts +1 -1
- package/dist/icons/CentralArrowShareRight.js +5 -28
- package/dist/icons/Checkmark.cjs +5 -2
- package/dist/icons/Checkmark.d.cts +1 -1
- package/dist/icons/Checkmark.d.ts +1 -1
- package/dist/icons/Checkmark.js +5 -26
- package/dist/icons/CheckmarkCircleGreen.cjs +5 -2
- package/dist/icons/CheckmarkCircleGreen.d.cts +1 -1
- package/dist/icons/CheckmarkCircleGreen.d.ts +1 -1
- package/dist/icons/CheckmarkCircleGreen.js +5 -28
- package/dist/icons/CheckmarkCircleTier1.cjs +5 -2
- package/dist/icons/CheckmarkCircleTier1.d.cts +1 -1
- package/dist/icons/CheckmarkCircleTier1.d.ts +1 -1
- package/dist/icons/CheckmarkCircleTier1.js +5 -28
- package/dist/icons/CheckmarkCircleTier2.cjs +5 -2
- package/dist/icons/CheckmarkCircleTier2.d.cts +1 -1
- package/dist/icons/CheckmarkCircleTier2.d.ts +1 -1
- package/dist/icons/CheckmarkCircleTier2.js +5 -28
- package/dist/icons/CheckmarkCircleTier3.cjs +5 -2
- package/dist/icons/CheckmarkCircleTier3.d.cts +1 -1
- package/dist/icons/CheckmarkCircleTier3.d.ts +1 -1
- package/dist/icons/CheckmarkCircleTier3.js +5 -28
- package/dist/icons/Chevron.cjs +26 -20
- package/dist/icons/Chevron.d.cts +2 -2
- package/dist/icons/Chevron.d.ts +2 -2
- package/dist/icons/Chevron.js +5 -24
- package/dist/icons/{Exit.cjs → ChevronLeft.cjs} +14 -10
- package/dist/icons/ChevronLeft.d.cts +5 -0
- package/dist/icons/ChevronLeft.d.ts +5 -0
- package/dist/icons/ChevronLeft.js +7 -0
- package/dist/icons/CircleCheck.cjs +1 -3
- package/dist/icons/CircleCheck.d.cts +1 -1
- package/dist/icons/CircleCheck.d.ts +1 -1
- package/dist/icons/CircleCheck.js +5 -29
- package/dist/icons/CircleCheckOutline.cjs +1 -3
- package/dist/icons/CircleCheckOutline.d.cts +1 -1
- package/dist/icons/CircleCheckOutline.d.ts +1 -1
- package/dist/icons/CircleCheckOutline.js +5 -26
- package/dist/icons/CirclePlus.cjs +1 -3
- package/dist/icons/CirclePlus.d.cts +1 -1
- package/dist/icons/CirclePlus.d.ts +1 -1
- package/dist/icons/CirclePlus.js +5 -18
- package/dist/icons/Clock.cjs +1 -3
- package/dist/icons/Clock.d.cts +1 -1
- package/dist/icons/Clock.d.ts +1 -1
- package/dist/icons/Clock.js +5 -28
- package/dist/icons/Close.cjs +7 -4
- package/dist/icons/Close.d.cts +2 -2
- package/dist/icons/Close.d.ts +2 -2
- package/dist/icons/Close.js +5 -26
- package/dist/icons/Code.cjs +7 -4
- package/dist/icons/Code.d.cts +2 -2
- package/dist/icons/Code.d.ts +2 -2
- package/dist/icons/Code.js +5 -27
- package/dist/icons/Copy.cjs +7 -4
- package/dist/icons/Copy.d.cts +2 -2
- package/dist/icons/Copy.d.ts +2 -2
- package/dist/icons/Copy.js +5 -25
- package/dist/icons/CreditCard.cjs +32 -27
- package/dist/icons/CreditCard.d.cts +2 -2
- package/dist/icons/CreditCard.d.ts +2 -2
- package/dist/icons/CreditCard.js +5 -31
- package/dist/icons/DeleteIcon.cjs +5 -2
- package/dist/icons/DeleteIcon.d.cts +1 -1
- package/dist/icons/DeleteIcon.d.ts +1 -1
- package/dist/icons/DeleteIcon.js +5 -42
- package/dist/icons/Dollar.cjs +5 -2
- package/dist/icons/Dollar.d.cts +1 -1
- package/dist/icons/Dollar.d.ts +1 -1
- package/dist/icons/Dollar.js +5 -27
- package/dist/icons/DollarManrope.cjs +51 -0
- package/dist/icons/DollarManrope.d.cts +5 -0
- package/dist/icons/DollarManrope.d.ts +5 -0
- package/dist/icons/DollarManrope.js +7 -0
- package/dist/icons/DollarManropeSmall.cjs +51 -0
- package/dist/icons/DollarManropeSmall.d.cts +5 -0
- package/dist/icons/DollarManropeSmall.d.ts +5 -0
- package/dist/icons/DollarManropeSmall.js +7 -0
- package/dist/icons/DotGrid1x3Horizontal.cjs +40 -35
- package/dist/icons/DotGrid1x3Horizontal.d.cts +2 -2
- package/dist/icons/DotGrid1x3Horizontal.d.ts +2 -2
- package/dist/icons/DotGrid1x3Horizontal.js +5 -39
- package/dist/icons/Download.cjs +36 -31
- package/dist/icons/Download.d.cts +2 -2
- package/dist/icons/Download.d.ts +2 -2
- package/dist/icons/Download.js +5 -35
- package/dist/icons/{Route.cjs → Envelope.cjs} +23 -31
- package/dist/icons/Envelope.d.cts +5 -0
- package/dist/icons/Envelope.d.ts +5 -0
- package/dist/icons/Envelope.js +7 -0
- package/dist/icons/ExclamationPoint.cjs +47 -42
- package/dist/icons/ExclamationPoint.d.cts +2 -2
- package/dist/icons/ExclamationPoint.d.ts +2 -2
- package/dist/icons/ExclamationPoint.js +5 -46
- package/dist/icons/Explorer.cjs +23 -18
- package/dist/icons/Explorer.d.cts +2 -2
- package/dist/icons/Explorer.d.ts +2 -2
- package/dist/icons/Explorer.js +5 -22
- package/dist/icons/Eye.cjs +34 -29
- package/dist/icons/Eye.d.cts +2 -2
- package/dist/icons/Eye.d.ts +2 -2
- package/dist/icons/Eye.js +5 -33
- package/dist/icons/EyeDropper.cjs +26 -21
- package/dist/icons/EyeDropper.d.cts +2 -2
- package/dist/icons/EyeDropper.d.ts +2 -2
- package/dist/icons/EyeDropper.js +5 -25
- package/dist/icons/Figma.cjs +51 -0
- package/dist/icons/Figma.d.cts +5 -0
- package/dist/icons/Figma.d.ts +5 -0
- package/dist/icons/Figma.js +7 -0
- package/dist/icons/FlutterTwoTone.cjs +6 -5
- package/dist/icons/FlutterTwoTone.d.cts +1 -1
- package/dist/icons/FlutterTwoTone.d.ts +1 -1
- package/dist/icons/FlutterTwoTone.js +5 -49
- package/dist/icons/{Channel.cjs → FramedLetterI.cjs} +17 -24
- package/dist/icons/FramedLetterI.d.cts +5 -0
- package/dist/icons/FramedLetterI.d.ts +5 -0
- package/dist/icons/FramedLetterI.js +7 -0
- package/dist/icons/Gear.cjs +5 -2
- package/dist/icons/Gear.d.cts +1 -1
- package/dist/icons/Gear.d.ts +1 -1
- package/dist/icons/Gear.js +5 -33
- package/dist/icons/Github.cjs +5 -2
- package/dist/icons/Github.d.cts +1 -1
- package/dist/icons/Github.d.ts +1 -1
- package/dist/icons/Github.js +5 -24
- package/dist/icons/GoTwoTone.cjs +5 -2
- package/dist/icons/GoTwoTone.d.cts +1 -1
- package/dist/icons/GoTwoTone.d.ts +1 -1
- package/dist/icons/GoTwoTone.js +5 -65
- package/dist/icons/GraphQLTwoTone.cjs +5 -2
- package/dist/icons/GraphQLTwoTone.d.cts +1 -1
- package/dist/icons/GraphQLTwoTone.d.ts +1 -1
- package/dist/icons/GraphQLTwoTone.js +5 -124
- package/dist/icons/HeartOutline.cjs +8 -27
- package/dist/icons/HeartOutline.d.cts +2 -5
- package/dist/icons/HeartOutline.d.ts +2 -5
- package/dist/icons/HeartOutline.js +5 -49
- package/dist/icons/Home.cjs +1 -3
- package/dist/icons/Home.d.cts +1 -1
- package/dist/icons/Home.d.ts +1 -1
- package/dist/icons/Home.js +5 -27
- package/dist/icons/HorizontalArrows.cjs +7 -4
- package/dist/icons/HorizontalArrows.d.cts +2 -2
- package/dist/icons/HorizontalArrows.d.ts +2 -2
- package/dist/icons/HorizontalArrows.js +5 -39
- package/dist/icons/Info.cjs +48 -43
- package/dist/icons/Info.d.cts +2 -2
- package/dist/icons/Info.d.ts +2 -2
- package/dist/icons/Info.js +5 -47
- package/dist/icons/JavaScriptTwoTone.cjs +6 -5
- package/dist/icons/JavaScriptTwoTone.d.cts +1 -1
- package/dist/icons/JavaScriptTwoTone.d.ts +1 -1
- package/dist/icons/JavaScriptTwoTone.js +5 -62
- package/dist/icons/JavaTwoTone.cjs +5 -2
- package/dist/icons/JavaTwoTone.d.cts +1 -1
- package/dist/icons/JavaTwoTone.d.ts +1 -1
- package/dist/icons/JavaTwoTone.js +5 -27
- package/dist/icons/KotlinTwoTone.cjs +6 -5
- package/dist/icons/KotlinTwoTone.d.cts +1 -1
- package/dist/icons/KotlinTwoTone.d.ts +1 -1
- package/dist/icons/KotlinTwoTone.js +5 -41
- package/dist/icons/LeftArrow.cjs +26 -21
- package/dist/icons/LeftArrow.d.cts +2 -2
- package/dist/icons/LeftArrow.d.ts +2 -2
- package/dist/icons/LeftArrow.js +5 -25
- package/dist/icons/LightningOnRoundedSquare.cjs +26 -21
- package/dist/icons/LightningOnRoundedSquare.d.cts +2 -2
- package/dist/icons/LightningOnRoundedSquare.d.ts +2 -2
- package/dist/icons/LightningOnRoundedSquare.js +5 -25
- package/dist/icons/LinkIcon.cjs +38 -33
- package/dist/icons/LinkIcon.d.cts +2 -2
- package/dist/icons/LinkIcon.d.ts +2 -2
- package/dist/icons/LinkIcon.js +5 -37
- package/dist/icons/LoadingSpinner.cjs +8 -7
- package/dist/icons/LoadingSpinner.d.cts +2 -2
- package/dist/icons/LoadingSpinner.d.ts +2 -2
- package/dist/icons/LoadingSpinner.js +5 -181
- package/dist/icons/Lock.cjs +5 -2
- package/dist/icons/Lock.d.cts +1 -1
- package/dist/icons/Lock.d.ts +1 -1
- package/dist/icons/Lock.js +5 -35
- package/dist/icons/Logo.cjs +5 -2
- package/dist/icons/Logo.d.cts +1 -1
- package/dist/icons/Logo.d.ts +1 -1
- package/dist/icons/Logo.js +4 -30
- package/dist/icons/LogoBolt.cjs +105 -100
- package/dist/icons/LogoBolt.d.cts +2 -2
- package/dist/icons/LogoBolt.d.ts +2 -2
- package/dist/icons/LogoBolt.js +5 -104
- package/dist/icons/LogoOnCircle.cjs +36 -31
- package/dist/icons/LogoOnCircle.d.cts +2 -2
- package/dist/icons/LogoOnCircle.d.ts +2 -2
- package/dist/icons/LogoOnCircle.js +5 -35
- package/dist/icons/MagicWand.cjs +55 -50
- package/dist/icons/MagicWand.d.cts +2 -2
- package/dist/icons/MagicWand.d.ts +2 -2
- package/dist/icons/MagicWand.js +5 -54
- package/dist/icons/{Down.cjs → Minus.cjs} +29 -26
- package/dist/icons/Minus.d.cts +5 -0
- package/dist/icons/Minus.d.ts +5 -0
- package/dist/icons/Minus.js +7 -0
- package/dist/icons/Monitor.cjs +5 -2
- package/dist/icons/Monitor.d.cts +1 -1
- package/dist/icons/Monitor.d.ts +1 -1
- package/dist/icons/Monitor.js +5 -50
- package/dist/icons/NodeAdd.cjs +24 -19
- package/dist/icons/NodeAdd.d.cts +2 -2
- package/dist/icons/NodeAdd.d.ts +2 -2
- package/dist/icons/NodeAdd.js +5 -23
- package/dist/icons/NotEye.cjs +36 -31
- package/dist/icons/NotEye.d.cts +2 -2
- package/dist/icons/NotEye.d.ts +2 -2
- package/dist/icons/NotEye.js +5 -35
- package/dist/icons/PaperPlane.cjs +25 -20
- package/dist/icons/PaperPlane.d.cts +2 -2
- package/dist/icons/PaperPlane.d.ts +2 -2
- package/dist/icons/PaperPlane.js +5 -24
- package/dist/icons/Pencil.cjs +25 -21
- package/dist/icons/Pencil.d.cts +2 -5
- package/dist/icons/Pencil.d.ts +2 -5
- package/dist/icons/Pencil.js +5 -25
- package/dist/icons/Person.cjs +7 -4
- package/dist/icons/Person.d.cts +2 -2
- package/dist/icons/Person.d.ts +2 -2
- package/dist/icons/Person.js +5 -37
- package/dist/icons/PersonCircle.cjs +61 -0
- package/dist/icons/PersonCircle.d.cts +5 -0
- package/dist/icons/PersonCircle.d.ts +5 -0
- package/dist/icons/PersonCircle.js +7 -0
- package/dist/icons/PiggyBank.cjs +1 -3
- package/dist/icons/PiggyBank.d.cts +1 -1
- package/dist/icons/PiggyBank.d.ts +1 -1
- package/dist/icons/PiggyBank.js +5 -47
- package/dist/icons/Plus.cjs +54 -49
- package/dist/icons/Plus.d.cts +2 -2
- package/dist/icons/Plus.d.ts +2 -2
- package/dist/icons/Plus.js +5 -53
- package/dist/icons/PythonTwoTone.cjs +5 -2
- package/dist/icons/PythonTwoTone.d.cts +1 -1
- package/dist/icons/PythonTwoTone.d.ts +1 -1
- package/dist/icons/PythonTwoTone.js +5 -33
- package/dist/icons/QRCodeIcon.cjs +6 -5
- package/dist/icons/QRCodeIcon.d.cts +1 -1
- package/dist/icons/QRCodeIcon.d.ts +1 -1
- package/dist/icons/QRCodeIcon.js +5 -104
- package/dist/icons/QuestionCircle.cjs +51 -0
- package/dist/icons/QuestionCircle.d.cts +5 -0
- package/dist/icons/QuestionCircle.d.ts +5 -0
- package/dist/icons/QuestionCircle.js +7 -0
- package/dist/icons/QuestionCircleStrong.cjs +51 -0
- package/dist/icons/QuestionCircleStrong.d.cts +5 -0
- package/dist/icons/QuestionCircleStrong.d.ts +5 -0
- package/dist/icons/QuestionCircleStrong.js +7 -0
- package/dist/icons/ReactTwoTone.cjs +6 -5
- package/dist/icons/ReactTwoTone.d.cts +1 -1
- package/dist/icons/ReactTwoTone.d.ts +1 -1
- package/dist/icons/ReactTwoTone.js +5 -59
- package/dist/icons/Recycling.cjs +26 -21
- package/dist/icons/Recycling.d.cts +2 -2
- package/dist/icons/Recycling.d.ts +2 -2
- package/dist/icons/Recycling.js +5 -25
- package/dist/icons/{Phone.cjs → Remove.cjs} +22 -29
- package/dist/icons/Remove.d.cts +5 -0
- package/dist/icons/Remove.d.ts +5 -0
- package/dist/icons/Remove.js +7 -0
- package/dist/icons/Restart.cjs +25 -21
- package/dist/icons/Restart.d.cts +2 -2
- package/dist/icons/Restart.d.ts +2 -2
- package/dist/icons/Restart.js +5 -25
- package/dist/icons/RightArrow.cjs +26 -21
- package/dist/icons/RightArrow.d.cts +2 -2
- package/dist/icons/RightArrow.d.ts +2 -2
- package/dist/icons/RightArrow.js +5 -25
- package/dist/icons/Roadmap.cjs +26 -21
- package/dist/icons/Roadmap.d.cts +2 -2
- package/dist/icons/Roadmap.d.ts +2 -2
- package/dist/icons/Roadmap.js +5 -25
- package/dist/icons/RustTwoTone.cjs +5 -2
- package/dist/icons/RustTwoTone.d.cts +1 -1
- package/dist/icons/RustTwoTone.d.ts +1 -1
- package/dist/icons/RustTwoTone.js +5 -39
- package/dist/icons/Satoshi.cjs +5 -2
- package/dist/icons/Satoshi.d.cts +1 -1
- package/dist/icons/Satoshi.d.ts +1 -1
- package/dist/icons/Satoshi.js +5 -38
- package/dist/icons/SatoshiRounded.cjs +5 -2
- package/dist/icons/SatoshiRounded.d.cts +1 -1
- package/dist/icons/SatoshiRounded.d.ts +1 -1
- package/dist/icons/SatoshiRounded.js +5 -64
- package/dist/icons/Search.cjs +27 -22
- package/dist/icons/Search.d.cts +2 -2
- package/dist/icons/Search.d.ts +2 -2
- package/dist/icons/Search.js +5 -26
- package/dist/icons/SecurityKey.cjs +5 -2
- package/dist/icons/SecurityKey.d.cts +1 -1
- package/dist/icons/SecurityKey.d.ts +1 -1
- package/dist/icons/SecurityKey.js +5 -50
- package/dist/icons/Selector.cjs +5 -2
- package/dist/icons/Selector.d.cts +1 -1
- package/dist/icons/Selector.d.ts +1 -1
- package/dist/icons/Selector.js +5 -40
- package/dist/icons/SemiCircleOverlap.cjs +5 -2
- package/dist/icons/SemiCircleOverlap.d.cts +1 -1
- package/dist/icons/SemiCircleOverlap.d.ts +1 -1
- package/dist/icons/SemiCircleOverlap.js +5 -37
- package/dist/icons/Share.cjs +49 -0
- package/dist/icons/Share.d.cts +5 -0
- package/dist/icons/Share.d.ts +5 -0
- package/dist/icons/Share.js +7 -0
- package/dist/icons/ShieldCheck.cjs +50 -0
- package/dist/icons/ShieldCheck.d.cts +5 -0
- package/dist/icons/ShieldCheck.d.ts +5 -0
- package/dist/icons/ShieldCheck.js +7 -0
- package/dist/icons/Sidebar.cjs +7 -4
- package/dist/icons/Sidebar.d.cts +2 -2
- package/dist/icons/Sidebar.d.ts +2 -2
- package/dist/icons/Sidebar.js +5 -27
- package/dist/icons/Sort.cjs +5 -2
- package/dist/icons/Sort.d.cts +1 -1
- package/dist/icons/Sort.d.ts +1 -1
- package/dist/icons/Sort.js +5 -27
- package/dist/icons/StackedLines.cjs +1 -3
- package/dist/icons/StackedLines.d.cts +1 -1
- package/dist/icons/StackedLines.d.ts +1 -1
- package/dist/icons/StackedLines.js +5 -27
- package/dist/icons/SwiftTwoTone.cjs +5 -2
- package/dist/icons/SwiftTwoTone.d.cts +1 -1
- package/dist/icons/SwiftTwoTone.d.ts +1 -1
- package/dist/icons/SwiftTwoTone.js +5 -38
- package/dist/icons/TapSingle.cjs +49 -0
- package/dist/icons/TapSingle.d.cts +5 -0
- package/dist/icons/TapSingle.d.ts +5 -0
- package/dist/icons/TapSingle.js +7 -0
- package/dist/icons/Team.cjs +26 -21
- package/dist/icons/Team.d.cts +2 -2
- package/dist/icons/Team.d.ts +2 -2
- package/dist/icons/Team.js +5 -25
- package/dist/icons/Terminal.cjs +5 -2
- package/dist/icons/Terminal.d.cts +1 -1
- package/dist/icons/Terminal.d.ts +1 -1
- package/dist/icons/Terminal.js +5 -28
- package/dist/icons/Trash.cjs +29 -24
- package/dist/icons/Trash.d.cts +2 -2
- package/dist/icons/Trash.d.ts +2 -2
- package/dist/icons/Trash.js +5 -28
- package/dist/icons/TwoArrowsDown.cjs +1 -3
- package/dist/icons/TwoArrowsDown.d.cts +1 -1
- package/dist/icons/TwoArrowsDown.d.ts +1 -1
- package/dist/icons/TwoArrowsDown.js +5 -28
- package/dist/icons/TwoArrowsUp.cjs +1 -3
- package/dist/icons/TwoArrowsUp.d.cts +1 -1
- package/dist/icons/TwoArrowsUp.d.ts +1 -1
- package/dist/icons/TwoArrowsUp.js +5 -28
- package/dist/icons/Uma.cjs +7 -4
- package/dist/icons/Uma.d.cts +1 -1
- package/dist/icons/Uma.d.ts +1 -1
- package/dist/icons/Uma.js +5 -36
- package/dist/icons/{ChannelOpen.cjs → UmaBridgeLoading.cjs} +15 -26
- package/dist/icons/UmaBridgeLoading.d.cts +5 -0
- package/dist/icons/UmaBridgeLoading.d.ts +5 -0
- package/dist/icons/UmaBridgeLoading.js +7 -0
- package/dist/icons/Upload.cjs +36 -31
- package/dist/icons/Upload.d.cts +2 -2
- package/dist/icons/Upload.d.ts +2 -2
- package/dist/icons/Upload.js +5 -35
- package/dist/icons/WalletSDKIcon.cjs +5 -2
- package/dist/icons/WalletSDKIcon.d.cts +1 -1
- package/dist/icons/WalletSDKIcon.d.ts +1 -1
- package/dist/icons/WalletSDKIcon.js +5 -38
- package/dist/icons/WarningSign.cjs +37 -32
- package/dist/icons/WarningSign.d.cts +2 -2
- package/dist/icons/WarningSign.d.ts +2 -2
- package/dist/icons/WarningSign.js +5 -36
- package/dist/icons/constants.cjs +33 -0
- package/dist/icons/constants.d.cts +4 -0
- package/dist/icons/constants.d.ts +4 -0
- package/dist/icons/constants.js +9 -0
- package/dist/icons/index.cjs +3909 -1348
- package/dist/icons/index.d.cts +111 -4
- package/dist/icons/index.d.ts +111 -4
- package/dist/icons/index.js +446 -11
- package/dist/index-71766330.d.ts +340 -0
- package/dist/index-dcf19aa7.d.ts +340 -0
- package/dist/router.cjs +30 -1077
- package/dist/router.d.cts +2 -1
- package/dist/router.d.ts +2 -1
- package/dist/router.js +4 -6
- package/dist/styles/breakpoints.js +1 -1
- package/dist/styles/buttons.cjs +118 -0
- package/dist/styles/buttons.d.cts +5 -0
- package/dist/styles/buttons.d.ts +5 -0
- package/dist/styles/buttons.js +13 -0
- package/dist/styles/colors.cjs +32 -1223
- package/dist/styles/colors.d.cts +46 -119
- package/dist/styles/colors.d.ts +46 -119
- package/dist/styles/colors.js +8 -24
- package/dist/styles/common.cjs +3372 -942
- package/dist/styles/common.d.cts +6 -4
- package/dist/styles/common.d.ts +6 -4
- package/dist/styles/common.js +8 -4
- package/dist/styles/constants.cjs +14 -2
- package/dist/styles/constants.d.cts +5 -1
- package/dist/styles/constants.d.ts +5 -1
- package/dist/styles/constants.js +12 -4
- package/dist/styles/fields.cjs +3480 -955
- package/dist/styles/fields.d.cts +13 -5
- package/dist/styles/fields.d.ts +13 -5
- package/dist/styles/fields.js +10 -7
- package/dist/styles/global.cjs +3378 -943
- package/dist/styles/global.d.cts +3 -2
- package/dist/styles/global.d.ts +3 -2
- package/dist/styles/global.js +8 -6
- package/dist/styles/themes.cjs +3846 -0
- package/dist/styles/themes.d.cts +5 -0
- package/dist/styles/themes.d.ts +5 -0
- package/dist/styles/themes.js +43 -0
- package/dist/styles/tokens/spacing.js +1 -1
- package/dist/styles/tokens/typography.cjs +3349 -0
- package/dist/styles/tokens/typography.d.cts +386 -0
- package/dist/styles/tokens/typography.d.ts +386 -0
- package/dist/styles/tokens/typography.js +16 -0
- package/dist/styles/type.cjs +51 -1092
- package/dist/styles/type.d.cts +3 -2
- package/dist/styles/type.d.ts +3 -2
- package/dist/styles/type.js +8 -6
- package/dist/styles/typography.cjs +3761 -0
- package/dist/styles/typography.d.cts +16 -0
- package/dist/styles/typography.d.ts +16 -0
- package/dist/styles/typography.js +12 -0
- package/dist/styles/utils.cjs +51 -1092
- package/dist/styles/utils.js +7 -5
- package/dist/styles/z-index.js +1 -1
- package/dist/types/index.d.cts +12 -1
- package/dist/types/index.d.ts +12 -1
- package/dist/{styles/fonts/typography/Code.cjs → utils/NextLink.cjs} +46 -34
- package/dist/utils/NextLink.d.cts +10 -0
- package/dist/utils/NextLink.d.ts +10 -0
- package/dist/utils/NextLink.js +7 -0
- package/dist/utils/countryCodesToNames.cjs +290 -0
- package/dist/utils/countryCodesToNames.d.cts +260 -0
- package/dist/utils/countryCodesToNames.d.ts +260 -0
- package/dist/utils/countryCodesToNames.js +11 -0
- package/dist/utils/emotion.js +1 -1
- package/dist/utils/isReactNodeWithChildren.cjs +35 -0
- package/dist/utils/isReactNodeWithChildren.d.cts +8 -0
- package/dist/utils/isReactNodeWithChildren.d.ts +8 -0
- package/dist/utils/isReactNodeWithChildren.js +7 -0
- package/dist/{icons/NoteLine.cjs → utils/parseURLFragments.cjs} +21 -23
- package/dist/utils/parseURLFragments.d.cts +3 -0
- package/dist/utils/parseURLFragments.d.ts +3 -0
- package/dist/utils/parseURLFragments.js +19 -0
- package/dist/utils/strings.cjs +26 -5
- package/dist/utils/strings.d.cts +6 -4
- package/dist/utils/strings.d.ts +6 -4
- package/dist/utils/strings.js +2 -2
- package/dist/utils/toNonTypographicReactNodes.cjs +7900 -0
- package/dist/utils/toNonTypographicReactNodes.d.cts +153 -0
- package/dist/utils/toNonTypographicReactNodes.d.ts +153 -0
- package/dist/utils/toNonTypographicReactNodes.js +140 -0
- package/dist/utils/toReactNodes.cjs +8059 -1026
- package/dist/utils/toReactNodes.d.cts +151 -10
- package/dist/utils/toReactNodes.d.ts +151 -10
- package/dist/utils/toReactNodes.js +144 -10
- package/dist/utils/transformGQLName.cjs +64 -0
- package/dist/utils/transformGQLName.d.cts +16 -0
- package/dist/utils/transformGQLName.d.ts +16 -0
- package/dist/utils/transformGQLName.js +41 -0
- package/dist/utils/unicode.cjs +30 -0
- package/dist/utils/unicode.d.cts +3 -0
- package/dist/utils/unicode.d.ts +3 -0
- package/dist/utils/unicode.js +7 -0
- package/package.json +38 -5
- package/dist/chunk-2VBDEO6M.js +0 -304
- package/dist/chunk-4I2ABBID.js +0 -38
- package/dist/chunk-BCFRW7CV.js +0 -20
- package/dist/chunk-DQRN4E5G.js +0 -25
- package/dist/chunk-E4EXM4SY.js +0 -921
- package/dist/chunk-FHNYQLMF.js +0 -30
- package/dist/chunk-IJVWYT5G.js +0 -8
- package/dist/chunk-LD5LZXUP.js +0 -25
- package/dist/chunk-LN7MMOXE.js +0 -29
- package/dist/chunk-MYKMYG6H.js +0 -36
- package/dist/chunk-OO5UJRAW.js +0 -25
- package/dist/chunk-QGGOMPHZ.js +0 -37
- package/dist/chunk-RBYRXBPI.js +0 -29
- package/dist/chunk-VE7J2N47.js +0 -30
- package/dist/chunk-ZANLDY2W.js +0 -312
- package/dist/components/Icon.cjs +0 -1431
- package/dist/components/Icon.d.cts +0 -29
- package/dist/components/Icon.d.ts +0 -29
- package/dist/components/Icon.js +0 -14
- package/dist/components/LightTooltip.cjs +0 -1428
- package/dist/components/LightTooltip.d.cts +0 -9
- package/dist/components/LightTooltip.d.ts +0 -9
- package/dist/components/LightTooltip.js +0 -12
- package/dist/icons/Bell.cjs +0 -57
- package/dist/icons/Bell.d.cts +0 -8
- package/dist/icons/Bell.d.ts +0 -8
- package/dist/icons/Bell.js +0 -38
- package/dist/icons/BellOn.cjs +0 -67
- package/dist/icons/BellOn.d.cts +0 -8
- package/dist/icons/BellOn.d.ts +0 -8
- package/dist/icons/BellOn.js +0 -48
- package/dist/icons/Bolt.cjs +0 -116
- package/dist/icons/Bolt.d.cts +0 -9
- package/dist/icons/Bolt.d.ts +0 -9
- package/dist/icons/Bolt.js +0 -97
- package/dist/icons/Camera.cjs +0 -55
- package/dist/icons/Camera.d.cts +0 -5
- package/dist/icons/Camera.d.ts +0 -5
- package/dist/icons/Camera.js +0 -36
- package/dist/icons/Channel.d.cts +0 -5
- package/dist/icons/Channel.d.ts +0 -5
- package/dist/icons/ChannelBalance.cjs +0 -58
- package/dist/icons/ChannelBalance.d.cts +0 -5
- package/dist/icons/ChannelBalance.d.ts +0 -5
- package/dist/icons/ChannelBalance.js +0 -39
- package/dist/icons/ChannelOpen.d.cts +0 -5
- package/dist/icons/ChannelOpen.d.ts +0 -5
- package/dist/icons/ChannelOpen.js +0 -45
- package/dist/icons/CheckboxIcon.cjs +0 -81
- package/dist/icons/CheckboxIcon.d.cts +0 -8
- package/dist/icons/CheckboxIcon.d.ts +0 -8
- package/dist/icons/CheckboxIcon.js +0 -62
- package/dist/icons/Dots.d.cts +0 -5
- package/dist/icons/Dots.d.ts +0 -5
- package/dist/icons/Dots.js +0 -19
- package/dist/icons/Down.d.cts +0 -5
- package/dist/icons/Down.d.ts +0 -5
- package/dist/icons/Exit.d.cts +0 -5
- package/dist/icons/Exit.d.ts +0 -5
- package/dist/icons/Exit.js +0 -27
- package/dist/icons/InvoiceNew.cjs +0 -46
- package/dist/icons/InvoiceNew.d.cts +0 -5
- package/dist/icons/InvoiceNew.d.ts +0 -5
- package/dist/icons/InvoiceNew.js +0 -27
- package/dist/icons/Mail.cjs +0 -47
- package/dist/icons/Mail.d.cts +0 -5
- package/dist/icons/Mail.d.ts +0 -5
- package/dist/icons/Mail.js +0 -28
- package/dist/icons/NoteLine.d.cts +0 -5
- package/dist/icons/NoteLine.d.ts +0 -5
- package/dist/icons/NoteLine.js +0 -25
- package/dist/icons/Phone.d.cts +0 -5
- package/dist/icons/Phone.d.ts +0 -5
- package/dist/icons/Phone.js +0 -38
- package/dist/icons/Receive.cjs +0 -47
- package/dist/icons/Receive.d.cts +0 -6
- package/dist/icons/Receive.d.ts +0 -6
- package/dist/icons/Receive.js +0 -28
- package/dist/icons/Route.d.cts +0 -6
- package/dist/icons/Route.d.ts +0 -6
- package/dist/icons/Route.js +0 -40
- package/dist/icons/Send.cjs +0 -47
- package/dist/icons/Send.d.cts +0 -6
- package/dist/icons/Send.d.ts +0 -6
- package/dist/icons/Send.js +0 -28
- package/dist/icons/TrashOld.d.cts +0 -8
- package/dist/icons/TrashOld.d.ts +0 -8
- package/dist/icons/VerticalArrows.cjs +0 -59
- package/dist/icons/VerticalArrows.d.cts +0 -8
- package/dist/icons/VerticalArrows.d.ts +0 -8
- package/dist/icons/VerticalArrows.js +0 -40
- package/dist/icons/ViewAll.cjs +0 -45
- package/dist/icons/ViewAll.d.cts +0 -5
- package/dist/icons/ViewAll.d.ts +0 -5
- package/dist/icons/ViewAll.js +0 -26
- package/dist/icons/WarningIcon.d.cts +0 -5
- package/dist/icons/WarningIcon.d.ts +0 -5
- package/dist/icons/WarningIcon.js +0 -29
- package/dist/styles/fonts/typography/Article.cjs +0 -1624
- package/dist/styles/fonts/typography/Article.d.cts +0 -10
- package/dist/styles/fonts/typography/Article.d.ts +0 -10
- package/dist/styles/fonts/typography/Article.js +0 -23
- package/dist/styles/fonts/typography/Body.cjs +0 -1192
- package/dist/styles/fonts/typography/Body.d.cts +0 -23
- package/dist/styles/fonts/typography/Body.d.ts +0 -23
- package/dist/styles/fonts/typography/Body.js +0 -13
- package/dist/styles/fonts/typography/BodyStrong.cjs +0 -1196
- package/dist/styles/fonts/typography/BodyStrong.d.cts +0 -23
- package/dist/styles/fonts/typography/BodyStrong.d.ts +0 -23
- package/dist/styles/fonts/typography/BodyStrong.js +0 -13
- package/dist/styles/fonts/typography/Code.d.cts +0 -17
- package/dist/styles/fonts/typography/Code.d.ts +0 -17
- package/dist/styles/fonts/typography/Code.js +0 -11
- package/dist/styles/fonts/typography/Display.cjs +0 -1207
- package/dist/styles/fonts/typography/Display.d.cts +0 -15
- package/dist/styles/fonts/typography/Display.d.ts +0 -15
- package/dist/styles/fonts/typography/Display.js +0 -16
- package/dist/styles/fonts/typography/Headline.cjs +0 -1261
- package/dist/styles/fonts/typography/Headline.d.cts +0 -18
- package/dist/styles/fonts/typography/Headline.d.ts +0 -18
- package/dist/styles/fonts/typography/Headline.js +0 -20
- package/dist/styles/fonts/typography/Label.cjs +0 -1192
- package/dist/styles/fonts/typography/Label.d.cts +0 -18
- package/dist/styles/fonts/typography/Label.d.ts +0 -18
- package/dist/styles/fonts/typography/Label.js +0 -13
- package/dist/styles/fonts/typography/LabelModerate.cjs +0 -1205
- package/dist/styles/fonts/typography/LabelModerate.d.cts +0 -18
- package/dist/styles/fonts/typography/LabelModerate.d.ts +0 -18
- package/dist/styles/fonts/typography/LabelModerate.js +0 -13
- package/dist/styles/fonts/typography/LabelStrong.cjs +0 -1203
- package/dist/styles/fonts/typography/LabelStrong.d.cts +0 -18
- package/dist/styles/fonts/typography/LabelStrong.d.ts +0 -18
- package/dist/styles/fonts/typography/LabelStrong.js +0 -13
- package/dist/styles/fonts/typography/Overline.cjs +0 -1196
- package/dist/styles/fonts/typography/Overline.d.cts +0 -18
- package/dist/styles/fonts/typography/Overline.d.ts +0 -18
- package/dist/styles/fonts/typography/Overline.js +0 -13
- package/dist/styles/fonts/typography/Title.cjs +0 -1197
- package/dist/styles/fonts/typography/Title.d.cts +0 -19
- package/dist/styles/fonts/typography/Title.d.ts +0 -19
- package/dist/styles/fonts/typography/Title.js +0 -13
- package/dist/styles/fonts/typography/index.cjs +0 -1804
- package/dist/styles/fonts/typography/index.d.cts +0 -16
- package/dist/styles/fonts/typography/index.d.ts +0 -16
- package/dist/styles/fonts/typography/index.js +0 -57
- package/dist/styles/fonts/typographyTokens.cjs +0 -948
- package/dist/styles/fonts/typographyTokens.d.cts +0 -905
- package/dist/styles/fonts/typographyTokens.d.ts +0 -905
- package/dist/styles/fonts/typographyTokens.js +0 -13
- package/dist/types/utils.d.cts +0 -16
- package/dist/types/utils.d.ts +0 -16
- package/dist/types/utils.js +0 -13
|
@@ -1,37 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
toReactNodes
|
|
3
|
-
} from "./chunk-VE7J2N47.js";
|
|
4
1
|
import {
|
|
5
2
|
useLiveRef
|
|
6
3
|
} from "./chunk-NBCCPGA4.js";
|
|
7
4
|
import {
|
|
8
5
|
ProgressBar
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RVT4NV6Z.js";
|
|
7
|
+
import {
|
|
8
|
+
toReactNodes
|
|
9
|
+
} from "./chunk-VENBTZHV.js";
|
|
10
|
+
import {
|
|
11
|
+
Drawer
|
|
12
|
+
} from "./chunk-LXK52GLU.js";
|
|
10
13
|
import {
|
|
11
|
-
Button
|
|
12
|
-
|
|
14
|
+
Button,
|
|
15
|
+
ButtonSelector
|
|
16
|
+
} from "./chunk-GHIYWOAC.js";
|
|
17
|
+
import {
|
|
18
|
+
Headline,
|
|
19
|
+
headlineSelector
|
|
20
|
+
} from "./chunk-4YN25H5H.js";
|
|
13
21
|
import {
|
|
14
22
|
select
|
|
15
23
|
} from "./chunk-YMNSXZ5D.js";
|
|
16
24
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
25
|
+
Body
|
|
26
|
+
} from "./chunk-POTDIFIX.js";
|
|
19
27
|
import {
|
|
20
28
|
z
|
|
21
29
|
} from "./chunk-55OQPFLF.js";
|
|
22
30
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
31
|
+
UnstyledButton
|
|
32
|
+
} from "./chunk-HGYVPOA7.js";
|
|
33
|
+
import {
|
|
34
|
+
overflowAutoWithoutScrollbars
|
|
35
|
+
} from "./chunk-JXXIU52B.js";
|
|
26
36
|
import {
|
|
27
37
|
Icon
|
|
28
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UAFWDZRG.js";
|
|
29
39
|
import {
|
|
30
40
|
overlaySurface,
|
|
31
41
|
standardBorderRadius,
|
|
32
42
|
standardContentInset,
|
|
33
43
|
standardFocusOutline
|
|
34
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-52POF2W4.js";
|
|
45
|
+
import {
|
|
46
|
+
TokenSize
|
|
47
|
+
} from "./chunk-ENBUKLVT.js";
|
|
35
48
|
import {
|
|
36
49
|
bp,
|
|
37
50
|
useBreakpoints
|
|
@@ -41,7 +54,10 @@ import {
|
|
|
41
54
|
import styled from "@emotion/styled";
|
|
42
55
|
import React, { Fragment, useEffect, useLayoutEffect, useRef } from "react";
|
|
43
56
|
import ReactDOM from "react-dom";
|
|
44
|
-
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
57
|
+
import { Fragment as Fragment2, jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
58
|
+
function isSubmitLinkWithHref(submitLink) {
|
|
59
|
+
return Boolean(submitLink && "href" in submitLink);
|
|
60
|
+
}
|
|
45
61
|
function Modal({
|
|
46
62
|
visible,
|
|
47
63
|
title,
|
|
@@ -56,12 +72,16 @@ function Modal({
|
|
|
56
72
|
submitDisabled,
|
|
57
73
|
submitLoading,
|
|
58
74
|
submitText,
|
|
75
|
+
submitLink,
|
|
59
76
|
cancelText = "Cancel",
|
|
60
77
|
firstFocusRef,
|
|
78
|
+
smDrawer,
|
|
61
79
|
nonDismissable = false,
|
|
62
80
|
autoFocus = true,
|
|
63
81
|
width = 460,
|
|
64
|
-
progressBar
|
|
82
|
+
progressBar,
|
|
83
|
+
buttonLayout = "horizontal",
|
|
84
|
+
extraActions
|
|
65
85
|
}) {
|
|
66
86
|
const visibleChangedRef = useRef(false);
|
|
67
87
|
const nodeRef = useRef(null);
|
|
@@ -73,7 +93,6 @@ function Modal({
|
|
|
73
93
|
const modalContainerRef = useRef(null);
|
|
74
94
|
const bp2 = useBreakpoints();
|
|
75
95
|
const isSm = bp2.current("sm" /* sm */);
|
|
76
|
-
const formattedDescription = description ? toReactNodes(description) : null;
|
|
77
96
|
useEffect(() => {
|
|
78
97
|
if (visible !== visibleChangedRef.current) {
|
|
79
98
|
visibleChangedRef.current = visible;
|
|
@@ -144,7 +163,7 @@ function Modal({
|
|
|
144
163
|
}
|
|
145
164
|
}, [visible, visibleChanged, ref, autoFocus]);
|
|
146
165
|
function onClickCloseButton(event) {
|
|
147
|
-
event.stopPropagation();
|
|
166
|
+
event == null ? void 0 : event.stopPropagation();
|
|
148
167
|
onClose();
|
|
149
168
|
}
|
|
150
169
|
function onSubmitForm(e) {
|
|
@@ -160,58 +179,89 @@ function Modal({
|
|
|
160
179
|
onClose();
|
|
161
180
|
}
|
|
162
181
|
}
|
|
182
|
+
const linkIsHref = isSubmitLinkWithHref(submitLink);
|
|
183
|
+
const linkIsRoute = !linkIsHref && submitLink;
|
|
184
|
+
const buttonContent = /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
185
|
+
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((action) => action.content),
|
|
186
|
+
!isSm && !cancelHidden && /* @__PURE__ */ jsx(
|
|
187
|
+
Button,
|
|
188
|
+
{
|
|
189
|
+
disabled: cancelDisabled,
|
|
190
|
+
onClick: onClickCancel,
|
|
191
|
+
text: cancelText
|
|
192
|
+
}
|
|
193
|
+
),
|
|
194
|
+
onSubmit && /* @__PURE__ */ jsx(
|
|
195
|
+
Button,
|
|
196
|
+
{
|
|
197
|
+
kind: "primary",
|
|
198
|
+
disabled: submitDisabled,
|
|
199
|
+
text: submitText != null ? submitText : "Continue",
|
|
200
|
+
loading: submitLoading,
|
|
201
|
+
to: linkIsRoute ? submitLink.to : void 0,
|
|
202
|
+
href: linkIsHref ? submitLink.href : void 0,
|
|
203
|
+
hrefFilename: linkIsHref ? submitLink.filename : void 0,
|
|
204
|
+
type: submitLink ? "button" : "submit",
|
|
205
|
+
onClick: submitLink ? onSubmit : void 0
|
|
206
|
+
}
|
|
207
|
+
),
|
|
208
|
+
isSm && !cancelHidden && /* @__PURE__ */ jsx(Button, { onClick: onClose, text: cancelText }),
|
|
209
|
+
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((action) => action.content)
|
|
210
|
+
] });
|
|
211
|
+
let titleContent = null;
|
|
212
|
+
if (title) {
|
|
213
|
+
if (typeof title === "string") {
|
|
214
|
+
titleContent = /* @__PURE__ */ jsx(Headline, { heading: "h4", size: TokenSize.Small, children: title });
|
|
215
|
+
} else {
|
|
216
|
+
titleContent = toReactNodes(title);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
let descriptionContent = null;
|
|
220
|
+
if (description) {
|
|
221
|
+
if (typeof description === "string") {
|
|
222
|
+
descriptionContent = /* @__PURE__ */ jsx(Description, { children: /* @__PURE__ */ jsx(Body, { size: "ExtraSmall", content: description }) });
|
|
223
|
+
} else {
|
|
224
|
+
descriptionContent = /* @__PURE__ */ jsx(Description, { children: toReactNodes(description) });
|
|
225
|
+
}
|
|
226
|
+
}
|
|
163
227
|
const modalContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
164
|
-
/* @__PURE__ */ jsx(
|
|
165
|
-
|
|
166
|
-
ModalContainer,
|
|
228
|
+
progressBar ? /* @__PURE__ */ jsx("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ jsx(
|
|
229
|
+
ProgressBar,
|
|
167
230
|
{
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
tabIndex: -1,
|
|
171
|
-
role: "dialog",
|
|
172
|
-
ref: modalContainerRef,
|
|
173
|
-
children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, children: [
|
|
174
|
-
!firstFocusRef && /* @__PURE__ */ jsx(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
|
|
175
|
-
!(nonDismissable || ghost) && /* @__PURE__ */ jsx(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "Close", width: 9 }) }),
|
|
176
|
-
/* @__PURE__ */ jsxs(ModalContentInner, { ghost, children: [
|
|
177
|
-
progressBar ? /* @__PURE__ */ jsx("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ jsx(
|
|
178
|
-
ProgressBar,
|
|
179
|
-
{
|
|
180
|
-
progressPercentage: progressBar.progressPercentage,
|
|
181
|
-
isSm: progressBar.isSm
|
|
182
|
-
}
|
|
183
|
-
) }) : null,
|
|
184
|
-
title ? /* @__PURE__ */ jsx("h4", { children: title }) : null,
|
|
185
|
-
formattedDescription ? /* @__PURE__ */ jsx(Description, { children: formattedDescription }) : null,
|
|
186
|
-
/* @__PURE__ */ jsx("div", { children }),
|
|
187
|
-
onSubmit || onCancel ? /* @__PURE__ */ jsxs(ModalButtonRow, { children: [
|
|
188
|
-
!isSm && !cancelHidden && /* @__PURE__ */ jsx(
|
|
189
|
-
Button,
|
|
190
|
-
{
|
|
191
|
-
disabled: cancelDisabled,
|
|
192
|
-
onClick: onClickCancel,
|
|
193
|
-
text: cancelText
|
|
194
|
-
}
|
|
195
|
-
),
|
|
196
|
-
onSubmit && /* @__PURE__ */ jsx(
|
|
197
|
-
Button,
|
|
198
|
-
{
|
|
199
|
-
disabled: submitDisabled,
|
|
200
|
-
primary: true,
|
|
201
|
-
text: submitText != null ? submitText : "Continue",
|
|
202
|
-
loading: submitLoading,
|
|
203
|
-
type: "submit"
|
|
204
|
-
}
|
|
205
|
-
),
|
|
206
|
-
isSm && !cancelHidden && /* @__PURE__ */ jsx(Button, { onClick: onClose, text: cancelText })
|
|
207
|
-
] }) : null
|
|
208
|
-
] })
|
|
209
|
-
] })
|
|
231
|
+
progressPercentage: progressBar.progressPercentage,
|
|
232
|
+
isSm: progressBar.isSm
|
|
210
233
|
}
|
|
211
|
-
)
|
|
234
|
+
) }) : null,
|
|
235
|
+
titleContent,
|
|
236
|
+
descriptionContent,
|
|
237
|
+
children,
|
|
238
|
+
onSubmit || onCancel ? buttonLayout === "horizontal" ? /* @__PURE__ */ jsx(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ jsx(ModalButtonColumn, { children: buttonContent }) : null
|
|
212
239
|
] });
|
|
240
|
+
let content;
|
|
241
|
+
if (smDrawer && isSm) {
|
|
242
|
+
content = /* @__PURE__ */ jsx(Drawer, { onClose: () => onClickCloseButton(), closeButton: true, children: modalContent });
|
|
243
|
+
} else {
|
|
244
|
+
content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
245
|
+
/* @__PURE__ */ jsx(ModalOverlay, { ref: overlayRef }),
|
|
246
|
+
/* @__PURE__ */ jsx(
|
|
247
|
+
ModalContainer,
|
|
248
|
+
{
|
|
249
|
+
"aria-modal": true,
|
|
250
|
+
"aria-hidden": true,
|
|
251
|
+
tabIndex: -1,
|
|
252
|
+
role: "dialog",
|
|
253
|
+
ref: modalContainerRef,
|
|
254
|
+
children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, children: [
|
|
255
|
+
!firstFocusRef && /* @__PURE__ */ jsx(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
|
|
256
|
+
!(nonDismissable || ghost) && /* @__PURE__ */ jsx(CloseButtonContainer, { children: /* @__PURE__ */ jsx(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "Close", width: 9 }) }) }),
|
|
257
|
+
/* @__PURE__ */ jsx(ModalContentInner, { ghost, children: modalContent })
|
|
258
|
+
] })
|
|
259
|
+
}
|
|
260
|
+
)
|
|
261
|
+
] });
|
|
262
|
+
}
|
|
213
263
|
return visible && nodeReady && nodeRef.current ? ReactDOM.createPortal(
|
|
214
|
-
onSubmit ? /* @__PURE__ */ jsx("form", { onSubmit: onSubmitForm, children:
|
|
264
|
+
onSubmit ? /* @__PURE__ */ jsx("form", { onSubmit: onSubmitForm, children: content }) : content,
|
|
215
265
|
nodeRef.current
|
|
216
266
|
) : null;
|
|
217
267
|
}
|
|
@@ -229,7 +279,6 @@ var ModalOverlay = styled.div`
|
|
|
229
279
|
width: 100vw;
|
|
230
280
|
height: 100vh;
|
|
231
281
|
background: rgba(0, 0, 0, 0.5);
|
|
232
|
-
backdrop-filter: blur(2px);
|
|
233
282
|
`;
|
|
234
283
|
var ModalContainer = styled.div`
|
|
235
284
|
pointer-events: none;
|
|
@@ -251,33 +300,38 @@ var ModalContainer = styled.div`
|
|
|
251
300
|
var contentTopMarginPx = 24;
|
|
252
301
|
var Description = styled.div`
|
|
253
302
|
color: ${({ theme }) => theme.mcNeutral};
|
|
254
|
-
margin-top:
|
|
303
|
+
margin-top: ${"12px" /* sm */};
|
|
255
304
|
& + * {
|
|
256
305
|
margin-top: ${contentTopMarginPx}px;
|
|
257
306
|
}
|
|
258
307
|
`;
|
|
259
308
|
var ModalButtonRow = styled.div`
|
|
260
|
-
margin-top:
|
|
309
|
+
margin-top: ${"24px" /* lg */};
|
|
261
310
|
${bp.minSm(`display: flex;`)}
|
|
262
311
|
gap: 10px;
|
|
263
312
|
|
|
264
|
-
|
|
313
|
+
${ButtonSelector()} {
|
|
265
314
|
width: 50%;
|
|
266
315
|
${bp.sm(`
|
|
267
316
|
width: 100%;
|
|
268
317
|
`)}
|
|
269
318
|
}
|
|
319
|
+
`;
|
|
320
|
+
var ModalButtonColumn = styled.div`
|
|
321
|
+
display: flex;
|
|
322
|
+
flex-direction: column;
|
|
323
|
+
gap: ${"12px" /* sm */};
|
|
270
324
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
margin-top: 16px;
|
|
274
|
-
`)}
|
|
325
|
+
${ButtonSelector()} {
|
|
326
|
+
width: 100%;
|
|
275
327
|
}
|
|
328
|
+
|
|
329
|
+
margin-top: ${"24px" /* lg */};
|
|
276
330
|
`;
|
|
277
331
|
var ModalContent = styled.div`
|
|
278
332
|
${overflowAutoWithoutScrollbars}
|
|
279
333
|
${standardContentInset.smCSS}
|
|
280
|
-
${standardBorderRadius(16)}
|
|
334
|
+
${(props) => props.ghost ? "" : standardBorderRadius(16)}
|
|
281
335
|
${(props) => props.ghost ? "" : overlaySurface}
|
|
282
336
|
pointer-events: auto;
|
|
283
337
|
transition: width 0.25s ease-in;
|
|
@@ -287,15 +341,19 @@ var ModalContent = styled.div`
|
|
|
287
341
|
position: absolute;
|
|
288
342
|
${(props) => props.ghost ? "" : "padding: 16px 16px 40px;"}
|
|
289
343
|
|
|
290
|
-
h4 {
|
|
344
|
+
${headlineSelector("h4")} { {
|
|
291
345
|
margin: 0;
|
|
292
|
-
font-weight: 800;
|
|
293
|
-
font-size: ${pxToRems(21)};
|
|
294
346
|
& + *:not(${select(Description)}) {
|
|
295
347
|
margin-top: ${contentTopMarginPx}px;
|
|
296
348
|
}
|
|
297
349
|
}
|
|
298
350
|
`;
|
|
351
|
+
var CloseButtonContainer = styled.div`
|
|
352
|
+
display: flex;
|
|
353
|
+
flex-direction: row;
|
|
354
|
+
width: 100%;
|
|
355
|
+
justify-content: flex-end;
|
|
356
|
+
`;
|
|
299
357
|
var CloseButton = styled(UnstyledButton)`
|
|
300
358
|
${standardFocusOutline}
|
|
301
359
|
width: 24px;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import {
|
|
2
|
+
standardLineHeightEms
|
|
3
|
+
} from "./chunk-52POF2W4.js";
|
|
4
|
+
|
|
5
|
+
// src/components/Checkbox.tsx
|
|
6
|
+
import styled from "@emotion/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
|
+
import { jsx, jsxs } from "@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__ */ jsxs(CheckboxContainer, { mt, alignItems, children: [
|
|
23
|
+
/* @__PURE__ */ jsx(
|
|
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__ */ jsx(CheckboxLabel, { htmlFor: id, children: label })
|
|
40
|
+
] });
|
|
41
|
+
}
|
|
42
|
+
var StyledCheckbox = styled.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 = styled.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 = styled.label`
|
|
69
|
+
margin-left: 12px;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
height: ${standardLineHeightEms}em;
|
|
72
|
+
`;
|
|
73
|
+
|
|
74
|
+
export {
|
|
75
|
+
Checkbox,
|
|
76
|
+
CheckboxContainer
|
|
77
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// src/icons/Close.tsx
|
|
2
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
+
function Close() {
|
|
4
|
+
return /* @__PURE__ */ jsx(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 8 8",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: /* @__PURE__ */ jsx(
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M0.5 0.5L7.5 7.5M0.5 7.5L7.5 0.5",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export {
|
|
25
|
+
Close
|
|
26
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// src/icons/Search.tsx
|
|
2
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
+
function Search() {
|
|
4
|
+
return /* @__PURE__ */ jsx(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "16",
|
|
8
|
+
height: "16",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
children: /* @__PURE__ */ jsx(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M10.9972 10.9512C9.78136 12.1281 8.12781 12.6667 6.83333 12.6667C4.5 12.6667 1 10.9167 1 6.83333C1 2.75 4.5 1 6.83333 1C9.16667 1 12.6667 2.75 12.6667 6.83333C12.6667 8.65133 11.9729 10.0068 10.9972 10.9512ZM10.9972 10.9512L15 15",
|
|
16
|
+
stroke: "#404040",
|
|
17
|
+
strokeWidth: "2",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round"
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
Search
|
|
28
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PK4E5P4Q.js";
|
|
4
4
|
import {
|
|
5
5
|
standardBorderRadius
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-52POF2W4.js";
|
|
7
7
|
|
|
8
8
|
// src/components/SecretContainer.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {
|
|
2
|
+
pageSectionScrollOffset
|
|
3
|
+
} from "./chunk-JJC2AUQ3.js";
|
|
4
|
+
import {
|
|
5
|
+
TextButton
|
|
6
|
+
} from "./chunk-YYPRW5VJ.js";
|
|
7
|
+
import {
|
|
8
|
+
IconContainer
|
|
9
|
+
} from "./chunk-UAFWDZRG.js";
|
|
10
|
+
import {
|
|
11
|
+
bp
|
|
12
|
+
} from "./chunk-JSGRNWSB.js";
|
|
13
|
+
import {
|
|
14
|
+
colors
|
|
15
|
+
} from "./chunk-KYTOF4WO.js";
|
|
16
|
+
|
|
17
|
+
// src/components/PageSection/PageSectionNav.tsx
|
|
18
|
+
import styled from "@emotion/styled";
|
|
19
|
+
import { notNullUndefined } from "@lightsparkdev/core";
|
|
20
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
21
|
+
var StyledPageSectionNav = styled.div`
|
|
22
|
+
display: none;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
margin-right: 32px;
|
|
25
|
+
position: relative;
|
|
26
|
+
|
|
27
|
+
${bp.minMd(`
|
|
28
|
+
display: flex;
|
|
29
|
+
width: 150px;
|
|
30
|
+
`)}
|
|
31
|
+
|
|
32
|
+
${bp.lg(`
|
|
33
|
+
width: 200px;
|
|
34
|
+
`)}
|
|
35
|
+
`;
|
|
36
|
+
var PageSectionList = styled.ul`
|
|
37
|
+
margin: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
position: sticky;
|
|
40
|
+
top: ${({ top }) => top}px;
|
|
41
|
+
`;
|
|
42
|
+
var StyledPageSectionNavItem = styled.li`
|
|
43
|
+
align-items: center;
|
|
44
|
+
color: ${colors.gray40};
|
|
45
|
+
display: flex;
|
|
46
|
+
list-style: none;
|
|
47
|
+
|
|
48
|
+
${IconContainer}:not(:first-of-type) {
|
|
49
|
+
visibility: hidden;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
color: ${({ theme }) => theme.hcNeutral};
|
|
54
|
+
|
|
55
|
+
${IconContainer} {
|
|
56
|
+
visibility: visible;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
60
|
+
var PageSectionListItem = ({ leftIcon, label, sectionId }) => /* @__PURE__ */ jsx(StyledPageSectionNavItem, { children: /* @__PURE__ */ jsx(
|
|
61
|
+
TextButton,
|
|
62
|
+
{
|
|
63
|
+
text: label,
|
|
64
|
+
padding: "8px 0",
|
|
65
|
+
leftIcon: { name: leftIcon },
|
|
66
|
+
onClick: () => {
|
|
67
|
+
if (sectionId) {
|
|
68
|
+
window.location.replace(`#${sectionId}`);
|
|
69
|
+
} else {
|
|
70
|
+
window.location.replace("#");
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
) });
|
|
75
|
+
function PageSectionNav({
|
|
76
|
+
headerOffset = 0,
|
|
77
|
+
pageSectionNavItems
|
|
78
|
+
}) {
|
|
79
|
+
return /* @__PURE__ */ jsx(StyledPageSectionNav, { children: /* @__PURE__ */ jsx(PageSectionList, { top: headerOffset + pageSectionScrollOffset, children: pageSectionNavItems.filter(notNullUndefined).map((item) => {
|
|
80
|
+
return /* @__PURE__ */ jsx(
|
|
81
|
+
PageSectionListItem,
|
|
82
|
+
{
|
|
83
|
+
leftIcon: item.leftIcon,
|
|
84
|
+
label: item.label,
|
|
85
|
+
sectionId: item.sectionId
|
|
86
|
+
},
|
|
87
|
+
item.sectionId
|
|
88
|
+
);
|
|
89
|
+
}) }) });
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export {
|
|
93
|
+
PageSectionNav
|
|
94
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// src/icons/Code.tsx
|
|
2
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
+
function Code() {
|
|
4
|
+
return /* @__PURE__ */ jsx(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 16 14",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: /* @__PURE__ */ jsx(
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M3.85714 3.37502L0.75 7.00002L3.85714 10.625M12.1429 3.37502L15.25 7.00002L12.1429 10.625M9.55357 1.30359L6.44643 12.6964",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeWidth: "1.5",
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
Code
|
|
27
|
+
};
|