@solostylist/ui-kit 1.0.172 → 1.0.174
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/dist/s-ai-tool-bar/s-ai-tool-bar.js +63 -63
- package/dist/s-breadcrumbs/s-breadcrumbs.js +2 -2
- package/dist/s-button-link/s-button-link.js +2 -2
- package/dist/s-category-card/s-category-card.js +2 -2
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +17 -17
- package/dist/s-countdown/s-count-box.js +2 -2
- package/dist/s-countdown/s-count-down.js +2 -2
- package/dist/s-error-layout/s-error-layout.js +2 -2
- package/dist/s-glow-button/s-glow-button.d.ts +3 -1
- package/dist/s-glow-button/s-glow-button.js +20 -17
- package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
- package/dist/s-select/s-select.js +20 -20
- package/dist/s-skeleton/s-skeleton.js +2 -2
- package/dist/s-stripe/s-stripe.js +2 -2
- package/dist/s-stripe/stripe-input.d.ts +0 -16
- package/dist/s-stripe/stripe-input.js +76 -35
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.js +2 -2
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-zoom-image/index.js +1 -1
- package/dist/s-zoom-image/s-zoom-image.js +2 -2
- package/dist/theme/components/button.d.ts +6 -0
- package/dist/theme/components/button.js +10 -8
- package/dist/theme/components/components.js +11 -9
- package/dist/theme/components/skeleton.d.ts +2 -0
- package/dist/theme/components/skeleton.js +10 -0
- package/dist/theme/customizations/inputs.js +8 -8
- package/dist/theme/theme-primitives.js +1 -1
- package/package.json +1 -1
|
@@ -1,42 +1,83 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { j as h } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import '../assets/stripe-input.css';const y = {
|
|
4
|
+
dark: {
|
|
5
|
+
text: "#ffffff",
|
|
6
|
+
// rgb(255, 255, 255) - palette.text.primary
|
|
7
|
+
textSecondary: "#94a0b8",
|
|
8
|
+
// hsl(220, 20%, 65%) - palette.text.secondary
|
|
9
|
+
placeholder: "#333b4d99",
|
|
10
|
+
// hsl(220, 20%, 35%) - palette.divider
|
|
11
|
+
error: "#910808"
|
|
12
|
+
// hsl(0, 90%, 30%) - palette.error.main
|
|
13
|
+
},
|
|
14
|
+
light: {
|
|
15
|
+
text: "#202124",
|
|
16
|
+
// rgb(32, 33, 36) - palette.text.primary
|
|
17
|
+
textSecondary: "#5e6B78",
|
|
18
|
+
// hsl(210, 12%, 42%) - palette.text.secondary
|
|
19
|
+
placeholder: "#c1c7cde6",
|
|
20
|
+
// hsl(210, 9%, 65%) - palette.divider
|
|
21
|
+
error: "#f50a1a"
|
|
22
|
+
// hsl(356, 92%, 50%) - palette.error.main
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
function S() {
|
|
26
|
+
return typeof window > "u" ? "dark" : document.documentElement.getAttribute("data-mui-color-scheme") || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
|
|
27
|
+
}
|
|
28
|
+
function c() {
|
|
29
|
+
return y[S()];
|
|
30
|
+
}
|
|
31
|
+
function d(t, n) {
|
|
32
|
+
return {
|
|
33
|
+
base: {
|
|
34
|
+
fontFamily: "Outfit, sans-serif",
|
|
35
|
+
lineHeight: "1.5",
|
|
36
|
+
color: n ? t.textSecondary : t.text,
|
|
37
|
+
"::placeholder": {
|
|
38
|
+
color: t.placeholder
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
invalid: {
|
|
42
|
+
color: t.error
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
const g = o.forwardRef(function(n, u) {
|
|
47
|
+
const { component: l, options: p, ...r } = n, [e, m] = o.useState(null);
|
|
48
|
+
o.useImperativeHandle(
|
|
49
|
+
u,
|
|
8
50
|
() => ({
|
|
9
|
-
focus: () =>
|
|
51
|
+
focus: () => e == null ? void 0 : e.focus()
|
|
10
52
|
}),
|
|
11
|
-
[
|
|
12
|
-
),
|
|
13
|
-
|
|
53
|
+
[e]
|
|
54
|
+
), o.useEffect(() => {
|
|
55
|
+
if (!e) return;
|
|
56
|
+
const b = () => {
|
|
57
|
+
const a = c();
|
|
58
|
+
e.update({
|
|
59
|
+
style: d(a, r.disabled)
|
|
60
|
+
});
|
|
61
|
+
}, s = new MutationObserver((a) => {
|
|
62
|
+
for (const i of a)
|
|
63
|
+
if (i.attributeName === "data-mui-color-scheme" || i.attributeName === "class" || i.attributeName === "style") {
|
|
64
|
+
requestAnimationFrame(b);
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
return s.observe(document.documentElement, { attributes: !0 }), () => s.disconnect();
|
|
69
|
+
}, [e, r.disabled]);
|
|
70
|
+
const f = c();
|
|
71
|
+
return /* @__PURE__ */ h.jsx(
|
|
72
|
+
l,
|
|
14
73
|
{
|
|
15
|
-
onReady:
|
|
74
|
+
onReady: m,
|
|
16
75
|
options: {
|
|
17
|
-
...
|
|
18
|
-
style:
|
|
19
|
-
|
|
20
|
-
fontFamily: "Outfit, sans-serif",
|
|
21
|
-
lineHeight: "1.5",
|
|
22
|
-
color: "rgb(255, 255, 255)",
|
|
23
|
-
...t.disabled && {
|
|
24
|
-
color: "rgba(255, 255, 255, 0.5)"
|
|
25
|
-
// for disabled state
|
|
26
|
-
},
|
|
27
|
-
"&::placeholder": {
|
|
28
|
-
color: l[600],
|
|
29
|
-
...t.disabled && {
|
|
30
|
-
color: "rgba(255, 255, 255, 0.5)"
|
|
31
|
-
// for disabled state
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
disabled: t.disabled
|
|
37
|
-
// Pass through the disabled state to Stripe Element
|
|
76
|
+
...p,
|
|
77
|
+
style: d(f, r.disabled),
|
|
78
|
+
disabled: r.disabled
|
|
38
79
|
},
|
|
39
|
-
...
|
|
80
|
+
...r
|
|
40
81
|
}
|
|
41
82
|
);
|
|
42
83
|
});
|
|
@@ -45,5 +86,5 @@ try {
|
|
|
45
86
|
} catch {
|
|
46
87
|
}
|
|
47
88
|
export {
|
|
48
|
-
|
|
89
|
+
g as default
|
|
49
90
|
};
|
|
@@ -57,11 +57,11 @@ const o = ({
|
|
|
57
57
|
};
|
|
58
58
|
o.displayName = "SThemeProvider";
|
|
59
59
|
try {
|
|
60
|
-
o.displayName = "SThemeProvider", o.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "SThemeProvider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"
|
|
60
|
+
o.displayName = "SThemeProvider", o.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "SThemeProvider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"light"' }, { value: '"dark"' }, { value: '"system"' }] } }, theme: { defaultValue: null, description: "Custom theme object to merge with internal theme", name: "theme", required: !1, type: { name: "Theme" } } } };
|
|
61
61
|
} catch {
|
|
62
62
|
}
|
|
63
63
|
try {
|
|
64
|
-
sthemeprovider.displayName = "sthemeprovider", sthemeprovider.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "sthemeprovider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"
|
|
64
|
+
sthemeprovider.displayName = "sthemeprovider", sthemeprovider.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "sthemeprovider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"light"' }, { value: '"dark"' }, { value: '"system"' }] } }, theme: { defaultValue: null, description: "Custom theme object to merge with internal theme", name: "theme", required: !1, type: { name: "Theme" } } } };
|
|
65
65
|
} catch {
|
|
66
66
|
}
|
|
67
67
|
export {
|
|
@@ -37,7 +37,7 @@ const M = m(/* @__PURE__ */ e.jsx("path", {
|
|
|
37
37
|
return /* @__PURE__ */ e.jsx(w, { ref: n, onClick: h, sx: d, children: u ? /* @__PURE__ */ e.jsx(v, {}) : /* @__PURE__ */ e.jsx(M, {}) });
|
|
38
38
|
};
|
|
39
39
|
try {
|
|
40
|
-
sthemeswitch.displayName = "sthemeswitch", sthemeswitch.__docgenInfo = { description: "", displayName: "sthemeswitch", props: { mode: { defaultValue: null, description: "", name: "mode", required: !1, type: { name: "enum", value: [{ value: '"
|
|
40
|
+
sthemeswitch.displayName = "sthemeswitch", sthemeswitch.__docgenInfo = { description: "", displayName: "sthemeswitch", props: { mode: { defaultValue: null, description: "", name: "mode", required: !1, type: { name: "enum", value: [{ value: '"light"' }, { value: '"dark"' }, { value: '"system"' }] } }, setMode: { defaultValue: null, description: "", name: "setMode", required: !1, type: { name: "((mode: SThemeMode) => void)" } }, sx: { defaultValue: null, description: "", name: "sx", required: !1, type: { name: "SxProps<Theme>" } } } };
|
|
41
41
|
} catch {
|
|
42
42
|
}
|
|
43
43
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SZoomImage as r } from "./s-zoom-image.js";
|
|
2
2
|
try {
|
|
3
|
-
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } },
|
|
3
|
+
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } }, alt: { defaultValue: null, description: "Alternative text for accessibility", name: "alt", required: !0, type: { name: "string" } }, src: { defaultValue: null, description: "Image source URL", name: "src", required: !0, type: { name: "string" } }, zoomScale: { defaultValue: { value: "1.2" }, description: "Scale factor to apply on zoom", name: "zoomScale", required: !1, type: { name: "number" } }, imgStyle: { defaultValue: null, description: "Custom styles applied to the image element", name: "imgStyle", required: !1, type: { name: "CSSProperties" } }, imgClassName: { defaultValue: null, description: "Custom class name for the image element", name: "imgClassName", required: !1, type: { name: "string" } }, skeletonVariant: { defaultValue: { value: "rounded" }, description: "Skeleton variant while loading", name: "skeletonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } } } };
|
|
4
4
|
} catch {
|
|
5
5
|
}
|
|
6
6
|
try {
|
|
@@ -84,11 +84,11 @@ const o = L.forwardRef(
|
|
|
84
84
|
);
|
|
85
85
|
o.displayName = "SZoomImage";
|
|
86
86
|
try {
|
|
87
|
-
o.displayName = "SZoomImage", o.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "SZoomImage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } },
|
|
87
|
+
o.displayName = "SZoomImage", o.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "SZoomImage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } }, alt: { defaultValue: null, description: "Alternative text for accessibility", name: "alt", required: !0, type: { name: "string" } }, src: { defaultValue: null, description: "Image source URL", name: "src", required: !0, type: { name: "string" } }, zoomScale: { defaultValue: { value: "1.2" }, description: "Scale factor to apply on zoom", name: "zoomScale", required: !1, type: { name: "number" } }, imgStyle: { defaultValue: null, description: "Custom styles applied to the image element", name: "imgStyle", required: !1, type: { name: "CSSProperties" } }, imgClassName: { defaultValue: null, description: "Custom class name for the image element", name: "imgClassName", required: !1, type: { name: "string" } }, skeletonVariant: { defaultValue: { value: "rounded" }, description: "Skeleton variant while loading", name: "skeletonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } } } };
|
|
88
88
|
} catch {
|
|
89
89
|
}
|
|
90
90
|
try {
|
|
91
|
-
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } },
|
|
91
|
+
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } }, alt: { defaultValue: null, description: "Alternative text for accessibility", name: "alt", required: !0, type: { name: "string" } }, src: { defaultValue: null, description: "Image source URL", name: "src", required: !0, type: { name: "string" } }, zoomScale: { defaultValue: { value: "1.2" }, description: "Scale factor to apply on zoom", name: "zoomScale", required: !1, type: { name: "number" } }, imgStyle: { defaultValue: null, description: "Custom styles applied to the image element", name: "imgStyle", required: !1, type: { name: "CSSProperties" } }, imgClassName: { defaultValue: null, description: "Custom class name for the image element", name: "imgClassName", required: !1, type: { name: "string" } }, skeletonVariant: { defaultValue: { value: "rounded" }, description: "Skeleton variant while loading", name: "skeletonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } } } };
|
|
92
92
|
} catch {
|
|
93
93
|
}
|
|
94
94
|
export {
|
|
@@ -1016,6 +1016,7 @@ export declare const MuiButton: {
|
|
|
1016
1016
|
backgroundColor: string;
|
|
1017
1017
|
color: string;
|
|
1018
1018
|
borderColor: string;
|
|
1019
|
+
opacity: number;
|
|
1019
1020
|
};
|
|
1020
1021
|
'&.MuiButton-loading': {
|
|
1021
1022
|
'& .MuiButton-loadingIndicator': {
|
|
@@ -1998,6 +1999,7 @@ export declare const MuiButton: {
|
|
|
1998
1999
|
backgroundColor: string;
|
|
1999
2000
|
color: string;
|
|
2000
2001
|
borderColor: string;
|
|
2002
|
+
opacity: number;
|
|
2001
2003
|
};
|
|
2002
2004
|
'&.MuiButton-loading': {
|
|
2003
2005
|
'& .MuiButton-loadingIndicator': {
|
|
@@ -2980,6 +2982,7 @@ export declare const MuiButton: {
|
|
|
2980
2982
|
backgroundColor: string;
|
|
2981
2983
|
color: string;
|
|
2982
2984
|
borderColor: string;
|
|
2985
|
+
opacity: number;
|
|
2983
2986
|
};
|
|
2984
2987
|
'&.MuiButton-loading': {
|
|
2985
2988
|
'& .MuiButton-loadingIndicator': {
|
|
@@ -3962,6 +3965,7 @@ export declare const MuiButton: {
|
|
|
3962
3965
|
backgroundColor: string;
|
|
3963
3966
|
color: string;
|
|
3964
3967
|
borderColor: string;
|
|
3968
|
+
opacity: number;
|
|
3965
3969
|
};
|
|
3966
3970
|
'&.MuiButton-loading': {
|
|
3967
3971
|
'& .MuiButton-loadingIndicator': {
|
|
@@ -4944,6 +4948,7 @@ export declare const MuiButton: {
|
|
|
4944
4948
|
backgroundColor: string;
|
|
4945
4949
|
color: string;
|
|
4946
4950
|
borderColor: string;
|
|
4951
|
+
opacity: number;
|
|
4947
4952
|
};
|
|
4948
4953
|
'&.MuiButton-loading': {
|
|
4949
4954
|
'& .MuiButton-loadingIndicator': {
|
|
@@ -5926,6 +5931,7 @@ export declare const MuiButton: {
|
|
|
5926
5931
|
backgroundColor: string;
|
|
5927
5932
|
color: string;
|
|
5928
5933
|
borderColor: string;
|
|
5934
|
+
opacity: number;
|
|
5929
5935
|
};
|
|
5930
5936
|
'&.MuiButton-loading': {
|
|
5931
5937
|
'& .MuiButton-loadingIndicator': {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { brand as u, lightBrand as e, purple as l, lightPurple as p, green as
|
|
1
|
+
import { brand as u, lightBrand as e, purple as l, lightPurple as p, green as c, lightGreen as d, red as v, lightRed as b, blue as g, lightBlue as y, orange as f, lightOrange as B } from "../theme-primitives.js";
|
|
2
2
|
const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n, r, i) => n === "text" || n === "outlined" ? i : r, s = (n, r, i, o) => ({
|
|
3
3
|
backgroundColor: a(r.variant, i[700]),
|
|
4
4
|
color: t(r.variant, i[50], i[500]),
|
|
@@ -11,12 +11,13 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
|
|
|
11
11
|
"&:active": { filter: "brightness(1.1)" },
|
|
12
12
|
"&.Mui-disabled": {
|
|
13
13
|
backgroundColor: a(r.variant, i[700]),
|
|
14
|
-
color: i[
|
|
15
|
-
borderColor: r.variant === "outlined" ? i[900] : "transparent"
|
|
14
|
+
color: i[50],
|
|
15
|
+
borderColor: r.variant === "outlined" ? i[900] : "transparent",
|
|
16
|
+
opacity: 0.5
|
|
16
17
|
},
|
|
17
18
|
"&.MuiButton-loading": {
|
|
18
19
|
"& .MuiButton-loadingIndicator": {
|
|
19
|
-
color: i[
|
|
20
|
+
color: i[50]
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
...n.applyStyles("dark", {
|
|
@@ -31,12 +32,13 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
|
|
|
31
32
|
"&:active": { filter: "brightness(1.1)" },
|
|
32
33
|
"&.Mui-disabled": {
|
|
33
34
|
backgroundColor: a(r.variant, o[800]),
|
|
34
|
-
color: o[
|
|
35
|
-
borderColor: r.variant === "outlined" ? o[900] : "transparent"
|
|
35
|
+
color: o[100],
|
|
36
|
+
borderColor: r.variant === "outlined" ? o[900] : "transparent",
|
|
37
|
+
opacity: 0.5
|
|
36
38
|
},
|
|
37
39
|
"&.MuiButton-loading": {
|
|
38
40
|
"& .MuiButton-loadingIndicator": {
|
|
39
|
-
color: o[
|
|
41
|
+
color: o[100]
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
})
|
|
@@ -99,7 +101,7 @@ const a = (n, r) => n === "text" || n === "outlined" ? "transparent" : r, t = (n
|
|
|
99
101
|
color: "success"
|
|
100
102
|
},
|
|
101
103
|
style: {
|
|
102
|
-
...s(n, r,
|
|
104
|
+
...s(n, r, d, c)
|
|
103
105
|
}
|
|
104
106
|
},
|
|
105
107
|
{
|
|
@@ -7,23 +7,25 @@ import { MuiContainer as p } from "./container.js";
|
|
|
7
7
|
import { MuiFormControl as u } from "./form-control.js";
|
|
8
8
|
import { MuiPopover as f } from "./popover.js";
|
|
9
9
|
import { MuiRating as M } from "./rating.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
10
|
+
import { MuiSkeleton as n } from "./skeleton.js";
|
|
11
|
+
import { MuiSlider as e } from "./slider.js";
|
|
12
|
+
import { MuiSvgIcon as a } from "./svg-icon.js";
|
|
13
|
+
import { MuiTooltip as l } from "./tooltip.js";
|
|
14
|
+
const I = {
|
|
14
15
|
MuiAvatar: r,
|
|
15
16
|
MuiRating: M,
|
|
16
|
-
MuiSlider:
|
|
17
|
-
MuiSvgIcon:
|
|
17
|
+
MuiSlider: e,
|
|
18
|
+
MuiSvgIcon: a,
|
|
18
19
|
MuiContainer: p,
|
|
19
20
|
MuiBackdrop: i,
|
|
20
21
|
MuiPopover: f,
|
|
21
22
|
MuiFormControl: u,
|
|
22
23
|
MuiChip: t,
|
|
23
24
|
MuiButton: m,
|
|
24
|
-
MuiTooltip:
|
|
25
|
-
MuiAlert: o
|
|
25
|
+
MuiTooltip: l,
|
|
26
|
+
MuiAlert: o,
|
|
27
|
+
MuiSkeleton: n
|
|
26
28
|
};
|
|
27
29
|
export {
|
|
28
|
-
|
|
30
|
+
I as components
|
|
29
31
|
};
|
|
@@ -2,7 +2,7 @@ import { j as i } from "../../jsx-runtime-OVHDjVDe.js";
|
|
|
2
2
|
import { c as l } from "../../createSvgIcon-DxwgGAVe.js";
|
|
3
3
|
import { brand as r, gray as e } from "../theme-primitives.js";
|
|
4
4
|
import { o as p } from "../../outlinedInputClasses-DM19xjo3.js";
|
|
5
|
-
import { g as
|
|
5
|
+
import { g as n } from "../../generateUtilityClasses-BtVDwGrk.js";
|
|
6
6
|
import { s } from "../../svgIconClasses-CBCi8U9g.js";
|
|
7
7
|
import { a as t } from "../../colorManipulator-ep5lERxB.js";
|
|
8
8
|
const u = l(/* @__PURE__ */ i.jsx("path", {
|
|
@@ -11,7 +11,7 @@ const u = l(/* @__PURE__ */ i.jsx("path", {
|
|
|
11
11
|
d: "M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
|
|
12
12
|
}), "CheckRounded"), b = l(/* @__PURE__ */ i.jsx("path", {
|
|
13
13
|
d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"
|
|
14
|
-
}), "RemoveRounded"), g =
|
|
14
|
+
}), "RemoveRounded"), g = n("MuiToggleButton", ["root", "disabled", "selected", "standard", "primary", "secondary", "sizeSmall", "sizeMedium", "sizeLarge", "fullWidth"]), d = n("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertical", "disabled", "grouped", "groupedHorizontal", "groupedVertical", "fullWidth", "firstButton", "lastButton", "middleButton"]), C = {
|
|
15
15
|
MuiButtonBase: {
|
|
16
16
|
defaultProps: {
|
|
17
17
|
disableTouchRipple: !0,
|
|
@@ -90,11 +90,11 @@ const u = l(/* @__PURE__ */ i.jsx("path", {
|
|
|
90
90
|
root: ({ theme: o }) => ({
|
|
91
91
|
borderRadius: "10px",
|
|
92
92
|
boxShadow: `0 4px 16px ${t(e[400], 0.2)}`,
|
|
93
|
-
[`& .${
|
|
93
|
+
[`& .${d.selected}`]: {
|
|
94
94
|
color: r[500]
|
|
95
95
|
},
|
|
96
96
|
...o.applyStyles("dark", {
|
|
97
|
-
[`& .${
|
|
97
|
+
[`& .${d.selected}`]: {
|
|
98
98
|
color: "#fff"
|
|
99
99
|
},
|
|
100
100
|
boxShadow: `0 4px 16px ${t(r[700], 0.5)}`
|
|
@@ -175,12 +175,12 @@ const u = l(/* @__PURE__ */ i.jsx("path", {
|
|
|
175
175
|
root: {
|
|
176
176
|
border: "none"
|
|
177
177
|
},
|
|
178
|
-
input: {
|
|
178
|
+
input: ({ theme: o }) => ({
|
|
179
179
|
"&::placeholder": {
|
|
180
|
-
opacity:
|
|
181
|
-
color:
|
|
180
|
+
opacity: 1,
|
|
181
|
+
color: (o.vars || o).palette.divider
|
|
182
182
|
}
|
|
183
|
-
}
|
|
183
|
+
})
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
MuiAutocomplete: {
|