@lightsparkdev/ui 1.0.1 → 1.0.3
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-38b5823f.d.ts → buttons-35280bfe.d.ts} +40 -15
- package/dist/{buttons-a63671c2.d.ts → buttons-36cdd0fe.d.ts} +40 -15
- package/dist/{chunk-IOWK2GBE.js → chunk-2AGBCGOW.js} +2 -2
- package/dist/{chunk-BAQMHUBZ.js → chunk-2IXAUIKR.js} +2 -2
- package/dist/{chunk-YYPRW5VJ.js → chunk-2XUHQWCJ.js} +4 -4
- package/dist/{chunk-HV6SRK57.js → chunk-35PJW7RT.js} +2 -2
- package/dist/{chunk-NHZO42IA.js → chunk-435FPPZK.js} +2 -2
- package/dist/{chunk-ACYYMZQZ.js → chunk-4BFBANKF.js} +13 -13
- package/dist/{chunk-WIFHFWAN.js → chunk-4C2TISN7.js} +1 -1
- package/dist/{chunk-KBL7GU4S.js → chunk-4JHXRPRB.js} +3 -3
- package/dist/{chunk-RVT4NV6Z.js → chunk-54EOEIEN.js} +2 -2
- package/dist/{chunk-54WKLEUU.js → chunk-5TTLUOJ5.js} +1 -1
- package/dist/{chunk-FEJU2K4L.js → chunk-6CNJ5ZCC.js} +4 -4
- package/dist/{chunk-I5PGTS2V.js → chunk-7FHOKVKJ.js} +9 -9
- package/dist/{chunk-UKAPI3BN.js → chunk-7IHNYMFQ.js} +2 -2
- package/dist/{chunk-4CYGTH2J.js → chunk-7N2PFDYE.js} +2 -2
- package/dist/{chunk-JXXIU52B.js → chunk-7WDAN3OC.js} +1 -1
- package/dist/{chunk-GKH3ZH4N.js → chunk-7Y2G2JDF.js} +2 -2
- package/dist/{chunk-CZH4OCQY.js → chunk-7YY6BH5O.js} +2 -2
- package/dist/{chunk-4QVTXKRX.js → chunk-AAFUVYVP.js} +1 -1
- package/dist/chunk-ABSTTY5Q.js +7 -0
- package/dist/{chunk-NMJGBK5W.js → chunk-B6S7Y4K7.js} +2 -2
- package/dist/{chunk-3TKO2L4T.js → chunk-BDZ46Z2I.js} +2 -2
- package/dist/{chunk-E6XGSPA6.js → chunk-BENSR2YW.js} +1 -1
- package/dist/{chunk-BPZ7AV7W.js → chunk-BHP5YL2N.js} +1 -1
- package/dist/{chunk-NEH2HFAW.js → chunk-BSH6WRUZ.js} +3 -3
- package/dist/{chunk-2I6UL3CQ.js → chunk-C4KZC45Y.js} +125 -59
- package/dist/{chunk-4YN25H5H.js → chunk-CRTTTIAD.js} +2 -2
- package/dist/{chunk-TKERS7F6.js → chunk-DXA3WUSX.js} +2 -2
- package/dist/{chunk-SW6GFFIG.js → chunk-E4DUADXU.js} +1 -1
- package/dist/{chunk-GKBQAEH5.js → chunk-FO7I4E45.js} +17 -2
- package/dist/{chunk-MD7VQ24I.js → chunk-FT62PIPN.js} +119 -119
- package/dist/{chunk-FUC2Z5QZ.js → chunk-GSKTHUQJ.js} +2 -2
- package/dist/{chunk-POTDIFIX.js → chunk-GWHKALYQ.js} +2 -2
- package/dist/{chunk-TW4DU3WY.js → chunk-HGOGF6I7.js} +1 -1
- package/dist/{chunk-UAFWDZRG.js → chunk-I3FI3FNP.js} +4 -4
- package/dist/{chunk-ZFDYANKZ.js → chunk-IBZBPQMZ.js} +21 -15
- package/dist/chunk-IL6J7EBZ.js +17 -0
- package/dist/{chunk-VRZRCDI4.js → chunk-ILEZ6AWT.js} +5 -5
- package/dist/{chunk-LWYMD7X4.js → chunk-J3YVJWRG.js} +5 -5
- package/dist/{chunk-HXKKG2VQ.js → chunk-JNNJVBHF.js} +52 -7
- package/dist/{chunk-ZKJS5M5E.js → chunk-K7FYXGOI.js} +1 -1
- package/dist/{chunk-NPY3QVGG.js → chunk-KX5QZXCD.js} +1 -1
- package/dist/{chunk-TSHXYNRZ.js → chunk-LGKXPUSI.js} +3 -3
- package/dist/{chunk-KOD6R7U5.js → chunk-LH7GLNMY.js} +1 -1
- package/dist/{chunk-VENBTZHV.js → chunk-LIQSJ5R7.js} +2 -2
- package/dist/{chunk-UA3XC7J6.js → chunk-LOL5TJ3H.js} +11 -11
- package/dist/{chunk-HGYVPOA7.js → chunk-LTCJ6LNO.js} +1 -1
- package/dist/{chunk-YQP6EWZY.js → chunk-MRGHRTKA.js} +2 -2
- package/dist/{chunk-7TOLLB23.js → chunk-MWDDIXIP.js} +1 -1
- package/dist/{chunk-HE76YUIL.js → chunk-N2NPIZCV.js} +11 -11
- package/dist/{chunk-MO5PIHUX.js → chunk-OKXC33OU.js} +1 -1
- package/dist/{chunk-52POF2W4.js → chunk-PG2W2HVB.js} +6 -6
- package/dist/{chunk-QSVZXM35.js → chunk-PQKVR2BR.js} +1 -1
- package/dist/{chunk-RHHYOFN6.js → chunk-QQSV7XJX.js} +1 -1
- package/dist/{chunk-3A6TEYT3.js → chunk-RPNTFEXE.js} +1 -1
- package/dist/{chunk-CB2PBQ2G.js → chunk-SEZEDINC.js} +3 -3
- package/dist/{chunk-GHIYWOAC.js → chunk-SLKPLSJU.js} +27 -41
- package/dist/{chunk-AXFZE7WZ.js → chunk-SNFRMD6Z.js} +4 -4
- package/dist/{chunk-SBFDPMTS.js → chunk-UH5F35II.js} +3 -3
- package/dist/{chunk-44UNWWP3.js → chunk-VXKNN4SF.js} +13 -13
- package/dist/{chunk-AHIR5UAO.js → chunk-WGKUDRZ7.js} +2 -2
- package/dist/{chunk-MGXWKJDU.js → chunk-WTMJTGW4.js} +2 -2
- package/dist/{chunk-PK4E5P4Q.js → chunk-X4TGLNCH.js} +3 -3
- package/dist/{chunk-QVKXSZ63.js → chunk-XB4KQFK2.js} +2 -2
- package/dist/{chunk-QBJ57KNQ.js → chunk-XDP7GCYE.js} +3 -2
- package/dist/{chunk-5GVDRJLI.js → chunk-XM2HQVUK.js} +7 -7
- package/dist/{chunk-KYTOF4WO.js → chunk-XUWFUTR4.js} +1 -1
- package/dist/{chunk-C7TNFU3D.js → chunk-Y7RQUJUS.js} +5 -5
- package/dist/{chunk-CY3LZRBR.js → chunk-YIHC25WB.js} +3 -3
- package/dist/{chunk-3BMKXP5E.js → chunk-YRNEIRHM.js} +5 -5
- package/dist/components/Badge.cjs +43 -21
- package/dist/components/Badge.js +80 -80
- package/dist/components/Banner/Banner.cjs +43 -21
- 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 +65 -56
- 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 +65 -56
- 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 +37 -16
- package/dist/components/CardPage.js +85 -85
- package/dist/components/Checkbox.js +5 -5
- package/dist/components/CodeBlock.cjs +46 -24
- package/dist/components/CodeBlock.js +68 -68
- package/dist/components/CodeInput/CodeInput.cjs +38 -17
- package/dist/components/CodeInput/CodeInput.js +8 -8
- package/dist/components/CodeInput/SingleCodeInput.cjs +38 -17
- package/dist/components/CodeInput/SingleCodeInput.js +7 -7
- package/dist/components/Collapsible.cjs +42 -21
- package/dist/components/Collapsible.js +65 -65
- package/dist/components/CommaNumberInput.cjs +47 -25
- 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 +42 -21
- package/dist/components/ContentTable.js +64 -64
- package/dist/components/CopyToClipboardButton.cjs +46 -24
- package/dist/components/CopyToClipboardButton.js +66 -66
- package/dist/components/CurrencyAmount.cjs +42 -21
- package/dist/components/CurrencyAmount.js +64 -64
- package/dist/components/Drawer.cjs +236 -191
- package/dist/components/Drawer.d.cts +2 -0
- package/dist/components/Drawer.d.ts +2 -0
- package/dist/components/Drawer.js +82 -82
- package/dist/components/Dropdown.cjs +46 -24
- 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 +42 -21
- 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 +42 -21
- 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 +7737 -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 +47 -24
- 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 +37 -16
- package/dist/components/LightsparkProvider.js +6 -6
- package/dist/components/Loading.cjs +42 -21
- package/dist/components/Loading.js +64 -64
- package/dist/components/Modal.cjs +229 -115
- package/dist/components/Modal.d.cts +18 -9
- package/dist/components/Modal.d.ts +18 -9
- package/dist/components/Modal.js +129 -86
- package/dist/components/PageSection/PageSection.cjs +47 -24
- 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 +43 -21
- package/dist/components/PageSection/PageSectionNav.js +81 -81
- package/dist/components/PhoneInput.cjs +47 -25
- 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 +42 -21
- package/dist/components/Pill.js +67 -67
- package/dist/components/ProgressBar.cjs +37 -16
- package/dist/components/ProgressBar.js +5 -5
- package/dist/components/Radio.cjs +43 -21
- package/dist/components/Radio.js +80 -80
- package/dist/components/SecretContainer.cjs +46 -24
- package/dist/components/SecretContainer.js +67 -67
- package/dist/components/StatusIndicator.js +6 -6
- package/dist/components/TextButton.cjs +43 -21
- 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 +43 -21
- 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 +47 -25
- 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 +43 -21
- 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 +37 -16
- package/dist/components/Toggle.js +6 -6
- package/dist/components/Tooltip.cjs +41 -19
- package/dist/components/Tooltip.js +5 -5
- package/dist/components/UnstyledButton.js +5 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +42 -21
- 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 +37 -16
- 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 +37 -16
- 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 +37 -16
- 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.cjs +16 -0
- package/dist/components/documentation/Video.d.cts +7 -1
- package/dist/components/documentation/Video.d.ts +7 -1
- package/dist/components/documentation/Video.js +20 -4
- package/dist/components/documentation/index.cjs +42 -21
- 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 +347 -231
- 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 +37 -16
- package/dist/components/typography/Article.js +74 -74
- package/dist/components/typography/Body.cjs +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +43 -21
- 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 +41 -19
- package/dist/styles/common.d.cts +3 -2
- package/dist/styles/common.d.ts +3 -2
- package/dist/styles/common.js +4 -4
- package/dist/styles/fields.cjs +38 -17
- 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 +37 -16
- 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 +37 -16
- 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 +37 -16
- 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/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.cjs +43 -21
- package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
- package/dist/utils/toNonTypographicReactNodes.js +65 -65
- package/dist/utils/toReactNodes.cjs +43 -21
- 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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LIQSJ5R7.js";
|
|
4
|
+
import {
|
|
5
|
+
UnstyledButton
|
|
6
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
4
7
|
import {
|
|
5
8
|
z
|
|
6
9
|
} from "./chunk-55OQPFLF.js";
|
|
7
|
-
import {
|
|
8
|
-
UnstyledButton
|
|
9
|
-
} from "./chunk-HGYVPOA7.js";
|
|
10
10
|
import {
|
|
11
11
|
extend,
|
|
12
12
|
flexCenter,
|
|
13
13
|
pxToRems
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7WDAN3OC.js";
|
|
15
15
|
import {
|
|
16
16
|
Icon
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-I3FI3FNP.js";
|
|
18
18
|
import {
|
|
19
19
|
standardContentInset
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PG2W2HVB.js";
|
|
21
21
|
import {
|
|
22
22
|
themeOr
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
24
24
|
import {
|
|
25
25
|
colors
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XUWFUTR4.js";
|
|
27
27
|
import {
|
|
28
28
|
__spreadProps,
|
|
29
29
|
__spreadValues
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
rootFontSizeRems,
|
|
6
6
|
standardLineHeightEms
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PG2W2HVB.js";
|
|
8
8
|
import {
|
|
9
9
|
useThemeBg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
11
11
|
import {
|
|
12
12
|
bp
|
|
13
13
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -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
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VXKNN4SF.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I3FI3FNP.js";
|
|
7
7
|
|
|
8
8
|
// src/components/TextIconAligner.tsx
|
|
9
9
|
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XDP7GCYE.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4C2TISN7.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/LabelModerate.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XDP7GCYE.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4C2TISN7.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Label.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J3YVJWRG.js";
|
|
4
4
|
import {
|
|
5
5
|
InputSubtext,
|
|
6
6
|
inputBlockStyle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6CNJ5ZCC.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I3FI3FNP.js";
|
|
11
11
|
|
|
12
12
|
// src/components/FileInput.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -3,45 +3,51 @@ import {
|
|
|
3
3
|
} from "./chunk-NBCCPGA4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProgressBar
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-54EOEIEN.js";
|
|
7
|
+
import {
|
|
8
|
+
Flex
|
|
9
|
+
} from "./chunk-IL6J7EBZ.js";
|
|
7
10
|
import {
|
|
8
11
|
toReactNodes
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LIQSJ5R7.js";
|
|
10
13
|
import {
|
|
11
14
|
Drawer
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JNNJVBHF.js";
|
|
13
16
|
import {
|
|
14
17
|
Button,
|
|
15
18
|
ButtonSelector
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SLKPLSJU.js";
|
|
20
|
+
import {
|
|
21
|
+
Body
|
|
22
|
+
} from "./chunk-GWHKALYQ.js";
|
|
17
23
|
import {
|
|
18
24
|
Headline,
|
|
19
25
|
headlineSelector
|
|
20
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CRTTTIAD.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-LTCJ6LNO.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-7WDAN3OC.js";
|
|
36
39
|
import {
|
|
37
40
|
Icon
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-I3FI3FNP.js";
|
|
39
42
|
import {
|
|
40
43
|
overlaySurface,
|
|
41
44
|
standardBorderRadius,
|
|
42
45
|
standardContentInset,
|
|
43
46
|
standardFocusOutline
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-PG2W2HVB.js";
|
|
48
|
+
import {
|
|
49
|
+
getColor
|
|
50
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
45
51
|
import {
|
|
46
52
|
TokenSize
|
|
47
53
|
} from "./chunk-ENBUKLVT.js";
|
|
@@ -49,17 +55,38 @@ import {
|
|
|
49
55
|
bp,
|
|
50
56
|
useBreakpoints
|
|
51
57
|
} from "./chunk-JSGRNWSB.js";
|
|
58
|
+
import {
|
|
59
|
+
__objRest,
|
|
60
|
+
__spreadValues
|
|
61
|
+
} from "./chunk-LOPKRCGI.js";
|
|
52
62
|
|
|
53
63
|
// src/components/Modal.tsx
|
|
54
|
-
import
|
|
64
|
+
import styled2 from "@emotion/styled";
|
|
55
65
|
import React, { Fragment, useEffect, useLayoutEffect, useRef } from "react";
|
|
56
66
|
import ReactDOM from "react-dom";
|
|
57
|
-
|
|
67
|
+
|
|
68
|
+
// src/components/IconWithCircleBackground.tsx
|
|
69
|
+
import styled from "@emotion/styled";
|
|
70
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
71
|
+
function IconWithCircleBackground({
|
|
72
|
+
iconName = "WarningSign"
|
|
73
|
+
}) {
|
|
74
|
+
return /* @__PURE__ */ jsx(Flex, { center: true, children: /* @__PURE__ */ jsx(StyledIconWithCircleBackground, { children: /* @__PURE__ */ jsx(Icon, { name: iconName, width: 40, color: "grayBlue9" }) }) });
|
|
75
|
+
}
|
|
76
|
+
var StyledIconWithCircleBackground = styled.div`
|
|
77
|
+
background-color: ${({ theme }) => getColor(theme, "grayBlue94")};
|
|
78
|
+
border-radius: 50%;
|
|
79
|
+
padding: 20px;
|
|
80
|
+
`;
|
|
81
|
+
|
|
82
|
+
// src/components/Modal.tsx
|
|
83
|
+
import { Fragment as Fragment2, jsx as jsx2, jsxs } from "@emotion/react/jsx-runtime";
|
|
58
84
|
function isSubmitLinkWithHref(submitLink) {
|
|
59
85
|
return Boolean(submitLink && "href" in submitLink);
|
|
60
86
|
}
|
|
61
87
|
function Modal({
|
|
62
88
|
visible,
|
|
89
|
+
topContent,
|
|
63
90
|
title,
|
|
64
91
|
description,
|
|
65
92
|
children,
|
|
@@ -75,13 +102,15 @@ function Modal({
|
|
|
75
102
|
submitLink,
|
|
76
103
|
cancelText = "Cancel",
|
|
77
104
|
firstFocusRef,
|
|
78
|
-
|
|
105
|
+
smKind = "default",
|
|
106
|
+
top,
|
|
79
107
|
nonDismissable = false,
|
|
80
108
|
autoFocus = true,
|
|
81
109
|
width = 460,
|
|
82
110
|
progressBar,
|
|
83
111
|
buttonLayout = "horizontal",
|
|
84
|
-
extraActions
|
|
112
|
+
extraActions,
|
|
113
|
+
handleBack
|
|
85
114
|
}) {
|
|
86
115
|
const visibleChangedRef = useRef(false);
|
|
87
116
|
const nodeRef = useRef(null);
|
|
@@ -182,8 +211,11 @@ function Modal({
|
|
|
182
211
|
const linkIsHref = isSubmitLinkWithHref(submitLink);
|
|
183
212
|
const linkIsRoute = !linkIsHref && submitLink;
|
|
184
213
|
const buttonContent = /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
185
|
-
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((
|
|
186
|
-
|
|
214
|
+
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((_a, i) => {
|
|
215
|
+
var _b = _a, { placement, text } = _b, rest = __objRest(_b, ["placement", "text"]);
|
|
216
|
+
return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
|
|
217
|
+
}),
|
|
218
|
+
!isSm && !cancelHidden && /* @__PURE__ */ jsx2(
|
|
187
219
|
Button,
|
|
188
220
|
{
|
|
189
221
|
disabled: cancelDisabled,
|
|
@@ -191,7 +223,7 @@ function Modal({
|
|
|
191
223
|
text: cancelText
|
|
192
224
|
}
|
|
193
225
|
),
|
|
194
|
-
onSubmit && /* @__PURE__ */
|
|
226
|
+
(onSubmit || submitLink) && /* @__PURE__ */ jsx2(
|
|
195
227
|
Button,
|
|
196
228
|
{
|
|
197
229
|
kind: "primary",
|
|
@@ -205,13 +237,16 @@ function Modal({
|
|
|
205
237
|
onClick: submitLink ? onSubmit : void 0
|
|
206
238
|
}
|
|
207
239
|
),
|
|
208
|
-
isSm && !cancelHidden && /* @__PURE__ */
|
|
209
|
-
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((
|
|
240
|
+
isSm && !cancelHidden && /* @__PURE__ */ jsx2(Button, { onClick: onClose, text: cancelText }),
|
|
241
|
+
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((_c, i) => {
|
|
242
|
+
var _d = _c, { placement, text } = _d, rest = __objRest(_d, ["placement", "text"]);
|
|
243
|
+
return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
|
|
244
|
+
})
|
|
210
245
|
] });
|
|
211
246
|
let titleContent = null;
|
|
212
247
|
if (title) {
|
|
213
248
|
if (typeof title === "string") {
|
|
214
|
-
titleContent = /* @__PURE__ */
|
|
249
|
+
titleContent = /* @__PURE__ */ jsx2(Headline, { heading: "h4", size: TokenSize.Small, children: title });
|
|
215
250
|
} else {
|
|
216
251
|
titleContent = toReactNodes(title);
|
|
217
252
|
}
|
|
@@ -219,31 +254,45 @@ function Modal({
|
|
|
219
254
|
let descriptionContent = null;
|
|
220
255
|
if (description) {
|
|
221
256
|
if (typeof description === "string") {
|
|
222
|
-
descriptionContent = /* @__PURE__ */
|
|
257
|
+
descriptionContent = /* @__PURE__ */ jsx2(Description, { children: /* @__PURE__ */ jsx2(Body, { size: "ExtraSmall", content: description }) });
|
|
223
258
|
} else {
|
|
224
|
-
descriptionContent = /* @__PURE__ */
|
|
259
|
+
descriptionContent = /* @__PURE__ */ jsx2(Description, { children: toReactNodes(description) });
|
|
225
260
|
}
|
|
226
261
|
}
|
|
262
|
+
let topContentNode = null;
|
|
263
|
+
if (topContent) {
|
|
264
|
+
topContentNode = /* @__PURE__ */ jsx2("div", { css: { marginBottom: "32px" /* xl */ }, children: /* @__PURE__ */ jsx2(IconWithCircleBackground, __spreadValues({}, topContent)) });
|
|
265
|
+
}
|
|
227
266
|
const modalContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
228
|
-
progressBar ? /* @__PURE__ */
|
|
267
|
+
progressBar ? /* @__PURE__ */ jsx2("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ jsx2(
|
|
229
268
|
ProgressBar,
|
|
230
269
|
{
|
|
231
270
|
progressPercentage: progressBar.progressPercentage,
|
|
232
271
|
isSm: progressBar.isSm
|
|
233
272
|
}
|
|
234
273
|
) }) : null,
|
|
274
|
+
topContentNode,
|
|
235
275
|
titleContent,
|
|
236
276
|
descriptionContent,
|
|
237
277
|
children,
|
|
238
|
-
onSubmit || onCancel ? buttonLayout === "horizontal" ? /* @__PURE__ */
|
|
278
|
+
onSubmit || onCancel || submitLink ? buttonLayout === "horizontal" ? /* @__PURE__ */ jsx2(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ jsx2(ModalButtonColumn, { children: buttonContent }) : null
|
|
239
279
|
] });
|
|
240
280
|
let content;
|
|
241
|
-
if (
|
|
242
|
-
content = /* @__PURE__ */
|
|
281
|
+
if (smKind === "drawer" && isSm) {
|
|
282
|
+
content = /* @__PURE__ */ jsx2(
|
|
283
|
+
Drawer,
|
|
284
|
+
{
|
|
285
|
+
onClose: () => onClickCloseButton(),
|
|
286
|
+
closeButton: true,
|
|
287
|
+
nonDismissable,
|
|
288
|
+
handleBack,
|
|
289
|
+
children: modalContent
|
|
290
|
+
}
|
|
291
|
+
);
|
|
243
292
|
} else {
|
|
244
293
|
content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
245
|
-
/* @__PURE__ */
|
|
246
|
-
/* @__PURE__ */
|
|
294
|
+
!(smKind === "fullscreen" && bp2.isSm()) ? /* @__PURE__ */ jsx2(ModalOverlay, { ref: overlayRef }) : null,
|
|
295
|
+
/* @__PURE__ */ jsx2(
|
|
247
296
|
ModalContainer,
|
|
248
297
|
{
|
|
249
298
|
"aria-modal": true,
|
|
@@ -251,27 +300,31 @@ function Modal({
|
|
|
251
300
|
tabIndex: -1,
|
|
252
301
|
role: "dialog",
|
|
253
302
|
ref: modalContainerRef,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
!
|
|
257
|
-
/* @__PURE__ */
|
|
303
|
+
top: top || (smKind === "default" ? standardContentInset.smPx : 0),
|
|
304
|
+
children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, smKind, children: [
|
|
305
|
+
!firstFocusRef && /* @__PURE__ */ jsx2(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
|
|
306
|
+
!ghost && /* @__PURE__ */ jsxs(ModalNavigation, { children: [
|
|
307
|
+
handleBack && /* @__PURE__ */ jsx2(BackButton, { onClick: handleBack, children: /* @__PURE__ */ jsx2(Icon, { name: "ChevronLeft", width: 16 }) }),
|
|
308
|
+
!nonDismissable && /* @__PURE__ */ jsx2(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx2(Icon, { name: "Close", width: 9 }) })
|
|
309
|
+
] }),
|
|
310
|
+
/* @__PURE__ */ jsx2(ModalContentInner, { ghost, children: modalContent })
|
|
258
311
|
] })
|
|
259
312
|
}
|
|
260
313
|
)
|
|
261
314
|
] });
|
|
262
315
|
}
|
|
263
316
|
return visible && nodeReady && nodeRef.current ? ReactDOM.createPortal(
|
|
264
|
-
onSubmit ? /* @__PURE__ */
|
|
317
|
+
onSubmit ? /* @__PURE__ */ jsx2("form", { onSubmit: onSubmitForm, children: content }) : content,
|
|
265
318
|
nodeRef.current
|
|
266
319
|
) : null;
|
|
267
320
|
}
|
|
268
|
-
var DefaultFocusTarget =
|
|
321
|
+
var DefaultFocusTarget = styled2(UnstyledButton)`
|
|
269
322
|
position: absolute;
|
|
270
323
|
top: -30px;
|
|
271
324
|
width: 0;
|
|
272
325
|
height: 0;
|
|
273
326
|
`;
|
|
274
|
-
var ModalOverlay =
|
|
327
|
+
var ModalOverlay = styled2.div`
|
|
275
328
|
position: fixed;
|
|
276
329
|
bottom: 0;
|
|
277
330
|
left: 0;
|
|
@@ -280,7 +333,7 @@ var ModalOverlay = styled.div`
|
|
|
280
333
|
height: 100vh;
|
|
281
334
|
background: rgba(0, 0, 0, 0.5);
|
|
282
335
|
`;
|
|
283
|
-
var ModalContainer =
|
|
336
|
+
var ModalContainer = styled2.div`
|
|
284
337
|
pointer-events: none;
|
|
285
338
|
position: fixed;
|
|
286
339
|
top: 0;
|
|
@@ -295,17 +348,17 @@ var ModalContainer = styled.div`
|
|
|
295
348
|
justify-content: center;
|
|
296
349
|
align-items: center;
|
|
297
350
|
color: ${({ theme }) => theme.text};
|
|
298
|
-
|
|
351
|
+
${(props) => `top: ${props.top}px;`}
|
|
299
352
|
`;
|
|
300
353
|
var contentTopMarginPx = 24;
|
|
301
|
-
var Description =
|
|
354
|
+
var Description = styled2.div`
|
|
302
355
|
color: ${({ theme }) => theme.mcNeutral};
|
|
303
356
|
margin-top: ${"12px" /* sm */};
|
|
304
357
|
& + * {
|
|
305
358
|
margin-top: ${contentTopMarginPx}px;
|
|
306
359
|
}
|
|
307
360
|
`;
|
|
308
|
-
var ModalButtonRow =
|
|
361
|
+
var ModalButtonRow = styled2.div`
|
|
309
362
|
margin-top: ${"24px" /* lg */};
|
|
310
363
|
${bp.minSm(`display: flex;`)}
|
|
311
364
|
gap: 10px;
|
|
@@ -317,7 +370,7 @@ var ModalButtonRow = styled.div`
|
|
|
317
370
|
`)}
|
|
318
371
|
}
|
|
319
372
|
`;
|
|
320
|
-
var ModalButtonColumn =
|
|
373
|
+
var ModalButtonColumn = styled2.div`
|
|
321
374
|
display: flex;
|
|
322
375
|
flex-direction: column;
|
|
323
376
|
gap: ${"12px" /* sm */};
|
|
@@ -328,17 +381,23 @@ var ModalButtonColumn = styled.div`
|
|
|
328
381
|
|
|
329
382
|
margin-top: ${"24px" /* lg */};
|
|
330
383
|
`;
|
|
331
|
-
var ModalContent =
|
|
332
|
-
${overflowAutoWithoutScrollbars}
|
|
333
|
-
${standardContentInset.smCSS}
|
|
334
|
-
${(props) => props.ghost ? "" : standardBorderRadius(16)}
|
|
335
|
-
${(props) => props.ghost ? "" : overlaySurface}
|
|
384
|
+
var ModalContent = styled2.div`
|
|
336
385
|
pointer-events: auto;
|
|
337
386
|
transition: width 0.25s ease-in;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
387
|
+
|
|
388
|
+
${({ theme, smKind, ghost }) => ghost ? "" : overlaySurface({ theme, border: smKind !== "fullscreen" })}
|
|
389
|
+
${overflowAutoWithoutScrollbars}
|
|
390
|
+
${(props) => props.smKind === "fullscreen" && bp.isSm() ? `
|
|
391
|
+
width: 100%;
|
|
392
|
+
height: 100%;
|
|
393
|
+
` : `
|
|
394
|
+
${props.ghost ? "" : standardBorderRadius(16)}
|
|
395
|
+
${standardContentInset.smCSS.styles}
|
|
396
|
+
width: ${props.width}px;
|
|
397
|
+
max-width: 100%;
|
|
398
|
+
max-height: 100%;
|
|
399
|
+
position: absolute;
|
|
400
|
+
`}
|
|
342
401
|
${(props) => props.ghost ? "" : "padding: 16px 16px 40px;"}
|
|
343
402
|
|
|
344
403
|
${headlineSelector("h4")} { {
|
|
@@ -348,18 +407,24 @@ var ModalContent = styled.div`
|
|
|
348
407
|
}
|
|
349
408
|
}
|
|
350
409
|
`;
|
|
351
|
-
var
|
|
352
|
-
display:
|
|
353
|
-
|
|
410
|
+
var ModalNavigation = styled2.div`
|
|
411
|
+
display: grid;
|
|
412
|
+
grid-auto-flow: column;
|
|
354
413
|
width: 100%;
|
|
355
|
-
justify-content: flex-end;
|
|
356
414
|
`;
|
|
357
|
-
var
|
|
415
|
+
var BackButton = styled2(UnstyledButton)`
|
|
416
|
+
${standardFocusOutline}
|
|
417
|
+
width: 24px;
|
|
418
|
+
height: 24px;
|
|
419
|
+
justify-self: flex-start;
|
|
420
|
+
`;
|
|
421
|
+
var CloseButton = styled2(UnstyledButton)`
|
|
358
422
|
${standardFocusOutline}
|
|
359
423
|
width: 24px;
|
|
360
424
|
height: 24px;
|
|
425
|
+
justify-self: flex-end;
|
|
361
426
|
`;
|
|
362
|
-
var ModalContentInner =
|
|
427
|
+
var ModalContentInner = styled2.div`
|
|
363
428
|
${(props) => props.ghost ? "" : "padding: 32px 24px 0;"}
|
|
364
429
|
${(props) => props.ghost ? "" : `${bp.sm(`
|
|
365
430
|
padding-left: 10px;
|
|
@@ -368,5 +433,6 @@ var ModalContentInner = styled.div`
|
|
|
368
433
|
`;
|
|
369
434
|
|
|
370
435
|
export {
|
|
371
|
-
Modal
|
|
436
|
+
Modal,
|
|
437
|
+
IconWithCircleBackground
|
|
372
438
|
};
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-YMNSXZ5D.js";
|
|
4
4
|
import {
|
|
5
5
|
toNonTypographicReactNodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XDP7GCYE.js";
|
|
7
7
|
import {
|
|
8
8
|
applyTypography
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4C2TISN7.js";
|
|
10
10
|
|
|
11
11
|
// src/components/typography/Headline.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X4TGLNCH.js";
|
|
4
4
|
import {
|
|
5
5
|
standardBorderRadius
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PG2W2HVB.js";
|
|
7
7
|
|
|
8
8
|
// src/components/SecretContainer.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -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
|
});
|