@copilotz/chat-ui 0.6.5 → 0.6.6

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.d.cts CHANGED
@@ -281,6 +281,7 @@ interface ChatV2Props {
281
281
  currentThreadId?: string | null;
282
282
  config?: ChatConfig;
283
283
  sidebar?: ReactNode;
284
+ userMenuAdditionalItems?: ReactNode;
284
285
  isGenerating?: boolean;
285
286
  isMessagesLoading?: boolean;
286
287
  isLoadingOlderMessages?: boolean;
package/dist/index.d.ts CHANGED
@@ -281,6 +281,7 @@ interface ChatV2Props {
281
281
  currentThreadId?: string | null;
282
282
  config?: ChatConfig;
283
283
  sidebar?: ReactNode;
284
+ userMenuAdditionalItems?: ReactNode;
284
285
  isGenerating?: boolean;
285
286
  isMessagesLoading?: boolean;
286
287
  isLoadingOlderMessages?: boolean;
package/dist/index.js CHANGED
@@ -5179,6 +5179,7 @@ var ChatUI = ({
5179
5179
  currentThreadId = null,
5180
5180
  config: userConfig,
5181
5181
  sidebar: _sidebar,
5182
+ userMenuAdditionalItems,
5182
5183
  isGenerating = false,
5183
5184
  isMessagesLoading = false,
5184
5185
  isLoadingOlderMessages = false,
@@ -5626,7 +5627,8 @@ var ChatUI = ({
5626
5627
  user: sidebarUser,
5627
5628
  userMenuCallbacks: sidebarUserMenuCallbacks,
5628
5629
  currentTheme: config.ui.theme === "auto" ? "system" : config.ui.theme,
5629
- showThemeOptions: !!callbacks.onThemeChange
5630
+ showThemeOptions: !!callbacks.onThemeChange,
5631
+ userMenuAdditionalItems
5630
5632
  }
5631
5633
  ),
5632
5634
  /* @__PURE__ */ jsx27(SidebarInset, { children: /* @__PURE__ */ jsxs17("div", { className: "flex flex-col h-full min-h-0", children: [