@voxket-ai/voxket-live 1.1.40 → 1.1.42
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.cjs +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +7 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8541,7 +8541,8 @@ function $o({
|
|
|
8541
8541
|
const U = Array.from(x.target.files || []);
|
|
8542
8542
|
U.length > 0 && _ && _(U), O.current && (O.current.value = "");
|
|
8543
8543
|
}, oe = ze(
|
|
8544
|
-
|
|
8544
|
+
// Slightly tighter padding on small screens prevents the send button from being clipped.
|
|
8545
|
+
"flex items-center gap-3 px-2 sm:px-3 py-2 w-full backdrop-blur-xl overflow-hidden",
|
|
8545
8546
|
E ? "justify-between" : "justify-center",
|
|
8546
8547
|
t === "light" ? "bg-white/95 border-gray-200" : ""
|
|
8547
8548
|
), te = (x, U) => {
|
|
@@ -8557,7 +8558,7 @@ function $o({
|
|
|
8557
8558
|
);
|
|
8558
8559
|
}, $ = () => /* @__PURE__ */ g("div", { className: "w-5 h-5 animate-spin rounded-full border-2 border-current border-t-transparent" });
|
|
8559
8560
|
return /* @__PURE__ */ N("div", { className: oe, children: [
|
|
8560
|
-
E && /* @__PURE__ */ N("div", { className: "flex items-center gap-2 flex-1", children: [
|
|
8561
|
+
E && /* @__PURE__ */ N("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
|
|
8561
8562
|
T && _ && /* @__PURE__ */ N(St, { children: [
|
|
8562
8563
|
/* @__PURE__ */ g(
|
|
8563
8564
|
"button",
|
|
@@ -8598,7 +8599,7 @@ function $o({
|
|
|
8598
8599
|
disabled: n,
|
|
8599
8600
|
placeholder: v,
|
|
8600
8601
|
className: ze(
|
|
8601
|
-
"flex-1 px-4 py-2 rounded-full border outline-none transition-all",
|
|
8602
|
+
"flex-1 min-w-0 px-4 py-2 rounded-full border outline-none transition-all",
|
|
8602
8603
|
t === "light" ? "bg-gray-100 border-gray-300 focus:border-blue-500 text-gray-900" : "bg-gray-800 border-gray-700 focus:border-blue-400 text-white",
|
|
8603
8604
|
n && "opacity-50 cursor-not-allowed"
|
|
8604
8605
|
)
|
|
@@ -32348,7 +32349,7 @@ function Jl({
|
|
|
32348
32349
|
e.off("suggested.response", P);
|
|
32349
32350
|
};
|
|
32350
32351
|
}, [e]);
|
|
32351
|
-
const X = L && O ? "fullscreen" : i, ie = X === "fullscreen" ? L && O ? `fixed inset-0 z-[9999] flex flex-col h-[100svh]
|
|
32352
|
+
const X = L && O ? "fullscreen" : i, ie = X === "fullscreen" ? L && O ? `fixed inset-0 z-[9999] flex flex-col h-[100svh] min-h-0 ${V.main}` : "flex flex-col h-full w-full max-w-none" : "flex flex-col h-full w-full backdrop-blur-sm max-h-full overflow-hidden contain-layout", Y = X === "fullscreen" ? L && O ? `flex items-center w-full justify-between px-3 h-11 ${V.chatHeader.container} border-b` : `flex items-center w-full justify-between px-5 h-12 border-b ${V.chatHeader.container}` : `flex items-center w-full justify-between px-4 h-12 border-b ${V.chatHeader.container}`, re = X === "fullscreen" ? L && O ? "flex-1 overflow-y-auto overflow-x-hidden scrollbar-hide p-4 w-full max-w-none chat-scrollable min-h-0" : "flex-1 overflow-y-auto overflow-x-hidden scrollbar-hide p-6 w-full max-w-none chat-scrollable min-h-0" : "flex-1 overflow-y-auto overflow-x-hidden scrollbar-hide w-full p-4 chat-scrollable min-h-0", j = "flex-shrink-0 !w-full", ve = () => {
|
|
32352
32353
|
B(!1), n && n();
|
|
32353
32354
|
};
|
|
32354
32355
|
return /* @__PURE__ */ N("div", { className: `${ie} relative`, children: [
|
|
@@ -32357,7 +32358,7 @@ function Jl({
|
|
|
32357
32358
|
/* @__PURE__ */ g(
|
|
32358
32359
|
"h3",
|
|
32359
32360
|
{
|
|
32360
|
-
className: `!font-semibold !text-sm
|
|
32361
|
+
className: `!font-semibold !text-sm leading-tight ${L && O ? "" : V.text.primary}`,
|
|
32361
32362
|
children: "Transcription"
|
|
32362
32363
|
}
|
|
32363
32364
|
),
|
|
@@ -32437,7 +32438,7 @@ function Jl({
|
|
|
32437
32438
|
" is joining..."
|
|
32438
32439
|
] }),
|
|
32439
32440
|
/* @__PURE__ */ g("p", { className: `text-xs ${L && O ? "text-gray-300" : V.text.muted}`, children: "Your conversation will begin shortly" })
|
|
32440
|
-
] }) : /* @__PURE__ */ g("div", { className: "w-full space-y-3 py-4 px-
|
|
32441
|
+
] }) : /* @__PURE__ */ g("div", { className: "w-full space-y-3 py-4 px-3", children: /* @__PURE__ */ N("div", { className: "space-y-3", children: [
|
|
32441
32442
|
d.map((P, ne) => {
|
|
32442
32443
|
var Ee, he, ae, me;
|
|
32443
32444
|
return /* @__PURE__ */ g("div", { children: ((Ee = P.metadata) == null ? void 0 : Ee.type) === "successView" ? /* @__PURE__ */ g("div", { className: "flex w-full justify-end mb-4 px-3", children: /* @__PURE__ */ N("div", { className: "relative group flex-row-reverse flex items-end gap-3 w-full min-w-0", children: [
|