teodor-new-chat-ui 4.3.579 → 4.3.580
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.esm.js +14 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +9 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -8468,10 +8468,20 @@ function Ky({
|
|
|
8468
8468
|
R(),
|
|
8469
8469
|
M.map((H, J) => v && Yy(H) ? z ? /* @__PURE__ */ u.jsx("div", { className: "space-y-2", children: z }, `streaming-md-${J}`) : null : /* @__PURE__ */ u.jsx($, { part: H, i: J }, J))
|
|
8470
8470
|
] });
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
/* @__PURE__ */ u.
|
|
8474
|
-
|
|
8471
|
+
if (p) {
|
|
8472
|
+
const H = i.trim().length > 0 || l.length > 0;
|
|
8473
|
+
return /* @__PURE__ */ u.jsxs("div", { "aria-busy": "true", role: "status", children: [
|
|
8474
|
+
j,
|
|
8475
|
+
H ? /* @__PURE__ */ u.jsx(
|
|
8476
|
+
"span",
|
|
8477
|
+
{
|
|
8478
|
+
className: "inline-block w-2 h-4 ml-0.5 bg-current opacity-70 animate-pulse align-middle",
|
|
8479
|
+
"aria-hidden": "true"
|
|
8480
|
+
}
|
|
8481
|
+
) : /* @__PURE__ */ u.jsx(Uy, { className: I })
|
|
8482
|
+
] });
|
|
8483
|
+
}
|
|
8484
|
+
return j;
|
|
8475
8485
|
}
|
|
8476
8486
|
return null;
|
|
8477
8487
|
}
|