@tracktor/design-system 4.27.0 → 4.27.2
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.
- package/dist/main.cjs +1 -1
- package/dist/main.js +3 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -21655,7 +21655,7 @@ const So = (e) => e.endsWith("Z") || /[+-]\d{2}:\d{2}$/.test(e) ? e : `${e}Z`, g
|
|
|
21655
21655
|
const s = (a ?? b2)(t.createdAt), l = m2(t.body);
|
|
21656
21656
|
if (e)
|
|
21657
21657
|
return /* @__PURE__ */ j(He, { alignItems: "flex-end", spacing: 0.5, sx: { maxWidth: "70%" }, alignSelf: "flex-end", children: [
|
|
21658
|
-
/* @__PURE__ */ d(Yc, { isOwn: !0, children: /* @__PURE__ */ d(ze, { variant: "body2", children: Jc(t.body, e) }) }),
|
|
21658
|
+
/* @__PURE__ */ d(Yc, { isOwn: !0, children: /* @__PURE__ */ d(ze, { variant: "body2", sx: { whiteSpace: "pre-wrap" }, children: Jc(t.body, e) }) }),
|
|
21659
21659
|
i?.(l),
|
|
21660
21660
|
/* @__PURE__ */ d(ze, { variant: "caption", color: "text.secondary", children: s })
|
|
21661
21661
|
] });
|
|
@@ -21666,7 +21666,7 @@ const So = (e) => e.endsWith("Z") || /[+-]\d{2}:\d{2}$/.test(e) ? e : `${e}Z`, g
|
|
|
21666
21666
|
!0
|
|
21667
21667
|
) }),
|
|
21668
21668
|
/* @__PURE__ */ j(He, { spacing: 0.5, sx: { maxWidth: "70%" }, children: [
|
|
21669
|
-
/* @__PURE__ */ d(Yc, { children: /* @__PURE__ */ d(ze, { variant: "body2", children: Jc(t.body, e) }) }),
|
|
21669
|
+
/* @__PURE__ */ d(Yc, { children: /* @__PURE__ */ d(ze, { variant: "body2", sx: { whiteSpace: "pre-wrap" }, children: Jc(t.body, e) }) }),
|
|
21670
21670
|
i?.(l),
|
|
21671
21671
|
/* @__PURE__ */ d(ze, { variant: "caption", color: "text.secondary", children: s })
|
|
21672
21672
|
] })
|
|
@@ -22431,7 +22431,7 @@ const V2 = (e) => /* @__PURE__ */ j(ir, { viewBox: "-2 -2 28 28", ...e, children
|
|
|
22431
22431
|
{
|
|
22432
22432
|
primary: /* @__PURE__ */ j(He, { direction: "row", justifyContent: "space-between", alignItems: "center", spacing: 1, children: [
|
|
22433
22433
|
/* @__PURE__ */ d(ze, { noWrap: !0, variant: "body2", fontWeight: h.unreadCount ? 700 : 400, children: y }),
|
|
22434
|
-
/* @__PURE__ */ d(ze, { variant: "caption", color: "text.secondary", children: p(h.updatedAt ?? h.createdAt) })
|
|
22434
|
+
/* @__PURE__ */ d(ze, { noWrap: !0, variant: "caption", color: "text.secondary", flexShrink: 0, children: p(h.updatedAt ?? h.createdAt) })
|
|
22435
22435
|
] }),
|
|
22436
22436
|
secondary: /* @__PURE__ */ j(He, { component: "span", direction: "row", justifyContent: "space-between", alignItems: "center", spacing: 1, children: [
|
|
22437
22437
|
/* @__PURE__ */ d(ze, { variant: "caption", color: "text.secondary", noWrap: !0, component: "span", sx: { flex: 1, minWidth: 0 }, children: h.lastMessagePreview }),
|