@lightsparkdev/ui 0.0.13 → 1.0.1
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 +45 -2
- package/README.md +1 -1
- package/dist/buttons-38b5823f.d.ts +10531 -0
- package/dist/buttons-a63671c2.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-KMTXQD46.js → chunk-2I6UL3CQ.js} +134 -76
- 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-QCXXJZDC.js → chunk-4QVTXKRX.js} +2 -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-34CIJVQQ.js → chunk-7TOLLB23.js} +1 -1
- package/dist/chunk-7UBU5MKY.js +47 -0
- package/dist/chunk-ACWTDOWH.js +42 -0
- package/dist/{chunk-A3ZJ2C7J.js → chunk-ACYYMZQZ.js} +42 -29
- 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-QWAHK2QG.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-DFYHIUYN.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-HXKKG2VQ.js +190 -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-QNM3M4MU.js → chunk-KOD6R7U5.js} +7 -10
- 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-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-5DK6QL77.js → chunk-RHHYOFN6.js} +2 -2
- 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-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 +3 -1
- package/dist/components/Badge.d.ts +3 -1
- 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/{icons/Dots.cjs → components/Banner/constants.cjs} +13 -18
- 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 +8163 -1342
- package/dist/components/Button.d.cts +155 -25
- package/dist/components/Button.d.ts +155 -25
- package/dist/components/Button.js +144 -13
- package/dist/components/ButtonRow.cjs +8091 -1279
- 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 +7285 -1031
- package/dist/components/CurrencyAmount.d.cts +4 -4
- package/dist/components/CurrencyAmount.d.ts +4 -4
- 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 +48 -1089
- package/dist/components/GradientCardHeader.js +9 -7
- 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 +8447 -1415
- 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/Down.cjs → components/PageSection/constants.cjs} +10 -27
- 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 +48 -1089
- package/dist/components/StatusIndicator.js +8 -6
- 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 +13246 -3092
- package/dist/components/index.d.cts +153 -7
- package/dist/components/index.d.ts +153 -7
- package/dist/components/index.js +286 -48
- 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/FramedLetterI.cjs +35 -30
- package/dist/icons/FramedLetterI.d.cts +2 -2
- package/dist/icons/FramedLetterI.d.ts +2 -2
- package/dist/icons/FramedLetterI.js +5 -34
- 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/{NoteLine.cjs → Minus.cjs} +29 -23
- 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/{Channel.cjs → UmaBridgeLoading.cjs} +16 -30
- 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 +28 -1077
- 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 +11 -1
- package/dist/types/index.d.ts +11 -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/utils/parseURLFragments.js +1 -1
- 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 -1028
- 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-5GBDVTL6.js +0 -30
- package/dist/chunk-75VDSSXM.js +0 -314
- package/dist/chunk-BCFRW7CV.js +0 -20
- package/dist/chunk-E4EXM4SY.js +0 -921
- package/dist/chunk-EXGJIYUI.js +0 -25
- 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/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.cjs +0 -64
- 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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// src/icons/Info.tsx
|
|
2
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
3
|
+
function Info() {
|
|
4
|
+
return /* @__PURE__ */ jsxs(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
width: "100%",
|
|
8
|
+
viewBox: "0 0 16 16",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ jsx(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M15.351 8.00008C15.351 12.0502 12.0677 15.3334 8.01766 15.3334C3.96757 15.3334 0.684326 12.0502 0.684326 8.00008C0.684326 3.94999 3.96757 0.666748 8.01766 0.666748C12.0677 0.666748 15.351 3.94999 15.351 8.00008Z",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
strokeWidth: "1.33333",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round"
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
"path",
|
|
24
|
+
{
|
|
25
|
+
d: "M8.01758 11.1429V8.00008M8.01758 4.85732V4.83276",
|
|
26
|
+
stroke: "currentColor",
|
|
27
|
+
strokeWidth: "1.66667",
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
strokeLinejoin: "round"
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
/* @__PURE__ */ jsx(
|
|
33
|
+
"path",
|
|
34
|
+
{
|
|
35
|
+
d: "M8.01758 4.85732V4.83276",
|
|
36
|
+
stroke: "currentColor",
|
|
37
|
+
strokeWidth: "2",
|
|
38
|
+
strokeLinecap: "round",
|
|
39
|
+
strokeLinejoin: "round"
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
Info
|
|
49
|
+
};
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import {
|
|
2
|
+
smHeaderLogoMarginLeft
|
|
3
|
+
} from "./chunk-VQVEZVAG.js";
|
|
4
|
+
import {
|
|
5
|
+
Link
|
|
6
|
+
} from "./chunk-4QVTXKRX.js";
|
|
7
|
+
import {
|
|
8
|
+
z
|
|
9
|
+
} from "./chunk-55OQPFLF.js";
|
|
10
|
+
import {
|
|
11
|
+
UnstyledButton
|
|
12
|
+
} from "./chunk-HGYVPOA7.js";
|
|
13
|
+
import {
|
|
14
|
+
Icon
|
|
15
|
+
} from "./chunk-UAFWDZRG.js";
|
|
16
|
+
import {
|
|
17
|
+
overlaySurface,
|
|
18
|
+
standardBorderRadius,
|
|
19
|
+
standardFocusOutline
|
|
20
|
+
} from "./chunk-52POF2W4.js";
|
|
21
|
+
import {
|
|
22
|
+
themeOr
|
|
23
|
+
} from "./chunk-ZFDYANKZ.js";
|
|
24
|
+
import {
|
|
25
|
+
bp
|
|
26
|
+
} from "./chunk-JSGRNWSB.js";
|
|
27
|
+
import {
|
|
28
|
+
__spreadProps,
|
|
29
|
+
__spreadValues
|
|
30
|
+
} from "./chunk-LOPKRCGI.js";
|
|
31
|
+
|
|
32
|
+
// src/components/Dropdown.tsx
|
|
33
|
+
import { css, useTheme } from "@emotion/react";
|
|
34
|
+
import styled from "@emotion/styled";
|
|
35
|
+
import {
|
|
36
|
+
useCallback,
|
|
37
|
+
useEffect,
|
|
38
|
+
useLayoutEffect,
|
|
39
|
+
useRef,
|
|
40
|
+
useState
|
|
41
|
+
} from "react";
|
|
42
|
+
import ReactDOM from "react-dom";
|
|
43
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
44
|
+
function Dropdown({
|
|
45
|
+
button,
|
|
46
|
+
dropdownItems,
|
|
47
|
+
horizontalScrollRef,
|
|
48
|
+
onClickDropdownItems,
|
|
49
|
+
getCSS,
|
|
50
|
+
onOpen,
|
|
51
|
+
onClose,
|
|
52
|
+
closeOnScroll = false,
|
|
53
|
+
openOnHover = false,
|
|
54
|
+
minDropdownItemsWidth = 200,
|
|
55
|
+
maxDropdownItemsWidth = 300,
|
|
56
|
+
align = "center",
|
|
57
|
+
footer = null,
|
|
58
|
+
dropdownContent = null
|
|
59
|
+
}) {
|
|
60
|
+
const theme = useTheme();
|
|
61
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
62
|
+
const [dropdownButtonHeight, setDropdownButtonHeight] = useState(0);
|
|
63
|
+
const [dropdownButtonWidth, setDropdownButtonWidth] = useState(0);
|
|
64
|
+
const [dropdownCoords, setDropdownCoords] = useState({
|
|
65
|
+
top: 0,
|
|
66
|
+
left: 0,
|
|
67
|
+
right: 0
|
|
68
|
+
});
|
|
69
|
+
const dropdownRef = useRef(null);
|
|
70
|
+
const dropdownButtonRef = useRef(null);
|
|
71
|
+
const dropdownItemsRef = useRef(null);
|
|
72
|
+
const [dropdownItemsWidth, setDropdownItemsWidth] = useState(0);
|
|
73
|
+
const nodeRef = useRef(null);
|
|
74
|
+
const [nodeReady, setNodeReady] = useState(false);
|
|
75
|
+
useEffect(() => {
|
|
76
|
+
if (!nodeRef.current) {
|
|
77
|
+
nodeRef.current = document.createElement("div");
|
|
78
|
+
document.body.appendChild(nodeRef.current);
|
|
79
|
+
}
|
|
80
|
+
setNodeReady(true);
|
|
81
|
+
return () => {
|
|
82
|
+
if (nodeRef.current) {
|
|
83
|
+
document.body.removeChild(nodeRef.current);
|
|
84
|
+
nodeRef.current = null;
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}, []);
|
|
88
|
+
const setOpen = useCallback(
|
|
89
|
+
(newValue) => {
|
|
90
|
+
setIsOpen(newValue);
|
|
91
|
+
if (newValue && onOpen) {
|
|
92
|
+
onOpen();
|
|
93
|
+
} else if (!newValue && onClose) {
|
|
94
|
+
onClose();
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
[onOpen, onClose]
|
|
98
|
+
);
|
|
99
|
+
function handleKeyDown(event) {
|
|
100
|
+
if (event.key === "Escape") {
|
|
101
|
+
event.preventDefault();
|
|
102
|
+
setOpen(false);
|
|
103
|
+
} else if (["Enter", "Return"].includes(event.key)) {
|
|
104
|
+
event.preventDefault();
|
|
105
|
+
setOpen(!isOpen);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function handleBlur(event) {
|
|
109
|
+
const targetOutsideDropdownItems = dropdownItemsRef.current && !dropdownItemsRef.current.contains(event.relatedTarget) && event.relatedTarget !== null;
|
|
110
|
+
if (targetOutsideDropdownItems) {
|
|
111
|
+
setOpen(false);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const handleRef = useCallback((ref) => {
|
|
115
|
+
if (ref && !dropdownButtonRef.current) {
|
|
116
|
+
dropdownButtonRef.current = ref;
|
|
117
|
+
}
|
|
118
|
+
return ref;
|
|
119
|
+
}, []);
|
|
120
|
+
useEffect(() => {
|
|
121
|
+
function handleClickOutside(event) {
|
|
122
|
+
const targetOutsideDropdownItems = dropdownItemsRef.current && !dropdownItemsRef.current.contains(event.target);
|
|
123
|
+
const targetOutsideDropdownButton = dropdownButtonRef.current && !dropdownButtonRef.current.contains(event.target);
|
|
124
|
+
if (isOpen && event.target && targetOutsideDropdownItems && targetOutsideDropdownButton) {
|
|
125
|
+
setOpen(false);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
window.document.addEventListener("mousedown", handleClickOutside);
|
|
129
|
+
return () => {
|
|
130
|
+
window.document.removeEventListener("mousedown", handleClickOutside);
|
|
131
|
+
};
|
|
132
|
+
}, [isOpen, setOpen]);
|
|
133
|
+
const reposition = useCallback(() => {
|
|
134
|
+
if (dropdownButtonRef.current && dropdownItemsRef.current) {
|
|
135
|
+
const dropdownButtonRect = dropdownButtonRef.current.getBoundingClientRect();
|
|
136
|
+
setDropdownCoords({
|
|
137
|
+
top: dropdownButtonRect.top,
|
|
138
|
+
left: dropdownButtonRect.left,
|
|
139
|
+
right: dropdownButtonRect.right
|
|
140
|
+
});
|
|
141
|
+
setDropdownButtonHeight(dropdownButtonRect.height);
|
|
142
|
+
setDropdownButtonWidth(dropdownButtonRect.width);
|
|
143
|
+
const dropdownItemsRect = dropdownItemsRef.current.getBoundingClientRect();
|
|
144
|
+
setDropdownItemsWidth(dropdownItemsRect.width);
|
|
145
|
+
}
|
|
146
|
+
}, []);
|
|
147
|
+
useLayoutEffect(() => {
|
|
148
|
+
function onWindowResize() {
|
|
149
|
+
setOpen(false);
|
|
150
|
+
reposition();
|
|
151
|
+
}
|
|
152
|
+
function handleScroll() {
|
|
153
|
+
if (closeOnScroll) {
|
|
154
|
+
setOpen(false);
|
|
155
|
+
}
|
|
156
|
+
reposition();
|
|
157
|
+
}
|
|
158
|
+
reposition();
|
|
159
|
+
let dropdownButtonResizeObserver = null;
|
|
160
|
+
if (dropdownButtonRef.current) {
|
|
161
|
+
dropdownButtonResizeObserver = new ResizeObserver(reposition);
|
|
162
|
+
dropdownButtonResizeObserver.observe(dropdownButtonRef.current);
|
|
163
|
+
}
|
|
164
|
+
let dropdownResizeObserver = null;
|
|
165
|
+
if (dropdownButtonRef.current) {
|
|
166
|
+
dropdownResizeObserver = new ResizeObserver(reposition);
|
|
167
|
+
dropdownResizeObserver.observe(dropdownButtonRef.current);
|
|
168
|
+
}
|
|
169
|
+
window.addEventListener("resize", onWindowResize);
|
|
170
|
+
let navItemsResizeObserver = null;
|
|
171
|
+
window.addEventListener("scroll", handleScroll);
|
|
172
|
+
if (horizontalScrollRef == null ? void 0 : horizontalScrollRef.current) {
|
|
173
|
+
horizontalScrollRef.current.addEventListener("scroll", handleScroll);
|
|
174
|
+
navItemsResizeObserver = new ResizeObserver(reposition);
|
|
175
|
+
navItemsResizeObserver.observe(horizontalScrollRef.current);
|
|
176
|
+
}
|
|
177
|
+
return () => {
|
|
178
|
+
window.removeEventListener("resize", onWindowResize);
|
|
179
|
+
window.removeEventListener("scroll", handleScroll);
|
|
180
|
+
dropdownButtonResizeObserver == null ? void 0 : dropdownButtonResizeObserver.disconnect();
|
|
181
|
+
navItemsResizeObserver == null ? void 0 : navItemsResizeObserver.disconnect();
|
|
182
|
+
dropdownResizeObserver == null ? void 0 : dropdownResizeObserver.disconnect();
|
|
183
|
+
};
|
|
184
|
+
}, [setOpen, horizontalScrollRef, closeOnScroll, reposition]);
|
|
185
|
+
const handleClickDropdownItems = useCallback(() => {
|
|
186
|
+
setOpen(false);
|
|
187
|
+
onClickDropdownItems && onClickDropdownItems();
|
|
188
|
+
}, [onClickDropdownItems, setOpen]);
|
|
189
|
+
const dropdownTopMargin = 8;
|
|
190
|
+
const dropdownItemOffsetTop = dropdownCoords.top + dropdownButtonHeight + dropdownTopMargin;
|
|
191
|
+
let dropdownItemOffsetLeft = 0;
|
|
192
|
+
if (align === "center") {
|
|
193
|
+
dropdownItemOffsetLeft = dropdownCoords.left - (dropdownItemsWidth - dropdownButtonWidth) / 2;
|
|
194
|
+
} else if (align === "right") {
|
|
195
|
+
dropdownItemOffsetLeft = dropdownCoords.right - dropdownItemsWidth;
|
|
196
|
+
}
|
|
197
|
+
const buttonContent = button.label || button.getContent && button.getContent({ isOpen, theme });
|
|
198
|
+
const containerCSS = getCSS && getCSS({ isOpen, theme });
|
|
199
|
+
return /* @__PURE__ */ jsxs(
|
|
200
|
+
"div",
|
|
201
|
+
{
|
|
202
|
+
css: __spreadValues({ position: "relative", display: "inline-flex" }, containerCSS),
|
|
203
|
+
ref: dropdownRef,
|
|
204
|
+
children: [
|
|
205
|
+
/* @__PURE__ */ jsx(
|
|
206
|
+
DropdownButton,
|
|
207
|
+
{
|
|
208
|
+
id: button.id,
|
|
209
|
+
type: "button",
|
|
210
|
+
onMouseEnter: openOnHover ? () => {
|
|
211
|
+
reposition();
|
|
212
|
+
setOpen(true);
|
|
213
|
+
} : void 0,
|
|
214
|
+
onMouseLeave: openOnHover ? () => {
|
|
215
|
+
setOpen(false);
|
|
216
|
+
} : void 0,
|
|
217
|
+
onMouseDown: (e) => {
|
|
218
|
+
reposition();
|
|
219
|
+
setOpen(!isOpen);
|
|
220
|
+
},
|
|
221
|
+
onKeyDown: handleKeyDown,
|
|
222
|
+
onFocus: (e) => {
|
|
223
|
+
reposition();
|
|
224
|
+
setOpen(true);
|
|
225
|
+
},
|
|
226
|
+
onBlur: handleBlur,
|
|
227
|
+
ref: handleRef,
|
|
228
|
+
css: button.getCSS && button.getCSS({ isOpen, theme }),
|
|
229
|
+
children: buttonContent
|
|
230
|
+
}
|
|
231
|
+
),
|
|
232
|
+
nodeReady && nodeRef.current ? ReactDOM.createPortal(
|
|
233
|
+
/* @__PURE__ */ jsxs(
|
|
234
|
+
DropdownItems,
|
|
235
|
+
{
|
|
236
|
+
isOpen,
|
|
237
|
+
left: dropdownItemOffsetLeft,
|
|
238
|
+
top: dropdownItemOffsetTop,
|
|
239
|
+
ref: dropdownItemsRef,
|
|
240
|
+
minWidth: minDropdownItemsWidth,
|
|
241
|
+
maxWidth: maxDropdownItemsWidth,
|
|
242
|
+
children: [
|
|
243
|
+
dropdownItems == null ? void 0 : dropdownItems.map((dropdownItem, i) => {
|
|
244
|
+
return /* @__PURE__ */ jsx("li", { onBlur: handleBlur, children: /* @__PURE__ */ jsx(
|
|
245
|
+
DropdownItem,
|
|
246
|
+
{
|
|
247
|
+
dropdownItem,
|
|
248
|
+
onClick: handleClickDropdownItems
|
|
249
|
+
}
|
|
250
|
+
) }, dropdownItem.label);
|
|
251
|
+
}),
|
|
252
|
+
dropdownContent,
|
|
253
|
+
footer && /* @__PURE__ */ jsx(DropdownFooter, { children: footer })
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
),
|
|
257
|
+
nodeRef.current
|
|
258
|
+
) : null
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
var DropdownFooter = styled.div`
|
|
264
|
+
padding: 24px 16px 0;
|
|
265
|
+
border-top: 1px solid ${({ theme }) => theme.c2Neutral};
|
|
266
|
+
margin-top: 16px;
|
|
267
|
+
`;
|
|
268
|
+
var DropdownItems = styled.ul`
|
|
269
|
+
${overlaySurface}
|
|
270
|
+
color: ${({ theme }) => themeOr(theme.c6Neutral, theme.c8Neutral)};
|
|
271
|
+
${standardBorderRadius(8)}
|
|
272
|
+
padding: 12px 0;
|
|
273
|
+
visibility: ${({ isOpen }) => isOpen ? "visible" : "hidden"};
|
|
274
|
+
position: fixed;
|
|
275
|
+
${({ minWidth }) => minWidth ? `min-width: ${minWidth}px;` : ""}
|
|
276
|
+
${({ maxWidth }) => maxWidth ? `max-width: ${maxWidth}px;` : ""}
|
|
277
|
+
left: ${({ left }) => left}px;
|
|
278
|
+
top: ${({ top }) => top}px;
|
|
279
|
+
z-index: ${z.dropdown};
|
|
280
|
+
list-style: none;
|
|
281
|
+
margin: 0;
|
|
282
|
+
`;
|
|
283
|
+
function DropdownItem({
|
|
284
|
+
dropdownItem,
|
|
285
|
+
onClick
|
|
286
|
+
}) {
|
|
287
|
+
const theme = useTheme();
|
|
288
|
+
const dropdownItemIcon = dropdownItem.getIcon && dropdownItem.getIcon({ dropdownItem, theme });
|
|
289
|
+
const dropdownItemIconNode = dropdownItemIcon ? /* @__PURE__ */ jsx(
|
|
290
|
+
Icon,
|
|
291
|
+
{
|
|
292
|
+
name: dropdownItemIcon.name,
|
|
293
|
+
width: dropdownItemIcon.width || 12,
|
|
294
|
+
mr: 10
|
|
295
|
+
}
|
|
296
|
+
) : null;
|
|
297
|
+
const cssProp2 = dropdownItem.getCSS && dropdownItem.getCSS({ theme, dropdownItem });
|
|
298
|
+
const onClickDropdownItem = useCallback(() => {
|
|
299
|
+
dropdownItem.onClick && dropdownItem.onClick(dropdownItem);
|
|
300
|
+
onClick && onClick();
|
|
301
|
+
}, [dropdownItem, onClick]);
|
|
302
|
+
if (dropdownItem.to !== void 0 || dropdownItem.externalLink) {
|
|
303
|
+
return /* @__PURE__ */ jsxs(
|
|
304
|
+
DropdownItemLink,
|
|
305
|
+
{
|
|
306
|
+
selected: Boolean(dropdownItem.selected),
|
|
307
|
+
to: dropdownItem.to,
|
|
308
|
+
externalLink: dropdownItem.externalLink,
|
|
309
|
+
params: dropdownItem.params,
|
|
310
|
+
onClick: onClickDropdownItem,
|
|
311
|
+
css: cssProp2,
|
|
312
|
+
hash: dropdownItem.hash,
|
|
313
|
+
children: [
|
|
314
|
+
dropdownItemIconNode,
|
|
315
|
+
dropdownItem.label
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
return /* @__PURE__ */ jsxs(
|
|
321
|
+
DropdownItemDiv,
|
|
322
|
+
{
|
|
323
|
+
selected: false,
|
|
324
|
+
css: cssProp2,
|
|
325
|
+
onClick: onClickDropdownItem,
|
|
326
|
+
children: [
|
|
327
|
+
dropdownItemIconNode,
|
|
328
|
+
dropdownItem.label
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
);
|
|
332
|
+
}
|
|
333
|
+
var DropdownButton = styled(UnstyledButton)`
|
|
334
|
+
${standardFocusOutline}
|
|
335
|
+
`;
|
|
336
|
+
var dropdownItemStyle = ({ selected, theme }) => `
|
|
337
|
+
background-color: ${selected ? theme.primary : "transparent"};
|
|
338
|
+
box-sizing: border-box;
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
display: flex;
|
|
341
|
+
flex-direction: row;
|
|
342
|
+
align-items: center;
|
|
343
|
+
height: 100%;
|
|
344
|
+
outline-color: ${selected ? theme.onPrimaryText : theme.hcNeutral} !important;
|
|
345
|
+
white-space: nowrap;
|
|
346
|
+
|
|
347
|
+
padding: 8px 16px;
|
|
348
|
+
${bp.sm(`padding-left: ${smHeaderLogoMarginLeft};`)}
|
|
349
|
+
|
|
350
|
+
&:hover {
|
|
351
|
+
color: ${theme.hcNeutral} !important;
|
|
352
|
+
}
|
|
353
|
+
`;
|
|
354
|
+
var cssProp = ({
|
|
355
|
+
theme,
|
|
356
|
+
selected
|
|
357
|
+
}) => css`
|
|
358
|
+
${dropdownItemStyle({ theme, selected: Boolean(selected) })}
|
|
359
|
+
${standardFocusOutline({ theme })}
|
|
360
|
+
`;
|
|
361
|
+
function DropdownItemLink(props) {
|
|
362
|
+
const theme = useTheme();
|
|
363
|
+
return /* @__PURE__ */ jsx(
|
|
364
|
+
Link,
|
|
365
|
+
__spreadProps(__spreadValues({}, props), {
|
|
366
|
+
css: cssProp({ theme, selected: Boolean(props.selected) })
|
|
367
|
+
})
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
var DropdownItemDiv = styled.div`
|
|
371
|
+
${dropdownItemStyle}
|
|
372
|
+
${standardFocusOutline}
|
|
373
|
+
`;
|
|
374
|
+
|
|
375
|
+
export {
|
|
376
|
+
Dropdown
|
|
377
|
+
};
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
// src/utils/countryCodesToNames.tsx
|
|
2
|
+
import { invert } from "lodash-es";
|
|
3
|
+
var countryCodesToNames = {
|
|
4
|
+
BD: "Bangladesh",
|
|
5
|
+
BE: "Belgium",
|
|
6
|
+
BF: "Burkina Faso",
|
|
7
|
+
BG: "Bulgaria",
|
|
8
|
+
BA: "Bosnia and Herzegovina",
|
|
9
|
+
BB: "Barbados",
|
|
10
|
+
WF: "Wallis and Futuna",
|
|
11
|
+
BL: "Saint Barthelemy",
|
|
12
|
+
BM: "Bermuda",
|
|
13
|
+
BN: "Brunei",
|
|
14
|
+
BO: "Bolivia",
|
|
15
|
+
BH: "Bahrain",
|
|
16
|
+
BI: "Burundi",
|
|
17
|
+
BJ: "Benin",
|
|
18
|
+
BT: "Bhutan",
|
|
19
|
+
JM: "Jamaica",
|
|
20
|
+
BV: "Bouvet Island",
|
|
21
|
+
BW: "Botswana",
|
|
22
|
+
WS: "Samoa",
|
|
23
|
+
BQ: "Bonaire, Saint Eustatius and Saba ",
|
|
24
|
+
BR: "Brazil",
|
|
25
|
+
BS: "Bahamas",
|
|
26
|
+
JE: "Jersey",
|
|
27
|
+
BY: "Belarus",
|
|
28
|
+
BZ: "Belize",
|
|
29
|
+
RU: "Russia",
|
|
30
|
+
RW: "Rwanda",
|
|
31
|
+
RS: "Serbia",
|
|
32
|
+
TL: "East Timor",
|
|
33
|
+
RE: "Reunion",
|
|
34
|
+
TM: "Turkmenistan",
|
|
35
|
+
TJ: "Tajikistan",
|
|
36
|
+
RO: "Romania",
|
|
37
|
+
TK: "Tokelau",
|
|
38
|
+
GW: "Guinea-Bissau",
|
|
39
|
+
GU: "Guam",
|
|
40
|
+
GT: "Guatemala",
|
|
41
|
+
GS: "South Georgia and the South Sandwich Islands",
|
|
42
|
+
GR: "Greece",
|
|
43
|
+
GQ: "Equatorial Guinea",
|
|
44
|
+
GP: "Guadeloupe",
|
|
45
|
+
JP: "Japan",
|
|
46
|
+
GY: "Guyana",
|
|
47
|
+
GG: "Guernsey",
|
|
48
|
+
GF: "French Guiana",
|
|
49
|
+
GE: "Georgia",
|
|
50
|
+
GD: "Grenada",
|
|
51
|
+
GB: "United Kingdom",
|
|
52
|
+
GA: "Gabon",
|
|
53
|
+
SV: "El Salvador",
|
|
54
|
+
GN: "Guinea",
|
|
55
|
+
GM: "Gambia",
|
|
56
|
+
GL: "Greenland",
|
|
57
|
+
GI: "Gibraltar",
|
|
58
|
+
GH: "Ghana",
|
|
59
|
+
OM: "Oman",
|
|
60
|
+
TN: "Tunisia",
|
|
61
|
+
JO: "Jordan",
|
|
62
|
+
HR: "Croatia",
|
|
63
|
+
HT: "Haiti",
|
|
64
|
+
HU: "Hungary",
|
|
65
|
+
HK: "Hong Kong",
|
|
66
|
+
HN: "Honduras",
|
|
67
|
+
HM: "Heard Island and McDonald Islands",
|
|
68
|
+
VE: "Venezuela",
|
|
69
|
+
PR: "Puerto Rico",
|
|
70
|
+
PS: "Palestinian Territory",
|
|
71
|
+
PW: "Palau",
|
|
72
|
+
PT: "Portugal",
|
|
73
|
+
SJ: "Svalbard and Jan Mayen",
|
|
74
|
+
PY: "Paraguay",
|
|
75
|
+
IQ: "Iraq",
|
|
76
|
+
PA: "Panama",
|
|
77
|
+
PF: "French Polynesia",
|
|
78
|
+
PG: "Papua New Guinea",
|
|
79
|
+
PE: "Peru",
|
|
80
|
+
PK: "Pakistan",
|
|
81
|
+
PH: "Philippines",
|
|
82
|
+
PN: "Pitcairn",
|
|
83
|
+
PL: "Poland",
|
|
84
|
+
PM: "Saint Pierre and Miquelon",
|
|
85
|
+
ZM: "Zambia",
|
|
86
|
+
EH: "Western Sahara",
|
|
87
|
+
EE: "Estonia",
|
|
88
|
+
EG: "Egypt",
|
|
89
|
+
ZA: "South Africa",
|
|
90
|
+
EC: "Ecuador",
|
|
91
|
+
IT: "Italy",
|
|
92
|
+
VN: "Vietnam",
|
|
93
|
+
SB: "Solomon Islands",
|
|
94
|
+
ET: "Ethiopia",
|
|
95
|
+
SO: "Somalia",
|
|
96
|
+
ZW: "Zimbabwe",
|
|
97
|
+
SA: "Saudi Arabia",
|
|
98
|
+
ES: "Spain",
|
|
99
|
+
ER: "Eritrea",
|
|
100
|
+
ME: "Montenegro",
|
|
101
|
+
MD: "Moldova",
|
|
102
|
+
MG: "Madagascar",
|
|
103
|
+
MF: "Saint Martin",
|
|
104
|
+
MA: "Morocco",
|
|
105
|
+
MC: "Monaco",
|
|
106
|
+
UZ: "Uzbekistan",
|
|
107
|
+
MM: "Myanmar",
|
|
108
|
+
ML: "Mali",
|
|
109
|
+
MO: "Macao",
|
|
110
|
+
MN: "Mongolia",
|
|
111
|
+
MH: "Marshall Islands",
|
|
112
|
+
MK: "Macedonia",
|
|
113
|
+
MU: "Mauritius",
|
|
114
|
+
MT: "Malta",
|
|
115
|
+
MW: "Malawi",
|
|
116
|
+
MV: "Maldives",
|
|
117
|
+
MQ: "Martinique",
|
|
118
|
+
MP: "Northern Mariana Islands",
|
|
119
|
+
MS: "Montserrat",
|
|
120
|
+
MR: "Mauritania",
|
|
121
|
+
IM: "Isle of Man",
|
|
122
|
+
UG: "Uganda",
|
|
123
|
+
TZ: "Tanzania",
|
|
124
|
+
MY: "Malaysia",
|
|
125
|
+
MX: "Mexico",
|
|
126
|
+
IL: "Israel",
|
|
127
|
+
FR: "France",
|
|
128
|
+
IO: "British Indian Ocean Territory",
|
|
129
|
+
SH: "Saint Helena",
|
|
130
|
+
AC: "Ascension Island",
|
|
131
|
+
TA: "Tristan da Cunha",
|
|
132
|
+
FI: "Finland",
|
|
133
|
+
FJ: "Fiji",
|
|
134
|
+
FK: "Falkland Islands",
|
|
135
|
+
FM: "Micronesia",
|
|
136
|
+
FO: "Faroe Islands",
|
|
137
|
+
NI: "Nicaragua",
|
|
138
|
+
NL: "Netherlands",
|
|
139
|
+
NO: "Norway",
|
|
140
|
+
NA: "Namibia",
|
|
141
|
+
VU: "Vanuatu",
|
|
142
|
+
NC: "New Caledonia",
|
|
143
|
+
NE: "Niger",
|
|
144
|
+
NF: "Norfolk Island",
|
|
145
|
+
NG: "Nigeria",
|
|
146
|
+
NZ: "New Zealand",
|
|
147
|
+
NP: "Nepal",
|
|
148
|
+
NR: "Nauru",
|
|
149
|
+
NU: "Niue",
|
|
150
|
+
CK: "Cook Islands",
|
|
151
|
+
XK: "Kosovo",
|
|
152
|
+
CI: "Ivory Coast",
|
|
153
|
+
CH: "Switzerland",
|
|
154
|
+
CO: "Colombia",
|
|
155
|
+
CN: "China",
|
|
156
|
+
CM: "Cameroon",
|
|
157
|
+
CL: "Chile",
|
|
158
|
+
CC: "Cocos Islands",
|
|
159
|
+
CA: "Canada",
|
|
160
|
+
CG: "Republic of the Congo",
|
|
161
|
+
CF: "Central African Republic",
|
|
162
|
+
CD: "Democratic Republic of the Congo",
|
|
163
|
+
CZ: "Czech Republic",
|
|
164
|
+
CY: "Cyprus",
|
|
165
|
+
CX: "Christmas Island",
|
|
166
|
+
CR: "Costa Rica",
|
|
167
|
+
CW: "Curacao",
|
|
168
|
+
CV: "Cape Verde",
|
|
169
|
+
CU: "Cuba",
|
|
170
|
+
SZ: "Swaziland",
|
|
171
|
+
SY: "Syria",
|
|
172
|
+
SX: "Sint Maarten",
|
|
173
|
+
KG: "Kyrgyzstan",
|
|
174
|
+
KE: "Kenya",
|
|
175
|
+
SS: "South Sudan",
|
|
176
|
+
SR: "Suriname",
|
|
177
|
+
KI: "Kiribati",
|
|
178
|
+
KH: "Cambodia",
|
|
179
|
+
KN: "Saint Kitts and Nevis",
|
|
180
|
+
KM: "Comoros",
|
|
181
|
+
ST: "Sao Tome and Principe",
|
|
182
|
+
SK: "Slovakia",
|
|
183
|
+
KR: "South Korea",
|
|
184
|
+
SI: "Slovenia",
|
|
185
|
+
KP: "North Korea",
|
|
186
|
+
KW: "Kuwait",
|
|
187
|
+
SN: "Senegal",
|
|
188
|
+
SM: "San Marino",
|
|
189
|
+
SL: "Sierra Leone",
|
|
190
|
+
SC: "Seychelles",
|
|
191
|
+
KZ: "Kazakhstan",
|
|
192
|
+
KY: "Cayman Islands",
|
|
193
|
+
SG: "Singapore",
|
|
194
|
+
SE: "Sweden",
|
|
195
|
+
SD: "Sudan",
|
|
196
|
+
DO: "Dominican Republic",
|
|
197
|
+
DM: "Dominica",
|
|
198
|
+
DJ: "Djibouti",
|
|
199
|
+
DK: "Denmark",
|
|
200
|
+
VG: "British Virgin Islands",
|
|
201
|
+
DE: "Germany",
|
|
202
|
+
YE: "Yemen",
|
|
203
|
+
DZ: "Algeria",
|
|
204
|
+
US: "United States",
|
|
205
|
+
UY: "Uruguay",
|
|
206
|
+
YT: "Mayotte",
|
|
207
|
+
UM: "United States Minor Outlying Islands",
|
|
208
|
+
LB: "Lebanon",
|
|
209
|
+
LC: "Saint Lucia",
|
|
210
|
+
LA: "Laos",
|
|
211
|
+
TV: "Tuvalu",
|
|
212
|
+
TW: "Taiwan",
|
|
213
|
+
TT: "Trinidad and Tobago",
|
|
214
|
+
TR: "Turkey",
|
|
215
|
+
LK: "Sri Lanka",
|
|
216
|
+
LI: "Liechtenstein",
|
|
217
|
+
LV: "Latvia",
|
|
218
|
+
TO: "Tonga",
|
|
219
|
+
LT: "Lithuania",
|
|
220
|
+
LU: "Luxembourg",
|
|
221
|
+
LR: "Liberia",
|
|
222
|
+
LS: "Lesotho",
|
|
223
|
+
TH: "Thailand",
|
|
224
|
+
TF: "French Southern Territories",
|
|
225
|
+
TG: "Togo",
|
|
226
|
+
TD: "Chad",
|
|
227
|
+
TC: "Turks and Caicos Islands",
|
|
228
|
+
LY: "Libya",
|
|
229
|
+
VA: "Vatican",
|
|
230
|
+
VC: "Saint Vincent and the Grenadines",
|
|
231
|
+
AE: "United Arab Emirates",
|
|
232
|
+
AD: "Andorra",
|
|
233
|
+
AG: "Antigua and Barbuda",
|
|
234
|
+
AF: "Afghanistan",
|
|
235
|
+
AI: "Anguilla",
|
|
236
|
+
VI: "U.S. Virgin Islands",
|
|
237
|
+
IS: "Iceland",
|
|
238
|
+
IR: "Iran",
|
|
239
|
+
AM: "Armenia",
|
|
240
|
+
AL: "Albania",
|
|
241
|
+
AO: "Angola",
|
|
242
|
+
AQ: "Antarctica",
|
|
243
|
+
AS: "American Samoa",
|
|
244
|
+
AR: "Argentina",
|
|
245
|
+
AU: "Australia",
|
|
246
|
+
AT: "Austria",
|
|
247
|
+
AW: "Aruba",
|
|
248
|
+
IN: "India",
|
|
249
|
+
AX: "Aland Islands",
|
|
250
|
+
AZ: "Azerbaijan",
|
|
251
|
+
IE: "Ireland",
|
|
252
|
+
ID: "Indonesia",
|
|
253
|
+
UA: "Ukraine",
|
|
254
|
+
QA: "Qatar",
|
|
255
|
+
MZ: "Mozambique"
|
|
256
|
+
};
|
|
257
|
+
var allCountryNames = Object.values(countryCodesToNames);
|
|
258
|
+
var countryNamesToCodes = invert(countryCodesToNames);
|
|
259
|
+
|
|
260
|
+
export {
|
|
261
|
+
countryCodesToNames,
|
|
262
|
+
allCountryNames,
|
|
263
|
+
countryNamesToCodes
|
|
264
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// src/icons/Envelope.tsx
|
|
2
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
+
function Envelope() {
|
|
4
|
+
return /* @__PURE__ */ jsx(
|
|
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__ */ jsx(
|
|
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
|
+
export {
|
|
26
|
+
Envelope
|
|
27
|
+
};
|