@m4l/styles 0.0.28 → 0.0.29

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 (35) hide show
  1. package/index.js +9 -9
  2. package/package.json +1 -1
  3. package/theme/{defaultThemeOptions.e09f6ae8.js → defaultThemeOptions.b3a908dd.js} +5 -5
  4. package/theme/index.30213ab6.js +7 -0
  5. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +4 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -1
  7. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +922 -534
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +197 -100
  9. package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -0
  10. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +0 -1
  11. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +39 -50
  12. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +33 -56
  13. package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +15 -0
  14. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +48 -1655
  15. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +1 -2
  16. package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +2 -2
  17. package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +4 -1
  18. package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +3 -0
  19. package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +3 -1
  20. package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +0 -6
  21. package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -5
  22. package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +18 -0
  23. package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +1 -0
  24. package/theme/overrides/M4LExtendedComponents/{index.e4d90ec0.js → index.c76da8b1.js} +217 -148
  25. package/theme/overrides/MUIComponents/Badge.d.ts +2 -3
  26. package/theme/overrides/MUIComponents/{index.c5a85efa.js → index.f50cd1c7.js} +4 -5
  27. package/theme/overrides/{index.ab4ad05c.js → index.04787df9.js} +29 -27
  28. package/theme/{palette.b6e02e1c.js → palette.18138191.js} +7 -7
  29. package/theme/{shadows.386e7ef4.js → shadows.6e84fd80.js} +1 -1
  30. package/theme/{typography.006a6c85.js → typography.05534ee9.js} +4 -4
  31. package/types/augmentations.d.ts +4 -0
  32. package/utils/{getColorPresets.241c5bac.js → getColorPresets.60a0f2ca.js} +1 -1
  33. package/utils/getColorState.d.ts +2 -0
  34. package/utils/{getColorState.f10d3d33.js → getColorState.e6b609a7.js} +50 -26
  35. package/theme/index.e131f0b1.js +0 -7
@@ -1,5 +1,5 @@
1
- import { alpha as t } from "@mui/material/styles";
2
- import { alpha as r } from "@mui/system";
1
+ import { alpha as r } from "@mui/material/styles";
2
+ import { alpha as t } from "@mui/system";
3
3
  const i = (o) => ({
4
4
  M4LDynamicFilter: {
5
5
  styleOverrides: {
@@ -49,7 +49,6 @@ const i = (o) => ({
49
49
  width: "100%",
50
50
  alignItems: "center",
51
51
  maxWidth: "100%",
52
- borderRadius: "4px",
53
52
  [o.breakpoints.down("sm")]: {
54
53
  height: "100%",
55
54
  padding: "8px"
@@ -69,10 +68,6 @@ const i = (o) => ({
69
68
  alignItems: "center",
70
69
  borderTopRightRadius: "4px",
71
70
  borderBottomRightRadius: "4px",
72
- [o.breakpoints.down("sm")]: {
73
- gap: "8px",
74
- padding: "8px"
75
- },
76
71
  "& .M4LIconButton-root .M4LDynamicFilter-filterButton": {
77
72
  background: o.palette.state.focus
78
73
  }
@@ -87,17 +82,20 @@ const i = (o) => ({
87
82
  maxWidth: "135px",
88
83
  width: "100%",
89
84
  alignItems: "center",
90
- borderRadius: "4px",
85
+ borderTopLeftRadius: "4px",
86
+ borderBottomLeftRadius: "4px",
91
87
  "& > input": {
92
- border: "1px solid",
93
- borderColor: o.palette.state.overdefoult,
94
88
  background: "none",
95
89
  ...o.typography.body,
96
90
  color: o.palette.text.primary,
97
91
  padding: "0px 4px",
98
92
  width: "100%",
99
93
  height: "100%",
100
- borderRadius: "2px"
94
+ borderRadius: "2px",
95
+ border: "unset",
96
+ "&::placeholder": {
97
+ color: o.palette.text.secondary
98
+ }
101
99
  },
102
100
  "& input:focus-visible": {
103
101
  border: "1px solid",
@@ -118,8 +116,6 @@ const i = (o) => ({
118
116
  height: "30px",
119
117
  margin: "0px",
120
118
  padding: "0px 4px",
121
- borderRight: "1px solid",
122
- borderColor: o.palette.state.default,
123
119
  [o.breakpoints.down("sm")]: {
124
120
  height: "auto",
125
121
  padding: "4px"
@@ -139,7 +135,6 @@ const i = (o) => ({
139
135
  alignItems: "center",
140
136
  borderRadius: "4px",
141
137
  background: o.palette.state.default,
142
- boxShadow: o.customShadows.z1,
143
138
  color: o.palette.text.secondary,
144
139
  ...o.typography.body,
145
140
  border: "1px solid",
@@ -206,15 +201,14 @@ const i = (o) => ({
206
201
  minWidht: "220px",
207
202
  height: "fit-content",
208
203
  "& .M4LDynamicFilter-popoverFilterHeader": {
209
- background: o.palette.state.default,
204
+ background: o.palette.background.neutral,
210
205
  display: "flex",
211
206
  gap: "8px",
212
207
  padding: "6px 8px 6px 8px",
213
- borderRadius: "4px",
214
- boxShadow: o.customShadows.z1,
208
+ borderTopLeftRadius: "4px",
209
+ borderTopRightRadius: "4px",
210
+ boxShadow: "unset",
215
211
  borderBottom: "0px",
216
- borderTop: "1.5px solid",
217
- borderColor: o.palette.state.borderTop,
218
212
  "& .MuiTypography-root": {
219
213
  ...o.typography.bodyDens,
220
214
  color: o.palette.text.primary
@@ -608,8 +602,7 @@ const i = (o) => ({
608
602
  styleOverrides: {
609
603
  "&.M4LButton-root": {
610
604
  "&.M4LButton-colorError .MuiButtonBase-root": {
611
- backgroundColor: `${o.palette.state.error.normal}!important`,
612
- test: "bruce button"
605
+ backgroundColor: `${o.palette.state.error.normal}!important`
613
606
  },
614
607
  "&.M4LButton-colorWarning .MuiButtonBase-root": {
615
608
  backgroundColor: `${o.palette.state.warning.normal}!important`
@@ -1193,7 +1186,7 @@ const i = (o) => ({
1193
1186
  "& .M4LSideBar-navItemMainRoot": {
1194
1187
  background: o.palette.state.active12,
1195
1188
  "&:hover": {
1196
- background: t(o.palette.state.active || "#fff", 0.24),
1189
+ background: r(o.palette.state.active || "#fff", 0.24),
1197
1190
  cursor: "pointer"
1198
1191
  }
1199
1192
  },
@@ -1544,7 +1537,7 @@ const i = (o) => ({
1544
1537
  "& .M4LSideBar-navItemMainRoot": {
1545
1538
  background: o.palette.state.active12,
1546
1539
  "&:hover": {
1547
- background: t(o.palette.state.active || "#fff", 0.24),
1540
+ background: r(o.palette.state.active || "#fff", 0.24),
1548
1541
  cursor: "pointer"
1549
1542
  }
1550
1543
  },
@@ -1737,14 +1730,12 @@ const i = (o) => ({
1737
1730
  borderRadius: "6px",
1738
1731
  paddingRight: "6px",
1739
1732
  alignItems: "center",
1740
- background: o.palette.background.default,
1741
1733
  justifyContent: "space-between",
1742
1734
  width: "70%",
1743
1735
  maxWidth: "fit-content",
1744
1736
  gap: "8px",
1745
1737
  border: "1px solid",
1746
1738
  borderColor: "transparent",
1747
- boxShadow: o.customShadows.z1,
1748
1739
  [o.breakpoints.down("sm")]: {
1749
1740
  boxShadow: o.customShadows.z1,
1750
1741
  paddingRight: "0px",
@@ -1762,7 +1753,7 @@ const i = (o) => ({
1762
1753
  overflow: "auto",
1763
1754
  justifyContent: "center",
1764
1755
  alignItems: "center",
1765
- gap: "8px",
1756
+ gap: "4px",
1766
1757
  [o.breakpoints.down("sm")]: {
1767
1758
  gap: "0px",
1768
1759
  borderRadius: "4px"
@@ -1803,7 +1794,6 @@ const i = (o) => ({
1803
1794
  overflow: "auto",
1804
1795
  height: "36px",
1805
1796
  borderRight: "1px solid",
1806
- paddingLeft: "4px",
1807
1797
  borderColor: o.palette.state.overdefoult,
1808
1798
  [o.breakpoints.down("sm")]: {
1809
1799
  background: "none",
@@ -1849,6 +1839,17 @@ const i = (o) => ({
1849
1839
  width: "100%",
1850
1840
  background: "none"
1851
1841
  },
1842
+ "& .M4LAreasAdmin-areaContentChips": {
1843
+ display: "flex",
1844
+ width: "fit-content",
1845
+ height: "30px",
1846
+ alignItems: "center",
1847
+ gap: "4px",
1848
+ paddingRight: "4px",
1849
+ [o.breakpoints.down("sm")]: {
1850
+ height: "44px"
1851
+ }
1852
+ },
1852
1853
  "& .M4LAreasAdmin-areaChipMobileRoot": {
1853
1854
  width: "100%",
1854
1855
  "& .M4LAreasAdmin-areaChipRoot": {
@@ -1884,8 +1885,7 @@ const i = (o) => ({
1884
1885
  overflow: "auto",
1885
1886
  "& .simplebar-content": {
1886
1887
  width: "fit-content",
1887
- overflow: "auto",
1888
- gap: "4px"
1888
+ overflow: "auto"
1889
1889
  }
1890
1890
  }
1891
1891
  }
@@ -1977,17 +1977,14 @@ const i = (o) => ({
1977
1977
  },
1978
1978
  "& .M4LAreasAdmin-areaChipRoot ": {
1979
1979
  display: "flex",
1980
- boxShadow: o.customShadows.z1,
1980
+ background: o.palette.background.default,
1981
1981
  borderRadius: "4px 4px 4px 4px",
1982
1982
  marginRight: "8px",
1983
- height: "22px",
1983
+ minHeight: "26px",
1984
1984
  width: "fit-content",
1985
1985
  gap: "8px",
1986
1986
  paddingLeft: "8px",
1987
1987
  alignItems: "center",
1988
- border: "1px solid",
1989
- borderColor: o.palette.state.default,
1990
- background: o.palette.state.default,
1991
1988
  [o.breakpoints.down("sm")]: {
1992
1989
  background: "none",
1993
1990
  border: "none",
@@ -2076,15 +2073,7 @@ const i = (o) => ({
2076
2073
  borderRadius: "0px 4px 4px 0px",
2077
2074
  borderColor: o.palette.background.background
2078
2075
  },
2079
- "& .M4LAreasAdmin-areasAddButton": {
2080
- backgroundColor: `${o.palette.state.active}!important`,
2081
- "& .M4LIcon-icon": {
2082
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}`,
2083
- [o.breakpoints.down("sm")]: {
2084
- color: o.palette.text.primary
2085
- }
2086
- }
2087
- },
2076
+ "& .M4LAreasAdmin-areasAddButton": {},
2088
2077
  "&.M4LAreasAdmin-isMobile": {
2089
2078
  overflow: "hidden",
2090
2079
  boxShadow: o.customShadows.z1,
@@ -2104,7 +2093,15 @@ const i = (o) => ({
2104
2093
  styleOverrides: {
2105
2094
  "&.M4LAreasAdmin-areaEditPopover": {
2106
2095
  "& .MuiPaper-root": {
2107
- width: "200px"
2096
+ width: "200px",
2097
+ "& .M4LRHFormProvider-root": {
2098
+ "& .M4LRHFTextField-root": {
2099
+ paddingBottom: "4px"
2100
+ },
2101
+ "& .M4LCommonActions-root": {
2102
+ padding: "16px 0 8px 0px"
2103
+ }
2104
+ }
2108
2105
  }
2109
2106
  }
2110
2107
  }
@@ -2150,7 +2147,7 @@ const i = (o) => ({
2150
2147
  background: o.palette.background.background,
2151
2148
  border: "2px solid",
2152
2149
  borderColor: o.palette.state.overdefoult,
2153
- boxShadow: o.customShadows.z2,
2150
+ boxShadow: "unset",
2154
2151
  borderRadius: "4px",
2155
2152
  display: "flex",
2156
2153
  "&:not(.M4LAreasViewer-loading)": {
@@ -2169,18 +2166,22 @@ const i = (o) => ({
2169
2166
  display: "flex",
2170
2167
  flexDirection: "column",
2171
2168
  width: "100%",
2172
- height: "100%"
2169
+ height: "100%",
2170
+ overflow: "hidden"
2173
2171
  },
2174
2172
  "& .M4LAreasViewer-windowHeader": {
2175
2173
  display: "flex",
2176
2174
  flexDirection: "column",
2177
- background: o.palette.state.default,
2175
+ background: o.palette.background.neutral,
2178
2176
  padding: "4px 4px 4px 8px",
2179
2177
  height: "36px",
2180
2178
  minHeight: "36px",
2181
- borderRadius: "4px",
2182
2179
  border: "none",
2183
2180
  boxShadow: o.customShadows.z1,
2181
+ [o.breakpoints.down("sm")]: {
2182
+ height: "44px",
2183
+ minHeight: "44px"
2184
+ },
2184
2185
  "& .M4LAreasViewer-windowHeaderContent": {
2185
2186
  display: "flex",
2186
2187
  width: "100%",
@@ -2189,9 +2190,10 @@ const i = (o) => ({
2189
2190
  "& .M4LAreasViewer-windowHeaderTitle": {
2190
2191
  display: "flex",
2191
2192
  alignItems: "center",
2192
- overflow: "auto",
2193
+ overflow: "hidden",
2193
2194
  width: "100%",
2194
2195
  padding: "0 12px",
2196
+ height: "100%",
2195
2197
  "& .MuiTypography-root": {
2196
2198
  whiteSpace: "nowrap",
2197
2199
  overflow: "hidden",
@@ -2252,7 +2254,7 @@ const i = (o) => ({
2252
2254
  width: "100%",
2253
2255
  top: "0px",
2254
2256
  left: "0px",
2255
- background: o.palette.state.skeleton.default,
2257
+ background: o.palette.state.active12,
2256
2258
  "& .MuiLinearProgress-bar1Determinate .MuiLinearProgress-barColorPrimary": {
2257
2259
  transform: "translateX(100%)"
2258
2260
  }
@@ -2338,11 +2340,24 @@ const i = (o) => ({
2338
2340
  justifyContent: "center",
2339
2341
  width: "100%",
2340
2342
  flex: "1",
2341
- overflow: "hidden"
2343
+ overflow: "hidden",
2344
+ [o.breakpoints.up("sm")]: {
2345
+ padding: "4px"
2346
+ },
2347
+ "& .M4LAreasViewer-containerLinearProgress": {
2348
+ width: "100%",
2349
+ height: "100%",
2350
+ display: "flex",
2351
+ alignItems: "center",
2352
+ padding: "0 16px",
2353
+ "& .MuiLinearProgress-root": {
2354
+ background: t(o.palette.state.active, 0.3)
2355
+ }
2356
+ }
2342
2357
  },
2343
2358
  "&.M4LAreasViewer-selectedWindow": {
2344
2359
  border: "2px solid",
2345
- borderColor: o.palette.state.active,
2360
+ borderColor: t(o.palette.state.active, 0.5),
2346
2361
  boxShadow: o.customShadows.primary,
2347
2362
  backdropFilter: "blur(100px)",
2348
2363
  "& .M4LAreasViewer-windowHeader": {
@@ -2354,7 +2369,6 @@ const i = (o) => ({
2354
2369
  position: "relative",
2355
2370
  padding: "4px 4px 4px 8px",
2356
2371
  justifyContent: "end",
2357
- minHeight: "36px",
2358
2372
  overflow: "hidden",
2359
2373
  cursor: "move",
2360
2374
  height: "36px",
@@ -2384,8 +2398,10 @@ const i = (o) => ({
2384
2398
  padding: "4px 0 0 0"
2385
2399
  },
2386
2400
  "& .M4LAreasViewer-selectedWindow": {
2387
- borderColor: o.palette.state.active12,
2388
- boxShadow: o.customShadows.z2
2401
+ borderColor: "transparent",
2402
+ boxShadow: "unset",
2403
+ padding: "0px",
2404
+ border: "unset"
2389
2405
  }
2390
2406
  },
2391
2407
  "&. M4LGridLayout-colapsed ": {
@@ -2421,8 +2437,6 @@ const i = (o) => ({
2421
2437
  background: o.palette.background.neutral,
2422
2438
  borderRadius: "4px",
2423
2439
  "& .M4LAreasViewer-windowHeader": {
2424
- height: "28px",
2425
- minHeight: "28px",
2426
2440
  boxShadow: "none",
2427
2441
  background: o.palette.state.default,
2428
2442
  "& .M4LIcon-root": {
@@ -2435,7 +2449,7 @@ const i = (o) => ({
2435
2449
  }
2436
2450
  },
2437
2451
  "& .M4LTypography-root .MuiTypography-root": {
2438
- ...o.typography.body,
2452
+ ...o.typography.paragraph,
2439
2453
  color: o.palette.text.secondary,
2440
2454
  overflow: "visible"
2441
2455
  }
@@ -2462,7 +2476,6 @@ const i = (o) => ({
2462
2476
  "& .M4LAreasViewer-windowRootContainer": {
2463
2477
  "& .M4LAreasViewer-windowHeader": {
2464
2478
  background: o.palette.state.default,
2465
- height: "28px",
2466
2479
  borderRadius: "4px",
2467
2480
  boxShadow: o.customShadows.z1,
2468
2481
  "& .M4LIcon-root": {
@@ -2471,7 +2484,7 @@ const i = (o) => ({
2471
2484
  }
2472
2485
  },
2473
2486
  "& .M4LTypography-root .MuiTypography-root": {
2474
- ...o.typography.body,
2487
+ ...o.typography.paragraph,
2475
2488
  color: o.palette.text.primary,
2476
2489
  overflow: "visible"
2477
2490
  }
@@ -2481,15 +2494,17 @@ const i = (o) => ({
2481
2494
  },
2482
2495
  "&.M4LAreasViewer-selectedWindow": {
2483
2496
  border: "2px solid",
2484
- borderColor: o.palette.state.active,
2497
+ borderColor: t(o.palette.state.active, 0.5),
2485
2498
  background: o.palette.state.active12,
2486
2499
  boxShadow: o.customShadows.z3,
2487
2500
  padding: "6px",
2501
+ [o.breakpoints.down("sm")]: {
2502
+ padding: "0"
2503
+ },
2488
2504
  "& .M4LAreasViewer-windowRootContainer": {
2489
2505
  boxShadow: o.customShadows.z2,
2490
2506
  "& .M4LAreasViewer-windowHeader": {
2491
2507
  background: o.palette.state.skeleton,
2492
- height: "28px",
2493
2508
  borderRadius: "4px",
2494
2509
  boxShadow: o.customShadows.z1,
2495
2510
  "& .M4LIcon-root": {
@@ -2498,7 +2513,7 @@ const i = (o) => ({
2498
2513
  }
2499
2514
  },
2500
2515
  "& .M4LTypography-root .MuiTypography-root": {
2501
- ...o.typography.body,
2516
+ ...o.typography.paragraphDens,
2502
2517
  color: o.palette.text.primary,
2503
2518
  overflow: "visible"
2504
2519
  }
@@ -2598,6 +2613,20 @@ const i = (o) => ({
2598
2613
  boxShadow: o.customShadows.z4,
2599
2614
  background: o.palette.background.background
2600
2615
  },
2616
+ "& .M4LAreasViewer-windowHeaderTitle": {
2617
+ display: "flex",
2618
+ alignItems: "center",
2619
+ overflow: "auto",
2620
+ width: "100%",
2621
+ padding: "0 12px",
2622
+ height: "100%",
2623
+ "& .MuiTypography-root": {
2624
+ whiteSpace: "nowrap",
2625
+ overflow: "hidden",
2626
+ textOverflow: "ellipsis",
2627
+ width: "100%"
2628
+ }
2629
+ },
2601
2630
  "& .M4LAreasViewer-areasLoadingErrorRoot": {
2602
2631
  display: "flex",
2603
2632
  flexDirection: "column",
@@ -2653,7 +2682,7 @@ const i = (o) => ({
2653
2682
  }
2654
2683
  },
2655
2684
  "& .MuiBackdrop-root": {
2656
- background: r(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
2685
+ background: t(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
2657
2686
  },
2658
2687
  "&:not(.M4LAreasViewer-loading)": {
2659
2688
  "& .M4LinearProgressIndeterminate-root": {
@@ -2670,19 +2699,18 @@ const i = (o) => ({
2670
2699
  background: o.palette.background.background,
2671
2700
  borderRadius: "4px",
2672
2701
  boxShadow: o.customShadows.z4,
2702
+ overflow: "hidden",
2673
2703
  "& .M4LAreasViewer-windowHeader": {
2674
2704
  cursor: "all-scroll",
2675
2705
  display: "flex",
2676
2706
  flexDirection: "column",
2677
2707
  padding: "4px 4px 4px 8px",
2678
- height: "36px",
2679
- minHeight: "36px",
2680
2708
  borderRadius: "4px",
2681
2709
  border: "none",
2682
2710
  "& .M4LTypography-root .MuiTypography-root": {
2683
2711
  ...o.typography.paragraph,
2684
2712
  color: o.palette.text.primary,
2685
- overflow: "visible"
2713
+ overflow: "hidden"
2686
2714
  },
2687
2715
  "& .M4LAreasViewer-windowHeaderContent": {
2688
2716
  display: "flex",
@@ -2727,8 +2755,9 @@ const i = (o) => ({
2727
2755
  height: "52px",
2728
2756
  alignItems: "center",
2729
2757
  padding: "4px",
2730
- borderColor: o.palette.state.borderTop,
2731
2758
  background: o.palette.background.neutral,
2759
+ borderBottom: "1px solid",
2760
+ borderColor: o.palette.state.overdefoult,
2732
2761
  justifyContent: "space-between",
2733
2762
  [o.breakpoints.down("sm")]: {
2734
2763
  width: "100%",
@@ -2981,7 +3010,6 @@ const i = (o) => ({
2981
3010
  display: "flex",
2982
3011
  width: "100%",
2983
3012
  height: "100%",
2984
- boxShadow: o.customShadows.z1,
2985
3013
  borderRadius: "6px"
2986
3014
  }
2987
3015
  }
@@ -3076,8 +3104,7 @@ const i = (o) => ({
3076
3104
  "& .splitter-layout > .layout-splitter:hover": {
3077
3105
  borderRadius: "2px",
3078
3106
  borderLeft: "2px",
3079
- borderRight: "2px",
3080
- background: o.palette.action.hover
3107
+ borderRight: "2px"
3081
3108
  },
3082
3109
  "& .splitter-layout.splitter-layout-vertical.layout-changing": {
3083
3110
  cursor: "row-resize"
@@ -3123,11 +3150,6 @@ const i = (o) => ({
3123
3150
  position: "absolute",
3124
3151
  background: o.palette.state.overdefoult
3125
3152
  }
3126
- },
3127
- "& .splitter-layout.splitter-layout-vertical > .layout-splitter:hover": {
3128
- borderTop: "2px",
3129
- borderBottom: "2px",
3130
- background: o.palette.action.hover
3131
3153
  }
3132
3154
  }
3133
3155
  }
@@ -3203,7 +3225,10 @@ const i = (o) => ({
3203
3225
  M4LPropertyValue: {
3204
3226
  styleOverrides: {
3205
3227
  "&.M4LPropertyValue-root": {
3206
- test: "root"
3228
+ test: "root",
3229
+ "&:hover": {
3230
+ backgroundColor: o.palette.state?.default
3231
+ }
3207
3232
  }
3208
3233
  }
3209
3234
  }
@@ -3212,10 +3237,8 @@ const i = (o) => ({
3212
3237
  styleOverrides: {
3213
3238
  "&.M4LTab-root": {
3214
3239
  width: "fit-content",
3215
- borderRadius: "4px",
3216
3240
  "& .MuiButtonBase-root": {
3217
3241
  height: "36px",
3218
- borderRadius: "4px",
3219
3242
  display: "flex",
3220
3243
  flexDirection: "row",
3221
3244
  alignItems: "center",
@@ -3225,14 +3248,14 @@ const i = (o) => ({
3225
3248
  minWidth: "fit-content",
3226
3249
  gap: "8px",
3227
3250
  ...o.typography.body,
3228
- color: o.palette.text.secondary,
3251
+ color: o.palette.text.primary,
3229
3252
  lineHeight: "none",
3253
+ borderRadius: "4px 4px 0 0",
3230
3254
  "& .M4LIcon-root": {
3231
3255
  marginBottom: "0"
3232
3256
  }
3233
3257
  },
3234
3258
  "& .MuiButtonBase-root:hover": {
3235
- background: o.palette.state.default,
3236
3259
  color: o.palette.state.hover,
3237
3260
  "& .M4LIcon-icon": {
3238
3261
  backgroundColor: o.palette.state.hover
@@ -3240,8 +3263,7 @@ const i = (o) => ({
3240
3263
  },
3241
3264
  "& .Mui-selected": {
3242
3265
  background: o.palette.background.default,
3243
- border: "1px solid",
3244
- borderColor: o.palette.state.active12,
3266
+ border: "0px",
3245
3267
  ...o.typography.bodyDens,
3246
3268
  color: o.palette.text.primary,
3247
3269
  lineHeight: "none",
@@ -3250,7 +3272,7 @@ const i = (o) => ({
3250
3272
  width: "95%",
3251
3273
  height: "2px",
3252
3274
  left: "1.5px",
3253
- bottom: "0px",
3275
+ top: "0px",
3254
3276
  backgroundColor: o.palette.state.active,
3255
3277
  borderRadius: "2px 2px 0px 0px",
3256
3278
  position: "absolute"
@@ -3280,6 +3302,10 @@ const i = (o) => ({
3280
3302
  },
3281
3303
  "& .MuiButtonBase-root": {
3282
3304
  padding: "4px 8px 4px 8px",
3305
+ borderRadius: "4px 4px 0px 0px",
3306
+ "&:hover": {
3307
+ background: o.palette.state.default
3308
+ },
3283
3309
  "&.MuiAccordionSummary-root.Mui-expanded": {
3284
3310
  background: o.palette.state.toneOp,
3285
3311
  "& .M4LTypography-root": {
@@ -3303,7 +3329,7 @@ const i = (o) => ({
3303
3329
  borderTop: "1px solid",
3304
3330
  borderColor: o.palette.state.default,
3305
3331
  borderRadius: "0px 0px 4px 4px",
3306
- padding: "0 8px",
3332
+ padding: "0",
3307
3333
  "& .M4LAccordion-content": {
3308
3334
  "& .M4LPropertyValue-root:last-of-type": {
3309
3335
  borderBottom: "unset"
@@ -3319,7 +3345,10 @@ const i = (o) => ({
3319
3345
  display: "flex",
3320
3346
  flexDirection: "column",
3321
3347
  width: "100%",
3322
- height: "auto"
3348
+ height: "auto",
3349
+ "& .M4LCommonActions-root": {
3350
+ padding: "16px 16px 8px 0px"
3351
+ }
3323
3352
  }
3324
3353
  }
3325
3354
  }
@@ -3485,28 +3514,31 @@ const i = (o) => ({
3485
3514
  styleOverrides: {
3486
3515
  "&.M4LModal-root": {
3487
3516
  test: "root",
3488
- "& .MuiPaper-root": {
3517
+ "& .MuiPaper-root.MuiDialog-paper": {
3489
3518
  display: "flex",
3490
3519
  flexDirection: "column",
3491
3520
  overflow: "hidden",
3492
3521
  borderRadius: "4px",
3493
3522
  margin: "0px",
3494
- background: "transparent",
3495
3523
  width: "auto",
3496
3524
  height: "auto",
3497
3525
  maxWidth: "unset",
3498
3526
  maxHeight: "unset",
3527
+ background: o.palette.state.active12,
3528
+ border: "2px solid",
3529
+ borderColor: o.palette.state.toneOp,
3530
+ boxShadow: o.customShadows.z3,
3499
3531
  [o.breakpoints.down("sm")]: {
3500
3532
  width: "100%",
3501
3533
  height: "100%",
3502
- maxHeight: "100%"
3534
+ maxHeight: "100%",
3535
+ borderColor: "transparent"
3503
3536
  },
3504
3537
  "& .M4LModal-windowBaseRoot": {
3505
3538
  display: "flex",
3506
3539
  flexDirection: "column",
3507
3540
  width: "100%",
3508
- height: "100%",
3509
- padding: "6px"
3541
+ height: "100%"
3510
3542
  },
3511
3543
  "& .M4LModal-containerWindow": {
3512
3544
  display: "flex",
@@ -3516,20 +3548,18 @@ const i = (o) => ({
3516
3548
  height: "100%",
3517
3549
  overflow: "hidden",
3518
3550
  width: "100%",
3519
- gap: "24px",
3520
3551
  background: o.palette.background.background,
3521
3552
  boxShadow: o.customShadows.z3,
3522
3553
  borderRadius: "4px",
3523
3554
  "& .M4LCommonActions-root": {
3524
- padding: "12px 12px 12px 0px",
3555
+ padding: "16px 0 8px 0px",
3525
3556
  margin: "0px",
3526
3557
  width: "100%",
3527
3558
  height: "fit-content",
3528
3559
  display: "flex",
3529
3560
  flexDirection: "row",
3530
3561
  justifyContent: "flex-end",
3531
- gap: "12px",
3532
- background: o.palette.background.neutral
3562
+ gap: "12px"
3533
3563
  },
3534
3564
  "& .M4LModal-containerMassageIlustration": {
3535
3565
  display: "flex",
@@ -3539,6 +3569,7 @@ const i = (o) => ({
3539
3569
  height: "100%",
3540
3570
  width: "100%",
3541
3571
  padding: "24px 12px 0px 12px",
3572
+ background: o.palette.background.neutral,
3542
3573
  "& .M4LModal-modalContent": {
3543
3574
  display: "flex",
3544
3575
  flexDirection: "column",
@@ -3560,7 +3591,7 @@ const i = (o) => ({
3560
3591
  },
3561
3592
  "& .M4LModal-messageContainer": {
3562
3593
  ...o.typography.body,
3563
- color: o.palette.text.primary,
3594
+ color: o.palette.text.secondary,
3564
3595
  textAlign: "center"
3565
3596
  }
3566
3597
  }
@@ -3570,21 +3601,29 @@ const i = (o) => ({
3570
3601
  alignItems: "center",
3571
3602
  justifyContent: "space-between",
3572
3603
  minHeight: "36px",
3573
- borderBottom: `1px solid ${o.palette.divider}`,
3604
+ padding: "6px 4px 6px 8px",
3605
+ gap: "8px",
3606
+ cursor: "move",
3574
3607
  "& .M4LModal-iconHeader": {
3575
3608
  display: "flex",
3576
3609
  alignItems: "center",
3577
- justifyContent: "center",
3578
- marginRight: o.spacing(1.5)
3610
+ justifyContent: "center"
3579
3611
  },
3580
3612
  "& .M4LModal-titleHeader": {
3581
- ...o.typography.subtitle1,
3613
+ ...o.typography.paragraphDens,
3582
3614
  width: "100%",
3583
3615
  whiteSpace: "nowrap",
3584
3616
  textOverflow: "ellipsis",
3585
3617
  overflow: "hidden"
3586
3618
  },
3587
3619
  "& .M4LModal-iconCloseHeader": {}
3620
+ },
3621
+ "& .M4LModal-windowContent": {
3622
+ padding: "0 8px",
3623
+ width: "100%",
3624
+ height: "100%",
3625
+ display: "flex",
3626
+ flexDirection: "column"
3588
3627
  }
3589
3628
  },
3590
3629
  "& .react-resizable": {
@@ -3592,11 +3631,6 @@ const i = (o) => ({
3592
3631
  flexDirection: "column",
3593
3632
  justifyContent: "center",
3594
3633
  alignItems: "center",
3595
- "& .custom-handle-nw": {
3596
- position: "absolute",
3597
- top: "0",
3598
- left: "0"
3599
- },
3600
3634
  "& .M4LIcon-root": {
3601
3635
  "& .M4LIcon-icon": {
3602
3636
  background: o.palette.text.secondary,
@@ -3690,12 +3724,14 @@ const i = (o) => ({
3690
3724
  fontWeight: "450",
3691
3725
  fontSize: "8pt",
3692
3726
  minWidth: "16px",
3727
+ width: "16px",
3693
3728
  lineHeight: "1px",
3694
3729
  textAlign: "center",
3695
3730
  backgroundColor: o.palette.state.active,
3696
3731
  height: "16px",
3697
3732
  top: "14%",
3698
- right: "16%"
3733
+ right: "16%",
3734
+ color: o.palette.patronus?.marbleLight[10]
3699
3735
  }
3700
3736
  }
3701
3737
  }
@@ -3706,7 +3742,7 @@ const i = (o) => ({
3706
3742
  styleOverrides: {
3707
3743
  "&.M4LDataGrid-root": {
3708
3744
  background: o.palette.background.default,
3709
- boxShadow: o.customShadows.z2,
3745
+ boxShadow: "unset",
3710
3746
  borderRadius: "4px",
3711
3747
  display: "flex",
3712
3748
  position: "relative",
@@ -3764,6 +3800,9 @@ const i = (o) => ({
3764
3800
  "& .M4LDataGrid-actionFilter": {},
3765
3801
  "& .M4LDataGrid-actionSettings": {}
3766
3802
  },
3803
+ "& .M4LDataGrid-tableContaniner:not(.M4LDataGrid-withActions)": {
3804
+ top: "0!important"
3805
+ },
3767
3806
  "& .M4LDataGrid-tableContaniner": {
3768
3807
  display: "flex",
3769
3808
  flexDirection: "column",
@@ -3802,29 +3841,16 @@ const i = (o) => ({
3802
3841
  "--rdg-selection-color": o.palette.state.active,
3803
3842
  "--row-selected-hover-background-color": (o.palette.mode === "light", o.palette.state.toneOp),
3804
3843
  "--rdg-checkbox-color": o.palette.primary.main,
3805
- "--rdg-checkbox-focus-color": t(
3844
+ "--rdg-checkbox-focus-color": r(
3806
3845
  o.palette.primary.main,
3807
3846
  o.palette.action.selectedOpacity
3808
3847
  ),
3809
- "--rdg-border-color": "none"
3810
- },
3811
- "& .rdg::-webkit-scrollbar": {
3812
- width: "6px",
3813
- height: "6px",
3814
- borderRadius: "3px",
3815
- backgroundColor: "transparent"
3816
- },
3817
- "& .rdg::-webkit-scrollbar-track": {
3818
- backgroundColor: "transparent",
3819
- border: "0px solid transparent"
3820
- },
3821
- "& .rdg::-webkit-scrollbar-corner": {
3822
- backgroundColor: "transparent"
3823
- },
3824
- "& ::-webkit-scrollbar-thumb": {
3825
- borderRadius: "10px",
3826
- backgroundColor: o.palette.divider,
3827
- border: "0px solid transparent"
3848
+ "--rdg-border-color": "none",
3849
+ "&:last-child .rdg-cell": {
3850
+ borderBottom: "1px solid !important",
3851
+ borderColor: `${o.palette.background.background}!important`,
3852
+ test: "bruce"
3853
+ }
3828
3854
  },
3829
3855
  '& [role="columnheader"]': {
3830
3856
  justifyContent: "center",
@@ -3844,19 +3870,18 @@ const i = (o) => ({
3844
3870
  },
3845
3871
  "&:hover": {
3846
3872
  "& .rdg-cell": {
3847
- backgroundColor: `${o.palette.state.toneOp}!important`
3873
+ backgroundColor: `${o.palette.state.gridHover}!important`,
3874
+ transition: "background-color 0.1s linear"
3848
3875
  }
3849
3876
  },
3850
3877
  backgroundColor: "transparent"
3851
3878
  },
3852
3879
  "& .rdg-cell": {
3853
- fontFamily: o.typography.body2.fontFamily,
3854
- fontWeight: o.typography.body2.fontWeight,
3855
- fontSize: o.typography.body2.fontSize,
3856
- color: o.palette.text.secondary,
3880
+ transition: "background-color 0.1s linear",
3857
3881
  borderBottom: "0px solid transparent",
3858
3882
  borderRight: "0.5px solid transparent",
3859
3883
  borderColor: o.palette.background.background,
3884
+ color: o.palette.text.secondary,
3860
3885
  display: "inline",
3861
3886
  justifyContent: "center",
3862
3887
  alignItems: "center",
@@ -3865,7 +3890,8 @@ const i = (o) => ({
3865
3890
  "&.rdg-cell-frozen": {
3866
3891
  display: "flex",
3867
3892
  justifyContent: "center",
3868
- alignItems: "center"
3893
+ alignItems: "center",
3894
+ boxShadow: "unset"
3869
3895
  },
3870
3896
  "&:after": {
3871
3897
  content: '""',
@@ -3878,6 +3904,14 @@ const i = (o) => ({
3878
3904
  height: "100%"
3879
3905
  }
3880
3906
  },
3907
+ '& .rdg-cell[role="gridcell"]': {
3908
+ ...o.typography.body,
3909
+ lineHeight: "var(--rdg-row-height)!important"
3910
+ },
3911
+ '& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
3912
+ ...o.typography.bodyDens,
3913
+ lineHeight: "var(--rdg-row-height)!important"
3914
+ },
3881
3915
  "& [aria-selected=true]": {
3882
3916
  backgroundColor: o.palette.state.toneOp,
3883
3917
  color: o.palette.text.primary
@@ -3889,14 +3923,14 @@ const i = (o) => ({
3889
3923
  alignItems: "center"
3890
3924
  },
3891
3925
  "& .rdg-cell.rdg-cell-align-center": {
3892
- textAlign: "center"
3926
+ textAlign: "center",
3927
+ display: "flex"
3893
3928
  },
3894
3929
  "& .rdg-cell.rdg-cell-align-right": {
3895
3930
  textAlign: "right"
3896
3931
  },
3897
3932
  "& .rdg-row .rdg-cell-frozen-last:after": {
3898
- borderRight: "0px solid transparent",
3899
- boxShadow: "none"
3933
+ borderRight: "0px solid transparent"
3900
3934
  },
3901
3935
  "& .rdg-row :last-child:after": {
3902
3936
  borderRight: "0px solid",
@@ -3941,7 +3975,8 @@ const i = (o) => ({
3941
3975
  "& .rdg-header-sort-cell": {
3942
3976
  width: "100%",
3943
3977
  flexGrow: "1",
3944
- alignItems: "center"
3978
+ alignItems: "center",
3979
+ color: o.palette.text.primary
3945
3980
  },
3946
3981
  '& [aria-columnsort="ASC"]': {
3947
3982
  borderTop: `2px solid ${o.palette.primary.main}`
@@ -4134,6 +4169,7 @@ const i = (o) => ({
4134
4169
  height: "auto",
4135
4170
  position: "relative",
4136
4171
  minHeight: "36px",
4172
+ borderRadius: "0px",
4137
4173
  "& .MuiTabs-scroller": {
4138
4174
  "& .MuiTabs-flexContainer": {
4139
4175
  padding: "0px",
@@ -4151,17 +4187,17 @@ const i = (o) => ({
4151
4187
  styleOverrides: {
4152
4188
  "&.M4LNoItemSelected-root": {
4153
4189
  width: "100%",
4154
- height: "100%",
4155
- maxWidth: "400px",
4156
- minWidth: "300px",
4190
+ height: "80%",
4191
+ maxWidth: "600px",
4192
+ minWidth: "200px",
4157
4193
  display: "flex",
4158
4194
  flexDirection: "column",
4159
4195
  alignItems: "center",
4160
4196
  justifyContent: "center",
4161
4197
  padding: "24px",
4162
4198
  "& .M4LImage-root": {
4163
- minHeight: "200px",
4164
- maxHeight: "200px"
4199
+ maxWidth: "300px",
4200
+ minWidth: "100px"
4165
4201
  }
4166
4202
  }
4167
4203
  }
@@ -4175,22 +4211,24 @@ const i = (o) => ({
4175
4211
  height: "100%",
4176
4212
  overflow: "hidden",
4177
4213
  minHeight: "inherit",
4214
+ "& .simplebar-scrollbar.simplebar-visible:before": {
4215
+ opacity: "1"
4216
+ },
4178
4217
  '& .simplebar-content-wrapper[style*="overflow: hidden scroll;"] .simplebar-content': {
4179
- marginRight: "14px"
4218
+ marginRight: "9px"
4180
4219
  },
4181
4220
  '& .simplebar-content-wrapper[style*="overflow: scroll hidden;"] .simplebar-content': {
4182
- marginBottom: "14px"
4221
+ marginBottom: "9px"
4183
4222
  },
4184
4223
  "& .ScrollbarsCustom-Content": {
4185
4224
  position: "relative"
4186
4225
  },
4187
4226
  "& .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before": {
4188
- background: o.palette.text.disabled,
4189
- borderRadius: "2px",
4190
- marginBottom: "40px"
4227
+ background: o.palette.state.scrollBar,
4228
+ borderRadius: "2px"
4191
4229
  },
4192
4230
  "& .simplebar-track.simplebar-vertical .simplebar-scrollbar:before": {
4193
- background: o.palette.text.disabled,
4231
+ background: o.palette.state.scrollBar,
4194
4232
  borderRadius: "2px"
4195
4233
  }
4196
4234
  }
@@ -4256,6 +4294,35 @@ const i = (o) => ({
4256
4294
  }
4257
4295
  }
4258
4296
  }
4297
+ }), Y = (o) => ({
4298
+ M4LTabContent: {
4299
+ styleOverrides: {
4300
+ "&.M4LTabContent-root": {
4301
+ padding: "4px",
4302
+ display: "flex",
4303
+ overflow: "hidden",
4304
+ height: "100%",
4305
+ flexDirection: "column",
4306
+ gap: "4px",
4307
+ background: o.palette.background.default,
4308
+ borderRadius: "0 0 4px 4px",
4309
+ position: "relative"
4310
+ }
4311
+ }
4312
+ }
4313
+ }), q = (o) => ({
4314
+ M4LMenuActions: {
4315
+ styleOverrides: {
4316
+ "&.M4LMenuActions-root": {
4317
+ "& .M4LMenuActions-itemDelete": {
4318
+ color: o.palette.state.error.normal,
4319
+ "& .M4LIcon-root .M4LIcon-icon": {
4320
+ backgroundColor: o.palette.state.error.normal
4321
+ }
4322
+ }
4323
+ }
4324
+ }
4325
+ }
4259
4326
  });
4260
4327
  export {
4261
4328
  R as A,
@@ -4275,6 +4342,8 @@ export {
4275
4342
  N as O,
4276
4343
  U as P,
4277
4344
  X as Q,
4345
+ Y as R,
4346
+ q as S,
4278
4347
  i as a,
4279
4348
  T as b,
4280
4349
  n as c,