@copilotz/chat-ui 0.9.10 → 0.9.12
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +10 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2824,15 +2824,15 @@ var Sidebar2 = ({
|
|
|
2824
2824
|
setEditingThreadId(null);
|
|
2825
2825
|
};
|
|
2826
2826
|
return /* @__PURE__ */ jsxs11(Sidebar, { collapsible: "icon", ...props, children: [
|
|
2827
|
-
/* @__PURE__ */ jsxs11(SidebarHeader, { className: "gap-3 p-3", children: [
|
|
2828
|
-
/* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-3 px-2 py-3", children: [
|
|
2829
|
-
/* @__PURE__ */ jsx18("div", { className: "flex items-center justify-center
|
|
2827
|
+
/* @__PURE__ */ jsxs11(SidebarHeader, { className: "gap-3 p-3 group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:px-0", children: [
|
|
2828
|
+
/* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-3 px-2 py-3 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-0", children: [
|
|
2829
|
+
/* @__PURE__ */ jsx18("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center", children: config.branding?.logo || /* @__PURE__ */ jsx18(Avatar, { className: "h-8 w-8", children: /* @__PURE__ */ jsx18(AvatarFallback, { className: "bg-primary text-primary-foreground", children: /* @__PURE__ */ jsx18(Bot, { className: "h-4 w-4" }) }) }) }),
|
|
2830
2830
|
/* @__PURE__ */ jsxs11("div", { className: "flex flex-col min-w-0 group-data-[collapsible=icon]:hidden", children: [
|
|
2831
2831
|
/* @__PURE__ */ jsx18("span", { className: "text-sm font-semibold truncate", children: config.branding?.title || "Chat" }),
|
|
2832
2832
|
config.branding?.subtitle && /* @__PURE__ */ jsx18("span", { className: "text-xs text-muted-foreground truncate", children: config.branding.subtitle })
|
|
2833
2833
|
] })
|
|
2834
2834
|
] }),
|
|
2835
|
-
/* @__PURE__ */
|
|
2835
|
+
/* @__PURE__ */ jsxs11("div", { className: "space-y-3 px-1 group-data-[collapsible=icon]:hidden", children: [
|
|
2836
2836
|
onCreateThread && /* @__PURE__ */ jsx18(
|
|
2837
2837
|
CreateThreadDialog,
|
|
2838
2838
|
{
|
|
@@ -2892,7 +2892,7 @@ var Sidebar2 = ({
|
|
|
2892
2892
|
}
|
|
2893
2893
|
)
|
|
2894
2894
|
] })
|
|
2895
|
-
] })
|
|
2895
|
+
] }),
|
|
2896
2896
|
/* @__PURE__ */ jsx18("div", { className: "hidden group-data-[collapsible=icon]:flex justify-center", children: /* @__PURE__ */ jsx18(
|
|
2897
2897
|
Button,
|
|
2898
2898
|
{
|