@lightsparkdev/ui 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/{buttons-73127447.d.ts → buttons-b7f56076.d.ts} +47 -29
- package/dist/{buttons-5a4562d5.d.ts → buttons-e4eb84a2.d.ts} +47 -29
- package/dist/{chunk-3A6TEYT3.js → chunk-27SFWLPS.js} +1 -1
- package/dist/{chunk-I5PGTS2V.js → chunk-2H7TBKII.js} +9 -9
- package/dist/{chunk-BAQMHUBZ.js → chunk-2IXAUIKR.js} +2 -2
- package/dist/{chunk-NPY3QVGG.js → chunk-2JYYREVX.js} +1 -1
- package/dist/{chunk-NEH2HFAW.js → chunk-2XRCGW74.js} +3 -3
- package/dist/{chunk-QVKXSZ63.js → chunk-35WJ3PKH.js} +2 -2
- package/dist/{chunk-NHZO42IA.js → chunk-37RRWSDE.js} +2 -2
- package/dist/{chunk-LXK52GLU.js → chunk-467PLJO3.js} +4 -4
- package/dist/{chunk-ACYYMZQZ.js → chunk-55M7XHBZ.js} +13 -13
- package/dist/{chunk-NMJGBK5W.js → chunk-56QJRFP2.js} +2 -2
- package/dist/{chunk-BPZ7AV7W.js → chunk-5H32AOXL.js} +1 -1
- package/dist/{chunk-TW4DU3WY.js → chunk-5XZJEYHG.js} +1 -1
- package/dist/{chunk-QBJ57KNQ.js → chunk-6H7PZJ2A.js} +2 -2
- package/dist/{chunk-HGYVPOA7.js → chunk-6JFJDBV2.js} +1 -1
- package/dist/{chunk-52POF2W4.js → chunk-7NPHOJXD.js} +2 -2
- package/dist/{chunk-GKH3ZH4N.js → chunk-7Y2G2JDF.js} +2 -2
- package/dist/{chunk-ZFDYANKZ.js → chunk-A4JZESAS.js} +14 -12
- package/dist/{chunk-4QVTXKRX.js → chunk-AAFUVYVP.js} +1 -1
- package/dist/chunk-ABSTTY5Q.js +7 -0
- package/dist/{chunk-KOD6R7U5.js → chunk-AI6DCUWK.js} +1 -1
- package/dist/{chunk-54WKLEUU.js → chunk-BMSSV6NX.js} +1 -1
- package/dist/{chunk-TKERS7F6.js → chunk-CHK5DOMV.js} +2 -2
- package/dist/{chunk-HV6SRK57.js → chunk-CMQELZES.js} +2 -2
- package/dist/{chunk-FUC2Z5QZ.js → chunk-CZCPVHVB.js} +2 -2
- package/dist/{chunk-SW6GFFIG.js → chunk-CZQER3QD.js} +1 -1
- package/dist/{chunk-CY3LZRBR.js → chunk-D73OOC3E.js} +3 -3
- package/dist/{chunk-44UNWWP3.js → chunk-DCFB5MJ7.js} +13 -13
- package/dist/{chunk-VRZRCDI4.js → chunk-DNVKN2FG.js} +5 -5
- package/dist/{chunk-E6XGSPA6.js → chunk-EMXTALIX.js} +1 -1
- package/dist/{chunk-GHIYWOAC.js → chunk-EV6PGQPM.js} +26 -40
- package/dist/{chunk-4CYGTH2J.js → chunk-F6EVBEMN.js} +2 -2
- package/dist/{chunk-GKBQAEH5.js → chunk-FO7I4E45.js} +17 -2
- package/dist/{chunk-MD7VQ24I.js → chunk-FT62PIPN.js} +119 -119
- package/dist/{chunk-5GVDRJLI.js → chunk-GGEAODIA.js} +7 -7
- package/dist/{chunk-IOWK2GBE.js → chunk-GNVEN6UE.js} +2 -2
- package/dist/{chunk-7TOLLB23.js → chunk-HA4AQO3T.js} +1 -1
- package/dist/{chunk-MGXWKJDU.js → chunk-HP4VPMN7.js} +2 -2
- package/dist/{chunk-YQP6EWZY.js → chunk-HRZNVE2K.js} +2 -2
- package/dist/{chunk-YYPRW5VJ.js → chunk-HZ63YB4Y.js} +4 -4
- package/dist/chunk-IL6J7EBZ.js +17 -0
- package/dist/{chunk-ZKJS5M5E.js → chunk-J7SV67XL.js} +1 -1
- package/dist/{chunk-HE76YUIL.js → chunk-JOQCJPOA.js} +11 -11
- package/dist/{chunk-UAFWDZRG.js → chunk-KBYU4ZQ3.js} +3 -3
- package/dist/{chunk-JXXIU52B.js → chunk-KFX7US6Y.js} +1 -1
- package/dist/{chunk-AXFZE7WZ.js → chunk-L6S22JUU.js} +4 -4
- package/dist/{chunk-C7TNFU3D.js → chunk-LL5YLPNM.js} +5 -5
- package/dist/{chunk-TSHXYNRZ.js → chunk-NYQLPSG3.js} +3 -3
- package/dist/{chunk-SBFDPMTS.js → chunk-OA3BZAST.js} +3 -3
- package/dist/{chunk-4YN25H5H.js → chunk-PNSZAJL7.js} +2 -2
- package/dist/{chunk-CB2PBQ2G.js → chunk-RSAYBOK5.js} +3 -3
- package/dist/{chunk-FEJU2K4L.js → chunk-S6AOKANU.js} +3 -3
- package/dist/{chunk-PK4E5P4Q.js → chunk-SGSLTG65.js} +3 -3
- package/dist/{chunk-3TKO2L4T.js → chunk-SKXCT2FQ.js} +2 -2
- package/dist/{chunk-QSVZXM35.js → chunk-SRHSJOES.js} +1 -1
- package/dist/{chunk-MO5PIHUX.js → chunk-TM2NGRD2.js} +1 -1
- package/dist/{chunk-POTDIFIX.js → chunk-TM3C4LEG.js} +2 -2
- package/dist/{chunk-LWYMD7X4.js → chunk-TVLELY54.js} +5 -5
- package/dist/{chunk-AHIR5UAO.js → chunk-UBYBILLK.js} +2 -2
- package/dist/{chunk-3BMKXP5E.js → chunk-UNULJ3P6.js} +5 -5
- package/dist/{chunk-VENBTZHV.js → chunk-UVGBD7XM.js} +2 -2
- package/dist/{chunk-WIFHFWAN.js → chunk-VUXU77SU.js} +1 -1
- package/dist/{chunk-UKAPI3BN.js → chunk-VYTN6ASZ.js} +2 -2
- package/dist/{chunk-UA3XC7J6.js → chunk-W3BAJ3HT.js} +11 -11
- package/dist/{chunk-SMDDRU6V.js → chunk-WV5AB4ZB.js} +73 -41
- package/dist/{chunk-CZH4OCQY.js → chunk-XP3BAAUO.js} +2 -2
- package/dist/{chunk-RVT4NV6Z.js → chunk-XUVCOSIE.js} +2 -2
- package/dist/{chunk-KYTOF4WO.js → chunk-XUWFUTR4.js} +1 -1
- package/dist/{chunk-RHHYOFN6.js → chunk-YRYVSAWS.js} +1 -1
- package/dist/{chunk-KBL7GU4S.js → chunk-ZNZAY47J.js} +3 -3
- package/dist/components/Badge.cjs +34 -17
- package/dist/components/Badge.js +80 -80
- package/dist/components/Banner/Banner.cjs +34 -17
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +79 -79
- package/dist/components/Button.cjs +51 -48
- package/dist/components/Button.d.cts +2 -5
- package/dist/components/Button.d.ts +2 -5
- package/dist/components/Button.js +81 -81
- package/dist/components/ButtonRow.cjs +51 -48
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +83 -83
- package/dist/components/CardPage.cjs +30 -13
- package/dist/components/CardPage.js +85 -85
- package/dist/components/Checkbox.js +5 -5
- package/dist/components/CodeBlock.cjs +34 -17
- package/dist/components/CodeBlock.js +68 -68
- package/dist/components/CodeInput/CodeInput.cjs +30 -13
- package/dist/components/CodeInput/CodeInput.js +8 -8
- package/dist/components/CodeInput/SingleCodeInput.cjs +30 -13
- package/dist/components/CodeInput/SingleCodeInput.js +7 -7
- package/dist/components/Collapsible.cjs +34 -17
- package/dist/components/Collapsible.js +65 -65
- package/dist/components/CommaNumberInput.cjs +34 -17
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +71 -71
- package/dist/components/ContentTable.cjs +34 -17
- package/dist/components/ContentTable.js +64 -64
- package/dist/components/CopyToClipboardButton.cjs +34 -17
- package/dist/components/CopyToClipboardButton.js +66 -66
- package/dist/components/CurrencyAmount.cjs +34 -17
- package/dist/components/CurrencyAmount.js +64 -64
- package/dist/components/Drawer.cjs +53 -50
- package/dist/components/Drawer.js +82 -82
- package/dist/components/Dropdown.cjs +34 -17
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +66 -66
- package/dist/components/FileInput.cjs +34 -17
- package/dist/components/FileInput.js +70 -70
- package/dist/components/Flex.cjs +51 -0
- package/dist/components/Flex.d.cts +11 -0
- package/dist/components/Flex.d.ts +11 -0
- package/dist/components/Flex.js +7 -0
- package/dist/components/GradientCardHeader.js +7 -7
- package/dist/components/Icon/Icon.cjs +34 -17
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +63 -63
- package/dist/components/IconWithCircleBackground.cjs +7733 -0
- package/dist/components/IconWithCircleBackground.d.cts +8 -0
- package/dist/components/IconWithCircleBackground.d.ts +8 -0
- package/dist/components/IconWithCircleBackground.js +198 -0
- package/dist/components/InfoIconTooltip.cjs +34 -17
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +80 -80
- package/dist/components/LightsparkProvider.cjs +30 -13
- package/dist/components/LightsparkProvider.js +6 -6
- package/dist/components/Loading.cjs +34 -17
- package/dist/components/Loading.js +64 -64
- package/dist/components/Modal.cjs +126 -87
- package/dist/components/Modal.d.cts +6 -3
- package/dist/components/Modal.d.ts +6 -3
- package/dist/components/Modal.js +129 -86
- package/dist/components/PageSection/PageSection.cjs +34 -17
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +90 -90
- package/dist/components/PageSection/PageSectionNav.cjs +34 -17
- package/dist/components/PageSection/PageSectionNav.js +81 -81
- package/dist/components/PhoneInput.cjs +34 -17
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +71 -71
- package/dist/components/Pill.cjs +34 -17
- package/dist/components/Pill.js +67 -67
- package/dist/components/ProgressBar.cjs +30 -13
- package/dist/components/ProgressBar.js +5 -5
- package/dist/components/Radio.cjs +34 -17
- package/dist/components/Radio.js +80 -80
- package/dist/components/SecretContainer.cjs +34 -17
- package/dist/components/SecretContainer.js +67 -67
- package/dist/components/StatusIndicator.js +6 -6
- package/dist/components/TextButton.cjs +34 -17
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +80 -80
- package/dist/components/TextIconAligner.cjs +34 -17
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +78 -78
- package/dist/components/TextInput.cjs +34 -17
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +70 -70
- package/dist/components/Toasts.cjs +34 -17
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +81 -81
- package/dist/components/Toggle.cjs +30 -13
- package/dist/components/Toggle.js +6 -6
- package/dist/components/Tooltip.cjs +30 -13
- package/dist/components/Tooltip.js +5 -5
- package/dist/components/UnstyledButton.js +5 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +34 -17
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +69 -69
- package/dist/components/documentation/DocsBodyParagraph.cjs +30 -13
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +67 -67
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +30 -13
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +67 -67
- package/dist/components/documentation/DocsHeadline.cjs +30 -13
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +68 -68
- package/dist/components/documentation/Video.js +4 -4
- package/dist/components/documentation/index.cjs +34 -17
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +69 -69
- package/dist/components/index.cjs +243 -202
- package/dist/components/index.d.cts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +138 -132
- package/dist/components/typography/Article.cjs +30 -13
- package/dist/components/typography/Article.js +74 -74
- package/dist/components/typography/Body.cjs +34 -17
- package/dist/components/typography/Body.d.cts +1 -1
- package/dist/components/typography/Body.d.ts +1 -1
- package/dist/components/typography/Body.js +67 -67
- package/dist/components/typography/BodyStrong.cjs +34 -17
- package/dist/components/typography/BodyStrong.d.cts +1 -1
- package/dist/components/typography/BodyStrong.d.ts +1 -1
- package/dist/components/typography/BodyStrong.js +67 -67
- package/dist/components/typography/Code.cjs +34 -17
- package/dist/components/typography/Code.d.cts +1 -1
- package/dist/components/typography/Code.d.ts +1 -1
- package/dist/components/typography/Code.js +67 -67
- package/dist/components/typography/Display.cjs +34 -17
- package/dist/components/typography/Display.d.cts +1 -1
- package/dist/components/typography/Display.d.ts +1 -1
- package/dist/components/typography/Display.js +67 -67
- package/dist/components/typography/Headline.cjs +34 -17
- package/dist/components/typography/Headline.d.cts +1 -1
- package/dist/components/typography/Headline.d.ts +1 -1
- package/dist/components/typography/Headline.js +67 -67
- package/dist/components/typography/Label.cjs +34 -17
- package/dist/components/typography/Label.d.cts +1 -1
- package/dist/components/typography/Label.d.ts +1 -1
- package/dist/components/typography/Label.js +67 -67
- package/dist/components/typography/LabelModerate.cjs +34 -17
- package/dist/components/typography/LabelModerate.d.cts +1 -1
- package/dist/components/typography/LabelModerate.d.ts +1 -1
- package/dist/components/typography/LabelModerate.js +67 -67
- package/dist/components/typography/LabelStrong.cjs +34 -17
- package/dist/components/typography/LabelStrong.d.cts +1 -1
- package/dist/components/typography/LabelStrong.d.ts +1 -1
- package/dist/components/typography/LabelStrong.js +67 -67
- package/dist/components/typography/Overline.cjs +34 -17
- package/dist/components/typography/Overline.d.cts +1 -1
- package/dist/components/typography/Overline.d.ts +1 -1
- package/dist/components/typography/Overline.js +67 -67
- package/dist/components/typography/Title.cjs +34 -17
- package/dist/components/typography/Title.d.cts +1 -1
- package/dist/components/typography/Title.d.ts +1 -1
- package/dist/components/typography/Title.js +67 -67
- package/dist/components/typography/index.cjs +34 -17
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +86 -86
- package/dist/components/typography/renderTypography.cjs +34 -17
- package/dist/components/typography/renderTypography.d.cts +1 -1
- package/dist/components/typography/renderTypography.d.ts +1 -1
- package/dist/components/typography/renderTypography.js +77 -77
- package/dist/hooks/useDocumentTitle.cjs +56 -0
- package/dist/hooks/useDocumentTitle.d.cts +3 -0
- package/dist/hooks/useDocumentTitle.d.ts +3 -0
- package/dist/hooks/useDocumentTitle.js +20 -0
- package/dist/hooks/useIsomorphicLayoutEffect.cjs +41 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.cts +5 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +5 -0
- package/dist/hooks/useIsomorphicLayoutEffect.js +7 -0
- package/dist/icons/ArrowUpRightCircleFill.cjs +2 -2
- package/dist/icons/ArrowUpRightCircleFill.js +1 -1
- package/dist/icons/Figma.cjs +2 -2
- package/dist/icons/Figma.js +1 -1
- package/dist/icons/index.cjs +4 -4
- package/dist/icons/index.js +121 -121
- package/dist/router.js +2 -2
- package/dist/styles/buttons.cjs +17 -2
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/buttons.js +1 -1
- package/dist/styles/colors.cjs +1 -1
- package/dist/styles/colors.d.cts +1 -1
- package/dist/styles/colors.d.ts +1 -1
- package/dist/styles/colors.js +1 -1
- package/dist/styles/common.cjs +30 -13
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +4 -4
- package/dist/styles/fields.cjs +30 -13
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +6 -6
- package/dist/styles/global.cjs +30 -13
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +5 -5
- package/dist/styles/themes.cjs +30 -13
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +3 -3
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +6 -6
- package/dist/styles/typography.cjs +30 -13
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +4 -4
- package/dist/styles/utils.js +5 -5
- package/dist/utils/toNonTypographicReactNodes.cjs +34 -17
- package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.js +65 -65
- package/dist/utils/toReactNodes.cjs +34 -17
- package/dist/utils/toReactNodes.d.cts +1 -1
- package/dist/utils/toReactNodes.d.ts +1 -1
- package/dist/utils/toReactNodes.js +78 -78
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
themeOr
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A4JZESAS.js";
|
|
4
4
|
import {
|
|
5
5
|
bp
|
|
6
6
|
} from "./chunk-JSGRNWSB.js";
|
|
7
7
|
import {
|
|
8
8
|
colors,
|
|
9
9
|
darkGradient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XUWFUTR4.js";
|
|
11
11
|
|
|
12
12
|
// src/styles/common.tsx
|
|
13
13
|
import { css } from "@emotion/react";
|
|
@@ -12,8 +12,8 @@ function Figma() {
|
|
|
12
12
|
children: /* @__PURE__ */ jsx(
|
|
13
13
|
"path",
|
|
14
14
|
{
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
clipRule: "evenodd",
|
|
17
17
|
d: "M8.01074 9.04831C8.01074 5.43178 10.9425 2.5 14.5591 2.5L25.7952 2.5C29.4118 2.5 32.3435 5.43178 32.3435 9.04831C32.3435 11.3383 31.1681 13.3537 29.3876 14.5242C31.1681 15.6947 32.3435 17.7102 32.3435 20.0001C32.3435 23.6167 29.4118 26.5485 25.7952 26.5485H25.653C23.9575 26.5485 22.4126 25.9041 21.2496 24.847V30.8806C21.2496 34.5453 18.2412 37.5 14.5944 37.5C10.9868 37.5 8.01074 34.5772 8.01074 30.9517C8.01074 28.6617 9.18619 26.6463 10.9666 25.476C9.18618 24.3055 8.01074 22.2901 8.01074 20.0001C8.01074 17.7102 9.1862 15.6947 10.9667 14.5242C9.18621 13.3537 8.01074 11.3383 8.01074 9.04831ZM14.5591 13.4517C12.1272 13.4517 10.1557 11.4802 10.1557 9.04831C10.1557 6.61641 12.1272 4.64497 14.5591 4.64497L19.1047 4.64497V13.4517H14.5591ZM19.1047 15.5966H14.5591C12.1272 15.5966 10.1557 17.5682 10.1557 20.0001C10.1557 22.4321 12.1272 24.4035 14.5591 24.4035H19.1047V15.5966ZM19.1047 26.5485H14.5591C12.1271 26.5485 10.1557 28.5198 10.1557 30.9517C10.1557 33.3746 12.1535 35.355 14.5944 35.355C17.0746 35.355 19.1047 33.3428 19.1047 30.8806V26.5485ZM25.7952 15.5966L25.653 15.5968C23.2211 15.5968 21.2496 17.5682 21.2496 20.0001C21.2496 22.4321 23.2211 24.4035 25.653 24.4035H25.7952C28.2271 24.4035 30.1986 22.4321 30.1986 20.0001C30.1986 17.5682 28.227 15.5967 25.7952 15.5966C25.7953 15.5966 25.7952 15.5966 25.7952 15.5966ZM25.7952 14.5242V13.4517H21.2496V4.64497H25.7952C28.2271 4.64497 30.1986 6.61641 30.1986 9.04831C30.1986 11.4802 28.2271 13.4517 25.7952 13.4517",
|
|
18
18
|
fill: "black"
|
|
19
19
|
}
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
buttonsThemeBase,
|
|
9
9
|
defaultButtonsTheme
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FO7I4E45.js";
|
|
11
11
|
import {
|
|
12
12
|
colors,
|
|
13
13
|
darkGradient,
|
|
14
14
|
hcNeutralFromBg,
|
|
15
15
|
isColorKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XUWFUTR4.js";
|
|
17
17
|
import {
|
|
18
18
|
__spreadProps,
|
|
19
19
|
__spreadValues
|
|
@@ -192,28 +192,30 @@ var bridgeBaseSettings = {
|
|
|
192
192
|
code: "Monaco"
|
|
193
193
|
}),
|
|
194
194
|
buttons: merge(buttonsThemeBase, {
|
|
195
|
-
|
|
195
|
+
defaultTypographyType: "Title",
|
|
196
196
|
defaultSize: "Medium",
|
|
197
197
|
defaultBorderRadius: 8,
|
|
198
198
|
defaultBorderWidth: 0,
|
|
199
|
+
defaultPaddingsY: {
|
|
200
|
+
ExtraSmall: 14,
|
|
201
|
+
Small: 14,
|
|
202
|
+
Schmedium: 14,
|
|
203
|
+
Medium: 14,
|
|
204
|
+
Mlarge: 14,
|
|
205
|
+
Large: 14
|
|
206
|
+
},
|
|
199
207
|
kinds: {
|
|
200
208
|
primary: {
|
|
209
|
+
defaultColor: "bg",
|
|
201
210
|
defaultBackgroundColor: "blue39",
|
|
202
211
|
defaultHoverBackgroundColor: "blue37"
|
|
203
212
|
},
|
|
204
213
|
ghost: {
|
|
214
|
+
defaultColor: "secondary",
|
|
205
215
|
defaultBackgroundColor: "transparent",
|
|
206
216
|
defaultBorderWidth: 0,
|
|
207
217
|
defaultHoverBackgroundColor: "transparent",
|
|
208
|
-
defaultHoverBorderColor: "transparent"
|
|
209
|
-
defaultPaddingsY: {
|
|
210
|
-
ExtraSmall: 0,
|
|
211
|
-
Small: 0,
|
|
212
|
-
Schmedium: 0,
|
|
213
|
-
Medium: 0,
|
|
214
|
-
Mlarge: 0,
|
|
215
|
-
Large: 0
|
|
216
|
-
}
|
|
218
|
+
defaultHoverBorderColor: "transparent"
|
|
217
219
|
},
|
|
218
220
|
secondary: {
|
|
219
221
|
defaultBackgroundColor: "transparent",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SGSLTG65.js";
|
|
4
4
|
import {
|
|
5
5
|
standardBorderRadius
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7NPHOJXD.js";
|
|
7
7
|
|
|
8
8
|
// src/components/SecretContainer.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6H7PZJ2A.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VUXU77SU.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Title.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6H7PZJ2A.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VUXU77SU.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/LabelStrong.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EV6PGQPM.js";
|
|
4
4
|
import {
|
|
5
5
|
overflowAutoWithoutScrollbars
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KFX7US6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
standardContentInset
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7NPHOJXD.js";
|
|
10
10
|
import {
|
|
11
11
|
bp
|
|
12
12
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Label
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SKXCT2FQ.js";
|
|
4
4
|
import {
|
|
5
5
|
LabelModerate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-56QJRFP2.js";
|
|
7
7
|
import {
|
|
8
8
|
LabelStrong
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CZCPVHVB.js";
|
|
10
10
|
import {
|
|
11
11
|
Overline
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
Title
|
|
15
|
-
} from "./chunk-HV6SRK57.js";
|
|
12
|
+
} from "./chunk-UBYBILLK.js";
|
|
16
13
|
import {
|
|
17
14
|
Code
|
|
18
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GNVEN6UE.js";
|
|
19
16
|
import {
|
|
20
17
|
Display
|
|
21
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HRZNVE2K.js";
|
|
22
19
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./chunk-
|
|
20
|
+
Title
|
|
21
|
+
} from "./chunk-CMQELZES.js";
|
|
25
22
|
import {
|
|
26
23
|
Body
|
|
27
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TM3C4LEG.js";
|
|
28
25
|
import {
|
|
29
26
|
BodyStrong
|
|
30
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HP4VPMN7.js";
|
|
28
|
+
import {
|
|
29
|
+
Headline
|
|
30
|
+
} from "./chunk-PNSZAJL7.js";
|
|
31
31
|
import {
|
|
32
32
|
__spreadValues
|
|
33
33
|
} from "./chunk-LOPKRCGI.js";
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
} from "./chunk-E3FGOYEJ.js";
|
|
7
7
|
import {
|
|
8
8
|
toReactNodes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UVGBD7XM.js";
|
|
10
10
|
import {
|
|
11
11
|
Link
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AAFUVYVP.js";
|
|
13
13
|
import {
|
|
14
14
|
z
|
|
15
15
|
} from "./chunk-55OQPFLF.js";
|
|
16
16
|
import {
|
|
17
17
|
Icon
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
19
19
|
import {
|
|
20
20
|
getColor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A4JZESAS.js";
|
|
22
22
|
import {
|
|
23
23
|
bp
|
|
24
24
|
} from "./chunk-JSGRNWSB.js";
|
|
25
25
|
import {
|
|
26
26
|
colors
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XUWFUTR4.js";
|
|
28
28
|
|
|
29
29
|
// src/components/Banner/Banner.tsx
|
|
30
30
|
import styled from "@emotion/styled";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DCFB5MJ7.js";
|
|
4
4
|
import {
|
|
5
5
|
Loading
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BMSSV6NX.js";
|
|
7
7
|
import {
|
|
8
8
|
select
|
|
9
9
|
} from "./chunk-YMNSXZ5D.js";
|
|
10
10
|
import {
|
|
11
11
|
Link
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AAFUVYVP.js";
|
|
13
13
|
import {
|
|
14
14
|
applyTypography
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VUXU77SU.js";
|
|
16
16
|
import {
|
|
17
17
|
Tooltip
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-27SFWLPS.js";
|
|
19
19
|
import {
|
|
20
20
|
UnstyledButton
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6JFJDBV2.js";
|
|
22
22
|
import {
|
|
23
23
|
Icon
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
25
25
|
import {
|
|
26
26
|
getFocusOutline
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7NPHOJXD.js";
|
|
28
28
|
import {
|
|
29
29
|
getBackgroundColor,
|
|
30
30
|
isThemeOrColorKey
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-A4JZESAS.js";
|
|
32
32
|
import {
|
|
33
33
|
TokenSize
|
|
34
34
|
} from "./chunk-ENBUKLVT.js";
|
|
@@ -54,22 +54,6 @@ var buttonKinds = [
|
|
|
54
54
|
"blue39",
|
|
55
55
|
"danger"
|
|
56
56
|
];
|
|
57
|
-
function getDefaultTextColor({ kind }) {
|
|
58
|
-
switch (kind) {
|
|
59
|
-
case "blue43":
|
|
60
|
-
case "green33":
|
|
61
|
-
case "purple55":
|
|
62
|
-
case "danger":
|
|
63
|
-
return "white";
|
|
64
|
-
case "blue39":
|
|
65
|
-
return "gray98";
|
|
66
|
-
case "primary": {
|
|
67
|
-
return "bg";
|
|
68
|
-
}
|
|
69
|
-
default:
|
|
70
|
-
return "text";
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
57
|
var roundPaddingsX = {
|
|
74
58
|
[TokenSize.ExtraSmall]: 10,
|
|
75
59
|
[TokenSize.Small]: 10,
|
|
@@ -122,12 +106,14 @@ function resolveProps(props, theme) {
|
|
|
122
106
|
kind = "secondary",
|
|
123
107
|
size: sizeProp,
|
|
124
108
|
paddingY: paddingYType = "regular",
|
|
125
|
-
borderRadius
|
|
109
|
+
borderRadius,
|
|
110
|
+
typography: typographyProp
|
|
126
111
|
} = _a, rest = __objRest(_a, [
|
|
127
112
|
"kind",
|
|
128
113
|
"size",
|
|
129
114
|
"paddingY",
|
|
130
|
-
"borderRadius"
|
|
115
|
+
"borderRadius",
|
|
116
|
+
"typography"
|
|
131
117
|
]);
|
|
132
118
|
const size = resolveProp(sizeProp, kind, "defaultSize", theme);
|
|
133
119
|
const defaultPaddingsY = resolveProp(null, kind, "defaultPaddingsY", theme);
|
|
@@ -153,9 +139,15 @@ function resolveProps(props, theme) {
|
|
|
153
139
|
kind,
|
|
154
140
|
"defaultHoverBorderColor"
|
|
155
141
|
);
|
|
142
|
+
const typography = {
|
|
143
|
+
type: (typographyProp == null ? void 0 : typographyProp.type) || resolveProp(null, kind, "defaultTypographyType", theme),
|
|
144
|
+
color: (typographyProp == null ? void 0 : typographyProp.color) || resolveProp(null, kind, "defaultColor", theme),
|
|
145
|
+
size
|
|
146
|
+
};
|
|
156
147
|
return __spreadProps(__spreadValues({}, rest), {
|
|
157
148
|
kind,
|
|
158
149
|
size,
|
|
150
|
+
typography,
|
|
159
151
|
paddingY: typeof defaultPaddingY === "number" ? defaultPaddingY : defaultPaddingY[paddingYType],
|
|
160
152
|
borderRadius: resolveProp(borderRadius, kind, "defaultBorderRadius", theme),
|
|
161
153
|
backgroundColor,
|
|
@@ -199,12 +191,6 @@ function Button(props) {
|
|
|
199
191
|
borderRadius
|
|
200
192
|
} = resolveProps(props, theme);
|
|
201
193
|
const tooltipId = useRef(uniqueId());
|
|
202
|
-
const fontColor = (typography == null ? void 0 : typography.color) || getDefaultTextColor({ kind, theme });
|
|
203
|
-
const buttonTypography = {
|
|
204
|
-
type: (typography == null ? void 0 : typography.type) || theme.buttons.defaultTypography,
|
|
205
|
-
size,
|
|
206
|
-
color: fontColor
|
|
207
|
-
};
|
|
208
194
|
const iconSize = size === "ExtraSmall" ? 12 : 16;
|
|
209
195
|
let currentIcon = null;
|
|
210
196
|
if (loading) {
|
|
@@ -213,7 +199,7 @@ function Button(props) {
|
|
|
213
199
|
{
|
|
214
200
|
iconSide,
|
|
215
201
|
text,
|
|
216
|
-
typography
|
|
202
|
+
typography,
|
|
217
203
|
kind,
|
|
218
204
|
children: /* @__PURE__ */ jsx(Loading, { size: iconSize, center: false })
|
|
219
205
|
}
|
|
@@ -224,9 +210,9 @@ function Button(props) {
|
|
|
224
210
|
{
|
|
225
211
|
iconSide,
|
|
226
212
|
text,
|
|
227
|
-
typography
|
|
213
|
+
typography,
|
|
228
214
|
kind,
|
|
229
|
-
children: /* @__PURE__ */ jsx(Icon, { name: icon, width: iconSize, color:
|
|
215
|
+
children: /* @__PURE__ */ jsx(Icon, { name: icon, width: iconSize, color: typography.color })
|
|
230
216
|
}
|
|
231
217
|
);
|
|
232
218
|
}
|
|
@@ -249,10 +235,10 @@ function Button(props) {
|
|
|
249
235
|
textOverflow: "ellipsis",
|
|
250
236
|
overflow: "hidden"
|
|
251
237
|
},
|
|
252
|
-
children: renderTypography(
|
|
238
|
+
children: renderTypography(typography.type, {
|
|
253
239
|
content: text,
|
|
254
|
-
color:
|
|
255
|
-
size
|
|
240
|
+
color: typography.color,
|
|
241
|
+
size
|
|
256
242
|
})
|
|
257
243
|
}
|
|
258
244
|
),
|
|
@@ -267,7 +253,7 @@ function Button(props) {
|
|
|
267
253
|
id,
|
|
268
254
|
kind,
|
|
269
255
|
type,
|
|
270
|
-
typography
|
|
256
|
+
typography,
|
|
271
257
|
onClick,
|
|
272
258
|
fullWidth,
|
|
273
259
|
iconSide,
|
|
@@ -15,7 +15,8 @@ var allowedButtonTypographyTypes = [
|
|
|
15
15
|
];
|
|
16
16
|
var buttonsThemeBase = {
|
|
17
17
|
defaultSize: "Small",
|
|
18
|
-
|
|
18
|
+
defaultTypographyType: "Body Strong",
|
|
19
|
+
defaultColor: "text",
|
|
19
20
|
defaultBorderRadius: 32,
|
|
20
21
|
defaultBorderWidth: 1,
|
|
21
22
|
defaultBackgroundColor: "bg",
|
|
@@ -39,6 +40,7 @@ var buttonsThemeBase = {
|
|
|
39
40
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
40
41
|
kinds: {
|
|
41
42
|
primary: {
|
|
43
|
+
defaultColor: "bg",
|
|
42
44
|
defaultBorderWidth: 0,
|
|
43
45
|
defaultBackgroundColor: "c9Neutral",
|
|
44
46
|
defaultBorderColor: "c9Neutral",
|
|
@@ -66,7 +68,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
66
68
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
67
69
|
},
|
|
68
70
|
blue39: {
|
|
69
|
-
defaultBorderColor: "blue39"
|
|
71
|
+
defaultBorderColor: "blue39",
|
|
72
|
+
defaultColor: "gray98"
|
|
73
|
+
},
|
|
74
|
+
blue43: {
|
|
75
|
+
defaultColor: "white"
|
|
76
|
+
},
|
|
77
|
+
green33: {
|
|
78
|
+
defaultColor: "white"
|
|
79
|
+
},
|
|
80
|
+
purple55: {
|
|
81
|
+
defaultColor: "white"
|
|
82
|
+
},
|
|
83
|
+
danger: {
|
|
84
|
+
defaultColor: "white"
|
|
70
85
|
}
|
|
71
86
|
}
|
|
72
87
|
});
|