@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
@@ -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)(CodeStyles, { size, children });
59
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledCode, { size, children });
59
60
  };
60
- var CodeStyles = import_styled.default.div`
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
- } from "../../../chunk-RUVXOYBL.js";
5
- import "../../../chunk-WVJNZRKF.js";
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
  };