@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
|
@@ -136,7 +136,7 @@ var colors = baseColors;
|
|
|
136
136
|
function isColorKey(key) {
|
|
137
137
|
return key in colors;
|
|
138
138
|
}
|
|
139
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
139
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
140
140
|
const bgRGB = hexToRGB(bgHex);
|
|
141
141
|
const hcRGB = hexToRGB(defaultHex);
|
|
142
142
|
if (!bgRGB || !hcRGB)
|
|
@@ -277,7 +277,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
277
277
|
// src/styles/buttons.tsx
|
|
278
278
|
var buttonsThemeBase = {
|
|
279
279
|
defaultSize: "Small",
|
|
280
|
-
|
|
280
|
+
defaultTypographyType: "Body Strong",
|
|
281
|
+
defaultColor: "text",
|
|
281
282
|
defaultBorderRadius: 32,
|
|
282
283
|
defaultBorderWidth: 1,
|
|
283
284
|
defaultBackgroundColor: "bg",
|
|
@@ -301,6 +302,7 @@ var buttonsThemeBase = {
|
|
|
301
302
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
302
303
|
kinds: {
|
|
303
304
|
primary: {
|
|
305
|
+
defaultColor: "bg",
|
|
304
306
|
defaultBorderWidth: 0,
|
|
305
307
|
defaultBackgroundColor: "c9Neutral",
|
|
306
308
|
defaultBorderColor: "c9Neutral",
|
|
@@ -328,7 +330,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
328
330
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
329
331
|
},
|
|
330
332
|
blue39: {
|
|
331
|
-
defaultBorderColor: "blue39"
|
|
333
|
+
defaultBorderColor: "blue39",
|
|
334
|
+
defaultColor: "gray98"
|
|
335
|
+
},
|
|
336
|
+
blue43: {
|
|
337
|
+
defaultColor: "white"
|
|
338
|
+
},
|
|
339
|
+
green33: {
|
|
340
|
+
defaultColor: "white"
|
|
341
|
+
},
|
|
342
|
+
purple55: {
|
|
343
|
+
defaultColor: "white"
|
|
344
|
+
},
|
|
345
|
+
danger: {
|
|
346
|
+
defaultColor: "white"
|
|
332
347
|
}
|
|
333
348
|
}
|
|
334
349
|
});
|
|
@@ -3571,7 +3586,8 @@ var baseThemeColors = {
|
|
|
3571
3586
|
success: colors.success,
|
|
3572
3587
|
text: colors.black,
|
|
3573
3588
|
vlcNeutral: colors.gray95,
|
|
3574
|
-
warning: colors.warning
|
|
3589
|
+
warning: colors.warning,
|
|
3590
|
+
inputBackground: colors.white
|
|
3575
3591
|
};
|
|
3576
3592
|
var themeOrColorKeyValues = [
|
|
3577
3593
|
...Object.keys(baseThemeColors),
|
|
@@ -3619,7 +3635,8 @@ var darkBaseTheme = {
|
|
|
3619
3635
|
vlcNeutral: colors.gray20,
|
|
3620
3636
|
warning: colors.warning,
|
|
3621
3637
|
buttons: defaultButtonsTheme,
|
|
3622
|
-
loading: "LoadingSpinner"
|
|
3638
|
+
loading: "LoadingSpinner",
|
|
3639
|
+
inputBackground: colors.black
|
|
3623
3640
|
};
|
|
3624
3641
|
var lightTheme = extend(lightBaseTheme, {
|
|
3625
3642
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3658,6 +3675,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3658
3675
|
secondary: colors.grayBlue43,
|
|
3659
3676
|
text: colors.grayBlue9,
|
|
3660
3677
|
link: colors.blue39,
|
|
3678
|
+
inputBackground: colors.white,
|
|
3661
3679
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3662
3680
|
main: "Manrope",
|
|
3663
3681
|
code: "Monaco"
|
|
@@ -3702,28 +3720,30 @@ var bridgeBaseSettings = {
|
|
|
3702
3720
|
code: "Monaco"
|
|
3703
3721
|
}),
|
|
3704
3722
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3705
|
-
|
|
3723
|
+
defaultTypographyType: "Title",
|
|
3706
3724
|
defaultSize: "Medium",
|
|
3707
3725
|
defaultBorderRadius: 8,
|
|
3708
3726
|
defaultBorderWidth: 0,
|
|
3727
|
+
defaultPaddingsY: {
|
|
3728
|
+
ExtraSmall: 14,
|
|
3729
|
+
Small: 14,
|
|
3730
|
+
Schmedium: 14,
|
|
3731
|
+
Medium: 14,
|
|
3732
|
+
Mlarge: 14,
|
|
3733
|
+
Large: 14
|
|
3734
|
+
},
|
|
3709
3735
|
kinds: {
|
|
3710
3736
|
primary: {
|
|
3737
|
+
defaultColor: "bg",
|
|
3711
3738
|
defaultBackgroundColor: "blue39",
|
|
3712
3739
|
defaultHoverBackgroundColor: "blue37"
|
|
3713
3740
|
},
|
|
3714
3741
|
ghost: {
|
|
3742
|
+
defaultColor: "secondary",
|
|
3715
3743
|
defaultBackgroundColor: "transparent",
|
|
3716
3744
|
defaultBorderWidth: 0,
|
|
3717
3745
|
defaultHoverBackgroundColor: "transparent",
|
|
3718
|
-
defaultHoverBorderColor: "transparent"
|
|
3719
|
-
defaultPaddingsY: {
|
|
3720
|
-
ExtraSmall: 0,
|
|
3721
|
-
Small: 0,
|
|
3722
|
-
Schmedium: 0,
|
|
3723
|
-
Medium: 0,
|
|
3724
|
-
Mlarge: 0,
|
|
3725
|
-
Large: 0
|
|
3726
|
-
}
|
|
3746
|
+
defaultHoverBorderColor: "transparent"
|
|
3727
3747
|
},
|
|
3728
3748
|
secondary: {
|
|
3729
3749
|
defaultBackgroundColor: "transparent",
|
|
@@ -3740,7 +3760,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3740
3760
|
bg: colors.gray98,
|
|
3741
3761
|
smBg: colors.gray98,
|
|
3742
3762
|
text: colors.grayBlue9,
|
|
3743
|
-
secondary: colors.grayBlue43
|
|
3763
|
+
secondary: colors.grayBlue43,
|
|
3764
|
+
inputBackground: colors.white
|
|
3744
3765
|
}));
|
|
3745
3766
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3746
3767
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4421,8 +4442,8 @@ function ArrowUpRightCircleFill() {
|
|
|
4421
4442
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
4422
4443
|
"path",
|
|
4423
4444
|
{
|
|
4424
|
-
|
|
4425
|
-
|
|
4445
|
+
fillRule: "evenodd",
|
|
4446
|
+
clipRule: "evenodd",
|
|
4426
4447
|
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",
|
|
4427
4448
|
fill: "black"
|
|
4428
4449
|
}
|
|
@@ -5323,8 +5344,8 @@ function Figma() {
|
|
|
5323
5344
|
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5324
5345
|
"path",
|
|
5325
5346
|
{
|
|
5326
|
-
|
|
5327
|
-
|
|
5347
|
+
fillRule: "evenodd",
|
|
5348
|
+
clipRule: "evenodd",
|
|
5328
5349
|
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",
|
|
5329
5350
|
fill: "black"
|
|
5330
5351
|
}
|
|
@@ -7868,7 +7889,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7868
7889
|
${({ theme, fontColor }) => {
|
|
7869
7890
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7870
7891
|
return `
|
|
7871
|
-
|
|
7892
|
+
svg, path {
|
|
7872
7893
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7873
7894
|
|
|
7874
7895
|
/*
|
|
@@ -8023,6 +8044,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
8023
8044
|
Link,
|
|
8024
8045
|
{
|
|
8025
8046
|
to: node.to,
|
|
8047
|
+
newTab: !!node.newTab,
|
|
8026
8048
|
children: node.text
|
|
8027
8049
|
},
|
|
8028
8050
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -6,7 +6,7 @@ import './typography/renderTypography.cjs';
|
|
|
6
6
|
import './typography/Code.cjs';
|
|
7
7
|
import '@emotion/styled';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '../buttons-
|
|
9
|
+
import '../buttons-36cdd0fe.js';
|
|
10
10
|
import '@emotion/css';
|
|
11
11
|
import '../styles/colors.cjs';
|
|
12
12
|
import '../utils/toNonTypographicReactNodes.cjs';
|
|
@@ -6,7 +6,7 @@ import './typography/renderTypography.js';
|
|
|
6
6
|
import './typography/Code.js';
|
|
7
7
|
import '@emotion/styled';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '../buttons-
|
|
9
|
+
import '../buttons-35280bfe.js';
|
|
10
10
|
import '@emotion/css';
|
|
11
11
|
import '../styles/colors.js';
|
|
12
12
|
import '../utils/toNonTypographicReactNodes.js';
|
|
@@ -1,147 +1,147 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Toasts
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-7FHOKVKJ.js";
|
|
4
|
+
import "../chunk-LIQSJ5R7.js";
|
|
5
|
+
import "../chunk-VXKNN4SF.js";
|
|
6
|
+
import "../chunk-BDZ46Z2I.js";
|
|
7
|
+
import "../chunk-B6S7Y4K7.js";
|
|
8
|
+
import "../chunk-GSKTHUQJ.js";
|
|
9
|
+
import "../chunk-WGKUDRZ7.js";
|
|
10
|
+
import "../chunk-2AGBCGOW.js";
|
|
11
|
+
import "../chunk-MRGHRTKA.js";
|
|
12
|
+
import "../chunk-35PJW7RT.js";
|
|
13
|
+
import "../chunk-GWHKALYQ.js";
|
|
14
|
+
import "../chunk-WTMJTGW4.js";
|
|
15
|
+
import "../chunk-CRTTTIAD.js";
|
|
14
16
|
import "../chunk-YMNSXZ5D.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-MGXWKJDU.js";
|
|
17
|
-
import "../chunk-QBJ57KNQ.js";
|
|
17
|
+
import "../chunk-XDP7GCYE.js";
|
|
18
18
|
import "../chunk-OPV246QW.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-AAFUVYVP.js";
|
|
20
|
+
import "../chunk-4C2TISN7.js";
|
|
21
|
+
import "../chunk-LTCJ6LNO.js";
|
|
21
22
|
import "../chunk-55OQPFLF.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-UAFWDZRG.js";
|
|
23
|
+
import "../chunk-7WDAN3OC.js";
|
|
24
|
+
import "../chunk-I3FI3FNP.js";
|
|
25
25
|
import "../chunk-EDN2QDCB.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-6B3T5X4O.js";
|
|
28
|
-
import "../chunk-3BSQFYGE.js";
|
|
29
|
-
import "../chunk-XBKRPEVT.js";
|
|
30
|
-
import "../chunk-5522HZOC.js";
|
|
31
|
-
import "../chunk-PJMGLSAW.js";
|
|
32
|
-
import "../chunk-FRZBZ7PD.js";
|
|
33
|
-
import "../chunk-3CHMNLGD.js";
|
|
26
|
+
import "../chunk-FT62PIPN.js";
|
|
34
27
|
import "../chunk-5ZDDVLS6.js";
|
|
35
28
|
import "../chunk-BCXQD6ZP.js";
|
|
36
29
|
import "../chunk-JWMMGYNV.js";
|
|
37
30
|
import "../chunk-MASPP6U5.js";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-F3YK2EER.js";
|
|
31
|
+
import "../chunk-6B3T5X4O.js";
|
|
32
|
+
import "../chunk-3BSQFYGE.js";
|
|
33
|
+
import "../chunk-XBKRPEVT.js";
|
|
42
34
|
import "../chunk-5XZ7ZEC7.js";
|
|
43
35
|
import "../chunk-H52K5UTT.js";
|
|
44
36
|
import "../chunk-3KOUSJV6.js";
|
|
45
37
|
import "../chunk-L52XQKBX.js";
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-5522HZOC.js";
|
|
39
|
+
import "../chunk-PJMGLSAW.js";
|
|
40
|
+
import "../chunk-FRZBZ7PD.js";
|
|
41
|
+
import "../chunk-3CHMNLGD.js";
|
|
50
42
|
import "../chunk-VRG7HI7X.js";
|
|
51
43
|
import "../chunk-AFROYZKQ.js";
|
|
52
44
|
import "../chunk-TAEOGBWY.js";
|
|
53
45
|
import "../chunk-LQ6VW2FH.js";
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-RPYB66KY.js";
|
|
47
|
+
import "../chunk-GOURVX6U.js";
|
|
48
|
+
import "../chunk-HPIVJCNC.js";
|
|
49
|
+
import "../chunk-F3YK2EER.js";
|
|
58
50
|
import "../chunk-MXCYWGHN.js";
|
|
59
51
|
import "../chunk-ZXACVTYJ.js";
|
|
60
52
|
import "../chunk-WDFOXMFH.js";
|
|
61
53
|
import "../chunk-E6ZB6OJD.js";
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-J5NYACJ7.js";
|
|
55
|
+
import "../chunk-CKOW6ME2.js";
|
|
56
|
+
import "../chunk-BX32TDWY.js";
|
|
57
|
+
import "../chunk-IPD2D6QD.js";
|
|
66
58
|
import "../chunk-G3AHVMGL.js";
|
|
67
59
|
import "../chunk-XHLHQC5Q.js";
|
|
68
60
|
import "../chunk-QBM7XXVQ.js";
|
|
69
61
|
import "../chunk-5EFICY5Y.js";
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-3YVEKRB3.js";
|
|
63
|
+
import "../chunk-M4ORU6SJ.js";
|
|
64
|
+
import "../chunk-2TGRHBA5.js";
|
|
65
|
+
import "../chunk-H5R5ZG3Z.js";
|
|
74
66
|
import "../chunk-W5QTCRAG.js";
|
|
75
67
|
import "../chunk-CPHTE26N.js";
|
|
76
68
|
import "../chunk-N5LIZ3K6.js";
|
|
77
69
|
import "../chunk-LHSGZZVE.js";
|
|
78
|
-
import "../chunk-
|
|
79
|
-
import "../chunk-
|
|
80
|
-
import "../chunk-
|
|
81
|
-
import "../chunk-
|
|
70
|
+
import "../chunk-M2H6AEUK.js";
|
|
71
|
+
import "../chunk-XXE3N5AE.js";
|
|
72
|
+
import "../chunk-3XGQJIDN.js";
|
|
73
|
+
import "../chunk-GJAG2D3Y.js";
|
|
82
74
|
import "../chunk-YO5J3T3L.js";
|
|
83
75
|
import "../chunk-XGUCS6ED.js";
|
|
84
76
|
import "../chunk-36ATWJ72.js";
|
|
85
77
|
import "../chunk-K6KKTYTR.js";
|
|
86
|
-
import "../chunk-
|
|
87
|
-
import "../chunk-
|
|
88
|
-
import "../chunk-
|
|
89
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-677VQ4DY.js";
|
|
79
|
+
import "../chunk-BDCKN7K3.js";
|
|
80
|
+
import "../chunk-LDOAR276.js";
|
|
81
|
+
import "../chunk-SIWCH44U.js";
|
|
90
82
|
import "../chunk-24JOGF62.js";
|
|
91
83
|
import "../chunk-55PXMNOG.js";
|
|
92
84
|
import "../chunk-FLREHHOH.js";
|
|
93
85
|
import "../chunk-RCIZUC7L.js";
|
|
94
|
-
import "../chunk-
|
|
95
|
-
import "../chunk-
|
|
96
|
-
import "../chunk-
|
|
97
|
-
import "../chunk-
|
|
86
|
+
import "../chunk-QAWK7SU6.js";
|
|
87
|
+
import "../chunk-72CHU34B.js";
|
|
88
|
+
import "../chunk-5EIYTCCK.js";
|
|
89
|
+
import "../chunk-OSOHJUPD.js";
|
|
98
90
|
import "../chunk-262GCJFO.js";
|
|
99
91
|
import "../chunk-GY5XKCWS.js";
|
|
100
92
|
import "../chunk-ZMCAQFC6.js";
|
|
101
93
|
import "../chunk-PO5NJLKW.js";
|
|
102
|
-
import "../chunk-
|
|
103
|
-
import "../chunk-
|
|
104
|
-
import "../chunk-
|
|
105
|
-
import "../chunk-
|
|
94
|
+
import "../chunk-7Y2G2JDF.js";
|
|
95
|
+
import "../chunk-7UBU5MKY.js";
|
|
96
|
+
import "../chunk-IX5TIDMO.js";
|
|
97
|
+
import "../chunk-FGJPZTJP.js";
|
|
106
98
|
import "../chunk-FOC33AUT.js";
|
|
107
99
|
import "../chunk-ACWTDOWH.js";
|
|
108
100
|
import "../chunk-KX3WMRSO.js";
|
|
109
101
|
import "../chunk-4EKGRFUQ.js";
|
|
110
|
-
import "../chunk-
|
|
111
|
-
import "../chunk-
|
|
112
|
-
import "../chunk-
|
|
113
|
-
import "../chunk-
|
|
102
|
+
import "../chunk-KODQP6CN.js";
|
|
103
|
+
import "../chunk-UZ4TRHF3.js";
|
|
104
|
+
import "../chunk-PF5SD6AF.js";
|
|
105
|
+
import "../chunk-5XTJZUMA.js";
|
|
114
106
|
import "../chunk-272LB55I.js";
|
|
115
107
|
import "../chunk-V5GQM24U.js";
|
|
116
108
|
import "../chunk-VNJ4NNZJ.js";
|
|
117
109
|
import "../chunk-6AFSPHQC.js";
|
|
118
|
-
import "../chunk-
|
|
119
|
-
import "../chunk-
|
|
120
|
-
import "../chunk-
|
|
121
|
-
import "../chunk-
|
|
110
|
+
import "../chunk-C4CFIKAL.js";
|
|
111
|
+
import "../chunk-TA7W237X.js";
|
|
112
|
+
import "../chunk-TSYLKHL2.js";
|
|
113
|
+
import "../chunk-ZE4CS3ZS.js";
|
|
122
114
|
import "../chunk-ZLYJ3AKU.js";
|
|
123
115
|
import "../chunk-57MJ26OG.js";
|
|
124
116
|
import "../chunk-IYEEAOW3.js";
|
|
125
117
|
import "../chunk-4FM66VF3.js";
|
|
126
|
-
import "../chunk-
|
|
127
|
-
import "../chunk-
|
|
128
|
-
import "../chunk-
|
|
129
|
-
import "../chunk-
|
|
130
|
-
import "../chunk-DW6LFUI2.js";
|
|
118
|
+
import "../chunk-NETNVCI3.js";
|
|
119
|
+
import "../chunk-WNQ7KWL6.js";
|
|
120
|
+
import "../chunk-O6YPHO6M.js";
|
|
121
|
+
import "../chunk-2ITITIZK.js";
|
|
131
122
|
import "../chunk-6AC5YUBP.js";
|
|
132
123
|
import "../chunk-ZQXRHPB6.js";
|
|
133
124
|
import "../chunk-Q3YLC4JA.js";
|
|
134
|
-
import "../chunk-
|
|
125
|
+
import "../chunk-2IXAUIKR.js";
|
|
126
|
+
import "../chunk-NESZTWYE.js";
|
|
127
|
+
import "../chunk-WHIOQKWN.js";
|
|
128
|
+
import "../chunk-CJDIDKDD.js";
|
|
129
|
+
import "../chunk-SGI4RWHJ.js";
|
|
135
130
|
import "../chunk-36RZWQ7S.js";
|
|
136
131
|
import "../chunk-UCOL37RG.js";
|
|
137
132
|
import "../chunk-YRFC56VN.js";
|
|
138
133
|
import "../chunk-U2VV6SRJ.js";
|
|
139
|
-
import "../chunk-
|
|
140
|
-
import "../chunk-
|
|
134
|
+
import "../chunk-C5PYKGR6.js";
|
|
135
|
+
import "../chunk-VI6WTKMV.js";
|
|
136
|
+
import "../chunk-QW2INB5A.js";
|
|
137
|
+
import "../chunk-JLD7MGLC.js";
|
|
138
|
+
import "../chunk-DW6LFUI2.js";
|
|
139
|
+
import "../chunk-PG2W2HVB.js";
|
|
140
|
+
import "../chunk-IBZBPQMZ.js";
|
|
141
141
|
import "../chunk-ENBUKLVT.js";
|
|
142
142
|
import "../chunk-JSGRNWSB.js";
|
|
143
|
-
import "../chunk-
|
|
144
|
-
import "../chunk-
|
|
143
|
+
import "../chunk-FO7I4E45.js";
|
|
144
|
+
import "../chunk-XUWFUTR4.js";
|
|
145
145
|
import "../chunk-LOPKRCGI.js";
|
|
146
146
|
export {
|
|
147
147
|
Toasts
|
|
@@ -214,7 +214,7 @@ var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
|
214
214
|
secondary: neutral.black
|
|
215
215
|
});
|
|
216
216
|
var colors = baseColors;
|
|
217
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
217
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
218
218
|
const bgRGB = hexToRGB(bgHex);
|
|
219
219
|
const hcRGB = hexToRGB(defaultHex);
|
|
220
220
|
if (!bgRGB || !hcRGB)
|
|
@@ -255,7 +255,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
255
255
|
// src/styles/buttons.tsx
|
|
256
256
|
var buttonsThemeBase = {
|
|
257
257
|
defaultSize: "Small",
|
|
258
|
-
|
|
258
|
+
defaultTypographyType: "Body Strong",
|
|
259
|
+
defaultColor: "text",
|
|
259
260
|
defaultBorderRadius: 32,
|
|
260
261
|
defaultBorderWidth: 1,
|
|
261
262
|
defaultBackgroundColor: "bg",
|
|
@@ -279,6 +280,7 @@ var buttonsThemeBase = {
|
|
|
279
280
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
280
281
|
kinds: {
|
|
281
282
|
primary: {
|
|
283
|
+
defaultColor: "bg",
|
|
282
284
|
defaultBorderWidth: 0,
|
|
283
285
|
defaultBackgroundColor: "c9Neutral",
|
|
284
286
|
defaultBorderColor: "c9Neutral",
|
|
@@ -306,7 +308,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
306
308
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
307
309
|
},
|
|
308
310
|
blue39: {
|
|
309
|
-
defaultBorderColor: "blue39"
|
|
311
|
+
defaultBorderColor: "blue39",
|
|
312
|
+
defaultColor: "gray98"
|
|
313
|
+
},
|
|
314
|
+
blue43: {
|
|
315
|
+
defaultColor: "white"
|
|
316
|
+
},
|
|
317
|
+
green33: {
|
|
318
|
+
defaultColor: "white"
|
|
319
|
+
},
|
|
320
|
+
purple55: {
|
|
321
|
+
defaultColor: "white"
|
|
322
|
+
},
|
|
323
|
+
danger: {
|
|
324
|
+
defaultColor: "white"
|
|
310
325
|
}
|
|
311
326
|
}
|
|
312
327
|
});
|
|
@@ -3497,7 +3512,8 @@ var baseThemeColors = {
|
|
|
3497
3512
|
success: colors.success,
|
|
3498
3513
|
text: colors.black,
|
|
3499
3514
|
vlcNeutral: colors.gray95,
|
|
3500
|
-
warning: colors.warning
|
|
3515
|
+
warning: colors.warning,
|
|
3516
|
+
inputBackground: colors.white
|
|
3501
3517
|
};
|
|
3502
3518
|
var themeOrColorKeyValues = [
|
|
3503
3519
|
...Object.keys(baseThemeColors),
|
|
@@ -3545,7 +3561,8 @@ var darkBaseTheme = {
|
|
|
3545
3561
|
vlcNeutral: colors.gray20,
|
|
3546
3562
|
warning: colors.warning,
|
|
3547
3563
|
buttons: defaultButtonsTheme,
|
|
3548
|
-
loading: "LoadingSpinner"
|
|
3564
|
+
loading: "LoadingSpinner",
|
|
3565
|
+
inputBackground: colors.black
|
|
3549
3566
|
};
|
|
3550
3567
|
var lightTheme = extend(lightBaseTheme, {
|
|
3551
3568
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3584,6 +3601,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3584
3601
|
secondary: colors.grayBlue43,
|
|
3585
3602
|
text: colors.grayBlue9,
|
|
3586
3603
|
link: colors.blue39,
|
|
3604
|
+
inputBackground: colors.white,
|
|
3587
3605
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3588
3606
|
main: "Manrope",
|
|
3589
3607
|
code: "Monaco"
|
|
@@ -3628,28 +3646,30 @@ var bridgeBaseSettings = {
|
|
|
3628
3646
|
code: "Monaco"
|
|
3629
3647
|
}),
|
|
3630
3648
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3631
|
-
|
|
3649
|
+
defaultTypographyType: "Title",
|
|
3632
3650
|
defaultSize: "Medium",
|
|
3633
3651
|
defaultBorderRadius: 8,
|
|
3634
3652
|
defaultBorderWidth: 0,
|
|
3653
|
+
defaultPaddingsY: {
|
|
3654
|
+
ExtraSmall: 14,
|
|
3655
|
+
Small: 14,
|
|
3656
|
+
Schmedium: 14,
|
|
3657
|
+
Medium: 14,
|
|
3658
|
+
Mlarge: 14,
|
|
3659
|
+
Large: 14
|
|
3660
|
+
},
|
|
3635
3661
|
kinds: {
|
|
3636
3662
|
primary: {
|
|
3663
|
+
defaultColor: "bg",
|
|
3637
3664
|
defaultBackgroundColor: "blue39",
|
|
3638
3665
|
defaultHoverBackgroundColor: "blue37"
|
|
3639
3666
|
},
|
|
3640
3667
|
ghost: {
|
|
3668
|
+
defaultColor: "secondary",
|
|
3641
3669
|
defaultBackgroundColor: "transparent",
|
|
3642
3670
|
defaultBorderWidth: 0,
|
|
3643
3671
|
defaultHoverBackgroundColor: "transparent",
|
|
3644
|
-
defaultHoverBorderColor: "transparent"
|
|
3645
|
-
defaultPaddingsY: {
|
|
3646
|
-
ExtraSmall: 0,
|
|
3647
|
-
Small: 0,
|
|
3648
|
-
Schmedium: 0,
|
|
3649
|
-
Medium: 0,
|
|
3650
|
-
Mlarge: 0,
|
|
3651
|
-
Large: 0
|
|
3652
|
-
}
|
|
3672
|
+
defaultHoverBorderColor: "transparent"
|
|
3653
3673
|
},
|
|
3654
3674
|
secondary: {
|
|
3655
3675
|
defaultBackgroundColor: "transparent",
|
|
@@ -3666,7 +3686,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3666
3686
|
bg: colors.gray98,
|
|
3667
3687
|
smBg: colors.gray98,
|
|
3668
3688
|
text: colors.grayBlue9,
|
|
3669
|
-
secondary: colors.grayBlue43
|
|
3689
|
+
secondary: colors.grayBlue43,
|
|
3690
|
+
inputBackground: colors.white
|
|
3670
3691
|
}));
|
|
3671
3692
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3672
3693
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Toggle,
|
|
3
3
|
ToggleContainer
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-SNFRMD6Z.js";
|
|
5
|
+
import "../chunk-LTCJ6LNO.js";
|
|
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
|
Toggle,
|