@m4l/styles 3.2.1 → 3.2.3

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-BlJvKCE6.js";
3
3
  import { c as f, s as x } from "./theme/shadows-GTYqExFA.js";
4
4
  import { t as g } from "./theme/typography-BsOO459U.js";
5
- import { f as S } from "./theme/overrides/index-DFdz4PJZ.js";
5
+ import { f as S } from "./theme/overrides/index-B9xZa27y.js";
6
6
  import { B as n, a as E, C as i, 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.2.1",
3
+ "version": "3.2.3",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "dependencies": {
@@ -52,9 +52,6 @@ export declare const M4LAreasViewer: (theme: Omit<Theme, 'palette' | 'applyStyle
52
52
  opacity: number;
53
53
  };
54
54
  };
55
- '& .react-resizable-handle': {
56
- backgroundColor: string;
57
- };
58
55
  '&.react-colapsed': {
59
56
  border: string;
60
57
  borderColor: string;
@@ -2975,9 +2975,9 @@ const i = (o) => ({
2975
2975
  opacity: 0
2976
2976
  }
2977
2977
  },
2978
- "& .react-resizable-handle": {
2979
- backgroundColor: "transparent"
2980
- },
2978
+ // '& .react-resizable-handle': {
2979
+ // backgroundColor: 'transparent',
2980
+ // },
2981
2981
  "&.react-colapsed": {
2982
2982
  border: "1px solid",
2983
2983
  borderColor: o.vars.palette.border.primary
@@ -6384,7 +6384,7 @@ const i = (o) => ({
6384
6384
  width: "100%",
6385
6385
  height: "100%",
6386
6386
  flexGrow: "1",
6387
- overflow: "auto",
6387
+ overflow: "hidden",
6388
6388
  position: "relative",
6389
6389
  /*
6390
6390
  * Control superior izquierdo
@@ -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-D8SeTLwa.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-C4PXddLa.js";
4
4
  function ta(a) {
5
5
  return Object.assign(
6
6
  s(a),
@@ -1,155 +1,155 @@
1
- import { Breakpoints } from '@mui/material';
2
-
3
- import type { CustomShadowOptions } from '../theme';
4
-
5
- declare module '@mui/material' {
6
- interface Color {
7
- 0: string;
8
- 500_8: string;
9
- 500_12: string;
10
- 500_16: string;
11
- 500_24: string;
12
- 500_32: string;
13
- 500_48: string;
14
- 500_56: string;
15
- 500_80: string;
16
- }
17
- }
18
-
19
- declare module '@mui/material/styles' {
20
- interface PaletteColor {
21
- lighter?: string;
22
- darker?: string;
23
- active: string;
24
- activeOpacity: string;
25
- hover: string;
26
- focus: string;
27
- selected: string;
28
- toneOpacity: string;
29
- }
30
-
31
- interface SimplePaletteColorOptions {
32
- lighter?: string;
33
- darker?: string;
34
- active: string;
35
- activeOpacity: string;
36
- hover: string;
37
- focus: string;
38
- selected: string;
39
- toneOpacity: string;
40
- }
41
-
42
- interface Palette {
43
- mode: 'light' | 'dark';
44
- secondary: never;
45
- skeleton: { default: string; transition: string };
46
- border: {
47
- active: string;
48
- selected: string;
49
- default: string;
50
- primary: string;
51
- secondary: string;
52
- disabled: string;
53
- dense: string;
54
- line: string;
55
- };
56
- general: {
57
- scrollBar: string;
58
- gridHover: string;
59
- };
60
- }
61
-
62
- interface PaletteOptions {
63
- mode: 'light' | 'dark';
64
- secondary: never;
65
- skeleton: { default: string; transition: string };
66
- border: {
67
- active: string;
68
- selected: string;
69
- default: string;
70
- primary: string;
71
- secondary: string;
72
- disabled: string;
73
- dense: string;
74
- line: string;
75
- };
76
- general: {
77
- scrollBar: string;
78
- gridHover: string;
79
- };
80
- }
81
-
82
- interface ColorSchemeOverrides {
83
- finalTheme?: true;
84
- }
85
-
86
- interface CssVarsTheme {
87
- generalSettings: {
88
- isMobile: boolean;
89
- };
90
- }
91
-
92
- interface Theme extends CssVarsTheme {
93
- stretch: boolean;
94
- customShadows: CustomShadowOptions;
95
- breakpoints: Breakpoints;
96
- }
97
-
98
- interface CssVarsThemeOptions {
99
- generalSettings: {
100
- isMobile: boolean;
101
- };
102
- }
103
-
104
- interface ThemeVars {
105
- customShadows: CustomShadowOptions;
106
- }
107
-
108
- interface ColorSystem {
109
- typography: TypographyVariants;
110
- }
111
-
112
- interface TypeBackground {
113
- default: string;
114
- hover: string;
115
- surface: string;
116
- subtle: string;
117
- main: string;
118
- bold: string;
119
- backdrop: string;
120
- reverse: string;
121
- header: string;
122
- }
123
-
124
- interface TypographyVariants {
125
- subtitle: Record<string, any>;
126
- subtitleDens: Record<string, any>;
127
- paragraph: Record<string, any>;
128
- paragraphDens: Record<string, any>;
129
- body: Record<string, any>;
130
- bodyDens: Record<string, any>;
131
- action: Record<string, any>;
132
- }
133
-
134
- interface TypographyVariantsOptions {
135
- subtitle: React.CSSProperties;
136
- subtitleDens: React.CSSProperties;
137
- paragraph: React.CSSProperties;
138
- paragraphDens: React.CSSProperties;
139
- body: React.CSSProperties;
140
- bodyDens: React.CSSProperties;
141
- action: React.CSSProperties;
142
- }
143
- }
144
-
145
- declare module '@mui/material/Typography' {
146
- interface TypographyPropsVariantOverrides {
147
- subtitle: true;
148
- subtitleDens: true;
149
- paragraph: true;
150
- paragraphDens: true;
151
- body: true;
152
- bodyDens: true;
153
- action: true;
154
- }
155
- }
1
+ import { Breakpoints } from '@mui/material';
2
+
3
+ import type { CustomShadowOptions } from '../theme';
4
+
5
+ declare module '@mui/material' {
6
+ interface Color {
7
+ 0: string;
8
+ 500_8: string;
9
+ 500_12: string;
10
+ 500_16: string;
11
+ 500_24: string;
12
+ 500_32: string;
13
+ 500_48: string;
14
+ 500_56: string;
15
+ 500_80: string;
16
+ }
17
+ }
18
+
19
+ declare module '@mui/material/styles' {
20
+ interface PaletteColor {
21
+ lighter?: string;
22
+ darker?: string;
23
+ active: string;
24
+ activeOpacity: string;
25
+ hover: string;
26
+ focus: string;
27
+ selected: string;
28
+ toneOpacity: string;
29
+ }
30
+
31
+ interface SimplePaletteColorOptions {
32
+ lighter?: string;
33
+ darker?: string;
34
+ active: string;
35
+ activeOpacity: string;
36
+ hover: string;
37
+ focus: string;
38
+ selected: string;
39
+ toneOpacity: string;
40
+ }
41
+
42
+ interface Palette {
43
+ mode: 'light' | 'dark';
44
+ secondary: never;
45
+ skeleton: { default: string; transition: string };
46
+ border: {
47
+ active: string;
48
+ selected: string;
49
+ default: string;
50
+ primary: string;
51
+ secondary: string;
52
+ disabled: string;
53
+ dense: string;
54
+ line: string;
55
+ };
56
+ general: {
57
+ scrollBar: string;
58
+ gridHover: string;
59
+ };
60
+ }
61
+
62
+ interface PaletteOptions {
63
+ mode: 'light' | 'dark';
64
+ secondary: never;
65
+ skeleton: { default: string; transition: string };
66
+ border: {
67
+ active: string;
68
+ selected: string;
69
+ default: string;
70
+ primary: string;
71
+ secondary: string;
72
+ disabled: string;
73
+ dense: string;
74
+ line: string;
75
+ };
76
+ general: {
77
+ scrollBar: string;
78
+ gridHover: string;
79
+ };
80
+ }
81
+
82
+ interface ColorSchemeOverrides {
83
+ finalTheme?: true;
84
+ }
85
+
86
+ interface CssVarsTheme {
87
+ generalSettings: {
88
+ isMobile: boolean;
89
+ };
90
+ }
91
+
92
+ interface Theme extends CssVarsTheme {
93
+ stretch: boolean;
94
+ customShadows: CustomShadowOptions;
95
+ breakpoints: Breakpoints;
96
+ }
97
+
98
+ interface CssVarsThemeOptions {
99
+ generalSettings: {
100
+ isMobile: boolean;
101
+ };
102
+ }
103
+
104
+ interface ThemeVars {
105
+ customShadows: CustomShadowOptions;
106
+ }
107
+
108
+ interface ColorSystem {
109
+ typography: TypographyVariants;
110
+ }
111
+
112
+ interface TypeBackground {
113
+ default: string;
114
+ hover: string;
115
+ surface: string;
116
+ subtle: string;
117
+ main: string;
118
+ bold: string;
119
+ backdrop: string;
120
+ reverse: string;
121
+ header: string;
122
+ }
123
+
124
+ interface TypographyVariants {
125
+ subtitle: Record<string, any>;
126
+ subtitleDens: Record<string, any>;
127
+ paragraph: Record<string, any>;
128
+ paragraphDens: Record<string, any>;
129
+ body: Record<string, any>;
130
+ bodyDens: Record<string, any>;
131
+ action: Record<string, any>;
132
+ }
133
+
134
+ interface TypographyVariantsOptions {
135
+ subtitle: React.CSSProperties;
136
+ subtitleDens: React.CSSProperties;
137
+ paragraph: React.CSSProperties;
138
+ paragraphDens: React.CSSProperties;
139
+ body: React.CSSProperties;
140
+ bodyDens: React.CSSProperties;
141
+ action: React.CSSProperties;
142
+ }
143
+ }
144
+
145
+ declare module '@mui/material/Typography' {
146
+ interface TypographyPropsVariantOverrides {
147
+ subtitle: true;
148
+ subtitleDens: true;
149
+ paragraph: true;
150
+ paragraphDens: true;
151
+ body: true;
152
+ bodyDens: true;
153
+ action: true;
154
+ }
155
+ }
package/vite-env.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- /// <reference types="vite/client" />
2
- /// <reference types="vitest" />
3
- /// <reference types="vitest/importMeta" />
1
+ /// <reference types="vite/client" />
2
+ /// <reference types="vitest" />
3
+ /// <reference types="vitest/importMeta" />