@m4l/styles 0.0.22 → 0.0.23

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.
Files changed (24) hide show
  1. package/index.js +9 -9
  2. package/package.json +1 -1
  3. package/theme/{defaultThemeOptions.733652aa.js → defaultThemeOptions.605b5b1a.js} +5 -5
  4. package/theme/index.c8a2f20d.js +7 -0
  5. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +40 -25
  7. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +5604 -190
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +0 -2
  9. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +3 -1
  10. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +4 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +280 -818
  12. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +15 -2
  13. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +6 -0
  14. package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +76 -0
  15. package/theme/overrides/M4LExtendedComponents/{index.28d622ba.js → index.566e183a.js} +349 -127
  16. package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1616
  17. package/theme/overrides/MUIComponents/{index.d308ce65.js → index.b9c696e9.js} +2 -2
  18. package/theme/overrides/{index.76becad2.js → index.ed4b5bcb.js} +2 -2
  19. package/theme/{palette.a914c187.js → palette.688aaf56.js} +1 -1
  20. package/theme/{shadows.3dfe77c2.js → shadows.1b2f7a87.js} +1 -1
  21. package/theme/{typography.dd335f0f.js → typography.86a19de9.js} +4 -4
  22. package/utils/{getColorPresets.9c103b85.js → getColorPresets.8106cfef.js} +1 -1
  23. package/utils/{getColorState.184e9d10.js → getColorState.7b615773.js} +31 -31
  24. package/theme/index.fa6b03ae.js +0 -7
@@ -8,11 +8,14 @@ const i = (o) => ({
8
8
  background: o.palette.background.default,
9
9
  boxShadow: o.customShadows.z2,
10
10
  padding: "0px",
11
- border: "1px solid",
12
- borderColor: o.palette.background.background,
11
+ borderTop: "1.5px solid",
12
+ borderColor: o.palette.state.borderTop,
13
13
  overflow: "hidden",
14
+ height: "35px",
14
15
  [o.breakpoints.down("sm")]: {
15
- gap: "0px"
16
+ gap: "0px",
17
+ height: "auto",
18
+ marginBottom: "8px"
16
19
  },
17
20
  "& .M4LDynamicFilter-containerFistRow": {
18
21
  height: "32px",
@@ -30,7 +33,8 @@ const i = (o) => ({
30
33
  alignItems: "center",
31
34
  maxWidth: "100%",
32
35
  [o.breakpoints.down("sm")]: {
33
- height: "44px"
36
+ height: "100%",
37
+ padding: "8px"
34
38
  }
35
39
  }
36
40
  },
@@ -41,7 +45,7 @@ const i = (o) => ({
41
45
  display: "flex",
42
46
  flexDirection: "row",
43
47
  gap: "4px",
44
- backgroundColor: o.palette.background.neutral,
48
+ backgroundColor: o.palette.background.background,
45
49
  padding: "4px",
46
50
  [o.breakpoints.down("sm")]: {
47
51
  gap: "12px",
@@ -52,15 +56,15 @@ const i = (o) => ({
52
56
  display: "flex",
53
57
  flexDirection: "row",
54
58
  gap: "8px",
55
- padding: "4px",
56
- backgroundColor: o.palette.background.neutral,
59
+ padding: "4px 6px 4px 4px",
60
+ backgroundColor: o.palette.background.background,
57
61
  height: "100%",
58
62
  maxWidth: "135px",
59
63
  width: "100%",
60
64
  alignItems: "center",
61
65
  "& > input": {
62
66
  border: "1px solid",
63
- borderColor: o.palette.background.background,
67
+ borderColor: o.palette.background.default,
64
68
  background: "none",
65
69
  ...o.typography.body,
66
70
  color: o.palette.text.primary,
@@ -250,7 +254,7 @@ const i = (o) => ({
250
254
  }
251
255
  }
252
256
  }
253
- }), p = (o) => ({
257
+ }), d = (o) => ({
254
258
  M4LIconButton: {
255
259
  styleOverrides: {
256
260
  ["&.M4LIconButton-root"]: {
@@ -401,7 +405,7 @@ const i = (o) => ({
401
405
  }
402
406
  }
403
407
  }
404
- }), d = (o) => ({
408
+ }), p = (o) => ({
405
409
  M4LanguagePopover: {
406
410
  styleOverrides: {
407
411
  ["&.M4LanguagePopover-root"]: {}
@@ -550,6 +554,10 @@ const i = (o) => ({
550
554
  M4LButton: {
551
555
  styleOverrides: {
552
556
  "&.M4LButton-root": {
557
+ "&.M4LButton-colorError .MuiButtonBase-root": {
558
+ backgroundColor: `${o.palette.state.error.normal}!important`,
559
+ test: "bruce button"
560
+ },
553
561
  width: "fit-content",
554
562
  display: "flex",
555
563
  justifyContent: "center",
@@ -1511,9 +1519,12 @@ const i = (o) => ({
1511
1519
  borderColor: o.palette.state.borderTop,
1512
1520
  [o.breakpoints.down("sm")]: {
1513
1521
  height: "auto",
1514
- background: "none",
1522
+ background: o.palette.background.default,
1523
+ boxShadow: o.customShadows.z2,
1515
1524
  width: "100%",
1516
- maxWidth: "100%"
1525
+ maxWidth: "100%",
1526
+ paddingRight: "0px",
1527
+ borderRadius: "4px"
1517
1528
  },
1518
1529
  "*::-webkit-scrollbar": {
1519
1530
  width: "8px",
@@ -1536,7 +1547,11 @@ const i = (o) => ({
1536
1547
  overflow: "auto",
1537
1548
  height: "36px",
1538
1549
  borderRight: "1px solid",
1539
- borderColor: o.palette.state.overdefoult,
1550
+ borderColor: o.palette.state.borderTop,
1551
+ [o.breakpoints.down("sm")]: {
1552
+ background: "none",
1553
+ borderRight: "none"
1554
+ },
1540
1555
  "& .M4LAreasAdmin-areaIconLayer": {
1541
1556
  background: o.palette.background.neutral,
1542
1557
  boxShadow: o.customShadows.z2,
@@ -1561,6 +1576,9 @@ const i = (o) => ({
1561
1576
  width: "fit-content",
1562
1577
  height: "auto",
1563
1578
  alignItems: "center",
1579
+ [o.breakpoints.down("sm")]: {
1580
+ background: "none"
1581
+ },
1564
1582
  "& .M4LAreasAdmin-areaContainerContentChips": {
1565
1583
  display: "flex",
1566
1584
  flexDirection: "row",
@@ -1568,7 +1586,8 @@ const i = (o) => ({
1568
1586
  justifyContent: "space-between",
1569
1587
  [o.breakpoints.down("sm")]: {
1570
1588
  justifyContent: "space-between",
1571
- width: "100%"
1589
+ width: "100%",
1590
+ background: "none"
1572
1591
  },
1573
1592
  "& .css-jjtu05": {
1574
1593
  "& .css-16ugaun": {},
@@ -1602,37 +1621,64 @@ const i = (o) => ({
1602
1621
  margin: "0px",
1603
1622
  borderRadius: "4px",
1604
1623
  overflow: "hidden",
1605
- width: "fit-content"
1624
+ width: "fit-content",
1625
+ [o.breakpoints.down("sm")]: {
1626
+ background: "none"
1627
+ }
1606
1628
  }
1607
1629
  },
1608
1630
  "& .M4LAreasAdmin-areaChipMobileRoot": {
1609
1631
  display: "flex",
1610
1632
  overflow: "hidden",
1611
1633
  width: "100%",
1612
- backgroundColor: o.palette.state.active,
1634
+ backgroundColor: o.palette.state.default,
1635
+ boxShadow: o.customShadows.z2,
1636
+ borderTop: "1.5px solid",
1637
+ boderColor: o.palette.state.borderTop,
1613
1638
  borderRadius: "4px",
1639
+ [o.breakpoints.down("sm")]: {
1640
+ backgroundColor: o.palette.background.default,
1641
+ boxShadow: o.customShadows.z1
1642
+ },
1614
1643
  "& .M4LAreasAdmin-areaChipRoot ": {
1615
1644
  margin: "0px",
1616
1645
  borderRadius: "4px 0px 0px 4px",
1617
1646
  overflow: "hidden",
1618
- width: "100%"
1647
+ width: "100%",
1648
+ [o.breakpoints.down("sm")]: {
1649
+ background: "none"
1650
+ }
1651
+ },
1652
+ "& .M4LAreasAdmin-selected .": {
1653
+ [o.breakpoints.down("sm")]: {
1654
+ background: "none"
1655
+ }
1619
1656
  }
1620
1657
  },
1621
1658
  "& .M4LAreasAdmin-areaChipMobileIconContainer": {
1622
1659
  display: "flex",
1623
1660
  width: "fit-content",
1624
- alignItems: "center",
1625
- borderRadius: "0px 4px 4px 0px",
1626
- background: o.palette.state.active,
1661
+ borderRadius: "0px 0px 0px 0px",
1662
+ boxShadow: o.customShadows.z2,
1627
1663
  ...o.typography.body,
1628
1664
  color: o.palette.text.primary,
1629
1665
  "& .M4LIconButton-root": {
1630
- backgroundColor: `${o.palette.state.active}!important`,
1631
- borderLeft: "1px solid",
1632
- borderColor: o.palette.patronus?.marbleLight[10],
1633
- borderRadius: "0px",
1666
+ background: "transparent",
1667
+ backgroundColor: "transparent",
1634
1668
  "& .M4LIcon-icon": {
1635
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
1669
+ "&::before": {
1670
+ content: '""',
1671
+ width: "0px",
1672
+ top: "0px",
1673
+ bottom: "0px",
1674
+ right: "1px",
1675
+ backgroundColor: "none",
1676
+ borderRadius: "2px",
1677
+ position: "absolute",
1678
+ borderRight: "1px ",
1679
+ borderColor: o.palette.state.borderDefault,
1680
+ height: "20px"
1681
+ }
1636
1682
  }
1637
1683
  }
1638
1684
  },
@@ -1658,6 +1704,11 @@ const i = (o) => ({
1658
1704
  border: "1px solid",
1659
1705
  borderColor: o.palette.state.default,
1660
1706
  background: o.palette.state.default,
1707
+ [o.breakpoints.down("sm")]: {
1708
+ background: "none",
1709
+ border: "none",
1710
+ borderColor: "none"
1711
+ },
1661
1712
  "& .M4LAreasAdmin-areaContainerChipEditButton": {
1662
1713
  display: "flex",
1663
1714
  width: "fit-content"
@@ -1671,7 +1722,8 @@ const i = (o) => ({
1671
1722
  color: o.palette.text.primary,
1672
1723
  height: "22px",
1673
1724
  [o.breakpoints.down("sm")]: {
1674
- height: "auto"
1725
+ height: "auto",
1726
+ background: "none"
1675
1727
  },
1676
1728
  "& .M4LAreasAdmin-areaChipTitle": {
1677
1729
  backgroundColor: "transparent",
@@ -1688,12 +1740,19 @@ const i = (o) => ({
1688
1740
  textOverflow: "ellipsis",
1689
1741
  overflow: "hidden",
1690
1742
  whiteSpace: "nowrap",
1691
- flex: "1"
1743
+ flex: "1",
1744
+ color: o.palette.text.primary
1692
1745
  }
1693
1746
  },
1694
1747
  "& .M4LIconButton-root": {
1748
+ [o.breakpoints.down("sm")]: {
1749
+ color: o.palette.text.primary
1750
+ },
1695
1751
  "& .M4LIcon-icon": {
1696
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
1752
+ backgroundColor: `${o.palette.patronus?.marbleLight[10]}`,
1753
+ [o.breakpoints.down("sm")]: {
1754
+ color: o.palette.text.primary
1755
+ }
1697
1756
  }
1698
1757
  }
1699
1758
  },
@@ -1712,8 +1771,14 @@ const i = (o) => ({
1712
1771
  justifyContent: "center",
1713
1772
  width: "20px",
1714
1773
  height: "20px",
1774
+ [o.breakpoints.down("sm")]: {
1775
+ color: o.palette.text.primary
1776
+ },
1715
1777
  "&.M4LIconButton-variantPrimary": {
1716
- background: o.palette.state.active
1778
+ background: o.palette.state.active,
1779
+ [o.breakpoints.down("sm")]: {
1780
+ color: o.palette.text.primary
1781
+ }
1717
1782
  }
1718
1783
  }
1719
1784
  }
@@ -1723,7 +1788,10 @@ const i = (o) => ({
1723
1788
  "& .M4LAreasAdmin-areasAddButton": {
1724
1789
  backgroundColor: `${o.palette.state.active}!important`,
1725
1790
  "& .M4LIcon-icon": {
1726
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
1791
+ backgroundColor: `${o.palette.patronus?.marbleLight[10]}`,
1792
+ [o.breakpoints.down("sm")]: {
1793
+ color: o.palette.text.primary
1794
+ }
1727
1795
  }
1728
1796
  },
1729
1797
  "&.M4LAreasAdmin-isMobile": {
@@ -1770,7 +1838,7 @@ const i = (o) => ({
1770
1838
  }
1771
1839
  }
1772
1840
  }
1773
- }), f = (o) => ({
1841
+ }), w = (o) => ({
1774
1842
  M4LAreasViewer: {
1775
1843
  styleOverrides: {
1776
1844
  "&.M4LAreasViewer-root": {
@@ -1778,7 +1846,7 @@ const i = (o) => ({
1778
1846
  background: o.palette.background.background,
1779
1847
  "& .M4LAreasViewer-areaGridLayout": {
1780
1848
  "& .M4LAreasViewer-windowRoot": {
1781
- background: o.palette.background.neutral,
1849
+ background: o.palette.state.default,
1782
1850
  border: "none",
1783
1851
  boxShadow: o.customShadows.z2,
1784
1852
  borderRadius: "4px",
@@ -1993,8 +2061,6 @@ const i = (o) => ({
1993
2061
  }
1994
2062
  },
1995
2063
  "& .MuiButtonBase-root:hover": {
1996
- background: o.palette.state.default,
1997
- color: o.palette.state.hover,
1998
2064
  "& .M4LIcon-icon": {
1999
2065
  backgroundColor: o.palette.state.hover
2000
2066
  }
@@ -2317,7 +2383,7 @@ const i = (o) => ({
2317
2383
  }
2318
2384
  }
2319
2385
  }
2320
- }), w = (o) => ({
2386
+ }), f = (o) => ({
2321
2387
  M4LAppBar: {
2322
2388
  styleOverrides: {
2323
2389
  "&.M4LAppBar-root": {
@@ -2423,7 +2489,7 @@ const i = (o) => ({
2423
2489
  overflow: "hidden"
2424
2490
  }
2425
2491
  }
2426
- }), h = (o) => ({
2492
+ }), k = (o) => ({
2427
2493
  M4LAvatar: {
2428
2494
  styleOverrides: {
2429
2495
  "&.M4LAvatar-root": {
@@ -2431,13 +2497,15 @@ const i = (o) => ({
2431
2497
  width: "36px",
2432
2498
  height: "36px",
2433
2499
  borderRadius: "4px",
2434
- background: o.palette.patronus?.blazeOrange[40]
2500
+ padding: "4px",
2501
+ background: o.palette.state.active,
2502
+ color: o.palette.patronus?.ashBlak[70]
2435
2503
  },
2436
2504
  test: "root"
2437
2505
  }
2438
2506
  }
2439
2507
  }
2440
- }), v = (o) => ({
2508
+ }), h = (o) => ({
2441
2509
  M4LAccountPopover: {
2442
2510
  styleOverrides: {
2443
2511
  "&.M4LAccountPopover-root": {
@@ -2448,55 +2516,74 @@ const i = (o) => ({
2448
2516
  M4LAccountPopoverPopover: {
2449
2517
  styleOverrides: {
2450
2518
  "&.M4LAccountPopover-popover": {
2451
- test: "root",
2452
2519
  display: "flex",
2453
2520
  flexDirection: "column",
2454
- gap: "8px",
2521
+ gap: "0px",
2455
2522
  borderRadius: "6px",
2456
2523
  "& .MuiPaper-root": {
2457
2524
  display: "flex",
2458
2525
  flexDirection: "column",
2459
- gap: "8px",
2460
- padding: "8px",
2526
+ gap: "0px",
2527
+ padding: "12px",
2461
2528
  borderRadius: "6px",
2462
2529
  boxShadow: o.customShadows.z3,
2463
- background: o.palette.background.background
2464
- },
2465
- "& .M4LAccountPopover-containerAppVersion": {
2466
- display: "flex",
2467
- borderBottom: "2px solid",
2468
- borderColor: o.palette.state.default,
2469
- padding: "4px 4px 8px 4px"
2470
- },
2471
- "& .M4LAccountPopover-containerMenuItems": {
2472
- "& .M4LAccountPopover-menuItem": {
2530
+ background: o.palette.background.default,
2531
+ "& .M4LAccountPopover-containerUserInfo": {
2532
+ display: "flex",
2533
+ flexDirection: "column",
2534
+ "& .M4LAccountPopover-labelUserName": {
2535
+ color: o.palette.text.primary,
2536
+ ...o.typography.paragraphDens,
2537
+ padding: "4px"
2538
+ },
2539
+ "& .M4LAccountPopover-labelUserEmail": {
2540
+ color: o.palette.text.primary,
2541
+ ...o.typography.paragraph,
2542
+ padding: "4px"
2543
+ }
2544
+ },
2545
+ "& .M4LAccountPopover-containerAppVersion": {
2546
+ display: "flex",
2547
+ padding: "4px 4px 4px 4px",
2548
+ "& .M4LAccountPopover-labelVersion": {
2549
+ color: o.palette.text.secondary,
2550
+ ...o.typography.paragraph
2551
+ }
2552
+ },
2553
+ "& .M4LAccountPopover-containerMenuItems": {
2554
+ borderTop: "2px solid",
2555
+ borderBottom: "2px solid",
2556
+ borderColor: o.palette.state.default,
2473
2557
  padding: "4px",
2474
- borderRadius: "4px",
2558
+ margin: "8px 0 8px 0",
2559
+ "& .M4LAccountPopover-menuItem": {
2560
+ padding: "4px",
2561
+ borderRadius: "4px",
2562
+ cursor: "pointer",
2563
+ "&:hover": {
2564
+ background: o.palette.state.default
2565
+ }
2566
+ }
2567
+ },
2568
+ "& .M4LAccountPopover-logOut": {
2569
+ justifyContent: "center",
2475
2570
  cursor: "pointer",
2571
+ color: o.palette.text.primary,
2572
+ ...o.typography.paragraph,
2573
+ padding: "4px",
2574
+ borderRadius: "4px",
2476
2575
  "&:hover": {
2477
2576
  background: o.palette.state.default
2478
2577
  }
2578
+ },
2579
+ "& .M4LPopover-arrowStyle": {
2580
+ display: "none"
2479
2581
  }
2480
- },
2481
- "& .M4LAccountPopover-logOut": {
2482
- borderTop: "2px solid",
2483
- borderColor: o.palette.state.default,
2484
- justifyContent: "center",
2485
- paddingTop: "8px",
2486
- cursor: "pointer",
2487
- padding: "4px",
2488
- borderRadius: "4px",
2489
- "&:hover": {
2490
- background: o.palette.state.default
2491
- }
2492
- },
2493
- "& .M4LPopover-arrowStyle": {
2494
- display: "none"
2495
2582
  }
2496
2583
  }
2497
2584
  }
2498
2585
  }
2499
- }), k = (o) => ({
2586
+ }), v = (o) => ({
2500
2587
  M4LModuleLayout: {
2501
2588
  styleOverrides: {
2502
2589
  "&.M4LModuleLayout-root": {
@@ -2529,21 +2616,27 @@ const i = (o) => ({
2529
2616
  width: "100%",
2530
2617
  height: "100%",
2531
2618
  boxShadow: "none",
2532
- background: o.palette.background.neutral,
2619
+ background: "none",
2533
2620
  border: "0px",
2534
2621
  borderColor: "transparent",
2535
2622
  borderRadius: "6px",
2536
2623
  overFlow: "visible"
2537
2624
  },
2538
2625
  "& .M4LSplitLayout-secondPart": {
2539
- background: o.palette.background.default,
2626
+ background: o.palette.background.neutral,
2540
2627
  borderRadius: "6px",
2541
- padding: "8px"
2628
+ padding: "8px",
2629
+ boxShadow: o.customShadows.z2,
2630
+ borderTop: "1.5px solid",
2631
+ borderColor: o.palette.state.borderTop
2542
2632
  },
2543
2633
  "& .layout-pane-primary": {
2544
- background: o.palette.background.default,
2634
+ background: o.palette.background.neutral,
2545
2635
  borderRadius: "6px",
2546
- padding: "8px"
2636
+ padding: "8px",
2637
+ boxShadow: o.customShadows.z2,
2638
+ borderTop: "1.5px solid",
2639
+ borderColor: o.palette.state.borderTop
2547
2640
  }
2548
2641
  }
2549
2642
  }
@@ -2771,13 +2864,13 @@ const i = (o) => ({
2771
2864
  width: "100%",
2772
2865
  background: o.palette.background.default,
2773
2866
  boxShadow: o.customShadows.z2,
2774
- borderTop: "1px solid",
2775
- borderColor: o.palette.state.default,
2867
+ borderTop: "1.5px solid",
2868
+ borderColor: o.palette.state.borderTop,
2776
2869
  borderRadius: "4px",
2777
2870
  "& .M4LTypography-root": {
2778
2871
  "& .MuiTypography-root": {
2779
2872
  ...o.typography.bodyDens,
2780
- color: o.palette.text.disabled
2873
+ color: o.palette.text.secondary
2781
2874
  }
2782
2875
  },
2783
2876
  "& .MuiPaper-root": {
@@ -2785,6 +2878,7 @@ const i = (o) => ({
2785
2878
  }
2786
2879
  },
2787
2880
  "& .MuiButtonBase-root": {
2881
+ padding: "4px 8px 4px 8px",
2788
2882
  "&.MuiAccordionSummary-root.Mui-expanded": {
2789
2883
  background: o.palette.state.active12,
2790
2884
  "& .M4LTypography-root": {
@@ -3135,7 +3229,7 @@ const i = (o) => ({
3135
3229
  }
3136
3230
  }
3137
3231
  }
3138
- }), F = (o) => ({
3232
+ }), V = (o) => ({
3139
3233
  M4LTooltip: {
3140
3234
  styleOverrides: {
3141
3235
  "&.M4LTooltip-root": {
@@ -3160,7 +3254,7 @@ const i = (o) => ({
3160
3254
  }
3161
3255
  }
3162
3256
  }
3163
- }), V = (o) => ({
3257
+ }), F = (o) => ({
3164
3258
  M4LBadge: {
3165
3259
  styleOverrides: {
3166
3260
  "& .M4LBadge-root": {
@@ -3172,21 +3266,42 @@ const i = (o) => ({
3172
3266
  M4LDataGrid: {
3173
3267
  styleOverrides: {
3174
3268
  "&.M4LDataGrid-root": {
3175
- test: "root",
3269
+ background: o.palette.background.default,
3270
+ boxShadow: o.customShadows.z2,
3271
+ borderRadius: "4px",
3272
+ padding: "4px",
3273
+ display: "flex",
3274
+ position: "relative",
3275
+ flexDirection: "column",
3276
+ gap: "4px",
3277
+ height: "100%",
3278
+ borderTop: "1.5",
3279
+ borderColor: o.palette.state.borderTop,
3280
+ width: "100%",
3176
3281
  "& .M4LDataGrid-actions": {
3177
- ...o.typography.caption,
3178
- position: "absolute",
3282
+ ...o.typography.body,
3179
3283
  left: "0px",
3180
3284
  right: "0px",
3181
3285
  top: "0px",
3182
- height: o.spacing(5.5),
3183
- padding: 0,
3286
+ padding: "8px",
3184
3287
  display: "flex",
3185
3288
  flexDirection: "row",
3289
+ borderRadius: "4px",
3186
3290
  alignItems: "center",
3187
- justifyContent: "flex-end",
3188
- [o.breakpoints.up("sm")]: {
3189
- padding: o.spacing(0, 1.5)
3291
+ justifyContent: "space-between",
3292
+ background: o.palette.state.default,
3293
+ position: "absolute",
3294
+ gap: "8px",
3295
+ "& .M4LDataGrid-actionsConfigContainer": {
3296
+ display: "flex",
3297
+ flexDirection: "row",
3298
+ gap: "8px",
3299
+ "& .M4LIconButton-root": {
3300
+ background: o.palette.state.default,
3301
+ boxShadow: o.customShadows.z1,
3302
+ borderTop: "1.5px solid",
3303
+ borderColor: o.palette.state.borderTop
3304
+ }
3190
3305
  },
3191
3306
  "& .M4LDataGrid-rowsCount": {
3192
3307
  display: "flex",
@@ -3212,31 +3327,43 @@ const i = (o) => ({
3212
3327
  left: "0px",
3213
3328
  right: "0px",
3214
3329
  overflow: "hidden",
3330
+ borderRadius: "4px",
3331
+ border: "none",
3332
+ boxshadow: o.customShadows.z2,
3333
+ background: o.palette.background.default,
3334
+ padding: "4px",
3335
+ [o.breakpoints.down("sm")]: {
3336
+ top: "54px"
3337
+ },
3215
3338
  "& .M4LDataGrid-wrapperDataGridCss": {
3216
- position: "absolute",
3217
- bottom: "0px",
3218
- top: "0px",
3219
- left: "0px",
3220
- right: "0px",
3339
+ position: "relative",
3340
+ height: "100%",
3341
+ overflow: "hidden",
3221
3342
  "& .rdg ": {
3343
+ border: "none",
3344
+ background: o.palette.background.default,
3345
+ gridColumnGap: "0px",
3346
+ gridRowGap: "0px",
3222
3347
  userSelect: "initial",
3223
3348
  height: "100%",
3224
3349
  contentVisibility: "unset",
3225
- overflow: "scroll",
3226
- borderRadius: "5px",
3350
+ overflow: "auto",
3351
+ borderRadius: "4px",
3352
+ padding: "0px",
3353
+ borderColor: "none",
3227
3354
  "--rdg-grid-inline-size": "0px",
3228
- "--rdg-header-background-color": o.palette.grid?.sectionHeader,
3229
- "--rdg-row-selected-background-color": o.palette.state.hover,
3230
- "--rdg-row-hover-background-color": o.palette.grid?.rowHover,
3355
+ "--rdg-header-background-color": o.palette.background.background,
3356
+ "--rdg-row-selected-background-color": o.palette.state.active12,
3357
+ "--rdg-row-hover-background-color": o.palette.state.active12,
3231
3358
  "--rdg-background-color": o.palette.background.default,
3232
- "--rdg-selection-color": o.palette.primary.main,
3233
- "--row-selected-hover-background-color": o.palette.mode === "light" ? o.palette.primary.LightSelectedHover : o.palette.primary.DarkSelectedHover,
3359
+ "--rdg-selection-color": o.palette.state.active,
3360
+ "--row-selected-hover-background-color": (o.palette.mode === "light", o.palette.state.active12),
3234
3361
  "--rdg-checkbox-color": o.palette.primary.main,
3235
3362
  "--rdg-checkbox-focus-color": t(
3236
3363
  o.palette.primary.main,
3237
3364
  o.palette.action.selectedOpacity
3238
3365
  ),
3239
- "--rdg-border-color": o.palette.divider
3366
+ "--rdg-border-color": "none"
3240
3367
  },
3241
3368
  "& .rdg::-webkit-scrollbar": {
3242
3369
  width: "6px",
@@ -3260,34 +3387,64 @@ const i = (o) => ({
3260
3387
  justifyContent: "center",
3261
3388
  alignItems: "center"
3262
3389
  },
3390
+ "& .rdg-row": {
3391
+ '&[aria-selected="false"] .rdg-cell': {
3392
+ backgroundColor: `${o.palette.background.default}`
3393
+ },
3394
+ "&:nth-child(odd)": {
3395
+ "& .rdg-cell": {
3396
+ backgroundColor: o.palette.background.neutral
3397
+ }
3398
+ },
3399
+ '&[aria-selected="true"] .rdg-cell': {
3400
+ backgroundColor: `${o.palette.state.active12}`
3401
+ },
3402
+ "&:hover": {
3403
+ "& .rdg-cell": {
3404
+ backgroundColor: `${o.palette.state.active12}!important`
3405
+ }
3406
+ },
3407
+ backgroundColor: "transparent"
3408
+ },
3263
3409
  "& .rdg-cell": {
3264
3410
  fontFamily: o.typography.body2.fontFamily,
3265
3411
  fontWeight: o.typography.body2.fontWeight,
3266
3412
  fontSize: o.typography.body2.fontSize,
3267
3413
  color: o.palette.text.secondary,
3268
- borderBottom: `1px solid ${o.palette.divider}`,
3269
- borderRight: "0px solid transparent",
3270
- position: "relative",
3414
+ borderBottom: "2px solid transparent",
3415
+ borderRight: "2px solid transparent",
3416
+ borderColor: o.palette.background.background,
3417
+ borderRadius: "2px",
3418
+ display: "inline",
3419
+ justifyContent: "center",
3420
+ alignItems: "center",
3421
+ textOverflow: "inline",
3422
+ gridTemplateColumns: "auto",
3271
3423
  "&.rdg-cell-frozen": {
3272
- position: "sticky"
3424
+ display: "flex",
3425
+ justifyContent: "center",
3426
+ alignItems: "center"
3273
3427
  },
3274
3428
  "&:after": {
3275
3429
  content: '""',
3276
- borderRight: `1px solid ${o.palette.divider}`,
3430
+ borderRight: `0px solid ${o.palette.divider}`,
3277
3431
  position: "absolute",
3278
3432
  right: "0px",
3279
- top: "25%",
3280
- bottom: "25%"
3433
+ height: "100%"
3281
3434
  },
3282
3435
  "& .m4l_icon": {
3283
3436
  height: "100%"
3284
3437
  }
3285
3438
  },
3286
3439
  "& [aria-selected=true]": {
3287
- backgroundColor: o.palette.state.active
3440
+ backgroundColor: o.palette.state.active12,
3441
+ color: o.palette.text.primary
3288
3442
  },
3289
3443
  "& .rdg-cell.rdg-cell-align-left": {
3290
- textAlign: "left"
3444
+ textAlign: "center",
3445
+ display: "inline",
3446
+ justifyContent: "center",
3447
+ alignItems: "center"
3291
3448
  },
3292
3449
  "& .rdg-cell.rdg-cell-align-center": {
3293
3450
  textAlign: "center"
@@ -3300,18 +3457,24 @@ const i = (o) => ({
3300
3457
  boxShadow: "none"
3301
3458
  },
3302
3459
  "& .rdg-row :last-child:after": {
3303
- borderRight: "0px solid transparent"
3460
+ borderRight: "2px solid",
3461
+ borderColor: o.palette.background.neutral
3304
3462
  },
3305
3463
  "& .rdg-header-row .rdg-cell": {
3306
- fontFamily: o.typography.subtitle2.fontFamily,
3307
- fontWeight: o.typography.subtitle2.fontWeight,
3308
- fontSize: o.typography.subtitle2.fontSize,
3464
+ fontFamily: o.typography.subtitle,
3465
+ fontWeight: o.typography.subtitle,
3466
+ fontSize: o.typography.subtitle,
3309
3467
  color: o.palette.text.primary,
3310
- borderRight: "0px solid transparent",
3468
+ borderRight: "2px solid",
3469
+ borderColor: o.palette.background.default,
3311
3470
  boxShadow: "none",
3471
+ gridTemplateColumns: "auto",
3312
3472
  "&.rdg-cell-frozen-last": {
3473
+ borderRight: "2px solid",
3474
+ borderColor: o.palette.background.default,
3313
3475
  "&:after": {
3314
- borderRight: "0px solid transparent"
3476
+ borderRight: "0px solid",
3477
+ borderColor: o.palette.background.neutral
3315
3478
  },
3316
3479
  boxShadow: "var(--rdg-frozen-cell-box-shadow)"
3317
3480
  },
@@ -3321,7 +3484,7 @@ const i = (o) => ({
3321
3484
  }
3322
3485
  },
3323
3486
  "& .rdg-header-row :last-child.rdg-cell": {
3324
- borderTopRightRadius: "5px",
3487
+ borderTopRightRadius: "4px",
3325
3488
  "&:after": {
3326
3489
  borderRight: "0px solid transparent"
3327
3490
  }
@@ -3361,11 +3524,63 @@ const i = (o) => ({
3361
3524
  }
3362
3525
  }
3363
3526
  }
3364
- }), H = (o) => ({
3527
+ }), j = (o) => ({
3365
3528
  M4LPager: {
3366
3529
  styleOverrides: {
3367
3530
  "&.M4LPager-root": {
3368
3531
  test: "root",
3532
+ display: "flex",
3533
+ flexDirection: "row",
3534
+ alignItems: "center",
3535
+ justifyContent: "space-between",
3536
+ gap: "12px",
3537
+ whiteSpace: "nowrap",
3538
+ "& .M4LPager-pagerActions": {
3539
+ display: "flex",
3540
+ padding: "2px",
3541
+ justifyContent: "center",
3542
+ alignItems: "center",
3543
+ gap: "2px",
3544
+ width: "fit-content",
3545
+ background: o.palette.state.default,
3546
+ boxShadow: o.customShadows.z1,
3547
+ borderRadius: "4px",
3548
+ borderTop: "1.5px solid",
3549
+ borderColor: o.palette.state.borderTop,
3550
+ [o.breakpoints.down("sm")]: {
3551
+ gap: "4px",
3552
+ padding: "4px"
3553
+ },
3554
+ "& .M4LIconButton-root": {
3555
+ width: "20px",
3556
+ height: "20px",
3557
+ minWidth: "20px",
3558
+ minHeight: "20px",
3559
+ [o.breakpoints.down("sm")]: {
3560
+ width: "28px",
3561
+ height: "28px",
3562
+ minWidth: "28px",
3563
+ minHeight: "28px"
3564
+ }
3565
+ }
3566
+ },
3567
+ "& .M4LPager-labelRowsPerPageContainer": {
3568
+ display: "flex",
3569
+ flexDirection: "row",
3570
+ gap: "8px",
3571
+ justifyContent: "center",
3572
+ alignItems: "center"
3573
+ },
3574
+ "& .MuiInputBase-root": {
3575
+ padding: "4px 2px 4px 6px",
3576
+ borderRadius: "4px",
3577
+ background: o.palette.background.background,
3578
+ overflow: "hidden",
3579
+ minWidth: "fit-content",
3580
+ "& .MuiSvgIcon-root": {
3581
+ background: o.palette.state.default
3582
+ }
3583
+ },
3369
3584
  "& .M4LPager-skeletonRoot": {
3370
3585
  width: "100%",
3371
3586
  display: "flex",
@@ -3392,6 +3607,13 @@ const i = (o) => ({
3392
3607
  }
3393
3608
  }
3394
3609
  }
3610
+ },
3611
+ M4LPagerMenuPopover: {
3612
+ styleOverrides: {
3613
+ "&.M4LPager-selectMenuPopover": {
3614
+ test: "root"
3615
+ }
3616
+ }
3395
3617
  }
3396
3618
  }), W = (o) => ({
3397
3619
  M4LCheckBox: {
@@ -3455,31 +3677,31 @@ export {
3455
3677
  m as C,
3456
3678
  z as D,
3457
3679
  P as E,
3458
- F,
3459
- H as G,
3680
+ V as F,
3681
+ j as G,
3460
3682
  W as H,
3461
3683
  b as M,
3462
3684
  i as a,
3463
3685
  D as b,
3464
3686
  n as c,
3465
- p as d,
3466
- d as e,
3687
+ d,
3688
+ p as e,
3467
3689
  l as f,
3468
3690
  M as g,
3469
3691
  s as h,
3470
- V as i,
3692
+ F as i,
3471
3693
  c as j,
3472
3694
  O as k,
3473
3695
  u as l,
3474
3696
  x as m,
3475
3697
  g as n,
3476
3698
  y as o,
3477
- w as p,
3699
+ f as p,
3478
3700
  L as q,
3479
- f as r,
3480
- h as s,
3481
- v as t,
3482
- k as u,
3701
+ w as r,
3702
+ k as s,
3703
+ h as t,
3704
+ v as u,
3483
3705
  C as v,
3484
3706
  I as w,
3485
3707
  B as x,