@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.js CHANGED
@@ -44999,6 +44999,9 @@ var Management = () => {
44999
44999
  },
45000
45000
  MuiTextField: {
45001
45001
  defaultProps: { size: "small" }
45002
+ },
45003
+ MuiButton: {
45004
+ defaultProps: { size: "small" }
45002
45005
  }
45003
45006
  }
45004
45007
  });
@@ -45141,82 +45144,46 @@ var Management = () => {
45141
45144
  if (isMobile) setSidebarOpen(false);
45142
45145
  },
45143
45146
  sx: {
45144
- minHeight: 56,
45145
- borderRadius: 3,
45146
- mx: 1,
45147
- my: 0.5,
45148
- px: 2,
45149
- py: 1.5,
45150
- border: tabIndex === idx ? (theme2) => `2px solid ${theme2.palette.primary.main}40` : "2px solid transparent",
45151
- bgcolor: tabIndex === idx ? (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.12)" : "rgba(25,118,210,0.08)" : "transparent",
45147
+ minHeight: 36,
45148
+ borderRadius: 1.5,
45149
+ mx: 0.5,
45150
+ my: 0.125,
45151
+ px: 1.25,
45152
+ py: 0.5,
45153
+ bgcolor: tabIndex === idx ? (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.14)" : "rgba(25,118,210,0.10)" : "transparent",
45152
45154
  color: tabIndex === idx ? "primary.main" : "text.primary",
45153
- fontWeight: tabIndex === idx ? 700 : 500,
45154
- transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
45155
+ transition: "background-color 0.15s ease, color 0.15s ease",
45155
45156
  position: "relative",
45156
- overflow: "hidden",
45157
45157
  "&:before": {
45158
45158
  content: '""',
45159
45159
  position: "absolute",
45160
45160
  left: 0,
45161
- top: 0,
45162
- bottom: 0,
45163
- width: 4,
45161
+ top: 5,
45162
+ bottom: 5,
45163
+ width: 3,
45164
45164
  bgcolor: tabIndex === idx ? "primary.main" : "transparent",
45165
- borderRadius: "0 2px 2px 0",
45166
- transition: "all 0.2s"
45165
+ borderRadius: "0 2px 2px 0"
45167
45166
  },
45168
45167
  "&:hover": {
45169
- bgcolor: (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.15)" : "rgba(25,118,210,0.10)",
45170
- color: "primary.main",
45171
- transform: "translateX(4px)",
45172
- "&:before": {
45173
- bgcolor: "primary.main"
45174
- }
45175
- },
45176
- "&:active": {
45177
- transform: "translateX(2px) scale(0.98)"
45168
+ bgcolor: (theme2) => theme2.palette.mode === "dark" ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.04)",
45169
+ color: "primary.main"
45178
45170
  },
45179
45171
  "& .MuiListItemIcon-root": {
45180
- minWidth: 44,
45181
- mr: 1.5
45182
- }
45172
+ minWidth: 28,
45173
+ mr: 1,
45174
+ color: tabIndex === idx ? "primary.main" : "text.secondary"
45175
+ },
45176
+ "& .MuiListItemIcon-root svg": { width: 17, height: 17 }
45183
45177
  },
45184
45178
  children: [
45185
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
45186
- import_material52.ListItemIcon,
45187
- {
45188
- sx: {
45189
- color: tabIndex === idx ? "primary.main" : "text.secondary",
45190
- fontSize: 24,
45191
- transition: "all 0.2s"
45192
- },
45193
- children: tab.icon
45194
- }
45195
- ),
45179
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_material52.ListItemIcon, { children: tab.icon }),
45196
45180
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
45197
45181
  import_material52.ListItemText,
45198
45182
  {
45199
45183
  primary: tab.label,
45200
45184
  primaryTypographyProps: {
45201
- fontWeight: tabIndex === idx ? 700 : 600,
45202
- fontSize: "1rem",
45203
- letterSpacing: "-0.01em"
45204
- }
45205
- }
45206
- ),
45207
- tabIndex === idx && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
45208
- import_material52.Box,
45209
- {
45210
- sx: {
45211
- position: "absolute",
45212
- right: -10,
45213
- top: -10,
45214
- width: 90,
45215
- height: 90,
45216
- bgcolor: (theme2) => theme2.palette.primary.main,
45217
- filter: "blur(45px)",
45218
- opacity: 0.35,
45219
- pointerEvents: "none"
45185
+ fontWeight: tabIndex === idx ? 700 : 500,
45186
+ fontSize: "0.85rem"
45220
45187
  }
45221
45188
  }
45222
45189
  )
@@ -45423,9 +45390,9 @@ var Management = () => {
45423
45390
  import_material52.Box,
45424
45391
  {
45425
45392
  sx: {
45426
- width: 280,
45427
- minWidth: 280,
45428
- maxWidth: 280,
45393
+ width: 240,
45394
+ minWidth: 240,
45395
+ maxWidth: 240,
45429
45396
  height: "100vh",
45430
45397
  display: "flex",
45431
45398
  flexDirection: "column",
@@ -45457,7 +45424,7 @@ var Management = () => {
45457
45424
  display: "flex",
45458
45425
  flexDirection: "column",
45459
45426
  bgcolor: "background.default",
45460
- ml: isMobile ? 0 : "280px",
45427
+ ml: isMobile ? 0 : "240px",
45461
45428
  // Fixed left margin only on desktop
45462
45429
  mt: 0,
45463
45430
  transition: "margin-left 0.2s"