@lightsparkdev/ui 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -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/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
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export { Badge } from './Badge.cjs';
|
|
2
2
|
export { Button, ButtonProps, ButtonSelector, StyledButton } from './Button.cjs';
|
|
3
3
|
export { ButtonRow, ButtonRowContainer, ButtonRowProps } from './ButtonRow.cjs';
|
|
4
|
+
export { CardPage, CardPageContent, CardPageFullContent, CardPageFullWidth, CardPageRightContentInner, CardPageSubtitle } from './CardPage.cjs';
|
|
4
5
|
export { Collapsible } from './Collapsible.cjs';
|
|
5
6
|
export { CommandKey } from './CommandKey.cjs';
|
|
6
7
|
export { CopyToClipboardButton } from './CopyToClipboardButton.cjs';
|
|
7
8
|
export { CurrencyAmount, CurrencyIcon } from './CurrencyAmount.cjs';
|
|
9
|
+
export { GradientCardHeader } from './GradientCardHeader.cjs';
|
|
8
10
|
export { Icon, IconContainer } from './Icon.cjs';
|
|
9
11
|
export { LightTooltip } from './LightTooltip.cjs';
|
|
10
12
|
export { LightboxImage } from './LightboxImage.cjs';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export { Badge } from './Badge.js';
|
|
2
2
|
export { Button, ButtonProps, ButtonSelector, StyledButton } from './Button.js';
|
|
3
3
|
export { ButtonRow, ButtonRowContainer, ButtonRowProps } from './ButtonRow.js';
|
|
4
|
+
export { CardPage, CardPageContent, CardPageFullContent, CardPageFullWidth, CardPageRightContentInner, CardPageSubtitle } from './CardPage.js';
|
|
4
5
|
export { Collapsible } from './Collapsible.js';
|
|
5
6
|
export { CommandKey } from './CommandKey.js';
|
|
6
7
|
export { CopyToClipboardButton } from './CopyToClipboardButton.js';
|
|
7
8
|
export { CurrencyAmount, CurrencyIcon } from './CurrencyAmount.js';
|
|
9
|
+
export { GradientCardHeader } from './GradientCardHeader.js';
|
|
8
10
|
export { Icon, IconContainer } from './Icon.js';
|
|
9
11
|
export { LightTooltip } from './LightTooltip.js';
|
|
10
12
|
export { LightboxImage } from './LightboxImage.js';
|
package/dist/components/index.js
CHANGED
|
@@ -1,74 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Modal
|
|
3
|
+
} from "../chunk-NM7UW54G.js";
|
|
4
|
+
import "../chunk-VE7J2N47.js";
|
|
5
|
+
import "../chunk-NBCCPGA4.js";
|
|
6
|
+
import {
|
|
7
|
+
ProgressBar
|
|
8
|
+
} from "../chunk-E3AOYBY5.js";
|
|
1
9
|
import {
|
|
2
10
|
SecretContainer
|
|
3
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-7T36JGTC.js";
|
|
4
12
|
import {
|
|
5
13
|
TextIconAligner
|
|
6
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-5POPBNPS.js";
|
|
15
|
+
import {
|
|
16
|
+
CopyToClipboardButton
|
|
17
|
+
} from "../chunk-7C4MHI6Q.js";
|
|
7
18
|
import {
|
|
8
19
|
CurrencyAmount,
|
|
9
20
|
CurrencyIcon
|
|
10
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-XZR237JJ.js";
|
|
11
22
|
import {
|
|
12
23
|
Pill
|
|
13
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-A4FQBEYU.js";
|
|
25
|
+
import {
|
|
26
|
+
GradientCardHeader
|
|
27
|
+
} from "../chunk-IPAXAP6K.js";
|
|
14
28
|
import {
|
|
15
29
|
LightboxImage
|
|
16
30
|
} from "../chunk-Z5TPS2BO.js";
|
|
17
31
|
import {
|
|
18
32
|
LightsparkProvider
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-H3RW6JSU.js";
|
|
34
|
+
import "../chunk-KMR5C25B.js";
|
|
21
35
|
import "../chunk-IJVWYT5G.js";
|
|
22
|
-
import {
|
|
23
|
-
Modal
|
|
24
|
-
} from "../chunk-DAVVD7YE.js";
|
|
25
|
-
import "../chunk-VE7J2N47.js";
|
|
26
|
-
import "../chunk-NBCCPGA4.js";
|
|
27
|
-
import {
|
|
28
|
-
ProgressBar
|
|
29
|
-
} from "../chunk-36C653MV.js";
|
|
30
36
|
import {
|
|
31
37
|
Badge
|
|
32
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-DQRN4E5G.js";
|
|
39
|
+
import {
|
|
40
|
+
CardPage,
|
|
41
|
+
CardPageContent,
|
|
42
|
+
CardPageFullContent,
|
|
43
|
+
CardPageFullWidth,
|
|
44
|
+
CardPageRightContentInner,
|
|
45
|
+
CardPageSubtitle
|
|
46
|
+
} from "../chunk-PBRN7MJY.js";
|
|
47
|
+
import "../chunk-P3EUPXFA.js";
|
|
33
48
|
import {
|
|
34
49
|
ButtonRow,
|
|
35
50
|
ButtonRowContainer
|
|
36
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-NFSAJ5GJ.js";
|
|
37
52
|
import {
|
|
38
53
|
Button,
|
|
39
54
|
ButtonSelector,
|
|
40
55
|
StyledButton
|
|
41
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-ZANLDY2W.js";
|
|
42
57
|
import "../chunk-OGSDZTHM.js";
|
|
43
58
|
import "../chunk-YMNSXZ5D.js";
|
|
44
59
|
import {
|
|
45
60
|
Loading,
|
|
46
61
|
LoadingWrapper
|
|
47
|
-
} from "../chunk-
|
|
62
|
+
} from "../chunk-J4FJQ3FN.js";
|
|
63
|
+
import {
|
|
64
|
+
UnstyledButton
|
|
65
|
+
} from "../chunk-3GS5EFXV.js";
|
|
66
|
+
import {
|
|
67
|
+
LightTooltip
|
|
68
|
+
} from "../chunk-3EVAP5JT.js";
|
|
69
|
+
import "../chunk-55OQPFLF.js";
|
|
48
70
|
import {
|
|
49
71
|
Collapsible
|
|
50
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-EEFNW7NS.js";
|
|
51
73
|
import "../chunk-3XSQV5U4.js";
|
|
52
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-FCZJILMW.js";
|
|
53
75
|
import {
|
|
54
76
|
CommandKey
|
|
55
77
|
} from "../chunk-WOR7J4KZ.js";
|
|
56
|
-
import {
|
|
57
|
-
CopyToClipboardButton
|
|
58
|
-
} from "../chunk-UWN53KLJ.js";
|
|
59
|
-
import {
|
|
60
|
-
UnstyledButton
|
|
61
|
-
} from "../chunk-4KWTXZRY.js";
|
|
62
|
-
import {
|
|
63
|
-
LightTooltip
|
|
64
|
-
} from "../chunk-NRXJA2PM.js";
|
|
65
|
-
import "../chunk-55OQPFLF.js";
|
|
66
78
|
import {
|
|
67
79
|
Icon,
|
|
68
80
|
IconContainer
|
|
69
|
-
} from "../chunk-
|
|
81
|
+
} from "../chunk-RWIZ7Q74.js";
|
|
70
82
|
import "../chunk-LAMQKQU3.js";
|
|
71
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-JK4BP73A.js";
|
|
72
84
|
import "../chunk-2VBDEO6M.js";
|
|
73
85
|
import "../chunk-E4EXM4SY.js";
|
|
74
86
|
import "../chunk-JSGRNWSB.js";
|
|
@@ -79,11 +91,18 @@ export {
|
|
|
79
91
|
ButtonRow,
|
|
80
92
|
ButtonRowContainer,
|
|
81
93
|
ButtonSelector,
|
|
94
|
+
CardPage,
|
|
95
|
+
CardPageContent,
|
|
96
|
+
CardPageFullContent,
|
|
97
|
+
CardPageFullWidth,
|
|
98
|
+
CardPageRightContentInner,
|
|
99
|
+
CardPageSubtitle,
|
|
82
100
|
Collapsible,
|
|
83
101
|
CommandKey,
|
|
84
102
|
CopyToClipboardButton,
|
|
85
103
|
CurrencyAmount,
|
|
86
104
|
CurrencyIcon,
|
|
105
|
+
GradientCardHeader,
|
|
87
106
|
Icon,
|
|
88
107
|
IconContainer,
|
|
89
108
|
LightTooltip,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/icons/ArrowCornerDownRight.tsx
|
|
21
|
+
var ArrowCornerDownRight_exports = {};
|
|
22
|
+
__export(ArrowCornerDownRight_exports, {
|
|
23
|
+
default: () => ArrowCornerDownRight_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(ArrowCornerDownRight_exports);
|
|
26
|
+
var import_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
27
|
+
function ArrowCornerDownRight() {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
29
|
+
"svg",
|
|
30
|
+
{
|
|
31
|
+
width: "16",
|
|
32
|
+
height: "16",
|
|
33
|
+
viewBox: "0 0 16 16",
|
|
34
|
+
fill: "none",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
"path",
|
|
38
|
+
{
|
|
39
|
+
d: "M2.66699 3.3335V10.0002H13.3337M13.3337 10.0002L10.667 7.3335M13.3337 10.0002L10.667 12.6668",
|
|
40
|
+
stroke: "currentColor",
|
|
41
|
+
strokeWidth: "1.5",
|
|
42
|
+
strokeLinecap: "round",
|
|
43
|
+
strokeLinejoin: "round"
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
var ArrowCornerDownRight_default = ArrowCornerDownRight;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "../chunk-CIGAQ47A.js";
|
|
2
|
+
|
|
3
|
+
// src/icons/ArrowCornerDownRight.tsx
|
|
4
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
5
|
+
function ArrowCornerDownRight() {
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
width: "16",
|
|
10
|
+
height: "16",
|
|
11
|
+
viewBox: "0 0 16 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
children: /* @__PURE__ */ jsx(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M2.66699 3.3335V10.0002H13.3337M13.3337 10.0002L10.667 7.3335M13.3337 10.0002L10.667 12.6668",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "1.5",
|
|
20
|
+
strokeLinecap: "round",
|
|
21
|
+
strokeLinejoin: "round"
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
var ArrowCornerDownRight_default = ArrowCornerDownRight;
|
|
28
|
+
export {
|
|
29
|
+
ArrowCornerDownRight_default as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/icons/Sort.tsx
|
|
21
|
+
var Sort_exports = {};
|
|
22
|
+
__export(Sort_exports, {
|
|
23
|
+
default: () => Sort_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(Sort_exports);
|
|
26
|
+
var import_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
27
|
+
function Sort() {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
29
|
+
"svg",
|
|
30
|
+
{
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
width: "12",
|
|
33
|
+
height: "12",
|
|
34
|
+
viewBox: "0 0 12 12",
|
|
35
|
+
fill: "none",
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
"path",
|
|
38
|
+
{
|
|
39
|
+
d: "M1.5 2.5H10.5M4.5 9.5H7.5M3 6H9",
|
|
40
|
+
stroke: "currentColor",
|
|
41
|
+
strokeWidth: "1.5",
|
|
42
|
+
strokeLinecap: "square"
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
var Sort_default = Sort;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "../chunk-CIGAQ47A.js";
|
|
2
|
+
|
|
3
|
+
// src/icons/Sort.tsx
|
|
4
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
5
|
+
function Sort() {
|
|
6
|
+
return /* @__PURE__ */ jsx(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "12",
|
|
11
|
+
height: "12",
|
|
12
|
+
viewBox: "0 0 12 12",
|
|
13
|
+
fill: "none",
|
|
14
|
+
children: /* @__PURE__ */ jsx(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M1.5 2.5H10.5M4.5 9.5H7.5M3 6H9",
|
|
18
|
+
stroke: "currentColor",
|
|
19
|
+
strokeWidth: "1.5",
|
|
20
|
+
strokeLinecap: "square"
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
var Sort_default = Sort;
|
|
27
|
+
export {
|
|
28
|
+
Sort_default as default
|
|
29
|
+
};
|
package/dist/icons/index.cjs
CHANGED
|
@@ -1287,30 +1287,44 @@ function hexToRGB(hex) {
|
|
|
1287
1287
|
// src/styles/common.tsx
|
|
1288
1288
|
var rootFontSizePx = 12;
|
|
1289
1289
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
`
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
`;
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
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);
|
|
1314
1328
|
var standardCardShadow = import_react4.css`
|
|
1315
1329
|
box-shadow:
|
|
1316
1330
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
package/dist/icons/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Icon,
|
|
3
3
|
IconContainer
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RWIZ7Q74.js";
|
|
5
5
|
import "../chunk-LAMQKQU3.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/common.cjs
CHANGED
|
@@ -55,7 +55,6 @@ __export(common_exports, {
|
|
|
55
55
|
headingContentMarginPx: () => headingContentMarginPx,
|
|
56
56
|
mcBold: () => mcBold,
|
|
57
57
|
mcBoldStyled: () => mcBoldStyled,
|
|
58
|
-
minSmMaxLgContentInset: () => minSmMaxLgContentInset,
|
|
59
58
|
outlineOffset: () => outlineOffset,
|
|
60
59
|
overlaySurface: () => overlaySurface,
|
|
61
60
|
overlaySurfaceBorderColor: () => overlaySurfaceBorderColor,
|
|
@@ -63,13 +62,9 @@ __export(common_exports, {
|
|
|
63
62
|
pageBorderRadiusPx: () => pageBorderRadiusPx,
|
|
64
63
|
rootFontSizePx: () => rootFontSizePx,
|
|
65
64
|
rootFontSizeRems: () => rootFontSizeRems,
|
|
66
|
-
smContentInset: () => smContentInset,
|
|
67
65
|
standardBorderRadius: () => standardBorderRadius,
|
|
68
66
|
standardCardShadow: () => standardCardShadow,
|
|
69
67
|
standardContentInset: () => standardContentInset,
|
|
70
|
-
standardContentInsetMdPx: () => standardContentInsetMdPx,
|
|
71
|
-
standardContentInsetPx: () => standardContentInsetPx,
|
|
72
|
-
standardContentInsetSmPx: () => standardContentInsetSmPx,
|
|
73
68
|
standardFocusOutline: () => standardFocusOutline,
|
|
74
69
|
standardLineHeightEms: () => standardLineHeightEms,
|
|
75
70
|
subtext: () => subtext
|
|
@@ -1291,9 +1286,44 @@ var rootFontSizePx = 12;
|
|
|
1291
1286
|
var rootFontSizeRems = rootFontSizePx / 16;
|
|
1292
1287
|
var standardLineHeightEms = 1.21;
|
|
1293
1288
|
var headingContentMarginPx = 30;
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
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);
|
|
1297
1327
|
var cardBorderRadiusPx = 16;
|
|
1298
1328
|
var standardBorderRadius = (radius) => {
|
|
1299
1329
|
const borderRadiusPx = Array.isArray(radius) ? radius.map((r) => `${r}px`).join(" ") : `${radius}px`;
|
|
@@ -1301,27 +1331,6 @@ var standardBorderRadius = (radius) => {
|
|
|
1301
1331
|
border-radius: ${borderRadiusPx};
|
|
1302
1332
|
`;
|
|
1303
1333
|
};
|
|
1304
|
-
var smContentInset = import_react4.css`
|
|
1305
|
-
${bp.sm(`
|
|
1306
|
-
margin-left: auto;
|
|
1307
|
-
margin-right: auto;
|
|
1308
|
-
width: calc(100% - ${standardContentInsetSmPx * 2}px);
|
|
1309
|
-
`)}
|
|
1310
|
-
`;
|
|
1311
|
-
var minSmMaxLgContentInset = import_react4.css`
|
|
1312
|
-
${bp.minSmMaxLg(`
|
|
1313
|
-
width: calc(100% - ${standardContentInsetMdPx * 2}px);
|
|
1314
|
-
`)}
|
|
1315
|
-
`;
|
|
1316
|
-
var standardContentInset = import_react4.css`
|
|
1317
|
-
margin-left: auto;
|
|
1318
|
-
margin-right: auto;
|
|
1319
|
-
width: calc(100% - ${standardContentInsetPx * 2}px);
|
|
1320
|
-
max-width: 1280px;
|
|
1321
|
-
|
|
1322
|
-
${smContentInset}
|
|
1323
|
-
${minSmMaxLgContentInset}
|
|
1324
|
-
`;
|
|
1325
1334
|
var standardCardShadow = import_react4.css`
|
|
1326
1335
|
box-shadow:
|
|
1327
1336
|
0px 4px 10px 0px rgba(0, 0, 0, 0.08),
|
|
@@ -1399,7 +1408,6 @@ var mcBoldStyled = ({ theme }) => mcBold(theme);
|
|
|
1399
1408
|
headingContentMarginPx,
|
|
1400
1409
|
mcBold,
|
|
1401
1410
|
mcBoldStyled,
|
|
1402
|
-
minSmMaxLgContentInset,
|
|
1403
1411
|
outlineOffset,
|
|
1404
1412
|
overlaySurface,
|
|
1405
1413
|
overlaySurfaceBorderColor,
|
|
@@ -1407,13 +1415,9 @@ var mcBoldStyled = ({ theme }) => mcBold(theme);
|
|
|
1407
1415
|
pageBorderRadiusPx,
|
|
1408
1416
|
rootFontSizePx,
|
|
1409
1417
|
rootFontSizeRems,
|
|
1410
|
-
smContentInset,
|
|
1411
1418
|
standardBorderRadius,
|
|
1412
1419
|
standardCardShadow,
|
|
1413
1420
|
standardContentInset,
|
|
1414
|
-
standardContentInsetMdPx,
|
|
1415
|
-
standardContentInsetPx,
|
|
1416
|
-
standardContentInsetSmPx,
|
|
1417
1421
|
standardFocusOutline,
|
|
1418
1422
|
standardLineHeightEms,
|
|
1419
1423
|
subtext
|
package/dist/styles/common.d.cts
CHANGED
|
@@ -10,17 +10,20 @@ declare const rootFontSizePx = 12;
|
|
|
10
10
|
declare const rootFontSizeRems: number;
|
|
11
11
|
declare const standardLineHeightEms = 1.21;
|
|
12
12
|
declare const headingContentMarginPx = 30;
|
|
13
|
-
declare const
|
|
14
|
-
|
|
15
|
-
|
|
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
|
+
};
|
|
16
22
|
declare const standardBorderRadiusPx: readonly [0, 4, 8, 12, 16];
|
|
17
23
|
type StandardBorderRadius = (typeof standardBorderRadiusPx)[number];
|
|
18
24
|
declare const cardBorderRadiusPx = 16;
|
|
19
25
|
type BorderRadiusArg = StandardBorderRadius | StandardBorderRadius[];
|
|
20
26
|
declare const standardBorderRadius: (radius: BorderRadiusArg) => string;
|
|
21
|
-
declare const smContentInset: _emotion_react.SerializedStyles;
|
|
22
|
-
declare const minSmMaxLgContentInset: _emotion_react.SerializedStyles;
|
|
23
|
-
declare const standardContentInset: _emotion_react.SerializedStyles;
|
|
24
27
|
declare const standardCardShadow: _emotion_react.SerializedStyles;
|
|
25
28
|
declare const pageBorderRadiusPx = 16;
|
|
26
29
|
declare const pageBorderRadius = "\n border-radius: 16px;\n";
|
|
@@ -48,4 +51,4 @@ declare const overlaySurface: ({ theme, important, }: WithTheme<{
|
|
|
48
51
|
declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
|
|
49
52
|
declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
|
|
50
53
|
|
|
51
|
-
export { Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled,
|
|
54
|
+
export { Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled, outlineOffset, overlaySurface, overlaySurfaceBorderColor, pageBorderRadius, pageBorderRadiusPx, rootFontSizePx, rootFontSizeRems, standardBorderRadius, standardCardShadow, standardContentInset, standardFocusOutline, standardLineHeightEms, subtext };
|
package/dist/styles/common.d.ts
CHANGED
|
@@ -10,17 +10,20 @@ declare const rootFontSizePx = 12;
|
|
|
10
10
|
declare const rootFontSizeRems: number;
|
|
11
11
|
declare const standardLineHeightEms = 1.21;
|
|
12
12
|
declare const headingContentMarginPx = 30;
|
|
13
|
-
declare const
|
|
14
|
-
|
|
15
|
-
|
|
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
|
+
};
|
|
16
22
|
declare const standardBorderRadiusPx: readonly [0, 4, 8, 12, 16];
|
|
17
23
|
type StandardBorderRadius = (typeof standardBorderRadiusPx)[number];
|
|
18
24
|
declare const cardBorderRadiusPx = 16;
|
|
19
25
|
type BorderRadiusArg = StandardBorderRadius | StandardBorderRadius[];
|
|
20
26
|
declare const standardBorderRadius: (radius: BorderRadiusArg) => string;
|
|
21
|
-
declare const smContentInset: _emotion_react.SerializedStyles;
|
|
22
|
-
declare const minSmMaxLgContentInset: _emotion_react.SerializedStyles;
|
|
23
|
-
declare const standardContentInset: _emotion_react.SerializedStyles;
|
|
24
27
|
declare const standardCardShadow: _emotion_react.SerializedStyles;
|
|
25
28
|
declare const pageBorderRadiusPx = 16;
|
|
26
29
|
declare const pageBorderRadius = "\n border-radius: 16px;\n";
|
|
@@ -48,4 +51,4 @@ declare const overlaySurface: ({ theme, important, }: WithTheme<{
|
|
|
48
51
|
declare const mcBold: (theme: Theme) => _emotion_react.SerializedStyles;
|
|
49
52
|
declare const mcBoldStyled: ({ theme }: ThemeProp) => _emotion_react.SerializedStyles;
|
|
50
53
|
|
|
51
|
-
export { Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled,
|
|
54
|
+
export { Subtext, cardBorderRadiusPx, darkGradientBg, delta, getFocusOutline, headingContentMarginPx, mcBold, mcBoldStyled, outlineOffset, overlaySurface, overlaySurfaceBorderColor, pageBorderRadius, pageBorderRadiusPx, rootFontSizePx, rootFontSizeRems, standardBorderRadius, standardCardShadow, standardContentInset, standardFocusOutline, standardLineHeightEms, subtext };
|
package/dist/styles/common.js
CHANGED
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
headingContentMarginPx,
|
|
8
8
|
mcBold,
|
|
9
9
|
mcBoldStyled,
|
|
10
|
-
minSmMaxLgContentInset,
|
|
11
10
|
outlineOffset,
|
|
12
11
|
overlaySurface,
|
|
13
12
|
overlaySurfaceBorderColor,
|
|
@@ -15,17 +14,13 @@ import {
|
|
|
15
14
|
pageBorderRadiusPx,
|
|
16
15
|
rootFontSizePx,
|
|
17
16
|
rootFontSizeRems,
|
|
18
|
-
smContentInset,
|
|
19
17
|
standardBorderRadius,
|
|
20
18
|
standardCardShadow,
|
|
21
19
|
standardContentInset,
|
|
22
|
-
standardContentInsetMdPx,
|
|
23
|
-
standardContentInsetPx,
|
|
24
|
-
standardContentInsetSmPx,
|
|
25
20
|
standardFocusOutline,
|
|
26
21
|
standardLineHeightEms,
|
|
27
22
|
subtext
|
|
28
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-JK4BP73A.js";
|
|
29
24
|
import "../chunk-2VBDEO6M.js";
|
|
30
25
|
import "../chunk-E4EXM4SY.js";
|
|
31
26
|
import "../chunk-JSGRNWSB.js";
|
|
@@ -39,7 +34,6 @@ export {
|
|
|
39
34
|
headingContentMarginPx,
|
|
40
35
|
mcBold,
|
|
41
36
|
mcBoldStyled,
|
|
42
|
-
minSmMaxLgContentInset,
|
|
43
37
|
outlineOffset,
|
|
44
38
|
overlaySurface,
|
|
45
39
|
overlaySurfaceBorderColor,
|
|
@@ -47,13 +41,9 @@ export {
|
|
|
47
41
|
pageBorderRadiusPx,
|
|
48
42
|
rootFontSizePx,
|
|
49
43
|
rootFontSizeRems,
|
|
50
|
-
smContentInset,
|
|
51
44
|
standardBorderRadius,
|
|
52
45
|
standardCardShadow,
|
|
53
46
|
standardContentInset,
|
|
54
|
-
standardContentInsetMdPx,
|
|
55
|
-
standardContentInsetPx,
|
|
56
|
-
standardContentInsetSmPx,
|
|
57
47
|
standardFocusOutline,
|
|
58
48
|
standardLineHeightEms,
|
|
59
49
|
subtext
|