@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.
@@ -24,7 +24,7 @@ import {
24
24
  useNotificationService,
25
25
  useTTS,
26
26
  useVoiceStore
27
- } from "./chunk-JJTUEC2E.mjs";
27
+ } from "./chunk-OLKDPUWL.mjs";
28
28
  import {
29
29
  brandingService_default,
30
30
  toTitleCase,
@@ -2803,4 +2803,4 @@ export {
2803
2803
  MAX_WINDOWED_HEIGHT,
2804
2804
  chat_modal_default
2805
2805
  };
2806
- //# sourceMappingURL=chunk-4RRQQPFZ.mjs.map
2806
+ //# sourceMappingURL=chunk-TQP3GUW5.mjs.map
package/dist/index.js CHANGED
@@ -18188,8 +18188,10 @@ var init_FeedbackModal = __esm({
18188
18188
  overflow: "hidden",
18189
18189
  display: "flex",
18190
18190
  flexDirection: "column",
18191
- height: "100dvh",
18192
- maxHeight: "100dvh",
18191
+ // Size to the (now condensed) content instead of pinning to the
18192
+ // full viewport — a mostly-empty full-height sheet looked broken.
18193
+ height: isMobile ? "100dvh" : "auto",
18194
+ maxHeight: isMobile ? "100dvh" : "90vh",
18193
18195
  margin: isMobile ? 0 : "auto",
18194
18196
  position: "relative"
18195
18197
  }
@@ -18313,7 +18315,11 @@ var init_FeedbackModal = __esm({
18313
18315
  gridTemplateRows: "auto auto auto auto",
18314
18316
  rowGap: "16px",
18315
18317
  columnGap: "0px",
18316
- width: "100%"
18318
+ width: "100%",
18319
+ // Headroom for the first field's floating label — MUI zeroes
18320
+ // DialogContent's top padding after a DialogTitle, which clipped
18321
+ // the "Title" label under the header.
18322
+ pt: 1.5
18317
18323
  },
18318
18324
  children: [
18319
18325
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
@@ -31717,17 +31723,18 @@ var init_chat2 = __esm({
31717
31723
  left: drawerOpen && !isMobile ? "340px" : 0,
31718
31724
  width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
31719
31725
  zIndex: 0,
31720
- // Claude/ChatGPT-style push: while the mobile conversations drawer is
31721
- // open the whole chat shell slides right and becomes a rounded card,
31722
- // leaving a tappable sliver. Width kept in sync with the drawer in
31723
- // enhanced-mobile-conversations-modal.tsx.
31724
- transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px))" : "none",
31725
- borderRadius: isMobile && mobileConversationsOpen ? "24px" : drawerOpen && !isMobile ? "24px 0 0 24px" : 0,
31726
- // A hairline border makes the rounded card read even when the page
31727
- // behind is the same near-black as the shell — shadow alone is
31728
- // invisible dark-on-dark.
31729
- border: isMobile && mobileConversationsOpen || drawerOpen && !isMobile ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
31730
- 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",
31726
+ // Claude-style push (mobile only; desktop stays flush): the chat
31727
+ // shell slides right and shrinks slightly into a rounded card. The
31728
+ // scale insets the card from every screen edge so all four rounded
31729
+ // corners stay visible — a full-height 100dvh card had its bottom
31730
+ // corners clipped at the device edge in the PWA. Width kept in sync
31731
+ // with the drawer in enhanced-mobile-conversations-modal.tsx.
31732
+ transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px)) scale(0.96)" : "none",
31733
+ borderRadius: isMobile && mobileConversationsOpen ? "24px" : 0,
31734
+ // Hairline border so the rounded card reads even when the backdrop
31735
+ // is the same near-black as the shell.
31736
+ border: isMobile && mobileConversationsOpen ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
31737
+ boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31731
31738
  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"
31732
31739
  }),
31733
31740
  children: [