@burtson-labs/bandit-engine 2.0.92 → 2.0.93

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
@@ -15427,13 +15427,13 @@ var init_source_chips = __esm({
15427
15427
  href: source.url,
15428
15428
  target: "_blank",
15429
15429
  rel: "noopener noreferrer",
15430
- className: "source-chip",
15431
15430
  sx: {
15432
15431
  display: "inline-flex",
15433
15432
  alignItems: "center",
15434
15433
  flexShrink: 0,
15434
+ gap: 0.5,
15435
15435
  height: 26,
15436
- px: 0.4,
15436
+ px: 0.75,
15437
15437
  borderRadius: 999,
15438
15438
  border: "1px solid",
15439
15439
  borderColor: "divider",
@@ -15477,9 +15477,8 @@ var init_source_chips = __esm({
15477
15477
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
15478
15478
  import_material11.Box,
15479
15479
  {
15480
- className: "chip-label",
15481
15480
  component: "span",
15482
- sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
15481
+ sx: { maxWidth: 150, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
15483
15482
  children: label
15484
15483
  }
15485
15484
  )
@@ -15508,37 +15507,7 @@ var init_source_chips = __esm({
15508
15507
  children: "Sources"
15509
15508
  }
15510
15509
  ),
15511
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
15512
- import_material11.Box,
15513
- {
15514
- sx: {
15515
- display: "flex",
15516
- alignItems: "center",
15517
- flexWrap: "wrap",
15518
- rowGap: 0.5,
15519
- // Touch / no-hover devices: chips stay expanded (no hover to reveal).
15520
- "& .source-chip": { ml: "4px" },
15521
- "& .source-chip:first-of-type": { ml: 0 },
15522
- "& .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 },
15523
- // Hover-capable devices: collapse into an overlapping favicon stack
15524
- // that spreads out and reveals titles when the rail is hovered.
15525
- "@media (hover: hover)": {
15526
- "& .source-chip": { ml: "-10px", transition: "margin-left 0.22s ease" },
15527
- "& .source-chip:first-of-type": { ml: 0 },
15528
- "& .chip-label": {
15529
- maxWidth: 0,
15530
- opacity: 0,
15531
- ml: 0,
15532
- transition: "max-width 0.28s ease, opacity 0.18s ease, margin-left 0.2s ease"
15533
- },
15534
- "&:hover .source-chip": { ml: "6px" },
15535
- "&:hover .source-chip:first-of-type": { ml: 0 },
15536
- "&:hover .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 }
15537
- }
15538
- },
15539
- children: sources.map((s, i) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SourceChip, { source: s }, `${s.url}-${i}`))
15540
- }
15541
- )
15510
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_material11.Box, { sx: { display: "flex", flexWrap: "wrap", alignItems: "center", gap: 0.75 }, children: sources.map((s, i) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SourceChip, { source: s }, `${s.url}-${i}`)) })
15542
15511
  ] });
15543
15512
  };
15544
15513
  source_chips_default = SourceChips;