@solostylist/ui-kit 1.0.147 → 1.0.149

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
@@ -3,7 +3,7 @@ import { b as r } from "../../buttonBaseClasses-jCihfot4.js";
3
3
  import { s as i } from "../../svgIconClasses-CBCi8U9g.js";
4
4
  import { t as a } from "../../typographyClasses-C7fhAsUD.js";
5
5
  import { a as t } from "../../colorManipulator-ep5lERxB.js";
6
- const y = {
6
+ const g = {
7
7
  MuiList: {
8
8
  styleOverrides: {
9
9
  root: {
@@ -30,9 +30,7 @@ const y = {
30
30
  gap: 8,
31
31
  padding: "2px 8px",
32
32
  borderRadius: (o.vars || o).shape.borderRadius,
33
- opacity: 0.7,
34
33
  "&.Mui-selected": {
35
- opacity: 1,
36
34
  backgroundColor: t(o.palette.action.selected, 0.3),
37
35
  [`& .${i.root}`]: {
38
36
  color: (o.vars || o).palette.text.primary
@@ -117,5 +115,5 @@ const y = {
117
115
  }
118
116
  };
119
117
  export {
120
- y as dataDisplayCustomizations
118
+ g as dataDisplayCustomizations
121
119
  };
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.149",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",