@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.
Files changed (149) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/chunk-2GX5Y72Y.js +78 -0
  3. package/dist/{chunk-CQDQFIWT.js → chunk-345XTQ55.js} +10 -4
  4. package/dist/{chunk-7NQH4LBZ.js → chunk-4Y2M2HEF.js} +2 -2
  5. package/dist/chunk-5XTI555J.js +57 -0
  6. package/dist/{chunk-FETTWCK3.js → chunk-6CJNPRC3.js} +1 -1
  7. package/dist/chunk-7VX4OOSZ.js +29 -0
  8. package/dist/{chunk-W4GDCWKZ.js → chunk-7ZTWDJAE.js} +3 -3
  9. package/dist/chunk-ABA75YLN.js +38 -0
  10. package/dist/{chunk-2RF46PE5.js → chunk-AFAP6ZGM.js} +22 -8
  11. package/dist/{chunk-6RDG2DE3.js → chunk-BGOEN6S2.js} +2 -2
  12. package/dist/{chunk-LWTUQB7O.js → chunk-C4OKXC6T.js} +2 -2
  13. package/dist/{chunk-RUVXOYBL.js → chunk-EXB35D5E.js} +5 -4
  14. package/dist/chunk-F4FIOIYM.js +923 -0
  15. package/dist/{chunk-L7XFJWMY.js → chunk-HC4KIHUT.js} +1 -1
  16. package/dist/{chunk-QR7BKTM6.js → chunk-HZH77KO7.js} +4 -4
  17. package/dist/{chunk-LJYASIJC.js → chunk-I5KUI7TK.js} +19 -3
  18. package/dist/{chunk-6AV4TE6I.js → chunk-IZBH5JX6.js} +2 -2
  19. package/dist/{chunk-XTEEADPV.js → chunk-JD7JHP46.js} +22 -10
  20. package/dist/{chunk-BKOTW3CK.js → chunk-M46YHH4D.js} +1 -1
  21. package/dist/{chunk-4X3K3VRC.js → chunk-MQZEMU23.js} +6 -6
  22. package/dist/{chunk-K7MPHJNG.js → chunk-N2J673NM.js} +3 -3
  23. package/dist/{chunk-BZ5MKMI2.js → chunk-N7SP3C6R.js} +1 -1
  24. package/dist/{chunk-O27TAUAS.js → chunk-QMHY6EGS.js} +3 -3
  25. package/dist/{chunk-Y4RJ7WS4.js → chunk-QOUEEA3G.js} +1 -1
  26. package/dist/{chunk-X6BI4STY.js → chunk-RIU33XNS.js} +1 -1
  27. package/dist/{chunk-7ENCWBAN.js → chunk-SMLXEMZE.js} +8 -3
  28. package/dist/{chunk-I4PO6FQP.js → chunk-WK4HZX53.js} +2 -2
  29. package/dist/{chunk-DE24BV2C.js → chunk-WLHM7GX2.js} +2 -2
  30. package/dist/{chunk-WVEK4LFA.js → chunk-XRIZ5OCE.js} +3 -3
  31. package/dist/chunk-XU3F6HH6.js +29 -0
  32. package/dist/{chunk-ACZDUWPH.js → chunk-Z4M2ODOW.js} +2 -2
  33. package/dist/{chunk-LZHLWOXG.js → chunk-Z4MZOSEJ.js} +1 -1
  34. package/dist/components/Button.cjs +429 -236
  35. package/dist/components/Button.js +9 -9
  36. package/dist/components/ButtonRow.cjs +431 -236
  37. package/dist/components/ButtonRow.js +11 -11
  38. package/dist/components/Collapsible.cjs +415 -228
  39. package/dist/components/Collapsible.d.cts +2 -1
  40. package/dist/components/Collapsible.d.ts +2 -1
  41. package/dist/components/Collapsible.js +7 -7
  42. package/dist/components/ContentTable.cjs +1498 -0
  43. package/dist/components/ContentTable.d.cts +26 -0
  44. package/dist/components/ContentTable.d.ts +26 -0
  45. package/dist/components/ContentTable.js +16 -0
  46. package/dist/components/CopyToClipboardButton.cjs +409 -227
  47. package/dist/components/CopyToClipboardButton.js +7 -7
  48. package/dist/components/CurrencyAmount.cjs +409 -227
  49. package/dist/components/CurrencyAmount.js +6 -6
  50. package/dist/components/Icon.cjs +409 -227
  51. package/dist/components/Icon.js +5 -5
  52. package/dist/components/LightsparkProvider.cjs +410 -228
  53. package/dist/components/LightsparkProvider.js +6 -6
  54. package/dist/components/Loading.cjs +409 -227
  55. package/dist/components/Loading.js +6 -6
  56. package/dist/components/Modal.cjs +547 -272
  57. package/dist/components/Modal.d.cts +5 -10
  58. package/dist/components/Modal.d.ts +5 -10
  59. package/dist/components/Modal.js +12 -11
  60. package/dist/components/ProgressBar.cjs +1238 -0
  61. package/dist/components/ProgressBar.d.cts +17 -0
  62. package/dist/components/ProgressBar.d.ts +17 -0
  63. package/dist/components/ProgressBar.js +10 -0
  64. package/dist/components/SecretContainer.cjs +409 -227
  65. package/dist/components/SecretContainer.js +8 -8
  66. package/dist/components/TextIconAligner.cjs +409 -227
  67. package/dist/components/TextIconAligner.js +6 -6
  68. package/dist/components/UnstyledButton.cjs +409 -227
  69. package/dist/components/UnstyledButton.js +5 -5
  70. package/dist/components/documentation/AnchorLinkHeader.cjs +409 -227
  71. package/dist/components/documentation/AnchorLinkHeader.js +7 -7
  72. package/dist/components/documentation/index.cjs +409 -227
  73. package/dist/components/documentation/index.js +7 -7
  74. package/dist/components/index.cjs +565 -285
  75. package/dist/components/index.d.cts +1 -0
  76. package/dist/components/index.d.ts +1 -0
  77. package/dist/components/index.js +23 -19
  78. package/dist/icons/CentralArrowShareRight.cjs +53 -0
  79. package/dist/icons/CentralArrowShareRight.d.cts +5 -0
  80. package/dist/icons/CentralArrowShareRight.d.ts +5 -0
  81. package/dist/icons/CentralArrowShareRight.js +30 -0
  82. package/dist/icons/Restart.cjs +1 -1
  83. package/dist/icons/Restart.js +1 -1
  84. package/dist/icons/Uma.cjs +57 -0
  85. package/dist/icons/Uma.d.cts +5 -0
  86. package/dist/icons/Uma.d.ts +5 -0
  87. package/dist/icons/Uma.js +38 -0
  88. package/dist/icons/index.cjs +409 -227
  89. package/dist/icons/index.js +5 -5
  90. package/dist/router.cjs +429 -229
  91. package/dist/router.d.cts +8 -5
  92. package/dist/router.d.ts +8 -5
  93. package/dist/router.js +4 -3
  94. package/dist/styles/colors.cjs +409 -227
  95. package/dist/styles/colors.js +2 -2
  96. package/dist/styles/common.cjs +409 -227
  97. package/dist/styles/common.d.cts +1 -1
  98. package/dist/styles/common.d.ts +1 -1
  99. package/dist/styles/common.js +4 -4
  100. package/dist/styles/fields.cjs +409 -227
  101. package/dist/styles/fields.js +6 -6
  102. package/dist/styles/fonts/typography/Article.cjs +487 -249
  103. package/dist/styles/fonts/typography/Article.js +14 -9
  104. package/dist/styles/fonts/typography/Body.cjs +409 -227
  105. package/dist/styles/fonts/typography/Body.js +3 -3
  106. package/dist/styles/fonts/typography/BodyStrong.cjs +1198 -0
  107. package/dist/styles/fonts/typography/BodyStrong.d.cts +23 -0
  108. package/dist/styles/fonts/typography/BodyStrong.d.ts +23 -0
  109. package/dist/styles/fonts/typography/BodyStrong.js +13 -0
  110. package/dist/styles/fonts/typography/Code.cjs +6 -4
  111. package/dist/styles/fonts/typography/Code.d.cts +8 -1
  112. package/dist/styles/fonts/typography/Code.d.ts +8 -1
  113. package/dist/styles/fonts/typography/Code.js +6 -4
  114. package/dist/styles/fonts/typography/Display.cjs +409 -227
  115. package/dist/styles/fonts/typography/Display.js +3 -3
  116. package/dist/styles/fonts/typography/Headline.cjs +410 -228
  117. package/dist/styles/fonts/typography/Headline.js +3 -3
  118. package/dist/styles/fonts/typography/Label.cjs +409 -227
  119. package/dist/styles/fonts/typography/Label.js +3 -3
  120. package/dist/styles/fonts/typography/LabelModerate.cjs +1207 -0
  121. package/dist/styles/fonts/typography/LabelModerate.d.cts +18 -0
  122. package/dist/styles/fonts/typography/LabelModerate.d.ts +18 -0
  123. package/dist/styles/fonts/typography/LabelModerate.js +13 -0
  124. package/dist/styles/fonts/typography/LabelStrong.cjs +409 -227
  125. package/dist/styles/fonts/typography/LabelStrong.js +3 -3
  126. package/dist/styles/fonts/typography/Overline.cjs +1198 -0
  127. package/dist/styles/fonts/typography/Overline.d.cts +18 -0
  128. package/dist/styles/fonts/typography/Overline.d.ts +18 -0
  129. package/dist/styles/fonts/typography/Overline.js +13 -0
  130. package/dist/styles/fonts/typography/Title.cjs +417 -229
  131. package/dist/styles/fonts/typography/Title.d.cts +2 -1
  132. package/dist/styles/fonts/typography/Title.d.ts +2 -1
  133. package/dist/styles/fonts/typography/Title.js +3 -3
  134. package/dist/styles/fonts/typography/index.cjs +567 -274
  135. package/dist/styles/fonts/typography/index.d.cts +3 -0
  136. package/dist/styles/fonts/typography/index.d.ts +3 -0
  137. package/dist/styles/fonts/typography/index.js +33 -18
  138. package/dist/styles/fonts/typographyTokens.cjs +413 -231
  139. package/dist/styles/fonts/typographyTokens.d.cts +210 -28
  140. package/dist/styles/fonts/typographyTokens.d.ts +210 -28
  141. package/dist/styles/fonts/typographyTokens.js +1 -1
  142. package/dist/styles/global.cjs +410 -228
  143. package/dist/styles/global.js +5 -5
  144. package/dist/styles/type.cjs +409 -227
  145. package/dist/styles/type.js +5 -5
  146. package/dist/styles/utils.cjs +409 -227
  147. package/dist/styles/utils.js +5 -5
  148. package/package.json +6 -4
  149. package/dist/chunk-WVJNZRKF.js +0 -741
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-LAMQKQU3.js";
4
4
  import {
5
5
  rootFontSizePx
6
- } from "./chunk-QR7BKTM6.js";
6
+ } from "./chunk-HZH77KO7.js";
7
7
  import {
8
8
  __async
9
9
  } from "./chunk-CIGAQ47A.js";
@@ -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-ACZDUWPH.js";
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-ACZDUWPH.js";
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
- let toStr = replaceParams(to, params);
50
- toStr += hash ? `#${hash}` : "";
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-WVEK4LFA.js";
3
+ } from "./chunk-XRIZ5OCE.js";
4
4
  import {
5
5
  themes
6
- } from "./chunk-ACZDUWPH.js";
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-4X3K3VRC.js";
9
+ } from "./chunk-MQZEMU23.js";
7
10
  import {
8
11
  overflowAutoWithoutScrollbars,
9
12
  pxToRems
10
- } from "./chunk-LZHLWOXG.js";
13
+ } from "./chunk-Z4MZOSEJ.js";
11
14
  import {
12
15
  UnstyledButton
13
- } from "./chunk-X6BI4STY.js";
16
+ } from "./chunk-RIU33XNS.js";
14
17
  import {
15
18
  Icon
16
- } from "./chunk-L7XFJWMY.js";
19
+ } from "./chunk-HC4KIHUT.js";
17
20
  import {
18
21
  overlaySurface,
19
22
  smContentInset,
20
23
  standardContentInsetSmPx,
21
24
  standardFocusOutline
22
- } from "./chunk-QR7BKTM6.js";
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
- width: ${(props) => props.width || 430}px;
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,6 +1,6 @@
1
1
  import {
2
2
  Icon
3
- } from "./chunk-L7XFJWMY.js";
3
+ } from "./chunk-HC4KIHUT.js";
4
4
 
5
5
  // src/components/TextIconAligner.tsx
6
6
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Link
3
- } from "./chunk-LJYASIJC.js";
3
+ } from "./chunk-I5KUI7TK.js";
4
4
  import {
5
5
  Loading
6
- } from "./chunk-BZ5MKMI2.js";
6
+ } from "./chunk-N7SP3C6R.js";
7
7
  import {
8
8
  UnstyledButton
9
- } from "./chunk-X6BI4STY.js";
9
+ } from "./chunk-RIU33XNS.js";
10
10
  import {
11
11
  Icon
12
- } from "./chunk-L7XFJWMY.js";
12
+ } from "./chunk-HC4KIHUT.js";
13
13
  import {
14
14
  getFocusOutline
15
- } from "./chunk-QR7BKTM6.js";
15
+ } from "./chunk-HZH77KO7.js";
16
16
  import {
17
17
  colors,
18
18
  themeOr
19
- } from "./chunk-ACZDUWPH.js";
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-X6BI4STY.js";
3
+ } from "./chunk-RIU33XNS.js";
4
4
  import {
5
5
  Icon
6
- } from "./chunk-L7XFJWMY.js";
6
+ } from "./chunk-HC4KIHUT.js";
7
7
  import {
8
8
  StyledTooltip
9
- } from "./chunk-QR7BKTM6.js";
9
+ } from "./chunk-HZH77KO7.js";
10
10
  import {
11
11
  __async
12
12
  } from "./chunk-CIGAQ47A.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Icon
3
- } from "./chunk-L7XFJWMY.js";
3
+ } from "./chunk-HC4KIHUT.js";
4
4
 
5
5
  // src/components/Loading.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Button
3
- } from "./chunk-4X3K3VRC.js";
3
+ } from "./chunk-MQZEMU23.js";
4
4
  import {
5
5
  overflowAutoWithoutScrollbars
6
- } from "./chunk-LZHLWOXG.js";
6
+ } from "./chunk-Z4MZOSEJ.js";
7
7
  import {
8
8
  standardContentInsetSmPx
9
- } from "./chunk-QR7BKTM6.js";
9
+ } from "./chunk-HZH77KO7.js";
10
10
  import {
11
11
  bp
12
12
  } from "./chunk-JSGRNWSB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CopyToClipboardButton
3
- } from "./chunk-K7MPHJNG.js";
3
+ } from "./chunk-N2J673NM.js";
4
4
 
5
5
  // src/components/SecretContainer.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardFocusOutline
3
- } from "./chunk-QR7BKTM6.js";
3
+ } from "./chunk-HZH77KO7.js";
4
4
 
5
5
  // src/components/UnstyledButton.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  overflowAutoWithoutScrollbars
3
- } from "./chunk-LZHLWOXG.js";
3
+ } from "./chunk-Z4MZOSEJ.js";
4
4
  import {
5
5
  Icon
6
- } from "./chunk-L7XFJWMY.js";
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-ACZDUWPH.js";
3
+ } from "./chunk-Z4M2ODOW.js";
4
4
  import {
5
5
  getTypographyString
6
- } from "./chunk-WVJNZRKF.js";
6
+ } from "./chunk-F4FIOIYM.js";
7
7
 
8
8
  // src/styles/fonts/typography/LabelStrong.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Headline
3
- } from "./chunk-W4GDCWKZ.js";
3
+ } from "./chunk-7ZTWDJAE.js";
4
4
  import {
5
5
  Icon
6
- } from "./chunk-L7XFJWMY.js";
6
+ } from "./chunk-HC4KIHUT.js";
7
7
  import {
8
8
  __spreadProps,
9
9
  __spreadValues
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  rootFontSizeRems,
6
6
  standardLineHeightEms
7
- } from "./chunk-QR7BKTM6.js";
7
+ } from "./chunk-HZH77KO7.js";
8
8
  import {
9
9
  useThemeBg
10
- } from "./chunk-ACZDUWPH.js";
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: 600;
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-WVJNZRKF.js";
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.secondary
165
+ secondary: colors.gray40
166
166
  }),
167
167
  content: extendBase(lightBaseTheme, {
168
168
  bg: colors.white,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rootFontSizePx
3
- } from "./chunk-QR7BKTM6.js";
3
+ } from "./chunk-HZH77KO7.js";
4
4
 
5
5
  // src/styles/utils.tsx
6
6
  import { css } from "@emotion/react";