@burtson-labs/bandit-engine 2.0.92 → 2.0.94

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-JJNPBLJ7.mjs";
3
+ } from "./chunk-JOY64M5C.mjs";
4
4
  import "./chunk-ONQMRE2G.mjs";
5
5
  import "./chunk-RUMVTVNM.mjs";
6
6
  import "./chunk-L2EKYO4F.mjs";
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
13
13
  export {
14
14
  chat_default as default
15
15
  };
16
- //# sourceMappingURL=chat-L3VMBI6A.mjs.map
16
+ //# sourceMappingURL=chat-HYXGXPJM.mjs.map
@@ -462,13 +462,13 @@ var SourceChip = ({ source }) => {
462
462
  href: source.url,
463
463
  target: "_blank",
464
464
  rel: "noopener noreferrer",
465
- className: "source-chip",
466
465
  sx: {
467
466
  display: "inline-flex",
468
467
  alignItems: "center",
469
468
  flexShrink: 0,
469
+ gap: 0.5,
470
470
  height: 26,
471
- px: 0.4,
471
+ px: 0.75,
472
472
  borderRadius: 999,
473
473
  border: "1px solid",
474
474
  borderColor: "divider",
@@ -512,9 +512,8 @@ var SourceChip = ({ source }) => {
512
512
  /* @__PURE__ */ jsx5(
513
513
  Box3,
514
514
  {
515
- className: "chip-label",
516
515
  component: "span",
517
- sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
516
+ sx: { maxWidth: 150, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
518
517
  children: label
519
518
  }
520
519
  )
@@ -543,37 +542,7 @@ var SourceChips = ({ content }) => {
543
542
  children: "Sources"
544
543
  }
545
544
  ),
546
- /* @__PURE__ */ jsx5(
547
- Box3,
548
- {
549
- sx: {
550
- display: "flex",
551
- alignItems: "center",
552
- flexWrap: "wrap",
553
- rowGap: 0.5,
554
- // Touch / no-hover devices: chips stay expanded (no hover to reveal).
555
- "& .source-chip": { ml: "4px" },
556
- "& .source-chip:first-of-type": { ml: 0 },
557
- "& .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 },
558
- // Hover-capable devices: collapse into an overlapping favicon stack
559
- // that spreads out and reveals titles when the rail is hovered.
560
- "@media (hover: hover)": {
561
- "& .source-chip": { ml: "-10px", transition: "margin-left 0.22s ease" },
562
- "& .source-chip:first-of-type": { ml: 0 },
563
- "& .chip-label": {
564
- maxWidth: 0,
565
- opacity: 0,
566
- ml: 0,
567
- transition: "max-width 0.28s ease, opacity 0.18s ease, margin-left 0.2s ease"
568
- },
569
- "&:hover .source-chip": { ml: "6px" },
570
- "&:hover .source-chip:first-of-type": { ml: 0 },
571
- "&:hover .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 }
572
- }
573
- },
574
- children: sources.map((s, i) => /* @__PURE__ */ jsx5(SourceChip, { source: s }, `${s.url}-${i}`))
575
- }
576
- )
545
+ /* @__PURE__ */ jsx5(Box3, { sx: { display: "flex", flexWrap: "wrap", alignItems: "center", gap: 0.75 }, children: sources.map((s, i) => /* @__PURE__ */ jsx5(SourceChip, { source: s }, `${s.url}-${i}`)) })
577
546
  ] });
578
547
  };
579
548
  var source_chips_default = SourceChips;
@@ -10648,4 +10617,4 @@ var chat_default = Chat;
10648
10617
  export {
10649
10618
  chat_default
10650
10619
  };
10651
- //# sourceMappingURL=chunk-JJNPBLJ7.mjs.map
10620
+ //# sourceMappingURL=chunk-JOY64M5C.mjs.map