@solostylist/ui-kit 1.0.136 → 1.0.137

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.
@@ -9,12 +9,14 @@ export interface SCommentMessageProps {
9
9
  likes?: number;
10
10
  isLiked?: boolean;
11
11
  replies?: SCommentMessageProps[];
12
+ totalReplies?: number;
12
13
  onLike?: (commentId: string | number) => void;
13
14
  onReply?: (commentId: string | number, parentId?: string | number) => void;
14
15
  showReplies?: boolean;
15
16
  avatarSize?: number;
16
17
  level?: number;
17
18
  maxLevel?: number;
19
+ children?: React.ReactNode;
18
20
  sx?: SxProps;
19
21
  }
20
22
  declare const SCommentMessage: React.FC<SCommentMessageProps>;
@@ -1,79 +1,81 @@
1
- import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
- import { useState as u, useEffect as w } from "react";
3
- import { Box as v, Stack as y, Typography as m, IconButton as W, Button as k, Collapse as H } from "@mui/material";
4
- import A from "../s-avatar/s-avatar.js";
5
- import { F as P } from "../Favorite-DmSF47XC.js";
6
- import { c as I } from "../createSvgIcon-Dq42_0tn.js";
7
- import { E as V } from "../ExpandMore-mZGpvXf6.js";
8
- const Y = I(/* @__PURE__ */ t.jsx("path", {
1
+ import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { useState as I, useEffect as T } from "react";
3
+ import { Box as m, Stack as M, Typography as x, IconButton as P, Button as $, Collapse as V } from "@mui/material";
4
+ import Y from "../s-avatar/s-avatar.js";
5
+ import { F as q } from "../Favorite-DmSF47XC.js";
6
+ import { c as S } from "../createSvgIcon-Dq42_0tn.js";
7
+ import { E as G } from "../ExpandMore-mZGpvXf6.js";
8
+ const J = S(/* @__PURE__ */ e.jsx("path", {
9
9
  d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
10
- }), "ExpandLess"), q = I(/* @__PURE__ */ t.jsx("path", {
10
+ }), "ExpandLess"), K = S(/* @__PURE__ */ e.jsx("path", {
11
11
  d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05"
12
- }), "FavoriteBorder"), G = I(/* @__PURE__ */ t.jsx("path", {
12
+ }), "FavoriteBorder"), O = S(/* @__PURE__ */ e.jsx("path", {
13
13
  d: "M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11"
14
- }), "Reply"), J = (a) => {
15
- const c = /* @__PURE__ */ new Date(), d = typeof a == "string" ? new Date(a) : a, x = c.getTime() - d.getTime(), f = Math.floor(x / 1e3), o = Math.floor(f / 60), n = Math.floor(o / 60), e = Math.floor(n / 24), s = Math.floor(e / 7), r = Math.floor(e / 30), i = Math.floor(e / 365);
16
- return f < 60 ? "just now" : o < 60 ? o === 1 ? "1 minute ago" : `${o} minutes ago` : n < 24 ? n === 1 ? "1 hour ago" : `${n} hours ago` : e < 7 ? e === 1 ? "1 day ago" : `${e} days ago` : s < 4 ? s === 1 ? "1 week ago" : `${s} weeks ago` : r < 12 ? r === 1 ? "1 month ago" : `${r} months ago` : i === 1 ? "1 year ago" : `${i} years ago`;
17
- }, K = ({
18
- id: a = Date.now(),
14
+ }), "Reply"), Q = (r) => {
15
+ const c = /* @__PURE__ */ new Date(), d = typeof r == "string" ? new Date(r) : r, h = c.getTime() - d.getTime(), f = Math.floor(h / 1e3), o = Math.floor(f / 60), s = Math.floor(o / 60), t = Math.floor(s / 24), l = Math.floor(t / 7), n = Math.floor(t / 30), a = Math.floor(t / 365);
16
+ return f < 60 ? "just now" : o < 60 ? o === 1 ? "1 minute ago" : `${o} minutes ago` : s < 24 ? s === 1 ? "1 hour ago" : `${s} hours ago` : t < 7 ? t === 1 ? "1 day ago" : `${t} days ago` : l < 4 ? l === 1 ? "1 week ago" : `${l} weeks ago` : n < 12 ? n === 1 ? "1 month ago" : `${n} months ago` : a === 1 ? "1 year ago" : `${a} years ago`;
17
+ }, U = ({
18
+ id: r = Date.now(),
19
19
  userName: c,
20
20
  userAvatar: d,
21
- commentContent: x,
21
+ commentContent: h,
22
22
  datetime: f,
23
23
  likes: o = 0,
24
- isLiked: n = !1,
25
- replies: e = [],
26
- onLike: s,
27
- onReply: r,
28
- showReplies: i = !0,
29
- avatarSize: M = 48,
30
- level: S = 0,
31
- maxLevel: z = 3,
32
- sx: b = {}
24
+ isLiked: s = !1,
25
+ replies: t = [],
26
+ totalReplies: l,
27
+ onLike: n,
28
+ onReply: a,
29
+ showReplies: p = !0,
30
+ avatarSize: C = 48,
31
+ level: z = 0,
32
+ maxLevel: L = 3,
33
+ children: w,
34
+ sx: E = {}
33
35
  }) => {
34
- const [C, h] = u(o), [g, p] = u(n), [j, T] = u(!1), $ = () => {
35
- g ? (h((l) => Math.max(0, l - 1)), p(!1)) : (h((l) => l + 1), p(!0)), s && s(a);
36
- }, E = () => {
37
- r && r(a);
38
- }, R = () => {
39
- T(!j);
40
- }, B = J(f), L = e.length > 0, D = Math.min(S, z) * 2;
41
- return w(() => {
42
- h(o);
43
- }, [o]), w(() => {
44
- p(n);
45
- }, [n]), /* @__PURE__ */ t.jsxs(v, { sx: { pl: D, py: 1, ...b }, children: [
46
- /* @__PURE__ */ t.jsxs(y, { direction: "row", spacing: 2, alignItems: "flex-start", children: [
47
- /* @__PURE__ */ t.jsx(A, { avatar: d, name: c, size: M }),
48
- /* @__PURE__ */ t.jsxs(v, { sx: { flex: 1 }, children: [
49
- /* @__PURE__ */ t.jsxs(y, { direction: "row", alignItems: "center", spacing: 2, mb: 1, children: [
50
- /* @__PURE__ */ t.jsx(m, { variant: "subtitle2", fontWeight: "600", children: c }),
51
- /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(m, { variant: "caption", color: "text.secondary", children: B }) })
36
+ const [k, g] = I(o), [j, u] = I(s), [v, R] = I(!1), B = () => {
37
+ j ? (g((i) => Math.max(0, i - 1)), u(!1)) : (g((i) => i + 1), u(!0)), n && n(r);
38
+ }, D = () => {
39
+ a && a(r);
40
+ }, F = () => {
41
+ R(!v);
42
+ }, W = Q(f), y = l ?? t.length, b = y > 0, H = Math.min(z, L) * 2;
43
+ return T(() => {
44
+ g(o);
45
+ }, [o]), T(() => {
46
+ u(s);
47
+ }, [s]), /* @__PURE__ */ e.jsxs(m, { sx: { pl: H, py: 1, ...E }, children: [
48
+ /* @__PURE__ */ e.jsxs(M, { direction: "row", spacing: 2, alignItems: "flex-start", children: [
49
+ /* @__PURE__ */ e.jsx(Y, { avatar: d, name: c, size: C }),
50
+ /* @__PURE__ */ e.jsxs(m, { sx: { flex: 1 }, children: [
51
+ /* @__PURE__ */ e.jsxs(M, { direction: "row", alignItems: "center", spacing: 2, mb: 1, children: [
52
+ /* @__PURE__ */ e.jsx(x, { variant: "subtitle2", fontWeight: "600", children: c }),
53
+ /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(x, { variant: "caption", color: "text.secondary", children: W }) })
52
54
  ] }),
53
- /* @__PURE__ */ t.jsx(m, { variant: "body2", sx: { mb: 2, lineHeight: 1.6 }, children: x }),
54
- /* @__PURE__ */ t.jsxs(y, { direction: "row", spacing: 1, alignItems: "center", children: [
55
- /* @__PURE__ */ t.jsx(
56
- W,
55
+ /* @__PURE__ */ e.jsx(x, { variant: "body2", sx: { mb: 2, lineHeight: 1.6 }, children: h }),
56
+ /* @__PURE__ */ e.jsxs(M, { direction: "row", spacing: 1, alignItems: "center", children: [
57
+ /* @__PURE__ */ e.jsx(
58
+ P,
57
59
  {
58
60
  size: "small",
59
- onClick: $,
61
+ onClick: B,
60
62
  sx: {
61
- color: g ? "error.main" : "text.secondary",
63
+ color: j ? "error.main" : "text.secondary",
62
64
  p: 0.5,
63
65
  "&:hover": {
64
66
  backgroundColor: "action.hover"
65
67
  }
66
68
  },
67
- children: g ? /* @__PURE__ */ t.jsx(P, { fontSize: "small" }) : /* @__PURE__ */ t.jsx(q, { fontSize: "small" })
69
+ children: j ? /* @__PURE__ */ e.jsx(q, { fontSize: "small" }) : /* @__PURE__ */ e.jsx(K, { fontSize: "small" })
68
70
  }
69
71
  ),
70
- C > 0 && /* @__PURE__ */ t.jsx(m, { variant: "caption", color: "text.secondary", children: C }),
71
- /* @__PURE__ */ t.jsx(
72
- k,
72
+ k > 0 && /* @__PURE__ */ e.jsx(x, { variant: "caption", color: "text.secondary", children: k }),
73
+ /* @__PURE__ */ e.jsx(
74
+ $,
73
75
  {
74
76
  size: "small",
75
- startIcon: /* @__PURE__ */ t.jsx(G, { fontSize: "small" }),
76
- onClick: E,
77
+ startIcon: /* @__PURE__ */ e.jsx(O, { fontSize: "small" }),
78
+ onClick: D,
77
79
  variant: "text",
78
80
  sx: {
79
81
  color: "text.secondary",
@@ -89,12 +91,12 @@ const Y = I(/* @__PURE__ */ t.jsx("path", {
89
91
  children: "Reply"
90
92
  }
91
93
  ),
92
- L && i && /* @__PURE__ */ t.jsxs(
93
- k,
94
+ b && p && /* @__PURE__ */ e.jsxs(
95
+ $,
94
96
  {
95
97
  size: "small",
96
- startIcon: j ? /* @__PURE__ */ t.jsx(Y, { fontSize: "small" }) : /* @__PURE__ */ t.jsx(V, { fontSize: "small" }),
97
- onClick: R,
98
+ startIcon: v ? /* @__PURE__ */ e.jsx(J, { fontSize: "small" }) : /* @__PURE__ */ e.jsx(G, { fontSize: "small" }),
99
+ onClick: F,
98
100
  variant: "text",
99
101
  sx: {
100
102
  color: "primary.main",
@@ -108,30 +110,31 @@ const Y = I(/* @__PURE__ */ t.jsx("path", {
108
110
  }
109
111
  },
110
112
  children: [
111
- e.length,
113
+ y,
112
114
  " ",
113
- e.length === 1 ? "reply" : "replies"
115
+ y === 1 ? "reply" : "replies"
114
116
  ]
115
117
  }
116
118
  )
117
- ] })
119
+ ] }),
120
+ w && /* @__PURE__ */ e.jsx(m, { sx: { mt: 2 }, children: w })
118
121
  ] })
119
122
  ] }),
120
- L && i && /* @__PURE__ */ t.jsx(H, { in: j, children: /* @__PURE__ */ t.jsx(v, { sx: { mt: 2 }, children: e.map((l, F) => /* @__PURE__ */ t.jsx(
121
- K,
123
+ b && p && /* @__PURE__ */ e.jsx(V, { in: v, children: /* @__PURE__ */ e.jsx(m, { sx: { mt: 2 }, children: t.map((i, A) => /* @__PURE__ */ e.jsx(
124
+ U,
122
125
  {
123
- ...l,
124
- level: S + 1,
125
- maxLevel: z,
126
- onLike: s,
127
- onReply: r,
128
- showReplies: i,
129
- avatarSize: Math.max(32, M - 8)
126
+ ...i,
127
+ level: z + 1,
128
+ maxLevel: L,
129
+ onLike: n,
130
+ onReply: a,
131
+ showReplies: p,
132
+ avatarSize: Math.max(32, C - 8)
130
133
  },
131
- l.id || `reply-${F}`
134
+ i.id || `reply-${A}`
132
135
  )) }) })
133
136
  ] });
134
137
  };
135
138
  export {
136
- K as default
139
+ U as default
137
140
  };
@@ -1,6 +1,6 @@
1
1
  import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
2
  import { useState as g, useEffect as A } from "react";
3
- import { Box as p, Stack as j, Typography as i, IconButton as T, Divider as F } from "@mui/material";
3
+ import { Box as b, Stack as p, Typography as i, IconButton as T, Divider as F } from "@mui/material";
4
4
  import N from "../s-avatar/s-avatar.js";
5
5
  import q from "../s-image-modal/s-image-modal.js";
6
6
  import G from "../s-lazy-image/s-lazy-image.js";
@@ -10,18 +10,18 @@ const K = $(/* @__PURE__ */ e.jsx("path", {
10
10
  d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m4 0v12h4V3z"
11
11
  }), "ThumbDown"), P = $(/* @__PURE__ */ e.jsx("path", {
12
12
  d: "M1 21h4V9H1zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73z"
13
- }), "ThumbUp"), Q = (a) => {
14
- const c = /* @__PURE__ */ new Date(), y = typeof a == "string" ? new Date(a) : a, v = c.getTime() - y.getTime(), u = Math.floor(v / 1e3), l = Math.floor(u / 60), s = Math.floor(l / 60), r = Math.floor(s / 24), h = Math.floor(r / 7), m = Math.floor(r / 30), f = Math.floor(r / 365);
15
- return u < 60 ? "just now" : l < 60 ? l === 1 ? "1 minute ago" : `${l} minutes ago` : s < 24 ? s === 1 ? "1 hour ago" : `${s} hours ago` : r < 7 ? r === 1 ? "1 day ago" : `${r} days ago` : h < 4 ? h === 1 ? "1 week ago" : `${h} weeks ago` : m < 12 ? m === 1 ? "1 month ago" : `${m} months ago` : f === 1 ? "1 year ago" : `${f} years ago`;
16
- }, re = ({
17
- id: a = Date.now(),
13
+ }), "ThumbUp"), Q = (r) => {
14
+ const c = /* @__PURE__ */ new Date(), y = typeof r == "string" ? new Date(r) : r, j = c.getTime() - y.getTime(), u = Math.floor(j / 1e3), l = Math.floor(u / 60), s = Math.floor(l / 60), a = Math.floor(s / 24), h = Math.floor(a / 7), m = Math.floor(a / 30), f = Math.floor(a / 365);
15
+ return u < 60 ? "just now" : l < 60 ? l === 1 ? "1 minute ago" : `${l} minutes ago` : s < 24 ? s === 1 ? "1 hour ago" : `${s} hours ago` : a < 7 ? a === 1 ? "1 day ago" : `${a} days ago` : h < 4 ? h === 1 ? "1 week ago" : `${h} weeks ago` : m < 12 ? m === 1 ? "1 month ago" : `${m} months ago` : f === 1 ? "1 year ago" : `${f} years ago`;
16
+ }, ae = ({
17
+ id: r = Date.now(),
18
18
  userName: c,
19
19
  userAvatar: y,
20
- rating: v,
20
+ rating: j,
21
21
  reviewContent: u,
22
22
  datetime: l,
23
23
  images: s,
24
- userHelpfulVote: r = null,
24
+ userHelpfulVote: a = null,
25
25
  helpfulYes: h = 0,
26
26
  helpfulNo: m = 0,
27
27
  onHelpfulVote: f,
@@ -31,36 +31,36 @@ const K = $(/* @__PURE__ */ e.jsx("path", {
31
31
  readOnly: H = !0,
32
32
  sx: L = {}
33
33
  }) => {
34
- const [R, w] = g(h), [V, I] = g(m), [d, M] = g(r), [W, C] = g(!1), [E, b] = g(null), S = (t) => {
34
+ const [R, v] = g(h), [V, w] = g(m), [d, I] = g(a), [W, C] = g(!1), [E, M] = g(null), S = (t) => {
35
35
  let n = t;
36
- d === t ? (t === "yes" ? w((o) => Math.max(0, o - 1)) : I((o) => Math.max(0, o - 1)), M(null), n = null) : (d === "yes" ? w((o) => Math.max(0, o - 1)) : d === "no" && I((o) => Math.max(0, o - 1)), t === "yes" ? w((o) => o + 1) : I((o) => o + 1), M(t), n = t), f && f(a, n);
36
+ d === t ? (t === "yes" ? v((o) => Math.max(0, o - 1)) : w((o) => Math.max(0, o - 1)), I(null), n = null) : (d === "yes" ? v((o) => Math.max(0, o - 1)) : d === "no" && w((o) => Math.max(0, o - 1)), t === "yes" ? v((o) => o + 1) : w((o) => o + 1), I(t), n = t), f && f(r, n);
37
37
  }, x = (s == null ? void 0 : s.map((t, n) => ({
38
- id: `review-${a}-image-${n}`,
38
+ id: `review-${r}-image-${n}`,
39
39
  type: "image",
40
40
  url: t,
41
41
  title: `Review image ${n + 1}`,
42
42
  desc: `Image ${n + 1} from ${c}'s review`
43
43
  }))) || [], O = (t) => {
44
44
  const n = x[t];
45
- n && (b(n), C(!0));
45
+ n && (M(n), C(!0));
46
46
  }, U = () => {
47
- C(!1), b(null);
47
+ C(!1), M(null);
48
48
  }, Y = (t) => {
49
- b(t);
49
+ M(t);
50
50
  }, B = Q(l);
51
51
  return A(() => {
52
- M(r);
53
- }, [r]), /* @__PURE__ */ e.jsxs(p, { sx: { py: 2, ...L }, children: [
54
- /* @__PURE__ */ e.jsxs(j, { direction: "row", spacing: 2, alignItems: "flex-start", children: [
52
+ I(a);
53
+ }, [a]), /* @__PURE__ */ e.jsxs(b, { sx: { py: 2, ...L }, children: [
54
+ /* @__PURE__ */ e.jsxs(p, { direction: "row", spacing: 2, alignItems: "flex-start", children: [
55
55
  /* @__PURE__ */ e.jsx(N, { avatar: y, name: c, size: z }),
56
- /* @__PURE__ */ e.jsxs(p, { sx: { flex: 1 }, children: [
57
- /* @__PURE__ */ e.jsxs(j, { direction: "row", alignItems: "center", spacing: 2, mb: 1, children: [
56
+ /* @__PURE__ */ e.jsxs(b, { sx: { flex: 1 }, children: [
57
+ /* @__PURE__ */ e.jsxs(p, { direction: "row", alignItems: "center", spacing: 2, mb: 1, children: [
58
58
  /* @__PURE__ */ e.jsx(i, { variant: "subtitle2", fontWeight: "600", children: c }),
59
59
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(i, { variant: "caption", color: "text.secondary", children: B }) })
60
60
  ] }),
61
- /* @__PURE__ */ e.jsx(p, { sx: { mb: 1 }, children: /* @__PURE__ */ e.jsx(J, { value: v, max: D, readOnly: H, size: "small" }) }),
61
+ /* @__PURE__ */ e.jsx(b, { sx: { mb: 1 }, children: /* @__PURE__ */ e.jsx(J, { value: j, max: D, readOnly: H, size: "small" }) }),
62
62
  /* @__PURE__ */ e.jsx(i, { variant: "body2", sx: { mb: 2, lineHeight: 1.6 }, children: u }),
63
- s && s.length > 0 && /* @__PURE__ */ e.jsx(j, { direction: "row", spacing: 1, sx: { mb: 2, flexWrap: "wrap", gap: 1 }, children: s.map((t, n) => /* @__PURE__ */ e.jsx(
63
+ s && s.length > 0 && /* @__PURE__ */ e.jsx(p, { direction: "row", spacing: 1, sx: { mb: 2, flexWrap: "wrap", gap: 1 }, children: s.map((t, n) => /* @__PURE__ */ e.jsx(
64
64
  G,
65
65
  {
66
66
  src: t,
@@ -82,41 +82,39 @@ const K = $(/* @__PURE__ */ e.jsx("path", {
82
82
  },
83
83
  n
84
84
  )) }),
85
- k && /* @__PURE__ */ e.jsxs(p, { children: [
85
+ k && /* @__PURE__ */ e.jsxs(p, { direction: "row", spacing: 1, sx: { display: "inline-flex", alignItems: "center" }, children: [
86
86
  /* @__PURE__ */ e.jsx(i, { variant: "caption", color: "text.secondary", sx: { mr: 2 }, children: "Was this review helpful?" }),
87
- /* @__PURE__ */ e.jsxs(j, { direction: "row", spacing: 1, sx: { display: "inline-flex", alignItems: "center" }, children: [
88
- /* @__PURE__ */ e.jsx(
89
- T,
90
- {
91
- size: "small",
92
- onClick: () => S("yes"),
93
- sx: {
94
- color: d === "yes" ? "primary.main" : "text.secondary",
95
- "&:hover": {
96
- backgroundColor: "action.hover"
97
- }
98
- },
99
- children: /* @__PURE__ */ e.jsx(P, { fontSize: "small" })
100
- }
101
- ),
102
- /* @__PURE__ */ e.jsx(i, { variant: "caption", color: "text.secondary", children: R }),
103
- /* @__PURE__ */ e.jsx(
104
- T,
105
- {
106
- size: "small",
107
- onClick: () => S("no"),
108
- sx: {
109
- color: d === "no" ? "error.main" : "text.secondary",
110
- ml: 1,
111
- "&:hover": {
112
- backgroundColor: "action.hover"
113
- }
114
- },
115
- children: /* @__PURE__ */ e.jsx(K, { fontSize: "small" })
116
- }
117
- ),
118
- /* @__PURE__ */ e.jsx(i, { variant: "caption", color: "text.secondary", children: V })
119
- ] })
87
+ /* @__PURE__ */ e.jsx(
88
+ T,
89
+ {
90
+ size: "small",
91
+ onClick: () => S("yes"),
92
+ sx: {
93
+ color: d === "yes" ? "primary.main" : "text.secondary",
94
+ "&:hover": {
95
+ backgroundColor: "action.hover"
96
+ }
97
+ },
98
+ children: /* @__PURE__ */ e.jsx(P, { fontSize: "small" })
99
+ }
100
+ ),
101
+ /* @__PURE__ */ e.jsx(i, { variant: "caption", color: "text.secondary", children: R }),
102
+ /* @__PURE__ */ e.jsx(
103
+ T,
104
+ {
105
+ size: "small",
106
+ onClick: () => S("no"),
107
+ sx: {
108
+ color: d === "no" ? "error.main" : "text.secondary",
109
+ ml: 1,
110
+ "&:hover": {
111
+ backgroundColor: "action.hover"
112
+ }
113
+ },
114
+ children: /* @__PURE__ */ e.jsx(K, { fontSize: "small" })
115
+ }
116
+ ),
117
+ /* @__PURE__ */ e.jsx(i, { variant: "caption", color: "text.secondary", children: V })
120
118
  ] })
121
119
  ] })
122
120
  ] }),
@@ -137,5 +135,5 @@ const K = $(/* @__PURE__ */ e.jsx("path", {
137
135
  ] });
138
136
  };
139
137
  export {
140
- re as default
138
+ ae as default
141
139
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.136",
6
+ "version": "1.0.137",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",