@solostylist/ui-kit 1.0.147 → 1.0.148

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,8 +1,19 @@
1
- import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
- import { Box as e, Avatar as x, Typography as l } from "@mui/material";
3
- const f = ({ avatar: i, name: r, showName: o = !1, size: s = 40, avatarProps: a }) => /* @__PURE__ */ t.jsxs(e, { display: "flex", alignItems: "center", gap: 2, children: [
4
- /* @__PURE__ */ t.jsx(x, { sx: { width: s, height: s, fontSize: 16 }, src: i, ...a, children: (r == null ? void 0 : r[0]) || "A" }),
5
- o && /* @__PURE__ */ t.jsx(l, { variant: "body1", fontSize: 20, children: r })
1
+ import { j as i } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { Box as l, Avatar as d, Typography as e } from "@mui/material";
3
+ import h from "../s-lazy-image/s-lazy-image.js";
4
+ const f = ({ avatar: o, name: r, showName: a = !1, size: t = 40, avatarProps: s }) => /* @__PURE__ */ i.jsxs(l, { display: "flex", alignItems: "center", gap: 2, children: [
5
+ /* @__PURE__ */ i.jsx(d, { sx: { width: t, height: t, fontSize: 16 }, ...s, children: o ? /* @__PURE__ */ i.jsx(
6
+ h,
7
+ {
8
+ src: o,
9
+ alt: r || "Avatar",
10
+ width: t,
11
+ height: t,
12
+ variant: "circular",
13
+ style: { borderRadius: "50%" }
14
+ }
15
+ ) : (r == null ? void 0 : r[0]) || "A" }),
16
+ a && /* @__PURE__ */ i.jsx(e, { variant: "body1", fontSize: 20, children: r })
6
17
  ] });
7
18
  export {
8
19
  f as default
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.147",
6
+ "version": "1.0.148",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",