@m4l/styles 0.0.11 → 0.0.13

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/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { alpha as e, useTheme as F } from "@mui/material/styles";
1
+ import { alpha as e, useTheme as w } from "@mui/material/styles";
2
2
  import { alpha as n } from "@mui/system";
3
3
  import { alpha as M } from "@mui/material";
4
- import { useResponsive as $ } from "@m4l/graphics";
4
+ import { useResponsive as T } from "@m4l/graphics";
5
5
  function c(o, r) {
6
6
  return `linear-gradient(to bottom, ${o}, ${r})`;
7
7
  }
@@ -138,7 +138,7 @@ const t = {
138
138
  80: "#fff0",
139
139
  90: "#fff0"
140
140
  }
141
- }, A = {
141
+ }, $ = {
142
142
  patronus: {
143
143
  4: e(t.patronusBlue[50], 0.04),
144
144
  12: e(t.patronusBlue[50], 0.12),
@@ -202,20 +202,20 @@ const t = {
202
202
  60: e(t.marbleLight[10], 0.6),
203
203
  72: e(t.marbleLight[10], 0.72)
204
204
  }
205
- }, f = {
205
+ }, y = {
206
206
  lighter: t.patronusBlue[70],
207
207
  light: t.patronusBlue[60],
208
208
  main: t.patronusBlue[50],
209
209
  dark: t.patronusBlue[40],
210
210
  darker: t.patronusBlue[20],
211
211
  contrastText: t.marbleLight[10]
212
- }, m = {
212
+ }, D = {
213
213
  lighter: "#fff0",
214
214
  light: "#fff0",
215
215
  main: "#fff0",
216
216
  dark: "#fff0",
217
217
  darker: "#fff0"
218
- }, y = {
218
+ }, f = {
219
219
  lighter: "#fff0",
220
220
  light: "#fff0",
221
221
  main: t.crayonBlue[50],
@@ -262,13 +262,13 @@ const t = {
262
262
  50048: e("#919EAB", 0.48),
263
263
  50056: e("#919EAB", 0.56),
264
264
  50080: e("#919EAB", 0.8)
265
- }, z = {
266
- primary: c(f.light, f.main),
267
- info: c(y.light, y.main),
265
+ }, m = {
266
+ primary: c(y.light, y.main),
267
+ info: c(f.light, f.main),
268
268
  success: c(v.light, v.main),
269
269
  warning: c(L.light, L.main),
270
270
  error: c(B.light, B.main)
271
- }, D = {
271
+ }, z = {
272
272
  violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
273
273
  blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
274
274
  green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
@@ -283,34 +283,34 @@ const t = {
283
283
  }, E = {
284
284
  normal: t.flameRed[40],
285
285
  hover: t.flameRed[60]
286
- }, P = {
286
+ }, W = {
287
287
  normal: t.flameRed[60],
288
288
  hover: t.flameRed[70]
289
- }, W = {
289
+ }, P = {
290
290
  default: e(t.coolGrey[50], 0.24),
291
291
  transition: e(t.coolGrey[50], 0.08)
292
292
  }, l = {
293
293
  info: { ...H },
294
294
  success: { ...G },
295
295
  error: { ...E },
296
- warning: { ...P },
297
- skeleton: { ...W }
296
+ warning: { ...W },
297
+ skeleton: { ...P }
298
298
  }, h = {
299
299
  common: { black: "#000", white: "#fff" },
300
- primary: { ...f },
300
+ primary: { ...y },
301
301
  state: {
302
302
  ...l
303
303
  },
304
304
  patronus: { ...t },
305
- opacity: { ...A },
306
- secondary: { ...m, contrastText: "#fff" },
307
- info: { ...y, contrastText: "#fff" },
305
+ opacity: { ...$ },
306
+ secondary: { ...D, contrastText: "#fff" },
307
+ info: { ...f, contrastText: "#fff" },
308
308
  success: { ...v, contrastText: x[800] },
309
309
  warning: { ...L, contrastText: x[800] },
310
310
  error: { ...B, contrastText: "#fff" },
311
311
  grey: x,
312
- gradients: z,
313
- chart: D,
312
+ gradients: m,
313
+ chart: z,
314
314
  divider: x[50024],
315
315
  action: {
316
316
  hoverOpacity: 0.08,
@@ -395,19 +395,19 @@ const t = {
395
395
  darker: t.blazeOrange[20],
396
396
  contrastText: t.marbleLight[10]
397
397
  }
398
- ], I = g[0], q = g[1], N = g[2], j = g[3], _ = g[4];
398
+ ], F = g[0], q = g[1], _ = g[2], N = g[3], j = g[4];
399
399
  function b(o) {
400
400
  try {
401
401
  return {
402
- patronus: I,
402
+ patronus: F,
403
403
  turqui: q,
404
- grass: N,
405
- candy: j,
406
- blaze: _
404
+ grass: _,
405
+ candy: N,
406
+ blaze: j
407
407
  }[o];
408
408
  } catch {
409
409
  }
410
- return I;
410
+ return F;
411
411
  }
412
412
  const V = (o, r) => {
413
413
  let a = {};
@@ -419,7 +419,7 @@ const V = (o, r) => {
419
419
  active: t?.patronusBlue[50],
420
420
  focus: t?.patronusBlue[70],
421
421
  hover: t?.patronusBlue[60],
422
- default: n(t?.coolGrey[70], 0.12),
422
+ default: n(t?.coolGrey[70], 0.04),
423
423
  ...l
424
424
  },
425
425
  dark: {
@@ -427,7 +427,7 @@ const V = (o, r) => {
427
427
  active: t?.patronusBlue[50],
428
428
  focus: t?.patronusBlue[30],
429
429
  hover: t?.patronusBlue[40],
430
- default: n(t?.marbleLight[10], 0.12),
430
+ default: n(t?.marbleLight[10], 0.04),
431
431
  ...l
432
432
  }
433
433
  };
@@ -555,14 +555,14 @@ function p({ sm: o, md: r, lg: a }) {
555
555
  };
556
556
  }
557
557
  function U() {
558
- return [...F().breakpoints.keys].reverse().reduce((a, i) => {
559
- const k = $("up", i);
558
+ return [...w().breakpoints.keys].reverse().reduce((a, i) => {
559
+ const k = T("up", i);
560
560
  return !a && k ? i : a;
561
561
  }, null) || "xs";
562
562
  }
563
- function st(o) {
564
- const r = F(), a = U(), i = r.breakpoints.up(a === "xl" ? "lg" : a), w = (o === "h1" || o === "h2" || o === "h3" || o === "h4" || o === "h5" || o === "h6") && r.typography[o][i] ? r.typography[o][i] : r.typography[o], C = Y(w.fontSize), R = Number(r.typography[o].lineHeight) * C, { fontWeight: O, letterSpacing: T } = r.typography[o];
565
- return { fontSize: C, lineHeight: R, fontWeight: O, letterSpacing: T };
563
+ function ct(o) {
564
+ const r = w(), a = U(), i = r.breakpoints.up(a === "xl" ? "lg" : a), S = (o === "h1" || o === "h2" || o === "h3" || o === "h4" || o === "h5" || o === "h6") && r.typography[o][i] ? r.typography[o][i] : r.typography[o], C = Y(S.fontSize), R = Number(r.typography[o].lineHeight) * C, { fontWeight: O, letterSpacing: A } = r.typography[o];
565
+ return { fontSize: C, lineHeight: R, fontWeight: O, letterSpacing: A };
566
566
  }
567
567
  const K = "Poppins, sans-serif", J = {
568
568
  fontFamily: K,
@@ -570,12 +570,12 @@ const K = "Poppins, sans-serif", J = {
570
570
  fontWeightMedium: 600,
571
571
  fontWeightBold: 700,
572
572
  h1: {
573
- fontWeight: 700,
573
+ fontWeight: 600,
574
574
  lineHeight: 1.5,
575
575
  ...p({ sm: 38, md: 40, lg: 40 })
576
576
  },
577
577
  h2: {
578
- fontWeight: 700,
578
+ fontWeight: 600,
579
579
  lineHeight: 1,
580
580
  ...p({ sm: 40, md: 44, lg: 48 })
581
581
  },
@@ -585,7 +585,7 @@ const K = "Poppins, sans-serif", J = {
585
585
  ...p({ sm: 30, md: 32, lg: 32 })
586
586
  },
587
587
  h4: {
588
- fontWeight: 700,
588
+ fontWeight: 600,
589
589
  lineHeight: 1.5,
590
590
  ...p({ sm: 20, md: 24, lg: 24 })
591
591
  },
@@ -595,7 +595,7 @@ const K = "Poppins, sans-serif", J = {
595
595
  ...p({ sm: 22, md: 24, lg: 24 })
596
596
  },
597
597
  h6: {
598
- fontWeight: 700,
598
+ fontWeight: 600,
599
599
  lineHeight: 28 / 18,
600
600
  ...p({ sm: 18, md: 18, lg: 18 })
601
601
  },
@@ -605,7 +605,7 @@ const K = "Poppins, sans-serif", J = {
605
605
  ...p({ sm: 18, md: 16, lg: 16 })
606
606
  },
607
607
  subtitleDens: {
608
- fontWeight: 700,
608
+ fontWeight: 600,
609
609
  lineHeight: 1.5,
610
610
  ...p({ sm: 18, md: 16, lg: 16 })
611
611
  },
@@ -635,9 +635,9 @@ const K = "Poppins, sans-serif", J = {
635
635
  ...p({ sm: 14, md: 12, lg: 12 })
636
636
  },
637
637
  bodyDens: {
638
- fontWeight: 700,
638
+ fontWeight: 600,
639
639
  lineHeight: 1.143,
640
- ...p({ sm: 16, md: 12, lg: 12 })
640
+ ...p({ sm: 14, md: 12, lg: 12 })
641
641
  },
642
642
  body0: {
643
643
  lineHeight: 1.5,
@@ -675,7 +675,7 @@ const K = "Poppins, sans-serif", J = {
675
675
  lineHeight: 1.667,
676
676
  ...p({ sm: 14, md: 12, lg: 12 })
677
677
  }
678
- }, Q = s.light.grey[500], X = "#000000", S = (o) => {
678
+ }, Q = s.light.grey[500], X = "#000000", I = (o) => {
679
679
  const r = e(o, 0.2), a = e(o, 0.14), i = e(o, 0.12);
680
680
  return [
681
681
  "none",
@@ -735,15 +735,15 @@ const K = "Poppins, sans-serif", J = {
735
735
  ...r
736
736
  };
737
737
  }, oo = {
738
- light: S(Q),
739
- dark: S(X)
740
- }, ut = {
738
+ light: I(Q),
739
+ dark: I(X)
740
+ }, gt = {
741
741
  typography: J,
742
742
  palette: {
743
743
  ...s.light,
744
744
  primary: b("patronus"),
745
745
  state: { ...V("patronus", "light") },
746
- representative: b("patronus").light
746
+ representative: b("patronus").darker
747
747
  },
748
748
  shape: { borderRadius: 8 },
749
749
  direction: "rtl",
@@ -1230,7 +1230,7 @@ function xo(o) {
1230
1230
  padding: "0px"
1231
1231
  },
1232
1232
  input: {
1233
- paddingLeft: "8px",
1233
+ padding: "4px 8px",
1234
1234
  "&::placeholder": {
1235
1235
  opacity: 1,
1236
1236
  color: o.palette.text.disabled
@@ -1325,7 +1325,7 @@ function Mo(o) {
1325
1325
  }
1326
1326
  };
1327
1327
  }
1328
- function fo(o) {
1328
+ function yo(o) {
1329
1329
  const r = o.palette.mode === "light";
1330
1330
  return {
1331
1331
  MuiDrawer: {
@@ -1337,276 +1337,6 @@ function fo(o) {
1337
1337
  background: o.palette.background.neutral,
1338
1338
  display: "flex",
1339
1339
  flexDirection: "row"
1340
- },
1341
- "& .M4LSideBar-containerLogo": {
1342
- display: "flex",
1343
- flexDirection: "row",
1344
- width: "100%",
1345
- gap: "12px",
1346
- boxSizing: "contentBox",
1347
- padding: "16px 0px 0px 8px",
1348
- position: "absolute",
1349
- left: "-20px",
1350
- fitContent: "100%",
1351
- alignItems: "center",
1352
- "& .M4LImage-root": {
1353
- position: "relative",
1354
- background: o.palette.background.neutral,
1355
- boxShadow: o.customShadows.z3,
1356
- padding: "4px",
1357
- borderRadius: "6px",
1358
- minWidth: "64px",
1359
- minHeight: "64px"
1360
- }
1361
- },
1362
- "& .M4LSideBar-contentGroups": {
1363
- overflow: "hidden",
1364
- "& .M4LSideBar-wrapperGroup": {
1365
- padding: "100px 8px 0px 0px",
1366
- flexDirection: "column",
1367
- gap: "8px",
1368
- "& .M4LSideBar-itemListMainRoot": {
1369
- display: "flex",
1370
- flexDirection: "column",
1371
- position: "realative",
1372
- "& > .MuiCollapse-root:nth-of-type(2)": {
1373
- backgroundColor: "transparent",
1374
- top: "-16px"
1375
- },
1376
- "& .MuiCollapse-root": {
1377
- borderRadius: "16px 0px 4px 4px",
1378
- padding: "16px 8px 8px 8px",
1379
- position: "relative"
1380
- },
1381
- "&.M4LSideBar-itemMainActive": {
1382
- "& > .MuiCollapse-root:nth-of-type(2)": {
1383
- backgroundColor: o.palette.state.active12,
1384
- top: "-16px"
1385
- },
1386
- "& .M4LSideBar-navItemMainRoot": {
1387
- height: "68px"
1388
- },
1389
- "& .M4LSideBar-navItemRootContent": {
1390
- background: o.palette.representative,
1391
- "& .M4LTypography-root .MuiTypography-root": {
1392
- color: o.palette.patronus?.marbleLight[10]
1393
- },
1394
- "& .M4LIcon-root .M4LIcon-icon": {
1395
- backgroundColor: o.palette.patronus?.marbleLight[10]
1396
- },
1397
- "&:hover": {
1398
- background: `${o.palette.representative}!important`
1399
- }
1400
- },
1401
- "& .M4LSideBar-navItemMainTriangleTop": {
1402
- position: "absolute",
1403
- top: "0",
1404
- left: "0",
1405
- width: "16px",
1406
- height: "16px",
1407
- overflow: "hidden",
1408
- backgroundColor: o.palette.representative,
1409
- transform: "rotate(90deg)",
1410
- "&::before": {
1411
- content: '""',
1412
- position: "absolute",
1413
- width: "100%",
1414
- height: "100%",
1415
- backgroundColor: o.palette.background.neutral,
1416
- transform: "rotate(180deg)",
1417
- inset: "0",
1418
- borderTopLeftRadius: "100%",
1419
- transformOrigin: "center center"
1420
- }
1421
- },
1422
- "& .M4LSideBar-navItemMainTriangleBottom": {
1423
- position: "absolute",
1424
- bottom: "0",
1425
- left: "0",
1426
- width: "16px",
1427
- height: "16px",
1428
- overflow: "hidden",
1429
- background: o.palette.representative,
1430
- transform: "rotate(180deg)",
1431
- "&::before": {
1432
- content: '""',
1433
- position: "absolute",
1434
- width: "100%",
1435
- height: "100%",
1436
- backgroundColor: o.palette.background.neutral,
1437
- transform: "rotate(180deg)",
1438
- inset: "0",
1439
- borderTopLeftRadius: "100%",
1440
- transformOrigin: "center center"
1441
- }
1442
- }
1443
- },
1444
- "& .M4LSideBar-navItemMainRoot": {
1445
- ...o.typography.body2,
1446
- padding: "0px",
1447
- height: "fit-content",
1448
- position: "relative",
1449
- display: "flex",
1450
- alignItems: "center",
1451
- textTransform: "capitalize",
1452
- overflow: "hidden",
1453
- backgroundColor: "transparent",
1454
- "& .M4LSideBar-navItemRootContent": {
1455
- padding: "8px 16px",
1456
- border: "0px",
1457
- justifyContent: "space-between",
1458
- alignItems: "center",
1459
- display: "flex",
1460
- width: "100%",
1461
- height: "36px",
1462
- boxSizing: "border-box",
1463
- borderRadius: "0 4px 4px 0",
1464
- overflow: "hidden",
1465
- transition: o.transitions.create(["width", "opacity"], {
1466
- duration: o.transitions.duration.standard
1467
- }),
1468
- "&:hover": {
1469
- backgroundColor: o.palette.state.active12,
1470
- Color: o.palette.text.primary
1471
- },
1472
- "& .M4LSideBar-navItemRootContentIconTypo": {
1473
- display: "flex",
1474
- gap: "4px"
1475
- }
1476
- }
1477
- }
1478
- }
1479
- }
1480
- },
1481
- "& .M4LSideBar-lineLeft": {
1482
- height: "100%",
1483
- width: "20px",
1484
- backgroundColor: o.palette.representative
1485
- },
1486
- "& .M4LSideBar-contentDesktop, & .M4LSideBar-contentMobile": {
1487
- position: "relative",
1488
- width: "100%",
1489
- flexGrow: "1",
1490
- display: "flex",
1491
- "& .M4LSideBar-collapseButton": {
1492
- width: "100%",
1493
- padding: "0px",
1494
- "& .M4LSideBar-containerLogoButton": {
1495
- width: "100%",
1496
- height: "68px",
1497
- justifyContent: "space-between",
1498
- alignItems: "center",
1499
- "& .M4LSideBar-containerLogoButtonLogo": {
1500
- width: "100%",
1501
- height: "100%",
1502
- padding: "12px 30px"
1503
- },
1504
- "& .M4LSideBar-containerLogoButtonIcon": {
1505
- width: "auto",
1506
- height: "100%",
1507
- position: "relative",
1508
- display: "flex",
1509
- alignItems: "center",
1510
- "& .M4LIconButton-root": {
1511
- width: "36px",
1512
- height: "36px",
1513
- borderRadius: "0px 4px 4px 0px",
1514
- backgroundColor: o.palette.state.focus,
1515
- "&:hover": {
1516
- backgroundColor: o.palette.state.focus
1517
- },
1518
- "& .M4LIcon-icon": {
1519
- backgroundColor: o.palette.patronus?.marbleLight[10]
1520
- }
1521
- },
1522
- "& .M4LSideBar-collapseButtontriangleTop": {
1523
- position: "absolute",
1524
- top: "0",
1525
- left: "0",
1526
- width: "16px",
1527
- height: "16px",
1528
- overflow: "hidden",
1529
- backgroundColor: o.palette.state.focus,
1530
- transform: "rotate(90deg)",
1531
- "&::before": {
1532
- content: '""',
1533
- position: "absolute",
1534
- width: "100%",
1535
- height: "100%",
1536
- backgroundColor: o.palette.background.neutral,
1537
- transform: "rotate(180deg)",
1538
- inset: "0",
1539
- borderTopLeftRadius: "100%",
1540
- transformOrigin: "center center"
1541
- }
1542
- },
1543
- "& .M4LSideBar-collapseButtontriangleBottom": {
1544
- position: "absolute",
1545
- bottom: "0",
1546
- left: "0",
1547
- width: "16px",
1548
- height: "16px",
1549
- ocontainerLogoButtonIconerflow: "hidden",
1550
- background: o.palette.state.focus,
1551
- transform: "rotate(180deg)",
1552
- "&::before": {
1553
- content: '""',
1554
- position: "absolute",
1555
- width: "100%",
1556
- height: "100%",
1557
- backgroundColor: o.palette.background.neutral,
1558
- transform: "rotate(180deg)",
1559
- inset: "0",
1560
- borderTopLeftRadius: "100%",
1561
- transformOrigin: "center center"
1562
- }
1563
- }
1564
- }
1565
- },
1566
- "& .M4LImage-root": {
1567
- display: "flex",
1568
- position: "relative",
1569
- padding: "8px",
1570
- width: "130px",
1571
- height: "44px",
1572
- boxShadow: "inset 0px 4px 4px rgba(0, 0, 0, 0.25)",
1573
- opacity: "30%"
1574
- }
1575
- }
1576
- },
1577
- "& .MuiCollapse-wrapperInner": {
1578
- display: "flex",
1579
- flexDirection: "column",
1580
- gap: "16px"
1581
- },
1582
- "& .M4LSideBar-navListSubItemRoot:hover": {
1583
- padding: "4px 8px",
1584
- borderRadius: "4px",
1585
- backgroundColor: o.palette.state.active12
1586
- },
1587
- "& .M4LSideBar-navListSubItemRoot": {
1588
- padding: "4px 8px",
1589
- borderRadius: "4px",
1590
- "& .M4LSideBar-subItemActive": {
1591
- "& .M4LSideBar-navSubItemContentBullet": {
1592
- borderRadius: "5px",
1593
- height: "10px",
1594
- backgroundColor: o.palette.state.focus
1595
- }
1596
- },
1597
- "& .MuiButtonBase-root": {
1598
- gap: "4px",
1599
- "&:hover": {
1600
- backgroundColor: "transparent"
1601
- }
1602
- },
1603
- "& .M4LSideBar-navSubItemContentBullet": {
1604
- width: "4px",
1605
- height: "4px",
1606
- borderRadius: "100%",
1607
- backgroundColor: o.palette.text.secondary,
1608
- margin: "6px"
1609
- }
1610
1340
  }
1611
1341
  }
1612
1342
  },
@@ -1630,7 +1360,7 @@ function fo(o) {
1630
1360
  }
1631
1361
  };
1632
1362
  }
1633
- function yo(o) {
1363
+ function fo(o) {
1634
1364
  return {
1635
1365
  MuiDialog: {
1636
1366
  styleOverrides: {
@@ -1778,10 +1508,7 @@ function Co(o) {
1778
1508
  return {
1779
1509
  MuiPopover: {
1780
1510
  styleOverrides: {
1781
- paper: {
1782
- boxShadow: o.customShadows?.dropdown,
1783
- borderRadius: Number(o.shape.borderRadius) * 1.5
1784
- }
1511
+ paper: {}
1785
1512
  }
1786
1513
  }
1787
1514
  };
@@ -1797,7 +1524,7 @@ function ho(o) {
1797
1524
  }
1798
1525
  };
1799
1526
  }
1800
- function Io(o) {
1527
+ function Fo(o) {
1801
1528
  return {
1802
1529
  MuiDataGrid: {
1803
1530
  styleOverrides: {
@@ -1894,7 +1621,7 @@ function Io(o) {
1894
1621
  }
1895
1622
  };
1896
1623
  }
1897
- function So(o) {
1624
+ function Io(o) {
1898
1625
  return {
1899
1626
  MuiSkeleton: {
1900
1627
  defaultProps: {
@@ -1908,7 +1635,7 @@ function So(o) {
1908
1635
  }
1909
1636
  };
1910
1637
  }
1911
- function Fo(o) {
1638
+ function wo(o) {
1912
1639
  const r = e(o.palette.grey[900], 0.48), a = e(o.palette.grey[900], 1);
1913
1640
  return {
1914
1641
  MuiBackdrop: {
@@ -1928,7 +1655,7 @@ function Fo(o) {
1928
1655
  }
1929
1656
  };
1930
1657
  }
1931
- function wo(o) {
1658
+ function So(o) {
1932
1659
  const r = o.palette.mode === "light";
1933
1660
  return {
1934
1661
  MuiLinearProgress: {
@@ -1987,7 +1714,7 @@ function Oo(o) {
1987
1714
  }
1988
1715
  };
1989
1716
  }
1990
- function To(o) {
1717
+ function Ao(o) {
1991
1718
  return {
1992
1719
  MuiAccordion: {
1993
1720
  styleOverrides: {
@@ -2062,7 +1789,7 @@ function To(o) {
2062
1789
  }
2063
1790
  };
2064
1791
  }
2065
- function $o(o) {
1792
+ function To(o) {
2066
1793
  return {
2067
1794
  MuiTypography: {
2068
1795
  defaultProps: {
@@ -2081,7 +1808,7 @@ function $o(o) {
2081
1808
  }
2082
1809
  };
2083
1810
  }
2084
- function Ao(o) {
1811
+ function $o(o) {
2085
1812
  return {
2086
1813
  MuiPaginationItem: {
2087
1814
  styleOverrides: {
@@ -2115,7 +1842,7 @@ function Ao(o) {
2115
1842
  }
2116
1843
  };
2117
1844
  }
2118
- function mo(o) {
1845
+ function Do(o) {
2119
1846
  return {
2120
1847
  MuiBreadcrumbs: {
2121
1848
  styleOverrides: {
@@ -2127,7 +1854,7 @@ function mo(o) {
2127
1854
  }
2128
1855
  };
2129
1856
  }
2130
- function zo(o) {
1857
+ function mo(o) {
2131
1858
  const r = (a) => ({
2132
1859
  props: { variant: "contained", color: a },
2133
1860
  style: { boxShadow: o.customShadows?.primary }
@@ -2169,7 +1896,7 @@ function zo(o) {
2169
1896
  }
2170
1897
  };
2171
1898
  }
2172
- function Do(o) {
1899
+ function zo(o) {
2173
1900
  return {
2174
1901
  MuiCssBaseline: {
2175
1902
  styleOverrides: {
@@ -2309,7 +2036,7 @@ function Eo(o) {
2309
2036
  }
2310
2037
  };
2311
2038
  }
2312
- function Po(o) {
2039
+ function Wo(o) {
2313
2040
  return {
2314
2041
  MuiLoadingButton: {
2315
2042
  styleOverrides: {
@@ -2333,15 +2060,150 @@ function Po(o) {
2333
2060
  }
2334
2061
  };
2335
2062
  }
2336
- const Wo = (o) => ({
2063
+ const Po = (o) => ({
2337
2064
  M4LBruceTest: {
2338
2065
  styleOverrides: {}
2339
2066
  }
2340
2067
  }), qo = (o) => ({
2341
2068
  M4LDynamicFilter: {
2342
- styleOverrides: {}
2069
+ styleOverrides: {
2070
+ "&.M4LDynamicFilter-root": {
2071
+ borderRadius: "4px",
2072
+ background: o.palette.background.default,
2073
+ boxShadow: o.customShadows.z2,
2074
+ padding: "0px",
2075
+ border: "none",
2076
+ borderTop: "1px solid",
2077
+ borderColor: o.palette.state.default,
2078
+ overflow: "hidden",
2079
+ "& .M4LDynamicFilter-containerFistRow": {
2080
+ height: "32px",
2081
+ width: "100%",
2082
+ "& .M4LDynamicFilter-containerInputFilter": {
2083
+ width: "100%",
2084
+ alignItems: "center",
2085
+ maxWidth: "100%"
2086
+ }
2087
+ },
2088
+ "&.M4LDynamicFilter-isInvalid": {
2089
+ borderColor: o.palette.state.error.normal
2090
+ },
2091
+ "& .M4LDynamicFilter-containerClearFilter": {
2092
+ display: "flex",
2093
+ flexDirection: "row",
2094
+ gap: "4px",
2095
+ backgroundColor: o.palette.background.neutral,
2096
+ padding: "4px"
2097
+ },
2098
+ "& .M4LDynamicFilter-containerInputFilter": {
2099
+ display: "flex",
2100
+ flexDirection: "row",
2101
+ gap: "8px",
2102
+ padding: "4px",
2103
+ backgroundColor: o.palette.background.neutral,
2104
+ height: "100%",
2105
+ maxWidth: "135px",
2106
+ width: "100%",
2107
+ alignItems: "center",
2108
+ "& > input": {
2109
+ border: "none",
2110
+ background: "none",
2111
+ ...o.typography.body,
2112
+ color: o.palette.text.primary,
2113
+ padding: "0px 4px",
2114
+ width: "100%",
2115
+ BorderRadius: "4px"
2116
+ },
2117
+ "& input:focus-visible": {
2118
+ border: "none",
2119
+ background: o.palette.state.active12,
2120
+ BorderRadius: "4px",
2121
+ outline: "none",
2122
+ padding: "0px 4px"
2123
+ }
2124
+ },
2125
+ "& .M4LDynamicFilter-wrapperApplyedFilters": {
2126
+ borderLeft: "none",
2127
+ height: "29px"
2128
+ },
2129
+ "& .M4LDynamicFilter-containerApplyedFilters": {
2130
+ padding: "2px"
2131
+ },
2132
+ "& .M4LDynamicFilter-applyedFilter": {
2133
+ borderRadius: "4px",
2134
+ background: o.palette.state.default,
2135
+ boxShadow: o.customShadows.z2,
2136
+ color: o.palette.text.secondary,
2137
+ ...o.typography.body,
2138
+ border: "none",
2139
+ borderTop: "1px solid",
2140
+ borderColor: o.palette.state.default,
2141
+ "& .css-5ca9fi": {
2142
+ ...o.typography.body
2143
+ },
2144
+ "& .css-1wytxsy": {
2145
+ ...o.typography.body
2146
+ }
2147
+ },
2148
+ "& .M4LDynamicFilter-popoverFilterPaper": {
2149
+ background: o.palette.background.default,
2150
+ borderRadius: "6px",
2151
+ minWidth: "200px",
2152
+ boxShadow: o.customShadows.z3,
2153
+ borderTop: "1px solid",
2154
+ borderColor: o.palette.state.default,
2155
+ padding: "0px!important",
2156
+ "& .M4LPopover-arrowStyle": {
2157
+ background: "none"
2158
+ },
2159
+ "& .m4l_FormProvider": {
2160
+ gap: "0px",
2161
+ "& .M4LDynamicFilter-popoverFilterHeader": {
2162
+ background: o.palette.state.default,
2163
+ display: "flex",
2164
+ gap: "4px",
2165
+ padding: "8px",
2166
+ borderRadius: "4px",
2167
+ boxShadow: o.customShadows.z2,
2168
+ borderBottom: "0px",
2169
+ borderTop: "2px solid",
2170
+ borderColor: o.palette.state.default,
2171
+ "& .MuiTypography-root": {
2172
+ ...o.typography.bodyDens,
2173
+ color: o.palette.text.primary
2174
+ }
2175
+ },
2176
+ "& .M4LDynamicFilter-popoverContainerFields": {
2177
+ padding: "0px 12px"
2178
+ },
2179
+ "& #WrapperStandarActions": {
2180
+ display: "flex",
2181
+ flexDirection: "row",
2182
+ gap: "12px",
2183
+ padding: "16px 8px 12px 0px",
2184
+ ".M4LButton-root": {
2185
+ width: "fit-content"
2186
+ }
2187
+ }
2188
+ }
2189
+ },
2190
+ "& .M4LDynamicFilter-popoverMenuFields": {
2191
+ borderTop: "1px solid",
2192
+ borderColor: o.palette.state.default,
2193
+ "& .M4LDynamicFilter-classespopoverLabelMemuItem": {
2194
+ ...o.typography.body,
2195
+ color: o.palette.text.secondary
2196
+ },
2197
+ "& .M4LDynamicFilter-popoverMenuFieldsItem:hover": {
2198
+ ...o.typography.body,
2199
+ color: o.palette.state.hover,
2200
+ background: o.palette.state.default
2201
+ }
2202
+ }
2203
+ }
2204
+ }
2343
2205
  }
2344
- }), No = (o) => ({
2206
+ }), _o = (o) => ({
2345
2207
  M4LRHFTextFieldPassword: {
2346
2208
  styleOverrides: {
2347
2209
  "&.M4LRHFTextFieldPassword-root": {
@@ -2349,7 +2211,7 @@ const Wo = (o) => ({
2349
2211
  }
2350
2212
  }
2351
2213
  }
2352
- }), jo = (o) => ({
2214
+ }), No = (o) => ({
2353
2215
  M4LRHFTextField: {
2354
2216
  styleOverrides: {
2355
2217
  "&.M4LRHFTextField-root": {
@@ -2375,14 +2237,15 @@ const Wo = (o) => ({
2375
2237
  },
2376
2238
  "& .M4LIcon-icon": {
2377
2239
  backgroundColor: o.palette.text.secondary,
2378
- transition: "all .5s ease"
2240
+ transition: "all .3s ease"
2379
2241
  },
2380
2242
  "& .MuiOutlinedInput-notchedOutline": {
2381
2243
  border: "1px solid",
2382
- borderColor: o.palette.text.secondary,
2244
+ padding: "4px",
2245
+ borderColor: o.palette.divider,
2383
2246
  borderRadius: "4px",
2384
2247
  inset: "0px",
2385
- transition: "all .5s ease",
2248
+ transition: "all .3s ease",
2386
2249
  "& legend": {
2387
2250
  display: "none"
2388
2251
  }
@@ -2477,7 +2340,7 @@ const Wo = (o) => ({
2477
2340
  }
2478
2341
  }
2479
2342
  }
2480
- }), _o = (o) => ({
2343
+ }), jo = (o) => ({
2481
2344
  M4LIcon: {
2482
2345
  styleOverrides: {
2483
2346
  ["&.M4LIcon-root"]: {
@@ -2491,23 +2354,33 @@ const Wo = (o) => ({
2491
2354
  },
2492
2355
  ".M4LIcon-sizeExtraSmall": {
2493
2356
  width: "12px",
2494
- height: "12px"
2357
+ height: "12px",
2358
+ minWidth: "12px",
2359
+ minHeight: "12px"
2495
2360
  },
2496
2361
  ".M4LIcon-sizeSmall": {
2497
2362
  width: "16px",
2498
- height: "16px"
2363
+ height: "16px",
2364
+ minWidth: "16px",
2365
+ minHeight: "16px"
2499
2366
  },
2500
2367
  ".M4LIcon-sizeMedium": {
2501
2368
  width: "20px",
2502
- height: "20px"
2369
+ height: "20px",
2370
+ minWidth: "20px",
2371
+ minHeight: "20px"
2503
2372
  },
2504
2373
  ".M4LIcon-sizeLarge": {
2505
2374
  width: "28px",
2506
- height: "28px"
2375
+ height: "28px",
2376
+ minWidth: "28px",
2377
+ minHeight: "28px"
2507
2378
  },
2508
2379
  ".M4LIcon-sizeExtraLarge": {
2509
2380
  width: "36px",
2510
- height: "36px"
2381
+ height: "36px",
2382
+ minWidth: "36px",
2383
+ minHeight: "36px"
2511
2384
  },
2512
2385
  ".M4LIcon-variantSkeleton": {
2513
2386
  borderRadius: "4px",
@@ -2743,47 +2616,30 @@ const Wo = (o) => ({
2743
2616
  }), Jo = (o) => ({
2744
2617
  M4LPopover: {
2745
2618
  styleOverrides: {
2746
- "&.M4LSideBar-popover": {
2747
- "& .MuiPaper-root": {
2748
- boxShadow: o.customShadows.z4,
2749
- "& .M4LSideBar-navListSubItemRoot:hover": {
2750
- padding: "4px 8px",
2751
- borderRadius: "4px",
2752
- backgroundColor: o.palette.state.active12
2753
- },
2754
- "& .M4LSideBar-navListSubItemRoot": {
2755
- padding: "4px 8px",
2756
- borderRadius: "4px",
2757
- "& .M4LSideBar-subItemActive": {
2758
- "& .M4LSideBar-navSubItemContentBullet": {
2759
- borderRadius: "5px",
2760
- height: "10px",
2761
- backgroundColor: o.palette.state.focus
2762
- }
2763
- },
2764
- "& .MuiButtonBase-root": {
2765
- gap: "4px",
2766
- "&:hover": {
2767
- backgroundColor: "transparent"
2768
- }
2769
- },
2770
- "& .M4LSideBar-navSubItemContentBullet": {
2771
- width: "4px",
2772
- height: "4px",
2773
- borderRadius: "100%",
2774
- backgroundColor: o.palette.text.secondary,
2775
- margin: "6px"
2776
- }
2777
- }
2619
+ "&.M4LDynamicFilter-popoverMenuFields": {
2620
+ "& .M4LDynamicFilter-popoverMenuFieldsPaper": {
2621
+ borderRadius: "6px",
2622
+ background: o.palette.background.default,
2623
+ padding: "4px",
2624
+ boxShadow: o.customShadows.z3,
2625
+ display: "flex",
2626
+ flexDirection: "column",
2627
+ gap: "4px"
2628
+ },
2629
+ "& .M4LDynamicFilter-popoverMenuFieldsItem": {
2630
+ borderRadius: "4px",
2631
+ padding: "2px 8px",
2632
+ display: "flex",
2633
+ flexDirection: "row",
2634
+ gap: "4px"
2778
2635
  }
2779
2636
  },
2780
2637
  ["&.M4LPopover-root"]: {
2781
2638
  ".MuiPaper-root": {
2782
2639
  background: o.palette.background.default,
2783
2640
  borderRadius: "6px",
2784
- Padding: "8px",
2785
- margin: "8px 0px 0px 8px",
2786
- boxShadow: o.customShadows?.z3
2641
+ padding: "8px",
2642
+ boxShadow: o.customShadows.z3
2787
2643
  },
2788
2644
  "& .M4LanguagePopover-containerItems": {
2789
2645
  "& .M4LanguagePopover-labelItem": {
@@ -2954,8 +2810,8 @@ const Wo = (o) => ({
2954
2810
  }
2955
2811
  },
2956
2812
  "&:active": {
2957
- backgroundColor: o.palette.state?.default,
2958
- color: o.palette.text.disabled,
2813
+ backgroundColor: o.palette.state?.active,
2814
+ color: o.palette.text.primary,
2959
2815
  "& .M4LIcon-icon": {
2960
2816
  backgroundColor: o.palette.text.disabled,
2961
2817
  color: o.palette.text.disabled
@@ -2996,11 +2852,11 @@ const Wo = (o) => ({
2996
2852
  "&.M4LButton-variantContained": {
2997
2853
  "& .MuiButtonBase-root": {
2998
2854
  backgroundColor: o.palette.state?.default,
2999
- color: o.palette.text.secondary,
3000
- boxShadow: o.customShadows?.z1,
2855
+ color: o.palette.text.primary,
2856
+ boxShadow: o.customShadows?.z2,
3001
2857
  position: "relative",
3002
2858
  "& .M4LIcon-icon": {
3003
- backgroundColor: o.palette.text.secondary
2859
+ backgroundColor: o.palette.text.primary
3004
2860
  },
3005
2861
  "&:hover": {
3006
2862
  backgroundColor: o.palette.state?.hover,
@@ -3031,8 +2887,8 @@ const Wo = (o) => ({
3031
2887
  "&.M4LButton-variantOutlined": {
3032
2888
  "& .MuiButtonBase-root": {
3033
2889
  border: "1px solid",
3034
- borderColor: o.palette.text.secondary,
3035
- color: o.palette.text.secondary,
2890
+ borderColor: o.palette.state.default,
2891
+ color: o.palette.text.primary,
3036
2892
  "& .M4LIcon-icon": {
3037
2893
  backgroundColor: o.palette.text.secondary
3038
2894
  },
@@ -3110,7 +2966,7 @@ const Wo = (o) => ({
3110
2966
  gap: "4px",
3111
2967
  "& .M4LRHFAutocomplete-label": {
3112
2968
  color: o.palette.text.secondary,
3113
- transition: "all .5s ease"
2969
+ transition: "all .3s ease"
3114
2970
  },
3115
2971
  "& .MuiAutocomplete-endAdornment": {
3116
2972
  top: "unset"
@@ -3119,7 +2975,7 @@ const Wo = (o) => ({
3119
2975
  padding: "0px",
3120
2976
  "& .MuiInputBase-input": {
3121
2977
  color: o.palette.text.secondary,
3122
- padding: "0px",
2978
+ padding: "4px",
3123
2979
  backgroundColor: "transparent",
3124
2980
  ...o.typography.body
3125
2981
  },
@@ -3129,14 +2985,14 @@ const Wo = (o) => ({
3129
2985
  },
3130
2986
  "& .M4LIcon-icon": {
3131
2987
  backgroundColor: o.palette.text.secondary,
3132
- transition: "all .5s ease"
2988
+ transition: "all .3s ease"
3133
2989
  },
3134
2990
  "& .MuiOutlinedInput-notchedOutline": {
3135
2991
  border: "1px solid",
3136
- borderColor: o.palette.text.secondary,
2992
+ borderColor: o.palette.divider,
3137
2993
  borderRadius: "4px",
3138
2994
  inset: "0px",
3139
- transition: "all .5s ease",
2995
+ transition: "all .3s ease",
3140
2996
  "& legend": {
3141
2997
  display: "none"
3142
2998
  }
@@ -3235,7 +3091,8 @@ const Wo = (o) => ({
3235
3091
  M4LRHFAutocompleteAsync: {
3236
3092
  styleOverrides: {
3237
3093
  "&.M4LRHFAutocompleteAsync-root": {
3238
- width: "100%"
3094
+ width: "100%",
3095
+ padding: "4px"
3239
3096
  }
3240
3097
  }
3241
3098
  }
@@ -3480,297 +3337,255 @@ const Wo = (o) => ({
3480
3337
  M4LSideBar: {
3481
3338
  styleOverrides: {
3482
3339
  "&.M4LSideBar-root": {
3483
- test: "root",
3484
3340
  height: "100%",
3485
- width: "fitContent",
3486
- borderRadius: "4px",
3487
- display: "flex",
3341
+ width: "auto",
3488
3342
  background: o.palette.background.neutral,
3489
- boxSizing: "contentBox",
3490
- overflow: "hidden",
3343
+ paddingLeft: "14px",
3344
+ paddingBottom: "14px",
3345
+ boxShadow: o.customShadows.z3,
3346
+ [o.breakpoints.down("sm")]: {
3347
+ width: "0px",
3348
+ height: "0px",
3349
+ padding: "0px"
3350
+ },
3491
3351
  "& .M4LSideBar-wrapperSideBar": {
3492
- display: "flex",
3493
- "& .M4LSideBar-containerLogo": {
3494
- display: "flex",
3495
- flexDirection: "row",
3496
- width: "100%",
3497
- gap: "12px",
3498
- boxSizing: "contentBox",
3499
- padding: "16px 0px 0px 8px",
3500
- position: "absolute",
3501
- left: "-20px",
3502
- fitContent: "100%",
3503
- alignItems: "center",
3504
- "& .M4LImage-root": {
3505
- position: "relative",
3506
- background: o.palette.background.neutral,
3507
- boxShadow: o.customShadows.z3,
3508
- padding: "4px",
3509
- borderRadius: "6px",
3510
- minWidth: "64px",
3511
- minHeight: "64px"
3352
+ height: "100%",
3353
+ "& .M4LSideBar-containerSideBarLogo": {
3354
+ marginRight: "14px",
3355
+ "& .M4LSideBar-containerLogo": {
3356
+ height: "128px",
3357
+ display: "flex",
3358
+ flexDirection: "column",
3359
+ justifyContent: "center",
3360
+ alignItems: "center",
3361
+ fitContent: "100%",
3362
+ boxSizing: "contentBox",
3363
+ paddingTop: "24px",
3364
+ paddingBottom: "28px",
3365
+ gap: "12px",
3366
+ "& .M4LTypography-root": {
3367
+ display: "flex",
3368
+ justifyContent: "center",
3369
+ width: "100%",
3370
+ "& .MuiTypography-root": {
3371
+ with: "100%",
3372
+ overflow: "hidden",
3373
+ textOverflow: "ellipsis",
3374
+ textWrap: "nowrap"
3375
+ }
3376
+ },
3377
+ "& .M4LImage-root": {
3378
+ position: "relative",
3379
+ background: o.palette.background.default,
3380
+ boxShadow: o.customShadows.z3,
3381
+ padding: "6px",
3382
+ borderRadius: "6px"
3383
+ }
3512
3384
  }
3513
3385
  },
3514
3386
  "& .M4LSideBar-contentGroups": {
3515
3387
  overflow: "hidden",
3388
+ flexGrow: "1",
3389
+ display: "flex",
3390
+ flexDirection: "column",
3391
+ "& .M4LSideBar-contentGroupsLine": {
3392
+ display: "flex",
3393
+ height: "2px",
3394
+ marginRight: "14px",
3395
+ backgroundColor: o.palette.state.default
3396
+ },
3516
3397
  "& .M4LSideBar-wrapperGroup": {
3517
- padding: "100px 8px 0px 0px",
3518
- flexDirection: "column",
3519
- gap: "8px",
3398
+ height: "100%",
3399
+ "& .M4LSideBar-wrapperGroupTitle": {
3400
+ padding: "20px",
3401
+ height: "60px",
3402
+ "& .M4LTypography-root": {
3403
+ display: "flex",
3404
+ width: "100%",
3405
+ "& .MuiTypography-root": {
3406
+ with: "100%",
3407
+ overflow: "hidden",
3408
+ textOverflow: "ellipsis",
3409
+ textWrap: "nowrap"
3410
+ }
3411
+ }
3412
+ },
3520
3413
  "& .M4LSideBar-itemListMainRoot": {
3521
3414
  display: "flex",
3415
+ borderRadius: "4px 0px 0px 4px",
3416
+ justifyContent: "center",
3522
3417
  flexDirection: "column",
3523
- position: "realative",
3524
- "& > .MuiCollapse-root:nth-of-type(2)": {
3418
+ gap: "8px",
3419
+ "& .M4LSideBar-navItemMainRoot": {
3525
3420
  backgroundColor: "transparent",
3526
- top: "-16px"
3527
- },
3528
- "& .MuiCollapse-root": {
3529
- borderRadius: "16px 0px 4px 4px",
3530
- padding: "16px 8px 8px 8px",
3531
- position: "relative"
3421
+ "&:hover": {
3422
+ background: o.palette.state.default
3423
+ }
3532
3424
  },
3533
3425
  "&.M4LSideBar-itemMainActive": {
3534
3426
  "& .M4LSideBar-navItemMainRoot": {
3535
- height: "68px"
3536
- },
3537
- "& > .MuiCollapse-root:nth-of-type(2)": {
3538
- backgroundColor: o.palette.state.active12,
3539
- top: "-16px"
3540
- },
3541
- "& .M4LSideBar-navItemRootContent": {
3542
- background: o.palette.representative,
3543
- "& .M4LTypography-root .MuiTypography-root": {
3544
- color: o.palette.patronus?.marbleLight[10]
3545
- },
3546
- "& .M4LIcon-root .M4LIcon-icon": {
3547
- backgroundColor: o.palette.patronus?.marbleLight[10]
3548
- },
3427
+ background: o.palette.state.active12,
3549
3428
  "&:hover": {
3550
- background: `${o.palette.representative}!important`
3429
+ background: e(o.palette.state.active || "#fff", 0.18)
3551
3430
  }
3552
3431
  },
3553
- "& .M4LSideBar-navItemMainTriangleTop": {
3554
- position: "absolute",
3555
- top: "0",
3556
- left: "0",
3557
- width: "16px",
3558
- height: "16px",
3559
- overflow: "hidden",
3560
- backgroundColor: o.palette.representative,
3561
- transform: "rotate(90deg)",
3562
- "&::before": {
3563
- content: '""',
3564
- position: "absolute",
3565
- width: "100%",
3566
- height: "100%",
3567
- backgroundColor: o.palette.background.neutral,
3568
- transform: "rotate(180deg)",
3569
- inset: "0",
3570
- borderTopLeftRadius: "100%",
3571
- transformOrigin: "center center"
3572
- }
3573
- },
3574
- "& .M4LSideBar-navItemMainTriangleBottom": {
3575
- position: "absolute",
3576
- bottom: "0",
3577
- left: "0",
3578
- width: "16px",
3579
- height: "16px",
3580
- overflow: "hidden",
3581
- background: o.palette.representative,
3582
- transform: "rotate(180deg)",
3432
+ "& .M4LSideBar-navItemRootContent": {
3433
+ "& .M4LSideBar-navItemRootContentIconTypo": {
3434
+ "& .M4LIcon-icon": {
3435
+ backgroundColor: o.palette.state.focus
3436
+ },
3437
+ "& .MuiTypography-root": {
3438
+ color: o.palette.state.focus
3439
+ },
3440
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
3441
+ backgroundColor: o.palette.state.focus
3442
+ }
3443
+ },
3583
3444
  "&::before": {
3584
3445
  content: '""',
3585
- position: "absolute",
3586
- width: "100%",
3587
- height: "100%",
3588
- backgroundColor: o.palette.background.neutral,
3589
- transform: "rotate(180deg)",
3590
- inset: "0",
3591
- borderTopLeftRadius: "100%",
3592
- transformOrigin: "center center"
3446
+ width: "5px",
3447
+ top: "0px",
3448
+ bottom: "0px",
3449
+ right: "0px",
3450
+ backgroundColor: o.palette.state.focus,
3451
+ borderRadius: "4px 0px 0px 4px",
3452
+ position: "absolute"
3593
3453
  }
3594
3454
  }
3595
3455
  },
3596
- "& .M4LSideBar-navItemMainRoot": {
3597
- ...o.typography.body2,
3598
- padding: "0px",
3599
- height: "fit-content",
3600
- position: "relative",
3456
+ "& .M4LSideBar-navItemRootContent": {
3601
3457
  display: "flex",
3602
- alignItems: "center",
3603
- textTransform: "capitalize",
3604
- overflow: "hidden",
3605
- backgroundColor: "transparent",
3606
- "& .M4LSideBar-navItemRootContent": {
3607
- padding: "8px 16px",
3608
- border: "0px",
3609
- justifyContent: "space-between",
3610
- alignItems: "center",
3458
+ padding: "8px",
3459
+ justifyContent: "center",
3460
+ borderRadius: "4px 0px 0px 4px",
3461
+ position: "relative",
3462
+ "& .M4LSideBar-navItemRootContentIconTypo": {
3611
3463
  display: "flex",
3464
+ gap: "8px",
3612
3465
  width: "100%",
3613
- height: "36px",
3614
- boxSizing: "border-box",
3615
- borderRadius: "0 4px 4px 0",
3616
- overflow: "hidden",
3617
- transition: o.transitions.create(["width", "opacity"], {
3618
- duration: o.transitions.duration.standard
3619
- }),
3620
- "&:hover": {
3621
- backgroundColor: o.palette.state.active12,
3622
- Color: o.palette.text.primary
3466
+ "& .M4LIcon-icon": {
3467
+ backgroundColor: o.palette.text.secondary
3623
3468
  },
3624
- "& .M4LSideBar-navItemRootContentIconTypo": {
3625
- display: "flex",
3626
- gap: "4px"
3469
+ "& .MuiTypography-root": {
3470
+ ...o.typography.paragraphDens,
3471
+ color: o.palette.text.secondary
3472
+ },
3473
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
3474
+ backgroundColor: o.palette.text.secondary
3627
3475
  }
3628
3476
  }
3629
- }
3630
- }
3631
- }
3632
- },
3633
- "& .M4LSideBar-lineLeft": {
3634
- height: "100%",
3635
- width: "20px",
3636
- backgroundColor: o.palette.representative
3637
- },
3638
- "& .M4LSideBar-contentDesktop, & .M4LSideBar-contentMobile": {
3639
- position: "relative",
3640
- width: "100%",
3641
- flexGrow: "1",
3642
- display: "flex",
3643
- "& .M4LSideBar-collapseButton": {
3644
- width: "100%",
3645
- padding: "0px",
3646
- "& .M4LSideBar-containerLogoButton": {
3647
- width: "100%",
3648
- height: "68px",
3649
- justifyContent: "space-between",
3650
- alignItems: "center",
3651
- "& .M4LSideBar-containerLogoButtonLogo": {
3652
- width: "100%",
3653
- height: "100%",
3654
- padding: "12px 30px"
3655
3477
  },
3656
- "& .M4LSideBar-containerLogoButtonIcon": {
3657
- width: "auto",
3658
- height: "100%",
3659
- position: "relative",
3660
- display: "flex",
3661
- alignItems: "center",
3662
- "& .M4LIconButton-root": {
3663
- width: "36px",
3664
- height: "36px",
3665
- borderRadius: "0px 4px 4px 0px",
3666
- backgroundColor: o.palette.state.focus,
3667
- "&:hover": {
3668
- backgroundColor: o.palette.state.focus
3478
+ "& .M4LSideBar-navListSubItemRoot": {
3479
+ "& .M4LSideBar-navSubItemContentRoot ": {
3480
+ "&.M4LSideBar-subItemCollapseActive": {
3481
+ backgroundColor: o.palette.state.active12
3669
3482
  },
3670
- "& .M4LIcon-icon": {
3671
- backgroundColor: o.palette.patronus?.marbleLight[10]
3672
- }
3673
- },
3674
- "& .M4LSideBar-collapseButtontriangleTop": {
3675
- position: "absolute",
3676
- top: "0",
3677
- left: "0",
3678
- width: "16px",
3679
- height: "16px",
3680
- overflow: "hidden",
3681
- backgroundColor: o.palette.state.focus,
3682
- transform: "rotate(90deg)",
3683
- "&::before": {
3684
- content: '""',
3685
- position: "absolute",
3686
- width: "100%",
3687
- height: "100%",
3688
- backgroundColor: o.palette.background.neutral,
3689
- transform: "rotate(180deg)",
3690
- inset: "0",
3691
- borderTopLeftRadius: "100%",
3692
- transformOrigin: "center center"
3483
+ "&.M4LSideBar-subItemActive": {
3484
+ "& .M4LSideBar-navSubItemContentBullet": {
3485
+ height: "14px",
3486
+ borderRadius: "10px",
3487
+ backgroundColor: o.palette.state.focus
3488
+ }
3489
+ },
3490
+ "&:hover": {
3491
+ background: o.palette.state.default
3693
3492
  }
3694
3493
  },
3695
- "& .M4LSideBar-collapseButtontriangleBottom": {
3696
- position: "absolute",
3697
- bottom: "0",
3698
- left: "0",
3699
- width: "16px",
3700
- height: "16px",
3701
- ocontainerLogoButtonIconerflow: "hidden",
3702
- background: o.palette.state.focus,
3703
- transform: "rotate(180deg)",
3704
- "&::before": {
3705
- content: '""',
3706
- position: "absolute",
3494
+ "& .M4LSideBar-navSubItemContentRoot": {
3495
+ gap: "12px",
3496
+ margin: "0px 0px 1px 0px",
3497
+ padding: "16px",
3498
+ "& .M4LSideBar-navSubItemContentBullet": {
3499
+ minWidth: "5px",
3500
+ minHeight: "5px",
3501
+ borderRadius: "50%",
3502
+ backgroundColor: o.palette.text.primary
3503
+ },
3504
+ "& .M4LTypography-root": {
3505
+ display: "flex",
3707
3506
  width: "100%",
3708
- height: "100%",
3709
- backgroundColor: o.palette.background.neutral,
3710
- transform: "rotate(180deg)",
3711
- inset: "0",
3712
- borderTopLeftRadius: "100%",
3713
- transformOrigin: "center center"
3507
+ "& .MuiTypography-root": {
3508
+ ...o.typography.paragraph,
3509
+ color: o.palette.text.secondary,
3510
+ with: "100%",
3511
+ overflow: "hidden",
3512
+ textOverflow: "ellipsis",
3513
+ textWrap: "nowrap"
3514
+ }
3714
3515
  }
3715
3516
  }
3517
+ },
3518
+ "& .MuiCollapse-root": {
3519
+ marginLeft: "28px"
3716
3520
  }
3717
- },
3718
- "& .M4LImage-root": {
3719
- display: "flex",
3720
- position: "relative",
3721
- padding: "8px",
3722
- width: "130px",
3723
- height: "44px",
3724
- boxShadow: "inset 0px 4px 4px rgba(0, 0, 0, 0.25)",
3725
- opacity: "30%"
3726
3521
  }
3522
+ },
3523
+ "& .M4LIcon-root .M4LIcon-icon": {
3524
+ backgroundColor: o.palette.text.disabled
3727
3525
  }
3728
3526
  },
3729
- "& .MuiCollapse-wrapperInner": {
3527
+ "& .M4LSideBar-collapseButton": {
3730
3528
  display: "flex",
3731
- flexDirection: "column",
3732
- gap: "16px"
3733
- },
3734
- "& .M4LSideBar-navListSubItemRoot:hover": {
3735
- padding: "4px 8px",
3736
- borderRadius: "4px",
3737
- backgroundColor: o.palette.state.active12
3738
- },
3739
- "& .M4LSideBar-navListSubItemRoot": {
3740
- padding: "4px 8px",
3741
- borderRadius: "4px",
3742
- "& .M4LSideBar-subItemActive": {
3743
- "& .M4LSideBar-navSubItemContentBullet": {
3744
- borderRadius: "5px",
3745
- height: "10px",
3746
- backgroundColor: o.palette.state.focus
3747
- }
3748
- },
3749
- "& .MuiButtonBase-root": {
3750
- gap: "4px",
3751
- "&:hover": {
3752
- backgroundColor: "transparent"
3529
+ paddingTop: "14px",
3530
+ borderTop: "2px solid",
3531
+ borderColor: o.palette.state.default,
3532
+ justifyContent: "center",
3533
+ marginRight: "14px",
3534
+ gap: "15px",
3535
+ "& .M4LSideBar-containerLogoButton": {
3536
+ display: "flex",
3537
+ gap: "14px",
3538
+ "& .M4LSideBar-containerLogoButtonLogo": {
3539
+ width: "120px",
3540
+ height: "40px"
3541
+ },
3542
+ "& .M4LSideBar-containerLogoButtonIcon": {
3543
+ display: "flex",
3544
+ alignItems: "center"
3753
3545
  }
3754
- },
3755
- "& .M4LSideBar-navSubItemContentBullet": {
3756
- width: "4px",
3757
- height: "4px",
3758
- borderRadius: "100%",
3759
- backgroundColor: o.palette.text.secondary,
3760
- margin: "6px"
3761
3546
  }
3762
- },
3763
- "& .MuiPaper-root": {
3764
- borderRadius: "4px",
3765
- backgroundColor: o.palette.state.active12,
3766
- padding: "8px"
3767
3547
  }
3548
+ },
3549
+ "& .M4LSideBar-contentMobile": {
3550
+ width: "100%",
3551
+ display: "flex",
3552
+ flexDirection: "column",
3553
+ paddingLeft: "14px"
3554
+ },
3555
+ "& .M4LSideBar-contentDesktop": {
3556
+ display: "flex"
3768
3557
  }
3769
3558
  }
3770
3559
  }
3771
3560
  }
3561
+ }), nt = (o) => ({
3562
+ M4LAreasAdmin: {
3563
+ styleOverrides: {
3564
+ "&.M4LAreasAdmin-root": {
3565
+ width: "100%",
3566
+ "& .M4LAreasAdmin-areaContainerChips": {
3567
+ display: "flex",
3568
+ overflow: "auto",
3569
+ width: "100%",
3570
+ "& .M4LAreasAdmin-areaChipRoot": {
3571
+ "& .M4LAreasAdmin-areaChipTitle": {
3572
+ textWrap: "nowrap"
3573
+ }
3574
+ }
3575
+ }
3576
+ }
3577
+ }
3578
+ }
3579
+ }), pt = (o) => ({
3580
+ M4LAreasViewer: {
3581
+ styleOverrides: {
3582
+ "&.M4LAreasViewer-root": {
3583
+ test: "root"
3584
+ }
3585
+ }
3586
+ }
3772
3587
  });
3773
- function ct(o) {
3588
+ function xt(o) {
3774
3589
  return Object.assign(
3775
3590
  ao(o),
3776
3591
  no(o),
@@ -3787,38 +3602,38 @@ function ct(o) {
3787
3602
  Lo(o),
3788
3603
  eo(o),
3789
3604
  ro(o),
3790
- yo(o),
3605
+ fo(o),
3791
3606
  to(o),
3792
3607
  vo(o),
3793
- fo(o),
3608
+ yo(o),
3794
3609
  ho(o),
3795
3610
  ko(o),
3796
- Co(o),
3611
+ Co(),
3797
3612
  Bo(),
3798
3613
  Oo(o),
3614
+ Fo(o),
3799
3615
  Io(o),
3800
- So(o),
3801
3616
  Ro(o),
3802
- Fo(o),
3803
3617
  wo(o),
3618
+ So(o),
3619
+ Ao(o),
3804
3620
  To(o),
3805
3621
  $o(o),
3806
- Ao(o),
3807
- zo(o),
3808
3622
  mo(o),
3809
- Do(),
3623
+ Do(o),
3624
+ zo(),
3810
3625
  Ho(o),
3811
3626
  Eo(o),
3812
3627
  Go(o),
3813
- Po(o),
3628
+ Wo(o),
3814
3629
  rt(o),
3815
- Wo(),
3816
- qo(),
3817
- jo(o),
3818
- No(),
3630
+ Po(),
3631
+ qo(o),
3632
+ No(o),
3633
+ _o(),
3819
3634
  tt(o),
3820
3635
  et(),
3821
- _o(o),
3636
+ jo(o),
3822
3637
  Vo(o),
3823
3638
  Yo(),
3824
3639
  Uo(o),
@@ -3829,10 +3644,12 @@ function ct(o) {
3829
3644
  Xo(o),
3830
3645
  Zo(o),
3831
3646
  ot(o),
3832
- it(o)
3647
+ it(o),
3648
+ nt(),
3649
+ pt()
3833
3650
  );
3834
3651
  }
3835
- const gt = {
3652
+ const bt = {
3836
3653
  values: {
3837
3654
  xs: 0,
3838
3655
  sm: 600,
@@ -3840,25 +3657,25 @@ const gt = {
3840
3657
  lg: 1200,
3841
3658
  xl: 1400
3842
3659
  }
3843
- }, xt = {
3660
+ }, Mt = {
3844
3661
  mobile: 16,
3845
3662
  desktop: 16
3846
3663
  };
3847
3664
  export {
3848
3665
  t as PATRONUSCOLORS,
3849
- _ as blaze,
3850
- j as candy,
3666
+ j as blaze,
3667
+ N as candy,
3851
3668
  g as colorPresets,
3852
3669
  Z as createCustomShadows,
3853
- I as defaultPreset,
3854
- ut as defaultThemeOptions,
3855
- ct as fnComponentsOverrides,
3670
+ F as defaultPreset,
3671
+ gt as defaultThemeOptions,
3672
+ xt as fnComponentsOverrides,
3856
3673
  b as getColorPresets,
3857
3674
  V as getColorState,
3858
- st as getFontValue,
3859
- xt as globalRemSize,
3860
- N as grass,
3861
- gt as muiBreakpointsValues,
3675
+ ct as getFontValue,
3676
+ Mt as globalRemSize,
3677
+ _ as grass,
3678
+ bt as muiBreakpointsValues,
3862
3679
  s as palette,
3863
3680
  d as pxToRem,
3864
3681
  Y as remToPx,