@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
package/dist/components/Radio.js
CHANGED
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Radio
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-J7SV67XL.js";
|
|
8
|
-
import "../chunk-SKXCT2FQ.js";
|
|
9
|
-
import "../chunk-56QJRFP2.js";
|
|
10
|
-
import "../chunk-CZCPVHVB.js";
|
|
11
|
-
import "../chunk-UBYBILLK.js";
|
|
12
|
-
import "../chunk-GNVEN6UE.js";
|
|
13
|
-
import "../chunk-HRZNVE2K.js";
|
|
14
|
-
import "../chunk-CMQELZES.js";
|
|
15
|
-
import "../chunk-TM3C4LEG.js";
|
|
16
|
-
import "../chunk-HP4VPMN7.js";
|
|
17
|
-
import "../chunk-PNSZAJL7.js";
|
|
18
|
-
import "../chunk-YMNSXZ5D.js";
|
|
19
|
-
import "../chunk-6H7PZJ2A.js";
|
|
4
|
+
} from "../chunk-YRFCWL73.js";
|
|
5
|
+
import "../chunk-7BSME2ZU.js";
|
|
6
|
+
import "../chunk-4X67A2CS.js";
|
|
20
7
|
import "../chunk-OPV246QW.js";
|
|
21
8
|
import "../chunk-AAFUVYVP.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-KBYU4ZQ3.js";
|
|
9
|
+
import "../chunk-OUHQXQOJ.js";
|
|
10
|
+
import "../chunk-E5DUKMCU.js";
|
|
11
|
+
import "../chunk-TNDSUTUN.js";
|
|
26
12
|
import "../chunk-EDN2QDCB.js";
|
|
27
13
|
import "../chunk-FT62PIPN.js";
|
|
28
14
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -137,8 +123,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
137
123
|
import "../chunk-QW2INB5A.js";
|
|
138
124
|
import "../chunk-JLD7MGLC.js";
|
|
139
125
|
import "../chunk-DW6LFUI2.js";
|
|
140
|
-
import "../chunk-
|
|
141
|
-
import "../chunk-
|
|
126
|
+
import "../chunk-CZFFMEAS.js";
|
|
127
|
+
import "../chunk-VNQE6KEX.js";
|
|
142
128
|
import "../chunk-ENBUKLVT.js";
|
|
143
129
|
import "../chunk-JSGRNWSB.js";
|
|
144
130
|
import "../chunk-FO7I4E45.js";
|
|
@@ -3543,6 +3543,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3543
3543
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3544
3544
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3545
3545
|
buttons: defaultButtonsTheme,
|
|
3546
|
+
badge: {
|
|
3547
|
+
bg: "c05Neutral"
|
|
3548
|
+
},
|
|
3549
|
+
inputBackground: colors.white,
|
|
3546
3550
|
loading: "LoadingSpinner"
|
|
3547
3551
|
});
|
|
3548
3552
|
var lightBaseTheme = baseTheme;
|
|
@@ -3579,7 +3583,11 @@ var darkBaseTheme = {
|
|
|
3579
3583
|
vlcNeutral: colors.gray20,
|
|
3580
3584
|
warning: colors.warning,
|
|
3581
3585
|
buttons: defaultButtonsTheme,
|
|
3582
|
-
loading: "LoadingSpinner"
|
|
3586
|
+
loading: "LoadingSpinner",
|
|
3587
|
+
inputBackground: colors.black,
|
|
3588
|
+
badge: {
|
|
3589
|
+
bg: "c15Neutral"
|
|
3590
|
+
}
|
|
3583
3591
|
};
|
|
3584
3592
|
var lightTheme = extend(lightBaseTheme, {
|
|
3585
3593
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3618,6 +3626,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3618
3626
|
secondary: colors.grayBlue43,
|
|
3619
3627
|
text: colors.grayBlue9,
|
|
3620
3628
|
link: colors.blue39,
|
|
3629
|
+
inputBackground: colors.white,
|
|
3621
3630
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3622
3631
|
main: "Manrope",
|
|
3623
3632
|
code: "Monaco"
|
|
@@ -3694,7 +3703,10 @@ var bridgeBaseSettings = {
|
|
|
3694
3703
|
defaultBorderWidth: 1
|
|
3695
3704
|
}
|
|
3696
3705
|
}
|
|
3697
|
-
})
|
|
3706
|
+
}),
|
|
3707
|
+
badge: {
|
|
3708
|
+
bg: "grayBlue94"
|
|
3709
|
+
}
|
|
3698
3710
|
};
|
|
3699
3711
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3700
3712
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3702,7 +3714,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3702
3714
|
bg: colors.gray98,
|
|
3703
3715
|
smBg: colors.gray98,
|
|
3704
3716
|
text: colors.grayBlue9,
|
|
3705
|
-
secondary: colors.grayBlue43
|
|
3717
|
+
secondary: colors.grayBlue43,
|
|
3718
|
+
inputBackground: colors.white
|
|
3706
3719
|
}));
|
|
3707
3720
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3708
3721
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -3844,11 +3857,12 @@ var overlaySurfaceBorderColor = ({
|
|
|
3844
3857
|
`;
|
|
3845
3858
|
var overlaySurface = ({
|
|
3846
3859
|
theme,
|
|
3847
|
-
important = false
|
|
3860
|
+
important = false,
|
|
3861
|
+
border = true
|
|
3848
3862
|
}) => import_react4.css`
|
|
3849
|
-
background-color: ${themeOr(
|
|
3863
|
+
background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
|
|
3850
3864
|
${important ? "!important" : ""};
|
|
3851
|
-
border: 0.5px solid ${important ? "!important" : ""}
|
|
3865
|
+
${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
|
|
3852
3866
|
${overlaySurfaceBorderColor({ theme, important })};
|
|
3853
3867
|
${themeOr(
|
|
3854
3868
|
`box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
|
|
@@ -7751,7 +7765,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7751
7765
|
${({ theme, fontColor }) => {
|
|
7752
7766
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7753
7767
|
return `
|
|
7754
|
-
|
|
7768
|
+
svg, path {
|
|
7755
7769
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7756
7770
|
|
|
7757
7771
|
/*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SecretContainer
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-RESJONBZ.js";
|
|
4
|
+
import "../chunk-242JGEN4.js";
|
|
5
|
+
import "../chunk-ZS7G6WIG.js";
|
|
6
|
+
import "../chunk-JAPRGAB7.js";
|
|
7
7
|
import "../chunk-55OQPFLF.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-TNDSUTUN.js";
|
|
9
9
|
import "../chunk-EDN2QDCB.js";
|
|
10
10
|
import "../chunk-FT62PIPN.js";
|
|
11
11
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -120,8 +120,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
120
120
|
import "../chunk-QW2INB5A.js";
|
|
121
121
|
import "../chunk-JLD7MGLC.js";
|
|
122
122
|
import "../chunk-DW6LFUI2.js";
|
|
123
|
-
import "../chunk-
|
|
124
|
-
import "../chunk-
|
|
123
|
+
import "../chunk-CZFFMEAS.js";
|
|
124
|
+
import "../chunk-VNQE6KEX.js";
|
|
125
125
|
import "../chunk-ENBUKLVT.js";
|
|
126
126
|
import "../chunk-JSGRNWSB.js";
|
|
127
127
|
import "../chunk-FO7I4E45.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StatusIndicator
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-MK2JFFUG.js";
|
|
4
|
+
import "../chunk-GQVNE3NU.js";
|
|
5
|
+
import "../chunk-CZFFMEAS.js";
|
|
6
|
+
import "../chunk-VNQE6KEX.js";
|
|
7
7
|
import "../chunk-ENBUKLVT.js";
|
|
8
8
|
import "../chunk-JSGRNWSB.js";
|
|
9
9
|
import "../chunk-FO7I4E45.js";
|
|
@@ -22,6 +22,18 @@ var __spreadValues = (a, b) => {
|
|
|
22
22
|
return a;
|
|
23
23
|
};
|
|
24
24
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
+
var __objRest = (source, exclude) => {
|
|
26
|
+
var target = {};
|
|
27
|
+
for (var prop in source)
|
|
28
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
if (source != null && __getOwnPropSymbols)
|
|
31
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
+
target[prop] = source[prop];
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
25
37
|
var __export = (target, all) => {
|
|
26
38
|
for (var name in all)
|
|
27
39
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -70,7 +82,7 @@ __export(TextButton_exports, {
|
|
|
70
82
|
TextButton: () => TextButton
|
|
71
83
|
});
|
|
72
84
|
module.exports = __toCommonJS(TextButton_exports);
|
|
73
|
-
var
|
|
85
|
+
var import_react22 = require("@emotion/react");
|
|
74
86
|
var import_styled14 = __toESM(require("@emotion/styled"), 1);
|
|
75
87
|
|
|
76
88
|
// src/router.tsx
|
|
@@ -3703,6 +3715,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3703
3715
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3704
3716
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3705
3717
|
buttons: defaultButtonsTheme,
|
|
3718
|
+
badge: {
|
|
3719
|
+
bg: "c05Neutral"
|
|
3720
|
+
},
|
|
3721
|
+
inputBackground: colors.white,
|
|
3706
3722
|
loading: "LoadingSpinner"
|
|
3707
3723
|
});
|
|
3708
3724
|
var lightBaseTheme = baseTheme;
|
|
@@ -3739,7 +3755,11 @@ var darkBaseTheme = {
|
|
|
3739
3755
|
vlcNeutral: colors.gray20,
|
|
3740
3756
|
warning: colors.warning,
|
|
3741
3757
|
buttons: defaultButtonsTheme,
|
|
3742
|
-
loading: "LoadingSpinner"
|
|
3758
|
+
loading: "LoadingSpinner",
|
|
3759
|
+
inputBackground: colors.black,
|
|
3760
|
+
badge: {
|
|
3761
|
+
bg: "c15Neutral"
|
|
3762
|
+
}
|
|
3743
3763
|
};
|
|
3744
3764
|
var lightTheme = extend(lightBaseTheme, {
|
|
3745
3765
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3778,6 +3798,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3778
3798
|
secondary: colors.grayBlue43,
|
|
3779
3799
|
text: colors.grayBlue9,
|
|
3780
3800
|
link: colors.blue39,
|
|
3801
|
+
inputBackground: colors.white,
|
|
3781
3802
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3782
3803
|
main: "Manrope",
|
|
3783
3804
|
code: "Monaco"
|
|
@@ -3854,7 +3875,10 @@ var bridgeBaseSettings = {
|
|
|
3854
3875
|
defaultBorderWidth: 1
|
|
3855
3876
|
}
|
|
3856
3877
|
}
|
|
3857
|
-
})
|
|
3878
|
+
}),
|
|
3879
|
+
badge: {
|
|
3880
|
+
bg: "grayBlue94"
|
|
3881
|
+
}
|
|
3858
3882
|
};
|
|
3859
3883
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3860
3884
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3862,7 +3886,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3862
3886
|
bg: colors.gray98,
|
|
3863
3887
|
smBg: colors.gray98,
|
|
3864
3888
|
text: colors.grayBlue9,
|
|
3865
|
-
secondary: colors.grayBlue43
|
|
3889
|
+
secondary: colors.grayBlue43,
|
|
3890
|
+
inputBackground: colors.white
|
|
3866
3891
|
}));
|
|
3867
3892
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3868
3893
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7866,7 +7891,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7866
7891
|
${({ theme, fontColor }) => {
|
|
7867
7892
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7868
7893
|
return `
|
|
7869
|
-
|
|
7894
|
+
svg, path {
|
|
7870
7895
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7871
7896
|
|
|
7872
7897
|
/*
|
|
@@ -7891,6 +7916,9 @@ var IconContainer = import_styled2.default.span`
|
|
|
7891
7916
|
}}
|
|
7892
7917
|
`;
|
|
7893
7918
|
|
|
7919
|
+
// src/components/typography/renderTypography.tsx
|
|
7920
|
+
var import_react21 = __toESM(require("react"), 1);
|
|
7921
|
+
|
|
7894
7922
|
// src/components/typography/Body.tsx
|
|
7895
7923
|
var import_styled3 = __toESM(require("@emotion/styled"), 1);
|
|
7896
7924
|
|
|
@@ -7966,6 +7994,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
7966
7994
|
Link,
|
|
7967
7995
|
{
|
|
7968
7996
|
to: node.to,
|
|
7997
|
+
newTab: !!node.newTab,
|
|
7969
7998
|
children: node.text
|
|
7970
7999
|
},
|
|
7971
8000
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -8249,7 +8278,6 @@ var StyledTitle = import_styled12.default.span`
|
|
|
8249
8278
|
`;
|
|
8250
8279
|
|
|
8251
8280
|
// src/components/typography/renderTypography.tsx
|
|
8252
|
-
var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
|
|
8253
8281
|
var typographyMap = {
|
|
8254
8282
|
Display,
|
|
8255
8283
|
Headline,
|
|
@@ -8261,15 +8289,16 @@ var typographyMap = {
|
|
|
8261
8289
|
"Label Strong": LabelStrong,
|
|
8262
8290
|
Overline,
|
|
8263
8291
|
Code: Code2,
|
|
8264
|
-
"Code Strong":
|
|
8292
|
+
"Code Strong": Code2
|
|
8265
8293
|
};
|
|
8266
8294
|
var renderTypography = (type, props) => {
|
|
8267
8295
|
const TypographyComponent = typographyMap[type];
|
|
8268
|
-
|
|
8296
|
+
const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
8297
|
+
return import_react21.default.createElement(TypographyComponent, rest, children);
|
|
8269
8298
|
};
|
|
8270
8299
|
|
|
8271
8300
|
// src/components/TextIconAligner.tsx
|
|
8272
|
-
var
|
|
8301
|
+
var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
|
|
8273
8302
|
function TextIconAligner({
|
|
8274
8303
|
content,
|
|
8275
8304
|
typography,
|
|
@@ -8282,7 +8311,7 @@ function TextIconAligner({
|
|
|
8282
8311
|
size: (typography == null ? void 0 : typography.size) || "Small",
|
|
8283
8312
|
color: (typography == null ? void 0 : typography.color) || "inherit"
|
|
8284
8313
|
});
|
|
8285
|
-
const leftIconNode = leftIcon ? /* @__PURE__ */ (0,
|
|
8314
|
+
const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
8286
8315
|
Icon,
|
|
8287
8316
|
{
|
|
8288
8317
|
name: leftIcon.name,
|
|
@@ -8291,7 +8320,7 @@ function TextIconAligner({
|
|
|
8291
8320
|
color: leftIcon.color
|
|
8292
8321
|
}
|
|
8293
8322
|
) : null;
|
|
8294
|
-
const rightIconNode = rightIcon ? /* @__PURE__ */ (0,
|
|
8323
|
+
const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
8295
8324
|
Icon,
|
|
8296
8325
|
{
|
|
8297
8326
|
name: rightIcon.name,
|
|
@@ -8300,7 +8329,7 @@ function TextIconAligner({
|
|
|
8300
8329
|
color: rightIcon.color
|
|
8301
8330
|
}
|
|
8302
8331
|
) : null;
|
|
8303
|
-
return /* @__PURE__ */ (0,
|
|
8332
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
|
|
8304
8333
|
"span",
|
|
8305
8334
|
{
|
|
8306
8335
|
css: {
|
|
@@ -8335,7 +8364,7 @@ var UnstyledButton = import_styled13.default.button`
|
|
|
8335
8364
|
`;
|
|
8336
8365
|
|
|
8337
8366
|
// src/components/TextButton.tsx
|
|
8338
|
-
var
|
|
8367
|
+
var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
|
|
8339
8368
|
function TextButton({
|
|
8340
8369
|
text: textProp,
|
|
8341
8370
|
to,
|
|
@@ -8361,7 +8390,7 @@ function TextButton({
|
|
|
8361
8390
|
};
|
|
8362
8391
|
}
|
|
8363
8392
|
const defaultIconColor = iconMatchTextColor ? void 0 : "mcNeutral";
|
|
8364
|
-
const content = /* @__PURE__ */ (0,
|
|
8393
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
8365
8394
|
TextIconAligner,
|
|
8366
8395
|
{
|
|
8367
8396
|
onClick,
|
|
@@ -8391,15 +8420,15 @@ function TextButton({
|
|
|
8391
8420
|
}
|
|
8392
8421
|
};
|
|
8393
8422
|
if (to) {
|
|
8394
|
-
return /* @__PURE__ */ (0,
|
|
8423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, children: content }));
|
|
8395
8424
|
}
|
|
8396
|
-
return href ? /* @__PURE__ */ (0,
|
|
8425
|
+
return href ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(ButtonHrefLink, __spreadProps(__spreadValues({}, commonProps), { href, target: "_blank", children: content })) : /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
|
|
8397
8426
|
}
|
|
8398
8427
|
var buttonStyle = ({
|
|
8399
8428
|
theme,
|
|
8400
8429
|
disabled,
|
|
8401
8430
|
padding
|
|
8402
|
-
}) =>
|
|
8431
|
+
}) => import_react22.css`
|
|
8403
8432
|
display: inline-flex;
|
|
8404
8433
|
opacity: ${disabled ? 0.2 : 1};
|
|
8405
8434
|
align-items: center;
|
|
@@ -8,7 +8,7 @@ import '@emotion/react';
|
|
|
8
8
|
import '@emotion/styled';
|
|
9
9
|
import 'react-router-dom';
|
|
10
10
|
import '@lightsparkdev/core';
|
|
11
|
-
import '../
|
|
11
|
+
import '../themes-37e92940.js';
|
|
12
12
|
import '../styles/tokens/typography.cjs';
|
|
13
13
|
import '@emotion/css';
|
|
14
14
|
import '../styles/colors.cjs';
|
|
@@ -8,7 +8,7 @@ import '@emotion/react';
|
|
|
8
8
|
import '@emotion/styled';
|
|
9
9
|
import 'react-router-dom';
|
|
10
10
|
import '@lightsparkdev/core';
|
|
11
|
-
import '../
|
|
11
|
+
import '../themes-832e46b2.js';
|
|
12
12
|
import '../styles/tokens/typography.js';
|
|
13
13
|
import '@emotion/css';
|
|
14
14
|
import '../styles/colors.js';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextButton
|
|
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-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-PNSZAJL7.js";
|
|
3
|
+
} from "../chunk-C4HNAZFZ.js";
|
|
4
|
+
import "../chunk-SZ4KKLYJ.js";
|
|
5
|
+
import "../chunk-LGXMGWLV.js";
|
|
6
|
+
import "../chunk-V523QTZQ.js";
|
|
7
|
+
import "../chunk-YRZ3VNBI.js";
|
|
8
|
+
import "../chunk-HPZVUEDJ.js";
|
|
9
|
+
import "../chunk-7COKMITX.js";
|
|
10
|
+
import "../chunk-DIKOS5R6.js";
|
|
11
|
+
import "../chunk-AZOVE32P.js";
|
|
12
|
+
import "../chunk-HVDX4OZJ.js";
|
|
13
|
+
import "../chunk-OMY3WTAU.js";
|
|
14
|
+
import "../chunk-OZQ5WPLN.js";
|
|
16
15
|
import "../chunk-YMNSXZ5D.js";
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-7BSME2ZU.js";
|
|
17
|
+
import "../chunk-4X67A2CS.js";
|
|
18
18
|
import "../chunk-OPV246QW.js";
|
|
19
19
|
import "../chunk-AAFUVYVP.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-OUHQXQOJ.js";
|
|
21
|
+
import "../chunk-JAPRGAB7.js";
|
|
22
|
+
import "../chunk-TNDSUTUN.js";
|
|
23
23
|
import "../chunk-EDN2QDCB.js";
|
|
24
24
|
import "../chunk-FT62PIPN.js";
|
|
25
25
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -134,8 +134,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
134
134
|
import "../chunk-QW2INB5A.js";
|
|
135
135
|
import "../chunk-JLD7MGLC.js";
|
|
136
136
|
import "../chunk-DW6LFUI2.js";
|
|
137
|
-
import "../chunk-
|
|
138
|
-
import "../chunk-
|
|
137
|
+
import "../chunk-CZFFMEAS.js";
|
|
138
|
+
import "../chunk-VNQE6KEX.js";
|
|
139
139
|
import "../chunk-ENBUKLVT.js";
|
|
140
140
|
import "../chunk-JSGRNWSB.js";
|
|
141
141
|
import "../chunk-FO7I4E45.js";
|
|
@@ -22,6 +22,18 @@ var __spreadValues = (a, b) => {
|
|
|
22
22
|
return a;
|
|
23
23
|
};
|
|
24
24
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
+
var __objRest = (source, exclude) => {
|
|
26
|
+
var target = {};
|
|
27
|
+
for (var prop in source)
|
|
28
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
if (source != null && __getOwnPropSymbols)
|
|
31
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
+
target[prop] = source[prop];
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
25
37
|
var __export = (target, all) => {
|
|
26
38
|
for (var name in all)
|
|
27
39
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -7432,6 +7444,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
7432
7444
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
7433
7445
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
7434
7446
|
buttons: defaultButtonsTheme,
|
|
7447
|
+
badge: {
|
|
7448
|
+
bg: "c05Neutral"
|
|
7449
|
+
},
|
|
7450
|
+
inputBackground: colors.white,
|
|
7435
7451
|
loading: "LoadingSpinner"
|
|
7436
7452
|
});
|
|
7437
7453
|
var lightBaseTheme = baseTheme;
|
|
@@ -7468,7 +7484,11 @@ var darkBaseTheme = {
|
|
|
7468
7484
|
vlcNeutral: colors.gray20,
|
|
7469
7485
|
warning: colors.warning,
|
|
7470
7486
|
buttons: defaultButtonsTheme,
|
|
7471
|
-
loading: "LoadingSpinner"
|
|
7487
|
+
loading: "LoadingSpinner",
|
|
7488
|
+
inputBackground: colors.black,
|
|
7489
|
+
badge: {
|
|
7490
|
+
bg: "c15Neutral"
|
|
7491
|
+
}
|
|
7472
7492
|
};
|
|
7473
7493
|
var lightTheme = extend(lightBaseTheme, {
|
|
7474
7494
|
header: extendBase(lightBaseTheme, {
|
|
@@ -7507,6 +7527,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
7507
7527
|
secondary: colors.grayBlue43,
|
|
7508
7528
|
text: colors.grayBlue9,
|
|
7509
7529
|
link: colors.blue39,
|
|
7530
|
+
inputBackground: colors.white,
|
|
7510
7531
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
7511
7532
|
main: "Manrope",
|
|
7512
7533
|
code: "Monaco"
|
|
@@ -7583,7 +7604,10 @@ var bridgeBaseSettings = {
|
|
|
7583
7604
|
defaultBorderWidth: 1
|
|
7584
7605
|
}
|
|
7585
7606
|
}
|
|
7586
|
-
})
|
|
7607
|
+
}),
|
|
7608
|
+
badge: {
|
|
7609
|
+
bg: "grayBlue94"
|
|
7610
|
+
}
|
|
7587
7611
|
};
|
|
7588
7612
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7589
7613
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -7591,7 +7615,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
7591
7615
|
bg: colors.gray98,
|
|
7592
7616
|
smBg: colors.gray98,
|
|
7593
7617
|
text: colors.grayBlue9,
|
|
7594
|
-
secondary: colors.grayBlue43
|
|
7618
|
+
secondary: colors.grayBlue43,
|
|
7619
|
+
inputBackground: colors.white
|
|
7595
7620
|
}));
|
|
7596
7621
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7597
7622
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7747,7 +7772,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7747
7772
|
${({ theme, fontColor }) => {
|
|
7748
7773
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7749
7774
|
return `
|
|
7750
|
-
|
|
7775
|
+
svg, path {
|
|
7751
7776
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7752
7777
|
|
|
7753
7778
|
/*
|
|
@@ -7772,6 +7797,9 @@ var IconContainer = import_styled2.default.span`
|
|
|
7772
7797
|
}}
|
|
7773
7798
|
`;
|
|
7774
7799
|
|
|
7800
|
+
// src/components/typography/renderTypography.tsx
|
|
7801
|
+
var import_react21 = __toESM(require("react"), 1);
|
|
7802
|
+
|
|
7775
7803
|
// src/components/typography/Body.tsx
|
|
7776
7804
|
var import_styled3 = __toESM(require("@emotion/styled"), 1);
|
|
7777
7805
|
|
|
@@ -7921,6 +7949,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
7921
7949
|
Link,
|
|
7922
7950
|
{
|
|
7923
7951
|
to: node.to,
|
|
7952
|
+
newTab: !!node.newTab,
|
|
7924
7953
|
children: node.text
|
|
7925
7954
|
},
|
|
7926
7955
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -8204,7 +8233,6 @@ var StyledTitle = import_styled12.default.span`
|
|
|
8204
8233
|
`;
|
|
8205
8234
|
|
|
8206
8235
|
// src/components/typography/renderTypography.tsx
|
|
8207
|
-
var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
|
|
8208
8236
|
var typographyMap = {
|
|
8209
8237
|
Display,
|
|
8210
8238
|
Headline,
|
|
@@ -8216,15 +8244,16 @@ var typographyMap = {
|
|
|
8216
8244
|
"Label Strong": LabelStrong,
|
|
8217
8245
|
Overline,
|
|
8218
8246
|
Code: Code2,
|
|
8219
|
-
"Code Strong":
|
|
8247
|
+
"Code Strong": Code2
|
|
8220
8248
|
};
|
|
8221
8249
|
var renderTypography = (type, props) => {
|
|
8222
8250
|
const TypographyComponent = typographyMap[type];
|
|
8223
|
-
|
|
8251
|
+
const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
8252
|
+
return import_react21.default.createElement(TypographyComponent, rest, children);
|
|
8224
8253
|
};
|
|
8225
8254
|
|
|
8226
8255
|
// src/components/TextIconAligner.tsx
|
|
8227
|
-
var
|
|
8256
|
+
var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
|
|
8228
8257
|
function TextIconAligner({
|
|
8229
8258
|
content,
|
|
8230
8259
|
typography,
|
|
@@ -8237,7 +8266,7 @@ function TextIconAligner({
|
|
|
8237
8266
|
size: (typography == null ? void 0 : typography.size) || "Small",
|
|
8238
8267
|
color: (typography == null ? void 0 : typography.color) || "inherit"
|
|
8239
8268
|
});
|
|
8240
|
-
const leftIconNode = leftIcon ? /* @__PURE__ */ (0,
|
|
8269
|
+
const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
8241
8270
|
Icon,
|
|
8242
8271
|
{
|
|
8243
8272
|
name: leftIcon.name,
|
|
@@ -8246,7 +8275,7 @@ function TextIconAligner({
|
|
|
8246
8275
|
color: leftIcon.color
|
|
8247
8276
|
}
|
|
8248
8277
|
) : null;
|
|
8249
|
-
const rightIconNode = rightIcon ? /* @__PURE__ */ (0,
|
|
8278
|
+
const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|
|
8250
8279
|
Icon,
|
|
8251
8280
|
{
|
|
8252
8281
|
name: rightIcon.name,
|
|
@@ -8255,7 +8284,7 @@ function TextIconAligner({
|
|
|
8255
8284
|
color: rightIcon.color
|
|
8256
8285
|
}
|
|
8257
8286
|
) : null;
|
|
8258
|
-
return /* @__PURE__ */ (0,
|
|
8287
|
+
return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)(
|
|
8259
8288
|
"span",
|
|
8260
8289
|
{
|
|
8261
8290
|
css: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { T as ThemeOrColorKey } from '../
|
|
2
|
+
import { T as ThemeOrColorKey } from '../themes-37e92940.js';
|
|
3
3
|
import { SimpleTypographyProps } from '../styles/typography.cjs';
|
|
4
4
|
import { ToNonTypographicReactNodesArgs } from '../utils/toNonTypographicReactNodes.cjs';
|
|
5
5
|
import { IconName } from './Icon/types.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
-
import { T as ThemeOrColorKey } from '../
|
|
2
|
+
import { T as ThemeOrColorKey } from '../themes-832e46b2.js';
|
|
3
3
|
import { SimpleTypographyProps } from '../styles/typography.js';
|
|
4
4
|
import { ToNonTypographicReactNodesArgs } from '../utils/toNonTypographicReactNodes.js';
|
|
5
5
|
import { IconName } from './Icon/types.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextIconAligner
|
|
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-
|
|
14
|
-
import "../chunk-PNSZAJL7.js";
|
|
3
|
+
} from "../chunk-SZ4KKLYJ.js";
|
|
4
|
+
import "../chunk-LGXMGWLV.js";
|
|
5
|
+
import "../chunk-V523QTZQ.js";
|
|
6
|
+
import "../chunk-YRZ3VNBI.js";
|
|
7
|
+
import "../chunk-HPZVUEDJ.js";
|
|
8
|
+
import "../chunk-7COKMITX.js";
|
|
9
|
+
import "../chunk-DIKOS5R6.js";
|
|
10
|
+
import "../chunk-AZOVE32P.js";
|
|
11
|
+
import "../chunk-HVDX4OZJ.js";
|
|
12
|
+
import "../chunk-OMY3WTAU.js";
|
|
13
|
+
import "../chunk-OZQ5WPLN.js";
|
|
15
14
|
import "../chunk-YMNSXZ5D.js";
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-7BSME2ZU.js";
|
|
16
|
+
import "../chunk-4X67A2CS.js";
|
|
17
17
|
import "../chunk-OPV246QW.js";
|
|
18
18
|
import "../chunk-AAFUVYVP.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-OUHQXQOJ.js";
|
|
20
|
+
import "../chunk-TNDSUTUN.js";
|
|
21
21
|
import "../chunk-EDN2QDCB.js";
|
|
22
22
|
import "../chunk-FT62PIPN.js";
|
|
23
23
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -132,8 +132,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
132
132
|
import "../chunk-QW2INB5A.js";
|
|
133
133
|
import "../chunk-JLD7MGLC.js";
|
|
134
134
|
import "../chunk-DW6LFUI2.js";
|
|
135
|
-
import "../chunk-
|
|
136
|
-
import "../chunk-
|
|
135
|
+
import "../chunk-CZFFMEAS.js";
|
|
136
|
+
import "../chunk-VNQE6KEX.js";
|
|
137
137
|
import "../chunk-ENBUKLVT.js";
|
|
138
138
|
import "../chunk-JSGRNWSB.js";
|
|
139
139
|
import "../chunk-FO7I4E45.js";
|