@linktr.ee/messaging-react 3.14.3 → 3.14.4-rc-1784689814
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-BL91_-r5.js → Card--gXIPVe3.js} +2 -2
- package/dist/{Card-BL91_-r5.js.map → Card--gXIPVe3.js.map} +1 -1
- package/dist/{Card-yAzGcQyc.cjs → Card-CZGCLd-z.cjs} +2 -2
- package/dist/{Card-yAzGcQyc.cjs.map → Card-CZGCLd-z.cjs.map} +1 -1
- package/dist/{index-C-kQCN-o.cjs → index-CG9BjHg0.cjs} +2 -2
- package/dist/{index-C-kQCN-o.cjs.map → index-CG9BjHg0.cjs.map} +1 -1
- package/dist/{index-BedgUyfu.js → index-mO3W3JFm.js} +23 -13
- package/dist/{index-BedgUyfu.js.map → index-mO3W3JFm.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/components/CustomMessageInput/index.tsx +55 -28
|
@@ -2669,7 +2669,7 @@ const lr = ({
|
|
|
2669
2669
|
function $r(e) {
|
|
2670
2670
|
return Te(zs)[e] ?? Fr[e];
|
|
2671
2671
|
}
|
|
2672
|
-
const Br = V.lazy(() => import("./Card-qS17qnN0.js")), Ur = V.lazy(() => import("./Card
|
|
2672
|
+
const Br = V.lazy(() => import("./Card-qS17qnN0.js")), Ur = V.lazy(() => import("./Card--gXIPVe3.js")), jr = () => /* @__PURE__ */ s(
|
|
2673
2673
|
"div",
|
|
2674
2674
|
{
|
|
2675
2675
|
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)]",
|
|
@@ -3870,39 +3870,49 @@ const vi = ({
|
|
|
3870
3870
|
// content height and the squeeze never reaches the preview list. Stream's
|
|
3871
3871
|
// <MessageInput> renders its Input directly (context providers only, no
|
|
3872
3872
|
// wrapper element), so this is a direct flex item of that row.
|
|
3873
|
+
//
|
|
3874
|
+
// The container itself carries no padding of its own: it used to (p-2),
|
|
3875
|
+
// but that inset now lives on the textarea as padding instead, so the
|
|
3876
|
+
// textarea's actual (clickable) box is as large as the container — save
|
|
3877
|
+
// for the small margin and the send button on the right (MES-1325).
|
|
3878
|
+
// Visually nothing moves; the container ends up exactly the size of the
|
|
3879
|
+
// textarea + send button row it contains.
|
|
3873
3880
|
/* @__PURE__ */ u(
|
|
3874
3881
|
"div",
|
|
3875
3882
|
{
|
|
3876
|
-
className: "central-container flex min-h-0 flex-col gap-2 min-w-0 w-full self-stretch
|
|
3883
|
+
className: "central-container flex min-h-0 flex-col gap-2 min-w-0 w-full self-stretch bg-white rounded-[1.5rem] shadow-[0_4px_16px_0_rgba(0,0,0,0.08),0_1px_2px_0_rgba(0,0,0,0.04),0_0_0_1px_rgba(0,0,0,0.04)]",
|
|
3877
3884
|
"data-dd-privacy": "mask",
|
|
3878
3885
|
children: [
|
|
3879
|
-
/* @__PURE__ */
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3886
|
+
/* @__PURE__ */ u("div", { className: "empty:hidden flex min-h-0 flex-col gap-2 px-2 pt-2", children: [
|
|
3887
|
+
/* @__PURE__ */ s(kn, {}),
|
|
3888
|
+
/* @__PURE__ */ s(Ei, {}),
|
|
3889
|
+
/* @__PURE__ */ s(i, {})
|
|
3890
|
+
] }),
|
|
3891
|
+
/* @__PURE__ */ u("div", { className: "flex shrink-0 items-start", children: [
|
|
3892
|
+
/* @__PURE__ */ s(
|
|
3884
3893
|
Cn,
|
|
3885
3894
|
{
|
|
3886
3895
|
"aria-disabled": e || void 0,
|
|
3887
|
-
|
|
3896
|
+
containerClassName: "min-w-0 flex-1 leading-[0]",
|
|
3897
|
+
className: "w-full resize-none bg-transparent py-3.5 pl-4 pr-4 outline-none leading-5 placeholder:text-black/30 text-sm",
|
|
3888
3898
|
autoFocus: !e,
|
|
3889
3899
|
enterKeyHint: "send",
|
|
3890
3900
|
maxRows: 4,
|
|
3891
3901
|
readOnly: e,
|
|
3892
3902
|
tabIndex: e ? -1 : void 0
|
|
3893
3903
|
}
|
|
3894
|
-
)
|
|
3895
|
-
/* @__PURE__ */ s(
|
|
3904
|
+
),
|
|
3905
|
+
/* @__PURE__ */ s("div", { className: "mt-auto mb-2 mr-2 shrink-0", children: /* @__PURE__ */ s(
|
|
3896
3906
|
r,
|
|
3897
3907
|
{
|
|
3898
3908
|
sendMessage: t,
|
|
3899
3909
|
"aria-label": "Send",
|
|
3900
|
-
className: "str-chat__send-button
|
|
3910
|
+
className: "str-chat__send-button flex justify-center items-center rounded-full size-8 bg-[#121110] disabled:bg-[#F1F0EE] disabled:text-black/20 text-white focus-ring",
|
|
3901
3911
|
"data-testid": "send-button",
|
|
3902
3912
|
disabled: a,
|
|
3903
3913
|
type: "button"
|
|
3904
3914
|
}
|
|
3905
|
-
)
|
|
3915
|
+
) })
|
|
3906
3916
|
] })
|
|
3907
3917
|
]
|
|
3908
3918
|
}
|
|
@@ -5479,4 +5489,4 @@ export {
|
|
|
5479
5489
|
Ye as y,
|
|
5480
5490
|
pt as z
|
|
5481
5491
|
};
|
|
5482
|
-
//# sourceMappingURL=index-
|
|
5492
|
+
//# sourceMappingURL=index-mO3W3JFm.js.map
|