@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
|
@@ -477,7 +477,7 @@ var colors = baseColors;
|
|
|
477
477
|
function isColorKey(key) {
|
|
478
478
|
return key in colors;
|
|
479
479
|
}
|
|
480
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
480
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
481
481
|
const bgRGB = hexToRGB(bgHex);
|
|
482
482
|
const hcRGB = hexToRGB(defaultHex);
|
|
483
483
|
if (!bgRGB || !hcRGB)
|
|
@@ -518,7 +518,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
518
518
|
// src/styles/buttons.tsx
|
|
519
519
|
var buttonsThemeBase = {
|
|
520
520
|
defaultSize: "Small",
|
|
521
|
-
|
|
521
|
+
defaultTypographyType: "Body Strong",
|
|
522
|
+
defaultColor: "text",
|
|
522
523
|
defaultBorderRadius: 32,
|
|
523
524
|
defaultBorderWidth: 1,
|
|
524
525
|
defaultBackgroundColor: "bg",
|
|
@@ -542,6 +543,7 @@ var buttonsThemeBase = {
|
|
|
542
543
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
543
544
|
kinds: {
|
|
544
545
|
primary: {
|
|
546
|
+
defaultColor: "bg",
|
|
545
547
|
defaultBorderWidth: 0,
|
|
546
548
|
defaultBackgroundColor: "c9Neutral",
|
|
547
549
|
defaultBorderColor: "c9Neutral",
|
|
@@ -569,7 +571,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
569
571
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
570
572
|
},
|
|
571
573
|
blue39: {
|
|
572
|
-
defaultBorderColor: "blue39"
|
|
574
|
+
defaultBorderColor: "blue39",
|
|
575
|
+
defaultColor: "gray98"
|
|
576
|
+
},
|
|
577
|
+
blue43: {
|
|
578
|
+
defaultColor: "white"
|
|
579
|
+
},
|
|
580
|
+
green33: {
|
|
581
|
+
defaultColor: "white"
|
|
582
|
+
},
|
|
583
|
+
purple55: {
|
|
584
|
+
defaultColor: "white"
|
|
585
|
+
},
|
|
586
|
+
danger: {
|
|
587
|
+
defaultColor: "white"
|
|
573
588
|
}
|
|
574
589
|
}
|
|
575
590
|
});
|
|
@@ -3812,7 +3827,8 @@ var baseThemeColors = {
|
|
|
3812
3827
|
success: colors.success,
|
|
3813
3828
|
text: colors.black,
|
|
3814
3829
|
vlcNeutral: colors.gray95,
|
|
3815
|
-
warning: colors.warning
|
|
3830
|
+
warning: colors.warning,
|
|
3831
|
+
inputBackground: colors.white
|
|
3816
3832
|
};
|
|
3817
3833
|
var themeOrColorKeyValues = [
|
|
3818
3834
|
...Object.keys(baseThemeColors),
|
|
@@ -3860,7 +3876,8 @@ var darkBaseTheme = {
|
|
|
3860
3876
|
vlcNeutral: colors.gray20,
|
|
3861
3877
|
warning: colors.warning,
|
|
3862
3878
|
buttons: defaultButtonsTheme,
|
|
3863
|
-
loading: "LoadingSpinner"
|
|
3879
|
+
loading: "LoadingSpinner",
|
|
3880
|
+
inputBackground: colors.black
|
|
3864
3881
|
};
|
|
3865
3882
|
var lightTheme = extend(lightBaseTheme, {
|
|
3866
3883
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3899,6 +3916,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3899
3916
|
secondary: colors.grayBlue43,
|
|
3900
3917
|
text: colors.grayBlue9,
|
|
3901
3918
|
link: colors.blue39,
|
|
3919
|
+
inputBackground: colors.white,
|
|
3902
3920
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3903
3921
|
main: "Manrope",
|
|
3904
3922
|
code: "Monaco"
|
|
@@ -3943,28 +3961,30 @@ var bridgeBaseSettings = {
|
|
|
3943
3961
|
code: "Monaco"
|
|
3944
3962
|
}),
|
|
3945
3963
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3946
|
-
|
|
3964
|
+
defaultTypographyType: "Title",
|
|
3947
3965
|
defaultSize: "Medium",
|
|
3948
3966
|
defaultBorderRadius: 8,
|
|
3949
3967
|
defaultBorderWidth: 0,
|
|
3968
|
+
defaultPaddingsY: {
|
|
3969
|
+
ExtraSmall: 14,
|
|
3970
|
+
Small: 14,
|
|
3971
|
+
Schmedium: 14,
|
|
3972
|
+
Medium: 14,
|
|
3973
|
+
Mlarge: 14,
|
|
3974
|
+
Large: 14
|
|
3975
|
+
},
|
|
3950
3976
|
kinds: {
|
|
3951
3977
|
primary: {
|
|
3978
|
+
defaultColor: "bg",
|
|
3952
3979
|
defaultBackgroundColor: "blue39",
|
|
3953
3980
|
defaultHoverBackgroundColor: "blue37"
|
|
3954
3981
|
},
|
|
3955
3982
|
ghost: {
|
|
3983
|
+
defaultColor: "secondary",
|
|
3956
3984
|
defaultBackgroundColor: "transparent",
|
|
3957
3985
|
defaultBorderWidth: 0,
|
|
3958
3986
|
defaultHoverBackgroundColor: "transparent",
|
|
3959
|
-
defaultHoverBorderColor: "transparent"
|
|
3960
|
-
defaultPaddingsY: {
|
|
3961
|
-
ExtraSmall: 0,
|
|
3962
|
-
Small: 0,
|
|
3963
|
-
Schmedium: 0,
|
|
3964
|
-
Medium: 0,
|
|
3965
|
-
Mlarge: 0,
|
|
3966
|
-
Large: 0
|
|
3967
|
-
}
|
|
3987
|
+
defaultHoverBorderColor: "transparent"
|
|
3968
3988
|
},
|
|
3969
3989
|
secondary: {
|
|
3970
3990
|
defaultBackgroundColor: "transparent",
|
|
@@ -3981,7 +4001,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3981
4001
|
bg: colors.gray98,
|
|
3982
4002
|
smBg: colors.gray98,
|
|
3983
4003
|
text: colors.grayBlue9,
|
|
3984
|
-
secondary: colors.grayBlue43
|
|
4004
|
+
secondary: colors.grayBlue43,
|
|
4005
|
+
inputBackground: colors.white
|
|
3985
4006
|
}));
|
|
3986
4007
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3987
4008
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4124,11 +4145,12 @@ var overlaySurfaceBorderColor = ({
|
|
|
4124
4145
|
`;
|
|
4125
4146
|
var overlaySurface = ({
|
|
4126
4147
|
theme,
|
|
4127
|
-
important = false
|
|
4148
|
+
important = false,
|
|
4149
|
+
border = true
|
|
4128
4150
|
}) => import_react4.css`
|
|
4129
|
-
background-color: ${themeOr(
|
|
4151
|
+
background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
|
|
4130
4152
|
${important ? "!important" : ""};
|
|
4131
|
-
border: 0.5px solid ${important ? "!important" : ""}
|
|
4153
|
+
${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
|
|
4132
4154
|
${overlaySurfaceBorderColor({ theme, important })};
|
|
4133
4155
|
${themeOr(
|
|
4134
4156
|
`box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
|
|
@@ -4222,7 +4244,7 @@ var textInputStyle = ({
|
|
|
4222
4244
|
var _a;
|
|
4223
4245
|
return import_react5.css`
|
|
4224
4246
|
border-radius: ${textInputBorderRadiusPx}px;
|
|
4225
|
-
background-color: ${disabled ? theme.vlcNeutral : theme.
|
|
4247
|
+
background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
|
|
4226
4248
|
cursor: ${disabled ? "not-allowed" : "auto"};
|
|
4227
4249
|
box-sizing: border-box;
|
|
4228
4250
|
font-weight: ${textInputFontWeight};
|
|
@@ -4829,8 +4851,8 @@ function ArrowUpRightCircleFill() {
|
|
|
4829
4851
|
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
4830
4852
|
"path",
|
|
4831
4853
|
{
|
|
4832
|
-
|
|
4833
|
-
|
|
4854
|
+
fillRule: "evenodd",
|
|
4855
|
+
clipRule: "evenodd",
|
|
4834
4856
|
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",
|
|
4835
4857
|
fill: "black"
|
|
4836
4858
|
}
|
|
@@ -5731,8 +5753,8 @@ function Figma() {
|
|
|
5731
5753
|
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5732
5754
|
"path",
|
|
5733
5755
|
{
|
|
5734
|
-
|
|
5735
|
-
|
|
5756
|
+
fillRule: "evenodd",
|
|
5757
|
+
clipRule: "evenodd",
|
|
5736
5758
|
d: "M8.01074 9.04831C8.01074 5.43178 10.9425 2.5 14.5591 2.5L25.7952 2.5C29.4118 2.5 32.3435 5.43178 32.3435 9.04831C32.3435 11.3383 31.1681 13.3537 29.3876 14.5242C31.1681 15.6947 32.3435 17.7102 32.3435 20.0001C32.3435 23.6167 29.4118 26.5485 25.7952 26.5485H25.653C23.9575 26.5485 22.4126 25.9041 21.2496 24.847V30.8806C21.2496 34.5453 18.2412 37.5 14.5944 37.5C10.9868 37.5 8.01074 34.5772 8.01074 30.9517C8.01074 28.6617 9.18619 26.6463 10.9666 25.476C9.18618 24.3055 8.01074 22.2901 8.01074 20.0001C8.01074 17.7102 9.1862 15.6947 10.9667 14.5242C9.18621 13.3537 8.01074 11.3383 8.01074 9.04831ZM14.5591 13.4517C12.1272 13.4517 10.1557 11.4802 10.1557 9.04831C10.1557 6.61641 12.1272 4.64497 14.5591 4.64497L19.1047 4.64497V13.4517H14.5591ZM19.1047 15.5966H14.5591C12.1272 15.5966 10.1557 17.5682 10.1557 20.0001C10.1557 22.4321 12.1272 24.4035 14.5591 24.4035H19.1047V15.5966ZM19.1047 26.5485H14.5591C12.1271 26.5485 10.1557 28.5198 10.1557 30.9517C10.1557 33.3746 12.1535 35.355 14.5944 35.355C17.0746 35.355 19.1047 33.3428 19.1047 30.8806V26.5485ZM25.7952 15.5966L25.653 15.5968C23.2211 15.5968 21.2496 17.5682 21.2496 20.0001C21.2496 22.4321 23.2211 24.4035 25.653 24.4035H25.7952C28.2271 24.4035 30.1986 22.4321 30.1986 20.0001C30.1986 17.5682 28.227 15.5967 25.7952 15.5966C25.7953 15.5966 25.7952 15.5966 25.7952 15.5966ZM25.7952 14.5242V13.4517H21.2496V4.64497H25.7952C28.2271 4.64497 30.1986 6.61641 30.1986 9.04831C30.1986 11.4802 28.2271 13.4517 25.7952 13.4517",
|
|
5737
5759
|
fill: "black"
|
|
5738
5760
|
}
|
|
@@ -8276,7 +8298,7 @@ var IconContainer = import_styled4.default.span`
|
|
|
8276
8298
|
${({ theme, fontColor }) => {
|
|
8277
8299
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
8278
8300
|
return `
|
|
8279
|
-
|
|
8301
|
+
svg, path {
|
|
8280
8302
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
8281
8303
|
|
|
8282
8304
|
/*
|
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import { SimpleTypographyProps } from '../styles/typography.cjs';
|
|
3
3
|
import '@emotion/react';
|
|
4
4
|
import '@lightsparkdev/core';
|
|
5
|
-
import '../buttons-
|
|
5
|
+
import '../buttons-36cdd0fe.js';
|
|
6
6
|
import '../styles/tokens/typography.cjs';
|
|
7
7
|
import '@emotion/css';
|
|
8
8
|
import '../styles/colors.cjs';
|
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import { SimpleTypographyProps } from '../styles/typography.js';
|
|
3
3
|
import '@emotion/react';
|
|
4
4
|
import '@lightsparkdev/core';
|
|
5
|
-
import '../buttons-
|
|
5
|
+
import '../buttons-35280bfe.js';
|
|
6
6
|
import '../styles/tokens/typography.js';
|
|
7
7
|
import '@emotion/css';
|
|
8
8
|
import '../styles/colors.js';
|
|
@@ -1,136 +1,136 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PhoneInput
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-KX5QZXCD.js";
|
|
4
4
|
import "../chunk-5KSG5D3I.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-N2NPIZCV.js";
|
|
6
|
+
import "../chunk-SNFRMD6Z.js";
|
|
7
|
+
import "../chunk-6CNJ5ZCC.js";
|
|
8
|
+
import "../chunk-4C2TISN7.js";
|
|
9
|
+
import "../chunk-E4DUADXU.js";
|
|
10
|
+
import "../chunk-RPNTFEXE.js";
|
|
11
|
+
import "../chunk-LTCJ6LNO.js";
|
|
11
12
|
import "../chunk-55OQPFLF.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-UAFWDZRG.js";
|
|
13
|
+
import "../chunk-I3FI3FNP.js";
|
|
14
14
|
import "../chunk-EDN2QDCB.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-6B3T5X4O.js";
|
|
17
|
-
import "../chunk-3BSQFYGE.js";
|
|
18
|
-
import "../chunk-XBKRPEVT.js";
|
|
19
|
-
import "../chunk-5522HZOC.js";
|
|
20
|
-
import "../chunk-PJMGLSAW.js";
|
|
21
|
-
import "../chunk-FRZBZ7PD.js";
|
|
22
|
-
import "../chunk-3CHMNLGD.js";
|
|
15
|
+
import "../chunk-FT62PIPN.js";
|
|
23
16
|
import "../chunk-5ZDDVLS6.js";
|
|
24
17
|
import "../chunk-BCXQD6ZP.js";
|
|
25
18
|
import "../chunk-JWMMGYNV.js";
|
|
26
19
|
import "../chunk-MASPP6U5.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-F3YK2EER.js";
|
|
20
|
+
import "../chunk-6B3T5X4O.js";
|
|
21
|
+
import "../chunk-3BSQFYGE.js";
|
|
22
|
+
import "../chunk-XBKRPEVT.js";
|
|
31
23
|
import "../chunk-5XZ7ZEC7.js";
|
|
32
24
|
import "../chunk-H52K5UTT.js";
|
|
33
25
|
import "../chunk-3KOUSJV6.js";
|
|
34
26
|
import "../chunk-L52XQKBX.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-5522HZOC.js";
|
|
28
|
+
import "../chunk-PJMGLSAW.js";
|
|
29
|
+
import "../chunk-FRZBZ7PD.js";
|
|
30
|
+
import "../chunk-3CHMNLGD.js";
|
|
39
31
|
import "../chunk-VRG7HI7X.js";
|
|
40
32
|
import "../chunk-AFROYZKQ.js";
|
|
41
33
|
import "../chunk-TAEOGBWY.js";
|
|
42
34
|
import "../chunk-LQ6VW2FH.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-RPYB66KY.js";
|
|
36
|
+
import "../chunk-GOURVX6U.js";
|
|
37
|
+
import "../chunk-HPIVJCNC.js";
|
|
38
|
+
import "../chunk-F3YK2EER.js";
|
|
47
39
|
import "../chunk-MXCYWGHN.js";
|
|
48
40
|
import "../chunk-ZXACVTYJ.js";
|
|
49
41
|
import "../chunk-WDFOXMFH.js";
|
|
50
42
|
import "../chunk-E6ZB6OJD.js";
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-J5NYACJ7.js";
|
|
44
|
+
import "../chunk-CKOW6ME2.js";
|
|
45
|
+
import "../chunk-BX32TDWY.js";
|
|
46
|
+
import "../chunk-IPD2D6QD.js";
|
|
55
47
|
import "../chunk-G3AHVMGL.js";
|
|
56
48
|
import "../chunk-XHLHQC5Q.js";
|
|
57
49
|
import "../chunk-QBM7XXVQ.js";
|
|
58
50
|
import "../chunk-5EFICY5Y.js";
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-3YVEKRB3.js";
|
|
52
|
+
import "../chunk-M4ORU6SJ.js";
|
|
53
|
+
import "../chunk-2TGRHBA5.js";
|
|
54
|
+
import "../chunk-H5R5ZG3Z.js";
|
|
63
55
|
import "../chunk-W5QTCRAG.js";
|
|
64
56
|
import "../chunk-CPHTE26N.js";
|
|
65
57
|
import "../chunk-N5LIZ3K6.js";
|
|
66
58
|
import "../chunk-LHSGZZVE.js";
|
|
67
|
-
import "../chunk-
|
|
68
|
-
import "../chunk-
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-
|
|
59
|
+
import "../chunk-M2H6AEUK.js";
|
|
60
|
+
import "../chunk-XXE3N5AE.js";
|
|
61
|
+
import "../chunk-3XGQJIDN.js";
|
|
62
|
+
import "../chunk-GJAG2D3Y.js";
|
|
71
63
|
import "../chunk-YO5J3T3L.js";
|
|
72
64
|
import "../chunk-XGUCS6ED.js";
|
|
73
65
|
import "../chunk-36ATWJ72.js";
|
|
74
66
|
import "../chunk-K6KKTYTR.js";
|
|
75
|
-
import "../chunk-
|
|
76
|
-
import "../chunk-
|
|
77
|
-
import "../chunk-
|
|
78
|
-
import "../chunk-
|
|
67
|
+
import "../chunk-677VQ4DY.js";
|
|
68
|
+
import "../chunk-BDCKN7K3.js";
|
|
69
|
+
import "../chunk-LDOAR276.js";
|
|
70
|
+
import "../chunk-SIWCH44U.js";
|
|
79
71
|
import "../chunk-24JOGF62.js";
|
|
80
72
|
import "../chunk-55PXMNOG.js";
|
|
81
73
|
import "../chunk-FLREHHOH.js";
|
|
82
74
|
import "../chunk-RCIZUC7L.js";
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-
|
|
85
|
-
import "../chunk-
|
|
86
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-QAWK7SU6.js";
|
|
76
|
+
import "../chunk-72CHU34B.js";
|
|
77
|
+
import "../chunk-5EIYTCCK.js";
|
|
78
|
+
import "../chunk-OSOHJUPD.js";
|
|
87
79
|
import "../chunk-262GCJFO.js";
|
|
88
80
|
import "../chunk-GY5XKCWS.js";
|
|
89
81
|
import "../chunk-ZMCAQFC6.js";
|
|
90
82
|
import "../chunk-PO5NJLKW.js";
|
|
91
|
-
import "../chunk-
|
|
92
|
-
import "../chunk-
|
|
93
|
-
import "../chunk-
|
|
94
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-7Y2G2JDF.js";
|
|
84
|
+
import "../chunk-7UBU5MKY.js";
|
|
85
|
+
import "../chunk-IX5TIDMO.js";
|
|
86
|
+
import "../chunk-FGJPZTJP.js";
|
|
95
87
|
import "../chunk-FOC33AUT.js";
|
|
96
88
|
import "../chunk-ACWTDOWH.js";
|
|
97
89
|
import "../chunk-KX3WMRSO.js";
|
|
98
90
|
import "../chunk-4EKGRFUQ.js";
|
|
99
|
-
import "../chunk-
|
|
100
|
-
import "../chunk-
|
|
101
|
-
import "../chunk-
|
|
102
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-KODQP6CN.js";
|
|
92
|
+
import "../chunk-UZ4TRHF3.js";
|
|
93
|
+
import "../chunk-PF5SD6AF.js";
|
|
94
|
+
import "../chunk-5XTJZUMA.js";
|
|
103
95
|
import "../chunk-272LB55I.js";
|
|
104
96
|
import "../chunk-V5GQM24U.js";
|
|
105
97
|
import "../chunk-VNJ4NNZJ.js";
|
|
106
98
|
import "../chunk-6AFSPHQC.js";
|
|
107
|
-
import "../chunk-
|
|
108
|
-
import "../chunk-
|
|
109
|
-
import "../chunk-
|
|
110
|
-
import "../chunk-
|
|
99
|
+
import "../chunk-C4CFIKAL.js";
|
|
100
|
+
import "../chunk-TA7W237X.js";
|
|
101
|
+
import "../chunk-TSYLKHL2.js";
|
|
102
|
+
import "../chunk-ZE4CS3ZS.js";
|
|
111
103
|
import "../chunk-ZLYJ3AKU.js";
|
|
112
104
|
import "../chunk-57MJ26OG.js";
|
|
113
105
|
import "../chunk-IYEEAOW3.js";
|
|
114
106
|
import "../chunk-4FM66VF3.js";
|
|
115
|
-
import "../chunk-
|
|
116
|
-
import "../chunk-
|
|
117
|
-
import "../chunk-
|
|
118
|
-
import "../chunk-
|
|
119
|
-
import "../chunk-DW6LFUI2.js";
|
|
107
|
+
import "../chunk-NETNVCI3.js";
|
|
108
|
+
import "../chunk-WNQ7KWL6.js";
|
|
109
|
+
import "../chunk-O6YPHO6M.js";
|
|
110
|
+
import "../chunk-2ITITIZK.js";
|
|
120
111
|
import "../chunk-6AC5YUBP.js";
|
|
121
112
|
import "../chunk-ZQXRHPB6.js";
|
|
122
113
|
import "../chunk-Q3YLC4JA.js";
|
|
123
|
-
import "../chunk-
|
|
114
|
+
import "../chunk-2IXAUIKR.js";
|
|
115
|
+
import "../chunk-NESZTWYE.js";
|
|
116
|
+
import "../chunk-WHIOQKWN.js";
|
|
117
|
+
import "../chunk-CJDIDKDD.js";
|
|
118
|
+
import "../chunk-SGI4RWHJ.js";
|
|
124
119
|
import "../chunk-36RZWQ7S.js";
|
|
125
120
|
import "../chunk-UCOL37RG.js";
|
|
126
121
|
import "../chunk-YRFC56VN.js";
|
|
127
122
|
import "../chunk-U2VV6SRJ.js";
|
|
128
|
-
import "../chunk-
|
|
129
|
-
import "../chunk-
|
|
123
|
+
import "../chunk-C5PYKGR6.js";
|
|
124
|
+
import "../chunk-VI6WTKMV.js";
|
|
125
|
+
import "../chunk-QW2INB5A.js";
|
|
126
|
+
import "../chunk-JLD7MGLC.js";
|
|
127
|
+
import "../chunk-DW6LFUI2.js";
|
|
128
|
+
import "../chunk-PG2W2HVB.js";
|
|
129
|
+
import "../chunk-IBZBPQMZ.js";
|
|
130
130
|
import "../chunk-ENBUKLVT.js";
|
|
131
131
|
import "../chunk-JSGRNWSB.js";
|
|
132
|
-
import "../chunk-
|
|
133
|
-
import "../chunk-
|
|
132
|
+
import "../chunk-FO7I4E45.js";
|
|
133
|
+
import "../chunk-XUWFUTR4.js";
|
|
134
134
|
import "../chunk-LOPKRCGI.js";
|
|
135
135
|
export {
|
|
136
136
|
PhoneInput
|
package/dist/components/Pill.cjs
CHANGED
|
@@ -114,7 +114,7 @@ var colors = baseColors;
|
|
|
114
114
|
function isColorKey(key) {
|
|
115
115
|
return key in colors;
|
|
116
116
|
}
|
|
117
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
117
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
118
118
|
const bgRGB = hexToRGB(bgHex);
|
|
119
119
|
const hcRGB = hexToRGB(defaultHex);
|
|
120
120
|
if (!bgRGB || !hcRGB)
|
|
@@ -258,7 +258,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
258
258
|
// src/styles/buttons.tsx
|
|
259
259
|
var buttonsThemeBase = {
|
|
260
260
|
defaultSize: "Small",
|
|
261
|
-
|
|
261
|
+
defaultTypographyType: "Body Strong",
|
|
262
|
+
defaultColor: "text",
|
|
262
263
|
defaultBorderRadius: 32,
|
|
263
264
|
defaultBorderWidth: 1,
|
|
264
265
|
defaultBackgroundColor: "bg",
|
|
@@ -282,6 +283,7 @@ var buttonsThemeBase = {
|
|
|
282
283
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
283
284
|
kinds: {
|
|
284
285
|
primary: {
|
|
286
|
+
defaultColor: "bg",
|
|
285
287
|
defaultBorderWidth: 0,
|
|
286
288
|
defaultBackgroundColor: "c9Neutral",
|
|
287
289
|
defaultBorderColor: "c9Neutral",
|
|
@@ -309,7 +311,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
309
311
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
310
312
|
},
|
|
311
313
|
blue39: {
|
|
312
|
-
defaultBorderColor: "blue39"
|
|
314
|
+
defaultBorderColor: "blue39",
|
|
315
|
+
defaultColor: "gray98"
|
|
316
|
+
},
|
|
317
|
+
blue43: {
|
|
318
|
+
defaultColor: "white"
|
|
319
|
+
},
|
|
320
|
+
green33: {
|
|
321
|
+
defaultColor: "white"
|
|
322
|
+
},
|
|
323
|
+
purple55: {
|
|
324
|
+
defaultColor: "white"
|
|
325
|
+
},
|
|
326
|
+
danger: {
|
|
327
|
+
defaultColor: "white"
|
|
313
328
|
}
|
|
314
329
|
}
|
|
315
330
|
});
|
|
@@ -3500,7 +3515,8 @@ var baseThemeColors = {
|
|
|
3500
3515
|
success: colors.success,
|
|
3501
3516
|
text: colors.black,
|
|
3502
3517
|
vlcNeutral: colors.gray95,
|
|
3503
|
-
warning: colors.warning
|
|
3518
|
+
warning: colors.warning,
|
|
3519
|
+
inputBackground: colors.white
|
|
3504
3520
|
};
|
|
3505
3521
|
var themeOrColorKeyValues = [
|
|
3506
3522
|
...Object.keys(baseThemeColors),
|
|
@@ -3548,7 +3564,8 @@ var darkBaseTheme = {
|
|
|
3548
3564
|
vlcNeutral: colors.gray20,
|
|
3549
3565
|
warning: colors.warning,
|
|
3550
3566
|
buttons: defaultButtonsTheme,
|
|
3551
|
-
loading: "LoadingSpinner"
|
|
3567
|
+
loading: "LoadingSpinner",
|
|
3568
|
+
inputBackground: colors.black
|
|
3552
3569
|
};
|
|
3553
3570
|
var lightTheme = extend(lightBaseTheme, {
|
|
3554
3571
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3587,6 +3604,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3587
3604
|
secondary: colors.grayBlue43,
|
|
3588
3605
|
text: colors.grayBlue9,
|
|
3589
3606
|
link: colors.blue39,
|
|
3607
|
+
inputBackground: colors.white,
|
|
3590
3608
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3591
3609
|
main: "Manrope",
|
|
3592
3610
|
code: "Monaco"
|
|
@@ -3631,28 +3649,30 @@ var bridgeBaseSettings = {
|
|
|
3631
3649
|
code: "Monaco"
|
|
3632
3650
|
}),
|
|
3633
3651
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3634
|
-
|
|
3652
|
+
defaultTypographyType: "Title",
|
|
3635
3653
|
defaultSize: "Medium",
|
|
3636
3654
|
defaultBorderRadius: 8,
|
|
3637
3655
|
defaultBorderWidth: 0,
|
|
3656
|
+
defaultPaddingsY: {
|
|
3657
|
+
ExtraSmall: 14,
|
|
3658
|
+
Small: 14,
|
|
3659
|
+
Schmedium: 14,
|
|
3660
|
+
Medium: 14,
|
|
3661
|
+
Mlarge: 14,
|
|
3662
|
+
Large: 14
|
|
3663
|
+
},
|
|
3638
3664
|
kinds: {
|
|
3639
3665
|
primary: {
|
|
3666
|
+
defaultColor: "bg",
|
|
3640
3667
|
defaultBackgroundColor: "blue39",
|
|
3641
3668
|
defaultHoverBackgroundColor: "blue37"
|
|
3642
3669
|
},
|
|
3643
3670
|
ghost: {
|
|
3671
|
+
defaultColor: "secondary",
|
|
3644
3672
|
defaultBackgroundColor: "transparent",
|
|
3645
3673
|
defaultBorderWidth: 0,
|
|
3646
3674
|
defaultHoverBackgroundColor: "transparent",
|
|
3647
|
-
defaultHoverBorderColor: "transparent"
|
|
3648
|
-
defaultPaddingsY: {
|
|
3649
|
-
ExtraSmall: 0,
|
|
3650
|
-
Small: 0,
|
|
3651
|
-
Schmedium: 0,
|
|
3652
|
-
Medium: 0,
|
|
3653
|
-
Mlarge: 0,
|
|
3654
|
-
Large: 0
|
|
3655
|
-
}
|
|
3675
|
+
defaultHoverBorderColor: "transparent"
|
|
3656
3676
|
},
|
|
3657
3677
|
secondary: {
|
|
3658
3678
|
defaultBackgroundColor: "transparent",
|
|
@@ -3669,7 +3689,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3669
3689
|
bg: colors.gray98,
|
|
3670
3690
|
smBg: colors.gray98,
|
|
3671
3691
|
text: colors.grayBlue9,
|
|
3672
|
-
secondary: colors.grayBlue43
|
|
3692
|
+
secondary: colors.grayBlue43,
|
|
3693
|
+
inputBackground: colors.white
|
|
3673
3694
|
}));
|
|
3674
3695
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3675
3696
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4291,8 +4312,8 @@ function ArrowUpRightCircleFill() {
|
|
|
4291
4312
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
4292
4313
|
"path",
|
|
4293
4314
|
{
|
|
4294
|
-
|
|
4295
|
-
|
|
4315
|
+
fillRule: "evenodd",
|
|
4316
|
+
clipRule: "evenodd",
|
|
4296
4317
|
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",
|
|
4297
4318
|
fill: "black"
|
|
4298
4319
|
}
|
|
@@ -5193,8 +5214,8 @@ function Figma() {
|
|
|
5193
5214
|
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5194
5215
|
"path",
|
|
5195
5216
|
{
|
|
5196
|
-
|
|
5197
|
-
|
|
5217
|
+
fillRule: "evenodd",
|
|
5218
|
+
clipRule: "evenodd",
|
|
5198
5219
|
d: "M8.01074 9.04831C8.01074 5.43178 10.9425 2.5 14.5591 2.5L25.7952 2.5C29.4118 2.5 32.3435 5.43178 32.3435 9.04831C32.3435 11.3383 31.1681 13.3537 29.3876 14.5242C31.1681 15.6947 32.3435 17.7102 32.3435 20.0001C32.3435 23.6167 29.4118 26.5485 25.7952 26.5485H25.653C23.9575 26.5485 22.4126 25.9041 21.2496 24.847V30.8806C21.2496 34.5453 18.2412 37.5 14.5944 37.5C10.9868 37.5 8.01074 34.5772 8.01074 30.9517C8.01074 28.6617 9.18619 26.6463 10.9666 25.476C9.18618 24.3055 8.01074 22.2901 8.01074 20.0001C8.01074 17.7102 9.1862 15.6947 10.9667 14.5242C9.18621 13.3537 8.01074 11.3383 8.01074 9.04831ZM14.5591 13.4517C12.1272 13.4517 10.1557 11.4802 10.1557 9.04831C10.1557 6.61641 12.1272 4.64497 14.5591 4.64497L19.1047 4.64497V13.4517H14.5591ZM19.1047 15.5966H14.5591C12.1272 15.5966 10.1557 17.5682 10.1557 20.0001C10.1557 22.4321 12.1272 24.4035 14.5591 24.4035H19.1047V15.5966ZM19.1047 26.5485H14.5591C12.1271 26.5485 10.1557 28.5198 10.1557 30.9517C10.1557 33.3746 12.1535 35.355 14.5944 35.355C17.0746 35.355 19.1047 33.3428 19.1047 30.8806V26.5485ZM25.7952 15.5966L25.653 15.5968C23.2211 15.5968 21.2496 17.5682 21.2496 20.0001C21.2496 22.4321 23.2211 24.4035 25.653 24.4035H25.7952C28.2271 24.4035 30.1986 22.4321 30.1986 20.0001C30.1986 17.5682 28.227 15.5967 25.7952 15.5966C25.7953 15.5966 25.7952 15.5966 25.7952 15.5966ZM25.7952 14.5242V13.4517H21.2496V4.64497H25.7952C28.2271 4.64497 30.1986 6.61641 30.1986 9.04831C30.1986 11.4802 28.2271 13.4517 25.7952 13.4517",
|
|
5199
5220
|
fill: "black"
|
|
5200
5221
|
}
|
|
@@ -7738,7 +7759,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7738
7759
|
${({ theme, fontColor }) => {
|
|
7739
7760
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7740
7761
|
return `
|
|
7741
|
-
|
|
7762
|
+
svg, path {
|
|
7742
7763
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7743
7764
|
|
|
7744
7765
|
/*
|