@lightsparkdev/ui 0.0.0 → 0.0.2
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 +18 -0
- package/dist/chunk-2GX5Y72Y.js +78 -0
- package/dist/{chunk-CQDQFIWT.js → chunk-345XTQ55.js} +10 -4
- package/dist/{chunk-7NQH4LBZ.js → chunk-4Y2M2HEF.js} +2 -2
- package/dist/chunk-5XTI555J.js +57 -0
- package/dist/{chunk-FETTWCK3.js → chunk-6CJNPRC3.js} +1 -1
- package/dist/chunk-7VX4OOSZ.js +29 -0
- package/dist/{chunk-W4GDCWKZ.js → chunk-7ZTWDJAE.js} +3 -3
- package/dist/chunk-ABA75YLN.js +38 -0
- package/dist/{chunk-2RF46PE5.js → chunk-AFAP6ZGM.js} +22 -8
- package/dist/{chunk-6RDG2DE3.js → chunk-BGOEN6S2.js} +2 -2
- package/dist/{chunk-LWTUQB7O.js → chunk-C4OKXC6T.js} +2 -2
- package/dist/{chunk-RUVXOYBL.js → chunk-EXB35D5E.js} +5 -4
- package/dist/chunk-F4FIOIYM.js +923 -0
- package/dist/{chunk-L7XFJWMY.js → chunk-HC4KIHUT.js} +1 -1
- package/dist/{chunk-QR7BKTM6.js → chunk-HZH77KO7.js} +4 -4
- package/dist/{chunk-LJYASIJC.js → chunk-I5KUI7TK.js} +19 -3
- package/dist/{chunk-6AV4TE6I.js → chunk-IZBH5JX6.js} +2 -2
- package/dist/{chunk-XTEEADPV.js → chunk-JD7JHP46.js} +22 -10
- package/dist/{chunk-BKOTW3CK.js → chunk-M46YHH4D.js} +1 -1
- package/dist/{chunk-4X3K3VRC.js → chunk-MQZEMU23.js} +6 -6
- package/dist/{chunk-K7MPHJNG.js → chunk-N2J673NM.js} +3 -3
- package/dist/{chunk-BZ5MKMI2.js → chunk-N7SP3C6R.js} +1 -1
- package/dist/{chunk-O27TAUAS.js → chunk-QMHY6EGS.js} +3 -3
- package/dist/{chunk-Y4RJ7WS4.js → chunk-QOUEEA3G.js} +1 -1
- package/dist/{chunk-X6BI4STY.js → chunk-RIU33XNS.js} +1 -1
- package/dist/{chunk-7ENCWBAN.js → chunk-SMLXEMZE.js} +8 -3
- package/dist/{chunk-I4PO6FQP.js → chunk-WK4HZX53.js} +2 -2
- package/dist/{chunk-DE24BV2C.js → chunk-WLHM7GX2.js} +2 -2
- package/dist/{chunk-WVEK4LFA.js → chunk-XRIZ5OCE.js} +3 -3
- package/dist/chunk-XU3F6HH6.js +29 -0
- package/dist/{chunk-ACZDUWPH.js → chunk-Z4M2ODOW.js} +2 -2
- package/dist/{chunk-LZHLWOXG.js → chunk-Z4MZOSEJ.js} +1 -1
- package/dist/components/Button.cjs +429 -236
- package/dist/components/Button.js +9 -9
- package/dist/components/ButtonRow.cjs +431 -236
- package/dist/components/ButtonRow.js +11 -11
- package/dist/components/Collapsible.cjs +415 -228
- package/dist/components/Collapsible.d.cts +2 -1
- package/dist/components/Collapsible.d.ts +2 -1
- package/dist/components/Collapsible.js +7 -7
- package/dist/components/ContentTable.cjs +1498 -0
- package/dist/components/ContentTable.d.cts +26 -0
- package/dist/components/ContentTable.d.ts +26 -0
- package/dist/components/ContentTable.js +16 -0
- package/dist/components/CopyToClipboardButton.cjs +409 -227
- package/dist/components/CopyToClipboardButton.js +7 -7
- package/dist/components/CurrencyAmount.cjs +409 -227
- package/dist/components/CurrencyAmount.js +6 -6
- package/dist/components/Icon.cjs +409 -227
- package/dist/components/Icon.js +5 -5
- package/dist/components/LightsparkProvider.cjs +410 -228
- package/dist/components/LightsparkProvider.js +6 -6
- package/dist/components/Loading.cjs +409 -227
- package/dist/components/Loading.js +6 -6
- package/dist/components/Modal.cjs +547 -272
- package/dist/components/Modal.d.cts +5 -10
- package/dist/components/Modal.d.ts +5 -10
- package/dist/components/Modal.js +12 -11
- package/dist/components/ProgressBar.cjs +1238 -0
- package/dist/components/ProgressBar.d.cts +17 -0
- package/dist/components/ProgressBar.d.ts +17 -0
- package/dist/components/ProgressBar.js +10 -0
- package/dist/components/SecretContainer.cjs +409 -227
- package/dist/components/SecretContainer.js +8 -8
- package/dist/components/TextIconAligner.cjs +409 -227
- package/dist/components/TextIconAligner.js +6 -6
- package/dist/components/UnstyledButton.cjs +409 -227
- package/dist/components/UnstyledButton.js +5 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +409 -227
- package/dist/components/documentation/AnchorLinkHeader.js +7 -7
- package/dist/components/documentation/index.cjs +409 -227
- package/dist/components/documentation/index.js +7 -7
- package/dist/components/index.cjs +565 -285
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +23 -19
- package/dist/icons/CentralArrowShareRight.cjs +53 -0
- package/dist/icons/CentralArrowShareRight.d.cts +5 -0
- package/dist/icons/CentralArrowShareRight.d.ts +5 -0
- package/dist/icons/CentralArrowShareRight.js +30 -0
- package/dist/icons/Restart.cjs +1 -1
- package/dist/icons/Restart.js +1 -1
- package/dist/icons/Uma.cjs +57 -0
- package/dist/icons/Uma.d.cts +5 -0
- package/dist/icons/Uma.d.ts +5 -0
- package/dist/icons/Uma.js +38 -0
- package/dist/icons/index.cjs +409 -227
- package/dist/icons/index.js +5 -5
- package/dist/router.cjs +429 -229
- package/dist/router.d.cts +8 -5
- package/dist/router.d.ts +8 -5
- package/dist/router.js +4 -3
- package/dist/styles/colors.cjs +409 -227
- package/dist/styles/colors.js +2 -2
- package/dist/styles/common.cjs +409 -227
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +4 -4
- package/dist/styles/fields.cjs +409 -227
- package/dist/styles/fields.js +6 -6
- package/dist/styles/fonts/typography/Article.cjs +487 -249
- package/dist/styles/fonts/typography/Article.js +14 -9
- package/dist/styles/fonts/typography/Body.cjs +409 -227
- package/dist/styles/fonts/typography/Body.js +3 -3
- package/dist/styles/fonts/typography/BodyStrong.cjs +1198 -0
- package/dist/styles/fonts/typography/BodyStrong.d.cts +23 -0
- package/dist/styles/fonts/typography/BodyStrong.d.ts +23 -0
- package/dist/styles/fonts/typography/BodyStrong.js +13 -0
- package/dist/styles/fonts/typography/Code.cjs +6 -4
- package/dist/styles/fonts/typography/Code.d.cts +8 -1
- package/dist/styles/fonts/typography/Code.d.ts +8 -1
- package/dist/styles/fonts/typography/Code.js +6 -4
- package/dist/styles/fonts/typography/Display.cjs +409 -227
- package/dist/styles/fonts/typography/Display.js +3 -3
- package/dist/styles/fonts/typography/Headline.cjs +410 -228
- package/dist/styles/fonts/typography/Headline.js +3 -3
- package/dist/styles/fonts/typography/Label.cjs +409 -227
- package/dist/styles/fonts/typography/Label.js +3 -3
- package/dist/styles/fonts/typography/LabelModerate.cjs +1207 -0
- package/dist/styles/fonts/typography/LabelModerate.d.cts +18 -0
- package/dist/styles/fonts/typography/LabelModerate.d.ts +18 -0
- package/dist/styles/fonts/typography/LabelModerate.js +13 -0
- package/dist/styles/fonts/typography/LabelStrong.cjs +409 -227
- package/dist/styles/fonts/typography/LabelStrong.js +3 -3
- package/dist/styles/fonts/typography/Overline.cjs +1198 -0
- package/dist/styles/fonts/typography/Overline.d.cts +18 -0
- package/dist/styles/fonts/typography/Overline.d.ts +18 -0
- package/dist/styles/fonts/typography/Overline.js +13 -0
- package/dist/styles/fonts/typography/Title.cjs +417 -229
- package/dist/styles/fonts/typography/Title.d.cts +2 -1
- package/dist/styles/fonts/typography/Title.d.ts +2 -1
- package/dist/styles/fonts/typography/Title.js +3 -3
- package/dist/styles/fonts/typography/index.cjs +567 -274
- package/dist/styles/fonts/typography/index.d.cts +3 -0
- package/dist/styles/fonts/typography/index.d.ts +3 -0
- package/dist/styles/fonts/typography/index.js +33 -18
- package/dist/styles/fonts/typographyTokens.cjs +413 -231
- package/dist/styles/fonts/typographyTokens.d.cts +210 -28
- package/dist/styles/fonts/typographyTokens.d.ts +210 -28
- package/dist/styles/fonts/typographyTokens.js +1 -1
- package/dist/styles/global.cjs +410 -228
- package/dist/styles/global.js +5 -5
- package/dist/styles/type.cjs +409 -227
- package/dist/styles/type.js +5 -5
- package/dist/styles/utils.cjs +409 -227
- package/dist/styles/utils.js +5 -5
- package/package.json +6 -4
- package/dist/chunk-WVJNZRKF.js +0 -741
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
z
|
|
3
|
+
} from "./chunk-CLU2FRJZ.js";
|
|
1
4
|
import {
|
|
2
5
|
colors,
|
|
3
6
|
darkGradient,
|
|
4
7
|
themeOr
|
|
5
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
6
9
|
import {
|
|
7
10
|
bp
|
|
8
11
|
} from "./chunk-JSGRNWSB.js";
|
|
9
|
-
import {
|
|
10
|
-
z
|
|
11
|
-
} from "./chunk-CLU2FRJZ.js";
|
|
12
12
|
|
|
13
13
|
// src/styles/common.tsx
|
|
14
14
|
import { css } from "@emotion/react";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isString
|
|
3
|
+
} from "./chunk-LAMQKQU3.js";
|
|
1
4
|
import {
|
|
2
5
|
colors
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
4
7
|
|
|
5
8
|
// src/router.tsx
|
|
6
9
|
import { omit } from "lodash-es";
|
|
@@ -37,6 +40,7 @@ function replaceParams(to, params) {
|
|
|
37
40
|
}
|
|
38
41
|
function Link({
|
|
39
42
|
to,
|
|
43
|
+
externalLink,
|
|
40
44
|
params,
|
|
41
45
|
children,
|
|
42
46
|
css,
|
|
@@ -46,8 +50,20 @@ function Link({
|
|
|
46
50
|
blue = false,
|
|
47
51
|
newTab = false
|
|
48
52
|
}) {
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
if (!isString(to) && !externalLink) {
|
|
54
|
+
throw new Error("Link must have either `to` or `externalLink` defined");
|
|
55
|
+
}
|
|
56
|
+
let toStr;
|
|
57
|
+
if (isString(to)) {
|
|
58
|
+
toStr = replaceParams(to, params);
|
|
59
|
+
toStr += hash ? `#${hash}` : "";
|
|
60
|
+
} else {
|
|
61
|
+
const definedExternalLink = externalLink;
|
|
62
|
+
if (!definedExternalLink.startsWith("http")) {
|
|
63
|
+
throw new Error("Link's externalLink must start with http");
|
|
64
|
+
}
|
|
65
|
+
toStr = definedExternalLink;
|
|
66
|
+
}
|
|
51
67
|
return /* @__PURE__ */ jsx(
|
|
52
68
|
RLink,
|
|
53
69
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GlobalStyles
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XRIZ5OCE.js";
|
|
4
4
|
import {
|
|
5
5
|
themes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
7
7
|
|
|
8
8
|
// src/components/LightsparkProvider.tsx
|
|
9
9
|
import { ThemeProvider } from "@emotion/react";
|
|
@@ -1,32 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useLiveRef
|
|
3
3
|
} from "./chunk-NBCCPGA4.js";
|
|
4
|
+
import {
|
|
5
|
+
ProgressBar
|
|
6
|
+
} from "./chunk-2GX5Y72Y.js";
|
|
4
7
|
import {
|
|
5
8
|
Button
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MQZEMU23.js";
|
|
7
10
|
import {
|
|
8
11
|
overflowAutoWithoutScrollbars,
|
|
9
12
|
pxToRems
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z4MZOSEJ.js";
|
|
11
14
|
import {
|
|
12
15
|
UnstyledButton
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RIU33XNS.js";
|
|
14
17
|
import {
|
|
15
18
|
Icon
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HC4KIHUT.js";
|
|
17
20
|
import {
|
|
18
21
|
overlaySurface,
|
|
19
22
|
smContentInset,
|
|
20
23
|
standardContentInsetSmPx,
|
|
21
24
|
standardFocusOutline
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HZH77KO7.js";
|
|
26
|
+
import {
|
|
27
|
+
z
|
|
28
|
+
} from "./chunk-CLU2FRJZ.js";
|
|
23
29
|
import {
|
|
24
30
|
bp,
|
|
25
31
|
useBreakpoints
|
|
26
32
|
} from "./chunk-JSGRNWSB.js";
|
|
27
|
-
import {
|
|
28
|
-
z
|
|
29
|
-
} from "./chunk-CLU2FRJZ.js";
|
|
30
33
|
|
|
31
34
|
// src/components/Modal.tsx
|
|
32
35
|
import styled from "@emotion/styled";
|
|
@@ -51,7 +54,8 @@ function Modal({
|
|
|
51
54
|
firstFocusRef,
|
|
52
55
|
nonDismissable = false,
|
|
53
56
|
autoFocus = true,
|
|
54
|
-
width
|
|
57
|
+
width = 460,
|
|
58
|
+
progressBar
|
|
55
59
|
}) {
|
|
56
60
|
const nodeRef = useRef(null);
|
|
57
61
|
const [defaultFirstFocusRef, defaultFirstFocusRefCb] = useLiveRef();
|
|
@@ -154,6 +158,13 @@ function Modal({
|
|
|
154
158
|
!firstFocusRef && /* @__PURE__ */ jsx(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
|
|
155
159
|
!(nonDismissable || ghost) && /* @__PURE__ */ jsx(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "Close", width: 9 }) }),
|
|
156
160
|
/* @__PURE__ */ jsxs(ModalContentInner, { ghost, children: [
|
|
161
|
+
progressBar ? /* @__PURE__ */ jsx("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ jsx(
|
|
162
|
+
ProgressBar,
|
|
163
|
+
{
|
|
164
|
+
progressPercentage: progressBar.progressPercentage,
|
|
165
|
+
isSm: progressBar.isSm
|
|
166
|
+
}
|
|
167
|
+
) }) : null,
|
|
157
168
|
title ? /* @__PURE__ */ jsx("h4", { children: title }) : null,
|
|
158
169
|
description ? /* @__PURE__ */ jsx(Description, { children: description }) : null,
|
|
159
170
|
/* @__PURE__ */ jsx("div", { children }),
|
|
@@ -254,7 +265,8 @@ var ModalContent = styled.div`
|
|
|
254
265
|
${smContentInset}
|
|
255
266
|
${(props) => props.ghost ? "" : overlaySurface}
|
|
256
267
|
pointer-events: auto;
|
|
257
|
-
|
|
268
|
+
transition: width 0.25s ease-in;
|
|
269
|
+
width: ${(props) => props.width}px;
|
|
258
270
|
max-width: 100%;
|
|
259
271
|
max-height: 100%;
|
|
260
272
|
border-radius: 16px;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Link
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I5KUI7TK.js";
|
|
4
4
|
import {
|
|
5
5
|
Loading
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N7SP3C6R.js";
|
|
7
7
|
import {
|
|
8
8
|
UnstyledButton
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RIU33XNS.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HC4KIHUT.js";
|
|
13
13
|
import {
|
|
14
14
|
getFocusOutline
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HZH77KO7.js";
|
|
16
16
|
import {
|
|
17
17
|
colors,
|
|
18
18
|
themeOr
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
20
20
|
import {
|
|
21
21
|
__spreadProps,
|
|
22
22
|
__spreadValues
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RIU33XNS.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HC4KIHUT.js";
|
|
7
7
|
import {
|
|
8
8
|
StyledTooltip
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HZH77KO7.js";
|
|
10
10
|
import {
|
|
11
11
|
__async
|
|
12
12
|
} from "./chunk-CIGAQ47A.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MQZEMU23.js";
|
|
4
4
|
import {
|
|
5
5
|
overflowAutoWithoutScrollbars
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z4MZOSEJ.js";
|
|
7
7
|
import {
|
|
8
8
|
standardContentInsetSmPx
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HZH77KO7.js";
|
|
10
10
|
import {
|
|
11
11
|
bp
|
|
12
12
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
overflowAutoWithoutScrollbars
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z4MZOSEJ.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HC4KIHUT.js";
|
|
7
7
|
|
|
8
8
|
// src/components/Collapsible.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -13,6 +13,7 @@ function Collapsible({
|
|
|
13
13
|
children,
|
|
14
14
|
className,
|
|
15
15
|
text,
|
|
16
|
+
color,
|
|
16
17
|
open,
|
|
17
18
|
handleToggle,
|
|
18
19
|
hamburger,
|
|
@@ -32,7 +33,7 @@ function Collapsible({
|
|
|
32
33
|
const iconWidth = iconName === "Close" ? 12 : 14;
|
|
33
34
|
return /* @__PURE__ */ jsxs(StyledCollapsible, { className, children: [
|
|
34
35
|
/* @__PURE__ */ jsxs(StyledCollapsibleButton, { onClick: handleClick, children: [
|
|
35
|
-
text ? text : /* @__PURE__ */ jsx("div", {}),
|
|
36
|
+
text ? /* @__PURE__ */ jsx(Text, { color, children: text }) : /* @__PURE__ */ jsx("div", {}),
|
|
36
37
|
/* @__PURE__ */ jsx(IconContainer, { isOpen, hamburger, children: /* @__PURE__ */ jsx(Icon, { width: iconWidth, name: iconName }) })
|
|
37
38
|
] }),
|
|
38
39
|
/* @__PURE__ */ jsx(CollapsingContainer, { isOpen, full, children: /* @__PURE__ */ jsx(InnerPadding, { children }) })
|
|
@@ -103,6 +104,10 @@ var InnerPadding = styled.div`
|
|
|
103
104
|
display: flex;
|
|
104
105
|
flex-direction: column;
|
|
105
106
|
`;
|
|
107
|
+
var Text = styled.span`
|
|
108
|
+
${(props) => props.color ? `color: ${props.color};` : ""}
|
|
109
|
+
line-height: inherit;
|
|
110
|
+
`;
|
|
106
111
|
|
|
107
112
|
export {
|
|
108
113
|
Collapsible,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
4
4
|
import {
|
|
5
5
|
getTypographyString
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F4FIOIYM.js";
|
|
7
7
|
|
|
8
8
|
// src/styles/fonts/typography/LabelStrong.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
rootFontSizeRems,
|
|
6
6
|
standardLineHeightEms
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HZH77KO7.js";
|
|
8
8
|
import {
|
|
9
9
|
useThemeBg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
11
11
|
import {
|
|
12
12
|
bp
|
|
13
13
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -88,7 +88,7 @@ var globalComponentStyles = ({ theme }) => css`
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
strong {
|
|
91
|
-
font-weight:
|
|
91
|
+
font-weight: 700;
|
|
92
92
|
}
|
|
93
93
|
`;
|
|
94
94
|
function GlobalStyles() {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors
|
|
3
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
4
|
+
import {
|
|
5
|
+
getTypographyString
|
|
6
|
+
} from "./chunk-F4FIOIYM.js";
|
|
7
|
+
|
|
8
|
+
// src/styles/fonts/typography/BodyStrong.tsx
|
|
9
|
+
import styled from "@emotion/styled";
|
|
10
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
11
|
+
var BodyStrong = ({
|
|
12
|
+
children,
|
|
13
|
+
color,
|
|
14
|
+
size = "Medium" /* Medium */
|
|
15
|
+
}) => {
|
|
16
|
+
return /* @__PURE__ */ jsx(StyledBodyStrong, { size, color, children });
|
|
17
|
+
};
|
|
18
|
+
var StyledBodyStrong = styled.span`
|
|
19
|
+
display: block;
|
|
20
|
+
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
21
|
+
${({ theme, size }) => {
|
|
22
|
+
return size ? getTypographyString(theme.typography[theme.app]["Body Strong"][size]) : "";
|
|
23
|
+
}}
|
|
24
|
+
`;
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
BodyStrong,
|
|
28
|
+
StyledBodyStrong
|
|
29
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F4FIOIYM.js";
|
|
4
4
|
import {
|
|
5
5
|
useBreakpoints
|
|
6
6
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -162,7 +162,7 @@ var lightTheme = extend(lightBaseTheme, {
|
|
|
162
162
|
}),
|
|
163
163
|
nav: extendBase(lightBaseTheme, {
|
|
164
164
|
text: colors.gray10,
|
|
165
|
-
secondary: colors.
|
|
165
|
+
secondary: colors.gray40
|
|
166
166
|
}),
|
|
167
167
|
content: extendBase(lightBaseTheme, {
|
|
168
168
|
bg: colors.white,
|