@lightsparkdev/ui 0.0.6 → 0.0.8
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 +18 -0
- package/dist/{chunk-JYWYEOM6.js → chunk-2JM7UTAZ.js} +18 -5
- package/dist/{chunk-UO6U7AYM.js → chunk-2YB7653N.js} +1 -1
- package/dist/{chunk-RTUZVKPK.js → chunk-36C653MV.js} +1 -1
- package/dist/{chunk-IQFU7CM5.js → chunk-4KWTXZRY.js} +1 -1
- package/dist/{chunk-CLU2FRJZ.js → chunk-55OQPFLF.js} +1 -1
- package/dist/{chunk-3CZOYF3X.js → chunk-6FHLZM6N.js} +2 -2
- package/dist/{chunk-K7D7A34K.js → chunk-744FBGRP.js} +1 -1
- package/dist/{chunk-FKETYVPP.js → chunk-76Q4BK35.js} +87 -43
- package/dist/{chunk-NGS4OSWT.js → chunk-BAO4T4G5.js} +1 -1
- package/dist/{chunk-NH25O7PC.js → chunk-CW3W2VTZ.js} +1 -1
- package/dist/{chunk-G2PZZFJL.js → chunk-DAVVD7YE.js} +10 -10
- package/dist/{chunk-VBWTKANQ.js → chunk-FN5PM3HQ.js} +6 -6
- package/dist/{chunk-RFGKH3R6.js → chunk-HNVQIY5U.js} +0 -8
- package/dist/{chunk-I74XQIVV.js → chunk-MAMSU2XB.js} +3 -3
- package/dist/chunk-NRXJA2PM.js +67 -0
- package/dist/{chunk-M56R3RJ7.js → chunk-OGSDZTHM.js} +7 -3
- package/dist/chunk-SZVMKB4E.js +222 -0
- package/dist/chunk-U6XT5JKC.js +25 -0
- package/dist/{chunk-WWFDI534.js → chunk-UWN53KLJ.js} +13 -6
- package/dist/{chunk-TAI352I3.js → chunk-VE7J2N47.js} +1 -1
- package/dist/{chunk-NZJCJJH5.js → chunk-VHW2KROZ.js} +1 -1
- package/dist/{chunk-N2RDQJQ5.js → chunk-WTO7C7WA.js} +1 -1
- package/dist/{chunk-23SR7TFO.js → chunk-XAZ6NZ6I.js} +1 -1
- package/dist/chunk-YPB5SA65.js +163 -0
- package/dist/{chunk-SVQELXFK.js → chunk-Z5TPS2BO.js} +1 -1
- package/dist/{chunk-T33SBHYI.js → chunk-ZSUX6RLD.js} +3 -1
- package/dist/{chunk-2WYVO6B2.js → chunk-ZYHA6MJC.js} +1 -1
- package/dist/components/Badge.cjs +1332 -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 +197 -83
- 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 +212 -82
- 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/Collapsible.cjs +0 -30
- package/dist/components/Collapsible.js +4 -5
- package/dist/components/ContentTable.cjs +0 -30
- package/dist/components/ContentTable.js +3 -4
- package/dist/components/CopyToClipboardButton.cjs +123 -41
- package/dist/components/CopyToClipboardButton.js +6 -5
- package/dist/components/CurrencyAmount.cjs +0 -30
- package/dist/components/CurrencyAmount.js +3 -4
- package/dist/components/FileInput.cjs +1945 -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/Icon.cjs +0 -30
- package/dist/components/Icon.js +2 -3
- package/dist/components/LightTooltip.cjs +1414 -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 +3 -33
- package/dist/components/LightsparkProvider.js +3 -4
- package/dist/components/Loading.cjs +0 -30
- package/dist/components/Loading.js +3 -4
- package/dist/components/Modal.cjs +208 -114
- package/dist/components/Modal.js +12 -11
- package/dist/components/Pill.cjs +1703 -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 +0 -32
- package/dist/components/ProgressBar.js +2 -3
- package/dist/components/SecretContainer.cjs +124 -42
- package/dist/components/SecretContainer.js +7 -6
- package/dist/components/TextIconAligner.cjs +0 -30
- package/dist/components/TextIconAligner.js +3 -4
- package/dist/components/UnstyledButton.cjs +0 -30
- package/dist/components/UnstyledButton.js +2 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +0 -32
- package/dist/components/documentation/AnchorLinkHeader.js +3 -4
- package/dist/components/documentation/index.cjs +0 -32
- package/dist/components/documentation/index.js +3 -4
- package/dist/components/index.cjs +608 -327
- package/dist/components/index.d.cts +5 -1
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +37 -25
- 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/Upload.cjs +22 -11
- package/dist/icons/Upload.js +23 -12
- package/dist/icons/index.cjs +0 -30
- package/dist/icons/index.js +2 -3
- package/dist/router.cjs +7 -3
- package/dist/router.js +1 -1
- package/dist/styles/common.cjs +0 -32
- package/dist/styles/common.d.cts +1 -5
- package/dist/styles/common.d.ts +1 -5
- package/dist/styles/common.js +1 -4
- package/dist/styles/fields.cjs +65 -34
- package/dist/styles/fields.d.cts +8 -2
- package/dist/styles/fields.d.ts +8 -2
- package/dist/styles/fields.js +28 -164
- package/dist/styles/fonts/typography/Article.cjs +0 -30
- package/dist/styles/fonts/typography/Article.js +6 -7
- package/dist/styles/fonts/typography/index.cjs +0 -30
- package/dist/styles/fonts/typography/index.js +11 -12
- package/dist/styles/fonts/typographyTokens.d.cts +4 -1
- package/dist/styles/fonts/typographyTokens.d.ts +4 -1
- package/dist/styles/global.cjs +3 -33
- package/dist/styles/global.js +2 -3
- package/dist/styles/type.cjs +0 -30
- package/dist/styles/type.js +2 -3
- package/dist/styles/utils.cjs +0 -30
- 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 +5 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Badge } from './Badge.cjs';
|
|
1
2
|
export { Button, ButtonProps, ButtonSelector, StyledButton } from './Button.cjs';
|
|
2
3
|
export { ButtonRow, ButtonRowContainer, ButtonRowProps } from './ButtonRow.cjs';
|
|
3
4
|
export { Collapsible } from './Collapsible.cjs';
|
|
@@ -5,20 +6,23 @@ export { CommandKey } from './CommandKey.cjs';
|
|
|
5
6
|
export { CopyToClipboardButton } from './CopyToClipboardButton.cjs';
|
|
6
7
|
export { CurrencyAmount, CurrencyIcon } from './CurrencyAmount.cjs';
|
|
7
8
|
export { Icon, IconContainer } from './Icon.cjs';
|
|
9
|
+
export { LightTooltip } from './LightTooltip.cjs';
|
|
8
10
|
export { LightboxImage } from './LightboxImage.cjs';
|
|
9
11
|
export { LightsparkProvider } from './LightsparkProvider.cjs';
|
|
10
12
|
export { Loading, LoadingWrapper } from './Loading.cjs';
|
|
11
13
|
export { Modal } from './Modal.cjs';
|
|
14
|
+
export { Pill } from './Pill.cjs';
|
|
12
15
|
export { ProgressBar, ProgressBarProps } from './ProgressBar.cjs';
|
|
13
16
|
export { SecretContainer } from './SecretContainer.cjs';
|
|
14
17
|
export { TextIconAligner, TextIconAlignerProps } from './TextIconAligner.cjs';
|
|
15
18
|
export { UnstyledButton } from './UnstyledButton.cjs';
|
|
19
|
+
import '@emotion/react/jsx-runtime';
|
|
16
20
|
import '@emotion/styled';
|
|
17
21
|
import 'react';
|
|
18
|
-
import '@emotion/react/jsx-runtime';
|
|
19
22
|
import '@emotion/react';
|
|
20
23
|
import '../router.cjs';
|
|
21
24
|
import 'react-router-dom';
|
|
22
25
|
import '@apollo/client';
|
|
23
26
|
import '@lightsparkdev/core';
|
|
27
|
+
import 'react-tooltip';
|
|
24
28
|
import '../types/utils.cjs';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Badge } from './Badge.js';
|
|
1
2
|
export { Button, ButtonProps, ButtonSelector, StyledButton } from './Button.js';
|
|
2
3
|
export { ButtonRow, ButtonRowContainer, ButtonRowProps } from './ButtonRow.js';
|
|
3
4
|
export { Collapsible } from './Collapsible.js';
|
|
@@ -5,20 +6,23 @@ export { CommandKey } from './CommandKey.js';
|
|
|
5
6
|
export { CopyToClipboardButton } from './CopyToClipboardButton.js';
|
|
6
7
|
export { CurrencyAmount, CurrencyIcon } from './CurrencyAmount.js';
|
|
7
8
|
export { Icon, IconContainer } from './Icon.js';
|
|
9
|
+
export { LightTooltip } from './LightTooltip.js';
|
|
8
10
|
export { LightboxImage } from './LightboxImage.js';
|
|
9
11
|
export { LightsparkProvider } from './LightsparkProvider.js';
|
|
10
12
|
export { Loading, LoadingWrapper } from './Loading.js';
|
|
11
13
|
export { Modal } from './Modal.js';
|
|
14
|
+
export { Pill } from './Pill.js';
|
|
12
15
|
export { ProgressBar, ProgressBarProps } from './ProgressBar.js';
|
|
13
16
|
export { SecretContainer } from './SecretContainer.js';
|
|
14
17
|
export { TextIconAligner, TextIconAlignerProps } from './TextIconAligner.js';
|
|
15
18
|
export { UnstyledButton } from './UnstyledButton.js';
|
|
19
|
+
import '@emotion/react/jsx-runtime';
|
|
16
20
|
import '@emotion/styled';
|
|
17
21
|
import 'react';
|
|
18
|
-
import '@emotion/react/jsx-runtime';
|
|
19
22
|
import '@emotion/react';
|
|
20
23
|
import '../router.js';
|
|
21
24
|
import 'react-router-dom';
|
|
22
25
|
import '@apollo/client';
|
|
23
26
|
import '@lightsparkdev/core';
|
|
27
|
+
import 'react-tooltip';
|
|
24
28
|
import '../types/utils.js';
|
package/dist/components/index.js
CHANGED
|
@@ -1,70 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SecretContainer
|
|
3
|
+
} from "../chunk-6FHLZM6N.js";
|
|
4
|
+
import {
|
|
5
|
+
TextIconAligner
|
|
6
|
+
} from "../chunk-WTO7C7WA.js";
|
|
7
|
+
import {
|
|
8
|
+
CurrencyAmount,
|
|
9
|
+
CurrencyIcon
|
|
10
|
+
} from "../chunk-XAZ6NZ6I.js";
|
|
11
|
+
import {
|
|
12
|
+
Pill
|
|
13
|
+
} from "../chunk-YPB5SA65.js";
|
|
1
14
|
import {
|
|
2
15
|
LightboxImage
|
|
3
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-Z5TPS2BO.js";
|
|
4
17
|
import {
|
|
5
18
|
LightsparkProvider
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-ZYHA6MJC.js";
|
|
20
|
+
import "../chunk-ZSUX6RLD.js";
|
|
8
21
|
import "../chunk-IJVWYT5G.js";
|
|
9
22
|
import {
|
|
10
23
|
Modal
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
24
|
+
} from "../chunk-DAVVD7YE.js";
|
|
25
|
+
import "../chunk-VE7J2N47.js";
|
|
13
26
|
import "../chunk-NBCCPGA4.js";
|
|
14
27
|
import {
|
|
15
28
|
ProgressBar
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import {
|
|
18
|
-
SecretContainer
|
|
19
|
-
} from "../chunk-3CZOYF3X.js";
|
|
29
|
+
} from "../chunk-36C653MV.js";
|
|
20
30
|
import {
|
|
21
|
-
|
|
22
|
-
} from "../chunk-
|
|
31
|
+
Badge
|
|
32
|
+
} from "../chunk-U6XT5JKC.js";
|
|
23
33
|
import {
|
|
24
34
|
ButtonRow,
|
|
25
35
|
ButtonRowContainer
|
|
26
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-2JM7UTAZ.js";
|
|
27
37
|
import {
|
|
28
38
|
Button,
|
|
29
39
|
ButtonSelector,
|
|
30
40
|
StyledButton
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-76Q4BK35.js";
|
|
42
|
+
import "../chunk-OGSDZTHM.js";
|
|
33
43
|
import "../chunk-YMNSXZ5D.js";
|
|
34
44
|
import {
|
|
35
45
|
Loading,
|
|
36
46
|
LoadingWrapper
|
|
37
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-BAO4T4G5.js";
|
|
38
48
|
import {
|
|
39
49
|
Collapsible
|
|
40
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-MAMSU2XB.js";
|
|
41
51
|
import "../chunk-3XSQV5U4.js";
|
|
42
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-2YB7653N.js";
|
|
43
53
|
import {
|
|
44
54
|
CommandKey
|
|
45
55
|
} from "../chunk-WOR7J4KZ.js";
|
|
46
56
|
import {
|
|
47
57
|
CopyToClipboardButton
|
|
48
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-UWN53KLJ.js";
|
|
49
59
|
import {
|
|
50
60
|
UnstyledButton
|
|
51
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-4KWTXZRY.js";
|
|
52
62
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
63
|
+
LightTooltip
|
|
64
|
+
} from "../chunk-NRXJA2PM.js";
|
|
65
|
+
import "../chunk-55OQPFLF.js";
|
|
56
66
|
import {
|
|
57
67
|
Icon,
|
|
58
68
|
IconContainer
|
|
59
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-VHW2KROZ.js";
|
|
60
70
|
import "../chunk-LAMQKQU3.js";
|
|
61
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-HNVQIY5U.js";
|
|
62
72
|
import "../chunk-2VBDEO6M.js";
|
|
63
73
|
import "../chunk-E4EXM4SY.js";
|
|
64
74
|
import "../chunk-JSGRNWSB.js";
|
|
65
|
-
import "../chunk-CLU2FRJZ.js";
|
|
66
75
|
import "../chunk-CIGAQ47A.js";
|
|
67
76
|
export {
|
|
77
|
+
Badge,
|
|
68
78
|
Button,
|
|
69
79
|
ButtonRow,
|
|
70
80
|
ButtonRowContainer,
|
|
@@ -76,11 +86,13 @@ export {
|
|
|
76
86
|
CurrencyIcon,
|
|
77
87
|
Icon,
|
|
78
88
|
IconContainer,
|
|
89
|
+
LightTooltip,
|
|
79
90
|
LightboxImage,
|
|
80
91
|
LightsparkProvider,
|
|
81
92
|
Loading,
|
|
82
93
|
LoadingWrapper,
|
|
83
94
|
Modal,
|
|
95
|
+
Pill,
|
|
84
96
|
ProgressBar,
|
|
85
97
|
SecretContainer,
|
|
86
98
|
StyledButton,
|
package/dist/icons/Copy.cjs
CHANGED
|
@@ -29,14 +29,15 @@ var Copy = () => {
|
|
|
29
29
|
"svg",
|
|
30
30
|
{
|
|
31
31
|
width: "100%",
|
|
32
|
-
viewBox: "0 0
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
33
|
fill: "none",
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
35
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
36
36
|
"path",
|
|
37
37
|
{
|
|
38
|
-
d: "
|
|
39
|
-
stroke: "currentColor"
|
|
38
|
+
d: "M16 9V3H3V16H9M21 21H7.99998V8H21V21Z",
|
|
39
|
+
stroke: "currentColor",
|
|
40
|
+
strokeWidth: "2"
|
|
40
41
|
}
|
|
41
42
|
)
|
|
42
43
|
}
|
package/dist/icons/Copy.js
CHANGED
|
@@ -7,14 +7,15 @@ var Copy = () => {
|
|
|
7
7
|
"svg",
|
|
8
8
|
{
|
|
9
9
|
width: "100%",
|
|
10
|
-
viewBox: "0 0
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
11
|
fill: "none",
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
13
|
children: /* @__PURE__ */ jsx(
|
|
14
14
|
"path",
|
|
15
15
|
{
|
|
16
|
-
d: "
|
|
17
|
-
stroke: "currentColor"
|
|
16
|
+
d: "M16 9V3H3V16H9M21 21H7.99998V8H21V21Z",
|
|
17
|
+
stroke: "currentColor",
|
|
18
|
+
strokeWidth: "2"
|
|
18
19
|
}
|
|
19
20
|
)
|
|
20
21
|
}
|
package/dist/icons/Download.cjs
CHANGED
|
@@ -24,22 +24,33 @@ __export(Download_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Download_exports);
|
|
26
26
|
var import_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
27
|
-
var Download = () => /* @__PURE__ */ (0, import_jsx_runtime.
|
|
27
|
+
var Download = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
28
28
|
"svg",
|
|
29
29
|
{
|
|
30
30
|
width: "100%",
|
|
31
|
-
viewBox: "0 0
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
32
|
fill: "none",
|
|
33
33
|
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
-
children:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
36
|
+
"path",
|
|
37
|
+
{
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M3.75 14C4.16421 14 4.5 14.3358 4.5 14.75V19.5H19.5V14.75C19.5 14.3358 19.8358 14 20.25 14C20.6642 14 21 14.3358 21 14.75V20.25C21 20.6642 20.6642 21 20.25 21H3.75C3.33579 21 3 20.6642 3 20.25V14.75C3 14.3358 3.33579 14 3.75 14Z",
|
|
41
|
+
fill: "currentColor"
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
45
|
+
"path",
|
|
46
|
+
{
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M12 15.75C12.1989 15.75 12.3897 15.671 12.5303 15.5303L16.0303 12.0303C16.3232 11.7374 16.3232 11.2626 16.0303 10.9697C15.7374 10.6768 15.2626 10.6768 14.9697 10.9697L12.75 13.1893V3.75C12.75 3.33579 12.4142 3 12 3C11.5858 3 11.25 3.33579 11.25 3.75V13.1893L9.03033 10.9697C8.73744 10.6768 8.26256 10.6768 7.96967 10.9697C7.67678 11.2626 7.67678 11.7374 7.96967 12.0303L11.4697 15.5303C11.6103 15.671 11.8011 15.75 12 15.75Z",
|
|
50
|
+
fill: "currentColor"
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
]
|
|
43
54
|
}
|
|
44
55
|
);
|
|
45
56
|
var Download_default = Download;
|
package/dist/icons/Download.js
CHANGED
|
@@ -1,23 +1,34 @@
|
|
|
1
1
|
import "../chunk-CIGAQ47A.js";
|
|
2
2
|
|
|
3
3
|
// src/icons/Download.tsx
|
|
4
|
-
import { jsx } from "@emotion/react/jsx-runtime";
|
|
5
|
-
var Download = () => /* @__PURE__ */
|
|
4
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
5
|
+
var Download = () => /* @__PURE__ */ jsxs(
|
|
6
6
|
"svg",
|
|
7
7
|
{
|
|
8
8
|
width: "100%",
|
|
9
|
-
viewBox: "0 0
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
10
|
fill: "none",
|
|
11
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
children:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ jsx(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M3.75 14C4.16421 14 4.5 14.3358 4.5 14.75V19.5H19.5V14.75C19.5 14.3358 19.8358 14 20.25 14C20.6642 14 21 14.3358 21 14.75V20.25C21 20.6642 20.6642 21 20.25 21H3.75C3.33579 21 3 20.6642 3 20.25V14.75C3 14.3358 3.33579 14 3.75 14Z",
|
|
19
|
+
fill: "currentColor"
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
"path",
|
|
24
|
+
{
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
clipRule: "evenodd",
|
|
27
|
+
d: "M12 15.75C12.1989 15.75 12.3897 15.671 12.5303 15.5303L16.0303 12.0303C16.3232 11.7374 16.3232 11.2626 16.0303 10.9697C15.7374 10.6768 15.2626 10.6768 14.9697 10.9697L12.75 13.1893V3.75C12.75 3.33579 12.4142 3 12 3C11.5858 3 11.25 3.33579 11.25 3.75V13.1893L9.03033 10.9697C8.73744 10.6768 8.26256 10.6768 7.96967 10.9697C7.67678 11.2626 7.67678 11.7374 7.96967 12.0303L11.4697 15.5303C11.6103 15.671 11.8011 15.75 12 15.75Z",
|
|
28
|
+
fill: "currentColor"
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
]
|
|
21
32
|
}
|
|
22
33
|
);
|
|
23
34
|
var Download_default = Download;
|
package/dist/icons/Upload.cjs
CHANGED
|
@@ -24,22 +24,33 @@ __export(Upload_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Upload_exports);
|
|
26
26
|
var import_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
27
|
-
var Upload = () => /* @__PURE__ */ (0, import_jsx_runtime.
|
|
27
|
+
var Upload = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
28
28
|
"svg",
|
|
29
29
|
{
|
|
30
30
|
width: "100%",
|
|
31
|
-
viewBox: "0 0
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
32
|
fill: "none",
|
|
33
33
|
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
-
children:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
36
|
+
"path",
|
|
37
|
+
{
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M12 3C12.1989 3 12.3897 3.07902 12.5303 3.21967L17.0303 7.71967C17.3232 8.01256 17.3232 8.48744 17.0303 8.78033C16.7374 9.07322 16.2626 9.07322 15.9697 8.78033L12.75 5.56066V15C12.75 15.4142 12.4142 15.75 12 15.75C11.5858 15.75 11.25 15.4142 11.25 15V5.56066L8.03033 8.78033C7.73744 9.07322 7.26256 9.07322 6.96967 8.78033C6.67678 8.48744 6.67678 8.01256 6.96967 7.71967L11.4697 3.21967C11.6103 3.07902 11.8011 3 12 3Z",
|
|
41
|
+
fill: "currentColor"
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
45
|
+
"path",
|
|
46
|
+
{
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M3.75 12C4.16421 12 4.5 12.3358 4.5 12.75V19.5H19.5V12.75C19.5 12.3358 19.8358 12 20.25 12C20.6642 12 21 12.3358 21 12.75V20.25C21 20.6642 20.6642 21 20.25 21H3.75C3.33579 21 3 20.6642 3 20.25V12.75C3 12.3358 3.33579 12 3.75 12Z",
|
|
50
|
+
fill: "currentColor"
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
]
|
|
43
54
|
}
|
|
44
55
|
);
|
|
45
56
|
var Upload_default = Upload;
|
package/dist/icons/Upload.js
CHANGED
|
@@ -1,23 +1,34 @@
|
|
|
1
1
|
import "../chunk-CIGAQ47A.js";
|
|
2
2
|
|
|
3
3
|
// src/icons/Upload.tsx
|
|
4
|
-
import { jsx } from "@emotion/react/jsx-runtime";
|
|
5
|
-
var Upload = () => /* @__PURE__ */
|
|
4
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
5
|
+
var Upload = () => /* @__PURE__ */ jsxs(
|
|
6
6
|
"svg",
|
|
7
7
|
{
|
|
8
8
|
width: "100%",
|
|
9
|
-
viewBox: "0 0
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
10
|
fill: "none",
|
|
11
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
children:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ jsx(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M12 3C12.1989 3 12.3897 3.07902 12.5303 3.21967L17.0303 7.71967C17.3232 8.01256 17.3232 8.48744 17.0303 8.78033C16.7374 9.07322 16.2626 9.07322 15.9697 8.78033L12.75 5.56066V15C12.75 15.4142 12.4142 15.75 12 15.75C11.5858 15.75 11.25 15.4142 11.25 15V5.56066L8.03033 8.78033C7.73744 9.07322 7.26256 9.07322 6.96967 8.78033C6.67678 8.48744 6.67678 8.01256 6.96967 7.71967L11.4697 3.21967C11.6103 3.07902 11.8011 3 12 3Z",
|
|
19
|
+
fill: "currentColor"
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
"path",
|
|
24
|
+
{
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
clipRule: "evenodd",
|
|
27
|
+
d: "M3.75 12C4.16421 12 4.5 12.3358 4.5 12.75V19.5H19.5V12.75C19.5 12.3358 19.8358 12 20.25 12C20.6642 12 21 12.3358 21 12.75V20.25C21 20.6642 20.6642 21 20.25 21H3.75C3.33579 21 3 20.6642 3 20.25V12.75C3 12.3358 3.33579 12 3.75 12Z",
|
|
28
|
+
fill: "currentColor"
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
]
|
|
21
32
|
}
|
|
22
33
|
);
|
|
23
34
|
var Upload_default = Upload;
|
package/dist/icons/index.cjs
CHANGED
|
@@ -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,32 +1284,6 @@ 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;
|
|
@@ -1357,9 +1330,6 @@ var Subtext = import_styled.default.div`
|
|
|
1357
1330
|
var darkGradientBg = import_react4.css`
|
|
1358
1331
|
background: ${darkGradient};
|
|
1359
1332
|
`;
|
|
1360
|
-
var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
|
|
1361
|
-
z-index: ${z.modalOverlay};
|
|
1362
|
-
`;
|
|
1363
1333
|
|
|
1364
1334
|
// src/utils/strings.tsx
|
|
1365
1335
|
function isString(str) {
|
package/dist/icons/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Icon,
|
|
3
3
|
IconContainer
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VHW2KROZ.js";
|
|
5
5
|
import "../chunk-LAMQKQU3.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-HNVQIY5U.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(
|
|
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
package/dist/styles/common.cjs
CHANGED
|
@@ -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,
|
|
@@ -78,7 +77,6 @@ __export(common_exports, {
|
|
|
78
77
|
module.exports = __toCommonJS(common_exports);
|
|
79
78
|
var import_react4 = require("@emotion/react");
|
|
80
79
|
var import_styled = __toESM(require("@emotion/styled"), 1);
|
|
81
|
-
var import_react_tooltip = require("react-tooltip");
|
|
82
80
|
|
|
83
81
|
// src/styles/breakpoints.tsx
|
|
84
82
|
var import_react = require("@emotion/react");
|
|
@@ -1288,32 +1286,6 @@ function hexToRGB(hex) {
|
|
|
1288
1286
|
] : [0, 0, 0];
|
|
1289
1287
|
}
|
|
1290
1288
|
|
|
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
1289
|
// src/styles/common.tsx
|
|
1318
1290
|
var rootFontSizePx = 12;
|
|
1319
1291
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
@@ -1392,9 +1364,6 @@ var Subtext = import_styled.default.div`
|
|
|
1392
1364
|
var darkGradientBg = import_react4.css`
|
|
1393
1365
|
background: ${darkGradient};
|
|
1394
1366
|
`;
|
|
1395
|
-
var StyledTooltip = (0, import_styled.default)(import_react_tooltip.Tooltip)`
|
|
1396
|
-
z-index: ${z.modalOverlay};
|
|
1397
|
-
`;
|
|
1398
1367
|
var overlaySurfaceBorderColor = ({
|
|
1399
1368
|
theme,
|
|
1400
1369
|
important = false
|
|
@@ -1422,7 +1391,6 @@ var mcBold = (theme) => import_react4.css`
|
|
|
1422
1391
|
var mcBoldStyled = ({ theme }) => mcBold(theme);
|
|
1423
1392
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1424
1393
|
0 && (module.exports = {
|
|
1425
|
-
StyledTooltip,
|
|
1426
1394
|
Subtext,
|
|
1427
1395
|
cardBorderRadiusPx,
|
|
1428
1396
|
darkGradientBg,
|
package/dist/styles/common.d.cts
CHANGED
|
@@ -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';
|
|
@@ -40,9 +39,6 @@ declare const Subtext: _emotion_styled.StyledComponent<{
|
|
|
40
39
|
as?: react.ElementType<any>;
|
|
41
40
|
}, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
42
41
|
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
42
|
declare const overlaySurfaceBorderColor: ({ theme, important, }: WithTheme<{
|
|
47
43
|
important?: boolean;
|
|
48
44
|
}>) => _emotion_react.SerializedStyles;
|
|
@@ -52,4 +48,4 @@ declare const overlaySurface: ({ theme, important, }: WithTheme<{
|
|
|
52
48
|
declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
|
|
53
49
|
declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
|
|
54
50
|
|
|
55
|
-
export {
|
|
51
|
+
export { 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 };
|
package/dist/styles/common.d.ts
CHANGED
|
@@ -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';
|
|
@@ -40,9 +39,6 @@ declare const Subtext: _emotion_styled.StyledComponent<{
|
|
|
40
39
|
as?: react.ElementType<any>;
|
|
41
40
|
}, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
42
41
|
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
42
|
declare const overlaySurfaceBorderColor: ({ theme, important, }: WithTheme<{
|
|
47
43
|
important?: boolean;
|
|
48
44
|
}>) => _emotion_react.SerializedStyles;
|
|
@@ -52,4 +48,4 @@ declare const overlaySurface: ({ theme, important, }: WithTheme<{
|
|
|
52
48
|
declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
|
|
53
49
|
declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
|
|
54
50
|
|
|
55
|
-
export {
|
|
51
|
+
export { 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 };
|
package/dist/styles/common.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
StyledTooltip,
|
|
3
2
|
Subtext,
|
|
4
3
|
cardBorderRadiusPx,
|
|
5
4
|
darkGradientBg,
|
|
@@ -26,14 +25,12 @@ import {
|
|
|
26
25
|
standardFocusOutline,
|
|
27
26
|
standardLineHeightEms,
|
|
28
27
|
subtext
|
|
29
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-HNVQIY5U.js";
|
|
30
29
|
import "../chunk-2VBDEO6M.js";
|
|
31
30
|
import "../chunk-E4EXM4SY.js";
|
|
32
31
|
import "../chunk-JSGRNWSB.js";
|
|
33
|
-
import "../chunk-CLU2FRJZ.js";
|
|
34
32
|
import "../chunk-CIGAQ47A.js";
|
|
35
33
|
export {
|
|
36
|
-
StyledTooltip,
|
|
37
34
|
Subtext,
|
|
38
35
|
cardBorderRadiusPx,
|
|
39
36
|
darkGradientBg,
|