@lightsparkdev/ui 0.0.8 → 0.0.9

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 (108) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{chunk-NRXJA2PM.js → chunk-3EVAP5JT.js} +1 -1
  3. package/dist/{chunk-4KWTXZRY.js → chunk-3GS5EFXV.js} +1 -1
  4. package/dist/{chunk-WTO7C7WA.js → chunk-5POPBNPS.js} +1 -1
  5. package/dist/{chunk-UWN53KLJ.js → chunk-7C4MHI6Q.js} +3 -3
  6. package/dist/{chunk-6FHLZM6N.js → chunk-7T36JGTC.js} +2 -2
  7. package/dist/{chunk-YPB5SA65.js → chunk-A4FQBEYU.js} +6 -6
  8. package/dist/{chunk-SZVMKB4E.js → chunk-ATUH6SXK.js} +19 -8
  9. package/dist/{chunk-U6XT5JKC.js → chunk-DQRN4E5G.js} +1 -1
  10. package/dist/{chunk-36C653MV.js → chunk-E3AOYBY5.js} +1 -1
  11. package/dist/{chunk-MAMSU2XB.js → chunk-EEFNW7NS.js} +3 -3
  12. package/dist/{chunk-2YB7653N.js → chunk-FCZJILMW.js} +1 -1
  13. package/dist/{chunk-ZYHA6MJC.js → chunk-H3RW6JSU.js} +1 -1
  14. package/dist/chunk-IPAXAP6K.js +119 -0
  15. package/dist/{chunk-BAO4T4G5.js → chunk-J4FJQ3FN.js} +1 -1
  16. package/dist/{chunk-HNVQIY5U.js → chunk-JK4BP73A.js} +39 -30
  17. package/dist/{chunk-ZSUX6RLD.js → chunk-KMR5C25B.js} +1 -1
  18. package/dist/{chunk-2JM7UTAZ.js → chunk-NFSAJ5GJ.js} +8 -8
  19. package/dist/{chunk-DAVVD7YE.js → chunk-NM7UW54G.js} +18 -21
  20. package/dist/chunk-P3EUPXFA.js +150 -0
  21. package/dist/chunk-PBRN7MJY.js +315 -0
  22. package/dist/{chunk-CW3W2VTZ.js → chunk-PVQCLQNA.js} +1 -1
  23. package/dist/{chunk-VHW2KROZ.js → chunk-RWIZ7Q74.js} +1 -1
  24. package/dist/{chunk-744FBGRP.js → chunk-XP2MX2AA.js} +1 -1
  25. package/dist/{chunk-XAZ6NZ6I.js → chunk-XZR237JJ.js} +1 -1
  26. package/dist/{chunk-FN5PM3HQ.js → chunk-Y37DCY7Y.js} +6 -6
  27. package/dist/{chunk-76Q4BK35.js → chunk-ZANLDY2W.js} +5 -5
  28. package/dist/components/Badge.cjs +38 -24
  29. package/dist/components/Badge.js +2 -2
  30. package/dist/components/Button.cjs +38 -24
  31. package/dist/components/Button.js +6 -6
  32. package/dist/components/ButtonRow.cjs +42 -28
  33. package/dist/components/ButtonRow.js +8 -8
  34. package/dist/components/CardPage.cjs +1921 -0
  35. package/dist/components/CardPage.d.cts +54 -0
  36. package/dist/components/CardPage.d.ts +54 -0
  37. package/dist/components/CardPage.js +33 -0
  38. package/dist/components/Collapsible.cjs +38 -24
  39. package/dist/components/Collapsible.js +4 -4
  40. package/dist/components/ContentTable.cjs +38 -24
  41. package/dist/components/ContentTable.js +3 -3
  42. package/dist/components/CopyToClipboardButton.cjs +38 -24
  43. package/dist/components/CopyToClipboardButton.js +5 -5
  44. package/dist/components/CurrencyAmount.cjs +38 -24
  45. package/dist/components/CurrencyAmount.js +3 -3
  46. package/dist/components/FileInput.cjs +38 -24
  47. package/dist/components/FileInput.js +7 -7
  48. package/dist/components/GradientCardHeader.cjs +177 -0
  49. package/dist/components/GradientCardHeader.d.cts +10 -0
  50. package/dist/components/GradientCardHeader.d.ts +10 -0
  51. package/dist/components/GradientCardHeader.js +8 -0
  52. package/dist/components/Icon.cjs +38 -24
  53. package/dist/components/Icon.js +2 -2
  54. package/dist/components/LightTooltip.cjs +38 -24
  55. package/dist/components/LightTooltip.js +2 -2
  56. package/dist/components/LightsparkProvider.cjs +38 -24
  57. package/dist/components/LightsparkProvider.js +3 -3
  58. package/dist/components/Loading.cjs +38 -24
  59. package/dist/components/Loading.js +3 -3
  60. package/dist/components/Modal.cjs +46 -34
  61. package/dist/components/Modal.js +9 -9
  62. package/dist/components/Pill.cjs +38 -24
  63. package/dist/components/Pill.js +6 -6
  64. package/dist/components/ProgressBar.cjs +38 -24
  65. package/dist/components/ProgressBar.js +2 -2
  66. package/dist/components/SecretContainer.cjs +38 -24
  67. package/dist/components/SecretContainer.js +6 -6
  68. package/dist/components/TextIconAligner.cjs +38 -24
  69. package/dist/components/TextIconAligner.js +3 -3
  70. package/dist/components/UnstyledButton.cjs +38 -24
  71. package/dist/components/UnstyledButton.js +2 -2
  72. package/dist/components/documentation/AnchorLinkHeader.cjs +38 -24
  73. package/dist/components/documentation/AnchorLinkHeader.js +3 -3
  74. package/dist/components/documentation/index.cjs +38 -24
  75. package/dist/components/documentation/index.js +3 -3
  76. package/dist/components/index.cjs +737 -185
  77. package/dist/components/index.d.cts +2 -0
  78. package/dist/components/index.d.ts +2 -0
  79. package/dist/components/index.js +51 -32
  80. package/dist/icons/ArrowCornerDownRight.cjs +49 -0
  81. package/dist/icons/ArrowCornerDownRight.d.cts +5 -0
  82. package/dist/icons/ArrowCornerDownRight.d.ts +5 -0
  83. package/dist/icons/ArrowCornerDownRight.js +30 -0
  84. package/dist/icons/Sort.cjs +48 -0
  85. package/dist/icons/Sort.d.cts +5 -0
  86. package/dist/icons/Sort.d.ts +5 -0
  87. package/dist/icons/Sort.js +29 -0
  88. package/dist/icons/index.cjs +38 -24
  89. package/dist/icons/index.js +2 -2
  90. package/dist/styles/common.cjs +38 -34
  91. package/dist/styles/common.d.cts +10 -7
  92. package/dist/styles/common.d.ts +10 -7
  93. package/dist/styles/common.js +1 -11
  94. package/dist/styles/fields.cjs +56 -31
  95. package/dist/styles/fields.d.cts +4 -3
  96. package/dist/styles/fields.d.ts +4 -3
  97. package/dist/styles/fields.js +2 -2
  98. package/dist/styles/fonts/typography/Article.cjs +38 -24
  99. package/dist/styles/fonts/typography/Article.js +6 -6
  100. package/dist/styles/fonts/typography/index.cjs +38 -24
  101. package/dist/styles/fonts/typography/index.js +11 -11
  102. package/dist/styles/global.cjs +38 -24
  103. package/dist/styles/global.js +2 -2
  104. package/dist/styles/type.cjs +38 -24
  105. package/dist/styles/type.js +8 -144
  106. package/dist/styles/utils.cjs +38 -24
  107. package/dist/styles/utils.js +2 -2
  108. package/package.json +7 -4
@@ -1369,30 +1369,44 @@ var import_react5 = require("@emotion/react");
1369
1369
  var import_styled = __toESM(require("@emotion/styled"), 1);
1370
1370
  var rootFontSizePx = 12;
1371
1371
  var rootFontSizeRems = rootFontSizePx / 16;
1372
- var standardContentInsetPx = 32;
1373
- var standardContentInsetMdPx = 24;
1374
- var standardContentInsetSmPx = 16;
1375
- var smContentInset = import_react5.css`
1376
- ${bp.sm(`
1377
- margin-left: auto;
1378
- margin-right: auto;
1379
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1380
- `)}
1381
- `;
1382
- var minSmMaxLgContentInset = import_react5.css`
1383
- ${bp.minSmMaxLg(`
1384
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1385
- `)}
1386
- `;
1387
- var standardContentInset = import_react5.css`
1388
- margin-left: auto;
1389
- margin-right: auto;
1390
- width: calc(100% - ${standardContentInsetPx * 2}px);
1391
- max-width: 1280px;
1392
-
1393
- ${smContentInset}
1394
- ${minSmMaxLgContentInset}
1395
- `;
1372
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1373
+ const smCSS = import_react5.css`
1374
+ ${bp.sm(`
1375
+ margin-left: auto;
1376
+ margin-right: auto;
1377
+ width: calc(100% - ${smPx * 2}px);
1378
+ `)}
1379
+ `;
1380
+ const minSmMaxLgCSS = import_react5.css`
1381
+ ${bp.minSmMaxLg(`
1382
+ margin-left: auto;
1383
+ margin-right: auto;
1384
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1385
+ `)}
1386
+ `;
1387
+ const lgCSS = import_react5.css`
1388
+ ${bp.lg(`
1389
+ margin-left: auto;
1390
+ margin-right: auto;
1391
+ width: calc(100% - ${lgPx * 2}px);
1392
+ max-width: 1280px;
1393
+ `)}
1394
+ `;
1395
+ return {
1396
+ smPx,
1397
+ minSmMaxLgPx,
1398
+ lgPx,
1399
+ smCSS,
1400
+ minSmMaxLgCSS,
1401
+ lgCSS,
1402
+ css: import_react5.css`
1403
+ ${lgCSS}
1404
+ ${smCSS}
1405
+ ${minSmMaxLgCSS}
1406
+ `
1407
+ };
1408
+ }
1409
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1396
1410
  var standardCardShadow = import_react5.css`
1397
1411
  box-shadow:
1398
1412
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -2,16 +2,16 @@ import {
2
2
  Button,
3
3
  ButtonSelector,
4
4
  StyledButton
5
- } from "../chunk-76Q4BK35.js";
5
+ } from "../chunk-ZANLDY2W.js";
6
6
  import "../chunk-OGSDZTHM.js";
7
7
  import "../chunk-YMNSXZ5D.js";
8
- import "../chunk-BAO4T4G5.js";
9
- import "../chunk-4KWTXZRY.js";
10
- import "../chunk-NRXJA2PM.js";
8
+ import "../chunk-J4FJQ3FN.js";
9
+ import "../chunk-3GS5EFXV.js";
10
+ import "../chunk-3EVAP5JT.js";
11
11
  import "../chunk-55OQPFLF.js";
12
- import "../chunk-VHW2KROZ.js";
12
+ import "../chunk-RWIZ7Q74.js";
13
13
  import "../chunk-LAMQKQU3.js";
14
- import "../chunk-HNVQIY5U.js";
14
+ import "../chunk-JK4BP73A.js";
15
15
  import "../chunk-2VBDEO6M.js";
16
16
  import "../chunk-E4EXM4SY.js";
17
17
  import "../chunk-JSGRNWSB.js";
@@ -1289,30 +1289,44 @@ function hexToRGB(hex) {
1289
1289
  // src/styles/common.tsx
1290
1290
  var rootFontSizePx = 12;
1291
1291
  var rootFontSizeRems = rootFontSizePx / 16;
1292
- var standardContentInsetPx = 32;
1293
- var standardContentInsetMdPx = 24;
1294
- var standardContentInsetSmPx = 16;
1295
- var smContentInset = import_react4.css`
1296
- ${bp.sm(`
1297
- margin-left: auto;
1298
- margin-right: auto;
1299
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1300
- `)}
1301
- `;
1302
- var minSmMaxLgContentInset = import_react4.css`
1303
- ${bp.minSmMaxLg(`
1304
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1305
- `)}
1306
- `;
1307
- var standardContentInset = import_react4.css`
1308
- margin-left: auto;
1309
- margin-right: auto;
1310
- width: calc(100% - ${standardContentInsetPx * 2}px);
1311
- max-width: 1280px;
1312
-
1313
- ${smContentInset}
1314
- ${minSmMaxLgContentInset}
1315
- `;
1292
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1293
+ const smCSS = import_react4.css`
1294
+ ${bp.sm(`
1295
+ margin-left: auto;
1296
+ margin-right: auto;
1297
+ width: calc(100% - ${smPx * 2}px);
1298
+ `)}
1299
+ `;
1300
+ const minSmMaxLgCSS = import_react4.css`
1301
+ ${bp.minSmMaxLg(`
1302
+ margin-left: auto;
1303
+ margin-right: auto;
1304
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1305
+ `)}
1306
+ `;
1307
+ const lgCSS = import_react4.css`
1308
+ ${bp.lg(`
1309
+ margin-left: auto;
1310
+ margin-right: auto;
1311
+ width: calc(100% - ${lgPx * 2}px);
1312
+ max-width: 1280px;
1313
+ `)}
1314
+ `;
1315
+ return {
1316
+ smPx,
1317
+ minSmMaxLgPx,
1318
+ lgPx,
1319
+ smCSS,
1320
+ minSmMaxLgCSS,
1321
+ lgCSS,
1322
+ css: import_react4.css`
1323
+ ${lgCSS}
1324
+ ${smCSS}
1325
+ ${minSmMaxLgCSS}
1326
+ `
1327
+ };
1328
+ }
1329
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1316
1330
  var standardCardShadow = import_react4.css`
1317
1331
  box-shadow:
1318
1332
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -2032,9 +2046,9 @@ var ButtonRowContainer = import_styled6.default.div`
2032
2046
  position: sticky;
2033
2047
  top: ${headerHeight}px;
2034
2048
  margin-top: 24px;
2035
- margin-left: -${standardContentInsetSmPx}px;
2036
- width: calc(100% + ${standardContentInsetSmPx * 2}px);
2037
- max-width: calc(100% + ${standardContentInsetSmPx * 2}px);
2049
+ margin-left: -${standardContentInset.smPx}px;
2050
+ width: calc(100% + ${standardContentInset.smPx * 2}px);
2051
+ max-width: calc(100% + ${standardContentInset.smPx * 2}px);
2038
2052
  z-index: 2;` : `position: relative;`}
2039
2053
  z-index: 2;
2040
2054
  &:before {
@@ -2073,7 +2087,7 @@ var StyledButtonRow = import_styled6.default.div`
2073
2087
  }
2074
2088
 
2075
2089
  ${bp.sm(`
2076
- padding: 12px;
2090
+ padding: ${standardContentInset.smPx}px;
2077
2091
  `)}
2078
2092
  `;
2079
2093
  // Annotate the CommonJS export names for ESM import in node:
@@ -2,18 +2,18 @@ import {
2
2
  ButtonRow,
3
3
  ButtonRowContainer,
4
4
  StyledButtonRow
5
- } from "../chunk-2JM7UTAZ.js";
6
- import "../chunk-76Q4BK35.js";
5
+ } from "../chunk-NFSAJ5GJ.js";
6
+ import "../chunk-ZANLDY2W.js";
7
7
  import "../chunk-OGSDZTHM.js";
8
8
  import "../chunk-YMNSXZ5D.js";
9
- import "../chunk-BAO4T4G5.js";
10
- import "../chunk-2YB7653N.js";
11
- import "../chunk-4KWTXZRY.js";
12
- import "../chunk-NRXJA2PM.js";
9
+ import "../chunk-J4FJQ3FN.js";
10
+ import "../chunk-3GS5EFXV.js";
11
+ import "../chunk-3EVAP5JT.js";
13
12
  import "../chunk-55OQPFLF.js";
14
- import "../chunk-VHW2KROZ.js";
13
+ import "../chunk-FCZJILMW.js";
14
+ import "../chunk-RWIZ7Q74.js";
15
15
  import "../chunk-LAMQKQU3.js";
16
- import "../chunk-HNVQIY5U.js";
16
+ import "../chunk-JK4BP73A.js";
17
17
  import "../chunk-2VBDEO6M.js";
18
18
  import "../chunk-E4EXM4SY.js";
19
19
  import "../chunk-JSGRNWSB.js";