@burtson-labs/bandit-engine 2.0.123 → 2.0.124

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.js CHANGED
@@ -31717,17 +31717,18 @@ var init_chat2 = __esm({
31717
31717
  left: drawerOpen && !isMobile ? "340px" : 0,
31718
31718
  width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
31719
31719
  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",
31720
+ // Claude-style push (mobile only; desktop stays flush): the chat
31721
+ // shell slides right and shrinks slightly into a rounded card. The
31722
+ // scale insets the card from every screen edge so all four rounded
31723
+ // corners stay visible — a full-height 100dvh card had its bottom
31724
+ // corners clipped at the device edge in the PWA. Width kept in sync
31725
+ // with the drawer in enhanced-mobile-conversations-modal.tsx.
31726
+ transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px)) scale(0.96)" : "none",
31727
+ borderRadius: isMobile && mobileConversationsOpen ? "24px" : 0,
31728
+ // Hairline border so the rounded card reads even when the backdrop
31729
+ // is the same near-black as the shell.
31730
+ border: isMobile && mobileConversationsOpen ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
31731
+ boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31731
31732
  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
31733
  }),
31733
31734
  children: [