@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.
- package/CHANGELOG.md +24 -0
- package/dist/chunk-3EVAP5JT.js +67 -0
- package/dist/{chunk-IQFU7CM5.js → chunk-3GS5EFXV.js} +1 -1
- package/dist/{chunk-CLU2FRJZ.js → chunk-55OQPFLF.js} +1 -1
- package/dist/{chunk-N2RDQJQ5.js → chunk-5POPBNPS.js} +1 -1
- package/dist/{chunk-WWFDI534.js → chunk-7C4MHI6Q.js} +13 -6
- package/dist/{chunk-3CZOYF3X.js → chunk-7T36JGTC.js} +2 -2
- package/dist/chunk-A4FQBEYU.js +163 -0
- package/dist/chunk-ATUH6SXK.js +233 -0
- package/dist/chunk-DQRN4E5G.js +25 -0
- package/dist/{chunk-RTUZVKPK.js → chunk-E3AOYBY5.js} +1 -1
- package/dist/{chunk-I74XQIVV.js → chunk-EEFNW7NS.js} +3 -3
- package/dist/{chunk-UO6U7AYM.js → chunk-FCZJILMW.js} +1 -1
- package/dist/{chunk-2WYVO6B2.js → chunk-H3RW6JSU.js} +1 -1
- package/dist/chunk-IPAXAP6K.js +119 -0
- package/dist/{chunk-NGS4OSWT.js → chunk-J4FJQ3FN.js} +1 -1
- package/dist/{chunk-RFGKH3R6.js → chunk-JK4BP73A.js} +39 -38
- package/dist/{chunk-T33SBHYI.js → chunk-KMR5C25B.js} +3 -1
- package/dist/{chunk-JYWYEOM6.js → chunk-NFSAJ5GJ.js} +23 -10
- package/dist/{chunk-G2PZZFJL.js → chunk-NM7UW54G.js} +21 -24
- package/dist/{chunk-M56R3RJ7.js → chunk-OGSDZTHM.js} +7 -3
- package/dist/chunk-P3EUPXFA.js +150 -0
- package/dist/chunk-PBRN7MJY.js +315 -0
- package/dist/{chunk-NH25O7PC.js → chunk-PVQCLQNA.js} +1 -1
- package/dist/{chunk-NZJCJJH5.js → chunk-RWIZ7Q74.js} +1 -1
- package/dist/{chunk-TAI352I3.js → chunk-VE7J2N47.js} +1 -1
- package/dist/{chunk-K7D7A34K.js → chunk-XP2MX2AA.js} +1 -1
- package/dist/{chunk-23SR7TFO.js → chunk-XZR237JJ.js} +1 -1
- package/dist/{chunk-VBWTKANQ.js → chunk-Y37DCY7Y.js} +3 -3
- package/dist/{chunk-SVQELXFK.js → chunk-Z5TPS2BO.js} +1 -1
- package/dist/{chunk-FKETYVPP.js → chunk-ZANLDY2W.js} +87 -43
- package/dist/components/Badge.cjs +1346 -0
- package/dist/components/Badge.d.cts +10 -0
- package/dist/components/Badge.d.ts +10 -0
- package/dist/components/Badge.js +13 -0
- package/dist/components/Button.cjs +235 -107
- package/dist/components/Button.d.cts +3 -1
- package/dist/components/Button.d.ts +3 -1
- package/dist/components/Button.js +8 -7
- package/dist/components/ButtonRow.cjs +254 -110
- package/dist/components/ButtonRow.d.cts +6 -2
- package/dist/components/ButtonRow.d.ts +6 -2
- package/dist/components/ButtonRow.js +14 -11
- 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 -54
- package/dist/components/Collapsible.js +4 -5
- package/dist/components/ContentTable.cjs +38 -54
- package/dist/components/ContentTable.js +3 -4
- package/dist/components/CopyToClipboardButton.cjs +161 -65
- package/dist/components/CopyToClipboardButton.js +6 -5
- package/dist/components/CurrencyAmount.cjs +38 -54
- package/dist/components/CurrencyAmount.js +3 -4
- package/dist/components/FileInput.cjs +1959 -0
- package/dist/components/FileInput.d.cts +21 -0
- package/dist/components/FileInput.d.ts +21 -0
- package/dist/components/FileInput.js +113 -0
- 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 -54
- package/dist/components/Icon.js +2 -3
- package/dist/components/LightTooltip.cjs +1428 -0
- package/dist/components/LightTooltip.d.cts +9 -0
- package/dist/components/LightTooltip.d.ts +9 -0
- package/dist/components/LightTooltip.js +12 -0
- package/dist/components/LightboxImage.cjs +1 -1
- package/dist/components/LightboxImage.js +2 -2
- package/dist/components/LightsparkProvider.cjs +41 -57
- package/dist/components/LightsparkProvider.js +3 -4
- package/dist/components/Loading.cjs +38 -54
- package/dist/components/Loading.js +3 -4
- package/dist/components/Modal.cjs +251 -145
- package/dist/components/Modal.js +12 -11
- package/dist/components/Pill.cjs +1717 -0
- package/dist/components/Pill.d.cts +19 -0
- package/dist/components/Pill.d.ts +19 -0
- package/dist/components/Pill.js +16 -0
- package/dist/components/ProgressBar.cjs +38 -56
- package/dist/components/ProgressBar.js +2 -3
- package/dist/components/SecretContainer.cjs +162 -66
- package/dist/components/SecretContainer.js +7 -6
- package/dist/components/TextIconAligner.cjs +38 -54
- package/dist/components/TextIconAligner.js +3 -4
- package/dist/components/UnstyledButton.cjs +38 -54
- package/dist/components/UnstyledButton.js +2 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +38 -56
- package/dist/components/documentation/AnchorLinkHeader.js +3 -4
- package/dist/components/documentation/index.cjs +38 -56
- package/dist/components/documentation/index.js +3 -4
- package/dist/components/index.cjs +1191 -358
- package/dist/components/index.d.cts +7 -1
- package/dist/components/index.d.ts +7 -1
- package/dist/components/index.js +63 -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/Copy.cjs +4 -3
- package/dist/icons/Copy.js +4 -3
- package/dist/icons/Download.cjs +22 -11
- package/dist/icons/Download.js +23 -12
- 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/Upload.cjs +22 -11
- package/dist/icons/Upload.js +23 -12
- package/dist/icons/index.cjs +38 -54
- package/dist/icons/index.js +2 -3
- package/dist/router.cjs +7 -3
- package/dist/router.js +1 -1
- package/dist/styles/common.cjs +38 -66
- package/dist/styles/common.d.cts +10 -11
- package/dist/styles/common.d.ts +10 -11
- package/dist/styles/common.js +1 -14
- package/dist/styles/fields.cjs +117 -61
- package/dist/styles/fields.d.cts +12 -5
- package/dist/styles/fields.d.ts +12 -5
- package/dist/styles/fields.js +28 -164
- package/dist/styles/fonts/typography/Article.cjs +38 -54
- package/dist/styles/fonts/typography/Article.js +5 -6
- package/dist/styles/fonts/typography/index.cjs +38 -54
- package/dist/styles/fonts/typography/index.js +5 -6
- package/dist/styles/global.cjs +41 -57
- package/dist/styles/global.js +2 -3
- package/dist/styles/type.cjs +38 -54
- package/dist/styles/type.js +8 -145
- package/dist/styles/utils.cjs +38 -54
- package/dist/styles/utils.js +2 -3
- package/dist/styles/z-index.cjs +1 -1
- package/dist/styles/z-index.d.cts +1 -1
- package/dist/styles/z-index.d.ts +1 -1
- package/dist/styles/z-index.js +1 -1
- package/dist/types/index.d.cts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/utils/toReactNodes.cjs +7 -3
- package/dist/utils/toReactNodes.js +2 -2
- package/package.json +10 -6
|
@@ -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
|
+
};
|
|
@@ -79,7 +79,6 @@ var import_react7 = 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,65 +1284,53 @@ 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
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
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);
|
|
1320
1328
|
var standardBorderRadius = (radius) => {
|
|
1321
1329
|
const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
|
|
1322
1330
|
return `
|
|
1323
1331
|
border-radius: ${borderRadiusPx};
|
|
1324
1332
|
`;
|
|
1325
1333
|
};
|
|
1326
|
-
var smContentInset = import_react4.css`
|
|
1327
|
-
${bp.sm(`
|
|
1328
|
-
margin-left: auto;
|
|
1329
|
-
margin-right: auto;
|
|
1330
|
-
width: calc(100% - ${standardContentInsetSmPx * 2}px);
|
|
1331
|
-
`)}
|
|
1332
|
-
`;
|
|
1333
|
-
var minSmMaxLgContentInset = import_react4.css`
|
|
1334
|
-
${bp.minSmMaxLg(`
|
|
1335
|
-
width: calc(100% - ${standardContentInsetMdPx * 2}px);
|
|
1336
|
-
`)}
|
|
1337
|
-
`;
|
|
1338
|
-
var standardContentInset = import_react4.css`
|
|
1339
|
-
margin-left: auto;
|
|
1340
|
-
margin-right: auto;
|
|
1341
|
-
width: calc(100% - ${standardContentInsetPx * 2}px);
|
|
1342
|
-
max-width: 1280px;
|
|
1343
|
-
|
|
1344
|
-
${smContentInset}
|
|
1345
|
-
${minSmMaxLgContentInset}
|
|
1346
|
-
`;
|
|
1347
1334
|
var standardCardShadow = import_react4.css`
|
|
1348
1335
|
box-shadow:
|
|
1349
1336
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
|
@@ -1363,9 +1350,6 @@ var Subtext = import_styled.default.div`
|
|
|
1363
1350
|
var darkGradientBg = import_react4.css`
|
|
1364
1351
|
background: ${darkGradient};
|
|
1365
1352
|
`;
|
|
1366
|
-
var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
|
|
1367
|
-
z-index: ${z.modalOverlay};
|
|
1368
|
-
`;
|
|
1369
1353
|
|
|
1370
1354
|
// src/styles/utils.tsx
|
|
1371
1355
|
var import_react5 = require("@emotion/react");
|
|
@@ -3,16 +3,15 @@ import {
|
|
|
3
3
|
CollapsingContainer,
|
|
4
4
|
StyledCollapsible,
|
|
5
5
|
StyledCollapsibleButton
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-EEFNW7NS.js";
|
|
7
7
|
import "../chunk-3XSQV5U4.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-FCZJILMW.js";
|
|
9
|
+
import "../chunk-RWIZ7Q74.js";
|
|
10
10
|
import "../chunk-LAMQKQU3.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-JK4BP73A.js";
|
|
12
12
|
import "../chunk-2VBDEO6M.js";
|
|
13
13
|
import "../chunk-E4EXM4SY.js";
|
|
14
14
|
import "../chunk-JSGRNWSB.js";
|
|
15
|
-
import "../chunk-CLU2FRJZ.js";
|
|
16
15
|
import "../chunk-CIGAQ47A.js";
|
|
17
16
|
export {
|
|
18
17
|
Collapsible,
|
|
@@ -80,7 +80,6 @@ var import_react5 = require("react");
|
|
|
80
80
|
// src/styles/common.tsx
|
|
81
81
|
var import_react4 = require("@emotion/react");
|
|
82
82
|
var import_styled = __toESM(require("@emotion/styled"), 1);
|
|
83
|
-
var import_react_tooltip = require("react-tooltip");
|
|
84
83
|
|
|
85
84
|
// src/styles/breakpoints.tsx
|
|
86
85
|
var import_react = require("@emotion/react");
|
|
@@ -1286,59 +1285,47 @@ function hexToRGB(hex) {
|
|
|
1286
1285
|
] : [0, 0, 0];
|
|
1287
1286
|
}
|
|
1288
1287
|
|
|
1289
|
-
// src/styles/z-index.tsx
|
|
1290
|
-
var z = {
|
|
1291
|
-
card: 1,
|
|
1292
|
-
fieldError: 1,
|
|
1293
|
-
textInput: 2,
|
|
1294
|
-
select: 3,
|
|
1295
|
-
selectFocused: 4,
|
|
1296
|
-
walletActionPreviewTopGradient: 1,
|
|
1297
|
-
headerContainer: 99,
|
|
1298
|
-
smBanner: 99,
|
|
1299
|
-
headerTop: 100,
|
|
1300
|
-
navMenu: 100,
|
|
1301
|
-
smNavMenu: 100,
|
|
1302
|
-
navAction: 101,
|
|
1303
|
-
smNavAction: 100,
|
|
1304
|
-
// keep under navDropdown
|
|
1305
|
-
tooltip: 160,
|
|
1306
|
-
notificationBanner: 170,
|
|
1307
|
-
qrReaderVideo: 180,
|
|
1308
|
-
qrReaderOverlay: 181,
|
|
1309
|
-
modalOverlay: 190,
|
|
1310
|
-
modalContainer: 191,
|
|
1311
|
-
dropdown: 192,
|
|
1312
|
-
toast: 200
|
|
1313
|
-
};
|
|
1314
|
-
|
|
1315
1288
|
// src/styles/common.tsx
|
|
1316
1289
|
var rootFontSizePx = 12;
|
|
1317
1290
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
`
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
`;
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
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);
|
|
1342
1329
|
var standardCardShadow = import_react4.css`
|
|
1343
1330
|
box-shadow:
|
|
1344
1331
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
|
@@ -1358,9 +1345,6 @@ var Subtext = import_styled.default.div`
|
|
|
1358
1345
|
var darkGradientBg = import_react4.css`
|
|
1359
1346
|
background: ${darkGradient};
|
|
1360
1347
|
`;
|
|
1361
|
-
var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
|
|
1362
|
-
z-index: ${z.modalOverlay};
|
|
1363
|
-
`;
|
|
1364
1348
|
|
|
1365
1349
|
// src/utils/strings.tsx
|
|
1366
1350
|
function isString(str) {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ContentTable,
|
|
3
3
|
StyledContentTable
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-XP2MX2AA.js";
|
|
5
|
+
import "../chunk-RWIZ7Q74.js";
|
|
6
6
|
import "../chunk-LAMQKQU3.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-JK4BP73A.js";
|
|
8
8
|
import "../chunk-2VBDEO6M.js";
|
|
9
9
|
import "../chunk-E4EXM4SY.js";
|
|
10
10
|
import "../chunk-JSGRNWSB.js";
|
|
11
|
-
import "../chunk-CLU2FRJZ.js";
|
|
12
11
|
import "../chunk-CIGAQ47A.js";
|
|
13
12
|
export {
|
|
14
13
|
ContentTable,
|