@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @lightsparkdev/ui
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e647962: Updates to Button, CodeInput, Drawer, Icon, Modal, Video
|
|
8
|
+
|
|
9
|
+
## 1.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 5b0016e: - Make default typography themeable for Button
|
|
14
|
+
- 5b0016e: - Add useDocumentTitle effect
|
|
15
|
+
|
|
3
16
|
## 1.0.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -43,6 +43,7 @@ declare const baseThemeColors: {
|
|
|
43
43
|
text: string;
|
|
44
44
|
vlcNeutral: string;
|
|
45
45
|
warning: string;
|
|
46
|
+
inputBackground: string;
|
|
46
47
|
};
|
|
47
48
|
type ThemeColorKey = keyof typeof baseThemeColors;
|
|
48
49
|
declare const themeOrColorKeyValues: readonly string[];
|
|
@@ -1711,7 +1712,8 @@ declare const baseTheme: {
|
|
|
1711
1712
|
kinds: {
|
|
1712
1713
|
[x: string]: Partial<{
|
|
1713
1714
|
defaultSize: TokenSizeKey;
|
|
1714
|
-
|
|
1715
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
1716
|
+
defaultColor: ThemeOrColorKey;
|
|
1715
1717
|
defaultBorderRadius: 8 | 32;
|
|
1716
1718
|
defaultBorderWidth: number;
|
|
1717
1719
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -1731,7 +1733,8 @@ declare const baseTheme: {
|
|
|
1731
1733
|
}>;
|
|
1732
1734
|
};
|
|
1733
1735
|
defaultSize: TokenSizeKey;
|
|
1734
|
-
|
|
1736
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
1737
|
+
defaultColor: ThemeOrColorKey;
|
|
1735
1738
|
defaultBorderRadius: 8 | 32;
|
|
1736
1739
|
defaultBorderWidth: number;
|
|
1737
1740
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -1777,6 +1780,7 @@ declare const baseTheme: {
|
|
|
1777
1780
|
text: string;
|
|
1778
1781
|
vlcNeutral: string;
|
|
1779
1782
|
warning: string;
|
|
1783
|
+
inputBackground: string;
|
|
1780
1784
|
};
|
|
1781
1785
|
type BaseTheme = typeof baseTheme;
|
|
1782
1786
|
type LightsparkSurfaces = {
|
|
@@ -3463,7 +3467,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3463
3467
|
kinds: {
|
|
3464
3468
|
[x: string]: Partial<{
|
|
3465
3469
|
defaultSize: TokenSizeKey;
|
|
3466
|
-
|
|
3470
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
3471
|
+
defaultColor: ThemeOrColorKey;
|
|
3467
3472
|
defaultBorderRadius: 8 | 32;
|
|
3468
3473
|
defaultBorderWidth: number;
|
|
3469
3474
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -3483,7 +3488,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3483
3488
|
}>;
|
|
3484
3489
|
};
|
|
3485
3490
|
defaultSize: TokenSizeKey;
|
|
3486
|
-
|
|
3491
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
3492
|
+
defaultColor: ThemeOrColorKey;
|
|
3487
3493
|
defaultBorderRadius: 8 | 32;
|
|
3488
3494
|
defaultBorderWidth: number;
|
|
3489
3495
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -3529,6 +3535,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3529
3535
|
text: string;
|
|
3530
3536
|
vlcNeutral: string;
|
|
3531
3537
|
warning: string;
|
|
3538
|
+
inputBackground: string;
|
|
3532
3539
|
header: {
|
|
3533
3540
|
type: Themes;
|
|
3534
3541
|
typography: {
|
|
@@ -5192,7 +5199,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5192
5199
|
kinds: {
|
|
5193
5200
|
[x: string]: Partial<{
|
|
5194
5201
|
defaultSize: TokenSizeKey;
|
|
5195
|
-
|
|
5202
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
5203
|
+
defaultColor: ThemeOrColorKey;
|
|
5196
5204
|
defaultBorderRadius: 8 | 32;
|
|
5197
5205
|
defaultBorderWidth: number;
|
|
5198
5206
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -5212,7 +5220,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5212
5220
|
}>;
|
|
5213
5221
|
};
|
|
5214
5222
|
defaultSize: TokenSizeKey;
|
|
5215
|
-
|
|
5223
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
5224
|
+
defaultColor: ThemeOrColorKey;
|
|
5216
5225
|
defaultBorderRadius: 8 | 32;
|
|
5217
5226
|
defaultBorderWidth: number;
|
|
5218
5227
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -5258,6 +5267,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5258
5267
|
text: string;
|
|
5259
5268
|
vlcNeutral: string;
|
|
5260
5269
|
warning: string;
|
|
5270
|
+
inputBackground: string;
|
|
5261
5271
|
};
|
|
5262
5272
|
nav: {
|
|
5263
5273
|
type: Themes;
|
|
@@ -6922,7 +6932,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6922
6932
|
kinds: {
|
|
6923
6933
|
[x: string]: Partial<{
|
|
6924
6934
|
defaultSize: TokenSizeKey;
|
|
6925
|
-
|
|
6935
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
6936
|
+
defaultColor: ThemeOrColorKey;
|
|
6926
6937
|
defaultBorderRadius: 8 | 32;
|
|
6927
6938
|
defaultBorderWidth: number;
|
|
6928
6939
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -6942,7 +6953,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6942
6953
|
}>;
|
|
6943
6954
|
};
|
|
6944
6955
|
defaultSize: TokenSizeKey;
|
|
6945
|
-
|
|
6956
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
6957
|
+
defaultColor: ThemeOrColorKey;
|
|
6946
6958
|
defaultBorderRadius: 8 | 32;
|
|
6947
6959
|
defaultBorderWidth: number;
|
|
6948
6960
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -6988,6 +7000,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6988
7000
|
text: string;
|
|
6989
7001
|
vlcNeutral: string;
|
|
6990
7002
|
warning: string;
|
|
7003
|
+
inputBackground: string;
|
|
6991
7004
|
};
|
|
6992
7005
|
content: {
|
|
6993
7006
|
type: Themes;
|
|
@@ -8652,7 +8665,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8652
8665
|
kinds: {
|
|
8653
8666
|
[x: string]: Partial<{
|
|
8654
8667
|
defaultSize: TokenSizeKey;
|
|
8655
|
-
|
|
8668
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
8669
|
+
defaultColor: ThemeOrColorKey;
|
|
8656
8670
|
defaultBorderRadius: 8 | 32;
|
|
8657
8671
|
defaultBorderWidth: number;
|
|
8658
8672
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -8672,7 +8686,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8672
8686
|
}>;
|
|
8673
8687
|
};
|
|
8674
8688
|
defaultSize: TokenSizeKey;
|
|
8675
|
-
|
|
8689
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
8690
|
+
defaultColor: ThemeOrColorKey;
|
|
8676
8691
|
defaultBorderRadius: 8 | 32;
|
|
8677
8692
|
defaultBorderWidth: number;
|
|
8678
8693
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -8718,6 +8733,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8718
8733
|
text: string;
|
|
8719
8734
|
vlcNeutral: string;
|
|
8720
8735
|
warning: string;
|
|
8736
|
+
inputBackground: string;
|
|
8721
8737
|
};
|
|
8722
8738
|
controls: {
|
|
8723
8739
|
type: Themes;
|
|
@@ -10382,7 +10398,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10382
10398
|
kinds: {
|
|
10383
10399
|
[x: string]: Partial<{
|
|
10384
10400
|
defaultSize: TokenSizeKey;
|
|
10385
|
-
|
|
10401
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10402
|
+
defaultColor: ThemeOrColorKey;
|
|
10386
10403
|
defaultBorderRadius: 8 | 32;
|
|
10387
10404
|
defaultBorderWidth: number;
|
|
10388
10405
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10402,7 +10419,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10402
10419
|
}>;
|
|
10403
10420
|
};
|
|
10404
10421
|
defaultSize: TokenSizeKey;
|
|
10405
|
-
|
|
10422
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10423
|
+
defaultColor: ThemeOrColorKey;
|
|
10406
10424
|
defaultBorderRadius: 8 | 32;
|
|
10407
10425
|
defaultBorderWidth: number;
|
|
10408
10426
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10448,6 +10466,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10448
10466
|
text: string;
|
|
10449
10467
|
vlcNeutral: string;
|
|
10450
10468
|
warning: string;
|
|
10469
|
+
inputBackground: string;
|
|
10451
10470
|
};
|
|
10452
10471
|
};
|
|
10453
10472
|
declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
|
|
@@ -10485,9 +10504,14 @@ declare const buttonBorderRadiuses: readonly [8, 32];
|
|
|
10485
10504
|
type ButtonBorderRadius = (typeof buttonBorderRadiuses)[number];
|
|
10486
10505
|
declare const allowedButtonTypographyTypes: readonly ["Body", "Body Strong", "Title", "Label", "Label Moderate", "Label Strong"];
|
|
10487
10506
|
type AllowedButtonTypographyTypes = (typeof allowedButtonTypographyTypes)[number];
|
|
10507
|
+
type ButtonTypographyArgs = {
|
|
10508
|
+
type?: AllowedButtonTypographyTypes;
|
|
10509
|
+
color?: ThemeOrColorKey;
|
|
10510
|
+
};
|
|
10488
10511
|
declare const buttonsThemeBase: {
|
|
10489
10512
|
defaultSize: TokenSizeKey;
|
|
10490
|
-
|
|
10513
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10514
|
+
defaultColor: ThemeOrColorKey;
|
|
10491
10515
|
defaultBorderRadius: 8 | 32;
|
|
10492
10516
|
defaultBorderWidth: number;
|
|
10493
10517
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10510,7 +10534,8 @@ type ButtonKindsProps = Record<string, Partial<typeof buttonsThemeBase>>;
|
|
|
10510
10534
|
declare const defaultButtonsTheme: {
|
|
10511
10535
|
kinds: ButtonKindsProps;
|
|
10512
10536
|
defaultSize: TokenSizeKey;
|
|
10513
|
-
|
|
10537
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10538
|
+
defaultColor: ThemeOrColorKey;
|
|
10514
10539
|
defaultBorderRadius: 8 | 32;
|
|
10515
10540
|
defaultBorderWidth: number;
|
|
10516
10541
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10528,4 +10553,4 @@ declare const defaultButtonsTheme: {
|
|
|
10528
10553
|
};
|
|
10529
10554
|
};
|
|
10530
10555
|
|
|
10531
|
-
export { AllowedButtonTypographyTypes as A,
|
|
10556
|
+
export { AllowedButtonTypographyTypes as A, ButtonTypographyArgs as B, defaultButtonsTheme as C, FontColorKey as F, LightsparkTheme as L, PaddingYKey as P, SurfaceThemeColorKey as S, ThemeOrColorKey as T, WithTheme as W, ButtonBorderRadius as a, ThemeProp as b, Themes as c, themes as d, isThemeOrColorKey as e, getFontColor as f, getColor as g, BackgroundColorKey as h, isThemeColorKey as i, BackgroundColorKeyArg as j, isBackgroundColorKey as k, isBackgroundColorKeyTuple as l, getBackgroundColor as m, isDark as n, isLight as o, themeOr as p, ifLight as q, ifDark as r, setFonts as s, themeOrColorKeyValues as t, useThemeBg as u, PaddingY as v, buttonBorderRadiuses as w, allowedButtonTypographyTypes as x, buttonsThemeBase as y, ButtonsThemeKey as z };
|
|
@@ -43,6 +43,7 @@ declare const baseThemeColors: {
|
|
|
43
43
|
text: string;
|
|
44
44
|
vlcNeutral: string;
|
|
45
45
|
warning: string;
|
|
46
|
+
inputBackground: string;
|
|
46
47
|
};
|
|
47
48
|
type ThemeColorKey = keyof typeof baseThemeColors;
|
|
48
49
|
declare const themeOrColorKeyValues: readonly string[];
|
|
@@ -1711,7 +1712,8 @@ declare const baseTheme: {
|
|
|
1711
1712
|
kinds: {
|
|
1712
1713
|
[x: string]: Partial<{
|
|
1713
1714
|
defaultSize: TokenSizeKey;
|
|
1714
|
-
|
|
1715
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
1716
|
+
defaultColor: ThemeOrColorKey;
|
|
1715
1717
|
defaultBorderRadius: 8 | 32;
|
|
1716
1718
|
defaultBorderWidth: number;
|
|
1717
1719
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -1731,7 +1733,8 @@ declare const baseTheme: {
|
|
|
1731
1733
|
}>;
|
|
1732
1734
|
};
|
|
1733
1735
|
defaultSize: TokenSizeKey;
|
|
1734
|
-
|
|
1736
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
1737
|
+
defaultColor: ThemeOrColorKey;
|
|
1735
1738
|
defaultBorderRadius: 8 | 32;
|
|
1736
1739
|
defaultBorderWidth: number;
|
|
1737
1740
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -1777,6 +1780,7 @@ declare const baseTheme: {
|
|
|
1777
1780
|
text: string;
|
|
1778
1781
|
vlcNeutral: string;
|
|
1779
1782
|
warning: string;
|
|
1783
|
+
inputBackground: string;
|
|
1780
1784
|
};
|
|
1781
1785
|
type BaseTheme = typeof baseTheme;
|
|
1782
1786
|
type LightsparkSurfaces = {
|
|
@@ -3463,7 +3467,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3463
3467
|
kinds: {
|
|
3464
3468
|
[x: string]: Partial<{
|
|
3465
3469
|
defaultSize: TokenSizeKey;
|
|
3466
|
-
|
|
3470
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
3471
|
+
defaultColor: ThemeOrColorKey;
|
|
3467
3472
|
defaultBorderRadius: 8 | 32;
|
|
3468
3473
|
defaultBorderWidth: number;
|
|
3469
3474
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -3483,7 +3488,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3483
3488
|
}>;
|
|
3484
3489
|
};
|
|
3485
3490
|
defaultSize: TokenSizeKey;
|
|
3486
|
-
|
|
3491
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
3492
|
+
defaultColor: ThemeOrColorKey;
|
|
3487
3493
|
defaultBorderRadius: 8 | 32;
|
|
3488
3494
|
defaultBorderWidth: number;
|
|
3489
3495
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -3529,6 +3535,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3529
3535
|
text: string;
|
|
3530
3536
|
vlcNeutral: string;
|
|
3531
3537
|
warning: string;
|
|
3538
|
+
inputBackground: string;
|
|
3532
3539
|
header: {
|
|
3533
3540
|
type: Themes;
|
|
3534
3541
|
typography: {
|
|
@@ -5192,7 +5199,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5192
5199
|
kinds: {
|
|
5193
5200
|
[x: string]: Partial<{
|
|
5194
5201
|
defaultSize: TokenSizeKey;
|
|
5195
|
-
|
|
5202
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
5203
|
+
defaultColor: ThemeOrColorKey;
|
|
5196
5204
|
defaultBorderRadius: 8 | 32;
|
|
5197
5205
|
defaultBorderWidth: number;
|
|
5198
5206
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -5212,7 +5220,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5212
5220
|
}>;
|
|
5213
5221
|
};
|
|
5214
5222
|
defaultSize: TokenSizeKey;
|
|
5215
|
-
|
|
5223
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
5224
|
+
defaultColor: ThemeOrColorKey;
|
|
5216
5225
|
defaultBorderRadius: 8 | 32;
|
|
5217
5226
|
defaultBorderWidth: number;
|
|
5218
5227
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -5258,6 +5267,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5258
5267
|
text: string;
|
|
5259
5268
|
vlcNeutral: string;
|
|
5260
5269
|
warning: string;
|
|
5270
|
+
inputBackground: string;
|
|
5261
5271
|
};
|
|
5262
5272
|
nav: {
|
|
5263
5273
|
type: Themes;
|
|
@@ -6922,7 +6932,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6922
6932
|
kinds: {
|
|
6923
6933
|
[x: string]: Partial<{
|
|
6924
6934
|
defaultSize: TokenSizeKey;
|
|
6925
|
-
|
|
6935
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
6936
|
+
defaultColor: ThemeOrColorKey;
|
|
6926
6937
|
defaultBorderRadius: 8 | 32;
|
|
6927
6938
|
defaultBorderWidth: number;
|
|
6928
6939
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -6942,7 +6953,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6942
6953
|
}>;
|
|
6943
6954
|
};
|
|
6944
6955
|
defaultSize: TokenSizeKey;
|
|
6945
|
-
|
|
6956
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
6957
|
+
defaultColor: ThemeOrColorKey;
|
|
6946
6958
|
defaultBorderRadius: 8 | 32;
|
|
6947
6959
|
defaultBorderWidth: number;
|
|
6948
6960
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -6988,6 +7000,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6988
7000
|
text: string;
|
|
6989
7001
|
vlcNeutral: string;
|
|
6990
7002
|
warning: string;
|
|
7003
|
+
inputBackground: string;
|
|
6991
7004
|
};
|
|
6992
7005
|
content: {
|
|
6993
7006
|
type: Themes;
|
|
@@ -8652,7 +8665,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8652
8665
|
kinds: {
|
|
8653
8666
|
[x: string]: Partial<{
|
|
8654
8667
|
defaultSize: TokenSizeKey;
|
|
8655
|
-
|
|
8668
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
8669
|
+
defaultColor: ThemeOrColorKey;
|
|
8656
8670
|
defaultBorderRadius: 8 | 32;
|
|
8657
8671
|
defaultBorderWidth: number;
|
|
8658
8672
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -8672,7 +8686,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8672
8686
|
}>;
|
|
8673
8687
|
};
|
|
8674
8688
|
defaultSize: TokenSizeKey;
|
|
8675
|
-
|
|
8689
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
8690
|
+
defaultColor: ThemeOrColorKey;
|
|
8676
8691
|
defaultBorderRadius: 8 | 32;
|
|
8677
8692
|
defaultBorderWidth: number;
|
|
8678
8693
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -8718,6 +8733,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8718
8733
|
text: string;
|
|
8719
8734
|
vlcNeutral: string;
|
|
8720
8735
|
warning: string;
|
|
8736
|
+
inputBackground: string;
|
|
8721
8737
|
};
|
|
8722
8738
|
controls: {
|
|
8723
8739
|
type: Themes;
|
|
@@ -10382,7 +10398,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10382
10398
|
kinds: {
|
|
10383
10399
|
[x: string]: Partial<{
|
|
10384
10400
|
defaultSize: TokenSizeKey;
|
|
10385
|
-
|
|
10401
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10402
|
+
defaultColor: ThemeOrColorKey;
|
|
10386
10403
|
defaultBorderRadius: 8 | 32;
|
|
10387
10404
|
defaultBorderWidth: number;
|
|
10388
10405
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10402,7 +10419,8 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10402
10419
|
}>;
|
|
10403
10420
|
};
|
|
10404
10421
|
defaultSize: TokenSizeKey;
|
|
10405
|
-
|
|
10422
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10423
|
+
defaultColor: ThemeOrColorKey;
|
|
10406
10424
|
defaultBorderRadius: 8 | 32;
|
|
10407
10425
|
defaultBorderWidth: number;
|
|
10408
10426
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10448,6 +10466,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10448
10466
|
text: string;
|
|
10449
10467
|
vlcNeutral: string;
|
|
10450
10468
|
warning: string;
|
|
10469
|
+
inputBackground: string;
|
|
10451
10470
|
};
|
|
10452
10471
|
};
|
|
10453
10472
|
declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
|
|
@@ -10485,9 +10504,14 @@ declare const buttonBorderRadiuses: readonly [8, 32];
|
|
|
10485
10504
|
type ButtonBorderRadius = (typeof buttonBorderRadiuses)[number];
|
|
10486
10505
|
declare const allowedButtonTypographyTypes: readonly ["Body", "Body Strong", "Title", "Label", "Label Moderate", "Label Strong"];
|
|
10487
10506
|
type AllowedButtonTypographyTypes = (typeof allowedButtonTypographyTypes)[number];
|
|
10507
|
+
type ButtonTypographyArgs = {
|
|
10508
|
+
type?: AllowedButtonTypographyTypes;
|
|
10509
|
+
color?: ThemeOrColorKey;
|
|
10510
|
+
};
|
|
10488
10511
|
declare const buttonsThemeBase: {
|
|
10489
10512
|
defaultSize: TokenSizeKey;
|
|
10490
|
-
|
|
10513
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10514
|
+
defaultColor: ThemeOrColorKey;
|
|
10491
10515
|
defaultBorderRadius: 8 | 32;
|
|
10492
10516
|
defaultBorderWidth: number;
|
|
10493
10517
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10510,7 +10534,8 @@ type ButtonKindsProps = Record<string, Partial<typeof buttonsThemeBase>>;
|
|
|
10510
10534
|
declare const defaultButtonsTheme: {
|
|
10511
10535
|
kinds: ButtonKindsProps;
|
|
10512
10536
|
defaultSize: TokenSizeKey;
|
|
10513
|
-
|
|
10537
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10538
|
+
defaultColor: ThemeOrColorKey;
|
|
10514
10539
|
defaultBorderRadius: 8 | 32;
|
|
10515
10540
|
defaultBorderWidth: number;
|
|
10516
10541
|
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
@@ -10528,4 +10553,4 @@ declare const defaultButtonsTheme: {
|
|
|
10528
10553
|
};
|
|
10529
10554
|
};
|
|
10530
10555
|
|
|
10531
|
-
export { AllowedButtonTypographyTypes as A,
|
|
10556
|
+
export { AllowedButtonTypographyTypes as A, ButtonTypographyArgs as B, defaultButtonsTheme as C, FontColorKey as F, LightsparkTheme as L, PaddingYKey as P, SurfaceThemeColorKey as S, ThemeOrColorKey as T, WithTheme as W, ButtonBorderRadius as a, ThemeProp as b, Themes as c, themes as d, isThemeOrColorKey as e, getFontColor as f, getColor as g, BackgroundColorKey as h, isThemeColorKey as i, BackgroundColorKeyArg as j, isBackgroundColorKey as k, isBackgroundColorKeyTuple as l, getBackgroundColor as m, isDark as n, isLight as o, themeOr as p, ifLight as q, ifDark as r, setFonts as s, themeOrColorKeyValues as t, useThemeBg as u, PaddingY as v, buttonBorderRadiuses as w, allowedButtonTypographyTypes as x, buttonsThemeBase as y, ButtonsThemeKey as z };
|
|
@@ -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/Code.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -12,8 +12,8 @@ function ArrowUpRightCircleFill() {
|
|
|
12
12
|
children: /* @__PURE__ */ jsx(
|
|
13
13
|
"path",
|
|
14
14
|
{
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
clipRule: "evenodd",
|
|
17
17
|
d: "M20 1.25C30.3553 1.25 38.75 9.64468 38.75 20C38.75 30.3553 30.3553 38.75 20 38.75C9.64468 38.75 1.25 30.3553 1.25 20C1.25 9.64468 9.64468 1.25 20 1.25ZM15.4392 12.4122C14.8869 12.4122 14.4392 12.8599 14.4392 13.4122C14.4392 13.9644 14.8869 14.4122 15.4392 14.4122H24.1736L12.7051 25.8807C12.3146 26.2713 12.3146 26.9044 12.7051 27.2949C13.0956 27.6855 13.7288 27.6855 14.1193 27.2949L25.5879 15.8263V24.5608C25.5879 25.1131 26.0356 25.5608 26.5879 25.5608C27.1402 25.5608 27.5879 25.1131 27.5879 24.5608V13.4122C27.5879 12.8599 27.1402 12.4122 26.5879 12.4122H15.4392Z",
|
|
18
18
|
fill: "black"
|
|
19
19
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextIconAligner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7YY6BH5O.js";
|
|
4
4
|
import {
|
|
5
5
|
Link
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AAFUVYVP.js";
|
|
7
7
|
import {
|
|
8
8
|
UnstyledButton
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
10
10
|
import {
|
|
11
11
|
elide
|
|
12
12
|
} from "./chunk-EDN2QDCB.js";
|
|
13
13
|
import {
|
|
14
14
|
getFocusOutline
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PG2W2HVB.js";
|
|
16
16
|
import {
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
@@ -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/Title.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DocsHeadline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BENSR2YW.js";
|
|
4
4
|
import {
|
|
5
5
|
select
|
|
6
6
|
} from "./chunk-YMNSXZ5D.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I3FI3FNP.js";
|
|
10
10
|
import {
|
|
11
11
|
__spreadProps,
|
|
12
12
|
__spreadValues
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StyledContentTable
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
StyledTitle
|
|
6
|
-
} from "./chunk-HV6SRK57.js";
|
|
3
|
+
} from "./chunk-K7FYXGOI.js";
|
|
7
4
|
import {
|
|
8
5
|
StyledCode
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2AGBCGOW.js";
|
|
10
7
|
import {
|
|
11
8
|
displaySelector
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MRGHRTKA.js";
|
|
10
|
+
import {
|
|
11
|
+
StyledTitle
|
|
12
|
+
} from "./chunk-35PJW7RT.js";
|
|
13
|
+
import {
|
|
14
|
+
StyledBody
|
|
15
|
+
} from "./chunk-GWHKALYQ.js";
|
|
13
16
|
import {
|
|
14
17
|
ALL_HEADLINE_SELECTORS,
|
|
15
18
|
headlineSelector
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CRTTTIAD.js";
|
|
17
20
|
import {
|
|
18
21
|
select
|
|
19
22
|
} from "./chunk-YMNSXZ5D.js";
|
|
20
|
-
import {
|
|
21
|
-
StyledBody
|
|
22
|
-
} from "./chunk-POTDIFIX.js";
|
|
23
23
|
import {
|
|
24
24
|
overflowAutoWithoutScrollbars
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7WDAN3OC.js";
|
|
26
26
|
import {
|
|
27
27
|
standardBorderRadius
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PG2W2HVB.js";
|
|
29
29
|
import {
|
|
30
30
|
getTypographyString
|
|
31
31
|
} from "./chunk-ENBUKLVT.js";
|
|
32
32
|
import {
|
|
33
33
|
colors
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XUWFUTR4.js";
|
|
35
35
|
|
|
36
36
|
// src/components/typography/Article.tsx
|
|
37
37
|
import styled from "@emotion/styled";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
overflowAutoWithoutScrollbars
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7WDAN3OC.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I3FI3FNP.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PG2W2HVB.js";
|
|
10
10
|
|
|
11
11
|
// src/components/Collapsible.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4C2TISN7.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-PG2W2HVB.js";
|
|
11
11
|
import {
|
|
12
12
|
themeOr
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
14
14
|
|
|
15
15
|
// src/styles/fields.tsx
|
|
16
16
|
import { css } from "@emotion/react";
|
|
@@ -81,7 +81,7 @@ var textInputStyle = ({
|
|
|
81
81
|
var _a;
|
|
82
82
|
return css`
|
|
83
83
|
border-radius: ${textInputBorderRadiusPx}px;
|
|
84
|
-
background-color: ${disabled ? theme.vlcNeutral : theme.
|
|
84
|
+
background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
|
|
85
85
|
cursor: ${disabled ? "not-allowed" : "auto"};
|
|
86
86
|
box-sizing: border-box;
|
|
87
87
|
font-weight: ${textInputFontWeight};
|