@linktr.ee/messaging-react 4.3.1-rc-1787564868 → 4.3.1-rc-1787565296
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/{Card-CPjlTEDn.js → Card-CyWHWq0c.js} +2 -2
- package/dist/{Card-CPjlTEDn.js.map → Card-CyWHWq0c.js.map} +1 -1
- package/dist/{Card-Bgapr7T9.cjs → Card-DnxM0CSC.cjs} +2 -2
- package/dist/{Card-Bgapr7T9.cjs.map → Card-DnxM0CSC.cjs.map} +1 -1
- package/dist/{index-BpUohOUq.cjs → index-BtVpvpDD.cjs} +3 -3
- package/dist/{index-BpUohOUq.cjs.map → index-BtVpvpDD.cjs.map} +1 -1
- package/dist/{index-BJ1FkeL1.js → index-CtmXbMa5.js} +7 -6
- package/dist/{index-BJ1FkeL1.js.map → index-CtmXbMa5.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/components/MessageBubble/MessageBubble.stories.tsx +7 -1
- package/src/components/MessageBubble/MessageBubble.test.tsx +18 -7
- package/src/components/MessageBubble/components/_shared/BubbleShell.tsx +13 -8
- package/src/components/RichCard/RichCard.stories.tsx +13 -1
|
@@ -815,7 +815,7 @@ const Ta = {
|
|
|
815
815
|
function Ra(e) {
|
|
816
816
|
return he(Ns)[e] ?? Aa[e];
|
|
817
817
|
}
|
|
818
|
-
const La = R.lazy(() => import("./Card-BzvDr-pU.js")), Ma = R.lazy(() => import("./Card-
|
|
818
|
+
const La = R.lazy(() => import("./Card-BzvDr-pU.js")), Ma = R.lazy(() => import("./Card-CyWHWq0c.js")), Da = () => /* @__PURE__ */ s(
|
|
819
819
|
"div",
|
|
820
820
|
{
|
|
821
821
|
className: "w-[280px] min-h-[200px] animate-pulse rounded-md bg-black/[0.06] shadow-[0_0_0_1px_rgba(0,0,0,0.04),0_1px_2px_rgba(0,0,0,0.04),0_8px_32px_rgba(0,0,0,0.1)]",
|
|
@@ -5116,12 +5116,13 @@ const lo = "line-clamp-2 text-[14px] font-medium leading-5 tracking-[0.02em]", c
|
|
|
5116
5116
|
tail: n = !0,
|
|
5117
5117
|
header: a,
|
|
5118
5118
|
className: r
|
|
5119
|
-
}) => /* @__PURE__ */
|
|
5119
|
+
}) => /* @__PURE__ */ s(
|
|
5120
5120
|
"div",
|
|
5121
5121
|
{
|
|
5122
5122
|
"data-dd-privacy": "mask",
|
|
5123
5123
|
className: y(
|
|
5124
|
-
"
|
|
5124
|
+
"str-chat__message-bubble",
|
|
5125
|
+
"relative",
|
|
5125
5126
|
"text-[0.875rem] leading-[1.3125rem] tracking-[0.14px]",
|
|
5126
5127
|
r
|
|
5127
5128
|
),
|
|
@@ -5130,11 +5131,11 @@ const lo = "line-clamp-2 text-[14px] font-medium leading-5 tracking-[0.02em]", c
|
|
|
5130
5131
|
borderRadius: "var(--str-chat__message-bubble-border-radius, 1.5rem)",
|
|
5131
5132
|
isolation: "isolate"
|
|
5132
5133
|
},
|
|
5133
|
-
children: [
|
|
5134
|
+
children: /* @__PURE__ */ h("div", { className: "str-chat__message-text", children: [
|
|
5134
5135
|
a != null && /* @__PURE__ */ s("div", { className: "mb-1 font-medium", "data-testid": "message-bubble-header", children: a }),
|
|
5135
5136
|
/* @__PURE__ */ s("p", { className: "m-0 whitespace-pre-wrap break-words hyphens-manual", children: t }),
|
|
5136
5137
|
n && /* @__PURE__ */ s(So, { variant: e })
|
|
5137
|
-
]
|
|
5138
|
+
] })
|
|
5138
5139
|
}
|
|
5139
5140
|
), Eo = ({
|
|
5140
5141
|
text: e,
|
|
@@ -5255,4 +5256,4 @@ export {
|
|
|
5255
5256
|
xs as y,
|
|
5256
5257
|
Ho as z
|
|
5257
5258
|
};
|
|
5258
|
-
//# sourceMappingURL=index-
|
|
5259
|
+
//# sourceMappingURL=index-CtmXbMa5.js.map
|