@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
@@ -1323,36 +1323,50 @@ function hexToRGB(hex) {
1323
1323
  // src/styles/common.tsx
1324
1324
  var rootFontSizePx = 12;
1325
1325
  var rootFontSizeRems = rootFontSizePx / 16;
1326
- var standardContentInsetPx = 32;
1327
- var standardContentInsetMdPx = 24;
1328
- var standardContentInsetSmPx = 16;
1326
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1327
+ const smCSS = import_react5.css`
1328
+ ${bp.sm(`
1329
+ margin-left: auto;
1330
+ margin-right: auto;
1331
+ width: calc(100% - ${smPx * 2}px);
1332
+ `)}
1333
+ `;
1334
+ const minSmMaxLgCSS = import_react5.css`
1335
+ ${bp.minSmMaxLg(`
1336
+ margin-left: auto;
1337
+ margin-right: auto;
1338
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1339
+ `)}
1340
+ `;
1341
+ const lgCSS = import_react5.css`
1342
+ ${bp.lg(`
1343
+ margin-left: auto;
1344
+ margin-right: auto;
1345
+ width: calc(100% - ${lgPx * 2}px);
1346
+ max-width: 1280px;
1347
+ `)}
1348
+ `;
1349
+ return {
1350
+ smPx,
1351
+ minSmMaxLgPx,
1352
+ lgPx,
1353
+ smCSS,
1354
+ minSmMaxLgCSS,
1355
+ lgCSS,
1356
+ css: import_react5.css`
1357
+ ${lgCSS}
1358
+ ${smCSS}
1359
+ ${minSmMaxLgCSS}
1360
+ `
1361
+ };
1362
+ }
1363
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1329
1364
  var standardBorderRadius = (radius) => {
1330
1365
  const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
1331
1366
  return `
1332
1367
  border-radius: ${borderRadiusPx};
1333
1368
  `;
1334
1369
  };
1335
- var smContentInset = import_react5.css`
1336
- ${bp.sm(`
1337
- margin-left: auto;
1338
- margin-right: auto;
1339
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1340
- `)}
1341
- `;
1342
- var minSmMaxLgContentInset = import_react5.css`
1343
- ${bp.minSmMaxLg(`
1344
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1345
- `)}
1346
- `;
1347
- var standardContentInset = import_react5.css`
1348
- margin-left: auto;
1349
- margin-right: auto;
1350
- width: calc(100% - ${standardContentInsetPx * 2}px);
1351
- max-width: 1280px;
1352
-
1353
- ${smContentInset}
1354
- ${minSmMaxLgContentInset}
1355
- `;
1356
1370
  var standardCardShadow = import_react5.css`
1357
1371
  box-shadow:
1358
1372
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -2163,7 +2177,7 @@ function Modal({
2163
2177
  submitDisabled,
2164
2178
  submitLoading,
2165
2179
  submitText,
2166
- cancelText,
2180
+ cancelText = "Cancel",
2167
2181
  firstFocusRef,
2168
2182
  nonDismissable = false,
2169
2183
  autoFocus = true,
@@ -2291,16 +2305,16 @@ function Modal({
2291
2305
  title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h4", { children: title }) : null,
2292
2306
  formattedDescription ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Description, { children: formattedDescription }) : null,
2293
2307
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { children }),
2294
- onSubmit ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(ModalButtonRow, { children: [
2308
+ onSubmit || onCancel ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(ModalButtonRow, { children: [
2295
2309
  !isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2296
2310
  Button,
2297
2311
  {
2298
2312
  disabled: cancelDisabled,
2299
2313
  onClick: onClickCancel,
2300
- text: cancelText != null ? cancelText : "Cancel"
2314
+ text: cancelText
2301
2315
  }
2302
2316
  ),
2303
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2317
+ onSubmit && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2304
2318
  Button,
2305
2319
  {
2306
2320
  disabled: submitDisabled,
@@ -2310,7 +2324,7 @@ function Modal({
2310
2324
  type: "submit"
2311
2325
  }
2312
2326
  ),
2313
- isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Button, { onClick: onClose, text: "Cancel" })
2327
+ isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Button, { onClick: onClose, text: cancelText })
2314
2328
  ] }) : null
2315
2329
  ] })
2316
2330
  ] })
@@ -2353,7 +2367,7 @@ var ModalContainer = import_styled7.default.div`
2353
2367
  justify-content: center;
2354
2368
  align-items: center;
2355
2369
  color: ${({ theme }) => theme.text};
2356
- padding-top: ${standardContentInsetSmPx}px;
2370
+ padding-top: ${standardContentInset.smPx}px;
2357
2371
  `;
2358
2372
  var contentTopMarginPx = 24;
2359
2373
  var Description = import_styled7.default.div`
@@ -2366,6 +2380,7 @@ var Description = import_styled7.default.div`
2366
2380
  var ModalButtonRow = import_styled7.default.div`
2367
2381
  margin-top: 32px;
2368
2382
  ${bp.minSm(`display: flex;`)}
2383
+ gap: 10px;
2369
2384
 
2370
2385
  button {
2371
2386
  width: 50%;
@@ -2378,14 +2393,11 @@ var ModalButtonRow = import_styled7.default.div`
2378
2393
  ${bp.sm(`
2379
2394
  margin-top: 16px;
2380
2395
  `)}
2381
- ${bp.minSm(`
2382
- margin-left: 10px;
2383
- `)}
2384
2396
  }
2385
2397
  `;
2386
2398
  var ModalContent = import_styled7.default.div`
2387
2399
  ${overflowAutoWithoutScrollbars}
2388
- ${smContentInset}
2400
+ ${standardContentInset.smCSS}
2389
2401
  ${standardBorderRadius(16)}
2390
2402
  ${(props) => props.ghost ? "" : overlaySurface}
2391
2403
  pointer-events: auto;
@@ -1,21 +1,21 @@
1
1
  "use client";
2
2
  import {
3
3
  Modal
4
- } from "../chunk-DAVVD7YE.js";
4
+ } from "../chunk-NM7UW54G.js";
5
5
  import "../chunk-VE7J2N47.js";
6
6
  import "../chunk-NBCCPGA4.js";
7
- import "../chunk-36C653MV.js";
8
- import "../chunk-76Q4BK35.js";
7
+ import "../chunk-E3AOYBY5.js";
8
+ import "../chunk-ZANLDY2W.js";
9
9
  import "../chunk-OGSDZTHM.js";
10
10
  import "../chunk-YMNSXZ5D.js";
11
- import "../chunk-BAO4T4G5.js";
12
- import "../chunk-2YB7653N.js";
13
- import "../chunk-4KWTXZRY.js";
14
- import "../chunk-NRXJA2PM.js";
11
+ import "../chunk-J4FJQ3FN.js";
12
+ import "../chunk-3GS5EFXV.js";
13
+ import "../chunk-3EVAP5JT.js";
15
14
  import "../chunk-55OQPFLF.js";
16
- import "../chunk-VHW2KROZ.js";
15
+ import "../chunk-FCZJILMW.js";
16
+ import "../chunk-RWIZ7Q74.js";
17
17
  import "../chunk-LAMQKQU3.js";
18
- import "../chunk-HNVQIY5U.js";
18
+ import "../chunk-JK4BP73A.js";
19
19
  import "../chunk-2VBDEO6M.js";
20
20
  import "../chunk-E4EXM4SY.js";
21
21
  import "../chunk-JSGRNWSB.js";
@@ -1285,30 +1285,44 @@ var import_react4 = require("@emotion/react");
1285
1285
  var import_styled = __toESM(require("@emotion/styled"), 1);
1286
1286
  var rootFontSizePx = 12;
1287
1287
  var rootFontSizeRems = rootFontSizePx / 16;
1288
- var standardContentInsetPx = 32;
1289
- var standardContentInsetMdPx = 24;
1290
- var standardContentInsetSmPx = 16;
1291
- var smContentInset = import_react4.css`
1292
- ${bp.sm(`
1293
- margin-left: auto;
1294
- margin-right: auto;
1295
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1296
- `)}
1297
- `;
1298
- var minSmMaxLgContentInset = import_react4.css`
1299
- ${bp.minSmMaxLg(`
1300
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1301
- `)}
1302
- `;
1303
- var standardContentInset = import_react4.css`
1304
- margin-left: auto;
1305
- margin-right: auto;
1306
- width: calc(100% - ${standardContentInsetPx * 2}px);
1307
- max-width: 1280px;
1308
-
1309
- ${smContentInset}
1310
- ${minSmMaxLgContentInset}
1311
- `;
1288
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1289
+ const smCSS = import_react4.css`
1290
+ ${bp.sm(`
1291
+ margin-left: auto;
1292
+ margin-right: auto;
1293
+ width: calc(100% - ${smPx * 2}px);
1294
+ `)}
1295
+ `;
1296
+ const minSmMaxLgCSS = import_react4.css`
1297
+ ${bp.minSmMaxLg(`
1298
+ margin-left: auto;
1299
+ margin-right: auto;
1300
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1301
+ `)}
1302
+ `;
1303
+ const lgCSS = import_react4.css`
1304
+ ${bp.lg(`
1305
+ margin-left: auto;
1306
+ margin-right: auto;
1307
+ width: calc(100% - ${lgPx * 2}px);
1308
+ max-width: 1280px;
1309
+ `)}
1310
+ `;
1311
+ return {
1312
+ smPx,
1313
+ minSmMaxLgPx,
1314
+ lgPx,
1315
+ smCSS,
1316
+ minSmMaxLgCSS,
1317
+ lgCSS,
1318
+ css: import_react4.css`
1319
+ ${lgCSS}
1320
+ ${smCSS}
1321
+ ${minSmMaxLgCSS}
1322
+ `
1323
+ };
1324
+ }
1325
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1312
1326
  var standardCardShadow = import_react4.css`
1313
1327
  box-shadow:
1314
1328
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Pill
3
- } from "../chunk-YPB5SA65.js";
4
- import "../chunk-BAO4T4G5.js";
5
- import "../chunk-2YB7653N.js";
6
- import "../chunk-4KWTXZRY.js";
7
- import "../chunk-VHW2KROZ.js";
3
+ } from "../chunk-A4FQBEYU.js";
4
+ import "../chunk-J4FJQ3FN.js";
5
+ import "../chunk-3GS5EFXV.js";
6
+ import "../chunk-FCZJILMW.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";
@@ -1266,36 +1266,50 @@ var import_react4 = require("@emotion/react");
1266
1266
  var import_styled = __toESM(require("@emotion/styled"), 1);
1267
1267
  var rootFontSizePx = 12;
1268
1268
  var rootFontSizeRems = rootFontSizePx / 16;
1269
- var standardContentInsetPx = 32;
1270
- var standardContentInsetMdPx = 24;
1271
- var standardContentInsetSmPx = 16;
1269
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1270
+ const smCSS = import_react4.css`
1271
+ ${bp.sm(`
1272
+ margin-left: auto;
1273
+ margin-right: auto;
1274
+ width: calc(100% - ${smPx * 2}px);
1275
+ `)}
1276
+ `;
1277
+ const minSmMaxLgCSS = import_react4.css`
1278
+ ${bp.minSmMaxLg(`
1279
+ margin-left: auto;
1280
+ margin-right: auto;
1281
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1282
+ `)}
1283
+ `;
1284
+ const lgCSS = import_react4.css`
1285
+ ${bp.lg(`
1286
+ margin-left: auto;
1287
+ margin-right: auto;
1288
+ width: calc(100% - ${lgPx * 2}px);
1289
+ max-width: 1280px;
1290
+ `)}
1291
+ `;
1292
+ return {
1293
+ smPx,
1294
+ minSmMaxLgPx,
1295
+ lgPx,
1296
+ smCSS,
1297
+ minSmMaxLgCSS,
1298
+ lgCSS,
1299
+ css: import_react4.css`
1300
+ ${lgCSS}
1301
+ ${smCSS}
1302
+ ${minSmMaxLgCSS}
1303
+ `
1304
+ };
1305
+ }
1306
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1272
1307
  var standardBorderRadius = (radius) => {
1273
1308
  const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
1274
1309
  return `
1275
1310
  border-radius: ${borderRadiusPx};
1276
1311
  `;
1277
1312
  };
1278
- var smContentInset = import_react4.css`
1279
- ${bp.sm(`
1280
- margin-left: auto;
1281
- margin-right: auto;
1282
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1283
- `)}
1284
- `;
1285
- var minSmMaxLgContentInset = import_react4.css`
1286
- ${bp.minSmMaxLg(`
1287
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1288
- `)}
1289
- `;
1290
- var standardContentInset = import_react4.css`
1291
- margin-left: auto;
1292
- margin-right: auto;
1293
- width: calc(100% - ${standardContentInsetPx * 2}px);
1294
- max-width: 1280px;
1295
-
1296
- ${smContentInset}
1297
- ${minSmMaxLgContentInset}
1298
- `;
1299
1313
  var standardCardShadow = import_react4.css`
1300
1314
  box-shadow:
1301
1315
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ProgressBar
3
- } from "../chunk-36C653MV.js";
4
- import "../chunk-HNVQIY5U.js";
3
+ } from "../chunk-E3AOYBY5.js";
4
+ import "../chunk-JK4BP73A.js";
5
5
  import "../chunk-2VBDEO6M.js";
6
6
  import "../chunk-E4EXM4SY.js";
7
7
  import "../chunk-JSGRNWSB.js";
@@ -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),
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  SecretContainer
3
- } from "../chunk-6FHLZM6N.js";
4
- import "../chunk-UWN53KLJ.js";
5
- import "../chunk-4KWTXZRY.js";
6
- import "../chunk-NRXJA2PM.js";
3
+ } from "../chunk-7T36JGTC.js";
4
+ import "../chunk-7C4MHI6Q.js";
5
+ import "../chunk-3GS5EFXV.js";
6
+ import "../chunk-3EVAP5JT.js";
7
7
  import "../chunk-55OQPFLF.js";
8
- import "../chunk-VHW2KROZ.js";
8
+ import "../chunk-RWIZ7Q74.js";
9
9
  import "../chunk-LAMQKQU3.js";
10
- import "../chunk-HNVQIY5U.js";
10
+ import "../chunk-JK4BP73A.js";
11
11
  import "../chunk-2VBDEO6M.js";
12
12
  import "../chunk-E4EXM4SY.js";
13
13
  import "../chunk-JSGRNWSB.js";
@@ -1286,30 +1286,44 @@ function hexToRGB(hex) {
1286
1286
  // src/styles/common.tsx
1287
1287
  var rootFontSizePx = 12;
1288
1288
  var rootFontSizeRems = rootFontSizePx / 16;
1289
- var standardContentInsetPx = 32;
1290
- var standardContentInsetMdPx = 24;
1291
- var standardContentInsetSmPx = 16;
1292
- var smContentInset = import_react4.css`
1293
- ${bp.sm(`
1294
- margin-left: auto;
1295
- margin-right: auto;
1296
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1297
- `)}
1298
- `;
1299
- var minSmMaxLgContentInset = import_react4.css`
1300
- ${bp.minSmMaxLg(`
1301
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1302
- `)}
1303
- `;
1304
- var standardContentInset = import_react4.css`
1305
- margin-left: auto;
1306
- margin-right: auto;
1307
- width: calc(100% - ${standardContentInsetPx * 2}px);
1308
- max-width: 1280px;
1309
-
1310
- ${smContentInset}
1311
- ${minSmMaxLgContentInset}
1312
- `;
1289
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1290
+ const smCSS = import_react4.css`
1291
+ ${bp.sm(`
1292
+ margin-left: auto;
1293
+ margin-right: auto;
1294
+ width: calc(100% - ${smPx * 2}px);
1295
+ `)}
1296
+ `;
1297
+ const minSmMaxLgCSS = import_react4.css`
1298
+ ${bp.minSmMaxLg(`
1299
+ margin-left: auto;
1300
+ margin-right: auto;
1301
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1302
+ `)}
1303
+ `;
1304
+ const lgCSS = import_react4.css`
1305
+ ${bp.lg(`
1306
+ margin-left: auto;
1307
+ margin-right: auto;
1308
+ width: calc(100% - ${lgPx * 2}px);
1309
+ max-width: 1280px;
1310
+ `)}
1311
+ `;
1312
+ return {
1313
+ smPx,
1314
+ minSmMaxLgPx,
1315
+ lgPx,
1316
+ smCSS,
1317
+ minSmMaxLgCSS,
1318
+ lgCSS,
1319
+ css: import_react4.css`
1320
+ ${lgCSS}
1321
+ ${smCSS}
1322
+ ${minSmMaxLgCSS}
1323
+ `
1324
+ };
1325
+ }
1326
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1313
1327
  var standardCardShadow = import_react4.css`
1314
1328
  box-shadow:
1315
1329
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  TextIconAligner
3
- } from "../chunk-WTO7C7WA.js";
4
- import "../chunk-VHW2KROZ.js";
3
+ } from "../chunk-5POPBNPS.js";
4
+ import "../chunk-RWIZ7Q74.js";
5
5
  import "../chunk-LAMQKQU3.js";
6
- import "../chunk-HNVQIY5U.js";
6
+ import "../chunk-JK4BP73A.js";
7
7
  import "../chunk-2VBDEO6M.js";
8
8
  import "../chunk-E4EXM4SY.js";
9
9
  import "../chunk-JSGRNWSB.js";
@@ -1263,30 +1263,44 @@ function hexToRGB(hex) {
1263
1263
  // src/styles/common.tsx
1264
1264
  var rootFontSizePx = 12;
1265
1265
  var rootFontSizeRems = rootFontSizePx / 16;
1266
- var standardContentInsetPx = 32;
1267
- var standardContentInsetMdPx = 24;
1268
- var standardContentInsetSmPx = 16;
1269
- var smContentInset = import_react4.css`
1270
- ${bp.sm(`
1271
- margin-left: auto;
1272
- margin-right: auto;
1273
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1274
- `)}
1275
- `;
1276
- var minSmMaxLgContentInset = import_react4.css`
1277
- ${bp.minSmMaxLg(`
1278
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1279
- `)}
1280
- `;
1281
- var standardContentInset = import_react4.css`
1282
- margin-left: auto;
1283
- margin-right: auto;
1284
- width: calc(100% - ${standardContentInsetPx * 2}px);
1285
- max-width: 1280px;
1286
-
1287
- ${smContentInset}
1288
- ${minSmMaxLgContentInset}
1289
- `;
1266
+ function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
1267
+ const smCSS = import_react4.css`
1268
+ ${bp.sm(`
1269
+ margin-left: auto;
1270
+ margin-right: auto;
1271
+ width: calc(100% - ${smPx * 2}px);
1272
+ `)}
1273
+ `;
1274
+ const minSmMaxLgCSS = import_react4.css`
1275
+ ${bp.minSmMaxLg(`
1276
+ margin-left: auto;
1277
+ margin-right: auto;
1278
+ width: calc(100% - ${minSmMaxLgPx * 2}px);
1279
+ `)}
1280
+ `;
1281
+ const lgCSS = import_react4.css`
1282
+ ${bp.lg(`
1283
+ margin-left: auto;
1284
+ margin-right: auto;
1285
+ width: calc(100% - ${lgPx * 2}px);
1286
+ max-width: 1280px;
1287
+ `)}
1288
+ `;
1289
+ return {
1290
+ smPx,
1291
+ minSmMaxLgPx,
1292
+ lgPx,
1293
+ smCSS,
1294
+ minSmMaxLgCSS,
1295
+ lgCSS,
1296
+ css: import_react4.css`
1297
+ ${lgCSS}
1298
+ ${smCSS}
1299
+ ${minSmMaxLgCSS}
1300
+ `
1301
+ };
1302
+ }
1303
+ var standardContentInset = buildStandardContentInset(16, 24, 32);
1290
1304
  var standardCardShadow = import_react4.css`
1291
1305
  box-shadow:
1292
1306
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  UnstyledButton
3
- } from "../chunk-4KWTXZRY.js";
4
- import "../chunk-HNVQIY5U.js";
3
+ } from "../chunk-3GS5EFXV.js";
4
+ import "../chunk-JK4BP73A.js";
5
5
  import "../chunk-2VBDEO6M.js";
6
6
  import "../chunk-E4EXM4SY.js";
7
7
  import "../chunk-JSGRNWSB.js";