@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.
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;
@@ -38171,8 +38140,8 @@ var BrandingTab = ({
38171
38140
  }
38172
38141
  }
38173
38142
  ),
38174
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material43.Typography, { variant: "body2", color: logoBase64 ? "success.main" : "info.main", sx: { fontWeight: 600, fontSize: "0.85rem" }, children: logoBase64 ? "\u2713 Custom Logo" : "Default Logo" }),
38175
- !logoBase64 && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material43.Typography, { variant: "caption", color: "text.secondary", sx: { fontSize: "0.75rem", textAlign: "center" }, children: "\u{1F3AF} Click to upload & crop your logo" })
38143
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material43.Typography, { variant: "body2", color: logoBase64 ? "success.main" : "info.main", sx: { fontWeight: 600, fontSize: "0.85rem" }, children: logoBase64 ? "Custom Logo" : "Default Logo" }),
38144
+ !logoBase64 && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material43.Typography, { variant: "caption", color: "text.secondary", sx: { fontSize: "0.75rem", textAlign: "center" }, children: "Click to upload & crop your logo" })
38176
38145
  ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_material43.Box, { sx: { display: "flex", flexDirection: "column", alignItems: "center", gap: 1 }, children: [
38177
38146
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
38178
38147
  UploadIcon,
@@ -38185,7 +38154,7 @@ var BrandingTab = ({
38185
38154
  }
38186
38155
  }
38187
38156
  ),
38188
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material43.Typography, { variant: "body2", color: "text.primary", sx: { fontSize: "1rem" }, children: dragOver ? "Drop here" : "\u{1F3AF} Upload & Crop Logo" }),
38157
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material43.Typography, { variant: "body2", color: "text.primary", sx: { fontSize: "1rem" }, children: dragOver ? "Drop here" : "Upload & Crop Logo" }),
38189
38158
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_material43.Typography, { variant: "caption", color: "text.secondary", sx: { fontSize: "0.82rem", textAlign: "center" }, children: "JPG/PNG \u2022 Drag & drop or tap to upload \u2022 Built-in cropper" })
38190
38159
  ] }),
38191
38160
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
@@ -43480,7 +43449,7 @@ var ProviderTab = () => {
43480
43449
  ] })
43481
43450
  ] }),
43482
43451
  /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Paper, { sx: { p: 3, bgcolor: "info.main", color: "info.contrastText", borderRadius: 2 }, children: [
43483
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "h6", sx: { mb: 1, fontWeight: 600, color: "text.primary" }, children: "\u{1F680} Gateway Provider Recommended" }),
43452
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "h6", sx: { mb: 1, fontWeight: 600, color: "text.primary" }, children: "Gateway Provider Recommended" }),
43484
43453
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "body2", children: "For production deployments, we recommend using the Gateway provider which routes requests through your secure backend API. This approach keeps API keys secure, enables rate limiting, and provides better monitoring capabilities." })
43485
43454
  ] })
43486
43455
  ] }),