@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
@@ -0,0 +1,54 @@
1
+ import * as _emotion_styled from '@emotion/styled';
2
+ import * as _emotion_react from '@emotion/react';
3
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
4
+ import react__default from 'react';
5
+
6
+ type Props = {
7
+ children?: react__default.ReactNode;
8
+ title?: string | undefined;
9
+ minContentHeight?: number;
10
+ minContentWidth?: number;
11
+ maxContentWidth?: number;
12
+ rightContent?: react__default.ReactNode;
13
+ preHeaderContent?: react__default.ReactNode;
14
+ expandRight?: boolean;
15
+ id?: string;
16
+ };
17
+ declare function CardPage(props: Props): _emotion_react_jsx_runtime.JSX.Element;
18
+ declare namespace CardPage {
19
+ var defaultProps: {
20
+ minContentHeight: undefined;
21
+ minContentWidth: undefined;
22
+ maxContentWidth: undefined;
23
+ };
24
+ }
25
+ declare const CardPageFullContent: _emotion_styled.StyledComponent<{
26
+ theme?: _emotion_react.Theme;
27
+ as?: react__default.ElementType<any>;
28
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
29
+ declare const CardPageFullWidth: _emotion_styled.StyledComponent<{
30
+ theme?: _emotion_react.Theme;
31
+ as?: react__default.ElementType<any>;
32
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
33
+ declare const CardPageRightContentInner: _emotion_styled.StyledComponent<{
34
+ theme?: _emotion_react.Theme;
35
+ as?: react__default.ElementType<any>;
36
+ } & {
37
+ hasRightContent: boolean;
38
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
+ type CardPageContentProps = {
40
+ minContentHeight?: number | undefined;
41
+ minContentWidth?: number | undefined;
42
+ maxContentWidth?: number | undefined;
43
+ hasPreHeaderContent: boolean;
44
+ };
45
+ declare const CardPageSubtitle: _emotion_styled.StyledComponent<{
46
+ theme?: _emotion_react.Theme;
47
+ as?: react__default.ElementType<any>;
48
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
49
+ declare const CardPageContent: _emotion_styled.StyledComponent<{
50
+ theme?: _emotion_react.Theme;
51
+ as?: react__default.ElementType<any>;
52
+ } & CardPageContentProps, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
53
+
54
+ export { CardPage, CardPageContent, CardPageFullContent, CardPageFullWidth, CardPageRightContentInner, CardPageSubtitle };
@@ -0,0 +1,54 @@
1
+ import * as _emotion_styled from '@emotion/styled';
2
+ import * as _emotion_react from '@emotion/react';
3
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
4
+ import react__default from 'react';
5
+
6
+ type Props = {
7
+ children?: react__default.ReactNode;
8
+ title?: string | undefined;
9
+ minContentHeight?: number;
10
+ minContentWidth?: number;
11
+ maxContentWidth?: number;
12
+ rightContent?: react__default.ReactNode;
13
+ preHeaderContent?: react__default.ReactNode;
14
+ expandRight?: boolean;
15
+ id?: string;
16
+ };
17
+ declare function CardPage(props: Props): _emotion_react_jsx_runtime.JSX.Element;
18
+ declare namespace CardPage {
19
+ var defaultProps: {
20
+ minContentHeight: undefined;
21
+ minContentWidth: undefined;
22
+ maxContentWidth: undefined;
23
+ };
24
+ }
25
+ declare const CardPageFullContent: _emotion_styled.StyledComponent<{
26
+ theme?: _emotion_react.Theme;
27
+ as?: react__default.ElementType<any>;
28
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
29
+ declare const CardPageFullWidth: _emotion_styled.StyledComponent<{
30
+ theme?: _emotion_react.Theme;
31
+ as?: react__default.ElementType<any>;
32
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
33
+ declare const CardPageRightContentInner: _emotion_styled.StyledComponent<{
34
+ theme?: _emotion_react.Theme;
35
+ as?: react__default.ElementType<any>;
36
+ } & {
37
+ hasRightContent: boolean;
38
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
+ type CardPageContentProps = {
40
+ minContentHeight?: number | undefined;
41
+ minContentWidth?: number | undefined;
42
+ maxContentWidth?: number | undefined;
43
+ hasPreHeaderContent: boolean;
44
+ };
45
+ declare const CardPageSubtitle: _emotion_styled.StyledComponent<{
46
+ theme?: _emotion_react.Theme;
47
+ as?: react__default.ElementType<any>;
48
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
49
+ declare const CardPageContent: _emotion_styled.StyledComponent<{
50
+ theme?: _emotion_react.Theme;
51
+ as?: react__default.ElementType<any>;
52
+ } & CardPageContentProps, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
53
+
54
+ export { CardPage, CardPageContent, CardPageFullContent, CardPageFullWidth, CardPageRightContentInner, CardPageSubtitle };
@@ -0,0 +1,33 @@
1
+ import {
2
+ CardPage,
3
+ CardPageContent,
4
+ CardPageFullContent,
5
+ CardPageFullWidth,
6
+ CardPageRightContentInner,
7
+ CardPageSubtitle
8
+ } from "../chunk-PBRN7MJY.js";
9
+ import "../chunk-P3EUPXFA.js";
10
+ import "../chunk-NFSAJ5GJ.js";
11
+ import "../chunk-ZANLDY2W.js";
12
+ import "../chunk-OGSDZTHM.js";
13
+ import "../chunk-YMNSXZ5D.js";
14
+ import "../chunk-J4FJQ3FN.js";
15
+ import "../chunk-3GS5EFXV.js";
16
+ import "../chunk-3EVAP5JT.js";
17
+ import "../chunk-55OQPFLF.js";
18
+ import "../chunk-FCZJILMW.js";
19
+ import "../chunk-RWIZ7Q74.js";
20
+ import "../chunk-LAMQKQU3.js";
21
+ import "../chunk-JK4BP73A.js";
22
+ import "../chunk-2VBDEO6M.js";
23
+ import "../chunk-E4EXM4SY.js";
24
+ import "../chunk-JSGRNWSB.js";
25
+ import "../chunk-CIGAQ47A.js";
26
+ export {
27
+ CardPage,
28
+ CardPageContent,
29
+ CardPageFullContent,
30
+ CardPageFullWidth,
31
+ CardPageRightContentInner,
32
+ CardPageSubtitle
33
+ };
@@ -1287,36 +1287,50 @@ function hexToRGB(hex) {
1287
1287
  // src/styles/common.tsx
1288
1288
  var rootFontSizePx = 12;
1289
1289
  var rootFontSizeRems = rootFontSizePx / 16;
1290
- var standardContentInsetPx = 32;
1291
- var standardContentInsetMdPx = 24;
1292
- var standardContentInsetSmPx = 16;
1290
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1291
+ const smCSS = import_react4.css`
1292
+ ${bp.sm(`
1293
+ margin-left: auto;
1294
+ margin-right: auto;
1295
+ width: calc(100% - ${smPx * 2}px);
1296
+ `)}
1297
+ `;
1298
+ const minSmMaxLgCSS = import_react4.css`
1299
+ ${bp.minSmMaxLg(`
1300
+ margin-left: auto;
1301
+ margin-right: auto;
1302
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1303
+ `)}
1304
+ `;
1305
+ const lgCSS = import_react4.css`
1306
+ ${bp.lg(`
1307
+ margin-left: auto;
1308
+ margin-right: auto;
1309
+ width: calc(100% - ${lgPx * 2}px);
1310
+ max-width: 1280px;
1311
+ `)}
1312
+ `;
1313
+ return {
1314
+ smPx,
1315
+ minSmMaxLgPx,
1316
+ lgPx,
1317
+ smCSS,
1318
+ minSmMaxLgCSS,
1319
+ lgCSS,
1320
+ css: import_react4.css`
1321
+ ${lgCSS}
1322
+ ${smCSS}
1323
+ ${minSmMaxLgCSS}
1324
+ `
1325
+ };
1326
+ }
1327
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1293
1328
  var standardBorderRadius = (radius) => {
1294
1329
  const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
1295
1330
  return `
1296
1331
  border-radius: ${borderRadiusPx};
1297
1332
  `;
1298
1333
  };
1299
- var smContentInset = import_react4.css`
1300
- ${bp.sm(`
1301
- margin-left: auto;
1302
- margin-right: auto;
1303
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1304
- `)}
1305
- `;
1306
- var minSmMaxLgContentInset = import_react4.css`
1307
- ${bp.minSmMaxLg(`
1308
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1309
- `)}
1310
- `;
1311
- var standardContentInset = import_react4.css`
1312
- margin-left: auto;
1313
- margin-right: auto;
1314
- width: calc(100% - ${standardContentInsetPx * 2}px);
1315
- max-width: 1280px;
1316
-
1317
- ${smContentInset}
1318
- ${minSmMaxLgContentInset}
1319
- `;
1320
1334
  var standardCardShadow = import_react4.css`
1321
1335
  box-shadow:
1322
1336
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -3,12 +3,12 @@ import {
3
3
  CollapsingContainer,
4
4
  StyledCollapsible,
5
5
  StyledCollapsibleButton
6
- } from "../chunk-MAMSU2XB.js";
6
+ } from "../chunk-EEFNW7NS.js";
7
7
  import "../chunk-3XSQV5U4.js";
8
- import "../chunk-2YB7653N.js";
9
- import "../chunk-VHW2KROZ.js";
8
+ import "../chunk-FCZJILMW.js";
9
+ import "../chunk-RWIZ7Q74.js";
10
10
  import "../chunk-LAMQKQU3.js";
11
- import "../chunk-HNVQIY5U.js";
11
+ import "../chunk-JK4BP73A.js";
12
12
  import "../chunk-2VBDEO6M.js";
13
13
  import "../chunk-E4EXM4SY.js";
14
14
  import "../chunk-JSGRNWSB.js";
@@ -1288,30 +1288,44 @@ function hexToRGB(hex) {
1288
1288
  // src/styles/common.tsx
1289
1289
  var rootFontSizePx = 12;
1290
1290
  var rootFontSizeRems = rootFontSizePx / 16;
1291
- var standardContentInsetPx = 32;
1292
- var standardContentInsetMdPx = 24;
1293
- var standardContentInsetSmPx = 16;
1294
- var smContentInset = import_react4.css`
1295
- ${bp.sm(`
1296
- margin-left: auto;
1297
- margin-right: auto;
1298
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1299
- `)}
1300
- `;
1301
- var minSmMaxLgContentInset = import_react4.css`
1302
- ${bp.minSmMaxLg(`
1303
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1304
- `)}
1305
- `;
1306
- var standardContentInset = import_react4.css`
1307
- margin-left: auto;
1308
- margin-right: auto;
1309
- width: calc(100% - ${standardContentInsetPx * 2}px);
1310
- max-width: 1280px;
1311
-
1312
- ${smContentInset}
1313
- ${minSmMaxLgContentInset}
1314
- `;
1291
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1292
+ const smCSS = import_react4.css`
1293
+ ${bp.sm(`
1294
+ margin-left: auto;
1295
+ margin-right: auto;
1296
+ width: calc(100% - ${smPx * 2}px);
1297
+ `)}
1298
+ `;
1299
+ const minSmMaxLgCSS = import_react4.css`
1300
+ ${bp.minSmMaxLg(`
1301
+ margin-left: auto;
1302
+ margin-right: auto;
1303
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1304
+ `)}
1305
+ `;
1306
+ const lgCSS = import_react4.css`
1307
+ ${bp.lg(`
1308
+ margin-left: auto;
1309
+ margin-right: auto;
1310
+ width: calc(100% - ${lgPx * 2}px);
1311
+ max-width: 1280px;
1312
+ `)}
1313
+ `;
1314
+ return {
1315
+ smPx,
1316
+ minSmMaxLgPx,
1317
+ lgPx,
1318
+ smCSS,
1319
+ minSmMaxLgCSS,
1320
+ lgCSS,
1321
+ css: import_react4.css`
1322
+ ${lgCSS}
1323
+ ${smCSS}
1324
+ ${minSmMaxLgCSS}
1325
+ `
1326
+ };
1327
+ }
1328
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1315
1329
  var standardCardShadow = import_react4.css`
1316
1330
  box-shadow:
1317
1331
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ContentTable,
3
3
  StyledContentTable
4
- } from "../chunk-744FBGRP.js";
5
- import "../chunk-VHW2KROZ.js";
4
+ } from "../chunk-XP2MX2AA.js";
5
+ import "../chunk-RWIZ7Q74.js";
6
6
  import "../chunk-LAMQKQU3.js";
7
- import "../chunk-HNVQIY5U.js";
7
+ import "../chunk-JK4BP73A.js";
8
8
  import "../chunk-2VBDEO6M.js";
9
9
  import "../chunk-E4EXM4SY.js";
10
10
  import "../chunk-JSGRNWSB.js";
@@ -1293,30 +1293,44 @@ function hexToRGB(hex) {
1293
1293
  // src/styles/common.tsx
1294
1294
  var rootFontSizePx = 12;
1295
1295
  var rootFontSizeRems = rootFontSizePx / 16;
1296
- var standardContentInsetPx = 32;
1297
- var standardContentInsetMdPx = 24;
1298
- var standardContentInsetSmPx = 16;
1299
- var smContentInset = import_react4.css`
1300
- ${bp.sm(`
1301
- margin-left: auto;
1302
- margin-right: auto;
1303
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1304
- `)}
1305
- `;
1306
- var minSmMaxLgContentInset = import_react4.css`
1307
- ${bp.minSmMaxLg(`
1308
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1309
- `)}
1310
- `;
1311
- var standardContentInset = import_react4.css`
1312
- margin-left: auto;
1313
- margin-right: auto;
1314
- width: calc(100% - ${standardContentInsetPx * 2}px);
1315
- max-width: 1280px;
1316
-
1317
- ${smContentInset}
1318
- ${minSmMaxLgContentInset}
1319
- `;
1296
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1297
+ const smCSS = import_react4.css`
1298
+ ${bp.sm(`
1299
+ margin-left: auto;
1300
+ margin-right: auto;
1301
+ width: calc(100% - ${smPx * 2}px);
1302
+ `)}
1303
+ `;
1304
+ const minSmMaxLgCSS = import_react4.css`
1305
+ ${bp.minSmMaxLg(`
1306
+ margin-left: auto;
1307
+ margin-right: auto;
1308
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1309
+ `)}
1310
+ `;
1311
+ const lgCSS = import_react4.css`
1312
+ ${bp.lg(`
1313
+ margin-left: auto;
1314
+ margin-right: auto;
1315
+ width: calc(100% - ${lgPx * 2}px);
1316
+ max-width: 1280px;
1317
+ `)}
1318
+ `;
1319
+ return {
1320
+ smPx,
1321
+ minSmMaxLgPx,
1322
+ lgPx,
1323
+ smCSS,
1324
+ minSmMaxLgCSS,
1325
+ lgCSS,
1326
+ css: import_react4.css`
1327
+ ${lgCSS}
1328
+ ${smCSS}
1329
+ ${minSmMaxLgCSS}
1330
+ `
1331
+ };
1332
+ }
1333
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1320
1334
  var standardCardShadow = import_react4.css`
1321
1335
  box-shadow:
1322
1336
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CopyToClipboardButton
3
- } from "../chunk-UWN53KLJ.js";
4
- import "../chunk-4KWTXZRY.js";
5
- import "../chunk-NRXJA2PM.js";
3
+ } from "../chunk-7C4MHI6Q.js";
4
+ import "../chunk-3GS5EFXV.js";
5
+ import "../chunk-3EVAP5JT.js";
6
6
  import "../chunk-55OQPFLF.js";
7
- import "../chunk-VHW2KROZ.js";
7
+ import "../chunk-RWIZ7Q74.js";
8
8
  import "../chunk-LAMQKQU3.js";
9
- import "../chunk-HNVQIY5U.js";
9
+ import "../chunk-JK4BP73A.js";
10
10
  import "../chunk-2VBDEO6M.js";
11
11
  import "../chunk-E4EXM4SY.js";
12
12
  import "../chunk-JSGRNWSB.js";
@@ -1290,30 +1290,44 @@ function hexToRGB(hex) {
1290
1290
  // src/styles/common.tsx
1291
1291
  var rootFontSizePx = 12;
1292
1292
  var rootFontSizeRems = rootFontSizePx / 16;
1293
- var standardContentInsetPx = 32;
1294
- var standardContentInsetMdPx = 24;
1295
- var standardContentInsetSmPx = 16;
1296
- var smContentInset = import_react4.css`
1297
- ${bp.sm(`
1298
- margin-left: auto;
1299
- margin-right: auto;
1300
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1301
- `)}
1302
- `;
1303
- var minSmMaxLgContentInset = import_react4.css`
1304
- ${bp.minSmMaxLg(`
1305
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1306
- `)}
1307
- `;
1308
- var standardContentInset = import_react4.css`
1309
- margin-left: auto;
1310
- margin-right: auto;
1311
- width: calc(100% - ${standardContentInsetPx * 2}px);
1312
- max-width: 1280px;
1313
-
1314
- ${smContentInset}
1315
- ${minSmMaxLgContentInset}
1316
- `;
1293
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1294
+ const smCSS = import_react4.css`
1295
+ ${bp.sm(`
1296
+ margin-left: auto;
1297
+ margin-right: auto;
1298
+ width: calc(100% - ${smPx * 2}px);
1299
+ `)}
1300
+ `;
1301
+ const minSmMaxLgCSS = import_react4.css`
1302
+ ${bp.minSmMaxLg(`
1303
+ margin-left: auto;
1304
+ margin-right: auto;
1305
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1306
+ `)}
1307
+ `;
1308
+ const lgCSS = import_react4.css`
1309
+ ${bp.lg(`
1310
+ margin-left: auto;
1311
+ margin-right: auto;
1312
+ width: calc(100% - ${lgPx * 2}px);
1313
+ max-width: 1280px;
1314
+ `)}
1315
+ `;
1316
+ return {
1317
+ smPx,
1318
+ minSmMaxLgPx,
1319
+ lgPx,
1320
+ smCSS,
1321
+ minSmMaxLgCSS,
1322
+ lgCSS,
1323
+ css: import_react4.css`
1324
+ ${lgCSS}
1325
+ ${smCSS}
1326
+ ${minSmMaxLgCSS}
1327
+ `
1328
+ };
1329
+ }
1330
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1317
1331
  var standardCardShadow = import_react4.css`
1318
1332
  box-shadow:
1319
1333
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  CurrencyAmount,
3
3
  CurrencyIcon
4
- } from "../chunk-XAZ6NZ6I.js";
5
- import "../chunk-VHW2KROZ.js";
4
+ } from "../chunk-XZR237JJ.js";
5
+ import "../chunk-RWIZ7Q74.js";
6
6
  import "../chunk-LAMQKQU3.js";
7
- import "../chunk-HNVQIY5U.js";
7
+ import "../chunk-JK4BP73A.js";
8
8
  import "../chunk-2VBDEO6M.js";
9
9
  import "../chunk-E4EXM4SY.js";
10
10
  import "../chunk-JSGRNWSB.js";
@@ -1292,36 +1292,50 @@ var import_react4 = require("@emotion/react");
1292
1292
  var import_styled = __toESM(require("@emotion/styled"), 1);
1293
1293
  var rootFontSizePx = 12;
1294
1294
  var rootFontSizeRems = rootFontSizePx / 16;
1295
- var standardContentInsetPx = 32;
1296
- var standardContentInsetMdPx = 24;
1297
- var standardContentInsetSmPx = 16;
1295
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1296
+ const smCSS = import_react4.css`
1297
+ ${bp.sm(`
1298
+ margin-left: auto;
1299
+ margin-right: auto;
1300
+ width: calc(100% - ${smPx * 2}px);
1301
+ `)}
1302
+ `;
1303
+ const minSmMaxLgCSS = import_react4.css`
1304
+ ${bp.minSmMaxLg(`
1305
+ margin-left: auto;
1306
+ margin-right: auto;
1307
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1308
+ `)}
1309
+ `;
1310
+ const lgCSS = import_react4.css`
1311
+ ${bp.lg(`
1312
+ margin-left: auto;
1313
+ margin-right: auto;
1314
+ width: calc(100% - ${lgPx * 2}px);
1315
+ max-width: 1280px;
1316
+ `)}
1317
+ `;
1318
+ return {
1319
+ smPx,
1320
+ minSmMaxLgPx,
1321
+ lgPx,
1322
+ smCSS,
1323
+ minSmMaxLgCSS,
1324
+ lgCSS,
1325
+ css: import_react4.css`
1326
+ ${lgCSS}
1327
+ ${smCSS}
1328
+ ${minSmMaxLgCSS}
1329
+ `
1330
+ };
1331
+ }
1332
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1298
1333
  var standardBorderRadius = (radius) => {
1299
1334
  const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
1300
1335
  return `
1301
1336
  border-radius: ${borderRadiusPx};
1302
1337
  `;
1303
1338
  };
1304
- var smContentInset = import_react4.css`
1305
- ${bp.sm(`
1306
- margin-left: auto;
1307
- margin-right: auto;
1308
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1309
- `)}
1310
- `;
1311
- var minSmMaxLgContentInset = import_react4.css`
1312
- ${bp.minSmMaxLg(`
1313
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1314
- `)}
1315
- `;
1316
- var standardContentInset = import_react4.css`
1317
- margin-left: auto;
1318
- margin-right: auto;
1319
- width: calc(100% - ${standardContentInsetPx * 2}px);
1320
- max-width: 1280px;
1321
-
1322
- ${smContentInset}
1323
- ${minSmMaxLgContentInset}
1324
- `;
1325
1339
  var standardCardShadow = import_react4.css`
1326
1340
  box-shadow:
1327
1341
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  InputSubtext,
3
3
  inputBlockStyle
4
- } from "../chunk-SZVMKB4E.js";
4
+ } from "../chunk-ATUH6SXK.js";
5
5
  import {
6
6
  Pill
7
- } from "../chunk-YPB5SA65.js";
8
- import "../chunk-BAO4T4G5.js";
9
- import "../chunk-2YB7653N.js";
10
- import "../chunk-4KWTXZRY.js";
7
+ } from "../chunk-A4FQBEYU.js";
8
+ import "../chunk-J4FJQ3FN.js";
9
+ import "../chunk-3GS5EFXV.js";
11
10
  import "../chunk-55OQPFLF.js";
11
+ import "../chunk-FCZJILMW.js";
12
12
  import {
13
13
  Icon
14
- } from "../chunk-VHW2KROZ.js";
14
+ } from "../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";