@solostylist/ui-kit 1.0.144 → 1.0.145
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.
|
@@ -14,7 +14,7 @@ const A = x(/* @__PURE__ */ r.jsx("path", {
|
|
|
14
14
|
}), "InsertDriveFile"), G = x(/* @__PURE__ */ r.jsx("path", {
|
|
15
15
|
d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"
|
|
16
16
|
}), "Refresh"), _ = ({
|
|
17
|
-
message:
|
|
17
|
+
message: h,
|
|
18
18
|
variant: w = "received",
|
|
19
19
|
timestamp: g,
|
|
20
20
|
avatar: u,
|
|
@@ -25,7 +25,7 @@ const A = x(/* @__PURE__ */ r.jsx("path", {
|
|
|
25
25
|
attachments: m = [],
|
|
26
26
|
onAttachmentClick: t,
|
|
27
27
|
onDownload: n,
|
|
28
|
-
hasError:
|
|
28
|
+
hasError: f = !1,
|
|
29
29
|
errorMessage: T = "Failed to send message",
|
|
30
30
|
onRetry: v,
|
|
31
31
|
sx: B,
|
|
@@ -93,11 +93,11 @@ const A = x(/* @__PURE__ */ r.jsx("path", {
|
|
|
93
93
|
backgroundColor: i ? "primary.main" : "",
|
|
94
94
|
color: i ? "primary.contrastText" : "text.primary",
|
|
95
95
|
border: i ? "none" : "1px solid",
|
|
96
|
-
borderColor:
|
|
96
|
+
borderColor: f ? "error.main" : "divider",
|
|
97
97
|
...i && {
|
|
98
98
|
backgroundColor: "primary.dark"
|
|
99
99
|
},
|
|
100
|
-
...
|
|
100
|
+
...f && {
|
|
101
101
|
opacity: 0.7
|
|
102
102
|
},
|
|
103
103
|
overflow: "hidden"
|
|
@@ -219,7 +219,7 @@ const A = x(/* @__PURE__ */ r.jsx("path", {
|
|
|
219
219
|
},
|
|
220
220
|
e.id
|
|
221
221
|
)) }),
|
|
222
|
-
|
|
222
|
+
h && /* @__PURE__ */ r.jsx(o, { sx: { px: 2, py: 1.5, pt: m.length > 0 ? 0 : 1.5 }, children: /* @__PURE__ */ r.jsx(
|
|
223
223
|
s,
|
|
224
224
|
{
|
|
225
225
|
variant: "body2",
|
|
@@ -228,7 +228,7 @@ const A = x(/* @__PURE__ */ r.jsx("path", {
|
|
|
228
228
|
lineHeight: 1.4,
|
|
229
229
|
whiteSpace: "pre-wrap"
|
|
230
230
|
},
|
|
231
|
-
children:
|
|
231
|
+
children: h
|
|
232
232
|
}
|
|
233
233
|
) })
|
|
234
234
|
]
|
|
@@ -247,7 +247,7 @@ const A = x(/* @__PURE__ */ r.jsx("path", {
|
|
|
247
247
|
children: H(g)
|
|
248
248
|
}
|
|
249
249
|
),
|
|
250
|
-
|
|
250
|
+
f && /* @__PURE__ */ r.jsxs(
|
|
251
251
|
o,
|
|
252
252
|
{
|
|
253
253
|
display: "flex",
|
|
@@ -259,33 +259,19 @@ const A = x(/* @__PURE__ */ r.jsx("path", {
|
|
|
259
259
|
mr: i ? 0.5 : 0
|
|
260
260
|
},
|
|
261
261
|
children: [
|
|
262
|
-
/* @__PURE__ */ r.jsx(P, { sx: { fontSize: "
|
|
262
|
+
/* @__PURE__ */ r.jsx(P, { sx: { fontSize: "1rem" } }),
|
|
263
263
|
/* @__PURE__ */ r.jsx(
|
|
264
264
|
s,
|
|
265
265
|
{
|
|
266
266
|
variant: "caption",
|
|
267
267
|
sx: {
|
|
268
|
-
fontSize: "0.
|
|
268
|
+
fontSize: "0.875rem",
|
|
269
269
|
fontWeight: 500
|
|
270
270
|
},
|
|
271
271
|
children: T
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
v && /* @__PURE__ */ r.jsx(
|
|
275
|
-
b,
|
|
276
|
-
{
|
|
277
|
-
size: "small",
|
|
278
|
-
onClick: v,
|
|
279
|
-
sx: {
|
|
280
|
-
color: "error.main",
|
|
281
|
-
padding: 0.25,
|
|
282
|
-
"&:hover": {
|
|
283
|
-
backgroundColor: "error.light"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
children: /* @__PURE__ */ r.jsx(G, { sx: { fontSize: "0.875rem" } })
|
|
287
|
-
}
|
|
288
|
-
)
|
|
274
|
+
v && /* @__PURE__ */ r.jsx(b, { size: "small", onClick: v, children: /* @__PURE__ */ r.jsx(G, {}) })
|
|
289
275
|
]
|
|
290
276
|
}
|
|
291
277
|
)
|