@lightsparkdev/ui 0.0.8 → 0.0.11
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.
- package/CHANGELOG.md +27 -0
- package/dist/{chunk-NRXJA2PM.js → chunk-3EVAP5JT.js} +1 -1
- package/dist/{chunk-4KWTXZRY.js → chunk-3GS5EFXV.js} +1 -1
- package/dist/{chunk-WTO7C7WA.js → chunk-5POPBNPS.js} +1 -1
- package/dist/{chunk-UWN53KLJ.js → chunk-7C4MHI6Q.js} +3 -3
- package/dist/{chunk-6FHLZM6N.js → chunk-7T36JGTC.js} +2 -2
- package/dist/{chunk-YPB5SA65.js → chunk-A4FQBEYU.js} +6 -6
- package/dist/{chunk-SZVMKB4E.js → chunk-ATUH6SXK.js} +19 -8
- package/dist/{chunk-U6XT5JKC.js → chunk-DQRN4E5G.js} +1 -1
- package/dist/{chunk-36C653MV.js → chunk-E3AOYBY5.js} +1 -1
- package/dist/{chunk-MAMSU2XB.js → chunk-EEFNW7NS.js} +3 -3
- package/dist/{chunk-2YB7653N.js → chunk-FCZJILMW.js} +1 -1
- package/dist/{chunk-ZYHA6MJC.js → chunk-H3RW6JSU.js} +1 -1
- package/dist/chunk-IPAXAP6K.js +119 -0
- package/dist/{chunk-BAO4T4G5.js → chunk-J4FJQ3FN.js} +1 -1
- package/dist/{chunk-HNVQIY5U.js → chunk-JK4BP73A.js} +39 -30
- package/dist/{chunk-ZSUX6RLD.js → chunk-KMR5C25B.js} +1 -1
- package/dist/{chunk-2JM7UTAZ.js → chunk-NFSAJ5GJ.js} +8 -8
- package/dist/{chunk-DAVVD7YE.js → chunk-NM7UW54G.js} +18 -21
- package/dist/chunk-P3EUPXFA.js +150 -0
- package/dist/chunk-PBRN7MJY.js +315 -0
- package/dist/{chunk-CW3W2VTZ.js → chunk-PVQCLQNA.js} +1 -1
- package/dist/{chunk-VHW2KROZ.js → chunk-RWIZ7Q74.js} +1 -1
- package/dist/{chunk-744FBGRP.js → chunk-XP2MX2AA.js} +1 -1
- package/dist/{chunk-XAZ6NZ6I.js → chunk-XZR237JJ.js} +1 -1
- package/dist/{chunk-FN5PM3HQ.js → chunk-Y37DCY7Y.js} +6 -6
- package/dist/{chunk-76Q4BK35.js → chunk-ZANLDY2W.js} +5 -5
- package/dist/components/Badge.cjs +38 -24
- package/dist/components/Badge.js +2 -2
- package/dist/components/Button.cjs +38 -24
- package/dist/components/Button.js +6 -6
- package/dist/components/ButtonRow.cjs +42 -28
- package/dist/components/ButtonRow.js +8 -8
- package/dist/components/CardPage.cjs +1921 -0
- package/dist/components/CardPage.d.cts +54 -0
- package/dist/components/CardPage.d.ts +54 -0
- package/dist/components/CardPage.js +33 -0
- package/dist/components/Collapsible.cjs +38 -24
- package/dist/components/Collapsible.js +4 -4
- package/dist/components/ContentTable.cjs +38 -24
- package/dist/components/ContentTable.js +3 -3
- package/dist/components/CopyToClipboardButton.cjs +38 -24
- package/dist/components/CopyToClipboardButton.js +5 -5
- package/dist/components/CurrencyAmount.cjs +38 -24
- package/dist/components/CurrencyAmount.js +3 -3
- package/dist/components/FileInput.cjs +38 -24
- package/dist/components/FileInput.js +7 -7
- package/dist/components/GradientCardHeader.cjs +177 -0
- package/dist/components/GradientCardHeader.d.cts +10 -0
- package/dist/components/GradientCardHeader.d.ts +10 -0
- package/dist/components/GradientCardHeader.js +8 -0
- package/dist/components/Icon.cjs +38 -24
- package/dist/components/Icon.js +2 -2
- package/dist/components/LightTooltip.cjs +38 -24
- package/dist/components/LightTooltip.js +2 -2
- package/dist/components/LightsparkProvider.cjs +38 -24
- package/dist/components/LightsparkProvider.js +3 -3
- package/dist/components/Loading.cjs +38 -24
- package/dist/components/Loading.js +3 -3
- package/dist/components/Modal.cjs +46 -34
- package/dist/components/Modal.js +9 -9
- package/dist/components/Pill.cjs +38 -24
- package/dist/components/Pill.js +6 -6
- package/dist/components/ProgressBar.cjs +38 -24
- package/dist/components/ProgressBar.js +2 -2
- package/dist/components/SecretContainer.cjs +38 -24
- package/dist/components/SecretContainer.js +6 -6
- package/dist/components/TextIconAligner.cjs +38 -24
- package/dist/components/TextIconAligner.js +3 -3
- package/dist/components/UnstyledButton.cjs +38 -24
- package/dist/components/UnstyledButton.js +2 -2
- package/dist/components/documentation/AnchorLinkHeader.cjs +38 -24
- package/dist/components/documentation/AnchorLinkHeader.js +3 -3
- package/dist/components/documentation/index.cjs +38 -24
- package/dist/components/documentation/index.js +3 -3
- package/dist/components/index.cjs +737 -185
- package/dist/components/index.d.cts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +51 -32
- package/dist/icons/ArrowCornerDownRight.cjs +49 -0
- package/dist/icons/ArrowCornerDownRight.d.cts +5 -0
- package/dist/icons/ArrowCornerDownRight.d.ts +5 -0
- package/dist/icons/ArrowCornerDownRight.js +30 -0
- package/dist/icons/Sort.cjs +48 -0
- package/dist/icons/Sort.d.cts +5 -0
- package/dist/icons/Sort.d.ts +5 -0
- package/dist/icons/Sort.js +29 -0
- package/dist/icons/index.cjs +38 -24
- package/dist/icons/index.js +2 -2
- package/dist/styles/common.cjs +38 -34
- package/dist/styles/common.d.cts +10 -7
- package/dist/styles/common.d.ts +10 -7
- package/dist/styles/common.js +1 -11
- package/dist/styles/fields.cjs +56 -31
- package/dist/styles/fields.d.cts +4 -3
- package/dist/styles/fields.d.ts +4 -3
- package/dist/styles/fields.js +2 -2
- package/dist/styles/fonts/typography/Article.cjs +38 -24
- package/dist/styles/fonts/typography/Article.js +6 -6
- package/dist/styles/fonts/typography/index.cjs +38 -24
- package/dist/styles/fonts/typography/index.js +11 -11
- package/dist/styles/fonts/typographyTokens.d.cts +1 -4
- package/dist/styles/fonts/typographyTokens.d.ts +1 -4
- package/dist/styles/global.cjs +38 -24
- package/dist/styles/global.js +2 -2
- package/dist/styles/type.cjs +38 -24
- package/dist/styles/type.js +8 -144
- package/dist/styles/utils.cjs +38 -24
- package/dist/styles/utils.js +2 -2
- package/package.json +7 -4
package/dist/styles/fields.cjs
CHANGED
|
@@ -1289,36 +1289,50 @@ var import_react4 = require("@emotion/react");
|
|
|
1289
1289
|
var import_styled = __toESM(require("@emotion/styled"), 1);
|
|
1290
1290
|
var rootFontSizePx = 12;
|
|
1291
1291
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
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);
|
|
1295
1330
|
var standardBorderRadius = (radius) => {
|
|
1296
1331
|
const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
|
|
1297
1332
|
return `
|
|
1298
1333
|
border-radius: ${borderRadiusPx};
|
|
1299
1334
|
`;
|
|
1300
1335
|
};
|
|
1301
|
-
var smContentInset = import_react4.css`
|
|
1302
|
-
${bp.sm(`
|
|
1303
|
-
margin-left: auto;
|
|
1304
|
-
margin-right: auto;
|
|
1305
|
-
width: calc(100% - ${standardContentInsetSmPx * 2}px);
|
|
1306
|
-
`)}
|
|
1307
|
-
`;
|
|
1308
|
-
var minSmMaxLgContentInset = import_react4.css`
|
|
1309
|
-
${bp.minSmMaxLg(`
|
|
1310
|
-
width: calc(100% - ${standardContentInsetMdPx * 2}px);
|
|
1311
|
-
`)}
|
|
1312
|
-
`;
|
|
1313
|
-
var standardContentInset = import_react4.css`
|
|
1314
|
-
margin-left: auto;
|
|
1315
|
-
margin-right: auto;
|
|
1316
|
-
width: calc(100% - ${standardContentInsetPx * 2}px);
|
|
1317
|
-
max-width: 1280px;
|
|
1318
|
-
|
|
1319
|
-
${smContentInset}
|
|
1320
|
-
${minSmMaxLgContentInset}
|
|
1321
|
-
`;
|
|
1322
1336
|
var standardCardShadow = import_react4.css`
|
|
1323
1337
|
box-shadow:
|
|
1324
1338
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
|
@@ -1404,8 +1418,21 @@ var textInputPaddingPx = 12;
|
|
|
1404
1418
|
var textInputPadding = `${textInputPaddingPx}px`;
|
|
1405
1419
|
var textInputBorderColor = ({ theme }) => themeOr(theme.c1Neutral, theme.c3Neutral)({ theme });
|
|
1406
1420
|
var textInputBorderColorFocused = ({ theme }) => themeOr(theme.hcNeutral, theme.hcNeutral)({ theme });
|
|
1421
|
+
var textInputActiveStyles = ({
|
|
1422
|
+
theme,
|
|
1423
|
+
paddingLeftPx,
|
|
1424
|
+
paddingRightPx
|
|
1425
|
+
}) => import_react5.css`
|
|
1426
|
+
border-color: ${textInputBorderColorFocused({ theme })};
|
|
1427
|
+
border-width: 2px;
|
|
1428
|
+
color: ${textInputColor({ theme })};
|
|
1429
|
+
padding: ${textInputPaddingPx - 1}px;
|
|
1430
|
+
${paddingLeftPx ? `padding-left: ${paddingLeftPx - 1}px;` : ""}
|
|
1431
|
+
${paddingRightPx ? `padding-right: ${paddingRightPx - 1}px;` : ""}
|
|
1432
|
+
`;
|
|
1407
1433
|
var textInputStyle = ({
|
|
1408
1434
|
theme,
|
|
1435
|
+
active,
|
|
1409
1436
|
disabled,
|
|
1410
1437
|
hasError,
|
|
1411
1438
|
paddingLeftPx,
|
|
@@ -1439,15 +1466,13 @@ var textInputStyle = ({
|
|
|
1439
1466
|
max-width: ${maxFieldWidth};
|
|
1440
1467
|
text-overflow: ellipsis;
|
|
1441
1468
|
&:focus,
|
|
1442
|
-
&:active
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
color: ${textInputColor({ theme })};
|
|
1446
|
-
padding: ${textInputPaddingPx - 1}px;
|
|
1447
|
-
${paddingLeftPx ? `padding-left: ${paddingLeftPx - 1}px;` : ""}
|
|
1448
|
-
${paddingRightPx ? `padding-right: ${paddingRightPx - 1}px;` : ""}
|
|
1469
|
+
&:active,
|
|
1470
|
+
&:has(:focus) {
|
|
1471
|
+
${textInputActiveStyles({ theme, paddingLeftPx, paddingRightPx })}
|
|
1449
1472
|
}
|
|
1450
1473
|
|
|
1474
|
+
${active && textInputActiveStyles({ theme, paddingLeftPx, paddingRightPx })}
|
|
1475
|
+
|
|
1451
1476
|
&::placeholder {
|
|
1452
1477
|
color: ${textInputPlaceholderColor({ theme })};
|
|
1453
1478
|
}
|
package/dist/styles/fields.d.cts
CHANGED
|
@@ -24,9 +24,10 @@ declare const textInputPaddingPx = 12;
|
|
|
24
24
|
declare const textInputPadding = "12px";
|
|
25
25
|
declare const textInputBorderColor: ({ theme }: ThemeProp) => string;
|
|
26
26
|
declare const textInputBorderColorFocused: ({ theme }: ThemeProp) => string;
|
|
27
|
-
declare const textInputStyle: ({ theme, disabled, hasError, paddingLeftPx, paddingRightPx, }: WithTheme<{
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
declare const textInputStyle: ({ theme, active, disabled, hasError, paddingLeftPx, paddingRightPx, }: WithTheme<{
|
|
28
|
+
active?: boolean | undefined;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
hasError?: boolean | undefined;
|
|
30
31
|
paddingLeftPx?: number | undefined;
|
|
31
32
|
paddingRightPx?: number | undefined;
|
|
32
33
|
}>) => _emotion_react.SerializedStyles;
|
package/dist/styles/fields.d.ts
CHANGED
|
@@ -24,9 +24,10 @@ declare const textInputPaddingPx = 12;
|
|
|
24
24
|
declare const textInputPadding = "12px";
|
|
25
25
|
declare const textInputBorderColor: ({ theme }: ThemeProp) => string;
|
|
26
26
|
declare const textInputBorderColorFocused: ({ theme }: ThemeProp) => string;
|
|
27
|
-
declare const textInputStyle: ({ theme, disabled, hasError, paddingLeftPx, paddingRightPx, }: WithTheme<{
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
declare const textInputStyle: ({ theme, active, disabled, hasError, paddingLeftPx, paddingRightPx, }: WithTheme<{
|
|
28
|
+
active?: boolean | undefined;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
hasError?: boolean | undefined;
|
|
30
31
|
paddingLeftPx?: number | undefined;
|
|
31
32
|
paddingRightPx?: number | undefined;
|
|
32
33
|
}>) => _emotion_react.SerializedStyles;
|
package/dist/styles/fields.js
CHANGED
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
textInputPaddingPx,
|
|
23
23
|
textInputPlaceholderColor,
|
|
24
24
|
textInputStyle
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-ATUH6SXK.js";
|
|
26
26
|
import "../chunk-55OQPFLF.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-JK4BP73A.js";
|
|
28
28
|
import "../chunk-2VBDEO6M.js";
|
|
29
29
|
import "../chunk-E4EXM4SY.js";
|
|
30
30
|
import "../chunk-JSGRNWSB.js";
|
|
@@ -1279,36 +1279,50 @@ function hexToRGB(hex) {
|
|
|
1279
1279
|
// src/styles/common.tsx
|
|
1280
1280
|
var rootFontSizePx = 12;
|
|
1281
1281
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1282
|
+
function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
|
|
1283
|
+
const smCSS = import_react4.css`
|
|
1284
|
+
${bp.sm(`
|
|
1285
|
+
margin-left: auto;
|
|
1286
|
+
margin-right: auto;
|
|
1287
|
+
width: calc(100% - ${smPx * 2}px);
|
|
1288
|
+
`)}
|
|
1289
|
+
`;
|
|
1290
|
+
const minSmMaxLgCSS = import_react4.css`
|
|
1291
|
+
${bp.minSmMaxLg(`
|
|
1292
|
+
margin-left: auto;
|
|
1293
|
+
margin-right: auto;
|
|
1294
|
+
width: calc(100% - ${minSmMaxLgPx * 2}px);
|
|
1295
|
+
`)}
|
|
1296
|
+
`;
|
|
1297
|
+
const lgCSS = import_react4.css`
|
|
1298
|
+
${bp.lg(`
|
|
1299
|
+
margin-left: auto;
|
|
1300
|
+
margin-right: auto;
|
|
1301
|
+
width: calc(100% - ${lgPx * 2}px);
|
|
1302
|
+
max-width: 1280px;
|
|
1303
|
+
`)}
|
|
1304
|
+
`;
|
|
1305
|
+
return {
|
|
1306
|
+
smPx,
|
|
1307
|
+
minSmMaxLgPx,
|
|
1308
|
+
lgPx,
|
|
1309
|
+
smCSS,
|
|
1310
|
+
minSmMaxLgCSS,
|
|
1311
|
+
lgCSS,
|
|
1312
|
+
css: import_react4.css`
|
|
1313
|
+
${lgCSS}
|
|
1314
|
+
${smCSS}
|
|
1315
|
+
${minSmMaxLgCSS}
|
|
1316
|
+
`
|
|
1317
|
+
};
|
|
1318
|
+
}
|
|
1319
|
+
var standardContentInset = buildStandardContentInset(16, 24, 32);
|
|
1285
1320
|
var standardBorderRadius = (radius) => {
|
|
1286
1321
|
const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
|
|
1287
1322
|
return `
|
|
1288
1323
|
border-radius: ${borderRadiusPx};
|
|
1289
1324
|
`;
|
|
1290
1325
|
};
|
|
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
|
-
`;
|
|
1312
1326
|
var standardCardShadow = import_react4.css`
|
|
1313
1327
|
box-shadow:
|
|
1314
1328
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Article
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-Y37DCY7Y.js";
|
|
5
5
|
import "../../../chunk-FHNYQLMF.js";
|
|
6
|
+
import "../../../chunk-LD5LZXUP.js";
|
|
6
7
|
import "../../../chunk-BCFRW7CV.js";
|
|
7
8
|
import "../../../chunk-QGGOMPHZ.js";
|
|
8
|
-
import "../../../chunk-LD5LZXUP.js";
|
|
9
9
|
import "../../../chunk-4TFRLWCC.js";
|
|
10
10
|
import "../../../chunk-YMNSXZ5D.js";
|
|
11
11
|
import "../../../chunk-3XSQV5U4.js";
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
12
|
+
import "../../../chunk-FCZJILMW.js";
|
|
13
|
+
import "../../../chunk-XP2MX2AA.js";
|
|
14
|
+
import "../../../chunk-RWIZ7Q74.js";
|
|
15
15
|
import "../../../chunk-LAMQKQU3.js";
|
|
16
|
-
import "../../../chunk-
|
|
16
|
+
import "../../../chunk-JK4BP73A.js";
|
|
17
17
|
import "../../../chunk-2VBDEO6M.js";
|
|
18
18
|
import "../../../chunk-E4EXM4SY.js";
|
|
19
19
|
import "../../../chunk-JSGRNWSB.js";
|
|
@@ -1290,36 +1290,50 @@ function hexToRGB(hex) {
|
|
|
1290
1290
|
// src/styles/common.tsx
|
|
1291
1291
|
var rootFontSizePx = 12;
|
|
1292
1292
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
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);
|
|
1296
1331
|
var standardBorderRadius = (radius) => {
|
|
1297
1332
|
const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
|
|
1298
1333
|
return `
|
|
1299
1334
|
border-radius: ${borderRadiusPx};
|
|
1300
1335
|
`;
|
|
1301
1336
|
};
|
|
1302
|
-
var smContentInset = import_react4.css`
|
|
1303
|
-
${bp.sm(`
|
|
1304
|
-
margin-left: auto;
|
|
1305
|
-
margin-right: auto;
|
|
1306
|
-
width: calc(100% - ${standardContentInsetSmPx * 2}px);
|
|
1307
|
-
`)}
|
|
1308
|
-
`;
|
|
1309
|
-
var minSmMaxLgContentInset = import_react4.css`
|
|
1310
|
-
${bp.minSmMaxLg(`
|
|
1311
|
-
width: calc(100% - ${standardContentInsetMdPx * 2}px);
|
|
1312
|
-
`)}
|
|
1313
|
-
`;
|
|
1314
|
-
var standardContentInset = import_react4.css`
|
|
1315
|
-
margin-left: auto;
|
|
1316
|
-
margin-right: auto;
|
|
1317
|
-
width: calc(100% - ${standardContentInsetPx * 2}px);
|
|
1318
|
-
max-width: 1280px;
|
|
1319
|
-
|
|
1320
|
-
${smContentInset}
|
|
1321
|
-
${minSmMaxLgContentInset}
|
|
1322
|
-
`;
|
|
1323
1337
|
var standardCardShadow = import_react4.css`
|
|
1324
1338
|
box-shadow:
|
|
1325
1339
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BodyStrong
|
|
3
|
-
} from "../../../chunk-LN7MMOXE.js";
|
|
4
1
|
import {
|
|
5
2
|
Label
|
|
6
3
|
} from "../../../chunk-OO5UJRAW.js";
|
|
@@ -15,29 +12,32 @@ import {
|
|
|
15
12
|
} from "../../../chunk-RBYRXBPI.js";
|
|
16
13
|
import {
|
|
17
14
|
Article
|
|
18
|
-
} from "../../../chunk-
|
|
15
|
+
} from "../../../chunk-Y37DCY7Y.js";
|
|
19
16
|
import {
|
|
20
17
|
Title
|
|
21
18
|
} from "../../../chunk-FHNYQLMF.js";
|
|
19
|
+
import {
|
|
20
|
+
Body
|
|
21
|
+
} from "../../../chunk-LD5LZXUP.js";
|
|
22
|
+
import {
|
|
23
|
+
BodyStrong
|
|
24
|
+
} from "../../../chunk-LN7MMOXE.js";
|
|
22
25
|
import {
|
|
23
26
|
Code
|
|
24
27
|
} from "../../../chunk-BCFRW7CV.js";
|
|
25
28
|
import {
|
|
26
29
|
Display
|
|
27
30
|
} from "../../../chunk-QGGOMPHZ.js";
|
|
28
|
-
import {
|
|
29
|
-
Body
|
|
30
|
-
} from "../../../chunk-LD5LZXUP.js";
|
|
31
31
|
import {
|
|
32
32
|
Headline
|
|
33
33
|
} from "../../../chunk-4TFRLWCC.js";
|
|
34
34
|
import "../../../chunk-YMNSXZ5D.js";
|
|
35
35
|
import "../../../chunk-3XSQV5U4.js";
|
|
36
|
-
import "../../../chunk-
|
|
37
|
-
import "../../../chunk-
|
|
38
|
-
import "../../../chunk-
|
|
36
|
+
import "../../../chunk-FCZJILMW.js";
|
|
37
|
+
import "../../../chunk-XP2MX2AA.js";
|
|
38
|
+
import "../../../chunk-RWIZ7Q74.js";
|
|
39
39
|
import "../../../chunk-LAMQKQU3.js";
|
|
40
|
-
import "../../../chunk-
|
|
40
|
+
import "../../../chunk-JK4BP73A.js";
|
|
41
41
|
import "../../../chunk-2VBDEO6M.js";
|
|
42
42
|
import "../../../chunk-E4EXM4SY.js";
|
|
43
43
|
import "../../../chunk-JSGRNWSB.js";
|
|
@@ -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;
|
package/dist/styles/global.cjs
CHANGED
|
@@ -1295,30 +1295,44 @@ var import_styled = __toESM(require("@emotion/styled"), 1);
|
|
|
1295
1295
|
var rootFontSizePx = 12;
|
|
1296
1296
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1297
1297
|
var standardLineHeightEms = 1.21;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
`
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
`;
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1298
|
+
function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
|
|
1299
|
+
const smCSS = import_react4.css`
|
|
1300
|
+
${bp.sm(`
|
|
1301
|
+
margin-left: auto;
|
|
1302
|
+
margin-right: auto;
|
|
1303
|
+
width: calc(100% - ${smPx * 2}px);
|
|
1304
|
+
`)}
|
|
1305
|
+
`;
|
|
1306
|
+
const minSmMaxLgCSS = import_react4.css`
|
|
1307
|
+
${bp.minSmMaxLg(`
|
|
1308
|
+
margin-left: auto;
|
|
1309
|
+
margin-right: auto;
|
|
1310
|
+
width: calc(100% - ${minSmMaxLgPx * 2}px);
|
|
1311
|
+
`)}
|
|
1312
|
+
`;
|
|
1313
|
+
const lgCSS = import_react4.css`
|
|
1314
|
+
${bp.lg(`
|
|
1315
|
+
margin-left: auto;
|
|
1316
|
+
margin-right: auto;
|
|
1317
|
+
width: calc(100% - ${lgPx * 2}px);
|
|
1318
|
+
max-width: 1280px;
|
|
1319
|
+
`)}
|
|
1320
|
+
`;
|
|
1321
|
+
return {
|
|
1322
|
+
smPx,
|
|
1323
|
+
minSmMaxLgPx,
|
|
1324
|
+
lgPx,
|
|
1325
|
+
smCSS,
|
|
1326
|
+
minSmMaxLgCSS,
|
|
1327
|
+
lgCSS,
|
|
1328
|
+
css: import_react4.css`
|
|
1329
|
+
${lgCSS}
|
|
1330
|
+
${smCSS}
|
|
1331
|
+
${minSmMaxLgCSS}
|
|
1332
|
+
`
|
|
1333
|
+
};
|
|
1334
|
+
}
|
|
1335
|
+
var standardContentInset = buildStandardContentInset(16, 24, 32);
|
|
1322
1336
|
var standardCardShadow = import_react4.css`
|
|
1323
1337
|
box-shadow:
|
|
1324
1338
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
package/dist/styles/global.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GlobalStyles,
|
|
3
3
|
globalComponentStyles
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-KMR5C25B.js";
|
|
5
5
|
import "../chunk-IJVWYT5G.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-JK4BP73A.js";
|
|
7
7
|
import "../chunk-2VBDEO6M.js";
|
|
8
8
|
import "../chunk-E4EXM4SY.js";
|
|
9
9
|
import "../chunk-JSGRNWSB.js";
|
package/dist/styles/type.cjs
CHANGED
|
@@ -1270,30 +1270,44 @@ function hexToRGB(hex) {
|
|
|
1270
1270
|
// src/styles/common.tsx
|
|
1271
1271
|
var rootFontSizePx = 12;
|
|
1272
1272
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
`
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
`;
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1273
|
+
function buildStandardContentInset(smPx, minSmMaxLgPx, lgPx) {
|
|
1274
|
+
const smCSS = import_react4.css`
|
|
1275
|
+
${bp.sm(`
|
|
1276
|
+
margin-left: auto;
|
|
1277
|
+
margin-right: auto;
|
|
1278
|
+
width: calc(100% - ${smPx * 2}px);
|
|
1279
|
+
`)}
|
|
1280
|
+
`;
|
|
1281
|
+
const minSmMaxLgCSS = import_react4.css`
|
|
1282
|
+
${bp.minSmMaxLg(`
|
|
1283
|
+
margin-left: auto;
|
|
1284
|
+
margin-right: auto;
|
|
1285
|
+
width: calc(100% - ${minSmMaxLgPx * 2}px);
|
|
1286
|
+
`)}
|
|
1287
|
+
`;
|
|
1288
|
+
const lgCSS = import_react4.css`
|
|
1289
|
+
${bp.lg(`
|
|
1290
|
+
margin-left: auto;
|
|
1291
|
+
margin-right: auto;
|
|
1292
|
+
width: calc(100% - ${lgPx * 2}px);
|
|
1293
|
+
max-width: 1280px;
|
|
1294
|
+
`)}
|
|
1295
|
+
`;
|
|
1296
|
+
return {
|
|
1297
|
+
smPx,
|
|
1298
|
+
minSmMaxLgPx,
|
|
1299
|
+
lgPx,
|
|
1300
|
+
smCSS,
|
|
1301
|
+
minSmMaxLgCSS,
|
|
1302
|
+
lgCSS,
|
|
1303
|
+
css: import_react4.css`
|
|
1304
|
+
${lgCSS}
|
|
1305
|
+
${smCSS}
|
|
1306
|
+
${minSmMaxLgCSS}
|
|
1307
|
+
`
|
|
1308
|
+
};
|
|
1309
|
+
}
|
|
1310
|
+
var standardContentInset = buildStandardContentInset(16, 24, 32);
|
|
1297
1311
|
var standardCardShadow = import_react4.css`
|
|
1298
1312
|
box-shadow:
|
|
1299
1313
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|