@burtson-labs/bandit-engine 2.0.142 → 2.0.144

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-EWAZFMA3.mjs";
3
+ } from "./chunk-TQFUNLAT.mjs";
4
4
  import "./chunk-ONQMRE2G.mjs";
5
5
  import "./chunk-P5IJLX6I.mjs";
6
6
  import "./chunk-K2JGFKEB.mjs";
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
13
13
  export {
14
14
  chat_default as default
15
15
  };
16
- //# sourceMappingURL=chat-OD4BF2XP.mjs.map
16
+ //# sourceMappingURL=chat-QX6PB2YG.mjs.map
@@ -10271,6 +10271,13 @@ var ChatContent = () => {
10271
10271
  const [isMobile, setIsMobile] = useState19(false);
10272
10272
  const [drawerOpen, setDrawerOpen] = useState19(false);
10273
10273
  const [mobileConversationsOpen, setMobileConversationsOpen] = useState19(false);
10274
+ useEffect17(() => {
10275
+ if (typeof document === "undefined") return;
10276
+ const meta = document.querySelector('meta[name="theme-color"]');
10277
+ if (!meta) return;
10278
+ const surface = isMobile && mobileConversationsOpen ? banditTheme.palette.background.paper : banditTheme.palette.chat?.shell ?? "#121212";
10279
+ meta.setAttribute("content", surface);
10280
+ }, [isMobile, mobileConversationsOpen, banditTheme]);
10274
10281
  const { generateName } = useConversationNameGenerator();
10275
10282
  const { preferences } = usePreferencesStore();
10276
10283
  const { containerRef: chatContainerRef, targetRef: scrollTargetRef, scrollToBottom, getScrollState } = useAutoScroll({
@@ -11458,4 +11465,4 @@ var chat_default = Chat;
11458
11465
  export {
11459
11466
  chat_default
11460
11467
  };
11461
- //# sourceMappingURL=chunk-EWAZFMA3.mjs.map
11468
+ //# sourceMappingURL=chunk-TQFUNLAT.mjs.map