@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
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import * as _emotion_react from '@emotion/react';
|
|
4
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
|
+
import { TokenSize } from '../typographyTokens.cjs';
|
|
6
|
+
|
|
7
|
+
interface Props {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
size?: TokenSize;
|
|
10
|
+
color?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
declare const BodyStrong: ({ children, color, size, }: Props) => _emotion_react_jsx_runtime.JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* Images rendered by the markdown renderer are wrapped in a paragraph tag,
|
|
15
|
+
* so we need to use a span and set it display: block to mimic a paragraph
|
|
16
|
+
* element.
|
|
17
|
+
*/
|
|
18
|
+
declare const StyledBodyStrong: _emotion_styled.StyledComponent<{
|
|
19
|
+
theme?: _emotion_react.Theme;
|
|
20
|
+
as?: react.ElementType<any>;
|
|
21
|
+
} & Props, react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
22
|
+
|
|
23
|
+
export { BodyStrong, StyledBodyStrong };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import * as _emotion_react from '@emotion/react';
|
|
4
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
|
+
import { TokenSize } from '../typographyTokens.js';
|
|
6
|
+
|
|
7
|
+
interface Props {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
size?: TokenSize;
|
|
10
|
+
color?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
declare const BodyStrong: ({ children, color, size, }: Props) => _emotion_react_jsx_runtime.JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* Images rendered by the markdown renderer are wrapped in a paragraph tag,
|
|
15
|
+
* so we need to use a span and set it display: block to mimic a paragraph
|
|
16
|
+
* element.
|
|
17
|
+
*/
|
|
18
|
+
declare const StyledBodyStrong: _emotion_styled.StyledComponent<{
|
|
19
|
+
theme?: _emotion_react.Theme;
|
|
20
|
+
as?: react.ElementType<any>;
|
|
21
|
+
} & Props, react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
22
|
+
|
|
23
|
+
export { BodyStrong, StyledBodyStrong };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
BodyStrong,
|
|
4
|
+
StyledBodyStrong
|
|
5
|
+
} from "../../../chunk-XU3F6HH6.js";
|
|
6
|
+
import "../../../chunk-Z4M2ODOW.js";
|
|
7
|
+
import "../../../chunk-F4FIOIYM.js";
|
|
8
|
+
import "../../../chunk-JSGRNWSB.js";
|
|
9
|
+
import "../../../chunk-CIGAQ47A.js";
|
|
10
|
+
export {
|
|
11
|
+
BodyStrong,
|
|
12
|
+
StyledBodyStrong
|
|
13
|
+
};
|
|
@@ -31,7 +31,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
// src/styles/fonts/typography/Code.tsx
|
|
32
32
|
var Code_exports = {};
|
|
33
33
|
__export(Code_exports, {
|
|
34
|
-
Code: () => Code
|
|
34
|
+
Code: () => Code,
|
|
35
|
+
StyledCode: () => StyledCode
|
|
35
36
|
});
|
|
36
37
|
module.exports = __toCommonJS(Code_exports);
|
|
37
38
|
var import_styled = __toESM(require("@emotion/styled"), 1);
|
|
@@ -55,14 +56,15 @@ var getTypographyString = (token) => {
|
|
|
55
56
|
// src/styles/fonts/typography/Code.tsx
|
|
56
57
|
var import_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
57
58
|
var Code = ({ children, size = "Medium" /* Medium */ }) => {
|
|
58
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
59
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledCode, { size, children });
|
|
59
60
|
};
|
|
60
|
-
var
|
|
61
|
+
var StyledCode = import_styled.default.div`
|
|
61
62
|
${({ theme, size }) => {
|
|
62
63
|
return size ? getTypographyString(theme.typography[theme.app].Code[size]) : "";
|
|
63
64
|
}}
|
|
64
65
|
`;
|
|
65
66
|
// Annotate the CommonJS export names for ESM import in node:
|
|
66
67
|
0 && (module.exports = {
|
|
67
|
-
Code
|
|
68
|
+
Code,
|
|
69
|
+
StyledCode
|
|
68
70
|
});
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import * as _emotion_react from '@emotion/react';
|
|
1
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
5
|
import { TokenSize } from '../typographyTokens.cjs';
|
|
3
6
|
|
|
@@ -6,5 +9,9 @@ interface Props {
|
|
|
6
9
|
size?: TokenSize;
|
|
7
10
|
}
|
|
8
11
|
declare const Code: ({ children, size }: Props) => _emotion_react_jsx_runtime.JSX.Element;
|
|
12
|
+
declare const StyledCode: _emotion_styled.StyledComponent<{
|
|
13
|
+
theme?: _emotion_react.Theme;
|
|
14
|
+
as?: react.ElementType<any>;
|
|
15
|
+
} & Props, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
16
|
|
|
10
|
-
export { Code };
|
|
17
|
+
export { Code, StyledCode };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import * as _emotion_react from '@emotion/react';
|
|
1
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
5
|
import { TokenSize } from '../typographyTokens.js';
|
|
3
6
|
|
|
@@ -6,5 +9,9 @@ interface Props {
|
|
|
6
9
|
size?: TokenSize;
|
|
7
10
|
}
|
|
8
11
|
declare const Code: ({ children, size }: Props) => _emotion_react_jsx_runtime.JSX.Element;
|
|
12
|
+
declare const StyledCode: _emotion_styled.StyledComponent<{
|
|
13
|
+
theme?: _emotion_react.Theme;
|
|
14
|
+
as?: react.ElementType<any>;
|
|
15
|
+
} & Props, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
16
|
|
|
10
|
-
export { Code };
|
|
17
|
+
export { Code, StyledCode };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
Code
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Code,
|
|
4
|
+
StyledCode
|
|
5
|
+
} from "../../../chunk-EXB35D5E.js";
|
|
6
|
+
import "../../../chunk-F4FIOIYM.js";
|
|
6
7
|
import "../../../chunk-CIGAQ47A.js";
|
|
7
8
|
export {
|
|
8
|
-
Code
|
|
9
|
+
Code,
|
|
10
|
+
StyledCode
|
|
9
11
|
};
|