@solostylist/ui-kit 1.0.30 → 1.0.32
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.
|
@@ -1,42 +1,51 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import { createTheme as
|
|
4
|
-
import { components as
|
|
5
|
-
import { dataDisplayCustomizations as
|
|
6
|
-
import { feedbackCustomizations as
|
|
7
|
-
import { inputsCustomizations as
|
|
8
|
-
import { navigationCustomizations as
|
|
9
|
-
import { surfacesCustomizations as
|
|
10
|
-
import { shape as
|
|
11
|
-
const
|
|
12
|
-
children:
|
|
13
|
-
disableCustomTheme:
|
|
14
|
-
themeComponents:
|
|
15
|
-
themeProviderProps:
|
|
1
|
+
import { j as m } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { createTheme as e, ThemeProvider as n } from "@mui/material";
|
|
4
|
+
import { components as c } from "../theme/components/components.js";
|
|
5
|
+
import { dataDisplayCustomizations as f } from "../theme/customizations/data-display.js";
|
|
6
|
+
import { feedbackCustomizations as u } from "../theme/customizations/feedback.js";
|
|
7
|
+
import { inputsCustomizations as p } from "../theme/customizations/inputs.js";
|
|
8
|
+
import { navigationCustomizations as l } from "../theme/customizations/navigation.js";
|
|
9
|
+
import { surfacesCustomizations as x } from "../theme/customizations/surfaces.js";
|
|
10
|
+
import { shape as z, shadows as g, typography as h, colorSchemes as j } from "../theme/theme-primitives.js";
|
|
11
|
+
const b = ({
|
|
12
|
+
children: a,
|
|
13
|
+
disableCustomTheme: t,
|
|
14
|
+
themeComponents: r,
|
|
15
|
+
themeProviderProps: o
|
|
16
16
|
}) => {
|
|
17
|
-
const i =
|
|
17
|
+
const i = s.useMemo(() => t ? {} : e({
|
|
18
18
|
// For more details about CSS variables configuration, see https://mui.com/material-ui/customization/css-theme-variables/configuration/
|
|
19
19
|
cssVariables: {
|
|
20
20
|
colorSchemeSelector: "data-mui-color-scheme",
|
|
21
21
|
cssVarPrefix: "s"
|
|
22
22
|
},
|
|
23
|
-
colorSchemes:
|
|
23
|
+
colorSchemes: j,
|
|
24
24
|
// Recently added in v6 for building light & dark mode app, see https://mui.com/material-ui/customization/palette/#color-schemes
|
|
25
|
-
typography:
|
|
26
|
-
shadows:
|
|
27
|
-
shape:
|
|
25
|
+
typography: h,
|
|
26
|
+
shadows: g,
|
|
27
|
+
shape: z,
|
|
28
28
|
components: {
|
|
29
|
+
...p,
|
|
30
|
+
...f,
|
|
29
31
|
...u,
|
|
32
|
+
...l,
|
|
33
|
+
...x,
|
|
30
34
|
...c,
|
|
31
|
-
...
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
...r
|
|
36
|
+
}
|
|
37
|
+
}), [t, r]);
|
|
38
|
+
return t ? /* @__PURE__ */ m.jsx(s.Fragment, { children: a }) : /* @__PURE__ */ m.jsx(
|
|
39
|
+
n,
|
|
40
|
+
{
|
|
41
|
+
disableTransitionOnChange: !0,
|
|
42
|
+
defaultMode: "dark",
|
|
43
|
+
...o,
|
|
44
|
+
theme: { ...i, ...o == null ? void 0 : o.theme },
|
|
45
|
+
children: a
|
|
36
46
|
}
|
|
37
|
-
|
|
38
|
-
return o ? /* @__PURE__ */ s.jsx(e.Fragment, { children: r }) : /* @__PURE__ */ s.jsx(n, { theme: i, disableTransitionOnChange: !0, defaultMode: "dark", ...m, children: r });
|
|
47
|
+
);
|
|
39
48
|
};
|
|
40
49
|
export {
|
|
41
|
-
|
|
50
|
+
b as default
|
|
42
51
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.32",
|
|
7
7
|
"description": "advanced ui kit for solostylist",
|
|
8
8
|
"private": false,
|
|
9
9
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@emotion/react": "^11.14.0",
|
|
32
32
|
"@emotion/styled": "^11.14.0",
|
|
33
33
|
"@mui/icons-material": "^7.0.2",
|
|
34
|
-
"@mui/lab": "7.0.0-beta.
|
|
34
|
+
"@mui/lab": "7.0.0-beta.13",
|
|
35
35
|
"@mui/material": "^7.0.2",
|
|
36
36
|
"@mui/utils": "^7.0.2",
|
|
37
37
|
"@tabler/icons-react": "^3.34.0",
|