@m4l/styles 3.1.1 → 3.1.2

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
@@ -2,7 +2,7 @@ import { D as o, g as a, m as r } from "./config-B8bZIPuH.js";
2
2
  import { d as p } from "./theme/defaultThemeOptions-BayzDRnS.js";
3
3
  import { c as f, s as O } from "./theme/shadows-GTYqExFA.js";
4
4
  import { t as n } from "./theme/typography-BsOO459U.js";
5
- import { f as E } from "./theme/overrides/index-DrDgOdnk.js";
5
+ import { f as E } from "./theme/overrides/index-SeuIH5J7.js";
6
6
  import { B as g, a as i, C as l, G as T, g as u, p as P } from "./theme/palette-DM0gXxA2.js";
7
7
  import { u as d } from "./utils/useResponsive-DaeQVwlH.js";
8
8
  import { D as A, d as L, g as B } from "./utils/getColorPresets-CXZaM9oS.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "dependencies": {
@@ -60,6 +60,7 @@ export declare const M4LAreasViewer: (theme: Omit<Theme, 'palette' | 'applyStyle
60
60
  borderColor: string;
61
61
  };
62
62
  '& .M4LAreasViewer-windowRootContainer': {
63
+ backgroundColor: string;
63
64
  display: string;
64
65
  flexDirection: string;
65
66
  width: string;
@@ -2987,7 +2987,12 @@ const i = (o) => ({
2987
2987
  flexDirection: "column",
2988
2988
  width: "100%",
2989
2989
  height: "100%",
2990
- overflow: "hidden"
2990
+ overflow: "hidden",
2991
+ ...o.colorSchemes.finalTheme.generalSettings.isMobile ? {
2992
+ backgroundColor: "red!important"
2993
+ } : {
2994
+ backgroundColor: "blue!important"
2995
+ }
2991
2996
  },
2992
2997
  "& .M4LAreasViewer-windowHeader": {
2993
2998
  display: "flex",
@@ -1,6 +1,6 @@
1
1
  import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index-XoLdmZP6.js";
2
2
  import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index-BRZVeOM5.js";
3
- import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index-Cf72RC_D.js";
3
+ import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index-DTDh4xcv.js";
4
4
  function ta(a) {
5
5
  return Object.assign(
6
6
  s(a),
@@ -90,7 +90,7 @@ declare module '@mui/material/styles' {
90
90
  breakpoints: Breakpoints;
91
91
  generalSettings: {
92
92
  isMobile: boolean;
93
- }
93
+ };
94
94
  }
95
95
 
96
96
  interface ThemeVars {
@@ -99,6 +99,9 @@ declare module '@mui/material/styles' {
99
99
 
100
100
  interface ColorSystem {
101
101
  typography: TypographyVariants;
102
+ generalSettings: {
103
+ isMobile: boolean;
104
+ };
102
105
  }
103
106
 
104
107
  interface TypeBackground {