@docyrus/ui-pro-ai-assistant 0.3.0 → 0.3.1
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 +5 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22671,7 +22671,10 @@ var AssistantView = ({ ref, ...props }) => {
|
|
|
22671
22671
|
activeAgent?.name ?? commonProps.title ?? "Assistant"
|
|
22672
22672
|
] }) : null;
|
|
22673
22673
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22674
|
-
showHeader && /* @__PURE__ */ jsxs("div", { className:
|
|
22674
|
+
showHeader && /* @__PURE__ */ jsxs("div", { className: cn(
|
|
22675
|
+
"relative z-50 flex items-center justify-between h-12 px-3 border-b shrink-0 bg-background",
|
|
22676
|
+
!isSidebarOpen && enableSidebar && "ml-10"
|
|
22677
|
+
), children: [
|
|
22675
22678
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
22676
22679
|
enableNavDropdown && /* @__PURE__ */ jsxs(DropdownMenu$1, { children: [
|
|
22677
22680
|
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
@@ -22873,7 +22876,7 @@ var AssistantView = ({ ref, ...props }) => {
|
|
|
22873
22876
|
/* @__PURE__ */ jsx("div", { className: cn(
|
|
22874
22877
|
"flex flex-col min-h-0 overflow-hidden transition-all duration-200",
|
|
22875
22878
|
canvasWork ? "w-2/5" : "flex-1",
|
|
22876
|
-
|
|
22879
|
+
""
|
|
22877
22880
|
), children: activeTab === 1 ? (
|
|
22878
22881
|
// Sessions View
|
|
22879
22882
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col flex-1 min-h-0 overflow-hidden", children: [
|