@m4l/styles 0.0.28 → 0.0.30

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.a8de2e18.js} +5 -5
  4. package/theme/index.b0919dac.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 +203 -103
  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 +58 -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.e875a5e1.js} +234 -155
  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.cbe0dea7.js} +29 -27
  28. package/theme/{palette.b6e02e1c.js → palette.104051a7.js} +14 -14
  29. package/theme/{shadows.386e7ef4.js → shadows.b036a684.js} +1 -1
  30. package/theme/{typography.006a6c85.js → typography.7591a12b.js} +4 -4
  31. package/types/augmentations.d.ts +4 -0
  32. package/utils/{getColorPresets.241c5bac.js → getColorPresets.2693301f.js} +1 -1
  33. package/utils/{getColorState.f10d3d33.js → getColorState.32c050bf.js} +52 -28
  34. package/utils/getColorState.d.ts +2 -0
  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
  }
@@ -2138,6 +2135,14 @@ const i = (o) => ({
2138
2135
  "&.M4LAreasViewer-root": {
2139
2136
  test: "root",
2140
2137
  background: o.palette.background.background,
2138
+ "& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-40 .M4LAreasViewer-windowHeader": {
2139
+ minHeight: "36px",
2140
+ height: "36px"
2141
+ },
2142
+ "& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-48 .M4LAreasViewer-windowHeader": {
2143
+ minHeight: "44px",
2144
+ height: "44px"
2145
+ },
2141
2146
  "& .M4LAreasViewer-areaGridLayout": {
2142
2147
  "& .M4LAreasViewer-resizeHandle": {
2143
2148
  test: "test",
@@ -2150,7 +2155,7 @@ const i = (o) => ({
2150
2155
  background: o.palette.background.background,
2151
2156
  border: "2px solid",
2152
2157
  borderColor: o.palette.state.overdefoult,
2153
- boxShadow: o.customShadows.z2,
2158
+ boxShadow: "unset",
2154
2159
  borderRadius: "4px",
2155
2160
  display: "flex",
2156
2161
  "&:not(.M4LAreasViewer-loading)": {
@@ -2169,18 +2174,20 @@ const i = (o) => ({
2169
2174
  display: "flex",
2170
2175
  flexDirection: "column",
2171
2176
  width: "100%",
2172
- height: "100%"
2177
+ height: "100%",
2178
+ overflow: "hidden"
2173
2179
  },
2174
2180
  "& .M4LAreasViewer-windowHeader": {
2175
2181
  display: "flex",
2176
2182
  flexDirection: "column",
2177
- background: o.palette.state.default,
2183
+ background: o.palette.background.neutral,
2178
2184
  padding: "4px 4px 4px 8px",
2179
- height: "36px",
2180
- minHeight: "36px",
2181
- borderRadius: "4px",
2182
2185
  border: "none",
2183
2186
  boxShadow: o.customShadows.z1,
2187
+ height: "36px",
2188
+ [o.breakpoints.down("sm")]: {
2189
+ height: "44px"
2190
+ },
2184
2191
  "& .M4LAreasViewer-windowHeaderContent": {
2185
2192
  display: "flex",
2186
2193
  width: "100%",
@@ -2189,9 +2196,10 @@ const i = (o) => ({
2189
2196
  "& .M4LAreasViewer-windowHeaderTitle": {
2190
2197
  display: "flex",
2191
2198
  alignItems: "center",
2192
- overflow: "auto",
2199
+ overflow: "hidden",
2193
2200
  width: "100%",
2194
2201
  padding: "0 12px",
2202
+ height: "100%",
2195
2203
  "& .MuiTypography-root": {
2196
2204
  whiteSpace: "nowrap",
2197
2205
  overflow: "hidden",
@@ -2252,7 +2260,7 @@ const i = (o) => ({
2252
2260
  width: "100%",
2253
2261
  top: "0px",
2254
2262
  left: "0px",
2255
- background: o.palette.state.skeleton.default,
2263
+ background: o.palette.state.active12,
2256
2264
  "& .MuiLinearProgress-bar1Determinate .MuiLinearProgress-barColorPrimary": {
2257
2265
  transform: "translateX(100%)"
2258
2266
  }
@@ -2338,11 +2346,24 @@ const i = (o) => ({
2338
2346
  justifyContent: "center",
2339
2347
  width: "100%",
2340
2348
  flex: "1",
2341
- overflow: "hidden"
2349
+ overflow: "hidden",
2350
+ [o.breakpoints.up("sm")]: {
2351
+ padding: "4px"
2352
+ },
2353
+ "& .M4LAreasViewer-containerLinearProgress": {
2354
+ width: "100%",
2355
+ height: "100%",
2356
+ display: "flex",
2357
+ alignItems: "center",
2358
+ padding: "0 16px",
2359
+ "& .MuiLinearProgress-root": {
2360
+ background: t(o.palette.state.active, 0.3)
2361
+ }
2362
+ }
2342
2363
  },
2343
2364
  "&.M4LAreasViewer-selectedWindow": {
2344
2365
  border: "2px solid",
2345
- borderColor: o.palette.state.active,
2366
+ borderColor: t(o.palette.state.active, 0.5),
2346
2367
  boxShadow: o.customShadows.primary,
2347
2368
  backdropFilter: "blur(100px)",
2348
2369
  "& .M4LAreasViewer-windowHeader": {
@@ -2354,10 +2375,8 @@ const i = (o) => ({
2354
2375
  position: "relative",
2355
2376
  padding: "4px 4px 4px 8px",
2356
2377
  justifyContent: "end",
2357
- minHeight: "36px",
2358
2378
  overflow: "hidden",
2359
2379
  cursor: "move",
2360
- height: "36px",
2361
2380
  "& .M4LTypography-root .MuiTypography-root": {
2362
2381
  ...o.typography.paragraphDens
2363
2382
  },
@@ -2384,8 +2403,10 @@ const i = (o) => ({
2384
2403
  padding: "4px 0 0 0"
2385
2404
  },
2386
2405
  "& .M4LAreasViewer-selectedWindow": {
2387
- borderColor: o.palette.state.active12,
2388
- boxShadow: o.customShadows.z2
2406
+ borderColor: "transparent",
2407
+ boxShadow: "unset",
2408
+ padding: "0px",
2409
+ border: "unset"
2389
2410
  }
2390
2411
  },
2391
2412
  "&. M4LGridLayout-colapsed ": {
@@ -2421,8 +2442,6 @@ const i = (o) => ({
2421
2442
  background: o.palette.background.neutral,
2422
2443
  borderRadius: "4px",
2423
2444
  "& .M4LAreasViewer-windowHeader": {
2424
- height: "28px",
2425
- minHeight: "28px",
2426
2445
  boxShadow: "none",
2427
2446
  background: o.palette.state.default,
2428
2447
  "& .M4LIcon-root": {
@@ -2435,7 +2454,7 @@ const i = (o) => ({
2435
2454
  }
2436
2455
  },
2437
2456
  "& .M4LTypography-root .MuiTypography-root": {
2438
- ...o.typography.body,
2457
+ ...o.typography.paragraph,
2439
2458
  color: o.palette.text.secondary,
2440
2459
  overflow: "visible"
2441
2460
  }
@@ -2462,7 +2481,6 @@ const i = (o) => ({
2462
2481
  "& .M4LAreasViewer-windowRootContainer": {
2463
2482
  "& .M4LAreasViewer-windowHeader": {
2464
2483
  background: o.palette.state.default,
2465
- height: "28px",
2466
2484
  borderRadius: "4px",
2467
2485
  boxShadow: o.customShadows.z1,
2468
2486
  "& .M4LIcon-root": {
@@ -2471,7 +2489,7 @@ const i = (o) => ({
2471
2489
  }
2472
2490
  },
2473
2491
  "& .M4LTypography-root .MuiTypography-root": {
2474
- ...o.typography.body,
2492
+ ...o.typography.paragraph,
2475
2493
  color: o.palette.text.primary,
2476
2494
  overflow: "visible"
2477
2495
  }
@@ -2481,15 +2499,17 @@ const i = (o) => ({
2481
2499
  },
2482
2500
  "&.M4LAreasViewer-selectedWindow": {
2483
2501
  border: "2px solid",
2484
- borderColor: o.palette.state.active,
2502
+ borderColor: t(o.palette.state.active, 0.5),
2485
2503
  background: o.palette.state.active12,
2486
2504
  boxShadow: o.customShadows.z3,
2487
2505
  padding: "6px",
2506
+ [o.breakpoints.down("sm")]: {
2507
+ padding: "0"
2508
+ },
2488
2509
  "& .M4LAreasViewer-windowRootContainer": {
2489
2510
  boxShadow: o.customShadows.z2,
2490
2511
  "& .M4LAreasViewer-windowHeader": {
2491
2512
  background: o.palette.state.skeleton,
2492
- height: "28px",
2493
2513
  borderRadius: "4px",
2494
2514
  boxShadow: o.customShadows.z1,
2495
2515
  "& .M4LIcon-root": {
@@ -2498,7 +2518,7 @@ const i = (o) => ({
2498
2518
  }
2499
2519
  },
2500
2520
  "& .M4LTypography-root .MuiTypography-root": {
2501
- ...o.typography.body,
2521
+ ...o.typography.paragraphDens,
2502
2522
  color: o.palette.text.primary,
2503
2523
  overflow: "visible"
2504
2524
  }
@@ -2598,6 +2618,20 @@ const i = (o) => ({
2598
2618
  boxShadow: o.customShadows.z4,
2599
2619
  background: o.palette.background.background
2600
2620
  },
2621
+ "& .M4LAreasViewer-windowHeaderTitle": {
2622
+ display: "flex",
2623
+ alignItems: "center",
2624
+ overflow: "auto",
2625
+ width: "100%",
2626
+ padding: "0 12px",
2627
+ height: "100%",
2628
+ "& .MuiTypography-root": {
2629
+ whiteSpace: "nowrap",
2630
+ overflow: "hidden",
2631
+ textOverflow: "ellipsis",
2632
+ width: "100%"
2633
+ }
2634
+ },
2601
2635
  "& .M4LAreasViewer-areasLoadingErrorRoot": {
2602
2636
  display: "flex",
2603
2637
  flexDirection: "column",
@@ -2653,7 +2687,7 @@ const i = (o) => ({
2653
2687
  }
2654
2688
  },
2655
2689
  "& .MuiBackdrop-root": {
2656
- background: r(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
2690
+ background: t(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
2657
2691
  },
2658
2692
  "&:not(.M4LAreasViewer-loading)": {
2659
2693
  "& .M4LinearProgressIndeterminate-root": {
@@ -2670,19 +2704,18 @@ const i = (o) => ({
2670
2704
  background: o.palette.background.background,
2671
2705
  borderRadius: "4px",
2672
2706
  boxShadow: o.customShadows.z4,
2707
+ overflow: "hidden",
2673
2708
  "& .M4LAreasViewer-windowHeader": {
2674
2709
  cursor: "all-scroll",
2675
2710
  display: "flex",
2676
2711
  flexDirection: "column",
2677
2712
  padding: "4px 4px 4px 8px",
2678
- height: "36px",
2679
- minHeight: "36px",
2680
2713
  borderRadius: "4px",
2681
2714
  border: "none",
2682
2715
  "& .M4LTypography-root .MuiTypography-root": {
2683
2716
  ...o.typography.paragraph,
2684
2717
  color: o.palette.text.primary,
2685
- overflow: "visible"
2718
+ overflow: "hidden"
2686
2719
  },
2687
2720
  "& .M4LAreasViewer-windowHeaderContent": {
2688
2721
  display: "flex",
@@ -2727,8 +2760,9 @@ const i = (o) => ({
2727
2760
  height: "52px",
2728
2761
  alignItems: "center",
2729
2762
  padding: "4px",
2730
- borderColor: o.palette.state.borderTop,
2731
2763
  background: o.palette.background.neutral,
2764
+ borderBottom: "1px solid",
2765
+ borderColor: o.palette.state.overdefoult,
2732
2766
  justifyContent: "space-between",
2733
2767
  [o.breakpoints.down("sm")]: {
2734
2768
  width: "100%",
@@ -2981,7 +3015,6 @@ const i = (o) => ({
2981
3015
  display: "flex",
2982
3016
  width: "100%",
2983
3017
  height: "100%",
2984
- boxShadow: o.customShadows.z1,
2985
3018
  borderRadius: "6px"
2986
3019
  }
2987
3020
  }
@@ -3076,8 +3109,7 @@ const i = (o) => ({
3076
3109
  "& .splitter-layout > .layout-splitter:hover": {
3077
3110
  borderRadius: "2px",
3078
3111
  borderLeft: "2px",
3079
- borderRight: "2px",
3080
- background: o.palette.action.hover
3112
+ borderRight: "2px"
3081
3113
  },
3082
3114
  "& .splitter-layout.splitter-layout-vertical.layout-changing": {
3083
3115
  cursor: "row-resize"
@@ -3123,11 +3155,6 @@ const i = (o) => ({
3123
3155
  position: "absolute",
3124
3156
  background: o.palette.state.overdefoult
3125
3157
  }
3126
- },
3127
- "& .splitter-layout.splitter-layout-vertical > .layout-splitter:hover": {
3128
- borderTop: "2px",
3129
- borderBottom: "2px",
3130
- background: o.palette.action.hover
3131
3158
  }
3132
3159
  }
3133
3160
  }
@@ -3203,7 +3230,10 @@ const i = (o) => ({
3203
3230
  M4LPropertyValue: {
3204
3231
  styleOverrides: {
3205
3232
  "&.M4LPropertyValue-root": {
3206
- test: "root"
3233
+ test: "root",
3234
+ "&:hover": {
3235
+ backgroundColor: o.palette.state?.default
3236
+ }
3207
3237
  }
3208
3238
  }
3209
3239
  }
@@ -3212,10 +3242,8 @@ const i = (o) => ({
3212
3242
  styleOverrides: {
3213
3243
  "&.M4LTab-root": {
3214
3244
  width: "fit-content",
3215
- borderRadius: "4px",
3216
3245
  "& .MuiButtonBase-root": {
3217
3246
  height: "36px",
3218
- borderRadius: "4px",
3219
3247
  display: "flex",
3220
3248
  flexDirection: "row",
3221
3249
  alignItems: "center",
@@ -3225,14 +3253,14 @@ const i = (o) => ({
3225
3253
  minWidth: "fit-content",
3226
3254
  gap: "8px",
3227
3255
  ...o.typography.body,
3228
- color: o.palette.text.secondary,
3256
+ color: o.palette.text.primary,
3229
3257
  lineHeight: "none",
3258
+ borderRadius: "4px 4px 0 0",
3230
3259
  "& .M4LIcon-root": {
3231
3260
  marginBottom: "0"
3232
3261
  }
3233
3262
  },
3234
3263
  "& .MuiButtonBase-root:hover": {
3235
- background: o.palette.state.default,
3236
3264
  color: o.palette.state.hover,
3237
3265
  "& .M4LIcon-icon": {
3238
3266
  backgroundColor: o.palette.state.hover
@@ -3240,8 +3268,7 @@ const i = (o) => ({
3240
3268
  },
3241
3269
  "& .Mui-selected": {
3242
3270
  background: o.palette.background.default,
3243
- border: "1px solid",
3244
- borderColor: o.palette.state.active12,
3271
+ border: "0px",
3245
3272
  ...o.typography.bodyDens,
3246
3273
  color: o.palette.text.primary,
3247
3274
  lineHeight: "none",
@@ -3250,7 +3277,7 @@ const i = (o) => ({
3250
3277
  width: "95%",
3251
3278
  height: "2px",
3252
3279
  left: "1.5px",
3253
- bottom: "0px",
3280
+ top: "0px",
3254
3281
  backgroundColor: o.palette.state.active,
3255
3282
  borderRadius: "2px 2px 0px 0px",
3256
3283
  position: "absolute"
@@ -3280,6 +3307,10 @@ const i = (o) => ({
3280
3307
  },
3281
3308
  "& .MuiButtonBase-root": {
3282
3309
  padding: "4px 8px 4px 8px",
3310
+ borderRadius: "4px 4px 0px 0px",
3311
+ "&:hover": {
3312
+ background: o.palette.state.default
3313
+ },
3283
3314
  "&.MuiAccordionSummary-root.Mui-expanded": {
3284
3315
  background: o.palette.state.toneOp,
3285
3316
  "& .M4LTypography-root": {
@@ -3303,7 +3334,7 @@ const i = (o) => ({
3303
3334
  borderTop: "1px solid",
3304
3335
  borderColor: o.palette.state.default,
3305
3336
  borderRadius: "0px 0px 4px 4px",
3306
- padding: "0 8px",
3337
+ padding: "0",
3307
3338
  "& .M4LAccordion-content": {
3308
3339
  "& .M4LPropertyValue-root:last-of-type": {
3309
3340
  borderBottom: "unset"
@@ -3319,7 +3350,10 @@ const i = (o) => ({
3319
3350
  display: "flex",
3320
3351
  flexDirection: "column",
3321
3352
  width: "100%",
3322
- height: "auto"
3353
+ height: "auto",
3354
+ "& .M4LCommonActions-root": {
3355
+ padding: "16px 16px 8px 0px"
3356
+ }
3323
3357
  }
3324
3358
  }
3325
3359
  }
@@ -3485,28 +3519,31 @@ const i = (o) => ({
3485
3519
  styleOverrides: {
3486
3520
  "&.M4LModal-root": {
3487
3521
  test: "root",
3488
- "& .MuiPaper-root": {
3522
+ "& .MuiPaper-root.MuiDialog-paper": {
3489
3523
  display: "flex",
3490
3524
  flexDirection: "column",
3491
3525
  overflow: "hidden",
3492
3526
  borderRadius: "4px",
3493
3527
  margin: "0px",
3494
- background: "transparent",
3495
3528
  width: "auto",
3496
3529
  height: "auto",
3497
3530
  maxWidth: "unset",
3498
3531
  maxHeight: "unset",
3532
+ background: o.palette.state.active12,
3533
+ border: "2px solid",
3534
+ borderColor: o.palette.state.toneOp,
3535
+ boxShadow: o.customShadows.z3,
3499
3536
  [o.breakpoints.down("sm")]: {
3500
3537
  width: "100%",
3501
3538
  height: "100%",
3502
- maxHeight: "100%"
3539
+ maxHeight: "100%",
3540
+ borderColor: "transparent"
3503
3541
  },
3504
3542
  "& .M4LModal-windowBaseRoot": {
3505
3543
  display: "flex",
3506
3544
  flexDirection: "column",
3507
3545
  width: "100%",
3508
- height: "100%",
3509
- padding: "6px"
3546
+ height: "100%"
3510
3547
  },
3511
3548
  "& .M4LModal-containerWindow": {
3512
3549
  display: "flex",
@@ -3516,20 +3553,18 @@ const i = (o) => ({
3516
3553
  height: "100%",
3517
3554
  overflow: "hidden",
3518
3555
  width: "100%",
3519
- gap: "24px",
3520
3556
  background: o.palette.background.background,
3521
3557
  boxShadow: o.customShadows.z3,
3522
3558
  borderRadius: "4px",
3523
3559
  "& .M4LCommonActions-root": {
3524
- padding: "12px 12px 12px 0px",
3560
+ padding: "16px 0 8px 0px",
3525
3561
  margin: "0px",
3526
3562
  width: "100%",
3527
3563
  height: "fit-content",
3528
3564
  display: "flex",
3529
3565
  flexDirection: "row",
3530
3566
  justifyContent: "flex-end",
3531
- gap: "12px",
3532
- background: o.palette.background.neutral
3567
+ gap: "12px"
3533
3568
  },
3534
3569
  "& .M4LModal-containerMassageIlustration": {
3535
3570
  display: "flex",
@@ -3539,6 +3574,7 @@ const i = (o) => ({
3539
3574
  height: "100%",
3540
3575
  width: "100%",
3541
3576
  padding: "24px 12px 0px 12px",
3577
+ background: o.palette.background.neutral,
3542
3578
  "& .M4LModal-modalContent": {
3543
3579
  display: "flex",
3544
3580
  flexDirection: "column",
@@ -3560,7 +3596,7 @@ const i = (o) => ({
3560
3596
  },
3561
3597
  "& .M4LModal-messageContainer": {
3562
3598
  ...o.typography.body,
3563
- color: o.palette.text.primary,
3599
+ color: o.palette.text.secondary,
3564
3600
  textAlign: "center"
3565
3601
  }
3566
3602
  }
@@ -3570,21 +3606,34 @@ const i = (o) => ({
3570
3606
  alignItems: "center",
3571
3607
  justifyContent: "space-between",
3572
3608
  minHeight: "36px",
3573
- borderBottom: `1px solid ${o.palette.divider}`,
3609
+ padding: "6px 4px 6px 8px",
3610
+ gap: "8px",
3611
+ cursor: "move",
3574
3612
  "& .M4LModal-iconHeader": {
3575
3613
  display: "flex",
3576
3614
  alignItems: "center",
3577
- justifyContent: "center",
3578
- marginRight: o.spacing(1.5)
3615
+ justifyContent: "center"
3579
3616
  },
3580
3617
  "& .M4LModal-titleHeader": {
3581
- ...o.typography.subtitle1,
3618
+ ...o.typography.paragraphDens,
3582
3619
  width: "100%",
3583
3620
  whiteSpace: "nowrap",
3584
3621
  textOverflow: "ellipsis",
3585
3622
  overflow: "hidden"
3586
3623
  },
3587
3624
  "& .M4LModal-iconCloseHeader": {}
3625
+ },
3626
+ "& .M4LModal-windowContent": {
3627
+ padding: "0 8px",
3628
+ width: "100%",
3629
+ height: "100%",
3630
+ display: "flex",
3631
+ flexDirection: "column",
3632
+ flex: "1",
3633
+ overflow: "hidden",
3634
+ [o.breakpoints.down("sm")]: {
3635
+ padding: "0 8px 8px 8px"
3636
+ }
3588
3637
  }
3589
3638
  },
3590
3639
  "& .react-resizable": {
@@ -3592,11 +3641,6 @@ const i = (o) => ({
3592
3641
  flexDirection: "column",
3593
3642
  justifyContent: "center",
3594
3643
  alignItems: "center",
3595
- "& .custom-handle-nw": {
3596
- position: "absolute",
3597
- top: "0",
3598
- left: "0"
3599
- },
3600
3644
  "& .M4LIcon-root": {
3601
3645
  "& .M4LIcon-icon": {
3602
3646
  background: o.palette.text.secondary,
@@ -3677,7 +3721,7 @@ const i = (o) => ({
3677
3721
  }
3678
3722
  }
3679
3723
  }
3680
- }), O = (o) => ({
3724
+ }), V = (o) => ({
3681
3725
  M4LBadge: {
3682
3726
  styleOverrides: {
3683
3727
  "&.M4LBadge-root": {
@@ -3690,23 +3734,25 @@ const i = (o) => ({
3690
3734
  fontWeight: "450",
3691
3735
  fontSize: "8pt",
3692
3736
  minWidth: "16px",
3737
+ width: "16px",
3693
3738
  lineHeight: "1px",
3694
3739
  textAlign: "center",
3695
3740
  backgroundColor: o.palette.state.active,
3696
3741
  height: "16px",
3697
3742
  top: "14%",
3698
- right: "16%"
3743
+ right: "16%",
3744
+ color: o.palette.patronus?.marbleLight[10]
3699
3745
  }
3700
3746
  }
3701
3747
  }
3702
3748
  }
3703
3749
  }
3704
- }), V = (o) => ({
3750
+ }), O = (o) => ({
3705
3751
  M4LDataGrid: {
3706
3752
  styleOverrides: {
3707
3753
  "&.M4LDataGrid-root": {
3708
3754
  background: o.palette.background.default,
3709
- boxShadow: o.customShadows.z2,
3755
+ boxShadow: "unset",
3710
3756
  borderRadius: "4px",
3711
3757
  display: "flex",
3712
3758
  position: "relative",
@@ -3764,6 +3810,9 @@ const i = (o) => ({
3764
3810
  "& .M4LDataGrid-actionFilter": {},
3765
3811
  "& .M4LDataGrid-actionSettings": {}
3766
3812
  },
3813
+ "& .M4LDataGrid-tableContaniner:not(.M4LDataGrid-withActions)": {
3814
+ top: "0!important"
3815
+ },
3767
3816
  "& .M4LDataGrid-tableContaniner": {
3768
3817
  display: "flex",
3769
3818
  flexDirection: "column",
@@ -3802,29 +3851,16 @@ const i = (o) => ({
3802
3851
  "--rdg-selection-color": o.palette.state.active,
3803
3852
  "--row-selected-hover-background-color": (o.palette.mode === "light", o.palette.state.toneOp),
3804
3853
  "--rdg-checkbox-color": o.palette.primary.main,
3805
- "--rdg-checkbox-focus-color": t(
3854
+ "--rdg-checkbox-focus-color": r(
3806
3855
  o.palette.primary.main,
3807
3856
  o.palette.action.selectedOpacity
3808
3857
  ),
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"
3858
+ "--rdg-border-color": "none",
3859
+ "&:last-child .rdg-cell": {
3860
+ borderBottom: "1px solid !important",
3861
+ borderColor: `${o.palette.background.background}!important`,
3862
+ test: "bruce"
3863
+ }
3828
3864
  },
3829
3865
  '& [role="columnheader"]': {
3830
3866
  justifyContent: "center",
@@ -3844,19 +3880,18 @@ const i = (o) => ({
3844
3880
  },
3845
3881
  "&:hover": {
3846
3882
  "& .rdg-cell": {
3847
- backgroundColor: `${o.palette.state.toneOp}!important`
3883
+ backgroundColor: `${o.palette.state.gridHover}!important`,
3884
+ transition: "background-color 0.1s linear"
3848
3885
  }
3849
3886
  },
3850
3887
  backgroundColor: "transparent"
3851
3888
  },
3852
3889
  "& .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,
3890
+ transition: "background-color 0.1s linear",
3857
3891
  borderBottom: "0px solid transparent",
3858
3892
  borderRight: "0.5px solid transparent",
3859
3893
  borderColor: o.palette.background.background,
3894
+ color: o.palette.text.secondary,
3860
3895
  display: "inline",
3861
3896
  justifyContent: "center",
3862
3897
  alignItems: "center",
@@ -3865,7 +3900,8 @@ const i = (o) => ({
3865
3900
  "&.rdg-cell-frozen": {
3866
3901
  display: "flex",
3867
3902
  justifyContent: "center",
3868
- alignItems: "center"
3903
+ alignItems: "center",
3904
+ boxShadow: "unset"
3869
3905
  },
3870
3906
  "&:after": {
3871
3907
  content: '""',
@@ -3878,6 +3914,14 @@ const i = (o) => ({
3878
3914
  height: "100%"
3879
3915
  }
3880
3916
  },
3917
+ '& .rdg-cell[role="gridcell"]': {
3918
+ ...o.typography.body,
3919
+ lineHeight: "var(--rdg-row-height)!important"
3920
+ },
3921
+ '& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
3922
+ ...o.typography.bodyDens,
3923
+ lineHeight: "var(--rdg-row-height)!important"
3924
+ },
3881
3925
  "& [aria-selected=true]": {
3882
3926
  backgroundColor: o.palette.state.toneOp,
3883
3927
  color: o.palette.text.primary
@@ -3889,14 +3933,14 @@ const i = (o) => ({
3889
3933
  alignItems: "center"
3890
3934
  },
3891
3935
  "& .rdg-cell.rdg-cell-align-center": {
3892
- textAlign: "center"
3936
+ textAlign: "center",
3937
+ display: "flex"
3893
3938
  },
3894
3939
  "& .rdg-cell.rdg-cell-align-right": {
3895
3940
  textAlign: "right"
3896
3941
  },
3897
3942
  "& .rdg-row .rdg-cell-frozen-last:after": {
3898
- borderRight: "0px solid transparent",
3899
- boxShadow: "none"
3943
+ borderRight: "0px solid transparent"
3900
3944
  },
3901
3945
  "& .rdg-row :last-child:after": {
3902
3946
  borderRight: "0px solid",
@@ -3941,7 +3985,8 @@ const i = (o) => ({
3941
3985
  "& .rdg-header-sort-cell": {
3942
3986
  width: "100%",
3943
3987
  flexGrow: "1",
3944
- alignItems: "center"
3988
+ alignItems: "center",
3989
+ color: o.palette.text.primary
3945
3990
  },
3946
3991
  '& [aria-columnsort="ASC"]': {
3947
3992
  borderTop: `2px solid ${o.palette.primary.main}`
@@ -4134,6 +4179,7 @@ const i = (o) => ({
4134
4179
  height: "auto",
4135
4180
  position: "relative",
4136
4181
  minHeight: "36px",
4182
+ borderRadius: "0px",
4137
4183
  "& .MuiTabs-scroller": {
4138
4184
  "& .MuiTabs-flexContainer": {
4139
4185
  padding: "0px",
@@ -4151,17 +4197,17 @@ const i = (o) => ({
4151
4197
  styleOverrides: {
4152
4198
  "&.M4LNoItemSelected-root": {
4153
4199
  width: "100%",
4154
- height: "100%",
4155
- maxWidth: "400px",
4156
- minWidth: "300px",
4200
+ height: "80%",
4201
+ maxWidth: "600px",
4202
+ minWidth: "200px",
4157
4203
  display: "flex",
4158
4204
  flexDirection: "column",
4159
4205
  alignItems: "center",
4160
4206
  justifyContent: "center",
4161
4207
  padding: "24px",
4162
4208
  "& .M4LImage-root": {
4163
- minHeight: "200px",
4164
- maxHeight: "200px"
4209
+ maxWidth: "300px",
4210
+ minWidth: "100px"
4165
4211
  }
4166
4212
  }
4167
4213
  }
@@ -4175,22 +4221,24 @@ const i = (o) => ({
4175
4221
  height: "100%",
4176
4222
  overflow: "hidden",
4177
4223
  minHeight: "inherit",
4224
+ "& .simplebar-scrollbar.simplebar-visible:before": {
4225
+ opacity: "1"
4226
+ },
4178
4227
  '& .simplebar-content-wrapper[style*="overflow: hidden scroll;"] .simplebar-content': {
4179
- marginRight: "14px"
4228
+ marginRight: "9px"
4180
4229
  },
4181
4230
  '& .simplebar-content-wrapper[style*="overflow: scroll hidden;"] .simplebar-content': {
4182
- marginBottom: "14px"
4231
+ marginBottom: "9px"
4183
4232
  },
4184
4233
  "& .ScrollbarsCustom-Content": {
4185
4234
  position: "relative"
4186
4235
  },
4187
4236
  "& .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before": {
4188
- background: o.palette.text.disabled,
4189
- borderRadius: "2px",
4190
- marginBottom: "40px"
4237
+ background: o.palette.state.scrollBar,
4238
+ borderRadius: "2px"
4191
4239
  },
4192
4240
  "& .simplebar-track.simplebar-vertical .simplebar-scrollbar:before": {
4193
- background: o.palette.text.disabled,
4241
+ background: o.palette.state.scrollBar,
4194
4242
  borderRadius: "2px"
4195
4243
  }
4196
4244
  }
@@ -4256,6 +4304,35 @@ const i = (o) => ({
4256
4304
  }
4257
4305
  }
4258
4306
  }
4307
+ }), Y = (o) => ({
4308
+ M4LTabContent: {
4309
+ styleOverrides: {
4310
+ "&.M4LTabContent-root": {
4311
+ padding: "4px",
4312
+ display: "flex",
4313
+ overflow: "hidden",
4314
+ height: "100%",
4315
+ flexDirection: "column",
4316
+ gap: "4px",
4317
+ background: o.palette.background.default,
4318
+ borderRadius: "0 0 4px 4px",
4319
+ position: "relative"
4320
+ }
4321
+ }
4322
+ }
4323
+ }), q = (o) => ({
4324
+ M4LMenuActions: {
4325
+ styleOverrides: {
4326
+ "&.M4LMenuActions-root": {
4327
+ "& .M4LMenuActions-itemDelete": {
4328
+ color: o.palette.state.error.normal,
4329
+ "& .M4LIcon-root .M4LIcon-icon": {
4330
+ backgroundColor: o.palette.state.error.normal
4331
+ }
4332
+ }
4333
+ }
4334
+ }
4335
+ }
4259
4336
  });
4260
4337
  export {
4261
4338
  R as A,
@@ -4275,6 +4352,8 @@ export {
4275
4352
  N as O,
4276
4353
  U as P,
4277
4354
  X as Q,
4355
+ Y as R,
4356
+ q as S,
4278
4357
  i as a,
4279
4358
  T as b,
4280
4359
  n as c,
@@ -4283,9 +4362,9 @@ export {
4283
4362
  l as f,
4284
4363
  M as g,
4285
4364
  s as h,
4286
- O as i,
4365
+ V as i,
4287
4366
  c as j,
4288
- V as k,
4367
+ O as k,
4289
4368
  u as l,
4290
4369
  g as m,
4291
4370
  x as n,