@burtson-labs/bandit-engine 2.0.110 → 2.0.111

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.mjs CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  useGatewayHealth,
11
11
  useGatewayMemory,
12
12
  useGatewayModels
13
- } from "./chunk-Y54VH63F.mjs";
13
+ } from "./chunk-JFISRBZ5.mjs";
14
14
  import "./chunk-VR2ZWFTN.mjs";
15
15
  import "./chunk-HAUDGBUS.mjs";
16
16
  import "./chunk-BN3D45E2.mjs";
@@ -44339,6 +44339,9 @@ var Management = () => {
44339
44339
  },
44340
44340
  MuiTextField: {
44341
44341
  defaultProps: { size: "small" }
44342
+ },
44343
+ MuiButton: {
44344
+ defaultProps: { size: "small" }
44342
44345
  }
44343
44346
  }
44344
44347
  });
@@ -44481,82 +44484,46 @@ var Management = () => {
44481
44484
  if (isMobile) setSidebarOpen(false);
44482
44485
  },
44483
44486
  sx: {
44484
- minHeight: 56,
44485
- borderRadius: 3,
44486
- mx: 1,
44487
- my: 0.5,
44488
- px: 2,
44489
- py: 1.5,
44490
- border: tabIndex === idx ? (theme2) => `2px solid ${theme2.palette.primary.main}40` : "2px solid transparent",
44491
- bgcolor: tabIndex === idx ? (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.12)" : "rgba(25,118,210,0.08)" : "transparent",
44487
+ minHeight: 36,
44488
+ borderRadius: 1.5,
44489
+ mx: 0.5,
44490
+ my: 0.125,
44491
+ px: 1.25,
44492
+ py: 0.5,
44493
+ bgcolor: tabIndex === idx ? (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.14)" : "rgba(25,118,210,0.10)" : "transparent",
44492
44494
  color: tabIndex === idx ? "primary.main" : "text.primary",
44493
- fontWeight: tabIndex === idx ? 700 : 500,
44494
- transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
44495
+ transition: "background-color 0.15s ease, color 0.15s ease",
44495
44496
  position: "relative",
44496
- overflow: "hidden",
44497
44497
  "&:before": {
44498
44498
  content: '""',
44499
44499
  position: "absolute",
44500
44500
  left: 0,
44501
- top: 0,
44502
- bottom: 0,
44503
- width: 4,
44501
+ top: 5,
44502
+ bottom: 5,
44503
+ width: 3,
44504
44504
  bgcolor: tabIndex === idx ? "primary.main" : "transparent",
44505
- borderRadius: "0 2px 2px 0",
44506
- transition: "all 0.2s"
44505
+ borderRadius: "0 2px 2px 0"
44507
44506
  },
44508
44507
  "&:hover": {
44509
- bgcolor: (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.15)" : "rgba(25,118,210,0.10)",
44510
- color: "primary.main",
44511
- transform: "translateX(4px)",
44512
- "&:before": {
44513
- bgcolor: "primary.main"
44514
- }
44515
- },
44516
- "&:active": {
44517
- transform: "translateX(2px) scale(0.98)"
44508
+ bgcolor: (theme2) => theme2.palette.mode === "dark" ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.04)",
44509
+ color: "primary.main"
44518
44510
  },
44519
44511
  "& .MuiListItemIcon-root": {
44520
- minWidth: 44,
44521
- mr: 1.5
44522
- }
44512
+ minWidth: 28,
44513
+ mr: 1,
44514
+ color: tabIndex === idx ? "primary.main" : "text.secondary"
44515
+ },
44516
+ "& .MuiListItemIcon-root svg": { width: 17, height: 17 }
44523
44517
  },
44524
44518
  children: [
44525
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
44526
- import_material52.ListItemIcon,
44527
- {
44528
- sx: {
44529
- color: tabIndex === idx ? "primary.main" : "text.secondary",
44530
- fontSize: 24,
44531
- transition: "all 0.2s"
44532
- },
44533
- children: tab.icon
44534
- }
44535
- ),
44519
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.ListItemIcon, { children: tab.icon }),
44536
44520
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
44537
44521
  import_material52.ListItemText,
44538
44522
  {
44539
44523
  primary: tab.label,
44540
44524
  primaryTypographyProps: {
44541
- fontWeight: tabIndex === idx ? 700 : 600,
44542
- fontSize: "1rem",
44543
- letterSpacing: "-0.01em"
44544
- }
44545
- }
44546
- ),
44547
- tabIndex === idx && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
44548
- import_material52.Box,
44549
- {
44550
- sx: {
44551
- position: "absolute",
44552
- right: -10,
44553
- top: -10,
44554
- width: 90,
44555
- height: 90,
44556
- bgcolor: (theme2) => theme2.palette.primary.main,
44557
- filter: "blur(45px)",
44558
- opacity: 0.35,
44559
- pointerEvents: "none"
44525
+ fontWeight: tabIndex === idx ? 700 : 500,
44526
+ fontSize: "0.85rem"
44560
44527
  }
44561
44528
  }
44562
44529
  )
@@ -44763,9 +44730,9 @@ var Management = () => {
44763
44730
  import_material52.Box,
44764
44731
  {
44765
44732
  sx: {
44766
- width: 280,
44767
- minWidth: 280,
44768
- maxWidth: 280,
44733
+ width: 240,
44734
+ minWidth: 240,
44735
+ maxWidth: 240,
44769
44736
  height: "100vh",
44770
44737
  display: "flex",
44771
44738
  flexDirection: "column",
@@ -44797,7 +44764,7 @@ var Management = () => {
44797
44764
  display: "flex",
44798
44765
  flexDirection: "column",
44799
44766
  bgcolor: "background.default",
44800
- ml: isMobile ? 0 : "280px",
44767
+ ml: isMobile ? 0 : "240px",
44801
44768
  // Fixed left margin only on desktop
44802
44769
  mt: 0,
44803
44770
  transition: "margin-left 0.2s"