@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
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-YMNSXZ5D.js";
|
|
4
4
|
import {
|
|
5
5
|
toNonTypographicReactNodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6H7PZJ2A.js";
|
|
7
7
|
import {
|
|
8
8
|
applyTypography
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VUXU77SU.js";
|
|
10
10
|
|
|
11
11
|
// src/components/typography/Headline.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LabelModerate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-56QJRFP2.js";
|
|
4
4
|
import {
|
|
5
5
|
standardBorderRadius
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7NPHOJXD.js";
|
|
7
7
|
import {
|
|
8
8
|
getColor,
|
|
9
9
|
isLight
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A4JZESAS.js";
|
|
11
11
|
|
|
12
12
|
// src/components/Badge.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VUXU77SU.js";
|
|
4
4
|
import {
|
|
5
5
|
z
|
|
6
6
|
} from "./chunk-55OQPFLF.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius,
|
|
9
9
|
subtext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7NPHOJXD.js";
|
|
11
11
|
import {
|
|
12
12
|
themeOr
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A4JZESAS.js";
|
|
14
14
|
|
|
15
15
|
// src/styles/fields.tsx
|
|
16
16
|
import { css } from "@emotion/react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-27SFWLPS.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6JFJDBV2.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
10
10
|
import {
|
|
11
11
|
__async
|
|
12
12
|
} from "./chunk-LOPKRCGI.js";
|
|
@@ -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/Label.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/Body.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Loading
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BMSSV6NX.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6JFJDBV2.js";
|
|
7
7
|
import {
|
|
8
8
|
flexCenter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KFX7US6Y.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XUWFUTR4.js";
|
|
16
16
|
|
|
17
17
|
// src/components/Pill.tsx
|
|
18
18
|
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/Overline.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SGSLTG65.js";
|
|
4
4
|
import {
|
|
5
5
|
overflowAutoWithoutScrollbars
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KFX7US6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7NPHOJXD.js";
|
|
10
10
|
import {
|
|
11
11
|
themeOr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A4JZESAS.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XUWFUTR4.js";
|
|
16
16
|
import {
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DCFB5MJ7.js";
|
|
4
4
|
import {
|
|
5
5
|
isExternalLinkNode,
|
|
6
6
|
isIconNode,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isNextLinkNode,
|
|
9
9
|
isTextNode,
|
|
10
10
|
toNonTypographicReactNodes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6H7PZJ2A.js";
|
|
12
12
|
import {
|
|
13
13
|
__spreadProps,
|
|
14
14
|
__spreadValues
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
rootFontSizeRems,
|
|
6
6
|
standardLineHeightEms
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7NPHOJXD.js";
|
|
8
8
|
import {
|
|
9
9
|
useThemeBg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A4JZESAS.js";
|
|
11
11
|
import {
|
|
12
12
|
bp
|
|
13
13
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -3,46 +3,46 @@ import {
|
|
|
3
3
|
} from "./chunk-JJC2AUQ3.js";
|
|
4
4
|
import {
|
|
5
5
|
TextButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HZ63YB4Y.js";
|
|
7
7
|
import {
|
|
8
8
|
toReactNodes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UVGBD7XM.js";
|
|
10
10
|
import {
|
|
11
11
|
Dropdown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GGEAODIA.js";
|
|
13
13
|
import {
|
|
14
14
|
standardBorderColor
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S6AOKANU.js";
|
|
16
16
|
import {
|
|
17
17
|
Badge,
|
|
18
18
|
badgeVPadding
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RSAYBOK5.js";
|
|
20
20
|
import {
|
|
21
21
|
Heading,
|
|
22
22
|
headingWithDefaults
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5H32AOXL.js";
|
|
24
24
|
import {
|
|
25
25
|
Loading
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BMSSV6NX.js";
|
|
27
27
|
import {
|
|
28
28
|
select
|
|
29
29
|
} from "./chunk-YMNSXZ5D.js";
|
|
30
30
|
import {
|
|
31
31
|
UnstyledButton
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6JFJDBV2.js";
|
|
33
33
|
import {
|
|
34
34
|
Icon
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
36
36
|
import {
|
|
37
37
|
standardBorderRadius,
|
|
38
38
|
standardLineHeightEms
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7NPHOJXD.js";
|
|
40
40
|
import {
|
|
41
41
|
bp
|
|
42
42
|
} from "./chunk-JSGRNWSB.js";
|
|
43
43
|
import {
|
|
44
44
|
colors
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XUWFUTR4.js";
|
|
46
46
|
import {
|
|
47
47
|
__spreadValues
|
|
48
48
|
} from "./chunk-LOPKRCGI.js";
|
|
@@ -3,45 +3,51 @@ import {
|
|
|
3
3
|
} from "./chunk-NBCCPGA4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProgressBar
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XUVCOSIE.js";
|
|
7
|
+
import {
|
|
8
|
+
Flex
|
|
9
|
+
} from "./chunk-IL6J7EBZ.js";
|
|
7
10
|
import {
|
|
8
11
|
toReactNodes
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UVGBD7XM.js";
|
|
10
13
|
import {
|
|
11
14
|
Drawer
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-467PLJO3.js";
|
|
13
16
|
import {
|
|
14
17
|
Button,
|
|
15
18
|
ButtonSelector
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EV6PGQPM.js";
|
|
20
|
+
import {
|
|
21
|
+
Body
|
|
22
|
+
} from "./chunk-TM3C4LEG.js";
|
|
17
23
|
import {
|
|
18
24
|
Headline,
|
|
19
25
|
headlineSelector
|
|
20
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PNSZAJL7.js";
|
|
21
27
|
import {
|
|
22
28
|
select
|
|
23
29
|
} from "./chunk-YMNSXZ5D.js";
|
|
24
30
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./chunk-
|
|
31
|
+
UnstyledButton
|
|
32
|
+
} from "./chunk-6JFJDBV2.js";
|
|
27
33
|
import {
|
|
28
34
|
z
|
|
29
35
|
} from "./chunk-55OQPFLF.js";
|
|
30
|
-
import {
|
|
31
|
-
UnstyledButton
|
|
32
|
-
} from "./chunk-HGYVPOA7.js";
|
|
33
36
|
import {
|
|
34
37
|
overflowAutoWithoutScrollbars
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-KFX7US6Y.js";
|
|
36
39
|
import {
|
|
37
40
|
Icon
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
39
42
|
import {
|
|
40
43
|
overlaySurface,
|
|
41
44
|
standardBorderRadius,
|
|
42
45
|
standardContentInset,
|
|
43
46
|
standardFocusOutline
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-7NPHOJXD.js";
|
|
48
|
+
import {
|
|
49
|
+
getColor
|
|
50
|
+
} from "./chunk-A4JZESAS.js";
|
|
45
51
|
import {
|
|
46
52
|
TokenSize
|
|
47
53
|
} from "./chunk-ENBUKLVT.js";
|
|
@@ -49,17 +55,37 @@ import {
|
|
|
49
55
|
bp,
|
|
50
56
|
useBreakpoints
|
|
51
57
|
} from "./chunk-JSGRNWSB.js";
|
|
58
|
+
import {
|
|
59
|
+
__spreadValues
|
|
60
|
+
} from "./chunk-LOPKRCGI.js";
|
|
52
61
|
|
|
53
62
|
// src/components/Modal.tsx
|
|
54
|
-
import
|
|
63
|
+
import styled2 from "@emotion/styled";
|
|
55
64
|
import React, { Fragment, useEffect, useLayoutEffect, useRef } from "react";
|
|
56
65
|
import ReactDOM from "react-dom";
|
|
57
|
-
|
|
66
|
+
|
|
67
|
+
// src/components/IconWithCircleBackground.tsx
|
|
68
|
+
import styled from "@emotion/styled";
|
|
69
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
70
|
+
function IconWithCircleBackground({
|
|
71
|
+
iconName = "WarningSign"
|
|
72
|
+
}) {
|
|
73
|
+
return /* @__PURE__ */ jsx(Flex, { center: true, children: /* @__PURE__ */ jsx(StyledIconWithCircleBackground, { children: /* @__PURE__ */ jsx(Icon, { name: iconName, width: 40, color: "grayBlue9" }) }) });
|
|
74
|
+
}
|
|
75
|
+
var StyledIconWithCircleBackground = styled.div`
|
|
76
|
+
background-color: ${({ theme }) => getColor(theme, "grayBlue94")};
|
|
77
|
+
border-radius: 50%;
|
|
78
|
+
padding: 20px;
|
|
79
|
+
`;
|
|
80
|
+
|
|
81
|
+
// src/components/Modal.tsx
|
|
82
|
+
import { Fragment as Fragment2, jsx as jsx2, jsxs } from "@emotion/react/jsx-runtime";
|
|
58
83
|
function isSubmitLinkWithHref(submitLink) {
|
|
59
84
|
return Boolean(submitLink && "href" in submitLink);
|
|
60
85
|
}
|
|
61
86
|
function Modal({
|
|
62
87
|
visible,
|
|
88
|
+
topContent,
|
|
63
89
|
title,
|
|
64
90
|
description,
|
|
65
91
|
children,
|
|
@@ -183,7 +209,7 @@ function Modal({
|
|
|
183
209
|
const linkIsRoute = !linkIsHref && submitLink;
|
|
184
210
|
const buttonContent = /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
185
211
|
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((action) => action.content),
|
|
186
|
-
!isSm && !cancelHidden && /* @__PURE__ */
|
|
212
|
+
!isSm && !cancelHidden && /* @__PURE__ */ jsx2(
|
|
187
213
|
Button,
|
|
188
214
|
{
|
|
189
215
|
disabled: cancelDisabled,
|
|
@@ -191,7 +217,7 @@ function Modal({
|
|
|
191
217
|
text: cancelText
|
|
192
218
|
}
|
|
193
219
|
),
|
|
194
|
-
onSubmit && /* @__PURE__ */
|
|
220
|
+
(onSubmit || submitLink) && /* @__PURE__ */ jsx2(
|
|
195
221
|
Button,
|
|
196
222
|
{
|
|
197
223
|
kind: "primary",
|
|
@@ -205,13 +231,13 @@ function Modal({
|
|
|
205
231
|
onClick: submitLink ? onSubmit : void 0
|
|
206
232
|
}
|
|
207
233
|
),
|
|
208
|
-
isSm && !cancelHidden && /* @__PURE__ */
|
|
234
|
+
isSm && !cancelHidden && /* @__PURE__ */ jsx2(Button, { onClick: onClose, text: cancelText }),
|
|
209
235
|
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((action) => action.content)
|
|
210
236
|
] });
|
|
211
237
|
let titleContent = null;
|
|
212
238
|
if (title) {
|
|
213
239
|
if (typeof title === "string") {
|
|
214
|
-
titleContent = /* @__PURE__ */
|
|
240
|
+
titleContent = /* @__PURE__ */ jsx2(Headline, { heading: "h4", size: TokenSize.Small, children: title });
|
|
215
241
|
} else {
|
|
216
242
|
titleContent = toReactNodes(title);
|
|
217
243
|
}
|
|
@@ -219,31 +245,36 @@ function Modal({
|
|
|
219
245
|
let descriptionContent = null;
|
|
220
246
|
if (description) {
|
|
221
247
|
if (typeof description === "string") {
|
|
222
|
-
descriptionContent = /* @__PURE__ */
|
|
248
|
+
descriptionContent = /* @__PURE__ */ jsx2(Description, { children: /* @__PURE__ */ jsx2(Body, { size: "ExtraSmall", content: description }) });
|
|
223
249
|
} else {
|
|
224
|
-
descriptionContent = /* @__PURE__ */
|
|
250
|
+
descriptionContent = /* @__PURE__ */ jsx2(Description, { children: toReactNodes(description) });
|
|
225
251
|
}
|
|
226
252
|
}
|
|
253
|
+
let topContentNode = null;
|
|
254
|
+
if (topContent) {
|
|
255
|
+
topContentNode = /* @__PURE__ */ jsx2("div", { css: { marginBottom: "32px" /* xl */ }, children: /* @__PURE__ */ jsx2(IconWithCircleBackground, __spreadValues({}, topContent)) });
|
|
256
|
+
}
|
|
227
257
|
const modalContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
228
|
-
progressBar ? /* @__PURE__ */
|
|
258
|
+
progressBar ? /* @__PURE__ */ jsx2("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ jsx2(
|
|
229
259
|
ProgressBar,
|
|
230
260
|
{
|
|
231
261
|
progressPercentage: progressBar.progressPercentage,
|
|
232
262
|
isSm: progressBar.isSm
|
|
233
263
|
}
|
|
234
264
|
) }) : null,
|
|
265
|
+
topContentNode,
|
|
235
266
|
titleContent,
|
|
236
267
|
descriptionContent,
|
|
237
268
|
children,
|
|
238
|
-
onSubmit || onCancel ? buttonLayout === "horizontal" ? /* @__PURE__ */
|
|
269
|
+
onSubmit || onCancel || submitLink ? buttonLayout === "horizontal" ? /* @__PURE__ */ jsx2(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ jsx2(ModalButtonColumn, { children: buttonContent }) : null
|
|
239
270
|
] });
|
|
240
271
|
let content;
|
|
241
272
|
if (smDrawer && isSm) {
|
|
242
|
-
content = /* @__PURE__ */
|
|
273
|
+
content = /* @__PURE__ */ jsx2(Drawer, { onClose: () => onClickCloseButton(), closeButton: true, children: modalContent });
|
|
243
274
|
} else {
|
|
244
275
|
content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
245
|
-
/* @__PURE__ */
|
|
246
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ jsx2(ModalOverlay, { ref: overlayRef }),
|
|
277
|
+
/* @__PURE__ */ jsx2(
|
|
247
278
|
ModalContainer,
|
|
248
279
|
{
|
|
249
280
|
"aria-modal": true,
|
|
@@ -252,26 +283,26 @@ function Modal({
|
|
|
252
283
|
role: "dialog",
|
|
253
284
|
ref: modalContainerRef,
|
|
254
285
|
children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, children: [
|
|
255
|
-
!firstFocusRef && /* @__PURE__ */
|
|
256
|
-
!(nonDismissable || ghost) && /* @__PURE__ */
|
|
257
|
-
/* @__PURE__ */
|
|
286
|
+
!firstFocusRef && /* @__PURE__ */ jsx2(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
|
|
287
|
+
!(nonDismissable || ghost) && /* @__PURE__ */ jsx2(CloseButtonContainer, { children: /* @__PURE__ */ jsx2(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx2(Icon, { name: "Close", width: 9 }) }) }),
|
|
288
|
+
/* @__PURE__ */ jsx2(ModalContentInner, { ghost, children: modalContent })
|
|
258
289
|
] })
|
|
259
290
|
}
|
|
260
291
|
)
|
|
261
292
|
] });
|
|
262
293
|
}
|
|
263
294
|
return visible && nodeReady && nodeRef.current ? ReactDOM.createPortal(
|
|
264
|
-
onSubmit ? /* @__PURE__ */
|
|
295
|
+
onSubmit ? /* @__PURE__ */ jsx2("form", { onSubmit: onSubmitForm, children: content }) : content,
|
|
265
296
|
nodeRef.current
|
|
266
297
|
) : null;
|
|
267
298
|
}
|
|
268
|
-
var DefaultFocusTarget =
|
|
299
|
+
var DefaultFocusTarget = styled2(UnstyledButton)`
|
|
269
300
|
position: absolute;
|
|
270
301
|
top: -30px;
|
|
271
302
|
width: 0;
|
|
272
303
|
height: 0;
|
|
273
304
|
`;
|
|
274
|
-
var ModalOverlay =
|
|
305
|
+
var ModalOverlay = styled2.div`
|
|
275
306
|
position: fixed;
|
|
276
307
|
bottom: 0;
|
|
277
308
|
left: 0;
|
|
@@ -280,7 +311,7 @@ var ModalOverlay = styled.div`
|
|
|
280
311
|
height: 100vh;
|
|
281
312
|
background: rgba(0, 0, 0, 0.5);
|
|
282
313
|
`;
|
|
283
|
-
var ModalContainer =
|
|
314
|
+
var ModalContainer = styled2.div`
|
|
284
315
|
pointer-events: none;
|
|
285
316
|
position: fixed;
|
|
286
317
|
top: 0;
|
|
@@ -298,14 +329,14 @@ var ModalContainer = styled.div`
|
|
|
298
329
|
padding-top: ${standardContentInset.smPx}px;
|
|
299
330
|
`;
|
|
300
331
|
var contentTopMarginPx = 24;
|
|
301
|
-
var Description =
|
|
332
|
+
var Description = styled2.div`
|
|
302
333
|
color: ${({ theme }) => theme.mcNeutral};
|
|
303
334
|
margin-top: ${"12px" /* sm */};
|
|
304
335
|
& + * {
|
|
305
336
|
margin-top: ${contentTopMarginPx}px;
|
|
306
337
|
}
|
|
307
338
|
`;
|
|
308
|
-
var ModalButtonRow =
|
|
339
|
+
var ModalButtonRow = styled2.div`
|
|
309
340
|
margin-top: ${"24px" /* lg */};
|
|
310
341
|
${bp.minSm(`display: flex;`)}
|
|
311
342
|
gap: 10px;
|
|
@@ -317,7 +348,7 @@ var ModalButtonRow = styled.div`
|
|
|
317
348
|
`)}
|
|
318
349
|
}
|
|
319
350
|
`;
|
|
320
|
-
var ModalButtonColumn =
|
|
351
|
+
var ModalButtonColumn = styled2.div`
|
|
321
352
|
display: flex;
|
|
322
353
|
flex-direction: column;
|
|
323
354
|
gap: ${"12px" /* sm */};
|
|
@@ -328,7 +359,7 @@ var ModalButtonColumn = styled.div`
|
|
|
328
359
|
|
|
329
360
|
margin-top: ${"24px" /* lg */};
|
|
330
361
|
`;
|
|
331
|
-
var ModalContent =
|
|
362
|
+
var ModalContent = styled2.div`
|
|
332
363
|
${overflowAutoWithoutScrollbars}
|
|
333
364
|
${standardContentInset.smCSS}
|
|
334
365
|
${(props) => props.ghost ? "" : standardBorderRadius(16)}
|
|
@@ -348,18 +379,18 @@ var ModalContent = styled.div`
|
|
|
348
379
|
}
|
|
349
380
|
}
|
|
350
381
|
`;
|
|
351
|
-
var CloseButtonContainer =
|
|
382
|
+
var CloseButtonContainer = styled2.div`
|
|
352
383
|
display: flex;
|
|
353
384
|
flex-direction: row;
|
|
354
385
|
width: 100%;
|
|
355
386
|
justify-content: flex-end;
|
|
356
387
|
`;
|
|
357
|
-
var CloseButton =
|
|
388
|
+
var CloseButton = styled2(UnstyledButton)`
|
|
358
389
|
${standardFocusOutline}
|
|
359
390
|
width: 24px;
|
|
360
391
|
height: 24px;
|
|
361
392
|
`;
|
|
362
|
-
var ModalContentInner =
|
|
393
|
+
var ModalContentInner = styled2.div`
|
|
363
394
|
${(props) => props.ghost ? "" : "padding: 32px 24px 0;"}
|
|
364
395
|
${(props) => props.ghost ? "" : `${bp.sm(`
|
|
365
396
|
padding-left: 10px;
|
|
@@ -368,5 +399,6 @@ var ModalContentInner = styled.div`
|
|
|
368
399
|
`;
|
|
369
400
|
|
|
370
401
|
export {
|
|
371
|
-
Modal
|
|
402
|
+
Modal,
|
|
403
|
+
IconWithCircleBackground
|
|
372
404
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DCFB5MJ7.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
7
7
|
|
|
8
8
|
// src/components/TextIconAligner.tsx
|
|
9
9
|
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
@@ -64,7 +64,7 @@ var colors = baseColors;
|
|
|
64
64
|
function isColorKey(key) {
|
|
65
65
|
return key in colors;
|
|
66
66
|
}
|
|
67
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
67
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
68
68
|
const bgRGB = hexToRGB(bgHex);
|
|
69
69
|
const hcRGB = hexToRGB(defaultHex);
|
|
70
70
|
if (!bgRGB || !hcRGB)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
overflowAutoWithoutScrollbars
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KFX7US6Y.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KBYU4ZQ3.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7NPHOJXD.js";
|
|
10
10
|
|
|
11
11
|
// src/components/Collapsible.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|