@lightsparkdev/ui 1.0.2 → 1.0.4
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 +12 -0
- package/dist/{chunk-SGSLTG65.js → chunk-242JGEN4.js} +3 -3
- package/dist/{chunk-F6EVBEMN.js → chunk-2P6TCMZN.js} +2 -2
- package/dist/{chunk-J7SV67XL.js → chunk-3R5KJDSL.js} +1 -1
- package/dist/{chunk-L6S22JUU.js → chunk-4BERRPJN.js} +3 -3
- package/dist/{chunk-AI6DCUWK.js → chunk-4KURUJD2.js} +1 -1
- package/dist/{chunk-6H7PZJ2A.js → chunk-4X67A2CS.js} +2 -1
- package/dist/{chunk-YRYVSAWS.js → chunk-5F7IOIWL.js} +1 -1
- package/dist/{chunk-EMXTALIX.js → chunk-5ON3ICVC.js} +1 -1
- package/dist/{chunk-35WJ3PKH.js → chunk-642OXLAD.js} +2 -2
- package/dist/{chunk-SKXCT2FQ.js → chunk-7BSME2ZU.js} +2 -2
- package/dist/{chunk-GNVEN6UE.js → chunk-7COKMITX.js} +2 -2
- package/dist/{chunk-LL5YLPNM.js → chunk-7OJQZEVL.js} +5 -5
- package/dist/{chunk-GGEAODIA.js → chunk-7RLDCOUT.js} +4 -4
- package/dist/{chunk-S6AOKANU.js → chunk-7RMHMFS2.js} +4 -4
- package/dist/{chunk-CMQELZES.js → chunk-AZOVE32P.js} +2 -2
- package/dist/{chunk-5H32AOXL.js → chunk-BAGRU7JE.js} +1 -1
- package/dist/{chunk-2JYYREVX.js → chunk-BPGBJRZE.js} +1 -1
- package/dist/{chunk-UNULJ3P6.js → chunk-BRRDPQWW.js} +4 -4
- package/dist/{chunk-W3BAJ3HT.js → chunk-C3YODRA3.js} +15 -15
- package/dist/{chunk-HZ63YB4Y.js → chunk-C4HNAZFZ.js} +3 -3
- package/dist/{chunk-7NPHOJXD.js → chunk-CZFFMEAS.js} +5 -5
- package/dist/{chunk-HRZNVE2K.js → chunk-DIKOS5R6.js} +2 -2
- package/dist/{chunk-BMSSV6NX.js → chunk-DNGAINGL.js} +1 -1
- package/dist/{chunk-TVLELY54.js → chunk-DWUP3RDU.js} +4 -4
- package/dist/chunk-E5DUKMCU.js +65 -0
- package/dist/chunk-EIFK352Q.js +27 -0
- package/dist/{chunk-OA3BZAST.js → chunk-GLEAWATH.js} +3 -3
- package/dist/{chunk-KFX7US6Y.js → chunk-GQVNE3NU.js} +1 -1
- package/dist/{chunk-UBYBILLK.js → chunk-HPZVUEDJ.js} +2 -2
- package/dist/{chunk-TM3C4LEG.js → chunk-HVDX4OZJ.js} +2 -2
- package/dist/{chunk-6JFJDBV2.js → chunk-JAPRGAB7.js} +1 -1
- package/dist/{chunk-467PLJO3.js → chunk-JH53NBOD.js} +59 -10
- package/dist/{chunk-2XRCGW74.js → chunk-KBLCFXNL.js} +3 -3
- package/dist/{chunk-NYQLPSG3.js → chunk-KJHREJHT.js} +2 -2
- package/dist/{chunk-CZQER3QD.js → chunk-LFD2KVAB.js} +1 -1
- package/dist/{chunk-DCFB5MJ7.js → chunk-LGXMGWLV.js} +17 -16
- package/dist/{chunk-37RRWSDE.js → chunk-LLGN3OM3.js} +2 -2
- package/dist/{chunk-HA4AQO3T.js → chunk-MK2JFFUG.js} +1 -1
- package/dist/{chunk-EV6PGQPM.js → chunk-MNMVZI7D.js} +11 -11
- package/dist/{chunk-HP4VPMN7.js → chunk-OMY3WTAU.js} +2 -2
- package/dist/{chunk-VUXU77SU.js → chunk-OUHQXQOJ.js} +1 -1
- package/dist/{chunk-PNSZAJL7.js → chunk-OZQ5WPLN.js} +2 -2
- package/dist/{chunk-2H7TBKII.js → chunk-PDQVYUEW.js} +6 -6
- package/dist/{chunk-DNVKN2FG.js → chunk-QCHEDM2I.js} +3 -3
- package/dist/{chunk-CHK5DOMV.js → chunk-RESJONBZ.js} +2 -2
- package/dist/{chunk-XP3BAAUO.js → chunk-SZ4KKLYJ.js} +2 -2
- package/dist/{chunk-VYTN6ASZ.js → chunk-THTKSZSR.js} +2 -2
- package/dist/{chunk-KBYU4ZQ3.js → chunk-TNDSUTUN.js} +3 -3
- package/dist/{chunk-SRHSJOES.js → chunk-TNISOOCF.js} +1 -1
- package/dist/{chunk-55M7XHBZ.js → chunk-UNFCVZ32.js} +36 -33
- package/dist/{chunk-56QJRFP2.js → chunk-V523QTZQ.js} +2 -2
- package/dist/{chunk-A4JZESAS.js → chunk-VNQE6KEX.js} +16 -3
- package/dist/{chunk-5XZJEYHG.js → chunk-VR2GLRXH.js} +1 -1
- package/dist/chunk-VWD7T5MQ.js +74 -0
- package/dist/{chunk-XUVCOSIE.js → chunk-VXH6GWGE.js} +2 -2
- package/dist/{chunk-ZNZAY47J.js → chunk-W2N5QUG6.js} +9 -6
- package/dist/{chunk-D73OOC3E.js → chunk-WDJMAZFO.js} +3 -3
- package/dist/{chunk-WV5AB4ZB.js → chunk-XS4MH3QA.js} +102 -85
- package/dist/{chunk-TM2NGRD2.js → chunk-YRFCWL73.js} +5 -2
- package/dist/{chunk-CZCPVHVB.js → chunk-YRZ3VNBI.js} +2 -2
- package/dist/{chunk-JOQCJPOA.js → chunk-ZCXGHQQF.js} +9 -9
- package/dist/{chunk-UVGBD7XM.js → chunk-ZO35RX7V.js} +21 -13
- package/dist/{chunk-27SFWLPS.js → chunk-ZS7G6WIG.js} +1 -1
- package/dist/components/Badge.cjs +7845 -7476
- package/dist/components/Badge.d.cts +146 -7
- package/dist/components/Badge.d.ts +146 -7
- package/dist/components/Badge.js +20 -23
- package/dist/components/Banner/Banner.cjs +55 -26
- 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 +46 -28
- 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 +49 -31
- 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 +16 -3
- package/dist/components/CardPage.js +24 -24
- package/dist/components/Checkbox.cjs +3 -3
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CodeBlock.cjs +21 -7
- package/dist/components/CodeBlock.js +8 -8
- package/dist/components/CodeInput/CodeInput.cjs +17 -4
- package/dist/components/CodeInput/CodeInput.js +6 -6
- package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4
- package/dist/components/CodeInput/SingleCodeInput.js +5 -5
- package/dist/components/Collapsible.cjs +82 -7
- package/dist/components/Collapsible.js +6 -6
- package/dist/components/CommaNumberInput.cjs +22 -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 +17 -4
- package/dist/components/ContentTable.js +4 -4
- package/dist/components/CopyToClipboardButton.cjs +21 -7
- package/dist/components/CopyToClipboardButton.js +6 -6
- package/dist/components/CurrencyAmount.cjs +17 -4
- package/dist/components/CurrencyAmount.js +4 -4
- package/dist/components/Drawer.cjs +293 -176
- package/dist/components/Drawer.d.cts +2 -0
- package/dist/components/Drawer.d.ts +2 -0
- package/dist/components/Drawer.js +22 -22
- package/dist/components/Dropdown.cjs +21 -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 +17 -4
- package/dist/components/FileInput.js +10 -10
- package/dist/components/GradientCardHeader.js +5 -5
- package/dist/components/Icon/Icon.cjs +17 -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 +7349 -7338
- package/dist/components/IconWithCircleBackground.js +4 -73
- package/dist/components/InfoIconTooltip.cjs +62 -32
- 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 +16 -3
- package/dist/components/LightsparkProvider.js +4 -4
- package/dist/components/Loading.cjs +17 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Modal.cjs +297 -147
- package/dist/components/Modal.d.cts +21 -15
- package/dist/components/Modal.d.ts +21 -15
- package/dist/components/Modal.js +27 -68
- package/dist/components/PageSection/PageSection.cjs +214 -100
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +27 -31
- package/dist/components/PageSection/PageSectionNav.cjs +50 -21
- package/dist/components/PageSection/PageSectionNav.js +20 -20
- package/dist/components/PhoneInput.cjs +22 -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 +17 -4
- package/dist/components/Pill.js +7 -7
- package/dist/components/ProgressBar.cjs +16 -3
- package/dist/components/ProgressBar.js +3 -3
- package/dist/components/Radio.cjs +7410 -7334
- package/dist/components/Radio.js +8 -22
- package/dist/components/SecretContainer.cjs +21 -7
- package/dist/components/SecretContainer.js +7 -7
- package/dist/components/StatusIndicator.js +4 -4
- package/dist/components/TextButton.cjs +46 -17
- 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 +40 -11
- 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 +22 -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 +66 -37
- 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 +108 -97
- package/dist/components/Toggle.js +4 -4
- package/dist/components/Tooltip.cjs +20 -6
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/UnstyledButton.js +3 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +17 -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 +16 -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 +16 -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 +16 -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 +17 -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 +8474 -8234
- package/dist/components/index.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +69 -70
- package/dist/components/typography/Article.cjs +103 -28
- package/dist/components/typography/Article.js +14 -14
- package/dist/components/typography/Body.cjs +18 -4
- package/dist/components/typography/Body.d.cts +2 -2
- package/dist/components/typography/Body.d.ts +2 -2
- package/dist/components/typography/Body.js +6 -6
- package/dist/components/typography/BodyStrong.cjs +18 -4
- package/dist/components/typography/BodyStrong.d.cts +2 -2
- package/dist/components/typography/BodyStrong.d.ts +2 -2
- package/dist/components/typography/BodyStrong.js +6 -6
- package/dist/components/typography/Code.cjs +18 -4
- package/dist/components/typography/Code.d.cts +2 -2
- package/dist/components/typography/Code.d.ts +2 -2
- package/dist/components/typography/Code.js +6 -6
- package/dist/components/typography/Display.cjs +18 -4
- package/dist/components/typography/Display.d.cts +2 -2
- package/dist/components/typography/Display.d.ts +2 -2
- package/dist/components/typography/Display.js +6 -6
- package/dist/components/typography/Headline.cjs +18 -4
- package/dist/components/typography/Headline.d.cts +2 -2
- package/dist/components/typography/Headline.d.ts +2 -2
- package/dist/components/typography/Headline.js +6 -6
- package/dist/components/typography/Label.cjs +18 -4
- package/dist/components/typography/Label.d.cts +2 -2
- package/dist/components/typography/Label.d.ts +2 -2
- package/dist/components/typography/Label.js +6 -6
- package/dist/components/typography/LabelModerate.cjs +18 -4
- package/dist/components/typography/LabelModerate.d.cts +2 -2
- package/dist/components/typography/LabelModerate.d.ts +2 -2
- package/dist/components/typography/LabelModerate.js +6 -6
- package/dist/components/typography/LabelStrong.cjs +18 -4
- package/dist/components/typography/LabelStrong.d.cts +2 -2
- package/dist/components/typography/LabelStrong.d.ts +2 -2
- package/dist/components/typography/LabelStrong.js +6 -6
- package/dist/components/typography/Overline.cjs +18 -4
- package/dist/components/typography/Overline.d.cts +2 -2
- package/dist/components/typography/Overline.d.ts +2 -2
- package/dist/components/typography/Overline.js +6 -6
- package/dist/components/typography/Title.cjs +18 -4
- package/dist/components/typography/Title.d.cts +3 -3
- package/dist/components/typography/Title.d.ts +3 -3
- package/dist/components/typography/Title.js +6 -6
- package/dist/components/typography/index.cjs +105 -29
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +22 -23
- package/dist/components/typography/renderTypography.cjs +34 -7
- package/dist/components/typography/renderTypography.d.cts +20 -20
- package/dist/components/typography/renderTypography.d.ts +20 -20
- 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 +20 -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 +17 -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 +16 -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 +16 -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/tokens/spacing.cjs +60 -21
- package/dist/styles/tokens/spacing.d.cts +40 -20
- package/dist/styles/tokens/spacing.d.ts +40 -20
- package/dist/styles/tokens/spacing.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 +16 -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/{buttons-b7f56076.d.ts → themes-37e92940.d.ts} +91 -67
- package/dist/{buttons-e4eb84a2.d.ts → themes-832e46b2.d.ts} +91 -67
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.cjs +18 -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 +59 -21
- package/dist/utils/toReactNodes.d.cts +13 -9
- package/dist/utils/toReactNodes.d.ts +13 -9
- package/dist/utils/toReactNodes.js +19 -17
- package/package.json +1 -1
- package/dist/chunk-3XSQV5U4.js +0 -26
- package/dist/chunk-B2VYAIYR.js +0 -0
- package/dist/chunk-RSAYBOK5.js +0 -35
|
@@ -3593,6 +3593,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3593
3593
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3594
3594
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3595
3595
|
buttons: defaultButtonsTheme,
|
|
3596
|
+
badge: {
|
|
3597
|
+
bg: "c05Neutral"
|
|
3598
|
+
},
|
|
3599
|
+
inputBackground: colors.white,
|
|
3596
3600
|
loading: "LoadingSpinner"
|
|
3597
3601
|
});
|
|
3598
3602
|
var lightBaseTheme = baseTheme;
|
|
@@ -3629,7 +3633,11 @@ var darkBaseTheme = {
|
|
|
3629
3633
|
vlcNeutral: colors.gray20,
|
|
3630
3634
|
warning: colors.warning,
|
|
3631
3635
|
buttons: defaultButtonsTheme,
|
|
3632
|
-
loading: "LoadingSpinner"
|
|
3636
|
+
loading: "LoadingSpinner",
|
|
3637
|
+
inputBackground: colors.black,
|
|
3638
|
+
badge: {
|
|
3639
|
+
bg: "c15Neutral"
|
|
3640
|
+
}
|
|
3633
3641
|
};
|
|
3634
3642
|
var lightTheme = extend(lightBaseTheme, {
|
|
3635
3643
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3668,6 +3676,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3668
3676
|
secondary: colors.grayBlue43,
|
|
3669
3677
|
text: colors.grayBlue9,
|
|
3670
3678
|
link: colors.blue39,
|
|
3679
|
+
inputBackground: colors.white,
|
|
3671
3680
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3672
3681
|
main: "Manrope",
|
|
3673
3682
|
code: "Monaco"
|
|
@@ -3744,7 +3753,10 @@ var bridgeBaseSettings = {
|
|
|
3744
3753
|
defaultBorderWidth: 1
|
|
3745
3754
|
}
|
|
3746
3755
|
}
|
|
3747
|
-
})
|
|
3756
|
+
}),
|
|
3757
|
+
badge: {
|
|
3758
|
+
bg: "grayBlue94"
|
|
3759
|
+
}
|
|
3748
3760
|
};
|
|
3749
3761
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3750
3762
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3752,7 +3764,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3752
3764
|
bg: colors.gray98,
|
|
3753
3765
|
smBg: colors.gray98,
|
|
3754
3766
|
text: colors.grayBlue9,
|
|
3755
|
-
secondary: colors.grayBlue43
|
|
3767
|
+
secondary: colors.grayBlue43,
|
|
3768
|
+
inputBackground: colors.white
|
|
3756
3769
|
}));
|
|
3757
3770
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3758
3771
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7764,7 +7777,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7764
7777
|
${({ theme, fontColor }) => {
|
|
7765
7778
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7766
7779
|
return `
|
|
7767
|
-
|
|
7780
|
+
svg, path {
|
|
7768
7781
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7769
7782
|
|
|
7770
7783
|
/*
|
|
@@ -7919,6 +7932,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
7919
7932
|
Link,
|
|
7920
7933
|
{
|
|
7921
7934
|
to: node.to,
|
|
7935
|
+
newTab: !!node.newTab,
|
|
7922
7936
|
children: node.text
|
|
7923
7937
|
},
|
|
7924
7938
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-37e92940.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.cjs';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -127,7 +127,7 @@ type AllowedBodyTags = "span" | "p" | "pre" | "div";
|
|
|
127
127
|
type BodyProps = {
|
|
128
128
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
129
129
|
children?: string | undefined | null;
|
|
130
|
-
size?: TokenSizeKey;
|
|
130
|
+
size?: TokenSizeKey | undefined;
|
|
131
131
|
color?: FontColorKey | undefined;
|
|
132
132
|
block?: boolean | undefined;
|
|
133
133
|
tag?: AllowedBodyTags | undefined;
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-832e46b2.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.js';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.js';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -127,7 +127,7 @@ type AllowedBodyTags = "span" | "p" | "pre" | "div";
|
|
|
127
127
|
type BodyProps = {
|
|
128
128
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
129
129
|
children?: string | undefined | null;
|
|
130
|
-
size?: TokenSizeKey;
|
|
130
|
+
size?: TokenSizeKey | undefined;
|
|
131
131
|
color?: FontColorKey | undefined;
|
|
132
132
|
block?: boolean | undefined;
|
|
133
133
|
tag?: AllowedBodyTags | undefined;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Body,
|
|
4
4
|
StyledBody
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-HVDX4OZJ.js";
|
|
6
|
+
import "../../chunk-4X67A2CS.js";
|
|
7
7
|
import "../../chunk-OPV246QW.js";
|
|
8
8
|
import "../../chunk-AAFUVYVP.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-OUHQXQOJ.js";
|
|
10
|
+
import "../../chunk-TNDSUTUN.js";
|
|
11
11
|
import "../../chunk-EDN2QDCB.js";
|
|
12
12
|
import "../../chunk-FT62PIPN.js";
|
|
13
13
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -122,8 +122,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
122
122
|
import "../../chunk-QW2INB5A.js";
|
|
123
123
|
import "../../chunk-JLD7MGLC.js";
|
|
124
124
|
import "../../chunk-DW6LFUI2.js";
|
|
125
|
-
import "../../chunk-
|
|
126
|
-
import "../../chunk-
|
|
125
|
+
import "../../chunk-CZFFMEAS.js";
|
|
126
|
+
import "../../chunk-VNQE6KEX.js";
|
|
127
127
|
import "../../chunk-ENBUKLVT.js";
|
|
128
128
|
import "../../chunk-JSGRNWSB.js";
|
|
129
129
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3593,6 +3593,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3593
3593
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3594
3594
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3595
3595
|
buttons: defaultButtonsTheme,
|
|
3596
|
+
badge: {
|
|
3597
|
+
bg: "c05Neutral"
|
|
3598
|
+
},
|
|
3599
|
+
inputBackground: colors.white,
|
|
3596
3600
|
loading: "LoadingSpinner"
|
|
3597
3601
|
});
|
|
3598
3602
|
var lightBaseTheme = baseTheme;
|
|
@@ -3629,7 +3633,11 @@ var darkBaseTheme = {
|
|
|
3629
3633
|
vlcNeutral: colors.gray20,
|
|
3630
3634
|
warning: colors.warning,
|
|
3631
3635
|
buttons: defaultButtonsTheme,
|
|
3632
|
-
loading: "LoadingSpinner"
|
|
3636
|
+
loading: "LoadingSpinner",
|
|
3637
|
+
inputBackground: colors.black,
|
|
3638
|
+
badge: {
|
|
3639
|
+
bg: "c15Neutral"
|
|
3640
|
+
}
|
|
3633
3641
|
};
|
|
3634
3642
|
var lightTheme = extend(lightBaseTheme, {
|
|
3635
3643
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3668,6 +3676,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3668
3676
|
secondary: colors.grayBlue43,
|
|
3669
3677
|
text: colors.grayBlue9,
|
|
3670
3678
|
link: colors.blue39,
|
|
3679
|
+
inputBackground: colors.white,
|
|
3671
3680
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3672
3681
|
main: "Manrope",
|
|
3673
3682
|
code: "Monaco"
|
|
@@ -3744,7 +3753,10 @@ var bridgeBaseSettings = {
|
|
|
3744
3753
|
defaultBorderWidth: 1
|
|
3745
3754
|
}
|
|
3746
3755
|
}
|
|
3747
|
-
})
|
|
3756
|
+
}),
|
|
3757
|
+
badge: {
|
|
3758
|
+
bg: "grayBlue94"
|
|
3759
|
+
}
|
|
3748
3760
|
};
|
|
3749
3761
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3750
3762
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3752,7 +3764,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3752
3764
|
bg: colors.gray98,
|
|
3753
3765
|
smBg: colors.gray98,
|
|
3754
3766
|
text: colors.grayBlue9,
|
|
3755
|
-
secondary: colors.grayBlue43
|
|
3767
|
+
secondary: colors.grayBlue43,
|
|
3768
|
+
inputBackground: colors.white
|
|
3756
3769
|
}));
|
|
3757
3770
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3758
3771
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7764,7 +7777,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7764
7777
|
${({ theme, fontColor }) => {
|
|
7765
7778
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7766
7779
|
return `
|
|
7767
|
-
|
|
7780
|
+
svg, path {
|
|
7768
7781
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7769
7782
|
|
|
7770
7783
|
/*
|
|
@@ -7919,6 +7932,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
7919
7932
|
Link,
|
|
7920
7933
|
{
|
|
7921
7934
|
to: node.to,
|
|
7935
|
+
newTab: !!node.newTab,
|
|
7922
7936
|
children: node.text
|
|
7923
7937
|
},
|
|
7924
7938
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-37e92940.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.cjs';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -126,7 +126,7 @@ import '../../types/index.cjs';
|
|
|
126
126
|
type BodyStrongProps = {
|
|
127
127
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
128
128
|
children?: string | undefined | null;
|
|
129
|
-
size?: TokenSizeKey;
|
|
129
|
+
size?: TokenSizeKey | undefined;
|
|
130
130
|
color?: FontColorKey | undefined;
|
|
131
131
|
block?: boolean | undefined;
|
|
132
132
|
};
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-832e46b2.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.js';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.js';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -126,7 +126,7 @@ import '../../types/index.js';
|
|
|
126
126
|
type BodyStrongProps = {
|
|
127
127
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
128
128
|
children?: string | undefined | null;
|
|
129
|
-
size?: TokenSizeKey;
|
|
129
|
+
size?: TokenSizeKey | undefined;
|
|
130
130
|
color?: FontColorKey | undefined;
|
|
131
131
|
block?: boolean | undefined;
|
|
132
132
|
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BodyStrong,
|
|
4
4
|
StyledBodyStrong
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-OMY3WTAU.js";
|
|
6
|
+
import "../../chunk-4X67A2CS.js";
|
|
7
7
|
import "../../chunk-OPV246QW.js";
|
|
8
8
|
import "../../chunk-AAFUVYVP.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-OUHQXQOJ.js";
|
|
10
|
+
import "../../chunk-TNDSUTUN.js";
|
|
11
11
|
import "../../chunk-EDN2QDCB.js";
|
|
12
12
|
import "../../chunk-FT62PIPN.js";
|
|
13
13
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -122,8 +122,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
122
122
|
import "../../chunk-QW2INB5A.js";
|
|
123
123
|
import "../../chunk-JLD7MGLC.js";
|
|
124
124
|
import "../../chunk-DW6LFUI2.js";
|
|
125
|
-
import "../../chunk-
|
|
126
|
-
import "../../chunk-
|
|
125
|
+
import "../../chunk-CZFFMEAS.js";
|
|
126
|
+
import "../../chunk-VNQE6KEX.js";
|
|
127
127
|
import "../../chunk-ENBUKLVT.js";
|
|
128
128
|
import "../../chunk-JSGRNWSB.js";
|
|
129
129
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3593,6 +3593,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3593
3593
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3594
3594
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3595
3595
|
buttons: defaultButtonsTheme,
|
|
3596
|
+
badge: {
|
|
3597
|
+
bg: "c05Neutral"
|
|
3598
|
+
},
|
|
3599
|
+
inputBackground: colors.white,
|
|
3596
3600
|
loading: "LoadingSpinner"
|
|
3597
3601
|
});
|
|
3598
3602
|
var lightBaseTheme = baseTheme;
|
|
@@ -3629,7 +3633,11 @@ var darkBaseTheme = {
|
|
|
3629
3633
|
vlcNeutral: colors.gray20,
|
|
3630
3634
|
warning: colors.warning,
|
|
3631
3635
|
buttons: defaultButtonsTheme,
|
|
3632
|
-
loading: "LoadingSpinner"
|
|
3636
|
+
loading: "LoadingSpinner",
|
|
3637
|
+
inputBackground: colors.black,
|
|
3638
|
+
badge: {
|
|
3639
|
+
bg: "c15Neutral"
|
|
3640
|
+
}
|
|
3633
3641
|
};
|
|
3634
3642
|
var lightTheme = extend(lightBaseTheme, {
|
|
3635
3643
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3668,6 +3676,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3668
3676
|
secondary: colors.grayBlue43,
|
|
3669
3677
|
text: colors.grayBlue9,
|
|
3670
3678
|
link: colors.blue39,
|
|
3679
|
+
inputBackground: colors.white,
|
|
3671
3680
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3672
3681
|
main: "Manrope",
|
|
3673
3682
|
code: "Monaco"
|
|
@@ -3744,7 +3753,10 @@ var bridgeBaseSettings = {
|
|
|
3744
3753
|
defaultBorderWidth: 1
|
|
3745
3754
|
}
|
|
3746
3755
|
}
|
|
3747
|
-
})
|
|
3756
|
+
}),
|
|
3757
|
+
badge: {
|
|
3758
|
+
bg: "grayBlue94"
|
|
3759
|
+
}
|
|
3748
3760
|
};
|
|
3749
3761
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3750
3762
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3752,7 +3764,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3752
3764
|
bg: colors.gray98,
|
|
3753
3765
|
smBg: colors.gray98,
|
|
3754
3766
|
text: colors.grayBlue9,
|
|
3755
|
-
secondary: colors.grayBlue43
|
|
3767
|
+
secondary: colors.grayBlue43,
|
|
3768
|
+
inputBackground: colors.white
|
|
3756
3769
|
}));
|
|
3757
3770
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3758
3771
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7764,7 +7777,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7764
7777
|
${({ theme, fontColor }) => {
|
|
7765
7778
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7766
7779
|
return `
|
|
7767
|
-
|
|
7780
|
+
svg, path {
|
|
7768
7781
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7769
7782
|
|
|
7770
7783
|
/*
|
|
@@ -7919,6 +7932,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
7919
7932
|
Link,
|
|
7920
7933
|
{
|
|
7921
7934
|
to: node.to,
|
|
7935
|
+
newTab: !!node.newTab,
|
|
7922
7936
|
children: node.text
|
|
7923
7937
|
},
|
|
7924
7938
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-37e92940.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.cjs';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -126,7 +126,7 @@ import '../../types/index.cjs';
|
|
|
126
126
|
type CodeProps = {
|
|
127
127
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
128
128
|
children?: string | undefined | null;
|
|
129
|
-
size?: TokenSizeKey;
|
|
129
|
+
size?: TokenSizeKey | undefined;
|
|
130
130
|
color?: FontColorKey | undefined;
|
|
131
131
|
};
|
|
132
132
|
declare const Code: ({ content, color, size, children, }: CodeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-832e46b2.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.js';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.js';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -126,7 +126,7 @@ import '../../types/index.js';
|
|
|
126
126
|
type CodeProps = {
|
|
127
127
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
128
128
|
children?: string | undefined | null;
|
|
129
|
-
size?: TokenSizeKey;
|
|
129
|
+
size?: TokenSizeKey | undefined;
|
|
130
130
|
color?: FontColorKey | undefined;
|
|
131
131
|
};
|
|
132
132
|
declare const Code: ({ content, color, size, children, }: CodeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Code,
|
|
4
4
|
StyledCode
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-7COKMITX.js";
|
|
6
|
+
import "../../chunk-4X67A2CS.js";
|
|
7
7
|
import "../../chunk-OPV246QW.js";
|
|
8
8
|
import "../../chunk-AAFUVYVP.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-OUHQXQOJ.js";
|
|
10
|
+
import "../../chunk-TNDSUTUN.js";
|
|
11
11
|
import "../../chunk-EDN2QDCB.js";
|
|
12
12
|
import "../../chunk-FT62PIPN.js";
|
|
13
13
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -122,8 +122,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
122
122
|
import "../../chunk-QW2INB5A.js";
|
|
123
123
|
import "../../chunk-JLD7MGLC.js";
|
|
124
124
|
import "../../chunk-DW6LFUI2.js";
|
|
125
|
-
import "../../chunk-
|
|
126
|
-
import "../../chunk-
|
|
125
|
+
import "../../chunk-CZFFMEAS.js";
|
|
126
|
+
import "../../chunk-VNQE6KEX.js";
|
|
127
127
|
import "../../chunk-ENBUKLVT.js";
|
|
128
128
|
import "../../chunk-JSGRNWSB.js";
|
|
129
129
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3594,6 +3594,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3594
3594
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3595
3595
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3596
3596
|
buttons: defaultButtonsTheme,
|
|
3597
|
+
badge: {
|
|
3598
|
+
bg: "c05Neutral"
|
|
3599
|
+
},
|
|
3600
|
+
inputBackground: colors.white,
|
|
3597
3601
|
loading: "LoadingSpinner"
|
|
3598
3602
|
});
|
|
3599
3603
|
var lightBaseTheme = baseTheme;
|
|
@@ -3630,7 +3634,11 @@ var darkBaseTheme = {
|
|
|
3630
3634
|
vlcNeutral: colors.gray20,
|
|
3631
3635
|
warning: colors.warning,
|
|
3632
3636
|
buttons: defaultButtonsTheme,
|
|
3633
|
-
loading: "LoadingSpinner"
|
|
3637
|
+
loading: "LoadingSpinner",
|
|
3638
|
+
inputBackground: colors.black,
|
|
3639
|
+
badge: {
|
|
3640
|
+
bg: "c15Neutral"
|
|
3641
|
+
}
|
|
3634
3642
|
};
|
|
3635
3643
|
var lightTheme = extend(lightBaseTheme, {
|
|
3636
3644
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3669,6 +3677,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3669
3677
|
secondary: colors.grayBlue43,
|
|
3670
3678
|
text: colors.grayBlue9,
|
|
3671
3679
|
link: colors.blue39,
|
|
3680
|
+
inputBackground: colors.white,
|
|
3672
3681
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3673
3682
|
main: "Manrope",
|
|
3674
3683
|
code: "Monaco"
|
|
@@ -3745,7 +3754,10 @@ var bridgeBaseSettings = {
|
|
|
3745
3754
|
defaultBorderWidth: 1
|
|
3746
3755
|
}
|
|
3747
3756
|
}
|
|
3748
|
-
})
|
|
3757
|
+
}),
|
|
3758
|
+
badge: {
|
|
3759
|
+
bg: "grayBlue94"
|
|
3760
|
+
}
|
|
3749
3761
|
};
|
|
3750
3762
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3751
3763
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3753,7 +3765,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3753
3765
|
bg: colors.gray98,
|
|
3754
3766
|
smBg: colors.gray98,
|
|
3755
3767
|
text: colors.grayBlue9,
|
|
3756
|
-
secondary: colors.grayBlue43
|
|
3768
|
+
secondary: colors.grayBlue43,
|
|
3769
|
+
inputBackground: colors.white
|
|
3757
3770
|
}));
|
|
3758
3771
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3759
3772
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7770,7 +7783,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7770
7783
|
${({ theme, fontColor }) => {
|
|
7771
7784
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7772
7785
|
return `
|
|
7773
|
-
|
|
7786
|
+
svg, path {
|
|
7774
7787
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7775
7788
|
|
|
7776
7789
|
/*
|
|
@@ -7925,6 +7938,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
7925
7938
|
Link,
|
|
7926
7939
|
{
|
|
7927
7940
|
to: node.to,
|
|
7941
|
+
newTab: !!node.newTab,
|
|
7928
7942
|
children: node.text
|
|
7929
7943
|
},
|
|
7930
7944
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { F as FontColorKey } from '../../
|
|
2
|
+
import { F as FontColorKey } from '../../themes-37e92940.js';
|
|
3
3
|
import { TokenSizeKey } from '../../styles/tokens/typography.cjs';
|
|
4
4
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.cjs';
|
|
5
5
|
import '@emotion/react';
|
|
@@ -125,7 +125,7 @@ type DisplayElement = (typeof displayElements)[number];
|
|
|
125
125
|
type DisplayProps = {
|
|
126
126
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
127
127
|
children?: string | undefined | null;
|
|
128
|
-
size?: TokenSizeKey;
|
|
128
|
+
size?: TokenSizeKey | undefined;
|
|
129
129
|
element?: DisplayElement;
|
|
130
130
|
color?: FontColorKey | undefined;
|
|
131
131
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { F as FontColorKey } from '../../
|
|
2
|
+
import { F as FontColorKey } from '../../themes-832e46b2.js';
|
|
3
3
|
import { TokenSizeKey } from '../../styles/tokens/typography.js';
|
|
4
4
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.js';
|
|
5
5
|
import '@emotion/react';
|
|
@@ -125,7 +125,7 @@ type DisplayElement = (typeof displayElements)[number];
|
|
|
125
125
|
type DisplayProps = {
|
|
126
126
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
127
127
|
children?: string | undefined | null;
|
|
128
|
-
size?: TokenSizeKey;
|
|
128
|
+
size?: TokenSizeKey | undefined;
|
|
129
129
|
element?: DisplayElement;
|
|
130
130
|
color?: FontColorKey | undefined;
|
|
131
131
|
};
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
Display,
|
|
4
4
|
displayElements,
|
|
5
5
|
displaySelector
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-DIKOS5R6.js";
|
|
7
7
|
import "../../chunk-YMNSXZ5D.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-4X67A2CS.js";
|
|
9
9
|
import "../../chunk-OPV246QW.js";
|
|
10
10
|
import "../../chunk-AAFUVYVP.js";
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-OUHQXQOJ.js";
|
|
12
|
+
import "../../chunk-TNDSUTUN.js";
|
|
13
13
|
import "../../chunk-EDN2QDCB.js";
|
|
14
14
|
import "../../chunk-FT62PIPN.js";
|
|
15
15
|
import "../../chunk-5ZDDVLS6.js";
|
|
@@ -124,8 +124,8 @@ import "../../chunk-VI6WTKMV.js";
|
|
|
124
124
|
import "../../chunk-QW2INB5A.js";
|
|
125
125
|
import "../../chunk-JLD7MGLC.js";
|
|
126
126
|
import "../../chunk-DW6LFUI2.js";
|
|
127
|
-
import "../../chunk-
|
|
128
|
-
import "../../chunk-
|
|
127
|
+
import "../../chunk-CZFFMEAS.js";
|
|
128
|
+
import "../../chunk-VNQE6KEX.js";
|
|
129
129
|
import "../../chunk-ENBUKLVT.js";
|
|
130
130
|
import "../../chunk-JSGRNWSB.js";
|
|
131
131
|
import "../../chunk-FO7I4E45.js";
|
|
@@ -3596,6 +3596,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3596
3596
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3597
3597
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3598
3598
|
buttons: defaultButtonsTheme,
|
|
3599
|
+
badge: {
|
|
3600
|
+
bg: "c05Neutral"
|
|
3601
|
+
},
|
|
3602
|
+
inputBackground: colors.white,
|
|
3599
3603
|
loading: "LoadingSpinner"
|
|
3600
3604
|
});
|
|
3601
3605
|
var lightBaseTheme = baseTheme;
|
|
@@ -3632,7 +3636,11 @@ var darkBaseTheme = {
|
|
|
3632
3636
|
vlcNeutral: colors.gray20,
|
|
3633
3637
|
warning: colors.warning,
|
|
3634
3638
|
buttons: defaultButtonsTheme,
|
|
3635
|
-
loading: "LoadingSpinner"
|
|
3639
|
+
loading: "LoadingSpinner",
|
|
3640
|
+
inputBackground: colors.black,
|
|
3641
|
+
badge: {
|
|
3642
|
+
bg: "c15Neutral"
|
|
3643
|
+
}
|
|
3636
3644
|
};
|
|
3637
3645
|
var lightTheme = extend(lightBaseTheme, {
|
|
3638
3646
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3671,6 +3679,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3671
3679
|
secondary: colors.grayBlue43,
|
|
3672
3680
|
text: colors.grayBlue9,
|
|
3673
3681
|
link: colors.blue39,
|
|
3682
|
+
inputBackground: colors.white,
|
|
3674
3683
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3675
3684
|
main: "Manrope",
|
|
3676
3685
|
code: "Monaco"
|
|
@@ -3747,7 +3756,10 @@ var bridgeBaseSettings = {
|
|
|
3747
3756
|
defaultBorderWidth: 1
|
|
3748
3757
|
}
|
|
3749
3758
|
}
|
|
3750
|
-
})
|
|
3759
|
+
}),
|
|
3760
|
+
badge: {
|
|
3761
|
+
bg: "grayBlue94"
|
|
3762
|
+
}
|
|
3751
3763
|
};
|
|
3752
3764
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3753
3765
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3755,7 +3767,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3755
3767
|
bg: colors.gray98,
|
|
3756
3768
|
smBg: colors.gray98,
|
|
3757
3769
|
text: colors.grayBlue9,
|
|
3758
|
-
secondary: colors.grayBlue43
|
|
3770
|
+
secondary: colors.grayBlue43,
|
|
3771
|
+
inputBackground: colors.white
|
|
3759
3772
|
}));
|
|
3760
3773
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3761
3774
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7772,7 +7785,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7772
7785
|
${({ theme, fontColor }) => {
|
|
7773
7786
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7774
7787
|
return `
|
|
7775
|
-
|
|
7788
|
+
svg, path {
|
|
7776
7789
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7777
7790
|
|
|
7778
7791
|
/*
|
|
@@ -7927,6 +7940,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
7927
7940
|
Link,
|
|
7928
7941
|
{
|
|
7929
7942
|
to: node.to,
|
|
7943
|
+
newTab: !!node.newTab,
|
|
7930
7944
|
children: node.text
|
|
7931
7945
|
},
|
|
7932
7946
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-37e92940.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.cjs';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.cjs';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -129,7 +129,7 @@ type AllowedDisplay = "flex" | "block" | "inline-flex";
|
|
|
129
129
|
type HeadlineProps = {
|
|
130
130
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
131
131
|
children?: string | undefined | null;
|
|
132
|
-
size?: TokenSizeKey;
|
|
132
|
+
size?: TokenSizeKey | undefined;
|
|
133
133
|
color?: FontColorKey | undefined;
|
|
134
134
|
heading?: Heading;
|
|
135
135
|
id?: string | undefined;
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
5
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-832e46b2.js';
|
|
7
7
|
import { TokenSizeKey } from '../../styles/tokens/typography.js';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.js';
|
|
9
9
|
import '@emotion/css';
|
|
@@ -129,7 +129,7 @@ type AllowedDisplay = "flex" | "block" | "inline-flex";
|
|
|
129
129
|
type HeadlineProps = {
|
|
130
130
|
content?: ToNonTypographicReactNodesArgs | undefined | null;
|
|
131
131
|
children?: string | undefined | null;
|
|
132
|
-
size?: TokenSizeKey;
|
|
132
|
+
size?: TokenSizeKey | undefined;
|
|
133
133
|
color?: FontColorKey | undefined;
|
|
134
134
|
heading?: Heading;
|
|
135
135
|
id?: string | undefined;
|