@lightsparkdev/ui 0.0.11 → 0.0.13
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 +19 -0
- package/dist/chunk-34CIJVQQ.js +24 -0
- package/dist/{chunk-IPAXAP6K.js → chunk-5DK6QL77.js} +7 -1
- package/dist/{chunk-VE7J2N47.js → chunk-5GBDVTL6.js} +1 -1
- package/dist/{chunk-ZANLDY2W.js → chunk-75VDSSXM.js} +3 -1
- package/dist/{chunk-NFSAJ5GJ.js → chunk-DFYHIUYN.js} +1 -1
- package/dist/{chunk-DQRN4E5G.js → chunk-EXGJIYUI.js} +1 -1
- package/dist/{chunk-NM7UW54G.js → chunk-KMTXQD46.js} +2 -2
- package/dist/{chunk-OGSDZTHM.js → chunk-QCXXJZDC.js} +2 -0
- package/dist/{chunk-XZR237JJ.js → chunk-QNM3M4MU.js} +2 -1
- package/dist/{chunk-PBRN7MJY.js → chunk-QWAHK2QG.js} +1 -1
- package/dist/chunk-UV6JCAHE.js +198 -0
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.d.cts +4 -3
- package/dist/components/Badge.d.ts +4 -3
- package/dist/components/Badge.js +1 -1
- package/dist/components/Button.cjs +4 -0
- package/dist/components/Button.d.cts +23 -26
- package/dist/components/Button.d.ts +23 -26
- package/dist/components/Button.js +2 -2
- package/dist/components/ButtonRow.cjs +4 -0
- package/dist/components/ButtonRow.js +3 -3
- package/dist/components/CardPage.js +4 -4
- package/dist/components/CodeBlock.cjs +1871 -0
- package/dist/components/CodeBlock.d.cts +43 -0
- package/dist/components/CodeBlock.d.ts +43 -0
- package/dist/components/CodeBlock.js +24 -0
- package/dist/components/CurrencyAmount.cjs +2 -1
- package/dist/components/CurrencyAmount.d.cts +3 -3
- package/dist/components/CurrencyAmount.d.ts +3 -3
- package/dist/components/CurrencyAmount.js +1 -1
- package/dist/components/GradientCardHeader.cjs +1382 -14
- package/dist/components/GradientCardHeader.d.cts +2 -1
- package/dist/components/GradientCardHeader.d.ts +2 -1
- package/dist/components/GradientCardHeader.js +7 -1
- package/dist/components/Modal.cjs +4 -0
- package/dist/components/Modal.js +4 -4
- package/dist/components/SecretContainer.d.cts +1 -1
- package/dist/components/SecretContainer.d.ts +1 -1
- package/dist/components/StatusIndicator.cjs +1405 -0
- package/dist/components/StatusIndicator.d.cts +12 -0
- package/dist/components/StatusIndicator.d.ts +12 -0
- package/dist/components/StatusIndicator.js +12 -0
- package/dist/components/index.cjs +430 -222
- package/dist/components/index.d.cts +3 -2
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.js +32 -20
- package/dist/icons/FramedLetterI.cjs +55 -0
- package/dist/icons/FramedLetterI.d.cts +5 -0
- package/dist/icons/FramedLetterI.d.ts +5 -0
- package/dist/icons/FramedLetterI.js +36 -0
- package/dist/router.cjs +2 -0
- package/dist/router.d.cts +2 -1
- package/dist/router.d.ts +2 -1
- package/dist/router.js +1 -1
- package/dist/styles/fonts/typography/Article.js +4 -4
- package/dist/styles/fonts/typography/index.js +8 -8
- package/dist/styles/fonts/typographyTokens.d.cts +4 -1
- package/dist/styles/fonts/typographyTokens.d.ts +4 -1
- package/dist/types/index.d.cts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/{types/utils.cjs → utils/parseURLFragments.cjs} +18 -13
- package/dist/utils/parseURLFragments.d.cts +3 -0
- package/dist/utils/parseURLFragments.d.ts +3 -0
- package/dist/utils/parseURLFragments.js +19 -0
- package/dist/utils/strings.d.cts +1 -1
- package/dist/utils/strings.d.ts +1 -1
- package/dist/utils/toReactNodes.cjs +2 -0
- package/dist/utils/toReactNodes.js +2 -2
- package/package.json +5 -2
- package/dist/types/utils.d.cts +0 -16
- package/dist/types/utils.d.ts +0 -16
- package/dist/types/utils.js +0 -13
- package/dist/{chunk-Y37DCY7Y.js → chunk-A3ZJ2C7J.js} +9 -9
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
+
import { StatusIndicatorProps } from './StatusIndicator.cjs';
|
|
2
3
|
|
|
3
4
|
type GradientCardHeaderProps = {
|
|
4
5
|
children: React.ReactNode;
|
|
5
|
-
status?:
|
|
6
|
+
status?: StatusIndicatorProps | undefined;
|
|
6
7
|
title?: string;
|
|
7
8
|
};
|
|
8
9
|
declare function GradientCardHeader(props: GradientCardHeaderProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
+
import { StatusIndicatorProps } from './StatusIndicator.js';
|
|
2
3
|
|
|
3
4
|
type GradientCardHeaderProps = {
|
|
4
5
|
children: React.ReactNode;
|
|
5
|
-
status?:
|
|
6
|
+
status?: StatusIndicatorProps | undefined;
|
|
6
7
|
title?: string;
|
|
7
8
|
};
|
|
8
9
|
declare function GradientCardHeader(props: GradientCardHeaderProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GradientCardHeader
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5DK6QL77.js";
|
|
4
|
+
import "../chunk-34CIJVQQ.js";
|
|
4
5
|
import "../chunk-55OQPFLF.js";
|
|
6
|
+
import "../chunk-FCZJILMW.js";
|
|
7
|
+
import "../chunk-JK4BP73A.js";
|
|
8
|
+
import "../chunk-2VBDEO6M.js";
|
|
9
|
+
import "../chunk-E4EXM4SY.js";
|
|
10
|
+
import "../chunk-JSGRNWSB.js";
|
|
5
11
|
import "../chunk-CIGAQ47A.js";
|
|
6
12
|
export {
|
|
7
13
|
GradientCardHeader
|
|
@@ -1553,6 +1553,7 @@ function replaceParams(to, params) {
|
|
|
1553
1553
|
}
|
|
1554
1554
|
function Link({
|
|
1555
1555
|
to,
|
|
1556
|
+
id,
|
|
1556
1557
|
externalLink,
|
|
1557
1558
|
params,
|
|
1558
1559
|
children,
|
|
@@ -1585,6 +1586,7 @@ function Link({
|
|
|
1585
1586
|
import_react_router_dom.Link,
|
|
1586
1587
|
{
|
|
1587
1588
|
to: toStr,
|
|
1589
|
+
id,
|
|
1588
1590
|
css: css7,
|
|
1589
1591
|
onClick,
|
|
1590
1592
|
className,
|
|
@@ -1921,6 +1923,7 @@ function Button({
|
|
|
1921
1923
|
ghost = false,
|
|
1922
1924
|
text,
|
|
1923
1925
|
to,
|
|
1926
|
+
id,
|
|
1924
1927
|
hash,
|
|
1925
1928
|
href,
|
|
1926
1929
|
toParams,
|
|
@@ -1977,6 +1980,7 @@ function Button({
|
|
|
1977
1980
|
] });
|
|
1978
1981
|
const isSingleCharRoundButton = Boolean(text && text.length === 1 && !icon);
|
|
1979
1982
|
const commonProps = {
|
|
1983
|
+
id,
|
|
1980
1984
|
backgroundColor,
|
|
1981
1985
|
color,
|
|
1982
1986
|
hoverColor,
|
package/dist/components/Modal.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-KMTXQD46.js";
|
|
5
|
+
import "../chunk-5GBDVTL6.js";
|
|
6
6
|
import "../chunk-NBCCPGA4.js";
|
|
7
7
|
import "../chunk-E3AOYBY5.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-75VDSSXM.js";
|
|
9
|
+
import "../chunk-QCXXJZDC.js";
|
|
10
10
|
import "../chunk-YMNSXZ5D.js";
|
|
11
11
|
import "../chunk-J4FJQ3FN.js";
|
|
12
12
|
import "../chunk-3GS5EFXV.js";
|