@m4l/styles 0.0.43 → 0.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -3,7 +3,7 @@ import { d as g } from "./theme/defaultThemeOptions.4c9bc728.js";
3
3
  import { c as u, s as d } from "./theme/shadows.86540b18.js";
4
4
  import { P as S, p as C } from "./theme/palette.0590e8a6.js";
5
5
  import { t as R } from "./theme/typography.b14a8e35.js";
6
- import { f as c } from "./theme/overrides/index.fd981495.js";
6
+ import { f as c } from "./theme/overrides/index.7c048e7a.js";
7
7
  import { u as T } from "./utils/useResponsive.2c45e8e0.js";
8
8
  import { g as w } from "./utils/getColorState.6c23eada.js";
9
9
  import { e as y, b as F, c as V, d as k, g as q, a as A, t as B } from "./utils/getColorPresets.2a91ffaf.js";
@@ -11,7 +11,7 @@ import { g as N, p as U, a as j, r as D } from "./utils/getFontValue.88831637.js
11
11
  import "@mui/material";
12
12
  import "@mui/material/styles";
13
13
  import "./theme/overrides/MUIComponents/index.b3f5b7a7.js";
14
- import "./theme/overrides/M4LExtendedComponents/index.b9151f24.js";
14
+ import "./theme/overrides/M4LExtendedComponents/index.df05e9ba.js";
15
15
  import "@mui/system";
16
16
  import "./theme/overrides/M4LRHFComponents/index.02fada22.js";
17
17
  import "@mui/material/useMediaQuery";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "dependencies": {
@@ -30,7 +30,6 @@ export declare const M4LSideBar: (theme: Theme) => {
30
30
  borderColor: string;
31
31
  backgroundColor: string;
32
32
  '& .M4LSideBar-contentGroups': {
33
- padding: string;
34
33
  '& .M4LSideBar-wrapperGroup': {
35
34
  overflow: string;
36
35
  padding: string;
@@ -39,12 +38,21 @@ export declare const M4LSideBar: (theme: Theme) => {
39
38
  borderColor: string;
40
39
  height: string;
41
40
  width: string;
41
+ flex: string;
42
+ '& .M4LSideBar-itemListMainRootContainer': {
43
+ display: string;
44
+ flexDirection: string;
45
+ width: string;
46
+ height: string;
47
+ overflow: string;
48
+ };
42
49
  '& .M4LSideBar-navItemRootContent': {
43
50
  overflow: string;
44
51
  height: string;
45
52
  padding: string;
46
53
  display: string;
47
54
  alignItems: string;
55
+ position: string;
48
56
  };
49
57
  };
50
58
  };
@@ -385,7 +393,7 @@ export declare const M4LSideBar: (theme: Theme) => {
385
393
  height: string;
386
394
  top: string;
387
395
  bottom: string;
388
- left: string;
396
+ right: string;
389
397
  backgroundColor: string;
390
398
  borderRadius: string;
391
399
  position: string;
@@ -732,7 +740,7 @@ export declare const M4LSideBar: (theme: Theme) => {
732
740
  height: string;
733
741
  top: string;
734
742
  bottom: string;
735
- left: string;
743
+ right: string;
736
744
  backgroundColor: string;
737
745
  borderRadius: string;
738
746
  position: string;
@@ -1701,7 +1709,7 @@ export declare const M4LSideBar: (theme: Theme) => {
1701
1709
  borderRadius: string;
1702
1710
  justifyContent: string;
1703
1711
  flexDirection: string;
1704
- paddingBottom: string;
1712
+ marginBottom: string;
1705
1713
  gap: string;
1706
1714
  height: string;
1707
1715
  '& .M4LSideBar-navItemMainRoot': {
@@ -1718,7 +1726,6 @@ export declare const M4LSideBar: (theme: Theme) => {
1718
1726
  border: string;
1719
1727
  borderColor: string;
1720
1728
  '& .M4LSideBar-navItemMainRoot': {
1721
- background: string;
1722
1729
  '&:hover': {
1723
1730
  background: string;
1724
1731
  cursor: string;
@@ -976,21 +976,29 @@ const p = (o) => ({
976
976
  borderColor: o.palette.state.borderPrimary,
977
977
  backgroundColor: o.palette.background.default,
978
978
  "& .M4LSideBar-contentGroups": {
979
- padding: "32px 12px",
980
979
  "& .M4LSideBar-wrapperGroup": {
981
- overflow: "visible",
982
- padding: "8px",
983
- borderTop: "1px solid",
980
+ overflow: "hidden",
981
+ padding: "10px",
982
+ borderTop: "unset",
984
983
  borderBottom: "1px solid",
985
984
  borderColor: o.palette.state.borderSecondary,
986
- height: "fit-content",
985
+ height: "100%",
987
986
  width: "100%",
987
+ flex: "1",
988
+ "& .M4LSideBar-itemListMainRootContainer": {
989
+ display: "flex",
990
+ flexDirection: "column",
991
+ width: "100%",
992
+ height: "auto",
993
+ overflow: "hidden"
994
+ },
988
995
  "& .M4LSideBar-navItemRootContent": {
989
996
  overflow: "hidden",
990
997
  height: "36px",
991
998
  padding: "0px 8px",
992
999
  display: "flex",
993
- alignItems: "center"
1000
+ alignItems: "center",
1001
+ position: "relative"
994
1002
  }
995
1003
  }
996
1004
  },
@@ -1214,10 +1222,10 @@ const p = (o) => ({
1214
1222
  "&::before": {
1215
1223
  content: '""',
1216
1224
  width: "3px",
1217
- height: "50%",
1218
- top: "25%",
1219
- bottom: "25%",
1220
- left: "0px",
1225
+ height: "100%",
1226
+ top: "0",
1227
+ bottom: "0",
1228
+ right: "0px",
1221
1229
  backgroundColor: o.palette.state.focus,
1222
1230
  borderRadius: "0px 4px 4px 0px",
1223
1231
  position: "absolute"
@@ -1893,7 +1901,7 @@ const p = (o) => ({
1893
1901
  borderRadius: "4px 0px 0px 4px",
1894
1902
  justifyContent: "flex-start",
1895
1903
  flexDirection: "column",
1896
- paddingBottom: "4px",
1904
+ marginBottom: "4px",
1897
1905
  gap: "0px",
1898
1906
  height: "auto",
1899
1907
  "& .M4LSideBar-navItemMainRoot": {
@@ -1910,7 +1918,6 @@ const p = (o) => ({
1910
1918
  border: "1px solid",
1911
1919
  borderColor: o.palette.state.active12,
1912
1920
  "& .M4LSideBar-navItemMainRoot": {
1913
- background: o.palette.state.active,
1914
1921
  "&:hover": {
1915
1922
  background: t(o.palette.state.active || "#fff", 0.24),
1916
1923
  cursor: "pointer"
@@ -4682,7 +4689,7 @@ const p = (o) => ({
4682
4689
  }
4683
4690
  }
4684
4691
  }
4685
- }), P = (o) => ({
4692
+ }), D = (o) => ({
4686
4693
  M4LRHFormProvider: {
4687
4694
  styleOverrides: {
4688
4695
  "&.M4LRHFormProvider-root": {
@@ -4697,7 +4704,7 @@ const p = (o) => ({
4697
4704
  }
4698
4705
  }
4699
4706
  }
4700
- }), D = (o) => ({
4707
+ }), P = (o) => ({
4701
4708
  M4LPeriod: {
4702
4709
  styleOverrides: {
4703
4710
  "&.M4LPeriod-root": {
@@ -6505,7 +6512,7 @@ const p = (o) => ({
6505
6512
  export {
6506
6513
  T as A,
6507
6514
  A as B,
6508
- D as C,
6515
+ P as C,
6509
6516
  H as D,
6510
6517
  F as E,
6511
6518
  W as F,
@@ -6531,7 +6538,7 @@ export {
6531
6538
  ao as Z,
6532
6539
  io as _,
6533
6540
  p as a,
6534
- P as b,
6541
+ D as b,
6535
6542
  d as c,
6536
6543
  l as d,
6537
6544
  s as e,
@@ -1,5 +1,5 @@
1
1
  import { F as s, C as o, M as r, L, I as M, a as i, R as n, B as l, b as p, T as c, P as d, S as u, c as g, d as B, D as F, A as P, e as A, f as T, g as b, h as C, i as y, j as S, k as I, l as R, m as v, n as D, o as H, p as k, q as f, r as x, s as w, t as G, u as E, v as V, w as j, x as N, y as O, z as q, E as z } from "./MUIComponents/index.b3f5b7a7.js";
2
- import { M as U, a as J, b as K, c as Q, d as W, e as X, f as Y, g as Z, h as _, i as $, j as t, k as m, l as e, m as h, n as aa, o as sa, p as oa, q as ra, r as La, s as Ma, t as ia, u as na, v as la, w as pa, x as ca, y as da, z as ua, A as ga, B as Ba, C as Fa, D as Pa, E as Aa, F as Ta, G as ba, H as Ca, I as ya, J as Sa, K as Ia, L as Ra, N as va, O as Da, P as Ha, Q as ka, R as fa, S as xa, T as wa, U as Ga, V as Ea, W as Va, X as ja, Y as Na, Z as Oa, _ as qa } from "./M4LExtendedComponents/index.b9151f24.js";
2
+ import { M as U, a as J, b as K, c as Q, d as W, e as X, f as Y, g as Z, h as _, i as $, j as t, k as m, l as e, m as h, n as aa, o as sa, p as oa, q as ra, r as La, s as Ma, t as ia, u as na, v as la, w as pa, x as ca, y as da, z as ua, A as ga, B as Ba, C as Fa, D as Pa, E as Aa, F as Ta, G as ba, H as Ca, I as ya, J as Sa, K as Ia, L as Ra, N as va, O as Da, P as Ha, Q as ka, R as fa, S as xa, T as wa, U as Ga, V as Ea, W as Va, X as ja, Y as Na, Z as Oa, _ as qa } from "./M4LExtendedComponents/index.df05e9ba.js";
3
3
  import { M as za, a as Ua, b as Ja, c as Ka, d as Qa, e as Wa, f as Xa, g as Ya, h as Za } from "./M4LRHFComponents/index.02fada22.js";
4
4
  function ma(a) {
5
5
  return Object.assign(