@lightsparkdev/ui 1.0.3 → 1.0.5
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 +14 -0
- package/dist/{chunk-54EOEIEN.js → chunk-3DXU76SI.js} +2 -2
- package/dist/{chunk-PQKVR2BR.js → chunk-42D2SXB2.js} +1 -1
- package/dist/{chunk-BSH6WRUZ.js → chunk-45BHB7K7.js} +3 -3
- package/dist/{chunk-35PJW7RT.js → chunk-4EV5IUUJ.js} +2 -2
- package/dist/{chunk-XM2HQVUK.js → chunk-4IHNUHE3.js} +5 -5
- package/dist/{chunk-X4TGLNCH.js → chunk-5JJUXAVA.js} +3 -3
- package/dist/{chunk-ILEZ6AWT.js → chunk-7EAO66LB.js} +5 -5
- package/dist/{chunk-LIQSJ5R7.js → chunk-AKGW3FMJ.js} +21 -13
- package/dist/{chunk-7N2PFDYE.js → chunk-AVV74PTP.js} +2 -2
- package/dist/{chunk-SNFRMD6Z.js → chunk-AXNQ7BDD.js} +4 -4
- package/dist/{chunk-CRTTTIAD.js → chunk-BNHCCR3C.js} +2 -2
- package/dist/{chunk-UH5F35II.js → chunk-BRJKMY6Z.js} +3 -3
- package/dist/{chunk-7WDAN3OC.js → chunk-D4DFISYR.js} +1 -1
- package/dist/chunk-E5DUKMCU.js +65 -0
- package/dist/{chunk-YRNEIRHM.js → chunk-E6ZY35LN.js} +5 -5
- package/dist/{chunk-J3YVJWRG.js → chunk-EHH4M2LZ.js} +5 -5
- package/dist/{chunk-XB4KQFK2.js → chunk-EKU5IWJW.js} +2 -2
- package/dist/chunk-ERNTWEIJ.js +74 -0
- package/dist/{chunk-7IHNYMFQ.js → chunk-FE477HOE.js} +2 -2
- package/dist/{chunk-B6S7Y4K7.js → chunk-GGWFUEDW.js} +2 -2
- package/dist/{chunk-7YY6BH5O.js → chunk-GMEJR5XX.js} +2 -2
- package/dist/{chunk-LOL5TJ3H.js → chunk-GMOJB7PP.js} +16 -16
- package/dist/{chunk-RPNTFEXE.js → chunk-H3UUVMZ3.js} +1 -1
- package/dist/{chunk-WGKUDRZ7.js → chunk-HLZNFEDV.js} +2 -2
- package/dist/{chunk-XDP7GCYE.js → chunk-HNK2KIC7.js} +2 -2
- package/dist/{chunk-BENSR2YW.js → chunk-I3WMJNCP.js} +1 -1
- package/dist/{chunk-BDZ46Z2I.js → chunk-IH5SIRJL.js} +2 -2
- package/dist/{chunk-YIHC25WB.js → chunk-IIRG6R42.js} +3 -3
- package/dist/{chunk-C4KZC45Y.js → chunk-ILCC45G7.js} +54 -71
- package/dist/{chunk-MRGHRTKA.js → chunk-IXAXRBFS.js} +2 -2
- package/dist/{chunk-QQSV7XJX.js → chunk-JZKGVGBU.js} +1 -1
- package/dist/{chunk-XUWFUTR4.js → chunk-KPAVY3UH.js} +3 -1
- package/dist/{chunk-I3FI3FNP.js → chunk-LAGOF7IU.js} +2 -2
- package/dist/{chunk-MWDDIXIP.js → chunk-LH5VFS3E.js} +1 -1
- package/dist/{chunk-2XUHQWCJ.js → chunk-LKJ7QTWL.js} +4 -4
- package/dist/{chunk-N2NPIZCV.js → chunk-M7E2PMFK.js} +9 -9
- package/dist/{chunk-BHP5YL2N.js → chunk-N67Y7GWR.js} +1 -1
- package/dist/{chunk-4BFBANKF.js → chunk-NBIK5O3N.js} +37 -34
- package/dist/{chunk-SLKPLSJU.js → chunk-NK7WH3TK.js} +11 -11
- package/dist/{chunk-KX5QZXCD.js → chunk-NONMMIMQ.js} +1 -1
- package/dist/{chunk-Y7RQUJUS.js → chunk-NWPPTOKK.js} +5 -5
- package/dist/{chunk-4C2TISN7.js → chunk-OPUCWQMK.js} +1 -1
- package/dist/{chunk-GWHKALYQ.js → chunk-PBLWYVQF.js} +2 -2
- package/dist/{chunk-E4DUADXU.js → chunk-PYAKYQWS.js} +1 -1
- package/dist/{chunk-DXA3WUSX.js → chunk-PZTZ4436.js} +2 -2
- package/dist/{chunk-6CNJ5ZCC.js → chunk-Q76C6FJ5.js} +3 -3
- package/dist/{chunk-JNNJVBHF.js → chunk-QBRCVOJ4.js} +14 -10
- package/dist/{chunk-HGOGF6I7.js → chunk-QEZ7L6YF.js} +1 -1
- package/dist/{chunk-435FPPZK.js → chunk-QFVQ6QPA.js} +2 -2
- package/dist/{chunk-WTMJTGW4.js → chunk-QON4D7N2.js} +2 -2
- package/dist/chunk-QTPYP3IK.js +27 -0
- package/dist/{chunk-LH7GLNMY.js → chunk-QZMD3YHI.js} +1 -1
- package/dist/{chunk-VXKNN4SF.js → chunk-RQLRNKOP.js} +17 -16
- package/dist/{chunk-7FHOKVKJ.js → chunk-RRXB5FQC.js} +7 -7
- package/dist/{chunk-AAFUVYVP.js → chunk-SCIQSZSW.js} +1 -1
- package/dist/{chunk-5TTLUOJ5.js → chunk-SIYZ5PZT.js} +1 -1
- package/dist/{chunk-K7FYXGOI.js → chunk-TMIBU4ME.js} +1 -1
- package/dist/{chunk-LTCJ6LNO.js → chunk-TN5UPDZG.js} +1 -1
- package/dist/{chunk-IBZBPQMZ.js → chunk-UAUAYQ3C.js} +14 -5
- package/dist/{chunk-LGKXPUSI.js → chunk-VF5KSAZG.js} +3 -3
- package/dist/{chunk-GSKTHUQJ.js → chunk-XLKL3DNK.js} +2 -2
- package/dist/{chunk-OKXC33OU.js → chunk-XQIQOMNE.js} +5 -2
- package/dist/{chunk-PG2W2HVB.js → chunk-YG5BANJH.js} +2 -2
- package/dist/{chunk-4JHXRPRB.js → chunk-YXAKRSFW.js} +9 -6
- package/dist/{chunk-2AGBCGOW.js → chunk-ZR2TARGX.js} +2 -2
- package/dist/components/Badge.cjs +7784 -7418
- package/dist/components/Badge.d.cts +146 -7
- package/dist/components/Badge.d.ts +146 -7
- package/dist/components/Badge.js +22 -25
- package/dist/components/Banner/Banner.cjs +53 -27
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +20 -20
- package/dist/components/Button.cjs +39 -25
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +22 -22
- package/dist/components/ButtonRow.cjs +42 -28
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +24 -24
- package/dist/components/CardPage.cjs +16 -5
- package/dist/components/CardPage.js +26 -26
- package/dist/components/Checkbox.cjs +6 -4
- package/dist/components/Checkbox.js +4 -4
- package/dist/components/CodeBlock.cjs +16 -5
- package/dist/components/CodeBlock.js +9 -9
- package/dist/components/CodeInput/CodeInput.cjs +16 -5
- package/dist/components/CodeInput/CodeInput.js +7 -7
- package/dist/components/CodeInput/SingleCodeInput.cjs +16 -5
- package/dist/components/CodeInput/SingleCodeInput.js +6 -6
- package/dist/components/Collapsible.cjs +81 -8
- package/dist/components/Collapsible.js +7 -7
- package/dist/components/CommaNumberInput.cjs +16 -5
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +12 -12
- package/dist/components/ContentTable.cjs +16 -5
- package/dist/components/ContentTable.js +5 -5
- package/dist/components/CopyToClipboardButton.cjs +16 -5
- package/dist/components/CopyToClipboardButton.js +7 -7
- package/dist/components/CurrencyAmount.cjs +16 -5
- package/dist/components/CurrencyAmount.js +5 -5
- package/dist/components/Drawer.cjs +121 -44
- package/dist/components/Drawer.js +24 -24
- package/dist/components/Dropdown.cjs +16 -5
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +7 -7
- package/dist/components/FileInput.cjs +16 -5
- package/dist/components/FileInput.js +11 -11
- package/dist/components/GradientCardHeader.cjs +3 -1
- package/dist/components/GradientCardHeader.js +6 -6
- package/dist/components/Icon/Icon.cjs +16 -5
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +4 -4
- package/dist/components/IconWithCircleBackground.cjs +7349 -7340
- package/dist/components/IconWithCircleBackground.js +5 -74
- package/dist/components/InfoIconTooltip.cjs +56 -30
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +21 -21
- package/dist/components/LightsparkProvider.cjs +16 -5
- package/dist/components/LightsparkProvider.js +5 -5
- package/dist/components/Loading.cjs +16 -5
- package/dist/components/Loading.js +5 -5
- package/dist/components/Modal.cjs +205 -128
- package/dist/components/Modal.d.cts +9 -9
- package/dist/components/Modal.d.ts +9 -9
- package/dist/components/Modal.js +29 -70
- package/dist/components/PageSection/PageSection.cjs +208 -98
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +29 -33
- package/dist/components/PageSection/PageSectionNav.cjs +48 -22
- package/dist/components/PageSection/PageSectionNav.js +22 -22
- package/dist/components/PhoneInput.cjs +16 -5
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +12 -12
- package/dist/components/Pill.cjs +16 -5
- package/dist/components/Pill.js +8 -8
- package/dist/components/ProgressBar.cjs +16 -5
- package/dist/components/ProgressBar.js +4 -4
- package/dist/components/Radio.cjs +7412 -7339
- package/dist/components/Radio.js +10 -24
- package/dist/components/SecretContainer.cjs +16 -5
- package/dist/components/SecretContainer.js +8 -8
- package/dist/components/StatusIndicator.cjs +3 -1
- package/dist/components/StatusIndicator.js +5 -5
- package/dist/components/TextButton.cjs +44 -18
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +21 -21
- package/dist/components/TextIconAligner.cjs +38 -12
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +19 -19
- package/dist/components/TextInput.cjs +16 -5
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +11 -11
- package/dist/components/Toasts.cjs +64 -38
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +22 -22
- package/dist/components/Toggle.cjs +107 -98
- package/dist/components/Toggle.js +5 -5
- package/dist/components/Tooltip.cjs +16 -5
- package/dist/components/Tooltip.js +4 -4
- package/dist/components/UnstyledButton.cjs +3 -1
- package/dist/components/UnstyledButton.js +4 -4
- package/dist/components/documentation/AnchorLinkHeader.cjs +16 -5
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +10 -10
- package/dist/components/documentation/DocsBodyParagraph.cjs +16 -5
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +8 -8
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +16 -5
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +8 -8
- package/dist/components/documentation/DocsHeadline.cjs +16 -5
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +9 -9
- package/dist/components/documentation/Video.cjs +3 -1
- package/dist/components/documentation/Video.js +3 -3
- package/dist/components/documentation/index.cjs +16 -5
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +10 -10
- package/dist/components/index.cjs +8343 -8176
- package/dist/components/index.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +71 -72
- package/dist/components/typography/Article.cjs +103 -30
- package/dist/components/typography/Article.js +16 -16
- package/dist/components/typography/Body.cjs +16 -5
- package/dist/components/typography/Body.d.cts +2 -2
- package/dist/components/typography/Body.d.ts +2 -2
- package/dist/components/typography/Body.js +8 -8
- package/dist/components/typography/BodyStrong.cjs +16 -5
- package/dist/components/typography/BodyStrong.d.cts +2 -2
- package/dist/components/typography/BodyStrong.d.ts +2 -2
- package/dist/components/typography/BodyStrong.js +8 -8
- package/dist/components/typography/Code.cjs +16 -5
- package/dist/components/typography/Code.d.cts +2 -2
- package/dist/components/typography/Code.d.ts +2 -2
- package/dist/components/typography/Code.js +8 -8
- package/dist/components/typography/Display.cjs +16 -5
- package/dist/components/typography/Display.d.cts +2 -2
- package/dist/components/typography/Display.d.ts +2 -2
- package/dist/components/typography/Display.js +8 -8
- package/dist/components/typography/Headline.cjs +16 -5
- package/dist/components/typography/Headline.d.cts +2 -2
- package/dist/components/typography/Headline.d.ts +2 -2
- package/dist/components/typography/Headline.js +8 -8
- package/dist/components/typography/Label.cjs +16 -5
- package/dist/components/typography/Label.d.cts +2 -2
- package/dist/components/typography/Label.d.ts +2 -2
- package/dist/components/typography/Label.js +8 -8
- package/dist/components/typography/LabelModerate.cjs +16 -5
- package/dist/components/typography/LabelModerate.d.cts +2 -2
- package/dist/components/typography/LabelModerate.d.ts +2 -2
- package/dist/components/typography/LabelModerate.js +8 -8
- package/dist/components/typography/LabelStrong.cjs +16 -5
- package/dist/components/typography/LabelStrong.d.cts +2 -2
- package/dist/components/typography/LabelStrong.d.ts +2 -2
- package/dist/components/typography/LabelStrong.js +8 -8
- package/dist/components/typography/Overline.cjs +16 -5
- package/dist/components/typography/Overline.d.cts +2 -2
- package/dist/components/typography/Overline.d.ts +2 -2
- package/dist/components/typography/Overline.js +8 -8
- package/dist/components/typography/Title.cjs +16 -5
- package/dist/components/typography/Title.d.cts +3 -3
- package/dist/components/typography/Title.d.ts +3 -3
- package/dist/components/typography/Title.js +8 -8
- package/dist/components/typography/index.cjs +103 -30
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +24 -25
- package/dist/components/typography/renderTypography.cjs +32 -8
- package/dist/components/typography/renderTypography.d.cts +20 -20
- package/dist/components/typography/renderTypography.d.ts +20 -20
- package/dist/components/typography/renderTypography.js +18 -18
- package/dist/router.cjs +3 -1
- package/dist/router.js +2 -2
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/colors.cjs +3 -1
- package/dist/styles/colors.d.cts +3 -1
- package/dist/styles/colors.d.ts +3 -1
- package/dist/styles/colors.js +1 -1
- package/dist/styles/common.cjs +16 -5
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +3 -3
- package/dist/styles/fields.cjs +16 -5
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +5 -5
- package/dist/styles/global.cjs +16 -5
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +4 -4
- package/dist/styles/themes.cjs +16 -5
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +2 -2
- package/dist/styles/tokens/spacing.cjs +60 -21
- package/dist/styles/tokens/spacing.d.cts +40 -20
- package/dist/styles/tokens/spacing.d.ts +40 -20
- package/dist/styles/tokens/spacing.js +1 -1
- package/dist/styles/type.cjs +3 -1
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +5 -5
- package/dist/styles/typography.cjs +16 -5
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +3 -3
- package/dist/styles/utils.cjs +3 -1
- package/dist/styles/utils.js +4 -4
- package/dist/{buttons-36cdd0fe.d.ts → themes-37e92940.d.ts} +91 -74
- package/dist/{buttons-35280bfe.d.ts → themes-832e46b2.d.ts} +91 -74
- package/dist/utils/toNonTypographicReactNodes.cjs +16 -5
- package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.js +6 -6
- package/dist/utils/toReactNodes.cjs +57 -22
- package/dist/utils/toReactNodes.d.cts +13 -9
- package/dist/utils/toReactNodes.d.ts +13 -9
- package/dist/utils/toReactNodes.js +21 -19
- package/package.json +2 -2
- package/dist/chunk-3XSQV5U4.js +0 -26
- package/dist/chunk-B2VYAIYR.js +0 -0
- package/dist/chunk-SEZEDINC.js +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @lightsparkdev/ui
|
|
2
2
|
|
|
3
|
+
## 1.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c17a851: - Update colors
|
|
8
|
+
- Updated dependencies [c17a851]
|
|
9
|
+
- @lightsparkdev/core@1.2.0
|
|
10
|
+
|
|
11
|
+
## 1.0.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 1028e1c: Adds numbers to Spacing in addition to px values, setDefaultReactNodesTypography
|
|
16
|
+
|
|
3
17
|
## 1.0.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EHH4M2LZ.js";
|
|
4
4
|
import {
|
|
5
5
|
InputSubtext,
|
|
6
6
|
inputBlockStyle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q76C6FJ5.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LAGOF7IU.js";
|
|
11
11
|
|
|
12
12
|
// src/components/FileInput.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HNK2KIC7.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OPUCWQMK.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Title.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
} from "./chunk-VQVEZVAG.js";
|
|
4
4
|
import {
|
|
5
5
|
Link
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SCIQSZSW.js";
|
|
7
7
|
import {
|
|
8
8
|
UnstyledButton
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TN5UPDZG.js";
|
|
10
10
|
import {
|
|
11
11
|
z
|
|
12
12
|
} from "./chunk-55OQPFLF.js";
|
|
13
13
|
import {
|
|
14
14
|
Icon
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LAGOF7IU.js";
|
|
16
16
|
import {
|
|
17
17
|
overlaySurface,
|
|
18
18
|
standardBorderRadius,
|
|
19
19
|
standardFocusOutline
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YG5BANJH.js";
|
|
21
21
|
import {
|
|
22
22
|
themeOr
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UAUAYQ3C.js";
|
|
24
24
|
import {
|
|
25
25
|
bp
|
|
26
26
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H3UUVMZ3.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TN5UPDZG.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LAGOF7IU.js";
|
|
10
10
|
import {
|
|
11
11
|
__async
|
|
12
12
|
} 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-AKGW3FMJ.js";
|
|
10
10
|
import {
|
|
11
11
|
Link
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SCIQSZSW.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-LAGOF7IU.js";
|
|
19
19
|
import {
|
|
20
20
|
getColor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UAUAYQ3C.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-KPAVY3UH.js";
|
|
28
28
|
|
|
29
29
|
// src/components/Banner/Banner.tsx
|
|
30
30
|
import styled from "@emotion/styled";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RQLRNKOP.js";
|
|
4
4
|
import {
|
|
5
5
|
isExternalLinkNode,
|
|
6
6
|
isIconNode,
|
|
@@ -8,13 +8,14 @@ import {
|
|
|
8
8
|
isNextLinkNode,
|
|
9
9
|
isTextNode,
|
|
10
10
|
toNonTypographicReactNodes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HNK2KIC7.js";
|
|
12
12
|
import {
|
|
13
13
|
__spreadProps,
|
|
14
14
|
__spreadValues
|
|
15
15
|
} from "./chunk-LOPKRCGI.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/toReactNodes.tsx
|
|
18
|
+
import { isObject } from "lodash-es";
|
|
18
19
|
import { Fragment } from "react";
|
|
19
20
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
20
21
|
function toReactNodes(toReactNodesArg) {
|
|
@@ -23,12 +24,11 @@ function toReactNodes(toReactNodesArg) {
|
|
|
23
24
|
let content;
|
|
24
25
|
if (!node) {
|
|
25
26
|
return null;
|
|
26
|
-
} else if (typeof node !== "string" && "typography" in node && node.typography.type
|
|
27
|
+
} else if (typeof node !== "string" && "typography" in node && node.typography.type) {
|
|
28
|
+
const props = node.typography.props || {};
|
|
27
29
|
content = /* @__PURE__ */ jsx(Fragment, { children: renderTypography(
|
|
28
30
|
node.typography.type,
|
|
29
|
-
Object.assign(
|
|
30
|
-
content: node
|
|
31
|
-
})
|
|
31
|
+
Object.assign(props, { content: node })
|
|
32
32
|
) }, `typography-${i}-${node.text.substr(0, 10)}`);
|
|
33
33
|
} else {
|
|
34
34
|
content = toNonTypographicReactNodes(node);
|
|
@@ -37,7 +37,7 @@ function toReactNodes(toReactNodesArg) {
|
|
|
37
37
|
});
|
|
38
38
|
return /* @__PURE__ */ jsx(Fragment, { children: reactNodes });
|
|
39
39
|
}
|
|
40
|
-
function setReactNodesTypography(nodesArg, nodesTypographyMap) {
|
|
40
|
+
function setReactNodesTypography(nodesArg, nodesTypographyMap, replaceExistingTypography = true) {
|
|
41
41
|
const nodes = Array.isArray(nodesArg) ? nodesArg : [nodesArg];
|
|
42
42
|
const nodesWithTypography = nodes.map((node, i) => {
|
|
43
43
|
if (isIconNode(node)) {
|
|
@@ -49,28 +49,32 @@ function setReactNodesTypography(nodesArg, nodesTypographyMap) {
|
|
|
49
49
|
typography: nodesTypographyMap.text
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
} else if (
|
|
52
|
+
} else if (!node) {
|
|
53
|
+
return node;
|
|
54
|
+
}
|
|
55
|
+
const useExistingTypography = !replaceExistingTypography && isObject(node) && "typography" in node ? node.typography : void 0;
|
|
56
|
+
if (isLinkNode(node)) {
|
|
53
57
|
if (nodesTypographyMap.link) {
|
|
54
58
|
return __spreadProps(__spreadValues({}, node), {
|
|
55
|
-
typography: nodesTypographyMap.link
|
|
59
|
+
typography: useExistingTypography || nodesTypographyMap.link
|
|
56
60
|
});
|
|
57
61
|
}
|
|
58
62
|
} else if (isExternalLinkNode(node)) {
|
|
59
63
|
if (nodesTypographyMap.externalLink) {
|
|
60
64
|
return __spreadProps(__spreadValues({}, node), {
|
|
61
|
-
typography: nodesTypographyMap.externalLink
|
|
65
|
+
typography: useExistingTypography || nodesTypographyMap.externalLink
|
|
62
66
|
});
|
|
63
67
|
}
|
|
64
68
|
} else if (isNextLinkNode(node)) {
|
|
65
69
|
if (nodesTypographyMap.nextLink) {
|
|
66
70
|
return __spreadProps(__spreadValues({}, node), {
|
|
67
|
-
typography: nodesTypographyMap.nextLink
|
|
71
|
+
typography: useExistingTypography || nodesTypographyMap.nextLink
|
|
68
72
|
});
|
|
69
73
|
}
|
|
70
74
|
} else if (isTextNode(node)) {
|
|
71
75
|
if (nodesTypographyMap.text) {
|
|
72
76
|
return __spreadProps(__spreadValues({}, node), {
|
|
73
|
-
typography: nodesTypographyMap.text
|
|
77
|
+
typography: useExistingTypography || nodesTypographyMap.text
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
80
|
}
|
|
@@ -89,9 +93,13 @@ function toReactNodesWithTypographyMap(nodesArg, nodesTypographyMap) {
|
|
|
89
93
|
const nodes = toReactNodes(nodesWithTypography);
|
|
90
94
|
return nodes;
|
|
91
95
|
}
|
|
96
|
+
function setDefaultReactNodesTypography(nodesArg, nodesTypographyMap) {
|
|
97
|
+
return setReactNodesTypography(nodesArg, nodesTypographyMap, false);
|
|
98
|
+
}
|
|
92
99
|
|
|
93
100
|
export {
|
|
94
101
|
toReactNodes,
|
|
95
102
|
setReactNodesTypography,
|
|
96
|
-
toReactNodesWithTypographyMap
|
|
103
|
+
toReactNodesWithTypographyMap,
|
|
104
|
+
setDefaultReactNodesTypography
|
|
97
105
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TN5UPDZG.js";
|
|
4
4
|
import {
|
|
5
5
|
standardLineHeightEms
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YG5BANJH.js";
|
|
7
7
|
import {
|
|
8
8
|
themeOr
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UAUAYQ3C.js";
|
|
10
10
|
import {
|
|
11
11
|
colors
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KPAVY3UH.js";
|
|
13
13
|
|
|
14
14
|
// src/components/Toggle.tsx
|
|
15
15
|
import styled from "@emotion/styled";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-YMNSXZ5D.js";
|
|
4
4
|
import {
|
|
5
5
|
toNonTypographicReactNodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HNK2KIC7.js";
|
|
7
7
|
import {
|
|
8
8
|
applyTypography
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OPUCWQMK.js";
|
|
10
10
|
|
|
11
11
|
// src/components/typography/Headline.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AKGW3FMJ.js";
|
|
4
4
|
import {
|
|
5
5
|
Tooltip
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-H3UUVMZ3.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LAGOF7IU.js";
|
|
10
10
|
|
|
11
11
|
// src/components/InfoIconTooltip.tsx
|
|
12
12
|
import { Fragment } from "react";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// src/styles/tokens/spacing.tsx
|
|
2
|
+
var n = {
|
|
3
|
+
"4xs": 2,
|
|
4
|
+
"3xs": 4,
|
|
5
|
+
"2xs": 6,
|
|
6
|
+
xs: 8,
|
|
7
|
+
sm: 12,
|
|
8
|
+
md: 16,
|
|
9
|
+
lg: 24,
|
|
10
|
+
xl: 32,
|
|
11
|
+
"2xl": 40,
|
|
12
|
+
"3xl": 48,
|
|
13
|
+
"4xl": 56,
|
|
14
|
+
"5xl": 64,
|
|
15
|
+
"6xl": 72,
|
|
16
|
+
"7xl": 80,
|
|
17
|
+
"8xl": 96,
|
|
18
|
+
"9xl": 112,
|
|
19
|
+
"10xl": 128,
|
|
20
|
+
"11xl": 160
|
|
21
|
+
};
|
|
22
|
+
var Spacing = {
|
|
23
|
+
"4xs": n["4xs"],
|
|
24
|
+
"3xs": n["3xs"],
|
|
25
|
+
"2xs": n["2xs"],
|
|
26
|
+
xs: n.xs,
|
|
27
|
+
sm: n.sm,
|
|
28
|
+
md: n.md,
|
|
29
|
+
lg: n.lg,
|
|
30
|
+
xl: n.xl,
|
|
31
|
+
"2xl": n["2xl"],
|
|
32
|
+
"3xl": n["3xl"],
|
|
33
|
+
"4xl": n["4xl"],
|
|
34
|
+
"5xl": n["5xl"],
|
|
35
|
+
"6xl": n["6xl"],
|
|
36
|
+
"7xl": n["7xl"],
|
|
37
|
+
"8xl": n["8xl"],
|
|
38
|
+
"9xl": n["9xl"],
|
|
39
|
+
"10xl": n["10xl"],
|
|
40
|
+
"11xl": n["11xl"],
|
|
41
|
+
px: {
|
|
42
|
+
"4xs": `${n["4xs"]}px`,
|
|
43
|
+
"3xs": `${n["3xs"]}px`,
|
|
44
|
+
"2xs": `${n["2xs"]}px`,
|
|
45
|
+
xs: `${n.xs}px`,
|
|
46
|
+
sm: `${n.sm}px`,
|
|
47
|
+
md: `${n.md}px`,
|
|
48
|
+
lg: `${n.lg}px`,
|
|
49
|
+
xl: `${n.xl}px`,
|
|
50
|
+
"2xl": `${n["2xl"]}px`,
|
|
51
|
+
"3xl": `${n["3xl"]}px`,
|
|
52
|
+
"4xl": `${n["4xl"]}px`,
|
|
53
|
+
"5xl": `${n["5xl"]}px`,
|
|
54
|
+
"6xl": `${n["6xl"]}px`,
|
|
55
|
+
"7xl": `${n["7xl"]}px`,
|
|
56
|
+
"8xl": `${n["8xl"]}px`,
|
|
57
|
+
"9xl": `${n["9xl"]}px`,
|
|
58
|
+
"10xl": `${n["10xl"]}px`,
|
|
59
|
+
"11xl": `${n["11xl"]}px`
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export {
|
|
64
|
+
Spacing
|
|
65
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5JJUXAVA.js";
|
|
4
4
|
import {
|
|
5
5
|
overflowAutoWithoutScrollbars
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D4DFISYR.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YG5BANJH.js";
|
|
10
10
|
import {
|
|
11
11
|
themeOr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UAUAYQ3C.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KPAVY3UH.js";
|
|
16
16
|
import {
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Loading
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SIYZ5PZT.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TN5UPDZG.js";
|
|
7
7
|
import {
|
|
8
8
|
flexCenter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D4DFISYR.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LAGOF7IU.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KPAVY3UH.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
|
GlobalStyles
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FE477HOE.js";
|
|
4
4
|
import {
|
|
5
5
|
themes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UAUAYQ3C.js";
|
|
7
7
|
|
|
8
8
|
// src/components/LightsparkProvider.tsx
|
|
9
9
|
import { ThemeProvider } from "@emotion/react";
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import {
|
|
2
|
+
setDefaultReactNodesTypography,
|
|
3
|
+
toReactNodes
|
|
4
|
+
} from "./chunk-AKGW3FMJ.js";
|
|
5
|
+
import {
|
|
6
|
+
Icon
|
|
7
|
+
} from "./chunk-LAGOF7IU.js";
|
|
8
|
+
import {
|
|
9
|
+
standardBorderRadius
|
|
10
|
+
} from "./chunk-YG5BANJH.js";
|
|
11
|
+
import {
|
|
12
|
+
getColor
|
|
13
|
+
} from "./chunk-UAUAYQ3C.js";
|
|
14
|
+
|
|
15
|
+
// src/components/Badge.tsx
|
|
16
|
+
import styled from "@emotion/styled";
|
|
17
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
18
|
+
function Badge({
|
|
19
|
+
content: contentProp,
|
|
20
|
+
kind,
|
|
21
|
+
icon,
|
|
22
|
+
ml = 0,
|
|
23
|
+
mr = 0,
|
|
24
|
+
size = "sm",
|
|
25
|
+
block = false,
|
|
26
|
+
typography: typographyProp
|
|
27
|
+
}) {
|
|
28
|
+
const typography = {
|
|
29
|
+
type: (typographyProp == null ? void 0 : typographyProp.type) || "Label Moderate",
|
|
30
|
+
props: {
|
|
31
|
+
size: (typographyProp == null ? void 0 : typographyProp.size) || "Small",
|
|
32
|
+
color: (typographyProp == null ? void 0 : typographyProp.color) || (kind === "danger" ? "danger" : "text")
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
const typographyMap = {
|
|
36
|
+
link: typography,
|
|
37
|
+
externalLink: typography,
|
|
38
|
+
text: typography,
|
|
39
|
+
nextLink: typography
|
|
40
|
+
};
|
|
41
|
+
let content = setDefaultReactNodesTypography(
|
|
42
|
+
contentProp,
|
|
43
|
+
typographyMap
|
|
44
|
+
);
|
|
45
|
+
content = toReactNodes(content);
|
|
46
|
+
return contentProp ? /* @__PURE__ */ jsxs(StyledBadge, { kind, ml, size, block, children: [
|
|
47
|
+
icon ? /* @__PURE__ */ jsx(Icon, { name: icon.name, width: 20, color: icon.color }) : null,
|
|
48
|
+
/* @__PURE__ */ jsx(BadgeContent, { children: content })
|
|
49
|
+
] }) : null;
|
|
50
|
+
}
|
|
51
|
+
var badgeSmVPadding = 2;
|
|
52
|
+
var badgeSmHPadding = 6;
|
|
53
|
+
var StyledBadge = styled.div`
|
|
54
|
+
${({ size }) => standardBorderRadius(size === "sm" ? 4 : 12)}
|
|
55
|
+
${({ ml }) => ml === 0 ? "" : `margin-left: ${ml}px;`}
|
|
56
|
+
|
|
57
|
+
display: ${({ block }) => block ? "flex" : "inline-flex"};
|
|
58
|
+
gap: ${({ size }) => size === "sm" ? badgeSmHPadding : 12}px;
|
|
59
|
+
align-items: center;
|
|
60
|
+
padding: ${({ size }) => size === "sm" ? `${badgeSmVPadding}px ${badgeSmHPadding}px` : "12px 16px"};
|
|
61
|
+
background-color: ${({ theme, kind }) => {
|
|
62
|
+
if (kind === "danger") {
|
|
63
|
+
return getColor(theme, "red42a10");
|
|
64
|
+
} else {
|
|
65
|
+
return getColor(theme, theme.badge.bg);
|
|
66
|
+
}
|
|
67
|
+
}};
|
|
68
|
+
`;
|
|
69
|
+
var BadgeContent = styled.div``;
|
|
70
|
+
|
|
71
|
+
export {
|
|
72
|
+
Badge,
|
|
73
|
+
badgeSmVPadding
|
|
74
|
+
};
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
rootFontSizeRems,
|
|
6
6
|
standardLineHeightEms
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YG5BANJH.js";
|
|
8
8
|
import {
|
|
9
9
|
useThemeBg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UAUAYQ3C.js";
|
|
11
11
|
import {
|
|
12
12
|
bp
|
|
13
13
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HNK2KIC7.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OPUCWQMK.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
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RQLRNKOP.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LAGOF7IU.js";
|
|
7
7
|
|
|
8
8
|
// src/components/TextIconAligner.tsx
|
|
9
9
|
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
@@ -3,46 +3,46 @@ import {
|
|
|
3
3
|
} from "./chunk-JJC2AUQ3.js";
|
|
4
4
|
import {
|
|
5
5
|
TextButton
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
toReactNodes
|
|
9
|
-
} from "./chunk-LIQSJ5R7.js";
|
|
6
|
+
} from "./chunk-LKJ7QTWL.js";
|
|
10
7
|
import {
|
|
11
8
|
Dropdown
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4IHNUHE3.js";
|
|
13
10
|
import {
|
|
14
11
|
standardBorderColor
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Q76C6FJ5.js";
|
|
16
13
|
import {
|
|
17
14
|
Badge,
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
15
|
+
badgeSmVPadding
|
|
16
|
+
} from "./chunk-ERNTWEIJ.js";
|
|
17
|
+
import {
|
|
18
|
+
toReactNodes
|
|
19
|
+
} from "./chunk-AKGW3FMJ.js";
|
|
20
20
|
import {
|
|
21
21
|
Heading,
|
|
22
22
|
headingWithDefaults
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N67Y7GWR.js";
|
|
24
24
|
import {
|
|
25
25
|
Loading
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SIYZ5PZT.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-TN5UPDZG.js";
|
|
33
33
|
import {
|
|
34
34
|
Icon
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LAGOF7IU.js";
|
|
36
36
|
import {
|
|
37
37
|
standardBorderRadius,
|
|
38
38
|
standardLineHeightEms
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YG5BANJH.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-KPAVY3UH.js";
|
|
46
46
|
import {
|
|
47
47
|
__spreadValues
|
|
48
48
|
} from "./chunk-LOPKRCGI.js";
|
|
@@ -161,7 +161,7 @@ var PageSectionBoxActionRow = ({
|
|
|
161
161
|
title ? /* @__PURE__ */ jsxs("div", { children: [
|
|
162
162
|
/* @__PURE__ */ jsxs(PageSectionBoxTitle, { children: [
|
|
163
163
|
title,
|
|
164
|
-
titleBadge ? /* @__PURE__ */ jsx(Badge, {
|
|
164
|
+
titleBadge ? /* @__PURE__ */ jsx(Badge, { content: titleBadge, ml: 4 }) : null
|
|
165
165
|
] }),
|
|
166
166
|
description ? /* @__PURE__ */ jsx(PageSectionBoxDescription, { children: description }) : null
|
|
167
167
|
] }) : null,
|
|
@@ -283,7 +283,7 @@ var PageSectionBoxTitle = styled.div`
|
|
|
283
283
|
align-items: center;
|
|
284
284
|
font-size: ${({ lg }) => lg ? 14 : 12}px;
|
|
285
285
|
font-weight: 600;
|
|
286
|
-
line-height: ${({ lg }) => standardLineHeightEms * (lg ? 14 : 12) +
|
|
286
|
+
line-height: ${({ lg }) => standardLineHeightEms * (lg ? 14 : 12) + badgeSmVPadding * 2}px;
|
|
287
287
|
`;
|
|
288
288
|
var PageSectionBoxDescription = styled.div`
|
|
289
289
|
color: ${({ theme }) => theme.mcNeutral};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HNK2KIC7.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OPUCWQMK.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Overline.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|