@lightsparkdev/ui 0.0.7 → 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 (142) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/chunk-3EVAP5JT.js +67 -0
  3. package/dist/{chunk-IQFU7CM5.js → chunk-3GS5EFXV.js} +1 -1
  4. package/dist/{chunk-CLU2FRJZ.js → chunk-55OQPFLF.js} +1 -1
  5. package/dist/{chunk-N2RDQJQ5.js → chunk-5POPBNPS.js} +1 -1
  6. package/dist/{chunk-WWFDI534.js → chunk-7C4MHI6Q.js} +13 -6
  7. package/dist/{chunk-3CZOYF3X.js → chunk-7T36JGTC.js} +2 -2
  8. package/dist/chunk-A4FQBEYU.js +163 -0
  9. package/dist/chunk-ATUH6SXK.js +233 -0
  10. package/dist/chunk-DQRN4E5G.js +25 -0
  11. package/dist/{chunk-RTUZVKPK.js → chunk-E3AOYBY5.js} +1 -1
  12. package/dist/{chunk-I74XQIVV.js → chunk-EEFNW7NS.js} +3 -3
  13. package/dist/{chunk-UO6U7AYM.js → chunk-FCZJILMW.js} +1 -1
  14. package/dist/{chunk-2WYVO6B2.js → chunk-H3RW6JSU.js} +1 -1
  15. package/dist/chunk-IPAXAP6K.js +119 -0
  16. package/dist/{chunk-NGS4OSWT.js → chunk-J4FJQ3FN.js} +1 -1
  17. package/dist/{chunk-RFGKH3R6.js → chunk-JK4BP73A.js} +39 -38
  18. package/dist/{chunk-T33SBHYI.js → chunk-KMR5C25B.js} +3 -1
  19. package/dist/{chunk-JYWYEOM6.js → chunk-NFSAJ5GJ.js} +23 -10
  20. package/dist/{chunk-G2PZZFJL.js → chunk-NM7UW54G.js} +21 -24
  21. package/dist/{chunk-M56R3RJ7.js → chunk-OGSDZTHM.js} +7 -3
  22. package/dist/chunk-P3EUPXFA.js +150 -0
  23. package/dist/chunk-PBRN7MJY.js +315 -0
  24. package/dist/{chunk-NH25O7PC.js → chunk-PVQCLQNA.js} +1 -1
  25. package/dist/{chunk-NZJCJJH5.js → chunk-RWIZ7Q74.js} +1 -1
  26. package/dist/{chunk-TAI352I3.js → chunk-VE7J2N47.js} +1 -1
  27. package/dist/{chunk-K7D7A34K.js → chunk-XP2MX2AA.js} +1 -1
  28. package/dist/{chunk-23SR7TFO.js → chunk-XZR237JJ.js} +1 -1
  29. package/dist/{chunk-VBWTKANQ.js → chunk-Y37DCY7Y.js} +3 -3
  30. package/dist/{chunk-SVQELXFK.js → chunk-Z5TPS2BO.js} +1 -1
  31. package/dist/{chunk-FKETYVPP.js → chunk-ZANLDY2W.js} +87 -43
  32. package/dist/components/Badge.cjs +1346 -0
  33. package/dist/components/Badge.d.cts +10 -0
  34. package/dist/components/Badge.d.ts +10 -0
  35. package/dist/components/Badge.js +13 -0
  36. package/dist/components/Button.cjs +235 -107
  37. package/dist/components/Button.d.cts +3 -1
  38. package/dist/components/Button.d.ts +3 -1
  39. package/dist/components/Button.js +8 -7
  40. package/dist/components/ButtonRow.cjs +254 -110
  41. package/dist/components/ButtonRow.d.cts +6 -2
  42. package/dist/components/ButtonRow.d.ts +6 -2
  43. package/dist/components/ButtonRow.js +14 -11
  44. package/dist/components/CardPage.cjs +1921 -0
  45. package/dist/components/CardPage.d.cts +54 -0
  46. package/dist/components/CardPage.d.ts +54 -0
  47. package/dist/components/CardPage.js +33 -0
  48. package/dist/components/Collapsible.cjs +38 -54
  49. package/dist/components/Collapsible.js +4 -5
  50. package/dist/components/ContentTable.cjs +38 -54
  51. package/dist/components/ContentTable.js +3 -4
  52. package/dist/components/CopyToClipboardButton.cjs +161 -65
  53. package/dist/components/CopyToClipboardButton.js +6 -5
  54. package/dist/components/CurrencyAmount.cjs +38 -54
  55. package/dist/components/CurrencyAmount.js +3 -4
  56. package/dist/components/FileInput.cjs +1959 -0
  57. package/dist/components/FileInput.d.cts +21 -0
  58. package/dist/components/FileInput.d.ts +21 -0
  59. package/dist/components/FileInput.js +113 -0
  60. package/dist/components/GradientCardHeader.cjs +177 -0
  61. package/dist/components/GradientCardHeader.d.cts +10 -0
  62. package/dist/components/GradientCardHeader.d.ts +10 -0
  63. package/dist/components/GradientCardHeader.js +8 -0
  64. package/dist/components/Icon.cjs +38 -54
  65. package/dist/components/Icon.js +2 -3
  66. package/dist/components/LightTooltip.cjs +1428 -0
  67. package/dist/components/LightTooltip.d.cts +9 -0
  68. package/dist/components/LightTooltip.d.ts +9 -0
  69. package/dist/components/LightTooltip.js +12 -0
  70. package/dist/components/LightboxImage.cjs +1 -1
  71. package/dist/components/LightboxImage.js +2 -2
  72. package/dist/components/LightsparkProvider.cjs +41 -57
  73. package/dist/components/LightsparkProvider.js +3 -4
  74. package/dist/components/Loading.cjs +38 -54
  75. package/dist/components/Loading.js +3 -4
  76. package/dist/components/Modal.cjs +251 -145
  77. package/dist/components/Modal.js +12 -11
  78. package/dist/components/Pill.cjs +1717 -0
  79. package/dist/components/Pill.d.cts +19 -0
  80. package/dist/components/Pill.d.ts +19 -0
  81. package/dist/components/Pill.js +16 -0
  82. package/dist/components/ProgressBar.cjs +38 -56
  83. package/dist/components/ProgressBar.js +2 -3
  84. package/dist/components/SecretContainer.cjs +162 -66
  85. package/dist/components/SecretContainer.js +7 -6
  86. package/dist/components/TextIconAligner.cjs +38 -54
  87. package/dist/components/TextIconAligner.js +3 -4
  88. package/dist/components/UnstyledButton.cjs +38 -54
  89. package/dist/components/UnstyledButton.js +2 -3
  90. package/dist/components/documentation/AnchorLinkHeader.cjs +38 -56
  91. package/dist/components/documentation/AnchorLinkHeader.js +3 -4
  92. package/dist/components/documentation/index.cjs +38 -56
  93. package/dist/components/documentation/index.js +3 -4
  94. package/dist/components/index.cjs +1191 -358
  95. package/dist/components/index.d.cts +7 -1
  96. package/dist/components/index.d.ts +7 -1
  97. package/dist/components/index.js +63 -32
  98. package/dist/icons/ArrowCornerDownRight.cjs +49 -0
  99. package/dist/icons/ArrowCornerDownRight.d.cts +5 -0
  100. package/dist/icons/ArrowCornerDownRight.d.ts +5 -0
  101. package/dist/icons/ArrowCornerDownRight.js +30 -0
  102. package/dist/icons/Copy.cjs +4 -3
  103. package/dist/icons/Copy.js +4 -3
  104. package/dist/icons/Download.cjs +22 -11
  105. package/dist/icons/Download.js +23 -12
  106. package/dist/icons/Sort.cjs +48 -0
  107. package/dist/icons/Sort.d.cts +5 -0
  108. package/dist/icons/Sort.d.ts +5 -0
  109. package/dist/icons/Sort.js +29 -0
  110. package/dist/icons/Upload.cjs +22 -11
  111. package/dist/icons/Upload.js +23 -12
  112. package/dist/icons/index.cjs +38 -54
  113. package/dist/icons/index.js +2 -3
  114. package/dist/router.cjs +7 -3
  115. package/dist/router.js +1 -1
  116. package/dist/styles/common.cjs +38 -66
  117. package/dist/styles/common.d.cts +10 -11
  118. package/dist/styles/common.d.ts +10 -11
  119. package/dist/styles/common.js +1 -14
  120. package/dist/styles/fields.cjs +117 -61
  121. package/dist/styles/fields.d.cts +12 -5
  122. package/dist/styles/fields.d.ts +12 -5
  123. package/dist/styles/fields.js +28 -164
  124. package/dist/styles/fonts/typography/Article.cjs +38 -54
  125. package/dist/styles/fonts/typography/Article.js +5 -6
  126. package/dist/styles/fonts/typography/index.cjs +38 -54
  127. package/dist/styles/fonts/typography/index.js +5 -6
  128. package/dist/styles/global.cjs +41 -57
  129. package/dist/styles/global.js +2 -3
  130. package/dist/styles/type.cjs +38 -54
  131. package/dist/styles/type.js +8 -145
  132. package/dist/styles/utils.cjs +38 -54
  133. package/dist/styles/utils.js +2 -3
  134. package/dist/styles/z-index.cjs +1 -1
  135. package/dist/styles/z-index.d.cts +1 -1
  136. package/dist/styles/z-index.d.ts +1 -1
  137. package/dist/styles/z-index.js +1 -1
  138. package/dist/types/index.d.cts +2 -0
  139. package/dist/types/index.d.ts +2 -0
  140. package/dist/utils/toReactNodes.cjs +7 -3
  141. package/dist/utils/toReactNodes.js +2 -2
  142. package/package.json +10 -6
@@ -79,7 +79,6 @@ var import_react5 = require("react");
79
79
  // src/styles/common.tsx
80
80
  var import_react4 = require("@emotion/react");
81
81
  var import_styled = __toESM(require("@emotion/styled"), 1);
82
- var import_react_tooltip = require("react-tooltip");
83
82
 
84
83
  // src/styles/breakpoints.tsx
85
84
  var import_react = require("@emotion/react");
@@ -1285,59 +1284,47 @@ function hexToRGB(hex) {
1285
1284
  ] : [0, 0, 0];
1286
1285
  }
1287
1286
 
1288
- // src/styles/z-index.tsx
1289
- var z = {
1290
- card: 1,
1291
- fieldError: 1,
1292
- textInput: 2,
1293
- select: 3,
1294
- selectFocused: 4,
1295
- walletActionPreviewTopGradient: 1,
1296
- headerContainer: 99,
1297
- smBanner: 99,
1298
- headerTop: 100,
1299
- navMenu: 100,
1300
- smNavMenu: 100,
1301
- navAction: 101,
1302
- smNavAction: 100,
1303
- // keep under navDropdown
1304
- tooltip: 160,
1305
- notificationBanner: 170,
1306
- qrReaderVideo: 180,
1307
- qrReaderOverlay: 181,
1308
- modalOverlay: 190,
1309
- modalContainer: 191,
1310
- dropdown: 192,
1311
- toast: 200
1312
- };
1313
-
1314
1287
  // src/styles/common.tsx
1315
1288
  var rootFontSizePx = 12;
1316
1289
  var rootFontSizeRems = rootFontSizePx / 16;
1317
- var standardContentInsetPx = 32;
1318
- var standardContentInsetMdPx = 24;
1319
- var standardContentInsetSmPx = 16;
1320
- var smContentInset = import_react4.css`
1321
- ${bp.sm(`
1322
- margin-left: auto;
1323
- margin-right: auto;
1324
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1325
- `)}
1326
- `;
1327
- var minSmMaxLgContentInset = import_react4.css`
1328
- ${bp.minSmMaxLg(`
1329
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1330
- `)}
1331
- `;
1332
- var standardContentInset = import_react4.css`
1333
- margin-left: auto;
1334
- margin-right: auto;
1335
- width: calc(100% - ${standardContentInsetPx * 2}px);
1336
- max-width: 1280px;
1337
-
1338
- ${smContentInset}
1339
- ${minSmMaxLgContentInset}
1340
- `;
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);
1341
1328
  var standardCardShadow = import_react4.css`
1342
1329
  box-shadow:
1343
1330
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1357,9 +1344,6 @@ var Subtext = import_styled.default.div`
1357
1344
  var darkGradientBg = import_react4.css`
1358
1345
  background: ${darkGradient};
1359
1346
  `;
1360
- var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
1361
- z-index: ${z.modalOverlay};
1362
- `;
1363
1347
 
1364
1348
  // src/utils/strings.tsx
1365
1349
  function isString(str) {
@@ -1,13 +1,12 @@
1
1
  import {
2
2
  Icon,
3
3
  IconContainer
4
- } from "../chunk-NZJCJJH5.js";
4
+ } from "../chunk-RWIZ7Q74.js";
5
5
  import "../chunk-LAMQKQU3.js";
6
- import "../chunk-RFGKH3R6.js";
6
+ import "../chunk-JK4BP73A.js";
7
7
  import "../chunk-2VBDEO6M.js";
8
8
  import "../chunk-E4EXM4SY.js";
9
9
  import "../chunk-JSGRNWSB.js";
10
- import "../chunk-CLU2FRJZ.js";
11
10
  import "../chunk-CIGAQ47A.js";
12
11
  export {
13
12
  Icon,
package/dist/router.cjs CHANGED
@@ -1200,19 +1200,23 @@ function Link({
1200
1200
  blue = false,
1201
1201
  newTab = false
1202
1202
  }) {
1203
- if (!isString(to) && !externalLink) {
1204
- throw new Error("Link must have either `to` or `externalLink` defined");
1203
+ if (!isString(to) && !externalLink && !onClick) {
1204
+ throw new Error(
1205
+ "Link must have either `to` or `externalLink` or `onClick` defined"
1206
+ );
1205
1207
  }
1206
1208
  let toStr;
1207
1209
  if (isString(to)) {
1208
1210
  toStr = replaceParams(to, params);
1209
1211
  toStr += hash ? `#${hash}` : "";
1210
- } else {
1212
+ } else if (externalLink) {
1211
1213
  const definedExternalLink = externalLink;
1212
1214
  if (!definedExternalLink.startsWith("http")) {
1213
1215
  throw new Error("Link's externalLink must start with http");
1214
1216
  }
1215
1217
  toStr = definedExternalLink;
1218
+ } else {
1219
+ toStr = "#";
1216
1220
  }
1217
1221
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1218
1222
  import_react_router_dom.Link,
package/dist/router.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  useMatchRoute,
9
9
  useMatchRoutes,
10
10
  useNavigate
11
- } from "./chunk-M56R3RJ7.js";
11
+ } from "./chunk-OGSDZTHM.js";
12
12
  import "./chunk-LAMQKQU3.js";
13
13
  import "./chunk-2VBDEO6M.js";
14
14
  import "./chunk-E4EXM4SY.js";
@@ -47,7 +47,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
47
47
  // src/styles/common.tsx
48
48
  var common_exports = {};
49
49
  __export(common_exports, {
50
- StyledTooltip: () => StyledTooltip,
51
50
  Subtext: () => Subtext,
52
51
  cardBorderRadiusPx: () => cardBorderRadiusPx,
53
52
  darkGradientBg: () => darkGradientBg,
@@ -56,7 +55,6 @@ __export(common_exports, {
56
55
  headingContentMarginPx: () => headingContentMarginPx,
57
56
  mcBold: () => mcBold,
58
57
  mcBoldStyled: () => mcBoldStyled,
59
- minSmMaxLgContentInset: () => minSmMaxLgContentInset,
60
58
  outlineOffset: () => outlineOffset,
61
59
  overlaySurface: () => overlaySurface,
62
60
  overlaySurfaceBorderColor: () => overlaySurfaceBorderColor,
@@ -64,13 +62,9 @@ __export(common_exports, {
64
62
  pageBorderRadiusPx: () => pageBorderRadiusPx,
65
63
  rootFontSizePx: () => rootFontSizePx,
66
64
  rootFontSizeRems: () => rootFontSizeRems,
67
- smContentInset: () => smContentInset,
68
65
  standardBorderRadius: () => standardBorderRadius,
69
66
  standardCardShadow: () => standardCardShadow,
70
67
  standardContentInset: () => standardContentInset,
71
- standardContentInsetMdPx: () => standardContentInsetMdPx,
72
- standardContentInsetPx: () => standardContentInsetPx,
73
- standardContentInsetSmPx: () => standardContentInsetSmPx,
74
68
  standardFocusOutline: () => standardFocusOutline,
75
69
  standardLineHeightEms: () => standardLineHeightEms,
76
70
  subtext: () => subtext
@@ -78,7 +72,6 @@ __export(common_exports, {
78
72
  module.exports = __toCommonJS(common_exports);
79
73
  var import_react4 = require("@emotion/react");
80
74
  var import_styled = __toESM(require("@emotion/styled"), 1);
81
- var import_react_tooltip = require("react-tooltip");
82
75
 
83
76
  // src/styles/breakpoints.tsx
84
77
  var import_react = require("@emotion/react");
@@ -1288,40 +1281,49 @@ function hexToRGB(hex) {
1288
1281
  ] : [0, 0, 0];
1289
1282
  }
1290
1283
 
1291
- // src/styles/z-index.tsx
1292
- var z = {
1293
- card: 1,
1294
- fieldError: 1,
1295
- textInput: 2,
1296
- select: 3,
1297
- selectFocused: 4,
1298
- walletActionPreviewTopGradient: 1,
1299
- headerContainer: 99,
1300
- smBanner: 99,
1301
- headerTop: 100,
1302
- navMenu: 100,
1303
- smNavMenu: 100,
1304
- navAction: 101,
1305
- smNavAction: 100,
1306
- // keep under navDropdown
1307
- tooltip: 160,
1308
- notificationBanner: 170,
1309
- qrReaderVideo: 180,
1310
- qrReaderOverlay: 181,
1311
- modalOverlay: 190,
1312
- modalContainer: 191,
1313
- dropdown: 192,
1314
- toast: 200
1315
- };
1316
-
1317
1284
  // src/styles/common.tsx
1318
1285
  var rootFontSizePx = 12;
1319
1286
  var rootFontSizeRems = rootFontSizePx / 16;
1320
1287
  var standardLineHeightEms = 1.21;
1321
1288
  var headingContentMarginPx = 30;
1322
- var standardContentInsetPx = 32;
1323
- var standardContentInsetMdPx = 24;
1324
- var standardContentInsetSmPx = 16;
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);
1325
1327
  var cardBorderRadiusPx = 16;
1326
1328
  var standardBorderRadius = (radius) => {
1327
1329
  const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
@@ -1329,27 +1331,6 @@ var standardBorderRadius = (radius) => {
1329
1331
  border-radius: ${borderRadiusPx};
1330
1332
  `;
1331
1333
  };
1332
- var smContentInset = import_react4.css`
1333
- ${bp.sm(`
1334
- margin-left: auto;
1335
- margin-right: auto;
1336
- width: calc(100% - ${standardContentInsetSmPx * 2}px);
1337
- `)}
1338
- `;
1339
- var minSmMaxLgContentInset = import_react4.css`
1340
- ${bp.minSmMaxLg(`
1341
- width: calc(100% - ${standardContentInsetMdPx * 2}px);
1342
- `)}
1343
- `;
1344
- var standardContentInset = import_react4.css`
1345
- margin-left: auto;
1346
- margin-right: auto;
1347
- width: calc(100% - ${standardContentInsetPx * 2}px);
1348
- max-width: 1280px;
1349
-
1350
- ${smContentInset}
1351
- ${minSmMaxLgContentInset}
1352
- `;
1353
1334
  var standardCardShadow = import_react4.css`
1354
1335
  box-shadow:
1355
1336
  0px 4px 10px 0px rgba(0, 0, 0, 0.08),
@@ -1392,9 +1373,6 @@ var Subtext = import_styled.default.div`
1392
1373
  var darkGradientBg = import_react4.css`
1393
1374
  background: ${darkGradient};
1394
1375
  `;
1395
- var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
1396
- z-index: ${z.modalOverlay};
1397
- `;
1398
1376
  var overlaySurfaceBorderColor = ({
1399
1377
  theme,
1400
1378
  important = false
@@ -1422,7 +1400,6 @@ var mcBold = (theme) => import_react4.css`
1422
1400
  var mcBoldStyled = ({ theme }) => mcBold(theme);
1423
1401
  // Annotate the CommonJS export names for ESM import in node:
1424
1402
  0 && (module.exports = {
1425
- StyledTooltip,
1426
1403
  Subtext,
1427
1404
  cardBorderRadiusPx,
1428
1405
  darkGradientBg,
@@ -1431,7 +1408,6 @@ var mcBoldStyled = ({ theme }) => mcBold(theme);
1431
1408
  headingContentMarginPx,
1432
1409
  mcBold,
1433
1410
  mcBoldStyled,
1434
- minSmMaxLgContentInset,
1435
1411
  outlineOffset,
1436
1412
  overlaySurface,
1437
1413
  overlaySurfaceBorderColor,
@@ -1439,13 +1415,9 @@ var mcBoldStyled = ({ theme }) => mcBold(theme);
1439
1415
  pageBorderRadiusPx,
1440
1416
  rootFontSizePx,
1441
1417
  rootFontSizeRems,
1442
- smContentInset,
1443
1418
  standardBorderRadius,
1444
1419
  standardCardShadow,
1445
1420
  standardContentInset,
1446
- standardContentInsetMdPx,
1447
- standardContentInsetPx,
1448
- standardContentInsetSmPx,
1449
1421
  standardFocusOutline,
1450
1422
  standardLineHeightEms,
1451
1423
  subtext
@@ -1,4 +1,3 @@
1
- import * as react_tooltip from 'react-tooltip';
2
1
  import * as _emotion_styled from '@emotion/styled';
3
2
  import * as react from 'react';
4
3
  import * as _emotion_react from '@emotion/react';
@@ -11,17 +10,20 @@ declare const rootFontSizePx = 12;
11
10
  declare const rootFontSizeRems: number;
12
11
  declare const standardLineHeightEms = 1.21;
13
12
  declare const headingContentMarginPx = 30;
14
- declare const standardContentInsetPx = 32;
15
- declare const standardContentInsetMdPx = 24;
16
- declare const standardContentInsetSmPx = 16;
13
+ declare const standardContentInset: {
14
+ smPx: number;
15
+ minSmMaxLgPx: number;
16
+ lgPx: number;
17
+ smCSS: _emotion_react.SerializedStyles;
18
+ minSmMaxLgCSS: _emotion_react.SerializedStyles;
19
+ lgCSS: _emotion_react.SerializedStyles;
20
+ css: _emotion_react.SerializedStyles;
21
+ };
17
22
  declare const standardBorderRadiusPx: readonly [0, 4, 8, 12, 16];
18
23
  type StandardBorderRadius = (typeof standardBorderRadiusPx)[number];
19
24
  declare const cardBorderRadiusPx = 16;
20
25
  type BorderRadiusArg = StandardBorderRadius | StandardBorderRadius[];
21
26
  declare const standardBorderRadius: (radius: BorderRadiusArg) => string;
22
- declare const smContentInset: _emotion_react.SerializedStyles;
23
- declare const minSmMaxLgContentInset: _emotion_react.SerializedStyles;
24
- declare const standardContentInset: _emotion_react.SerializedStyles;
25
27
  declare const standardCardShadow: _emotion_react.SerializedStyles;
26
28
  declare const pageBorderRadiusPx = 16;
27
29
  declare const pageBorderRadius = "\n border-radius: 16px;\n";
@@ -40,9 +42,6 @@ declare const Subtext: _emotion_styled.StyledComponent<{
40
42
  as?: react.ElementType<any>;
41
43
  }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
42
44
  declare const darkGradientBg: _emotion_react.SerializedStyles;
43
- declare const StyledTooltip: _emotion_styled.StyledComponent<react_tooltip.ITooltip & react.RefAttributes<react_tooltip.TooltipRefProps> & {
44
- theme?: Theme;
45
- }, {}, {}>;
46
45
  declare const overlaySurfaceBorderColor: ({ theme, important, }: WithTheme<{
47
46
  important?: boolean;
48
47
  }>) => _emotion_react.SerializedStyles;
@@ -52,4 +51,4 @@ declare const overlaySurface: ({ theme, important, }: WithTheme<{
52
51
  declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
53
52
  declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
54
53
 
55
- export { StyledTooltip, Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled, minSmMaxLgContentInset, outlineOffset, overlaySurface, overlaySurfaceBorderColor, pageBorderRadius, pageBorderRadiusPx, rootFontSizePx, rootFontSizeRems, smContentInset, standardBorderRadius, standardCardShadow, standardContentInset, standardContentInsetMdPx, standardContentInsetPx, standardContentInsetSmPx, standardFocusOutline, standardLineHeightEms, subtext };
54
+ export { Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled, outlineOffset, overlaySurface, overlaySurfaceBorderColor, pageBorderRadius, pageBorderRadiusPx, rootFontSizePx, rootFontSizeRems, standardBorderRadius, standardCardShadow, standardContentInset, standardFocusOutline, standardLineHeightEms, subtext };
@@ -1,4 +1,3 @@
1
- import * as react_tooltip from 'react-tooltip';
2
1
  import * as _emotion_styled from '@emotion/styled';
3
2
  import * as react from 'react';
4
3
  import * as _emotion_react from '@emotion/react';
@@ -11,17 +10,20 @@ declare const rootFontSizePx = 12;
11
10
  declare const rootFontSizeRems: number;
12
11
  declare const standardLineHeightEms = 1.21;
13
12
  declare const headingContentMarginPx = 30;
14
- declare const standardContentInsetPx = 32;
15
- declare const standardContentInsetMdPx = 24;
16
- declare const standardContentInsetSmPx = 16;
13
+ declare const standardContentInset: {
14
+ smPx: number;
15
+ minSmMaxLgPx: number;
16
+ lgPx: number;
17
+ smCSS: _emotion_react.SerializedStyles;
18
+ minSmMaxLgCSS: _emotion_react.SerializedStyles;
19
+ lgCSS: _emotion_react.SerializedStyles;
20
+ css: _emotion_react.SerializedStyles;
21
+ };
17
22
  declare const standardBorderRadiusPx: readonly [0, 4, 8, 12, 16];
18
23
  type StandardBorderRadius = (typeof standardBorderRadiusPx)[number];
19
24
  declare const cardBorderRadiusPx = 16;
20
25
  type BorderRadiusArg = StandardBorderRadius | StandardBorderRadius[];
21
26
  declare const standardBorderRadius: (radius: BorderRadiusArg) => string;
22
- declare const smContentInset: _emotion_react.SerializedStyles;
23
- declare const minSmMaxLgContentInset: _emotion_react.SerializedStyles;
24
- declare const standardContentInset: _emotion_react.SerializedStyles;
25
27
  declare const standardCardShadow: _emotion_react.SerializedStyles;
26
28
  declare const pageBorderRadiusPx = 16;
27
29
  declare const pageBorderRadius = "\n border-radius: 16px;\n";
@@ -40,9 +42,6 @@ declare const Subtext: _emotion_styled.StyledComponent<{
40
42
  as?: react.ElementType<any>;
41
43
  }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
42
44
  declare const darkGradientBg: _emotion_react.SerializedStyles;
43
- declare const StyledTooltip: _emotion_styled.StyledComponent<react_tooltip.ITooltip & react.RefAttributes<react_tooltip.TooltipRefProps> & {
44
- theme?: Theme;
45
- }, {}, {}>;
46
45
  declare const overlaySurfaceBorderColor: ({ theme, important, }: WithTheme<{
47
46
  important?: boolean;
48
47
  }>) => _emotion_react.SerializedStyles;
@@ -52,4 +51,4 @@ declare const overlaySurface: ({ theme, important, }: WithTheme<{
52
51
  declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
53
52
  declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
54
53
 
55
- export { StyledTooltip, Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled, minSmMaxLgContentInset, outlineOffset, overlaySurface, overlaySurfaceBorderColor, pageBorderRadius, pageBorderRadiusPx, rootFontSizePx, rootFontSizeRems, smContentInset, standardBorderRadius, standardCardShadow, standardContentInset, standardContentInsetMdPx, standardContentInsetPx, standardContentInsetSmPx, standardFocusOutline, standardLineHeightEms, subtext };
54
+ export { Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled, outlineOffset, overlaySurface, overlaySurfaceBorderColor, pageBorderRadius, pageBorderRadiusPx, rootFontSizePx, rootFontSizeRems, standardBorderRadius, standardCardShadow, standardContentInset, standardFocusOutline, standardLineHeightEms, subtext };
@@ -1,5 +1,4 @@
1
1
  import {
2
- StyledTooltip,
3
2
  Subtext,
4
3
  cardBorderRadiusPx,
5
4
  darkGradientBg,
@@ -8,7 +7,6 @@ import {
8
7
  headingContentMarginPx,
9
8
  mcBold,
10
9
  mcBoldStyled,
11
- minSmMaxLgContentInset,
12
10
  outlineOffset,
13
11
  overlaySurface,
14
12
  overlaySurfaceBorderColor,
@@ -16,24 +14,18 @@ import {
16
14
  pageBorderRadiusPx,
17
15
  rootFontSizePx,
18
16
  rootFontSizeRems,
19
- smContentInset,
20
17
  standardBorderRadius,
21
18
  standardCardShadow,
22
19
  standardContentInset,
23
- standardContentInsetMdPx,
24
- standardContentInsetPx,
25
- standardContentInsetSmPx,
26
20
  standardFocusOutline,
27
21
  standardLineHeightEms,
28
22
  subtext
29
- } from "../chunk-RFGKH3R6.js";
23
+ } from "../chunk-JK4BP73A.js";
30
24
  import "../chunk-2VBDEO6M.js";
31
25
  import "../chunk-E4EXM4SY.js";
32
26
  import "../chunk-JSGRNWSB.js";
33
- import "../chunk-CLU2FRJZ.js";
34
27
  import "../chunk-CIGAQ47A.js";
35
28
  export {
36
- StyledTooltip,
37
29
  Subtext,
38
30
  cardBorderRadiusPx,
39
31
  darkGradientBg,
@@ -42,7 +34,6 @@ export {
42
34
  headingContentMarginPx,
43
35
  mcBold,
44
36
  mcBoldStyled,
45
- minSmMaxLgContentInset,
46
37
  outlineOffset,
47
38
  overlaySurface,
48
39
  overlaySurfaceBorderColor,
@@ -50,13 +41,9 @@ export {
50
41
  pageBorderRadiusPx,
51
42
  rootFontSizePx,
52
43
  rootFontSizeRems,
53
- smContentInset,
54
44
  standardBorderRadius,
55
45
  standardCardShadow,
56
46
  standardContentInset,
57
- standardContentInsetMdPx,
58
- standardContentInsetPx,
59
- standardContentInsetSmPx,
60
47
  standardFocusOutline,
61
48
  standardLineHeightEms,
62
49
  subtext