@burtson-labs/bandit-engine 2.0.137 → 2.0.138
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/{chat-REZJEBRK.mjs → chat-VBE333NU.mjs} +2 -2
- package/dist/{chunk-YPIUO3IS.mjs → chunk-LDGJKNI4.mjs} +22 -10
- package/dist/chunk-LDGJKNI4.mjs.map +1 -0
- package/dist/{chunk-2L5DC4OI.mjs → chunk-WBWVXJF3.mjs} +2 -2
- package/dist/index.js +21 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +21 -9
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-YPIUO3IS.mjs.map +0 -1
- /package/dist/{chat-REZJEBRK.mjs.map → chat-VBE333NU.mjs.map} +0 -0
- /package/dist/{chunk-2L5DC4OI.mjs.map → chunk-WBWVXJF3.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LDGJKNI4.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-BVYSGIWG.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-
|
|
16
|
+
//# sourceMappingURL=chat-VBE333NU.mjs.map
|
|
@@ -8267,8 +8267,10 @@ var EnhancedMobileConversationsModal = ({
|
|
|
8267
8267
|
// Keep in sync with MOBILE_CONVERSATIONS_DRAWER_WIDTH in chat.tsx
|
|
8268
8268
|
// (the chat shell translates by the same amount).
|
|
8269
8269
|
width: "min(calc(100vw - 56px), 360px)",
|
|
8270
|
-
//
|
|
8271
|
-
//
|
|
8270
|
+
// Explicit 100lvh overflows iOS standalone's under-reported
|
|
8271
|
+
// viewport downward — bottom-anchoring alone stops short.
|
|
8272
|
+
height: "100dvh",
|
|
8273
|
+
"@supports (height: 100lvh)": { height: "100lvh" },
|
|
8272
8274
|
bgcolor: theme.palette.background.paper,
|
|
8273
8275
|
display: "flex",
|
|
8274
8276
|
flexDirection: "column",
|
|
@@ -11235,18 +11237,20 @@ var ChatContent = () => {
|
|
|
11235
11237
|
sx: (theme) => ({
|
|
11236
11238
|
display: "flex",
|
|
11237
11239
|
flexDirection: "column",
|
|
11238
|
-
//
|
|
11239
|
-
//
|
|
11240
|
-
//
|
|
11240
|
+
// iOS standalone under-reports both dvh AND the fixed-position
|
|
11241
|
+
// containing block, stranding a dead band above the home bar.
|
|
11242
|
+
// An explicit 100lvh height can overflow that short viewport
|
|
11243
|
+
// downward, which bottom-anchoring cannot.
|
|
11241
11244
|
overflow: "hidden",
|
|
11242
11245
|
bgcolor: theme.palette.chat.shell,
|
|
11243
11246
|
color: theme.palette.text.primary,
|
|
11244
11247
|
position: "fixed",
|
|
11245
11248
|
top: 0,
|
|
11246
11249
|
bottom: 0,
|
|
11250
|
+
height: "100dvh",
|
|
11251
|
+
"@supports (height: 100lvh)": { height: "100lvh" },
|
|
11247
11252
|
left: drawerOpen && !isMobile ? "340px" : 0,
|
|
11248
11253
|
width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
|
|
11249
|
-
zIndex: 0,
|
|
11250
11254
|
// Claude-style push (mobile only; desktop stays flush): the chat
|
|
11251
11255
|
// shell slides right as a full-height rounded card — exactly like
|
|
11252
11256
|
// Claude iOS, where the card runs edge-to-edge vertically and the
|
|
@@ -11257,15 +11261,20 @@ var ChatContent = () => {
|
|
|
11257
11261
|
// status area, the bottom stays flush with the screen edge, and the
|
|
11258
11262
|
// motion reads as the native sheet-behind effect instead of the
|
|
11259
11263
|
// content lurching downward.
|
|
11260
|
-
|
|
11264
|
+
// Slides 12px OVER the drawer's edge (not edge-to-edge) and rides
|
|
11265
|
+
// above it in z-order, so the card's shadow falls on the drawer —
|
|
11266
|
+
// the overlapped-sheet look.
|
|
11267
|
+
transform: isMobile && mobileConversationsOpen ? "translateX(calc(min(calc(100vw - 56px), 360px) - 12px)) scale(0.93)" : "none",
|
|
11261
11268
|
transformOrigin: "left bottom",
|
|
11262
11269
|
borderRadius: isMobile && mobileConversationsOpen ? "36px" : 0,
|
|
11270
|
+
zIndex: isMobile && mobileConversationsOpen ? theme.zIndex.modal + 1 : 0,
|
|
11263
11271
|
// Hairline border so the rounded card reads even when the backdrop
|
|
11264
11272
|
// is the same near-black as the shell.
|
|
11265
11273
|
border: isMobile && mobileConversationsOpen ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
|
|
11266
11274
|
boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
|
|
11267
11275
|
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"
|
|
11268
11276
|
}),
|
|
11277
|
+
onClick: isMobile && mobileConversationsOpen ? () => setMobileConversationsOpen(false) : void 0,
|
|
11269
11278
|
children: [
|
|
11270
11279
|
/* @__PURE__ */ jsx23(
|
|
11271
11280
|
chat_app_bar_default,
|
|
@@ -11370,7 +11379,10 @@ var ChatContent = () => {
|
|
|
11370
11379
|
px: isMobile ? 1 : 2,
|
|
11371
11380
|
// Reduce padding on mobile for better width utilization
|
|
11372
11381
|
pb: logoOnly ? 0 : `${inputHeight + 24}px`,
|
|
11373
|
-
|
|
11382
|
+
// The flex column already bounds this; the old --vh cap (from
|
|
11383
|
+
// window.innerHeight) under-measured in iOS standalone and let
|
|
11384
|
+
// the composer's auto margins float it above the bottom.
|
|
11385
|
+
maxHeight: "100%",
|
|
11374
11386
|
WebkitOverflowScrolling: "touch",
|
|
11375
11387
|
overscrollBehavior: "contain",
|
|
11376
11388
|
position: "relative",
|
|
@@ -11496,7 +11508,7 @@ var ChatContent = () => {
|
|
|
11496
11508
|
display: "flex",
|
|
11497
11509
|
flexDirection: "column",
|
|
11498
11510
|
alignItems: "center",
|
|
11499
|
-
margin: "auto",
|
|
11511
|
+
margin: "0 auto",
|
|
11500
11512
|
width: "100vw",
|
|
11501
11513
|
maxWidth: "768px"
|
|
11502
11514
|
},
|
|
@@ -11572,4 +11584,4 @@ var chat_default = Chat;
|
|
|
11572
11584
|
export {
|
|
11573
11585
|
chat_default
|
|
11574
11586
|
};
|
|
11575
|
-
//# sourceMappingURL=chunk-
|
|
11587
|
+
//# sourceMappingURL=chunk-LDGJKNI4.mjs.map
|