@docyrus/ui-pro-ai-assistant 0.7.5 → 0.7.7
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19651,7 +19651,7 @@ function ChatPanel({
|
|
|
19651
19651
|
/* @__PURE__ */ jsx(
|
|
19652
19652
|
"div",
|
|
19653
19653
|
{
|
|
19654
|
-
className: "flex flex-1 flex-col items-center overflow-y-auto
|
|
19654
|
+
className: "flex flex-1 flex-col items-center overflow-y-auto px-6 py-2 transition-all duration-250 ease-out",
|
|
19655
19655
|
style: { opacity: fadingOut ? 0 : 1, transform: fadingOut ? "translateY(-8px)" : "translateY(0)" },
|
|
19656
19656
|
children: /* @__PURE__ */ jsxs("div", { className: "flex w-full max-w-[720px] flex-col", children: [
|
|
19657
19657
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3 pb-6", children: isLoadingAgent ? /* @__PURE__ */ jsx("div", { className: "flex flex-1 items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "p-2 bg-muted rounded-md", children: /* @__PURE__ */ jsx(Spinner, { className: "size-10 text-muted-foreground" }) }) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -19664,7 +19664,7 @@ function ChatPanel({
|
|
|
19664
19664
|
] }) }),
|
|
19665
19665
|
recentSessions && recentSessions.length > 0 && !isLoadingAgent ? /* @__PURE__ */ jsxs("div", { className: "flex min-h-0 flex-1 flex-col gap-3", children: [
|
|
19666
19666
|
/* @__PURE__ */ jsx("h2", { className: "shrink-0 text-sm font-medium text-muted-foreground", children: "Recent Sessions" }),
|
|
19667
|
-
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", children: /* @__PURE__ */ jsx("div", { className: "flex flex-col divide-y", children: recentSessions.slice(0, 5).map((session) => /* @__PURE__ */ jsxs(
|
|
19667
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden", children: /* @__PURE__ */ jsx("div", { className: "flex flex-col divide-y", children: recentSessions.slice(0, 5).map((session) => /* @__PURE__ */ jsxs(
|
|
19668
19668
|
"div",
|
|
19669
19669
|
{
|
|
19670
19670
|
onClick: () => onSessionClick?.(session),
|