@burtson-labs/bandit-engine 2.0.123 → 2.0.125

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-4T6HJTYD.mjs";
3
+ } from "./chunk-2WFTEJPS.mjs";
4
4
  import {
5
5
  chat_provider_default
6
6
  } from "./chunk-SAQUEXYS.mjs";
@@ -10,8 +10,8 @@ import {
10
10
  useGatewayHealth,
11
11
  useGatewayMemory,
12
12
  useGatewayModels
13
- } from "./chunk-RLMGTTK7.mjs";
14
- import "./chunk-WSNV6EX5.mjs";
13
+ } from "./chunk-ID6CTZ3G.mjs";
14
+ import "./chunk-574ILQTT.mjs";
15
15
  import "./chunk-F7JXIW6T.mjs";
16
16
  import "./chunk-K2JGFKEB.mjs";
17
17
  import {
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-IXIM7BNO.mjs";
20
20
  import {
21
21
  chat_modal_default
22
- } from "./chunk-4RRQQPFZ.mjs";
22
+ } from "./chunk-TQP3GUW5.mjs";
23
23
  import {
24
24
  FeedbackButton,
25
25
  FeedbackModal,
@@ -37,7 +37,7 @@ import {
37
37
  useTTS,
38
38
  useVoiceStore,
39
39
  voiceService
40
- } from "./chunk-JJTUEC2E.mjs";
40
+ } from "./chunk-OLKDPUWL.mjs";
41
41
  import {
42
42
  DEFAULT_TIER_FEATURES,
43
43
  FeatureFlagContext,
@@ -15611,8 +15611,10 @@ var init_FeedbackModal = __esm({
15611
15611
  overflow: "hidden",
15612
15612
  display: "flex",
15613
15613
  flexDirection: "column",
15614
- height: "100dvh",
15615
- maxHeight: "100dvh",
15614
+ // Size to the (now condensed) content instead of pinning to the
15615
+ // full viewport — a mostly-empty full-height sheet looked broken.
15616
+ height: isMobile ? "100dvh" : "auto",
15617
+ maxHeight: isMobile ? "100dvh" : "90vh",
15616
15618
  margin: isMobile ? 0 : "auto",
15617
15619
  position: "relative"
15618
15620
  }
@@ -15736,7 +15738,11 @@ var init_FeedbackModal = __esm({
15736
15738
  gridTemplateRows: "auto auto auto auto",
15737
15739
  rowGap: "16px",
15738
15740
  columnGap: "0px",
15739
- width: "100%"
15741
+ width: "100%",
15742
+ // Headroom for the first field's floating label — MUI zeroes
15743
+ // DialogContent's top padding after a DialogTitle, which clipped
15744
+ // the "Title" label under the header.
15745
+ pt: 1.5
15740
15746
  },
15741
15747
  children: [
15742
15748
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
@@ -31327,17 +31333,18 @@ var init_chat2 = __esm({
31327
31333
  left: drawerOpen && !isMobile ? "340px" : 0,
31328
31334
  width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
31329
31335
  zIndex: 0,
31330
- // Claude/ChatGPT-style push: while the mobile conversations drawer is
31331
- // open the whole chat shell slides right and becomes a rounded card,
31332
- // leaving a tappable sliver. Width kept in sync with the drawer in
31333
- // enhanced-mobile-conversations-modal.tsx.
31334
- transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px))" : "none",
31335
- borderRadius: isMobile && mobileConversationsOpen ? "24px" : drawerOpen && !isMobile ? "24px 0 0 24px" : 0,
31336
- // A hairline border makes the rounded card read even when the page
31337
- // behind is the same near-black as the shell — shadow alone is
31338
- // invisible dark-on-dark.
31339
- border: isMobile && mobileConversationsOpen || drawerOpen && !isMobile ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
31340
- boxShadow: isMobile && mobileConversationsOpen || drawerOpen && !isMobile ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31336
+ // Claude-style push (mobile only; desktop stays flush): the chat
31337
+ // shell slides right and shrinks slightly into a rounded card. The
31338
+ // scale insets the card from every screen edge so all four rounded
31339
+ // corners stay visible — a full-height 100dvh card had its bottom
31340
+ // corners clipped at the device edge in the PWA. Width kept in sync
31341
+ // with the drawer in enhanced-mobile-conversations-modal.tsx.
31342
+ transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px)) scale(0.96)" : "none",
31343
+ borderRadius: isMobile && mobileConversationsOpen ? "24px" : 0,
31344
+ // Hairline border so the rounded card reads even when the backdrop
31345
+ // is the same near-black as the shell.
31346
+ border: isMobile && mobileConversationsOpen ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
31347
+ boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31341
31348
  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"
31342
31349
  }),
31343
31350
  children: [