@burtson-labs/bandit-engine 2.0.138 → 2.0.139

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-LDGJKNI4.mjs";
3
+ } from "./chunk-E2SS643X.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-VBE333NU.mjs.map
16
+ //# sourceMappingURL=chat-KR4S7YJ3.mjs.map
@@ -11291,14 +11291,14 @@ var ChatContent = () => {
11291
11291
  }
11292
11292
  ),
11293
11293
  isTemporaryChat && /* @__PURE__ */ jsxs18(Fragment13, { children: [
11294
- /* @__PURE__ */ jsx23(
11294
+ !isMobile && /* @__PURE__ */ jsx23(
11295
11295
  Box20,
11296
11296
  {
11297
11297
  sx: (theme) => ({
11298
11298
  position: "absolute",
11299
- inset: isMobile ? "3px" : 0,
11299
+ inset: 0,
11300
11300
  border: `3px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.55)" : "rgba(0,0,0,0.45)"}`,
11301
- borderRadius: isMobile ? "28px" : "inherit",
11301
+ borderRadius: "inherit",
11302
11302
  zIndex: 1400,
11303
11303
  pointerEvents: "none"
11304
11304
  })
@@ -11309,7 +11309,9 @@ var ChatContent = () => {
11309
11309
  {
11310
11310
  sx: (theme) => ({
11311
11311
  position: "absolute",
11312
- top: `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
11312
+ // Mobile: centered in the top-bar row between the two pills
11313
+ // (Claude's "Incognito chat" placement); desktop: below the bar.
11314
+ top: isMobile ? "calc(env(safe-area-inset-top, 0px) + 14px)" : `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
11313
11315
  left: "50%",
11314
11316
  transform: "translateX(-50%)",
11315
11317
  zIndex: 1401,
@@ -11318,14 +11320,15 @@ var ChatContent = () => {
11318
11320
  gap: 0.75,
11319
11321
  pl: 1.5,
11320
11322
  pr: 0.75,
11321
- py: 0.4,
11323
+ py: 0.6,
11322
11324
  borderRadius: 999,
11323
- fontSize: "0.78rem",
11324
- fontWeight: 600,
11325
- color: theme.palette.text.primary,
11326
- bgcolor: theme.palette.mode === "dark" ? "rgba(255,255,255,0.12)" : "rgba(0,0,0,0.08)",
11327
- border: `1px solid ${theme.palette.divider}`,
11328
- backdropFilter: "blur(8px)",
11325
+ fontSize: "0.82rem",
11326
+ fontWeight: 700,
11327
+ // Inverted, high-contrast — same treatment as the active
11328
+ // ghost toggle, so the mode is unmissable without a frame.
11329
+ color: theme.palette.getContrastText(theme.palette.text.primary),
11330
+ bgcolor: theme.palette.text.primary,
11331
+ boxShadow: `0 4px 16px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.5)" : "rgba(0,0,0,0.25)"}`,
11329
11332
  whiteSpace: "nowrap"
11330
11333
  }),
11331
11334
  children: [
@@ -11342,21 +11345,22 @@ var ChatContent = () => {
11342
11345
  display: "inline-flex",
11343
11346
  alignItems: "center",
11344
11347
  justifyContent: "center",
11345
- width: 20,
11346
- height: 20,
11348
+ width: 22,
11349
+ height: 22,
11347
11350
  ml: 0.25,
11348
11351
  p: 0,
11349
11352
  border: "none",
11350
11353
  borderRadius: "50%",
11351
11354
  cursor: "pointer",
11352
- color: theme.palette.text.secondary,
11355
+ color: "inherit",
11353
11356
  bgcolor: "transparent",
11354
11357
  font: "inherit",
11355
- fontSize: "0.85rem",
11358
+ fontSize: "0.9rem",
11356
11359
  lineHeight: 1,
11360
+ opacity: 0.75,
11357
11361
  "&:hover": {
11358
- bgcolor: theme.palette.mode === "dark" ? "rgba(255,255,255,0.15)" : "rgba(0,0,0,0.1)",
11359
- color: theme.palette.text.primary
11362
+ opacity: 1,
11363
+ bgcolor: theme.palette.mode === "dark" ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.2)"
11360
11364
  }
11361
11365
  }),
11362
11366
  children: "\u2715"
@@ -11584,4 +11588,4 @@ var chat_default = Chat;
11584
11588
  export {
11585
11589
  chat_default
11586
11590
  };
11587
- //# sourceMappingURL=chunk-LDGJKNI4.mjs.map
11591
+ //# sourceMappingURL=chunk-E2SS643X.mjs.map