@linktr.ee/messaging-react 4.4.1-rc-1787616600 → 4.4.1-rc-1787626707

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/index.d.ts CHANGED
@@ -1361,10 +1361,10 @@ export declare interface MessageBubbleBaseProps {
1361
1361
  */
1362
1362
  tail?: boolean;
1363
1363
  /**
1364
- * Extra classes on the outermost Stream message wrapper. Width is
1365
- * caller-controlled: pass `w-fit` to hug the text (chat/preview) or
1366
- * `w-full` to fill the container (card-like list rows). With no width
1367
- * class the bubble fills its container. Also where you'd set `max-w-[…]`.
1364
+ * Extra classes on the outer bubble. Width is caller-controlled: pass
1365
+ * `w-fit` to hug the text (chat/preview) or `w-full` to fill the container
1366
+ * (card-like list rows). With no width class the bubble fills its
1367
+ * container. Also where you'd set `max-w-[…]`.
1368
1368
  */
1369
1369
  className?: string;
1370
1370
  }
package/dist/index.js CHANGED
@@ -3848,35 +3848,26 @@ var aa = "line-clamp-2 text-[14px] font-medium leading-5 tracking-[0.02em]", oa
3848
3848
  backgroundColor: "var(--str-chat__message-bubble-background-color, #f1f0ee)",
3849
3849
  color: "var(--str-chat__message-bubble-color, #000000)"
3850
3850
  }
3851
- }, Ta = ({ variant: e, text: t, tail: n = !0, header: r, className: i }) => /* @__PURE__ */ U("div", {
3852
- className: J("str-chat__message", e === "sent" ? "str-chat__message--me" : "str-chat__message--other", i),
3853
- children: /* @__PURE__ */ U("div", {
3854
- className: "str-chat__message-inner",
3855
- children: /* @__PURE__ */ U("div", {
3856
- "data-dd-privacy": "mask",
3857
- className: J("str-chat__message-bubble", "relative", "text-[0.875rem] leading-[1.3125rem] tracking-[0.14px]"),
3858
- style: {
3859
- ...wa[e],
3860
- borderRadius: "var(--str-chat__message-bubble-border-radius, 1.5rem)",
3861
- isolation: "isolate"
3862
- },
3863
- children: /* @__PURE__ */ W("div", {
3864
- className: "str-chat__message-text",
3865
- children: [
3866
- r != null && /* @__PURE__ */ U("div", {
3867
- className: "mb-1 font-medium",
3868
- "data-testid": "message-bubble-header",
3869
- children: r
3870
- }),
3871
- /* @__PURE__ */ U("p", {
3872
- className: "m-0 whitespace-pre-wrap break-words hyphens-manual",
3873
- children: t
3874
- }),
3875
- n && /* @__PURE__ */ U(Ca, { variant: e })
3876
- ]
3877
- })
3878
- })
3879
- })
3851
+ }, Ta = ({ variant: e, text: t, tail: n = !0, header: r, className: i }) => /* @__PURE__ */ W("div", {
3852
+ "data-dd-privacy": "mask",
3853
+ className: J("relative px-4 py-3", "text-[0.875rem] leading-[1.3125rem] tracking-[0.14px]", i),
3854
+ style: {
3855
+ ...wa[e],
3856
+ borderRadius: "var(--str-chat__message-bubble-border-radius, 1.5rem)",
3857
+ isolation: "isolate"
3858
+ },
3859
+ children: [
3860
+ r != null && /* @__PURE__ */ U("div", {
3861
+ className: "mb-1 font-medium",
3862
+ "data-testid": "message-bubble-header",
3863
+ children: r
3864
+ }),
3865
+ /* @__PURE__ */ U("p", {
3866
+ className: "m-0 whitespace-pre-wrap break-words hyphens-manual",
3867
+ children: t
3868
+ }),
3869
+ n && /* @__PURE__ */ U(Ca, { variant: e })
3870
+ ]
3880
3871
  }), Ea = {
3881
3872
  Sent: ({ text: e, tail: t, className: n }) => /* @__PURE__ */ U(Ta, {
3882
3873
  variant: "sent",