@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/dist/styles/common.js
CHANGED
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
standardFocusOutline,
|
|
22
22
|
standardLineHeightEms,
|
|
23
23
|
subtext
|
|
24
|
-
} from "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
} from "../chunk-PG2W2HVB.js";
|
|
25
|
+
import "../chunk-IBZBPQMZ.js";
|
|
26
26
|
import "../chunk-ENBUKLVT.js";
|
|
27
27
|
import "../chunk-JSGRNWSB.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-FO7I4E45.js";
|
|
29
|
+
import "../chunk-XUWFUTR4.js";
|
|
30
30
|
import "../chunk-LOPKRCGI.js";
|
|
31
31
|
export {
|
|
32
32
|
Subtext,
|
package/dist/styles/fields.cjs
CHANGED
|
@@ -237,7 +237,7 @@ var colors = baseColors;
|
|
|
237
237
|
function isColorKey(key) {
|
|
238
238
|
return key in colors;
|
|
239
239
|
}
|
|
240
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
240
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
241
241
|
const bgRGB = hexToRGB(bgHex);
|
|
242
242
|
const hcRGB = hexToRGB(defaultHex);
|
|
243
243
|
if (!bgRGB || !hcRGB)
|
|
@@ -278,7 +278,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
278
278
|
// src/styles/buttons.tsx
|
|
279
279
|
var buttonsThemeBase = {
|
|
280
280
|
defaultSize: "Small",
|
|
281
|
-
|
|
281
|
+
defaultTypographyType: "Body Strong",
|
|
282
|
+
defaultColor: "text",
|
|
282
283
|
defaultBorderRadius: 32,
|
|
283
284
|
defaultBorderWidth: 1,
|
|
284
285
|
defaultBackgroundColor: "bg",
|
|
@@ -302,6 +303,7 @@ var buttonsThemeBase = {
|
|
|
302
303
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
303
304
|
kinds: {
|
|
304
305
|
primary: {
|
|
306
|
+
defaultColor: "bg",
|
|
305
307
|
defaultBorderWidth: 0,
|
|
306
308
|
defaultBackgroundColor: "c9Neutral",
|
|
307
309
|
defaultBorderColor: "c9Neutral",
|
|
@@ -329,7 +331,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
329
331
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
330
332
|
},
|
|
331
333
|
blue39: {
|
|
332
|
-
defaultBorderColor: "blue39"
|
|
334
|
+
defaultBorderColor: "blue39",
|
|
335
|
+
defaultColor: "gray98"
|
|
336
|
+
},
|
|
337
|
+
blue43: {
|
|
338
|
+
defaultColor: "white"
|
|
339
|
+
},
|
|
340
|
+
green33: {
|
|
341
|
+
defaultColor: "white"
|
|
342
|
+
},
|
|
343
|
+
purple55: {
|
|
344
|
+
defaultColor: "white"
|
|
345
|
+
},
|
|
346
|
+
danger: {
|
|
347
|
+
defaultColor: "white"
|
|
333
348
|
}
|
|
334
349
|
}
|
|
335
350
|
});
|
|
@@ -3572,7 +3587,8 @@ var baseThemeColors = {
|
|
|
3572
3587
|
success: colors.success,
|
|
3573
3588
|
text: colors.black,
|
|
3574
3589
|
vlcNeutral: colors.gray95,
|
|
3575
|
-
warning: colors.warning
|
|
3590
|
+
warning: colors.warning,
|
|
3591
|
+
inputBackground: colors.white
|
|
3576
3592
|
};
|
|
3577
3593
|
var themeOrColorKeyValues = [
|
|
3578
3594
|
...Object.keys(baseThemeColors),
|
|
@@ -3620,7 +3636,8 @@ var darkBaseTheme = {
|
|
|
3620
3636
|
vlcNeutral: colors.gray20,
|
|
3621
3637
|
warning: colors.warning,
|
|
3622
3638
|
buttons: defaultButtonsTheme,
|
|
3623
|
-
loading: "LoadingSpinner"
|
|
3639
|
+
loading: "LoadingSpinner",
|
|
3640
|
+
inputBackground: colors.black
|
|
3624
3641
|
};
|
|
3625
3642
|
var lightTheme = extend(lightBaseTheme, {
|
|
3626
3643
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3659,6 +3676,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3659
3676
|
secondary: colors.grayBlue43,
|
|
3660
3677
|
text: colors.grayBlue9,
|
|
3661
3678
|
link: colors.blue39,
|
|
3679
|
+
inputBackground: colors.white,
|
|
3662
3680
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3663
3681
|
main: "Manrope",
|
|
3664
3682
|
code: "Monaco"
|
|
@@ -3703,28 +3721,30 @@ var bridgeBaseSettings = {
|
|
|
3703
3721
|
code: "Monaco"
|
|
3704
3722
|
}),
|
|
3705
3723
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3706
|
-
|
|
3724
|
+
defaultTypographyType: "Title",
|
|
3707
3725
|
defaultSize: "Medium",
|
|
3708
3726
|
defaultBorderRadius: 8,
|
|
3709
3727
|
defaultBorderWidth: 0,
|
|
3728
|
+
defaultPaddingsY: {
|
|
3729
|
+
ExtraSmall: 14,
|
|
3730
|
+
Small: 14,
|
|
3731
|
+
Schmedium: 14,
|
|
3732
|
+
Medium: 14,
|
|
3733
|
+
Mlarge: 14,
|
|
3734
|
+
Large: 14
|
|
3735
|
+
},
|
|
3710
3736
|
kinds: {
|
|
3711
3737
|
primary: {
|
|
3738
|
+
defaultColor: "bg",
|
|
3712
3739
|
defaultBackgroundColor: "blue39",
|
|
3713
3740
|
defaultHoverBackgroundColor: "blue37"
|
|
3714
3741
|
},
|
|
3715
3742
|
ghost: {
|
|
3743
|
+
defaultColor: "secondary",
|
|
3716
3744
|
defaultBackgroundColor: "transparent",
|
|
3717
3745
|
defaultBorderWidth: 0,
|
|
3718
3746
|
defaultHoverBackgroundColor: "transparent",
|
|
3719
|
-
defaultHoverBorderColor: "transparent"
|
|
3720
|
-
defaultPaddingsY: {
|
|
3721
|
-
ExtraSmall: 0,
|
|
3722
|
-
Small: 0,
|
|
3723
|
-
Schmedium: 0,
|
|
3724
|
-
Medium: 0,
|
|
3725
|
-
Mlarge: 0,
|
|
3726
|
-
Large: 0
|
|
3727
|
-
}
|
|
3747
|
+
defaultHoverBorderColor: "transparent"
|
|
3728
3748
|
},
|
|
3729
3749
|
secondary: {
|
|
3730
3750
|
defaultBackgroundColor: "transparent",
|
|
@@ -3741,7 +3761,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3741
3761
|
bg: colors.gray98,
|
|
3742
3762
|
smBg: colors.gray98,
|
|
3743
3763
|
text: colors.grayBlue9,
|
|
3744
|
-
secondary: colors.grayBlue43
|
|
3764
|
+
secondary: colors.grayBlue43,
|
|
3765
|
+
inputBackground: colors.white
|
|
3745
3766
|
}));
|
|
3746
3767
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3747
3768
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -3963,7 +3984,7 @@ var textInputStyle = ({
|
|
|
3963
3984
|
var _a;
|
|
3964
3985
|
return import_react5.css`
|
|
3965
3986
|
border-radius: ${textInputBorderRadiusPx}px;
|
|
3966
|
-
background-color: ${disabled ? theme.vlcNeutral : theme.
|
|
3987
|
+
background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
|
|
3967
3988
|
cursor: ${disabled ? "not-allowed" : "auto"};
|
|
3968
3989
|
box-sizing: border-box;
|
|
3969
3990
|
font-weight: ${textInputFontWeight};
|
package/dist/styles/fields.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
|
-
import {
|
|
5
|
+
import { b as ThemeProp, W as WithTheme } from '../buttons-36cdd0fe.js';
|
|
6
6
|
import { SimpleTypographyProps } from './typography.cjs';
|
|
7
7
|
import './tokens/typography.cjs';
|
|
8
8
|
import '@emotion/css';
|
package/dist/styles/fields.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
|
-
import {
|
|
5
|
+
import { b as ThemeProp, W as WithTheme } from '../buttons-35280bfe.js';
|
|
6
6
|
import { SimpleTypographyProps } from './typography.js';
|
|
7
7
|
import './tokens/typography.js';
|
|
8
8
|
import '@emotion/css';
|
package/dist/styles/fields.js
CHANGED
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
textInputPaddingPx,
|
|
23
23
|
textInputPlaceholderColor,
|
|
24
24
|
textInputStyle
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-6CNJ5ZCC.js";
|
|
26
|
+
import "../chunk-4C2TISN7.js";
|
|
27
27
|
import "../chunk-55OQPFLF.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-PG2W2HVB.js";
|
|
29
|
+
import "../chunk-IBZBPQMZ.js";
|
|
30
30
|
import "../chunk-ENBUKLVT.js";
|
|
31
31
|
import "../chunk-JSGRNWSB.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-FO7I4E45.js";
|
|
33
|
+
import "../chunk-XUWFUTR4.js";
|
|
34
34
|
import "../chunk-LOPKRCGI.js";
|
|
35
35
|
export {
|
|
36
36
|
FieldError,
|
package/dist/styles/global.cjs
CHANGED
|
@@ -233,7 +233,7 @@ var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
|
233
233
|
secondary: neutral.black
|
|
234
234
|
});
|
|
235
235
|
var colors = baseColors;
|
|
236
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
236
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
237
237
|
const bgRGB = hexToRGB(bgHex);
|
|
238
238
|
const hcRGB = hexToRGB(defaultHex);
|
|
239
239
|
if (!bgRGB || !hcRGB)
|
|
@@ -274,7 +274,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
274
274
|
// src/styles/buttons.tsx
|
|
275
275
|
var buttonsThemeBase = {
|
|
276
276
|
defaultSize: "Small",
|
|
277
|
-
|
|
277
|
+
defaultTypographyType: "Body Strong",
|
|
278
|
+
defaultColor: "text",
|
|
278
279
|
defaultBorderRadius: 32,
|
|
279
280
|
defaultBorderWidth: 1,
|
|
280
281
|
defaultBackgroundColor: "bg",
|
|
@@ -298,6 +299,7 @@ var buttonsThemeBase = {
|
|
|
298
299
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
299
300
|
kinds: {
|
|
300
301
|
primary: {
|
|
302
|
+
defaultColor: "bg",
|
|
301
303
|
defaultBorderWidth: 0,
|
|
302
304
|
defaultBackgroundColor: "c9Neutral",
|
|
303
305
|
defaultBorderColor: "c9Neutral",
|
|
@@ -325,7 +327,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
325
327
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
326
328
|
},
|
|
327
329
|
blue39: {
|
|
328
|
-
defaultBorderColor: "blue39"
|
|
330
|
+
defaultBorderColor: "blue39",
|
|
331
|
+
defaultColor: "gray98"
|
|
332
|
+
},
|
|
333
|
+
blue43: {
|
|
334
|
+
defaultColor: "white"
|
|
335
|
+
},
|
|
336
|
+
green33: {
|
|
337
|
+
defaultColor: "white"
|
|
338
|
+
},
|
|
339
|
+
purple55: {
|
|
340
|
+
defaultColor: "white"
|
|
341
|
+
},
|
|
342
|
+
danger: {
|
|
343
|
+
defaultColor: "white"
|
|
329
344
|
}
|
|
330
345
|
}
|
|
331
346
|
});
|
|
@@ -3516,7 +3531,8 @@ var baseThemeColors = {
|
|
|
3516
3531
|
success: colors.success,
|
|
3517
3532
|
text: colors.black,
|
|
3518
3533
|
vlcNeutral: colors.gray95,
|
|
3519
|
-
warning: colors.warning
|
|
3534
|
+
warning: colors.warning,
|
|
3535
|
+
inputBackground: colors.white
|
|
3520
3536
|
};
|
|
3521
3537
|
var themeOrColorKeyValues = [
|
|
3522
3538
|
...Object.keys(baseThemeColors),
|
|
@@ -3564,7 +3580,8 @@ var darkBaseTheme = {
|
|
|
3564
3580
|
vlcNeutral: colors.gray20,
|
|
3565
3581
|
warning: colors.warning,
|
|
3566
3582
|
buttons: defaultButtonsTheme,
|
|
3567
|
-
loading: "LoadingSpinner"
|
|
3583
|
+
loading: "LoadingSpinner",
|
|
3584
|
+
inputBackground: colors.black
|
|
3568
3585
|
};
|
|
3569
3586
|
var lightTheme = extend(lightBaseTheme, {
|
|
3570
3587
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3603,6 +3620,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3603
3620
|
secondary: colors.grayBlue43,
|
|
3604
3621
|
text: colors.grayBlue9,
|
|
3605
3622
|
link: colors.blue39,
|
|
3623
|
+
inputBackground: colors.white,
|
|
3606
3624
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3607
3625
|
main: "Manrope",
|
|
3608
3626
|
code: "Monaco"
|
|
@@ -3647,28 +3665,30 @@ var bridgeBaseSettings = {
|
|
|
3647
3665
|
code: "Monaco"
|
|
3648
3666
|
}),
|
|
3649
3667
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3650
|
-
|
|
3668
|
+
defaultTypographyType: "Title",
|
|
3651
3669
|
defaultSize: "Medium",
|
|
3652
3670
|
defaultBorderRadius: 8,
|
|
3653
3671
|
defaultBorderWidth: 0,
|
|
3672
|
+
defaultPaddingsY: {
|
|
3673
|
+
ExtraSmall: 14,
|
|
3674
|
+
Small: 14,
|
|
3675
|
+
Schmedium: 14,
|
|
3676
|
+
Medium: 14,
|
|
3677
|
+
Mlarge: 14,
|
|
3678
|
+
Large: 14
|
|
3679
|
+
},
|
|
3654
3680
|
kinds: {
|
|
3655
3681
|
primary: {
|
|
3682
|
+
defaultColor: "bg",
|
|
3656
3683
|
defaultBackgroundColor: "blue39",
|
|
3657
3684
|
defaultHoverBackgroundColor: "blue37"
|
|
3658
3685
|
},
|
|
3659
3686
|
ghost: {
|
|
3687
|
+
defaultColor: "secondary",
|
|
3660
3688
|
defaultBackgroundColor: "transparent",
|
|
3661
3689
|
defaultBorderWidth: 0,
|
|
3662
3690
|
defaultHoverBackgroundColor: "transparent",
|
|
3663
|
-
defaultHoverBorderColor: "transparent"
|
|
3664
|
-
defaultPaddingsY: {
|
|
3665
|
-
ExtraSmall: 0,
|
|
3666
|
-
Small: 0,
|
|
3667
|
-
Schmedium: 0,
|
|
3668
|
-
Medium: 0,
|
|
3669
|
-
Mlarge: 0,
|
|
3670
|
-
Large: 0
|
|
3671
|
-
}
|
|
3691
|
+
defaultHoverBorderColor: "transparent"
|
|
3672
3692
|
},
|
|
3673
3693
|
secondary: {
|
|
3674
3694
|
defaultBackgroundColor: "transparent",
|
|
@@ -3685,7 +3705,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3685
3705
|
bg: colors.gray98,
|
|
3686
3706
|
smBg: colors.gray98,
|
|
3687
3707
|
text: colors.grayBlue9,
|
|
3688
|
-
secondary: colors.grayBlue43
|
|
3708
|
+
secondary: colors.grayBlue43,
|
|
3709
|
+
inputBackground: colors.white
|
|
3689
3710
|
}));
|
|
3690
3711
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3691
3712
|
type: "bridgeDark" /* BridgeDark */
|
package/dist/styles/global.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as _emotion_react from '@emotion/react';
|
|
3
|
-
import {
|
|
3
|
+
import { b as ThemeProp } from '../buttons-36cdd0fe.js';
|
|
4
4
|
import './tokens/typography.cjs';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.cjs';
|
package/dist/styles/global.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as _emotion_react from '@emotion/react';
|
|
3
|
-
import {
|
|
3
|
+
import { b as ThemeProp } from '../buttons-35280bfe.js';
|
|
4
4
|
import './tokens/typography.js';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.js';
|
package/dist/styles/global.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GlobalStyles,
|
|
3
3
|
globalComponentStyles
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7IHNYMFQ.js";
|
|
5
5
|
import "../chunk-VQVEZVAG.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-PG2W2HVB.js";
|
|
7
|
+
import "../chunk-IBZBPQMZ.js";
|
|
8
8
|
import "../chunk-ENBUKLVT.js";
|
|
9
9
|
import "../chunk-JSGRNWSB.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-FO7I4E45.js";
|
|
11
|
+
import "../chunk-XUWFUTR4.js";
|
|
12
12
|
import "../chunk-LOPKRCGI.js";
|
|
13
13
|
export {
|
|
14
14
|
GlobalStyles,
|
package/dist/styles/themes.cjs
CHANGED
|
@@ -187,7 +187,8 @@ function useBreakpoints() {
|
|
|
187
187
|
// src/styles/buttons.tsx
|
|
188
188
|
var buttonsThemeBase = {
|
|
189
189
|
defaultSize: "Small",
|
|
190
|
-
|
|
190
|
+
defaultTypographyType: "Body Strong",
|
|
191
|
+
defaultColor: "text",
|
|
191
192
|
defaultBorderRadius: 32,
|
|
192
193
|
defaultBorderWidth: 1,
|
|
193
194
|
defaultBackgroundColor: "bg",
|
|
@@ -211,6 +212,7 @@ var buttonsThemeBase = {
|
|
|
211
212
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
212
213
|
kinds: {
|
|
213
214
|
primary: {
|
|
215
|
+
defaultColor: "bg",
|
|
214
216
|
defaultBorderWidth: 0,
|
|
215
217
|
defaultBackgroundColor: "c9Neutral",
|
|
216
218
|
defaultBorderColor: "c9Neutral",
|
|
@@ -238,7 +240,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
238
240
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
239
241
|
},
|
|
240
242
|
blue39: {
|
|
241
|
-
defaultBorderColor: "blue39"
|
|
243
|
+
defaultBorderColor: "blue39",
|
|
244
|
+
defaultColor: "gray98"
|
|
245
|
+
},
|
|
246
|
+
blue43: {
|
|
247
|
+
defaultColor: "white"
|
|
248
|
+
},
|
|
249
|
+
green33: {
|
|
250
|
+
defaultColor: "white"
|
|
251
|
+
},
|
|
252
|
+
purple55: {
|
|
253
|
+
defaultColor: "white"
|
|
254
|
+
},
|
|
255
|
+
danger: {
|
|
256
|
+
defaultColor: "white"
|
|
242
257
|
}
|
|
243
258
|
}
|
|
244
259
|
});
|
|
@@ -304,7 +319,7 @@ var colors = baseColors;
|
|
|
304
319
|
function isColorKey(key) {
|
|
305
320
|
return key in colors;
|
|
306
321
|
}
|
|
307
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
322
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
308
323
|
const bgRGB = hexToRGB(bgHex);
|
|
309
324
|
const hcRGB = hexToRGB(defaultHex);
|
|
310
325
|
if (!bgRGB || !hcRGB)
|
|
@@ -3535,7 +3550,8 @@ var baseThemeColors = {
|
|
|
3535
3550
|
success: colors.success,
|
|
3536
3551
|
text: colors.black,
|
|
3537
3552
|
vlcNeutral: colors.gray95,
|
|
3538
|
-
warning: colors.warning
|
|
3553
|
+
warning: colors.warning,
|
|
3554
|
+
inputBackground: colors.white
|
|
3539
3555
|
};
|
|
3540
3556
|
var themeOrColorKeyValues = [
|
|
3541
3557
|
...Object.keys(baseThemeColors),
|
|
@@ -3583,7 +3599,8 @@ var darkBaseTheme = {
|
|
|
3583
3599
|
vlcNeutral: colors.gray20,
|
|
3584
3600
|
warning: colors.warning,
|
|
3585
3601
|
buttons: defaultButtonsTheme,
|
|
3586
|
-
loading: "LoadingSpinner"
|
|
3602
|
+
loading: "LoadingSpinner",
|
|
3603
|
+
inputBackground: colors.black
|
|
3587
3604
|
};
|
|
3588
3605
|
var lightTheme = extend(lightBaseTheme, {
|
|
3589
3606
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3622,6 +3639,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3622
3639
|
secondary: colors.grayBlue43,
|
|
3623
3640
|
text: colors.grayBlue9,
|
|
3624
3641
|
link: colors.blue39,
|
|
3642
|
+
inputBackground: colors.white,
|
|
3625
3643
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3626
3644
|
main: "Manrope",
|
|
3627
3645
|
code: "Monaco"
|
|
@@ -3666,28 +3684,30 @@ var bridgeBaseSettings = {
|
|
|
3666
3684
|
code: "Monaco"
|
|
3667
3685
|
}),
|
|
3668
3686
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3669
|
-
|
|
3687
|
+
defaultTypographyType: "Title",
|
|
3670
3688
|
defaultSize: "Medium",
|
|
3671
3689
|
defaultBorderRadius: 8,
|
|
3672
3690
|
defaultBorderWidth: 0,
|
|
3691
|
+
defaultPaddingsY: {
|
|
3692
|
+
ExtraSmall: 14,
|
|
3693
|
+
Small: 14,
|
|
3694
|
+
Schmedium: 14,
|
|
3695
|
+
Medium: 14,
|
|
3696
|
+
Mlarge: 14,
|
|
3697
|
+
Large: 14
|
|
3698
|
+
},
|
|
3673
3699
|
kinds: {
|
|
3674
3700
|
primary: {
|
|
3701
|
+
defaultColor: "bg",
|
|
3675
3702
|
defaultBackgroundColor: "blue39",
|
|
3676
3703
|
defaultHoverBackgroundColor: "blue37"
|
|
3677
3704
|
},
|
|
3678
3705
|
ghost: {
|
|
3706
|
+
defaultColor: "secondary",
|
|
3679
3707
|
defaultBackgroundColor: "transparent",
|
|
3680
3708
|
defaultBorderWidth: 0,
|
|
3681
3709
|
defaultHoverBackgroundColor: "transparent",
|
|
3682
|
-
defaultHoverBorderColor: "transparent"
|
|
3683
|
-
defaultPaddingsY: {
|
|
3684
|
-
ExtraSmall: 0,
|
|
3685
|
-
Small: 0,
|
|
3686
|
-
Schmedium: 0,
|
|
3687
|
-
Medium: 0,
|
|
3688
|
-
Mlarge: 0,
|
|
3689
|
-
Large: 0
|
|
3690
|
-
}
|
|
3710
|
+
defaultHoverBorderColor: "transparent"
|
|
3691
3711
|
},
|
|
3692
3712
|
secondary: {
|
|
3693
3713
|
defaultBackgroundColor: "transparent",
|
|
@@ -3704,7 +3724,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3704
3724
|
bg: colors.gray98,
|
|
3705
3725
|
smBg: colors.gray98,
|
|
3706
3726
|
text: colors.grayBlue9,
|
|
3707
|
-
secondary: colors.grayBlue43
|
|
3727
|
+
secondary: colors.grayBlue43,
|
|
3728
|
+
inputBackground: colors.white
|
|
3708
3729
|
}));
|
|
3709
3730
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3710
3731
|
type: "bridgeDark" /* BridgeDark */
|
package/dist/styles/themes.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@emotion/react';
|
|
2
|
-
export {
|
|
2
|
+
export { h as BackgroundColorKey, j as BackgroundColorKeyArg, F as FontColorKey, L as LightsparkTheme, S as SurfaceThemeColorKey, T as ThemeOrColorKey, b as ThemeProp, c as Themes, W as WithTheme, m as getBackgroundColor, g as getColor, f as getFontColor, r as ifDark, q as ifLight, k as isBackgroundColorKey, l as isBackgroundColorKeyTuple, n as isDark, o as isLight, i as isThemeColorKey, e as isThemeOrColorKey, s as setFonts, p as themeOr, t as themeOrColorKeyValues, d as themes, u as useThemeBg } from '../buttons-36cdd0fe.js';
|
|
3
3
|
import './tokens/typography.cjs';
|
|
4
4
|
import '@emotion/css';
|
|
5
5
|
import './colors.cjs';
|
package/dist/styles/themes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@emotion/react';
|
|
2
|
-
export {
|
|
2
|
+
export { h as BackgroundColorKey, j as BackgroundColorKeyArg, F as FontColorKey, L as LightsparkTheme, S as SurfaceThemeColorKey, T as ThemeOrColorKey, b as ThemeProp, c as Themes, W as WithTheme, m as getBackgroundColor, g as getColor, f as getFontColor, r as ifDark, q as ifLight, k as isBackgroundColorKey, l as isBackgroundColorKeyTuple, n as isDark, o as isLight, i as isThemeColorKey, e as isThemeOrColorKey, s as setFonts, p as themeOr, t as themeOrColorKeyValues, d as themes, u as useThemeBg } from '../buttons-35280bfe.js';
|
|
3
3
|
import './tokens/typography.js';
|
|
4
4
|
import '@emotion/css';
|
|
5
5
|
import './colors.js';
|
package/dist/styles/themes.js
CHANGED
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
themeOrColorKeyValues,
|
|
17
17
|
themes,
|
|
18
18
|
useThemeBg
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-IBZBPQMZ.js";
|
|
20
20
|
import "../chunk-ENBUKLVT.js";
|
|
21
21
|
import "../chunk-JSGRNWSB.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-FO7I4E45.js";
|
|
23
|
+
import "../chunk-XUWFUTR4.js";
|
|
24
24
|
import "../chunk-LOPKRCGI.js";
|
|
25
25
|
export {
|
|
26
26
|
Themes,
|
package/dist/styles/type.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import _emotion_styled__default from '@emotion/styled';
|
|
3
|
-
import '../buttons-
|
|
3
|
+
import '../buttons-36cdd0fe.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './tokens/typography.cjs';
|
|
6
6
|
import '@emotion/css';
|
package/dist/styles/type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import _emotion_styled__default from '@emotion/styled';
|
|
3
|
-
import '../buttons-
|
|
3
|
+
import '../buttons-35280bfe.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './tokens/typography.js';
|
|
6
6
|
import '@emotion/css';
|
package/dist/styles/type.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
Heading,
|
|
4
4
|
headingWithDefaults,
|
|
5
5
|
headings
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-BHP5YL2N.js";
|
|
7
|
+
import "../chunk-7WDAN3OC.js";
|
|
8
|
+
import "../chunk-PG2W2HVB.js";
|
|
9
|
+
import "../chunk-IBZBPQMZ.js";
|
|
10
10
|
import "../chunk-ENBUKLVT.js";
|
|
11
11
|
import "../chunk-JSGRNWSB.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-FO7I4E45.js";
|
|
13
|
+
import "../chunk-XUWFUTR4.js";
|
|
14
14
|
import "../chunk-LOPKRCGI.js";
|
|
15
15
|
export {
|
|
16
16
|
Heading,
|