@burtson-labs/bandit-engine 2.0.144 → 2.0.145

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-TQFUNLAT.mjs";
3
+ } from "./chunk-RTHS72YX.mjs";
4
4
  import {
5
5
  chat_provider_default
6
6
  } from "./chunk-PU74BI6Y.mjs";
@@ -10,7 +10,7 @@ import {
10
10
  useGatewayHealth,
11
11
  useGatewayMemory,
12
12
  useGatewayModels
13
- } from "./chunk-ZZO2QCAD.mjs";
13
+ } from "./chunk-L3PSKQAU.mjs";
14
14
  import "./chunk-P5IJLX6I.mjs";
15
15
  import "./chunk-F7JXIW6T.mjs";
16
16
  import "./chunk-K2JGFKEB.mjs";
@@ -31149,7 +31149,11 @@ var init_chat2 = __esm({
31149
31149
  boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31150
31150
  transition: "left 0.3s ease-in-out, width 0.3s ease-in-out, transform 0.3s ease-in-out, border-radius 0.3s ease-in-out"
31151
31151
  }),
31152
- onClick: isMobile && mobileConversationsOpen ? () => setMobileConversationsOpen(false) : void 0,
31152
+ onClick: isMobile && mobileConversationsOpen ? (e) => {
31153
+ if (e.currentTarget.contains(e.target)) {
31154
+ setMobileConversationsOpen(false);
31155
+ }
31156
+ } : void 0,
31153
31157
  children: [
31154
31158
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
31155
31159
  chat_app_bar_default,