@solostylist/ui-kit 2.0.7 → 2.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.
@@ -1,9 +1,23 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { Person as t } from "@mui/icons-material";
1
+ import { getSemanticActionTokens as e } from "./action-styles.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { Person as n } from "@mui/icons-material";
3
4
  //#region lib/theme/components/avatar.tsx
4
- var n = {
5
- defaultProps: { children: /* @__PURE__ */ e(t, { sx: { color: "text.primary" } }) },
6
- styleOverrides: { rounded: ({ theme: e }) => ({ borderRadius: e.radius.lg }) }
5
+ var r = {
6
+ defaultProps: { children: /* @__PURE__ */ t(n, {}) },
7
+ styleOverrides: {
8
+ colorDefault: ({ theme: t }) => {
9
+ let n = e(t, "primary");
10
+ return {
11
+ backgroundColor: n.light.containedBackground,
12
+ color: n.light.containedColor,
13
+ ...t.applyStyles("dark", {
14
+ backgroundColor: n.dark.containedBackground,
15
+ color: n.dark.containedColor
16
+ })
17
+ };
18
+ },
19
+ rounded: ({ theme: e }) => ({ borderRadius: e.radius.lg })
20
+ }
7
21
  };
8
22
  //#endregion
9
- export { n as MuiAvatar };
23
+ export { r as MuiAvatar };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "2.0.7",
6
+ "version": "2.0.8",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "type": "module",
9
9
  "main": "dist/main.js",
@@ -247,6 +247,6 @@
247
247
  "author": "Lê Đặng Trường Đạt",
248
248
  "license": "ISC",
249
249
  "dependencies": {
250
- "@solostylist/core": "^1.0.7"
250
+ "@solostylist/core": "^1.0.9"
251
251
  }
252
252
  }