@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
|
@@ -3,12 +3,12 @@ import { OverlineProps } from './Overline.js';
|
|
|
3
3
|
import { LabelStrongProps } from './LabelStrong.js';
|
|
4
4
|
import { LabelModerateProps } from './LabelModerate.js';
|
|
5
5
|
import { TitleProps } from './Title.js';
|
|
6
|
-
import { F as FontColorKey } from '../../
|
|
6
|
+
import { F as FontColorKey } from '../../themes-832e46b2.js';
|
|
7
7
|
import { TokenSizeKey, TypographyTypeKey } from '../../styles/tokens/typography.js';
|
|
8
8
|
import { ToNonTypographicReactNodesArgs } from '../../utils/toNonTypographicReactNodes.js';
|
|
9
9
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
10
10
|
import { DisplayProps } from './Display.js';
|
|
11
|
-
import { ComponentProps } from 'react';
|
|
11
|
+
import react__default, { ComponentProps } from 'react';
|
|
12
12
|
import '@emotion/styled';
|
|
13
13
|
import '@emotion/react';
|
|
14
14
|
import '@emotion/css';
|
|
@@ -133,82 +133,82 @@ declare const typographyMap: {
|
|
|
133
133
|
readonly Headline: ({ content, color, size, children, heading, id, display, }: {
|
|
134
134
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
135
135
|
children?: string | null | undefined;
|
|
136
|
-
size?: TokenSizeKey;
|
|
136
|
+
size?: TokenSizeKey | undefined;
|
|
137
137
|
color?: FontColorKey | undefined;
|
|
138
138
|
heading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
139
139
|
id?: string | undefined;
|
|
140
|
-
display?: "
|
|
140
|
+
display?: "block" | "flex" | "inline-flex";
|
|
141
141
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
142
142
|
readonly Title: ({ content, color, size, children, block, }: TitleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
143
143
|
readonly Body: ({ content, color, size, children, block, tag, }: {
|
|
144
144
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
145
145
|
children?: string | null | undefined;
|
|
146
|
-
size?: TokenSizeKey;
|
|
146
|
+
size?: TokenSizeKey | undefined;
|
|
147
147
|
color?: FontColorKey | undefined;
|
|
148
148
|
block?: boolean | undefined;
|
|
149
|
-
tag?: ("
|
|
149
|
+
tag?: ("span" | "p" | "pre" | "div") | undefined;
|
|
150
150
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
151
151
|
readonly "Body Strong": ({ content, children, color, size, block, }: {
|
|
152
152
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
153
153
|
children?: string | null | undefined;
|
|
154
|
-
size?: TokenSizeKey;
|
|
154
|
+
size?: TokenSizeKey | undefined;
|
|
155
155
|
color?: FontColorKey | undefined;
|
|
156
156
|
block?: boolean | undefined;
|
|
157
157
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
158
158
|
readonly Label: ({ content, color, size, children, }: {
|
|
159
159
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
160
160
|
children?: string | null | undefined;
|
|
161
|
-
size?: TokenSizeKey;
|
|
161
|
+
size?: TokenSizeKey | undefined;
|
|
162
162
|
color?: FontColorKey | undefined;
|
|
163
163
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
164
164
|
readonly "Label Moderate": ({ content, color, size, children, }: LabelModerateProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
165
165
|
readonly "Label Strong": ({ content, color, size, children, block, }: LabelStrongProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
166
166
|
readonly Overline: ({ content, color, size, children, }: OverlineProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
167
167
|
readonly Code: ({ content, color, size, children, }: CodeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
168
|
-
readonly "Code Strong": () => _emotion_react_jsx_runtime.JSX.Element;
|
|
168
|
+
readonly "Code Strong": ({ content, color, size, children, }: CodeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
169
169
|
};
|
|
170
|
-
type RenderTypographyArgs<T extends TypographyTypeKey
|
|
170
|
+
type RenderTypographyArgs<T extends TypographyTypeKey> = {
|
|
171
171
|
type: T;
|
|
172
|
-
props
|
|
172
|
+
props: ComponentProps<(typeof typographyMap)[T]>;
|
|
173
173
|
};
|
|
174
|
-
declare const renderTypography: <T extends TypographyTypeKey>(type: T, props: ComponentProps<{
|
|
174
|
+
declare const renderTypography: <T extends TypographyTypeKey>(type: T, props: react__default.ComponentProps<{
|
|
175
175
|
readonly Display: ({ content, children, color, size, element, }: DisplayProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
176
176
|
readonly Headline: ({ content, color, size, children, heading, id, display, }: {
|
|
177
177
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
178
178
|
children?: string | null | undefined;
|
|
179
|
-
size?: TokenSizeKey;
|
|
179
|
+
size?: TokenSizeKey | undefined;
|
|
180
180
|
color?: FontColorKey | undefined;
|
|
181
181
|
heading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
182
182
|
id?: string | undefined;
|
|
183
|
-
display?: "
|
|
183
|
+
display?: "block" | "flex" | "inline-flex";
|
|
184
184
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
185
185
|
readonly Title: ({ content, color, size, children, block, }: TitleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
186
186
|
readonly Body: ({ content, color, size, children, block, tag, }: {
|
|
187
187
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
188
188
|
children?: string | null | undefined;
|
|
189
|
-
size?: TokenSizeKey;
|
|
189
|
+
size?: TokenSizeKey | undefined;
|
|
190
190
|
color?: FontColorKey | undefined;
|
|
191
191
|
block?: boolean | undefined;
|
|
192
|
-
tag?: ("
|
|
192
|
+
tag?: ("span" | "p" | "pre" | "div") | undefined;
|
|
193
193
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
194
194
|
readonly "Body Strong": ({ content, children, color, size, block, }: {
|
|
195
195
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
196
196
|
children?: string | null | undefined;
|
|
197
|
-
size?: TokenSizeKey;
|
|
197
|
+
size?: TokenSizeKey | undefined;
|
|
198
198
|
color?: FontColorKey | undefined;
|
|
199
199
|
block?: boolean | undefined;
|
|
200
200
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
201
201
|
readonly Label: ({ content, color, size, children, }: {
|
|
202
202
|
content?: ToNonTypographicReactNodesArgs | null | undefined;
|
|
203
203
|
children?: string | null | undefined;
|
|
204
|
-
size?: TokenSizeKey;
|
|
204
|
+
size?: TokenSizeKey | undefined;
|
|
205
205
|
color?: FontColorKey | undefined;
|
|
206
206
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
207
207
|
readonly "Label Moderate": ({ content, color, size, children, }: LabelModerateProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
208
208
|
readonly "Label Strong": ({ content, color, size, children, block, }: LabelStrongProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
209
209
|
readonly Overline: ({ content, color, size, children, }: OverlineProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
210
210
|
readonly Code: ({ content, color, size, children, }: CodeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
211
|
-
readonly "Code Strong": () => _emotion_react_jsx_runtime.JSX.Element;
|
|
212
|
-
}[T]>) =>
|
|
211
|
+
readonly "Code Strong": ({ content, color, size, children, }: CodeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
212
|
+
}[T]>) => react__default.FunctionComponentElement<DisplayProps>;
|
|
213
213
|
|
|
214
214
|
export { RenderTypographyArgs, renderTypography, typographyMap };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography,
|
|
3
3
|
typographyMap
|
|
4
|
-
} from "../../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";
|
|
4
|
+
} from "../../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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AllowedButtonTypographyTypes, a as ButtonBorderRadius, B as ButtonTypographyArgs,
|
|
1
|
+
export { A as AllowedButtonTypographyTypes, a as ButtonBorderRadius, B as ButtonTypographyArgs, g as ButtonsThemeKey, c as PaddingY, P as PaddingYKey, e as allowedButtonTypographyTypes, d as buttonBorderRadiuses, f as buttonsThemeBase, h as defaultButtonsTheme } from '../themes-37e92940.js';
|
|
2
2
|
import './tokens/typography.cjs';
|
|
3
3
|
import '@emotion/react';
|
|
4
4
|
import '@emotion/css';
|
package/dist/styles/buttons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AllowedButtonTypographyTypes, a as ButtonBorderRadius, B as ButtonTypographyArgs,
|
|
1
|
+
export { A as AllowedButtonTypographyTypes, a as ButtonBorderRadius, B as ButtonTypographyArgs, g as ButtonsThemeKey, c as PaddingY, P as PaddingYKey, e as allowedButtonTypographyTypes, d as buttonBorderRadiuses, f as buttonsThemeBase, h as defaultButtonsTheme } from '../themes-832e46b2.js';
|
|
2
2
|
import './tokens/typography.js';
|
|
3
3
|
import '@emotion/react';
|
|
4
4
|
import '@emotion/css';
|
package/dist/styles/common.cjs
CHANGED
|
@@ -3538,6 +3538,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3538
3538
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3539
3539
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3540
3540
|
buttons: defaultButtonsTheme,
|
|
3541
|
+
badge: {
|
|
3542
|
+
bg: "c05Neutral"
|
|
3543
|
+
},
|
|
3544
|
+
inputBackground: colors.white,
|
|
3541
3545
|
loading: "LoadingSpinner"
|
|
3542
3546
|
});
|
|
3543
3547
|
var lightBaseTheme = baseTheme;
|
|
@@ -3574,7 +3578,11 @@ var darkBaseTheme = {
|
|
|
3574
3578
|
vlcNeutral: colors.gray20,
|
|
3575
3579
|
warning: colors.warning,
|
|
3576
3580
|
buttons: defaultButtonsTheme,
|
|
3577
|
-
loading: "LoadingSpinner"
|
|
3581
|
+
loading: "LoadingSpinner",
|
|
3582
|
+
inputBackground: colors.black,
|
|
3583
|
+
badge: {
|
|
3584
|
+
bg: "c15Neutral"
|
|
3585
|
+
}
|
|
3578
3586
|
};
|
|
3579
3587
|
var lightTheme = extend(lightBaseTheme, {
|
|
3580
3588
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3613,6 +3621,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3613
3621
|
secondary: colors.grayBlue43,
|
|
3614
3622
|
text: colors.grayBlue9,
|
|
3615
3623
|
link: colors.blue39,
|
|
3624
|
+
inputBackground: colors.white,
|
|
3616
3625
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3617
3626
|
main: "Manrope",
|
|
3618
3627
|
code: "Monaco"
|
|
@@ -3689,7 +3698,10 @@ var bridgeBaseSettings = {
|
|
|
3689
3698
|
defaultBorderWidth: 1
|
|
3690
3699
|
}
|
|
3691
3700
|
}
|
|
3692
|
-
})
|
|
3701
|
+
}),
|
|
3702
|
+
badge: {
|
|
3703
|
+
bg: "grayBlue94"
|
|
3704
|
+
}
|
|
3693
3705
|
};
|
|
3694
3706
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3695
3707
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3697,7 +3709,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3697
3709
|
bg: colors.gray98,
|
|
3698
3710
|
smBg: colors.gray98,
|
|
3699
3711
|
text: colors.grayBlue9,
|
|
3700
|
-
secondary: colors.grayBlue43
|
|
3712
|
+
secondary: colors.grayBlue43,
|
|
3713
|
+
inputBackground: colors.white
|
|
3701
3714
|
}));
|
|
3702
3715
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3703
3716
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -3828,11 +3841,12 @@ var overlaySurfaceBorderColor = ({
|
|
|
3828
3841
|
`;
|
|
3829
3842
|
var overlaySurface = ({
|
|
3830
3843
|
theme,
|
|
3831
|
-
important = false
|
|
3844
|
+
important = false,
|
|
3845
|
+
border = true
|
|
3832
3846
|
}) => import_react4.css`
|
|
3833
|
-
background-color: ${themeOr(
|
|
3847
|
+
background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
|
|
3834
3848
|
${important ? "!important" : ""};
|
|
3835
|
-
border: 0.5px solid ${important ? "!important" : ""}
|
|
3849
|
+
${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
|
|
3836
3850
|
${overlaySurfaceBorderColor({ theme, important })};
|
|
3837
3851
|
${themeOr(
|
|
3838
3852
|
`box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
|
package/dist/styles/common.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import * as _emotion_react from '@emotion/react';
|
|
4
4
|
import { Theme } from '@emotion/react';
|
|
5
|
-
import { W as WithTheme, b as ThemeProp } from '../
|
|
5
|
+
import { W as WithTheme, b as ThemeProp } from '../themes-37e92940.js';
|
|
6
6
|
import './tokens/typography.cjs';
|
|
7
7
|
import '@emotion/css';
|
|
8
8
|
import './colors.cjs';
|
|
@@ -47,8 +47,9 @@ declare const darkGradientBg: _emotion_react.SerializedStyles;
|
|
|
47
47
|
declare const overlaySurfaceBorderColor: ({ theme, important, }: WithTheme<{
|
|
48
48
|
important?: boolean;
|
|
49
49
|
}>) => _emotion_react.SerializedStyles;
|
|
50
|
-
declare const overlaySurface: ({ theme, important, }: WithTheme<{
|
|
50
|
+
declare const overlaySurface: ({ theme, important, border, }: WithTheme<{
|
|
51
51
|
important?: boolean;
|
|
52
|
+
border?: boolean;
|
|
52
53
|
}>) => _emotion_react.SerializedStyles;
|
|
53
54
|
declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
|
|
54
55
|
declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
|
package/dist/styles/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import * as _emotion_react from '@emotion/react';
|
|
4
4
|
import { Theme } from '@emotion/react';
|
|
5
|
-
import { W as WithTheme, b as ThemeProp } from '../
|
|
5
|
+
import { W as WithTheme, b as ThemeProp } from '../themes-832e46b2.js';
|
|
6
6
|
import './tokens/typography.js';
|
|
7
7
|
import '@emotion/css';
|
|
8
8
|
import './colors.js';
|
|
@@ -47,8 +47,9 @@ declare const darkGradientBg: _emotion_react.SerializedStyles;
|
|
|
47
47
|
declare const overlaySurfaceBorderColor: ({ theme, important, }: WithTheme<{
|
|
48
48
|
important?: boolean;
|
|
49
49
|
}>) => _emotion_react.SerializedStyles;
|
|
50
|
-
declare const overlaySurface: ({ theme, important, }: WithTheme<{
|
|
50
|
+
declare const overlaySurface: ({ theme, important, border, }: WithTheme<{
|
|
51
51
|
important?: boolean;
|
|
52
|
+
border?: boolean;
|
|
52
53
|
}>) => _emotion_react.SerializedStyles;
|
|
53
54
|
declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
|
|
54
55
|
declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
|
package/dist/styles/common.js
CHANGED
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
standardFocusOutline,
|
|
22
22
|
standardLineHeightEms,
|
|
23
23
|
subtext
|
|
24
|
-
} from "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
} from "../chunk-CZFFMEAS.js";
|
|
25
|
+
import "../chunk-VNQE6KEX.js";
|
|
26
26
|
import "../chunk-ENBUKLVT.js";
|
|
27
27
|
import "../chunk-JSGRNWSB.js";
|
|
28
28
|
import "../chunk-FO7I4E45.js";
|
package/dist/styles/fields.cjs
CHANGED
|
@@ -3599,6 +3599,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3599
3599
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3600
3600
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3601
3601
|
buttons: defaultButtonsTheme,
|
|
3602
|
+
badge: {
|
|
3603
|
+
bg: "c05Neutral"
|
|
3604
|
+
},
|
|
3605
|
+
inputBackground: colors.white,
|
|
3602
3606
|
loading: "LoadingSpinner"
|
|
3603
3607
|
});
|
|
3604
3608
|
var lightBaseTheme = baseTheme;
|
|
@@ -3635,7 +3639,11 @@ var darkBaseTheme = {
|
|
|
3635
3639
|
vlcNeutral: colors.gray20,
|
|
3636
3640
|
warning: colors.warning,
|
|
3637
3641
|
buttons: defaultButtonsTheme,
|
|
3638
|
-
loading: "LoadingSpinner"
|
|
3642
|
+
loading: "LoadingSpinner",
|
|
3643
|
+
inputBackground: colors.black,
|
|
3644
|
+
badge: {
|
|
3645
|
+
bg: "c15Neutral"
|
|
3646
|
+
}
|
|
3639
3647
|
};
|
|
3640
3648
|
var lightTheme = extend(lightBaseTheme, {
|
|
3641
3649
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3674,6 +3682,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3674
3682
|
secondary: colors.grayBlue43,
|
|
3675
3683
|
text: colors.grayBlue9,
|
|
3676
3684
|
link: colors.blue39,
|
|
3685
|
+
inputBackground: colors.white,
|
|
3677
3686
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3678
3687
|
main: "Manrope",
|
|
3679
3688
|
code: "Monaco"
|
|
@@ -3750,7 +3759,10 @@ var bridgeBaseSettings = {
|
|
|
3750
3759
|
defaultBorderWidth: 1
|
|
3751
3760
|
}
|
|
3752
3761
|
}
|
|
3753
|
-
})
|
|
3762
|
+
}),
|
|
3763
|
+
badge: {
|
|
3764
|
+
bg: "grayBlue94"
|
|
3765
|
+
}
|
|
3754
3766
|
};
|
|
3755
3767
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3756
3768
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3758,7 +3770,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3758
3770
|
bg: colors.gray98,
|
|
3759
3771
|
smBg: colors.gray98,
|
|
3760
3772
|
text: colors.grayBlue9,
|
|
3761
|
-
secondary: colors.grayBlue43
|
|
3773
|
+
secondary: colors.grayBlue43,
|
|
3774
|
+
inputBackground: colors.white
|
|
3762
3775
|
}));
|
|
3763
3776
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3764
3777
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -3980,7 +3993,7 @@ var textInputStyle = ({
|
|
|
3980
3993
|
var _a;
|
|
3981
3994
|
return import_react5.css`
|
|
3982
3995
|
border-radius: ${textInputBorderRadiusPx}px;
|
|
3983
|
-
background-color: ${disabled ? theme.vlcNeutral : theme.
|
|
3996
|
+
background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
|
|
3984
3997
|
cursor: ${disabled ? "not-allowed" : "auto"};
|
|
3985
3998
|
box-sizing: border-box;
|
|
3986
3999
|
font-weight: ${textInputFontWeight};
|
package/dist/styles/fields.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
|
-
import { b as ThemeProp, W as WithTheme } from '../
|
|
5
|
+
import { b as ThemeProp, W as WithTheme } from '../themes-37e92940.js';
|
|
6
6
|
import { SimpleTypographyProps } from './typography.cjs';
|
|
7
7
|
import './tokens/typography.cjs';
|
|
8
8
|
import '@emotion/css';
|
package/dist/styles/fields.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
|
-
import { b as ThemeProp, W as WithTheme } from '../
|
|
5
|
+
import { b as ThemeProp, W as WithTheme } from '../themes-832e46b2.js';
|
|
6
6
|
import { SimpleTypographyProps } from './typography.js';
|
|
7
7
|
import './tokens/typography.js';
|
|
8
8
|
import '@emotion/css';
|
package/dist/styles/fields.js
CHANGED
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
textInputPaddingPx,
|
|
23
23
|
textInputPlaceholderColor,
|
|
24
24
|
textInputStyle
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-7RMHMFS2.js";
|
|
26
|
+
import "../chunk-OUHQXQOJ.js";
|
|
27
27
|
import "../chunk-55OQPFLF.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-CZFFMEAS.js";
|
|
29
|
+
import "../chunk-VNQE6KEX.js";
|
|
30
30
|
import "../chunk-ENBUKLVT.js";
|
|
31
31
|
import "../chunk-JSGRNWSB.js";
|
|
32
32
|
import "../chunk-FO7I4E45.js";
|
package/dist/styles/global.cjs
CHANGED
|
@@ -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 */
|
package/dist/styles/global.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as _emotion_react from '@emotion/react';
|
|
3
|
-
import { b as ThemeProp } from '../
|
|
3
|
+
import { b as ThemeProp } from '../themes-37e92940.js';
|
|
4
4
|
import './tokens/typography.cjs';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.cjs';
|
package/dist/styles/global.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as _emotion_react from '@emotion/react';
|
|
3
|
-
import { b as ThemeProp } from '../
|
|
3
|
+
import { b as ThemeProp } from '../themes-832e46b2.js';
|
|
4
4
|
import './tokens/typography.js';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.js';
|
package/dist/styles/global.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GlobalStyles,
|
|
3
3
|
globalComponentStyles
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-THTKSZSR.js";
|
|
5
5
|
import "../chunk-VQVEZVAG.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-CZFFMEAS.js";
|
|
7
|
+
import "../chunk-VNQE6KEX.js";
|
|
8
8
|
import "../chunk-ENBUKLVT.js";
|
|
9
9
|
import "../chunk-JSGRNWSB.js";
|
|
10
10
|
import "../chunk-FO7I4E45.js";
|
package/dist/styles/themes.cjs
CHANGED
|
@@ -3562,6 +3562,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3562
3562
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3563
3563
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3564
3564
|
buttons: defaultButtonsTheme,
|
|
3565
|
+
badge: {
|
|
3566
|
+
bg: "c05Neutral"
|
|
3567
|
+
},
|
|
3568
|
+
inputBackground: colors.white,
|
|
3565
3569
|
loading: "LoadingSpinner"
|
|
3566
3570
|
});
|
|
3567
3571
|
var lightBaseTheme = baseTheme;
|
|
@@ -3598,7 +3602,11 @@ var darkBaseTheme = {
|
|
|
3598
3602
|
vlcNeutral: colors.gray20,
|
|
3599
3603
|
warning: colors.warning,
|
|
3600
3604
|
buttons: defaultButtonsTheme,
|
|
3601
|
-
loading: "LoadingSpinner"
|
|
3605
|
+
loading: "LoadingSpinner",
|
|
3606
|
+
inputBackground: colors.black,
|
|
3607
|
+
badge: {
|
|
3608
|
+
bg: "c15Neutral"
|
|
3609
|
+
}
|
|
3602
3610
|
};
|
|
3603
3611
|
var lightTheme = extend(lightBaseTheme, {
|
|
3604
3612
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3637,6 +3645,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3637
3645
|
secondary: colors.grayBlue43,
|
|
3638
3646
|
text: colors.grayBlue9,
|
|
3639
3647
|
link: colors.blue39,
|
|
3648
|
+
inputBackground: colors.white,
|
|
3640
3649
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3641
3650
|
main: "Manrope",
|
|
3642
3651
|
code: "Monaco"
|
|
@@ -3713,7 +3722,10 @@ var bridgeBaseSettings = {
|
|
|
3713
3722
|
defaultBorderWidth: 1
|
|
3714
3723
|
}
|
|
3715
3724
|
}
|
|
3716
|
-
})
|
|
3725
|
+
}),
|
|
3726
|
+
badge: {
|
|
3727
|
+
bg: "grayBlue94"
|
|
3728
|
+
}
|
|
3717
3729
|
};
|
|
3718
3730
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3719
3731
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3721,7 +3733,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3721
3733
|
bg: colors.gray98,
|
|
3722
3734
|
smBg: colors.gray98,
|
|
3723
3735
|
text: colors.grayBlue9,
|
|
3724
|
-
secondary: colors.grayBlue43
|
|
3736
|
+
secondary: colors.grayBlue43,
|
|
3737
|
+
inputBackground: colors.white
|
|
3725
3738
|
}));
|
|
3726
3739
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3727
3740
|
type: "bridgeDark" /* BridgeDark */
|
package/dist/styles/themes.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@emotion/react';
|
|
2
|
-
export {
|
|
2
|
+
export { o as BackgroundColorKey, p as BackgroundColorKeyArg, F as FontColorKey, L as LightsparkTheme, S as SurfaceThemeColorKey, T as ThemeOrColorKey, b as ThemeProp, i as Themes, W as WithTheme, u as getBackgroundColor, m as getColor, n as getFontColor, z as ifDark, y as ifLight, q as isBackgroundColorKey, r as isBackgroundColorKeyTuple, v as isDark, w as isLight, k as isThemeColorKey, l as isThemeOrColorKey, s as setFonts, x as themeOr, t as themeOrColorKeyValues, j as themes, C as useThemeBg } from '../themes-37e92940.js';
|
|
3
3
|
import './tokens/typography.cjs';
|
|
4
4
|
import '@emotion/css';
|
|
5
5
|
import './colors.cjs';
|
package/dist/styles/themes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@emotion/react';
|
|
2
|
-
export {
|
|
2
|
+
export { o as BackgroundColorKey, p as BackgroundColorKeyArg, F as FontColorKey, L as LightsparkTheme, S as SurfaceThemeColorKey, T as ThemeOrColorKey, b as ThemeProp, i as Themes, W as WithTheme, u as getBackgroundColor, m as getColor, n as getFontColor, z as ifDark, y as ifLight, q as isBackgroundColorKey, r as isBackgroundColorKeyTuple, v as isDark, w as isLight, k as isThemeColorKey, l as isThemeOrColorKey, s as setFonts, x as themeOr, t as themeOrColorKeyValues, j as themes, C as useThemeBg } from '../themes-832e46b2.js';
|
|
3
3
|
import './tokens/typography.js';
|
|
4
4
|
import '@emotion/css';
|
|
5
5
|
import './colors.js';
|
package/dist/styles/themes.js
CHANGED