@lightsparkdev/ui 0.0.2 → 0.0.3

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 (109) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{chunk-Z4M2ODOW.js → chunk-2VBDEO6M.js} +1 -1
  3. package/dist/{chunk-6CJNPRC3.js → chunk-3PB5DNAL.js} +1 -1
  4. package/dist/chunk-3XSQV5U4.js +26 -0
  5. package/dist/{chunk-ABA75YLN.js → chunk-4I2ABBID.js} +2 -2
  6. package/dist/{chunk-7ZTWDJAE.js → chunk-4K2KAYVH.js} +2 -2
  7. package/dist/{chunk-AFAP6ZGM.js → chunk-4ZZHBSW4.js} +41 -37
  8. package/dist/{chunk-JD7JHP46.js → chunk-6R6A5H4I.js} +18 -9
  9. package/dist/{chunk-I5KUI7TK.js → chunk-6RXFA73Z.js} +1 -1
  10. package/dist/{chunk-WLHM7GX2.js → chunk-ANJDI74G.js} +2 -2
  11. package/dist/{chunk-EXB35D5E.js → chunk-BCFRW7CV.js} +1 -1
  12. package/dist/{chunk-RIU33XNS.js → chunk-DHNWT2E5.js} +1 -1
  13. package/dist/{chunk-F4FIOIYM.js → chunk-E4EXM4SY.js} +0 -2
  14. package/dist/{chunk-5XTI555J.js → chunk-EZ4RHFY7.js} +1 -1
  15. package/dist/{chunk-345XTQ55.js → chunk-FHNYQLMF.js} +2 -2
  16. package/dist/{chunk-N2J673NM.js → chunk-FRIQXHPR.js} +3 -3
  17. package/dist/{chunk-4Y2M2HEF.js → chunk-LD5LZXUP.js} +2 -2
  18. package/dist/{chunk-XU3F6HH6.js → chunk-LN7MMOXE.js} +2 -2
  19. package/dist/{chunk-HC4KIHUT.js → chunk-MYG24ZWT.js} +1 -1
  20. package/dist/{chunk-WK4HZX53.js → chunk-MYKMYG6H.js} +2 -2
  21. package/dist/{chunk-N7SP3C6R.js → chunk-OLAFBUE5.js} +1 -1
  22. package/dist/{chunk-BGOEN6S2.js → chunk-OO5UJRAW.js} +2 -2
  23. package/dist/{chunk-QOUEEA3G.js → chunk-PVUPVJ3F.js} +1 -1
  24. package/dist/{chunk-7VX4OOSZ.js → chunk-RBYRXBPI.js} +2 -2
  25. package/dist/{chunk-MQZEMU23.js → chunk-SUD5NOKE.js} +6 -6
  26. package/dist/{chunk-Z4MZOSEJ.js → chunk-SV5QPU7N.js} +1 -1
  27. package/dist/{chunk-C4OKXC6T.js → chunk-SW6ZA7W2.js} +2 -2
  28. package/dist/{chunk-QMHY6EGS.js → chunk-U6LQLAWI.js} +3 -3
  29. package/dist/{chunk-IZBH5JX6.js → chunk-VV7F7VVL.js} +2 -2
  30. package/dist/{chunk-SMLXEMZE.js → chunk-WB6FFT7Y.js} +16 -7
  31. package/dist/{chunk-M46YHH4D.js → chunk-WEPQ7LRL.js} +1 -1
  32. package/dist/{chunk-HZH77KO7.js → chunk-XUGLVWSH.js} +1 -1
  33. package/dist/{chunk-XRIZ5OCE.js → chunk-YHSFWCFN.js} +2 -2
  34. package/dist/{chunk-2GX5Y72Y.js → chunk-ZQTE53SK.js} +1 -1
  35. package/dist/components/Button.js +8 -8
  36. package/dist/components/ButtonRow.js +10 -10
  37. package/dist/components/Collapsible.cjs +14 -5
  38. package/dist/components/Collapsible.d.cts +9 -1
  39. package/dist/components/Collapsible.d.ts +9 -1
  40. package/dist/components/Collapsible.js +7 -6
  41. package/dist/components/ContentTable.js +5 -5
  42. package/dist/components/CopyToClipboardButton.js +6 -6
  43. package/dist/components/CurrencyAmount.js +5 -5
  44. package/dist/components/Icon.js +4 -4
  45. package/dist/components/LightsparkProvider.js +5 -5
  46. package/dist/components/Loading.js +5 -5
  47. package/dist/components/Modal.cjs +12 -3
  48. package/dist/components/Modal.js +11 -11
  49. package/dist/components/ProgressBar.js +3 -3
  50. package/dist/components/SecretContainer.js +7 -7
  51. package/dist/components/TextIconAligner.js +5 -5
  52. package/dist/components/UnstyledButton.js +4 -4
  53. package/dist/components/documentation/AnchorLinkHeader.cjs +0 -2
  54. package/dist/components/documentation/AnchorLinkHeader.js +6 -6
  55. package/dist/components/documentation/index.cjs +0 -2
  56. package/dist/components/documentation/index.js +6 -6
  57. package/dist/components/index.cjs +26 -8
  58. package/dist/components/index.js +20 -19
  59. package/dist/hooks/useWhatChanged.cjs +30 -0
  60. package/dist/hooks/useWhatChanged.d.cts +1 -0
  61. package/dist/hooks/useWhatChanged.d.ts +1 -0
  62. package/dist/hooks/useWhatChanged.js +7 -0
  63. package/dist/icons/ApiConnection.cjs +44 -0
  64. package/dist/icons/ApiConnection.d.cts +5 -0
  65. package/dist/icons/ApiConnection.d.ts +5 -0
  66. package/dist/icons/ApiConnection.js +25 -0
  67. package/dist/icons/index.js +4 -4
  68. package/dist/index.d.cts +1 -2
  69. package/dist/index.d.ts +1 -2
  70. package/dist/router.js +3 -3
  71. package/dist/styles/colors.js +2 -2
  72. package/dist/styles/common.js +3 -3
  73. package/dist/styles/fields.js +3 -3
  74. package/dist/styles/fonts/typography/Article.cjs +28 -26
  75. package/dist/styles/fonts/typography/Article.js +13 -12
  76. package/dist/styles/fonts/typography/Body.cjs +0 -2
  77. package/dist/styles/fonts/typography/Body.js +3 -3
  78. package/dist/styles/fonts/typography/BodyStrong.cjs +0 -2
  79. package/dist/styles/fonts/typography/BodyStrong.js +3 -3
  80. package/dist/styles/fonts/typography/Code.cjs +0 -2
  81. package/dist/styles/fonts/typography/Code.js +2 -2
  82. package/dist/styles/fonts/typography/Display.cjs +0 -2
  83. package/dist/styles/fonts/typography/Display.js +3 -3
  84. package/dist/styles/fonts/typography/Headline.cjs +0 -2
  85. package/dist/styles/fonts/typography/Headline.js +3 -3
  86. package/dist/styles/fonts/typography/Label.cjs +0 -2
  87. package/dist/styles/fonts/typography/Label.js +3 -3
  88. package/dist/styles/fonts/typography/LabelModerate.cjs +0 -2
  89. package/dist/styles/fonts/typography/LabelModerate.js +3 -3
  90. package/dist/styles/fonts/typography/LabelStrong.cjs +0 -2
  91. package/dist/styles/fonts/typography/LabelStrong.js +3 -3
  92. package/dist/styles/fonts/typography/Overline.cjs +0 -2
  93. package/dist/styles/fonts/typography/Overline.js +3 -3
  94. package/dist/styles/fonts/typography/Title.cjs +0 -2
  95. package/dist/styles/fonts/typography/Title.js +3 -3
  96. package/dist/styles/fonts/typography/index.cjs +28 -26
  97. package/dist/styles/fonts/typography/index.js +26 -25
  98. package/dist/styles/fonts/typographyTokens.cjs +0 -2
  99. package/dist/styles/fonts/typographyTokens.d.cts +1 -4
  100. package/dist/styles/fonts/typographyTokens.d.ts +1 -4
  101. package/dist/styles/fonts/typographyTokens.js +1 -1
  102. package/dist/styles/global.js +4 -4
  103. package/dist/styles/tokens/spacing.cjs +50 -0
  104. package/dist/styles/tokens/spacing.d.cts +22 -0
  105. package/dist/styles/tokens/spacing.d.ts +22 -0
  106. package/dist/styles/tokens/spacing.js +7 -0
  107. package/dist/styles/type.js +4 -4
  108. package/dist/styles/utils.js +4 -4
  109. package/package.json +2 -1
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  LabelStrong,
4
4
  StyledLabelStrong
5
- } from "../../../chunk-WK4HZX53.js";
6
- import "../../../chunk-Z4M2ODOW.js";
7
- import "../../../chunk-F4FIOIYM.js";
5
+ } from "../../../chunk-MYKMYG6H.js";
6
+ import "../../../chunk-2VBDEO6M.js";
7
+ import "../../../chunk-E4EXM4SY.js";
8
8
  import "../../../chunk-JSGRNWSB.js";
9
9
  import "../../../chunk-CIGAQ47A.js";
10
10
  export {
@@ -951,8 +951,6 @@ var getTypography = (customFontFamilies) => {
951
951
  var getTypographyString = (token) => {
952
952
  return Object.entries(token).map((entry) => {
953
953
  switch (entry[0]) {
954
- case "paragraph-spacing":
955
- return entry[1] === "default" ? "" : `margin-bottom: ${entry[1]};`;
956
954
  case "paragraph-indent":
957
955
  return `text-indent: ${entry[1]};`;
958
956
  case "text-case":
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  Overline,
4
4
  StyledOverline
5
- } from "../../../chunk-7VX4OOSZ.js";
6
- import "../../../chunk-Z4M2ODOW.js";
7
- import "../../../chunk-F4FIOIYM.js";
5
+ } from "../../../chunk-RBYRXBPI.js";
6
+ import "../../../chunk-2VBDEO6M.js";
7
+ import "../../../chunk-E4EXM4SY.js";
8
8
  import "../../../chunk-JSGRNWSB.js";
9
9
  import "../../../chunk-CIGAQ47A.js";
10
10
  export {
@@ -951,8 +951,6 @@ var getTypography = (customFontFamilies) => {
951
951
  var getTypographyString = (token) => {
952
952
  return Object.entries(token).map((entry) => {
953
953
  switch (entry[0]) {
954
- case "paragraph-spacing":
955
- return entry[1] === "default" ? "" : `margin-bottom: ${entry[1]};`;
956
954
  case "paragraph-indent":
957
955
  return `text-indent: ${entry[1]};`;
958
956
  case "text-case":
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  StyledTitle,
4
4
  Title
5
- } from "../../../chunk-345XTQ55.js";
6
- import "../../../chunk-Z4M2ODOW.js";
7
- import "../../../chunk-F4FIOIYM.js";
5
+ } from "../../../chunk-FHNYQLMF.js";
6
+ import "../../../chunk-2VBDEO6M.js";
7
+ import "../../../chunk-E4EXM4SY.js";
8
8
  import "../../../chunk-JSGRNWSB.js";
9
9
  import "../../../chunk-CIGAQ47A.js";
10
10
  export {
@@ -1065,8 +1065,6 @@ var getTypography = (customFontFamilies) => {
1065
1065
  var getTypographyString = (token) => {
1066
1066
  return Object.entries(token).map((entry) => {
1067
1067
  switch (entry[0]) {
1068
- case "paragraph-spacing":
1069
- return entry[1] === "default" ? "" : `margin-bottom: ${entry[1]};`;
1070
1068
  case "paragraph-indent":
1071
1069
  return `text-indent: ${entry[1]};`;
1072
1070
  case "text-case":
@@ -1589,51 +1587,51 @@ var Article = import_styled8.default.article`
1589
1587
 
1590
1588
  ${headlineSelector("h1")} {
1591
1589
  margin: 0;
1592
- padding-bottom: 8px;
1590
+ padding-bottom: ${"8px" /* xs */};
1593
1591
  }
1594
1592
 
1595
1593
  ${headlineSelector("h2")} {
1596
- padding-top: 32px;
1597
- padding-bottom: 8px;
1594
+ padding-top: ${"40px" /* 2xl */};
1595
+ padding-bottom: ${"8px" /* xs */};
1598
1596
  margin: 0;
1599
1597
  }
1600
1598
 
1601
1599
  ${headlineSelector("h3")} {
1602
- padding-top: 32px;
1603
- padding-bottom: 8px;
1600
+ padding-top: ${"40px" /* 2xl */};
1601
+ padding-bottom: ${"8px" /* xs */};
1604
1602
  margin: 0;
1605
1603
  }
1606
1604
 
1607
1605
  ${headlineSelector("h4")} {
1608
- padding-top: 16px;
1609
- padding-bottom: 8px;
1606
+ padding-top: ${"40px" /* 2xl */};
1607
+ padding-bottom: ${"8px" /* xs */};
1610
1608
  margin: 0;
1611
1609
  }
1612
1610
 
1613
1611
  ${headlineSelector("h5")} {
1614
- padding-top: 32px;
1615
- padding-bottom: 8px;
1612
+ padding-top: ${"40px" /* 2xl */};
1613
+ padding-bottom: ${"8px" /* xs */};
1616
1614
  margin: 0;
1617
1615
  }
1618
1616
 
1619
1617
  ${headlineSelector("h6")} {
1620
- padding-top: 32px;
1621
- padding-bottom: 8px;
1618
+ padding-top: ${"40px" /* 2xl */};
1619
+ padding-bottom: ${"8px" /* xs */};
1622
1620
  margin: 0;
1623
1621
  }
1624
1622
 
1625
1623
  ${StyledBody} {
1626
- margin-top: 12px;
1627
- margin-bottom: 12px;
1624
+ margin-top: ${"8px" /* xs */};
1625
+ margin-bottom: ${"8px" /* xs */};
1628
1626
  }
1629
1627
 
1630
1628
  ${StyledContentTable} {
1631
- margin: 40px 0;
1629
+ margin: ${"40px" /* 2xl */} 0;
1632
1630
  }
1633
1631
 
1634
1632
  img {
1635
- margin-top: 16px;
1636
- margin-bottom: 16px;
1633
+ margin-top: ${"16px" /* md */};
1634
+ margin-bottom: ${"16px" /* md */};
1637
1635
  }
1638
1636
 
1639
1637
  strong {
@@ -1650,9 +1648,9 @@ var Article = import_styled8.default.article`
1650
1648
 
1651
1649
  ul,
1652
1650
  ol {
1653
- padding-left: 24px;
1654
- margin-top: 8px;
1655
- margin-bottom: 8px;
1651
+ padding-left: ${"24px" /* lg */};
1652
+ margin-top: ${"8px" /* xs */};
1653
+ margin-bottom: ${"8px" /* xs */};
1656
1654
  *:not(a) {
1657
1655
  color: ${({ theme }) => theme.text};
1658
1656
  }
@@ -1661,23 +1659,23 @@ var Article = import_styled8.default.article`
1661
1659
  li {
1662
1660
  ${({ theme }) => getTypographyString(theme.typography[theme.app].Body["Medium" /* Medium */])}
1663
1661
  :not(:last-child) {
1664
- margin-bottom: 4px;
1662
+ margin-bottom: ${"4px" /* 3xs */};
1665
1663
  }
1666
1664
  }
1667
1665
 
1668
1666
  code:not([class|="language"]) {
1669
1667
  ${({ theme }) => getTypographyString(theme.typography[theme.app].Code["Medium" /* Medium */])}
1670
1668
  background: ${colors.uma.blue90};
1671
- padding: 2px 6px;
1672
- margin: 2px;
1669
+ padding: ${"2px" /* 4xs */} ${"6px" /* 2xs */};
1670
+ margin: ${"2px" /* 4xs */};
1673
1671
  border-radius: 4px;
1674
1672
  }
1675
1673
 
1676
1674
  pre[class|="language"] {
1677
1675
  border-radius: 8px;
1678
1676
  width: 100%;
1679
- padding: 16px 24px;
1680
- margin: 0;
1677
+ padding: ${"16px" /* md */} ${"24px" /* lg */};
1678
+ margin: ${"16px" /* md */} 0;
1681
1679
  }
1682
1680
 
1683
1681
  // Must match specificity of prismjs to get proper line height!
@@ -1687,6 +1685,10 @@ var Article = import_styled8.default.article`
1687
1685
 
1688
1686
  ${overflowAutoWithoutScrollbars}
1689
1687
  }
1688
+
1689
+ blockquote {
1690
+ margin: ${"8px" /* xs */} 0;
1691
+ }
1690
1692
  `;
1691
1693
 
1692
1694
  // src/styles/fonts/typography/BodyStrong.tsx
@@ -1,44 +1,45 @@
1
- import {
2
- Label
3
- } from "../../../chunk-BGOEN6S2.js";
4
- import {
5
- LabelModerate
6
- } from "../../../chunk-ABA75YLN.js";
7
1
  import {
8
2
  LabelStrong
9
- } from "../../../chunk-WK4HZX53.js";
3
+ } from "../../../chunk-MYKMYG6H.js";
10
4
  import {
11
5
  Overline
12
- } from "../../../chunk-7VX4OOSZ.js";
6
+ } from "../../../chunk-RBYRXBPI.js";
13
7
  import {
14
8
  Article
15
- } from "../../../chunk-AFAP6ZGM.js";
16
- import {
17
- Code
18
- } from "../../../chunk-EXB35D5E.js";
19
- import {
20
- Display
21
- } from "../../../chunk-C4OKXC6T.js";
9
+ } from "../../../chunk-4ZZHBSW4.js";
22
10
  import {
23
11
  Title
24
- } from "../../../chunk-345XTQ55.js";
12
+ } from "../../../chunk-FHNYQLMF.js";
25
13
  import {
26
14
  Body
27
- } from "../../../chunk-4Y2M2HEF.js";
15
+ } from "../../../chunk-LD5LZXUP.js";
28
16
  import {
29
17
  BodyStrong
30
- } from "../../../chunk-XU3F6HH6.js";
18
+ } from "../../../chunk-LN7MMOXE.js";
19
+ import {
20
+ Code
21
+ } from "../../../chunk-BCFRW7CV.js";
22
+ import {
23
+ Display
24
+ } from "../../../chunk-SW6ZA7W2.js";
25
+ import {
26
+ Label
27
+ } from "../../../chunk-OO5UJRAW.js";
28
+ import {
29
+ LabelModerate
30
+ } from "../../../chunk-4I2ABBID.js";
31
31
  import {
32
32
  Headline
33
- } from "../../../chunk-7ZTWDJAE.js";
34
- import "../../../chunk-Z4MZOSEJ.js";
35
- import "../../../chunk-5XTI555J.js";
36
- import "../../../chunk-HC4KIHUT.js";
33
+ } from "../../../chunk-4K2KAYVH.js";
34
+ import "../../../chunk-3XSQV5U4.js";
35
+ import "../../../chunk-SV5QPU7N.js";
36
+ import "../../../chunk-EZ4RHFY7.js";
37
+ import "../../../chunk-MYG24ZWT.js";
37
38
  import "../../../chunk-LAMQKQU3.js";
38
- import "../../../chunk-HZH77KO7.js";
39
+ import "../../../chunk-XUGLVWSH.js";
39
40
  import "../../../chunk-CLU2FRJZ.js";
40
- import "../../../chunk-Z4M2ODOW.js";
41
- import "../../../chunk-F4FIOIYM.js";
41
+ import "../../../chunk-2VBDEO6M.js";
42
+ import "../../../chunk-E4EXM4SY.js";
42
43
  import "../../../chunk-JSGRNWSB.js";
43
44
  import "../../../chunk-CIGAQ47A.js";
44
45
  export {
@@ -930,8 +930,6 @@ var getTypography = (customFontFamilies) => {
930
930
  var getTypographyString = (token) => {
931
931
  return Object.entries(token).map((entry) => {
932
932
  switch (entry[0]) {
933
- case "paragraph-spacing":
934
- return entry[1] === "default" ? "" : `margin-bottom: ${entry[1]};`;
935
933
  case "paragraph-indent":
936
934
  return `text-indent: ${entry[1]};`;
937
935
  case "text-case":
@@ -23,10 +23,7 @@ declare enum TokenSize {
23
23
  Small = "Small"
24
24
  }
25
25
  declare const getTypography: (customFontFamilies?: FontFamilies) => {
26
- fontFamilies: {
27
- main: string;
28
- code: string;
29
- };
26
+ fontFamilies: FontFamilies;
30
27
  lineHeights: {
31
28
  UmaDocs: {
32
29
  "5xl": string;
@@ -23,10 +23,7 @@ declare enum TokenSize {
23
23
  Small = "Small"
24
24
  }
25
25
  declare const getTypography: (customFontFamilies?: FontFamilies) => {
26
- fontFamilies: {
27
- main: string;
28
- code: string;
29
- };
26
+ fontFamilies: FontFamilies;
30
27
  lineHeights: {
31
28
  UmaDocs: {
32
29
  "5xl": string;
@@ -3,7 +3,7 @@ import {
3
3
  TokenSize,
4
4
  getTypography,
5
5
  getTypographyString
6
- } from "../../chunk-F4FIOIYM.js";
6
+ } from "../../chunk-E4EXM4SY.js";
7
7
  import "../../chunk-CIGAQ47A.js";
8
8
  export {
9
9
  App,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GlobalStyles,
3
3
  globalComponentStyles
4
- } from "../chunk-XRIZ5OCE.js";
4
+ } from "../chunk-YHSFWCFN.js";
5
5
  import "../chunk-IJVWYT5G.js";
6
- import "../chunk-HZH77KO7.js";
6
+ import "../chunk-XUGLVWSH.js";
7
7
  import "../chunk-CLU2FRJZ.js";
8
- import "../chunk-Z4M2ODOW.js";
9
- import "../chunk-F4FIOIYM.js";
8
+ import "../chunk-2VBDEO6M.js";
9
+ import "../chunk-E4EXM4SY.js";
10
10
  import "../chunk-JSGRNWSB.js";
11
11
  import "../chunk-CIGAQ47A.js";
12
12
  export {
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/styles/tokens/spacing.tsx
21
+ var spacing_exports = {};
22
+ __export(spacing_exports, {
23
+ Spacing: () => Spacing
24
+ });
25
+ module.exports = __toCommonJS(spacing_exports);
26
+ var Spacing = /* @__PURE__ */ ((Spacing2) => {
27
+ Spacing2["4xs"] = "2px";
28
+ Spacing2["3xs"] = "4px";
29
+ Spacing2["2xs"] = "6px";
30
+ Spacing2["xs"] = "8px";
31
+ Spacing2["sm"] = "12px";
32
+ Spacing2["md"] = "16px";
33
+ Spacing2["lg"] = "24px";
34
+ Spacing2["xl"] = "32px";
35
+ Spacing2["2xl"] = "40px";
36
+ Spacing2["3xl"] = "48px";
37
+ Spacing2["4xl"] = "56px";
38
+ Spacing2["5xl"] = "64px";
39
+ Spacing2["6xl"] = "72px";
40
+ Spacing2["7xl"] = "80px";
41
+ Spacing2["8xl"] = "96px";
42
+ Spacing2["9xl"] = "112px";
43
+ Spacing2["10xl"] = "128px";
44
+ Spacing2["11xl"] = "160px";
45
+ return Spacing2;
46
+ })(Spacing || {});
47
+ // Annotate the CommonJS export names for ESM import in node:
48
+ 0 && (module.exports = {
49
+ Spacing
50
+ });
@@ -0,0 +1,22 @@
1
+ declare enum Spacing {
2
+ "4xs" = "2px",
3
+ "3xs" = "4px",
4
+ "2xs" = "6px",
5
+ xs = "8px",
6
+ sm = "12px",
7
+ md = "16px",
8
+ lg = "24px",
9
+ xl = "32px",
10
+ "2xl" = "40px",
11
+ "3xl" = "48px",
12
+ "4xl" = "56px",
13
+ "5xl" = "64px",
14
+ "6xl" = "72px",
15
+ "7xl" = "80px",
16
+ "8xl" = "96px",
17
+ "9xl" = "112px",
18
+ "10xl" = "128px",
19
+ "11xl" = "160px"
20
+ }
21
+
22
+ export { Spacing };
@@ -0,0 +1,22 @@
1
+ declare enum Spacing {
2
+ "4xs" = "2px",
3
+ "3xs" = "4px",
4
+ "2xs" = "6px",
5
+ xs = "8px",
6
+ sm = "12px",
7
+ md = "16px",
8
+ lg = "24px",
9
+ xl = "32px",
10
+ "2xl" = "40px",
11
+ "3xl" = "48px",
12
+ "4xl" = "56px",
13
+ "5xl" = "64px",
14
+ "6xl" = "72px",
15
+ "7xl" = "80px",
16
+ "8xl" = "96px",
17
+ "9xl" = "112px",
18
+ "10xl" = "128px",
19
+ "11xl" = "160px"
20
+ }
21
+
22
+ export { Spacing };
@@ -0,0 +1,7 @@
1
+ import {
2
+ Spacing
3
+ } from "../../chunk-3XSQV5U4.js";
4
+ import "../../chunk-CIGAQ47A.js";
5
+ export {
6
+ Spacing
7
+ };
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  firstChild,
4
4
  pxToRems
5
- } from "../chunk-Z4MZOSEJ.js";
6
- import "../chunk-HZH77KO7.js";
5
+ } from "../chunk-SV5QPU7N.js";
6
+ import "../chunk-XUGLVWSH.js";
7
7
  import "../chunk-CLU2FRJZ.js";
8
- import "../chunk-Z4M2ODOW.js";
9
- import "../chunk-F4FIOIYM.js";
8
+ import "../chunk-2VBDEO6M.js";
9
+ import "../chunk-E4EXM4SY.js";
10
10
  import {
11
11
  bp
12
12
  } from "../chunk-JSGRNWSB.js";
@@ -13,11 +13,11 @@ import {
13
13
  remsToPx,
14
14
  size,
15
15
  textCenter
16
- } from "../chunk-Z4MZOSEJ.js";
17
- import "../chunk-HZH77KO7.js";
16
+ } from "../chunk-SV5QPU7N.js";
17
+ import "../chunk-XUGLVWSH.js";
18
18
  import "../chunk-CLU2FRJZ.js";
19
- import "../chunk-Z4M2ODOW.js";
20
- import "../chunk-F4FIOIYM.js";
19
+ import "../chunk-2VBDEO6M.js";
20
+ import "../chunk-E4EXM4SY.js";
21
21
  import "../chunk-JSGRNWSB.js";
22
22
  import "../chunk-CIGAQ47A.js";
23
23
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightsparkdev/ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -43,6 +43,7 @@
43
43
  "@emotion/react": "^11.11.0",
44
44
  "@emotion/styled": "^11.11.0",
45
45
  "@lightsparkdev/core": "1.0.12",
46
+ "@simbathesailor/use-what-changed": "^2.0.0",
46
47
  "gql": "^1.1.2",
47
48
  "lodash-es": "^4.17.21",
48
49
  "nanoid": "^4.0.0",