@lightsparkdev/ui 1.0.2 → 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 +6 -0
- package/dist/{buttons-e4eb84a2.d.ts → buttons-35280bfe.d.ts} +7 -0
- package/dist/{buttons-b7f56076.d.ts → buttons-36cdd0fe.d.ts} +7 -0
- package/dist/{chunk-GNVEN6UE.js → chunk-2AGBCGOW.js} +2 -2
- package/dist/{chunk-HZ63YB4Y.js → chunk-2XUHQWCJ.js} +3 -3
- package/dist/{chunk-CMQELZES.js → chunk-35PJW7RT.js} +2 -2
- package/dist/{chunk-37RRWSDE.js → chunk-435FPPZK.js} +2 -2
- package/dist/{chunk-55M7XHBZ.js → chunk-4BFBANKF.js} +8 -8
- package/dist/{chunk-VUXU77SU.js → chunk-4C2TISN7.js} +1 -1
- package/dist/{chunk-ZNZAY47J.js → chunk-4JHXRPRB.js} +3 -3
- package/dist/{chunk-XUVCOSIE.js → chunk-54EOEIEN.js} +2 -2
- package/dist/{chunk-BMSSV6NX.js → chunk-5TTLUOJ5.js} +1 -1
- package/dist/{chunk-S6AOKANU.js → chunk-6CNJ5ZCC.js} +4 -4
- package/dist/{chunk-2H7TBKII.js → chunk-7FHOKVKJ.js} +6 -6
- package/dist/{chunk-VYTN6ASZ.js → chunk-7IHNYMFQ.js} +2 -2
- package/dist/{chunk-F6EVBEMN.js → chunk-7N2PFDYE.js} +2 -2
- package/dist/{chunk-KFX7US6Y.js → chunk-7WDAN3OC.js} +1 -1
- package/dist/{chunk-XP3BAAUO.js → chunk-7YY6BH5O.js} +2 -2
- package/dist/{chunk-56QJRFP2.js → chunk-B6S7Y4K7.js} +2 -2
- package/dist/{chunk-SKXCT2FQ.js → chunk-BDZ46Z2I.js} +2 -2
- package/dist/{chunk-EMXTALIX.js → chunk-BENSR2YW.js} +1 -1
- package/dist/{chunk-5H32AOXL.js → chunk-BHP5YL2N.js} +1 -1
- package/dist/{chunk-2XRCGW74.js → chunk-BSH6WRUZ.js} +3 -3
- package/dist/{chunk-WV5AB4ZB.js → chunk-C4KZC45Y.js} +67 -33
- package/dist/{chunk-PNSZAJL7.js → chunk-CRTTTIAD.js} +2 -2
- package/dist/{chunk-CHK5DOMV.js → chunk-DXA3WUSX.js} +2 -2
- package/dist/{chunk-CZQER3QD.js → chunk-E4DUADXU.js} +1 -1
- package/dist/{chunk-CZCPVHVB.js → chunk-GSKTHUQJ.js} +2 -2
- package/dist/{chunk-TM3C4LEG.js → chunk-GWHKALYQ.js} +2 -2
- package/dist/{chunk-5XZJEYHG.js → chunk-HGOGF6I7.js} +1 -1
- package/dist/{chunk-KBYU4ZQ3.js → chunk-I3FI3FNP.js} +3 -3
- package/dist/{chunk-A4JZESAS.js → chunk-IBZBPQMZ.js} +7 -3
- package/dist/{chunk-DNVKN2FG.js → chunk-ILEZ6AWT.js} +3 -3
- package/dist/{chunk-TVLELY54.js → chunk-J3YVJWRG.js} +4 -4
- package/dist/{chunk-467PLJO3.js → chunk-JNNJVBHF.js} +51 -6
- package/dist/{chunk-J7SV67XL.js → chunk-K7FYXGOI.js} +1 -1
- package/dist/{chunk-2JYYREVX.js → chunk-KX5QZXCD.js} +1 -1
- package/dist/{chunk-NYQLPSG3.js → chunk-LGKXPUSI.js} +2 -2
- package/dist/{chunk-AI6DCUWK.js → chunk-LH7GLNMY.js} +1 -1
- package/dist/{chunk-UVGBD7XM.js → chunk-LIQSJ5R7.js} +2 -2
- package/dist/{chunk-W3BAJ3HT.js → chunk-LOL5TJ3H.js} +10 -10
- package/dist/{chunk-6JFJDBV2.js → chunk-LTCJ6LNO.js} +1 -1
- package/dist/{chunk-HRZNVE2K.js → chunk-MRGHRTKA.js} +2 -2
- package/dist/{chunk-HA4AQO3T.js → chunk-MWDDIXIP.js} +1 -1
- package/dist/{chunk-JOQCJPOA.js → chunk-N2NPIZCV.js} +9 -9
- package/dist/{chunk-TM2NGRD2.js → chunk-OKXC33OU.js} +1 -1
- package/dist/{chunk-7NPHOJXD.js → chunk-PG2W2HVB.js} +5 -5
- package/dist/{chunk-SRHSJOES.js → chunk-PQKVR2BR.js} +1 -1
- package/dist/{chunk-YRYVSAWS.js → chunk-QQSV7XJX.js} +1 -1
- package/dist/{chunk-27SFWLPS.js → chunk-RPNTFEXE.js} +1 -1
- package/dist/{chunk-RSAYBOK5.js → chunk-SEZEDINC.js} +3 -3
- package/dist/{chunk-EV6PGQPM.js → chunk-SLKPLSJU.js} +9 -9
- package/dist/{chunk-L6S22JUU.js → chunk-SNFRMD6Z.js} +3 -3
- package/dist/{chunk-OA3BZAST.js → chunk-UH5F35II.js} +3 -3
- package/dist/{chunk-DCFB5MJ7.js → chunk-VXKNN4SF.js} +10 -10
- package/dist/{chunk-UBYBILLK.js → chunk-WGKUDRZ7.js} +2 -2
- package/dist/{chunk-HP4VPMN7.js → chunk-WTMJTGW4.js} +2 -2
- package/dist/{chunk-SGSLTG65.js → chunk-X4TGLNCH.js} +3 -3
- package/dist/{chunk-35WJ3PKH.js → chunk-XB4KQFK2.js} +2 -2
- package/dist/{chunk-6H7PZJ2A.js → chunk-XDP7GCYE.js} +2 -1
- package/dist/{chunk-GGEAODIA.js → chunk-XM2HQVUK.js} +4 -4
- package/dist/{chunk-LL5YLPNM.js → chunk-Y7RQUJUS.js} +5 -5
- package/dist/{chunk-D73OOC3E.js → chunk-YIHC25WB.js} +3 -3
- package/dist/{chunk-UNULJ3P6.js → chunk-YRNEIRHM.js} +4 -4
- package/dist/components/Badge.cjs +9 -4
- package/dist/components/Badge.js +19 -19
- package/dist/components/Banner/Banner.cjs +9 -4
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +18 -18
- package/dist/components/Button.cjs +14 -8
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +20 -20
- package/dist/components/ButtonRow.cjs +14 -8
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +22 -22
- package/dist/components/CardPage.cjs +7 -3
- package/dist/components/CardPage.js +24 -24
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CodeBlock.cjs +12 -7
- package/dist/components/CodeBlock.js +8 -8
- package/dist/components/CodeInput/CodeInput.cjs +8 -4
- package/dist/components/CodeInput/CodeInput.js +6 -6
- package/dist/components/CodeInput/SingleCodeInput.cjs +8 -4
- package/dist/components/CodeInput/SingleCodeInput.js +5 -5
- package/dist/components/Collapsible.cjs +8 -4
- package/dist/components/Collapsible.js +5 -5
- package/dist/components/CommaNumberInput.cjs +13 -8
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +11 -11
- package/dist/components/ContentTable.cjs +8 -4
- package/dist/components/ContentTable.js +4 -4
- package/dist/components/CopyToClipboardButton.cjs +12 -7
- package/dist/components/CopyToClipboardButton.js +6 -6
- package/dist/components/CurrencyAmount.cjs +8 -4
- package/dist/components/CurrencyAmount.js +4 -4
- package/dist/components/Drawer.cjs +185 -143
- package/dist/components/Drawer.d.cts +2 -0
- package/dist/components/Drawer.d.ts +2 -0
- package/dist/components/Drawer.js +21 -21
- package/dist/components/Dropdown.cjs +12 -7
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +5 -5
- package/dist/components/FileInput.cjs +8 -4
- package/dist/components/FileInput.js +10 -10
- package/dist/components/GradientCardHeader.js +5 -5
- package/dist/components/Icon/Icon.cjs +8 -4
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +3 -3
- package/dist/components/IconWithCircleBackground.cjs +8 -4
- package/dist/components/IconWithCircleBackground.js +59 -59
- package/dist/components/InfoIconTooltip.cjs +13 -7
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +19 -19
- package/dist/components/LightsparkProvider.cjs +7 -3
- package/dist/components/LightsparkProvider.js +4 -4
- package/dist/components/Loading.cjs +8 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Modal.cjs +111 -36
- package/dist/components/Modal.d.cts +14 -8
- package/dist/components/Modal.d.ts +14 -8
- package/dist/components/Modal.js +59 -59
- package/dist/components/PageSection/PageSection.cjs +13 -7
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +29 -29
- package/dist/components/PageSection/PageSectionNav.cjs +9 -4
- package/dist/components/PageSection/PageSectionNav.js +20 -20
- package/dist/components/PhoneInput.cjs +13 -8
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +11 -11
- package/dist/components/Pill.cjs +8 -4
- package/dist/components/Pill.js +7 -7
- package/dist/components/ProgressBar.cjs +7 -3
- package/dist/components/ProgressBar.js +3 -3
- package/dist/components/Radio.cjs +9 -4
- package/dist/components/Radio.js +19 -19
- package/dist/components/SecretContainer.cjs +12 -7
- package/dist/components/SecretContainer.js +7 -7
- package/dist/components/StatusIndicator.js +4 -4
- package/dist/components/TextButton.cjs +9 -4
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +19 -19
- package/dist/components/TextIconAligner.cjs +9 -4
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +17 -17
- package/dist/components/TextInput.cjs +13 -8
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +10 -10
- package/dist/components/Toasts.cjs +9 -4
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +20 -20
- package/dist/components/Toggle.cjs +7 -3
- package/dist/components/Toggle.js +4 -4
- package/dist/components/Tooltip.cjs +11 -6
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/UnstyledButton.js +3 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +8 -4
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +8 -8
- package/dist/components/documentation/DocsBodyParagraph.cjs +7 -3
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +6 -6
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +7 -3
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
- package/dist/components/documentation/DocsHeadline.cjs +7 -3
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +7 -7
- 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 +18 -2
- package/dist/components/documentation/index.cjs +8 -4
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +8 -8
- package/dist/components/index.cjs +112 -37
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +59 -59
- package/dist/components/typography/Article.cjs +7 -3
- package/dist/components/typography/Article.js +13 -13
- package/dist/components/typography/Body.cjs +9 -4
- package/dist/components/typography/Body.d.cts +1 -1
- package/dist/components/typography/Body.d.ts +1 -1
- package/dist/components/typography/Body.js +6 -6
- package/dist/components/typography/BodyStrong.cjs +9 -4
- package/dist/components/typography/BodyStrong.d.cts +1 -1
- package/dist/components/typography/BodyStrong.d.ts +1 -1
- package/dist/components/typography/BodyStrong.js +6 -6
- package/dist/components/typography/Code.cjs +9 -4
- package/dist/components/typography/Code.d.cts +1 -1
- package/dist/components/typography/Code.d.ts +1 -1
- package/dist/components/typography/Code.js +6 -6
- package/dist/components/typography/Display.cjs +9 -4
- package/dist/components/typography/Display.d.cts +1 -1
- package/dist/components/typography/Display.d.ts +1 -1
- package/dist/components/typography/Display.js +6 -6
- package/dist/components/typography/Headline.cjs +9 -4
- package/dist/components/typography/Headline.d.cts +1 -1
- package/dist/components/typography/Headline.d.ts +1 -1
- package/dist/components/typography/Headline.js +6 -6
- package/dist/components/typography/Label.cjs +9 -4
- package/dist/components/typography/Label.d.cts +1 -1
- package/dist/components/typography/Label.d.ts +1 -1
- package/dist/components/typography/Label.js +6 -6
- package/dist/components/typography/LabelModerate.cjs +9 -4
- package/dist/components/typography/LabelModerate.d.cts +1 -1
- package/dist/components/typography/LabelModerate.d.ts +1 -1
- package/dist/components/typography/LabelModerate.js +6 -6
- package/dist/components/typography/LabelStrong.cjs +9 -4
- package/dist/components/typography/LabelStrong.d.cts +1 -1
- package/dist/components/typography/LabelStrong.d.ts +1 -1
- package/dist/components/typography/LabelStrong.js +6 -6
- package/dist/components/typography/Overline.cjs +9 -4
- package/dist/components/typography/Overline.d.cts +1 -1
- package/dist/components/typography/Overline.d.ts +1 -1
- package/dist/components/typography/Overline.js +6 -6
- package/dist/components/typography/Title.cjs +9 -4
- package/dist/components/typography/Title.d.cts +1 -1
- package/dist/components/typography/Title.d.ts +1 -1
- package/dist/components/typography/Title.js +6 -6
- package/dist/components/typography/index.cjs +9 -4
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +18 -18
- package/dist/components/typography/renderTypography.cjs +9 -4
- package/dist/components/typography/renderTypography.d.cts +1 -1
- package/dist/components/typography/renderTypography.d.ts +1 -1
- package/dist/components/typography/renderTypography.js +16 -16
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/common.cjs +11 -6
- package/dist/styles/common.d.cts +3 -2
- package/dist/styles/common.d.ts +3 -2
- package/dist/styles/common.js +2 -2
- package/dist/styles/fields.cjs +8 -4
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +4 -4
- package/dist/styles/global.cjs +7 -3
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +3 -3
- package/dist/styles/themes.cjs +7 -3
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +1 -1
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +4 -4
- package/dist/styles/typography.cjs +7 -3
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +2 -2
- package/dist/styles/utils.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.cjs +9 -4
- package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
- package/dist/utils/toNonTypographicReactNodes.js +4 -4
- package/dist/utils/toReactNodes.cjs +9 -4
- package/dist/utils/toReactNodes.d.cts +1 -1
- package/dist/utils/toReactNodes.d.ts +1 -1
- package/dist/utils/toReactNodes.js +17 -17
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
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
10
|
import "../chunk-FO7I4E45.js";
|
|
@@ -3512,7 +3512,8 @@ var baseThemeColors = {
|
|
|
3512
3512
|
success: colors.success,
|
|
3513
3513
|
text: colors.black,
|
|
3514
3514
|
vlcNeutral: colors.gray95,
|
|
3515
|
-
warning: colors.warning
|
|
3515
|
+
warning: colors.warning,
|
|
3516
|
+
inputBackground: colors.white
|
|
3516
3517
|
};
|
|
3517
3518
|
var themeOrColorKeyValues = [
|
|
3518
3519
|
...Object.keys(baseThemeColors),
|
|
@@ -3560,7 +3561,8 @@ var darkBaseTheme = {
|
|
|
3560
3561
|
vlcNeutral: colors.gray20,
|
|
3561
3562
|
warning: colors.warning,
|
|
3562
3563
|
buttons: defaultButtonsTheme,
|
|
3563
|
-
loading: "LoadingSpinner"
|
|
3564
|
+
loading: "LoadingSpinner",
|
|
3565
|
+
inputBackground: colors.black
|
|
3564
3566
|
};
|
|
3565
3567
|
var lightTheme = extend(lightBaseTheme, {
|
|
3566
3568
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3599,6 +3601,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3599
3601
|
secondary: colors.grayBlue43,
|
|
3600
3602
|
text: colors.grayBlue9,
|
|
3601
3603
|
link: colors.blue39,
|
|
3604
|
+
inputBackground: colors.white,
|
|
3602
3605
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3603
3606
|
main: "Manrope",
|
|
3604
3607
|
code: "Monaco"
|
|
@@ -3683,7 +3686,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3683
3686
|
bg: colors.gray98,
|
|
3684
3687
|
smBg: colors.gray98,
|
|
3685
3688
|
text: colors.grayBlue9,
|
|
3686
|
-
secondary: colors.grayBlue43
|
|
3689
|
+
secondary: colors.grayBlue43,
|
|
3690
|
+
inputBackground: colors.white
|
|
3687
3691
|
}));
|
|
3688
3692
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3689
3693
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -3782,11 +3786,12 @@ var overlaySurfaceBorderColor = ({
|
|
|
3782
3786
|
`;
|
|
3783
3787
|
var overlaySurface = ({
|
|
3784
3788
|
theme,
|
|
3785
|
-
important = false
|
|
3789
|
+
important = false,
|
|
3790
|
+
border = true
|
|
3786
3791
|
}) => import_react4.css`
|
|
3787
|
-
background-color: ${themeOr(
|
|
3792
|
+
background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
|
|
3788
3793
|
${important ? "!important" : ""};
|
|
3789
|
-
border: 0.5px solid ${important ? "!important" : ""}
|
|
3794
|
+
${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
|
|
3790
3795
|
${overlaySurfaceBorderColor({ theme, important })};
|
|
3791
3796
|
${themeOr(
|
|
3792
3797
|
`box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RPNTFEXE.js";
|
|
4
4
|
import "../chunk-55OQPFLF.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-PG2W2HVB.js";
|
|
6
|
+
import "../chunk-IBZBPQMZ.js";
|
|
7
7
|
import "../chunk-ENBUKLVT.js";
|
|
8
8
|
import "../chunk-JSGRNWSB.js";
|
|
9
9
|
import "../chunk-FO7I4E45.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-LTCJ6LNO.js";
|
|
4
|
+
import "../chunk-PG2W2HVB.js";
|
|
5
|
+
import "../chunk-IBZBPQMZ.js";
|
|
6
6
|
import "../chunk-ENBUKLVT.js";
|
|
7
7
|
import "../chunk-JSGRNWSB.js";
|
|
8
8
|
import "../chunk-FO7I4E45.js";
|
|
@@ -7407,7 +7407,8 @@ var baseThemeColors = {
|
|
|
7407
7407
|
success: colors.success,
|
|
7408
7408
|
text: colors.black,
|
|
7409
7409
|
vlcNeutral: colors.gray95,
|
|
7410
|
-
warning: colors.warning
|
|
7410
|
+
warning: colors.warning,
|
|
7411
|
+
inputBackground: colors.white
|
|
7411
7412
|
};
|
|
7412
7413
|
var themeOrColorKeyValues = [
|
|
7413
7414
|
...Object.keys(baseThemeColors),
|
|
@@ -7455,7 +7456,8 @@ var darkBaseTheme = {
|
|
|
7455
7456
|
vlcNeutral: colors.gray20,
|
|
7456
7457
|
warning: colors.warning,
|
|
7457
7458
|
buttons: defaultButtonsTheme,
|
|
7458
|
-
loading: "LoadingSpinner"
|
|
7459
|
+
loading: "LoadingSpinner",
|
|
7460
|
+
inputBackground: colors.black
|
|
7459
7461
|
};
|
|
7460
7462
|
var lightTheme = extend(lightBaseTheme, {
|
|
7461
7463
|
header: extendBase(lightBaseTheme, {
|
|
@@ -7494,6 +7496,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
7494
7496
|
secondary: colors.grayBlue43,
|
|
7495
7497
|
text: colors.grayBlue9,
|
|
7496
7498
|
link: colors.blue39,
|
|
7499
|
+
inputBackground: colors.white,
|
|
7497
7500
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
7498
7501
|
main: "Manrope",
|
|
7499
7502
|
code: "Monaco"
|
|
@@ -7578,7 +7581,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
7578
7581
|
bg: colors.gray98,
|
|
7579
7582
|
smBg: colors.gray98,
|
|
7580
7583
|
text: colors.grayBlue9,
|
|
7581
|
-
secondary: colors.grayBlue43
|
|
7584
|
+
secondary: colors.grayBlue43,
|
|
7585
|
+
inputBackground: colors.white
|
|
7582
7586
|
}));
|
|
7583
7587
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7584
7588
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7734,7 +7738,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7734
7738
|
${({ theme, fontColor }) => {
|
|
7735
7739
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7736
7740
|
return `
|
|
7737
|
-
|
|
7741
|
+
svg, path {
|
|
7738
7742
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7739
7743
|
|
|
7740
7744
|
/*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
import { DocsHeadline } from './DocsHeadline.cjs';
|
|
4
|
-
import '../../buttons-
|
|
4
|
+
import '../../buttons-36cdd0fe.js';
|
|
5
5
|
import '@emotion/react';
|
|
6
6
|
import '../../styles/tokens/typography.cjs';
|
|
7
7
|
import '@emotion/css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
import { DocsHeadline } from './DocsHeadline.js';
|
|
4
|
-
import '../../buttons-
|
|
4
|
+
import '../../buttons-35280bfe.js';
|
|
5
5
|
import '@emotion/react';
|
|
6
6
|
import '../../styles/tokens/typography.js';
|
|
7
7
|
import '@emotion/css';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AnchorLinkHeader
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-435FPPZK.js";
|
|
5
|
+
import "../../chunk-BENSR2YW.js";
|
|
6
6
|
import "../../chunk-2NT4RAQ3.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-CRTTTIAD.js";
|
|
8
8
|
import "../../chunk-YMNSXZ5D.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-XDP7GCYE.js";
|
|
10
10
|
import "../../chunk-OPV246QW.js";
|
|
11
11
|
import "../../chunk-AAFUVYVP.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-4C2TISN7.js";
|
|
13
|
+
import "../../chunk-I3FI3FNP.js";
|
|
14
14
|
import "../../chunk-EDN2QDCB.js";
|
|
15
15
|
import "../../chunk-FT62PIPN.js";
|
|
16
16
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -125,8 +125,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
125
125
|
import "../../chunk-QW2INB5A.js";
|
|
126
126
|
import "../../chunk-JLD7MGLC.js";
|
|
127
127
|
import "../../chunk-DW6LFUI2.js";
|
|
128
|
-
import "../../chunk-
|
|
129
|
-
import "../../chunk-
|
|
128
|
+
import "../../chunk-PG2W2HVB.js";
|
|
129
|
+
import "../../chunk-IBZBPQMZ.js";
|
|
130
130
|
import "../../chunk-ENBUKLVT.js";
|
|
131
131
|
import "../../chunk-JSGRNWSB.js";
|
|
132
132
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3573,7 +3573,8 @@ var baseThemeColors = {
|
|
|
3573
3573
|
success: colors.success,
|
|
3574
3574
|
text: colors.black,
|
|
3575
3575
|
vlcNeutral: colors.gray95,
|
|
3576
|
-
warning: colors.warning
|
|
3576
|
+
warning: colors.warning,
|
|
3577
|
+
inputBackground: colors.white
|
|
3577
3578
|
};
|
|
3578
3579
|
var themeOrColorKeyValues = [
|
|
3579
3580
|
...Object.keys(baseThemeColors),
|
|
@@ -3621,7 +3622,8 @@ var darkBaseTheme = {
|
|
|
3621
3622
|
vlcNeutral: colors.gray20,
|
|
3622
3623
|
warning: colors.warning,
|
|
3623
3624
|
buttons: defaultButtonsTheme,
|
|
3624
|
-
loading: "LoadingSpinner"
|
|
3625
|
+
loading: "LoadingSpinner",
|
|
3626
|
+
inputBackground: colors.black
|
|
3625
3627
|
};
|
|
3626
3628
|
var lightTheme = extend(lightBaseTheme, {
|
|
3627
3629
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3660,6 +3662,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3660
3662
|
secondary: colors.grayBlue43,
|
|
3661
3663
|
text: colors.grayBlue9,
|
|
3662
3664
|
link: colors.blue39,
|
|
3665
|
+
inputBackground: colors.white,
|
|
3663
3666
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3664
3667
|
main: "Manrope",
|
|
3665
3668
|
code: "Monaco"
|
|
@@ -3744,7 +3747,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3744
3747
|
bg: colors.gray98,
|
|
3745
3748
|
smBg: colors.gray98,
|
|
3746
3749
|
text: colors.grayBlue9,
|
|
3747
|
-
secondary: colors.grayBlue43
|
|
3750
|
+
secondary: colors.grayBlue43,
|
|
3751
|
+
inputBackground: colors.white
|
|
3748
3752
|
}));
|
|
3749
3753
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3750
3754
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBody } from '../typography/Body.cjs';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../buttons-
|
|
7
|
+
import '../../buttons-36cdd0fe.js';
|
|
8
8
|
import '../../styles/tokens/typography.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.cjs';
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBody } from '../typography/Body.js';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../buttons-
|
|
7
|
+
import '../../buttons-35280bfe.js';
|
|
8
8
|
import '../../styles/tokens/typography.js';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
StyledBody
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-GWHKALYQ.js";
|
|
5
|
+
import "../../chunk-XDP7GCYE.js";
|
|
6
6
|
import "../../chunk-OPV246QW.js";
|
|
7
7
|
import "../../chunk-AAFUVYVP.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-4C2TISN7.js";
|
|
9
|
+
import "../../chunk-I3FI3FNP.js";
|
|
10
10
|
import "../../chunk-EDN2QDCB.js";
|
|
11
11
|
import "../../chunk-FT62PIPN.js";
|
|
12
12
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -121,8 +121,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
121
121
|
import "../../chunk-QW2INB5A.js";
|
|
122
122
|
import "../../chunk-JLD7MGLC.js";
|
|
123
123
|
import "../../chunk-DW6LFUI2.js";
|
|
124
|
-
import "../../chunk-
|
|
125
|
-
import "../../chunk-
|
|
124
|
+
import "../../chunk-PG2W2HVB.js";
|
|
125
|
+
import "../../chunk-IBZBPQMZ.js";
|
|
126
126
|
import "../../chunk-ENBUKLVT.js";
|
|
127
127
|
import "../../chunk-JSGRNWSB.js";
|
|
128
128
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3574,7 +3574,8 @@ var baseThemeColors = {
|
|
|
3574
3574
|
success: colors.success,
|
|
3575
3575
|
text: colors.black,
|
|
3576
3576
|
vlcNeutral: colors.gray95,
|
|
3577
|
-
warning: colors.warning
|
|
3577
|
+
warning: colors.warning,
|
|
3578
|
+
inputBackground: colors.white
|
|
3578
3579
|
};
|
|
3579
3580
|
var themeOrColorKeyValues = [
|
|
3580
3581
|
...Object.keys(baseThemeColors),
|
|
@@ -3622,7 +3623,8 @@ var darkBaseTheme = {
|
|
|
3622
3623
|
vlcNeutral: colors.gray20,
|
|
3623
3624
|
warning: colors.warning,
|
|
3624
3625
|
buttons: defaultButtonsTheme,
|
|
3625
|
-
loading: "LoadingSpinner"
|
|
3626
|
+
loading: "LoadingSpinner",
|
|
3627
|
+
inputBackground: colors.black
|
|
3626
3628
|
};
|
|
3627
3629
|
var lightTheme = extend(lightBaseTheme, {
|
|
3628
3630
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3661,6 +3663,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3661
3663
|
secondary: colors.grayBlue43,
|
|
3662
3664
|
text: colors.grayBlue9,
|
|
3663
3665
|
link: colors.blue39,
|
|
3666
|
+
inputBackground: colors.white,
|
|
3664
3667
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3665
3668
|
main: "Manrope",
|
|
3666
3669
|
code: "Monaco"
|
|
@@ -3745,7 +3748,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3745
3748
|
bg: colors.gray98,
|
|
3746
3749
|
smBg: colors.gray98,
|
|
3747
3750
|
text: colors.grayBlue9,
|
|
3748
|
-
secondary: colors.grayBlue43
|
|
3751
|
+
secondary: colors.grayBlue43,
|
|
3752
|
+
inputBackground: colors.white
|
|
3749
3753
|
}));
|
|
3750
3754
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3751
3755
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBodyStrong } from '../typography/BodyStrong.cjs';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../buttons-
|
|
7
|
+
import '../../buttons-36cdd0fe.js';
|
|
8
8
|
import '../../styles/tokens/typography.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.cjs';
|
|
@@ -4,7 +4,7 @@ import { ComponentProps } from 'react';
|
|
|
4
4
|
import { StyledBodyStrong } from '../typography/BodyStrong.js';
|
|
5
5
|
import '@emotion/styled';
|
|
6
6
|
import '@emotion/react';
|
|
7
|
-
import '../../buttons-
|
|
7
|
+
import '../../buttons-35280bfe.js';
|
|
8
8
|
import '../../styles/tokens/typography.js';
|
|
9
9
|
import '@emotion/css';
|
|
10
10
|
import '../../styles/colors.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
StyledBodyStrong
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-WTMJTGW4.js";
|
|
5
|
+
import "../../chunk-XDP7GCYE.js";
|
|
6
6
|
import "../../chunk-OPV246QW.js";
|
|
7
7
|
import "../../chunk-AAFUVYVP.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-4C2TISN7.js";
|
|
9
|
+
import "../../chunk-I3FI3FNP.js";
|
|
10
10
|
import "../../chunk-EDN2QDCB.js";
|
|
11
11
|
import "../../chunk-FT62PIPN.js";
|
|
12
12
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -121,8 +121,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
121
121
|
import "../../chunk-QW2INB5A.js";
|
|
122
122
|
import "../../chunk-JLD7MGLC.js";
|
|
123
123
|
import "../../chunk-DW6LFUI2.js";
|
|
124
|
-
import "../../chunk-
|
|
125
|
-
import "../../chunk-
|
|
124
|
+
import "../../chunk-PG2W2HVB.js";
|
|
125
|
+
import "../../chunk-IBZBPQMZ.js";
|
|
126
126
|
import "../../chunk-ENBUKLVT.js";
|
|
127
127
|
import "../../chunk-JSGRNWSB.js";
|
|
128
128
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3571,7 +3571,8 @@ var baseThemeColors = {
|
|
|
3571
3571
|
success: colors.success,
|
|
3572
3572
|
text: colors.black,
|
|
3573
3573
|
vlcNeutral: colors.gray95,
|
|
3574
|
-
warning: colors.warning
|
|
3574
|
+
warning: colors.warning,
|
|
3575
|
+
inputBackground: colors.white
|
|
3575
3576
|
};
|
|
3576
3577
|
var themeOrColorKeyValues = [
|
|
3577
3578
|
...Object.keys(baseThemeColors),
|
|
@@ -3619,7 +3620,8 @@ var darkBaseTheme = {
|
|
|
3619
3620
|
vlcNeutral: colors.gray20,
|
|
3620
3621
|
warning: colors.warning,
|
|
3621
3622
|
buttons: defaultButtonsTheme,
|
|
3622
|
-
loading: "LoadingSpinner"
|
|
3623
|
+
loading: "LoadingSpinner",
|
|
3624
|
+
inputBackground: colors.black
|
|
3623
3625
|
};
|
|
3624
3626
|
var lightTheme = extend(lightBaseTheme, {
|
|
3625
3627
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3658,6 +3660,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3658
3660
|
secondary: colors.grayBlue43,
|
|
3659
3661
|
text: colors.grayBlue9,
|
|
3660
3662
|
link: colors.blue39,
|
|
3663
|
+
inputBackground: colors.white,
|
|
3661
3664
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3662
3665
|
main: "Manrope",
|
|
3663
3666
|
code: "Monaco"
|
|
@@ -3742,7 +3745,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3742
3745
|
bg: colors.gray98,
|
|
3743
3746
|
smBg: colors.gray98,
|
|
3744
3747
|
text: colors.grayBlue9,
|
|
3745
|
-
secondary: colors.grayBlue43
|
|
3748
|
+
secondary: colors.grayBlue43,
|
|
3749
|
+
inputBackground: colors.white
|
|
3746
3750
|
}));
|
|
3747
3751
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3748
3752
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import react__default from 'react';
|
|
3
|
-
import { F as FontColorKey } from '../../buttons-
|
|
3
|
+
import { F as FontColorKey } from '../../buttons-36cdd0fe.js';
|
|
4
4
|
import { TokenSizeKey } from '../../styles/tokens/typography.cjs';
|
|
5
5
|
import { Heading } from '../typography/Headline.cjs';
|
|
6
6
|
import '@emotion/react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import react__default from 'react';
|
|
3
|
-
import { F as FontColorKey } from '../../buttons-
|
|
3
|
+
import { F as FontColorKey } from '../../buttons-35280bfe.js';
|
|
4
4
|
import { TokenSizeKey } from '../../styles/tokens/typography.js';
|
|
5
5
|
import { Heading } from '../typography/Headline.js';
|
|
6
6
|
import '@emotion/react';
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DocsHeadline,
|
|
4
4
|
getHeadlineText
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-BENSR2YW.js";
|
|
6
6
|
import "../../chunk-2NT4RAQ3.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-CRTTTIAD.js";
|
|
8
8
|
import "../../chunk-YMNSXZ5D.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-XDP7GCYE.js";
|
|
10
10
|
import "../../chunk-OPV246QW.js";
|
|
11
11
|
import "../../chunk-AAFUVYVP.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-4C2TISN7.js";
|
|
13
|
+
import "../../chunk-I3FI3FNP.js";
|
|
14
14
|
import "../../chunk-EDN2QDCB.js";
|
|
15
15
|
import "../../chunk-FT62PIPN.js";
|
|
16
16
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -125,8 +125,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
125
125
|
import "../../chunk-QW2INB5A.js";
|
|
126
126
|
import "../../chunk-JLD7MGLC.js";
|
|
127
127
|
import "../../chunk-DW6LFUI2.js";
|
|
128
|
-
import "../../chunk-
|
|
129
|
-
import "../../chunk-
|
|
128
|
+
import "../../chunk-PG2W2HVB.js";
|
|
129
|
+
import "../../chunk-IBZBPQMZ.js";
|
|
130
130
|
import "../../chunk-ENBUKLVT.js";
|
|
131
131
|
import "../../chunk-JSGRNWSB.js";
|
|
132
132
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -290,6 +290,18 @@ var darkGradientBg = import_react3.css`
|
|
|
290
290
|
// src/components/documentation/Video.tsx
|
|
291
291
|
var import_jsx_runtime2 = require("@emotion/react/jsx-runtime");
|
|
292
292
|
var Video = (props) => {
|
|
293
|
+
if (props.youtubeEmbed) {
|
|
294
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
295
|
+
StyledYoutubeEmbed,
|
|
296
|
+
{
|
|
297
|
+
src: props.youtubeEmbed.src,
|
|
298
|
+
height: props.youtubeEmbed.height,
|
|
299
|
+
frameBorder: "0",
|
|
300
|
+
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
301
|
+
allowFullScreen: true
|
|
302
|
+
}
|
|
303
|
+
);
|
|
304
|
+
}
|
|
293
305
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(StyledVideo, __spreadValues({ controls: true }, props));
|
|
294
306
|
};
|
|
295
307
|
var StyledVideo = import_styled2.default.video`
|
|
@@ -297,6 +309,10 @@ var StyledVideo = import_styled2.default.video`
|
|
|
297
309
|
height: auto;
|
|
298
310
|
${standardBorderRadius(16)};
|
|
299
311
|
`;
|
|
312
|
+
var StyledYoutubeEmbed = import_styled2.default.iframe`
|
|
313
|
+
width: 100%;
|
|
314
|
+
${standardBorderRadius(16)};
|
|
315
|
+
`;
|
|
300
316
|
// Annotate the CommonJS export names for ESM import in node:
|
|
301
317
|
0 && (module.exports = {
|
|
302
318
|
Video
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
|
|
3
3
|
interface VideoProps {
|
|
4
|
-
children
|
|
4
|
+
children?: React.ReactNode;
|
|
5
5
|
controls?: boolean;
|
|
6
6
|
preload?: string;
|
|
7
|
+
youtubeEmbed?: {
|
|
8
|
+
/** Must include a youtube.com/embed link. */
|
|
9
|
+
src: string;
|
|
10
|
+
/** Height needs to be manually specified. */
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
7
13
|
}
|
|
8
14
|
declare const Video: (props: VideoProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
9
15
|
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
|
|
3
3
|
interface VideoProps {
|
|
4
|
-
children
|
|
4
|
+
children?: React.ReactNode;
|
|
5
5
|
controls?: boolean;
|
|
6
6
|
preload?: string;
|
|
7
|
+
youtubeEmbed?: {
|
|
8
|
+
/** Must include a youtube.com/embed link. */
|
|
9
|
+
src: string;
|
|
10
|
+
/** Height needs to be manually specified. */
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
7
13
|
}
|
|
8
14
|
declare const Video: (props: VideoProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
9
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
standardBorderRadius
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-PG2W2HVB.js";
|
|
5
|
+
import "../../chunk-IBZBPQMZ.js";
|
|
6
6
|
import "../../chunk-ENBUKLVT.js";
|
|
7
7
|
import "../../chunk-JSGRNWSB.js";
|
|
8
8
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -15,6 +15,18 @@ import {
|
|
|
15
15
|
import styled from "@emotion/styled";
|
|
16
16
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
17
17
|
var Video = (props) => {
|
|
18
|
+
if (props.youtubeEmbed) {
|
|
19
|
+
return /* @__PURE__ */ jsx(
|
|
20
|
+
StyledYoutubeEmbed,
|
|
21
|
+
{
|
|
22
|
+
src: props.youtubeEmbed.src,
|
|
23
|
+
height: props.youtubeEmbed.height,
|
|
24
|
+
frameBorder: "0",
|
|
25
|
+
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
26
|
+
allowFullScreen: true
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
18
30
|
return /* @__PURE__ */ jsx(StyledVideo, __spreadValues({ controls: true }, props));
|
|
19
31
|
};
|
|
20
32
|
var StyledVideo = styled.video`
|
|
@@ -22,6 +34,10 @@ var StyledVideo = styled.video`
|
|
|
22
34
|
height: auto;
|
|
23
35
|
${standardBorderRadius(16)};
|
|
24
36
|
`;
|
|
37
|
+
var StyledYoutubeEmbed = styled.iframe`
|
|
38
|
+
width: 100%;
|
|
39
|
+
${standardBorderRadius(16)};
|
|
40
|
+
`;
|
|
25
41
|
export {
|
|
26
42
|
Video
|
|
27
43
|
};
|
|
@@ -7408,7 +7408,8 @@ var baseThemeColors = {
|
|
|
7408
7408
|
success: colors.success,
|
|
7409
7409
|
text: colors.black,
|
|
7410
7410
|
vlcNeutral: colors.gray95,
|
|
7411
|
-
warning: colors.warning
|
|
7411
|
+
warning: colors.warning,
|
|
7412
|
+
inputBackground: colors.white
|
|
7412
7413
|
};
|
|
7413
7414
|
var themeOrColorKeyValues = [
|
|
7414
7415
|
...Object.keys(baseThemeColors),
|
|
@@ -7456,7 +7457,8 @@ var darkBaseTheme = {
|
|
|
7456
7457
|
vlcNeutral: colors.gray20,
|
|
7457
7458
|
warning: colors.warning,
|
|
7458
7459
|
buttons: defaultButtonsTheme,
|
|
7459
|
-
loading: "LoadingSpinner"
|
|
7460
|
+
loading: "LoadingSpinner",
|
|
7461
|
+
inputBackground: colors.black
|
|
7460
7462
|
};
|
|
7461
7463
|
var lightTheme = extend(lightBaseTheme, {
|
|
7462
7464
|
header: extendBase(lightBaseTheme, {
|
|
@@ -7495,6 +7497,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
7495
7497
|
secondary: colors.grayBlue43,
|
|
7496
7498
|
text: colors.grayBlue9,
|
|
7497
7499
|
link: colors.blue39,
|
|
7500
|
+
inputBackground: colors.white,
|
|
7498
7501
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
7499
7502
|
main: "Manrope",
|
|
7500
7503
|
code: "Monaco"
|
|
@@ -7579,7 +7582,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
7579
7582
|
bg: colors.gray98,
|
|
7580
7583
|
smBg: colors.gray98,
|
|
7581
7584
|
text: colors.grayBlue9,
|
|
7582
|
-
secondary: colors.grayBlue43
|
|
7585
|
+
secondary: colors.grayBlue43,
|
|
7586
|
+
inputBackground: colors.white
|
|
7583
7587
|
}));
|
|
7584
7588
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7585
7589
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7735,7 +7739,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7735
7739
|
${({ theme, fontColor }) => {
|
|
7736
7740
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7737
7741
|
return `
|
|
7738
|
-
|
|
7742
|
+
svg, path {
|
|
7739
7743
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7740
7744
|
|
|
7741
7745
|
/*
|
|
@@ -2,7 +2,7 @@ export { AnchorLinkHeader } from './AnchorLinkHeader.cjs';
|
|
|
2
2
|
import '@emotion/react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './DocsHeadline.cjs';
|
|
5
|
-
import '../../buttons-
|
|
5
|
+
import '../../buttons-36cdd0fe.js';
|
|
6
6
|
import '@emotion/react';
|
|
7
7
|
import '../../styles/tokens/typography.cjs';
|
|
8
8
|
import '@emotion/css';
|
|
@@ -2,7 +2,7 @@ export { AnchorLinkHeader } from './AnchorLinkHeader.js';
|
|
|
2
2
|
import '@emotion/react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './DocsHeadline.js';
|
|
5
|
-
import '../../buttons-
|
|
5
|
+
import '../../buttons-35280bfe.js';
|
|
6
6
|
import '@emotion/react';
|
|
7
7
|
import '../../styles/tokens/typography.js';
|
|
8
8
|
import '@emotion/css';
|