@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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @lightsparkdev/ui
|
|
2
|
+
|
|
3
|
+
## 0.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 35513da: Upgrade dependencies
|
|
8
|
+
- 35513da: [ui] Fix getHeadlineText return
|
|
9
|
+
- Updated dependencies [35513da]
|
|
10
|
+
- @lightsparkdev/core@1.0.12
|
|
11
|
+
|
|
12
|
+
## 0.0.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 43dc882: Upgrade to Typescript 5, lint config changes
|
|
17
|
+
- Updated dependencies [43dc882]
|
|
18
|
+
- @lightsparkdev/core@1.0.11
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import {
|
|
2
|
+
themeOr
|
|
3
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
4
|
+
|
|
5
|
+
// src/components/ProgressBar.tsx
|
|
6
|
+
import styled from "@emotion/styled";
|
|
7
|
+
import { useEffect, useState } from "react";
|
|
8
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
9
|
+
var defaultProps = {
|
|
10
|
+
isSm: false,
|
|
11
|
+
stepDuration: 0.5
|
|
12
|
+
};
|
|
13
|
+
function ProgressBar({
|
|
14
|
+
background,
|
|
15
|
+
progressPercentage,
|
|
16
|
+
isSm = defaultProps.isSm,
|
|
17
|
+
stepDuration = defaultProps.stepDuration
|
|
18
|
+
}) {
|
|
19
|
+
const [percentage, setPercentage] = useState(5);
|
|
20
|
+
if (progressPercentage === void 0) {
|
|
21
|
+
setTimeout(() => {
|
|
22
|
+
setPercentage(100);
|
|
23
|
+
}, 0);
|
|
24
|
+
}
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
if (progressPercentage !== void 0) {
|
|
27
|
+
setPercentage(progressPercentage);
|
|
28
|
+
}
|
|
29
|
+
}, [progressPercentage]);
|
|
30
|
+
return /* @__PURE__ */ jsx(ProgressBarContainer, { isSm, children: /* @__PURE__ */ jsx(Bar, { isSm, percentage, stepDuration, children: /* @__PURE__ */ jsx(
|
|
31
|
+
BarBg,
|
|
32
|
+
{
|
|
33
|
+
background,
|
|
34
|
+
isSm,
|
|
35
|
+
percentage,
|
|
36
|
+
stepDuration
|
|
37
|
+
}
|
|
38
|
+
) }) });
|
|
39
|
+
}
|
|
40
|
+
ProgressBar.defaultProps = defaultProps;
|
|
41
|
+
var ProgressBarContainer = styled.div`
|
|
42
|
+
background-color: ${({ theme }) => themeOr(theme.c05Neutral, theme.c1Neutral)({ theme })};
|
|
43
|
+
border-radius: 16px;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
display: flex;
|
|
46
|
+
height: ${({ isSm }) => isSm ? "6px" : "16px"};
|
|
47
|
+
justify-content: flex-start;
|
|
48
|
+
width: 100%;
|
|
49
|
+
position: relative;
|
|
50
|
+
`;
|
|
51
|
+
var BarBg = styled.div`
|
|
52
|
+
border-radius: 16px;
|
|
53
|
+
width: ${({ percentage }) => 100 / percentage * 100}%;
|
|
54
|
+
height: 100%;
|
|
55
|
+
|
|
56
|
+
background: ${({ background }) => background ? background : `
|
|
57
|
+
linear-gradient(
|
|
58
|
+
90deg,
|
|
59
|
+
#000000 -25.9%,
|
|
60
|
+
#1b4077 14.55%,
|
|
61
|
+
#a152c7 82.22%,
|
|
62
|
+
#3f2e7e 115.32%
|
|
63
|
+
)`};
|
|
64
|
+
`;
|
|
65
|
+
var Bar = styled.div`
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
border-radius: ${({ isSm }) => isSm ? "6px" : "16px"};
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
display: inline-block;
|
|
70
|
+
height: ${({ isSm }) => isSm ? "6px" : "16px"};
|
|
71
|
+
width: ${(props) => props.percentage}%;
|
|
72
|
+
transition: width ${({ stepDuration }) => stepDuration}s
|
|
73
|
+
cubic-bezier(0.16, 0.3, 0.18, 1);
|
|
74
|
+
`;
|
|
75
|
+
|
|
76
|
+
export {
|
|
77
|
+
ProgressBar
|
|
78
|
+
};
|
|
@@ -1,17 +1,23 @@
|
|
|
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/Title.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
10
10
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
11
|
-
var Title = ({
|
|
12
|
-
|
|
11
|
+
var Title = ({
|
|
12
|
+
children,
|
|
13
|
+
color,
|
|
14
|
+
size = "Medium" /* Medium */,
|
|
15
|
+
block = false
|
|
16
|
+
}) => {
|
|
17
|
+
return /* @__PURE__ */ jsx(StyledTitle, { size, color, block, children });
|
|
13
18
|
};
|
|
14
19
|
var StyledTitle = styled.span`
|
|
20
|
+
${({ block }) => block ? "display: block;" : ""}
|
|
15
21
|
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
16
22
|
${({ theme, size }) => {
|
|
17
23
|
return size ? getTypographyString(theme.typography[theme.app].Title[size]) : "";
|
|
@@ -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/Body.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Icon
|
|
3
|
+
} from "./chunk-HC4KIHUT.js";
|
|
4
|
+
|
|
5
|
+
// src/components/ContentTable.tsx
|
|
6
|
+
import styled from "@emotion/styled";
|
|
7
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
8
|
+
function ContentTable({
|
|
9
|
+
columns,
|
|
10
|
+
rows
|
|
11
|
+
}) {
|
|
12
|
+
return /* @__PURE__ */ jsxs(StyledContentTable, { children: [
|
|
13
|
+
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
14
|
+
/* @__PURE__ */ jsx("th", {}),
|
|
15
|
+
columns.map((column) => /* @__PURE__ */ jsx("th", { children: column.title }, column.key))
|
|
16
|
+
] }) }),
|
|
17
|
+
/* @__PURE__ */ jsx("tbody", { children: rows.map((row, index) => /* @__PURE__ */ jsxs("tr", { children: [
|
|
18
|
+
/* @__PURE__ */ jsx("td", { children: row.title }),
|
|
19
|
+
columns.map((column) => {
|
|
20
|
+
const value = row[column.key];
|
|
21
|
+
return /* @__PURE__ */ jsx("td", { children: value === true ? /* @__PURE__ */ jsx(Icon, { name: "CheckmarkCircleGreen", width: 16 }) : value }, column.key);
|
|
22
|
+
})
|
|
23
|
+
] }, index)) })
|
|
24
|
+
] });
|
|
25
|
+
}
|
|
26
|
+
var StyledContentTable = styled.table`
|
|
27
|
+
width: 100%;
|
|
28
|
+
border-collapse: collapse;
|
|
29
|
+
border: 1px solid ${({ theme }) => theme.c1Neutral};
|
|
30
|
+
color: ${({ theme }) => theme.c6Neutral};
|
|
31
|
+
|
|
32
|
+
tr:last-child td:first-child {
|
|
33
|
+
border-bottom-left-radius: 10px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
tr:last-child td:last-child {
|
|
37
|
+
border-bottom-right-radius: 10px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
th,
|
|
41
|
+
td {
|
|
42
|
+
padding: 26px 12px;
|
|
43
|
+
border: 1px solid #e5e5e5;
|
|
44
|
+
}
|
|
45
|
+
th {
|
|
46
|
+
text-align: center;
|
|
47
|
+
}
|
|
48
|
+
td {
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
`;
|
|
53
|
+
|
|
54
|
+
export {
|
|
55
|
+
ContentTable,
|
|
56
|
+
StyledContentTable
|
|
57
|
+
};
|
|
@@ -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/Overline.tsx
|
|
9
|
+
import styled from "@emotion/styled";
|
|
10
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
11
|
+
var Overline = ({
|
|
12
|
+
children,
|
|
13
|
+
color,
|
|
14
|
+
size = "Medium" /* Medium */
|
|
15
|
+
}) => {
|
|
16
|
+
return /* @__PURE__ */ jsx(StyledOverline, { size, color, children });
|
|
17
|
+
};
|
|
18
|
+
var StyledOverline = styled.span`
|
|
19
|
+
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
20
|
+
${({ theme, size }) => {
|
|
21
|
+
return size ? getTypographyString(theme.typography[theme.app].Overline[size]) : "";
|
|
22
|
+
}}
|
|
23
|
+
cursor: inherit;
|
|
24
|
+
`;
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
Overline,
|
|
28
|
+
StyledOverline
|
|
29
|
+
};
|
|
@@ -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/Headline.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -23,7 +23,7 @@ var getHeadlineText = (element) => {
|
|
|
23
23
|
return getHeadlineText(element[0]);
|
|
24
24
|
}
|
|
25
25
|
if (isReactNodeWithChildren(element)) {
|
|
26
|
-
getHeadlineText(element.props.children);
|
|
26
|
+
return getHeadlineText(element.props.children);
|
|
27
27
|
}
|
|
28
28
|
throw new Error(
|
|
29
29
|
"Could not find text in Headline element: " + (element == null ? void 0 : element.toString())
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colors
|
|
3
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
4
|
+
import {
|
|
5
|
+
getTypographyString
|
|
6
|
+
} from "./chunk-F4FIOIYM.js";
|
|
7
|
+
|
|
8
|
+
// src/styles/fonts/typography/LabelModerate.tsx
|
|
9
|
+
import styled from "@emotion/styled";
|
|
10
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
11
|
+
var LabelModerate = ({
|
|
12
|
+
children,
|
|
13
|
+
color,
|
|
14
|
+
size = "Medium" /* Medium */
|
|
15
|
+
}) => {
|
|
16
|
+
return /* @__PURE__ */ jsx(StyledLabelModerate, { size, color, children });
|
|
17
|
+
};
|
|
18
|
+
var StyledLabelModerate = styled.label`
|
|
19
|
+
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
20
|
+
${({ theme, size }) => {
|
|
21
|
+
return size ? getTypographyString(theme.typography[theme.app]["Label Moderate"][size]) : "";
|
|
22
|
+
}}
|
|
23
|
+
cursor: inherit;
|
|
24
|
+
|
|
25
|
+
* {
|
|
26
|
+
color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
|
|
27
|
+
${({ theme, size }) => {
|
|
28
|
+
return size ? getTypographyString(
|
|
29
|
+
theme.typography[theme.app]["Label Moderate"][size]
|
|
30
|
+
) : "";
|
|
31
|
+
}}
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
LabelModerate,
|
|
37
|
+
StyledLabelModerate
|
|
38
|
+
};
|
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
StyledCode
|
|
3
|
+
} from "./chunk-EXB35D5E.js";
|
|
4
4
|
import {
|
|
5
5
|
displaySelector
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C4OKXC6T.js";
|
|
7
|
+
import {
|
|
8
|
+
StyledTitle
|
|
9
|
+
} from "./chunk-345XTQ55.js";
|
|
10
|
+
import {
|
|
11
|
+
StyledBody
|
|
12
|
+
} from "./chunk-4Y2M2HEF.js";
|
|
7
13
|
import {
|
|
8
14
|
ALL_HEADLINE_SELECTORS,
|
|
9
15
|
headlineSelector
|
|
10
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7ZTWDJAE.js";
|
|
11
17
|
import {
|
|
12
18
|
overflowAutoWithoutScrollbars
|
|
13
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z4MZOSEJ.js";
|
|
20
|
+
import {
|
|
21
|
+
StyledContentTable
|
|
22
|
+
} from "./chunk-5XTI555J.js";
|
|
14
23
|
import {
|
|
15
24
|
colors
|
|
16
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z4M2ODOW.js";
|
|
17
26
|
import {
|
|
18
27
|
getTypographyString
|
|
19
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-F4FIOIYM.js";
|
|
20
29
|
|
|
21
30
|
// src/styles/fonts/typography/Article.tsx
|
|
22
31
|
import styled from "@emotion/styled";
|
|
@@ -65,6 +74,10 @@ var Article = styled.article`
|
|
|
65
74
|
margin-bottom: 12px;
|
|
66
75
|
}
|
|
67
76
|
|
|
77
|
+
${StyledContentTable} {
|
|
78
|
+
margin: 40px 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
68
81
|
img {
|
|
69
82
|
margin-top: 16px;
|
|
70
83
|
margin-bottom: 16px;
|
|
@@ -74,10 +87,11 @@ var Article = styled.article`
|
|
|
74
87
|
font-weight: 700;
|
|
75
88
|
}
|
|
76
89
|
|
|
77
|
-
*:not(${ALL_HEADLINE_SELECTORS}) > a {
|
|
90
|
+
*:not(${ALL_HEADLINE_SELECTORS},${StyledTitle},${StyledCode}) > a {
|
|
78
91
|
${({ theme }) => getTypographyString(
|
|
79
92
|
theme.typography[theme.app]["Label Strong"]["Large" /* Large */]
|
|
80
93
|
)}
|
|
94
|
+
font-size: inherit;
|
|
81
95
|
color: ${({ theme }) => theme.link};
|
|
82
96
|
}
|
|
83
97
|
|
|
@@ -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/Label.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -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/Display.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTypographyString
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F4FIOIYM.js";
|
|
4
4
|
|
|
5
5
|
// src/styles/fonts/typography/Code.tsx
|
|
6
6
|
import styled from "@emotion/styled";
|
|
7
7
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
8
8
|
var Code = ({ children, size = "Medium" /* Medium */ }) => {
|
|
9
|
-
return /* @__PURE__ */ jsx(
|
|
9
|
+
return /* @__PURE__ */ jsx(StyledCode, { size, children });
|
|
10
10
|
};
|
|
11
|
-
var
|
|
11
|
+
var StyledCode = styled.div`
|
|
12
12
|
${({ theme, size }) => {
|
|
13
13
|
return size ? getTypographyString(theme.typography[theme.app].Code[size]) : "";
|
|
14
14
|
}}
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
17
|
export {
|
|
18
|
-
Code
|
|
18
|
+
Code,
|
|
19
|
+
StyledCode
|
|
19
20
|
};
|