@m4l/styles 1.0.7 → 1.0.9
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 +2 -2
- package/package.json +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +5 -0
- package/theme/overrides/M4LExtendedComponents/{index.b30ae579.js → index.a1f65f10.js} +10 -5
- package/theme/overrides/{index.3f4073e8.js → index.f76e2bb0.js} +1 -1
- package/types/augmentations.d.ts +115 -122
- package/types/index.d.ts +1 -1
- package/types/types.d.ts +9 -4
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { g as f, m as O } from "./config.5405b46b.js";
|
|
|
2
2
|
import { d as S } from "./theme/defaultThemeOptions.cc70c82e.js";
|
|
3
3
|
import { c as C, s as l } from "./theme/shadows.e0c009ff.js";
|
|
4
4
|
import { t as n } from "./theme/typography.616cfe0c.js";
|
|
5
|
-
import { f as P } from "./theme/overrides/index.
|
|
5
|
+
import { f as P } from "./theme/overrides/index.f76e2bb0.js";
|
|
6
6
|
import { C as d, E as A, G as E, I as N, O as b, P as c, a as I, b as h, S as F, c as Y, W as v, p as w } from "./theme/palette.287635f2.js";
|
|
7
7
|
import { u as G } from "./utils/useResponsive.2c45e8e0.js";
|
|
8
8
|
import { g as M } from "./utils/getColorState.7cbf2219.js";
|
|
@@ -13,7 +13,7 @@ import "@mui/material/styles";
|
|
|
13
13
|
import "./theme/overrides/MUIComponents/index.5c43e3b5.js";
|
|
14
14
|
import "./theme/overrides/M4LRHFComponents/index.3599b255.js";
|
|
15
15
|
import "@mui/system";
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.a1f65f10.js";
|
|
17
17
|
import "@mui/material/useMediaQuery";
|
|
18
18
|
export {
|
|
19
19
|
d as COMMON,
|
package/package.json
CHANGED
|
@@ -657,7 +657,7 @@ const p = (o) => ({
|
|
|
657
657
|
width: "240px",
|
|
658
658
|
"& .M4LSideBar-areaExpandMenu": {
|
|
659
659
|
position: "absolute",
|
|
660
|
-
zIndex: "
|
|
660
|
+
zIndex: "99999",
|
|
661
661
|
height: "100%",
|
|
662
662
|
transition: "all 0.3s",
|
|
663
663
|
width: "240px",
|
|
@@ -3278,6 +3278,11 @@ const p = (o) => ({
|
|
|
3278
3278
|
}
|
|
3279
3279
|
}
|
|
3280
3280
|
}
|
|
3281
|
+
},
|
|
3282
|
+
"& .M4LAreasViewer-panelWindowsSeparator": {
|
|
3283
|
+
width: "100%",
|
|
3284
|
+
border: "0.5px solid",
|
|
3285
|
+
borderColor: o.vars.palette.state.borderPrimary
|
|
3281
3286
|
}
|
|
3282
3287
|
}
|
|
3283
3288
|
}
|
|
@@ -4798,7 +4803,7 @@ const p = (o) => ({
|
|
|
4798
4803
|
}
|
|
4799
4804
|
}
|
|
4800
4805
|
}
|
|
4801
|
-
}),
|
|
4806
|
+
}), W = (o) => ({
|
|
4802
4807
|
M4LTooltip: {
|
|
4803
4808
|
styleOverrides: {
|
|
4804
4809
|
"&.M4LTooltip-root": {
|
|
@@ -4819,7 +4824,7 @@ const p = (o) => ({
|
|
|
4819
4824
|
}
|
|
4820
4825
|
}
|
|
4821
4826
|
}
|
|
4822
|
-
}),
|
|
4827
|
+
}), O = (o) => ({
|
|
4823
4828
|
M4LBadge: {
|
|
4824
4829
|
styleOverrides: {
|
|
4825
4830
|
"&.M4LBadge-root": {
|
|
@@ -6608,7 +6613,7 @@ export {
|
|
|
6608
6613
|
P as B,
|
|
6609
6614
|
D as C,
|
|
6610
6615
|
H as D,
|
|
6611
|
-
|
|
6616
|
+
W as E,
|
|
6612
6617
|
V as F,
|
|
6613
6618
|
G,
|
|
6614
6619
|
F as H,
|
|
@@ -6638,7 +6643,7 @@ export {
|
|
|
6638
6643
|
l as e,
|
|
6639
6644
|
M as f,
|
|
6640
6645
|
c as g,
|
|
6641
|
-
|
|
6646
|
+
O as h,
|
|
6642
6647
|
g as i,
|
|
6643
6648
|
z as j,
|
|
6644
6649
|
x as k,
|
|
@@ -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 T, f as A, 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.5c43e3b5.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.3599b255.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 Ta, x as Aa, 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, $ as Za } from "./M4LExtendedComponents/index.
|
|
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 Ta, x as Aa, 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, $ as Za } from "./M4LExtendedComponents/index.a1f65f10.js";
|
|
4
4
|
function ma(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
package/types/augmentations.d.ts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
PatronusConstantColors,
|
|
3
|
+
PatronusOpacityColors,
|
|
4
|
+
PatronusOpacityOptions,
|
|
5
|
+
} from '../theme/palette';
|
|
2
6
|
import { ColorStateOptions, CustomShadowOptions } from '../theme';
|
|
3
7
|
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
4
|
-
import { Breakpoints
|
|
8
|
+
import { Breakpoints } from '@mui/material';
|
|
5
9
|
import { CssVarsTheme } from '@mui/material/styles';
|
|
6
10
|
|
|
7
11
|
declare module '@mui/material' {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
interface Color {
|
|
13
|
+
0: string;
|
|
14
|
+
500_8: string;
|
|
15
|
+
500_12: string;
|
|
16
|
+
500_16: string;
|
|
17
|
+
500_24: string;
|
|
18
|
+
500_32: string;
|
|
19
|
+
500_48: string;
|
|
20
|
+
500_56: string;
|
|
21
|
+
500_80: string;
|
|
22
|
+
}
|
|
19
23
|
}
|
|
20
24
|
|
|
21
|
-
declare module '@mui/material/styles/createPalette' {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
+
declare module '@mui/material/styles/createPalette' {}
|
|
25
26
|
|
|
26
27
|
// declare module '@mui/core/Typography' {
|
|
27
28
|
// interface TypographyProps {
|
|
@@ -30,115 +31,107 @@ declare module '@mui/material/styles/createPalette' {
|
|
|
30
31
|
// }
|
|
31
32
|
|
|
32
33
|
declare module '@mui/material/styles' {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
|
|
34
|
+
interface SimplePaletteColorOptions {
|
|
35
|
+
lighter?: string;
|
|
36
|
+
darker?: string;
|
|
37
|
+
LightSelected?: string;
|
|
38
|
+
LightSelectedHover?: string;
|
|
39
|
+
DarkSelected?: string;
|
|
40
|
+
DarkSelectedHover?: string;
|
|
41
|
+
}
|
|
42
|
+
interface PaletteColor {
|
|
43
|
+
lighter?: string;
|
|
44
|
+
darker?: string;
|
|
45
|
+
LightSelected?: string;
|
|
46
|
+
LightSelectedHover?: string;
|
|
47
|
+
DarkSelected?: string;
|
|
48
|
+
DarkSelectedHover?: string;
|
|
49
|
+
opacity?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
}
|
|
52
|
+
interface Palette {
|
|
53
|
+
gradients?: GradientsPaletteOptions;
|
|
54
|
+
chart: ChartPaletteOptions;
|
|
55
|
+
grid?: GridPaletteOptions;
|
|
56
|
+
patronus?: PatronusConstantColors;
|
|
57
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
58
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
59
|
+
representative: string;
|
|
60
|
+
mode: 'light' | 'dark';
|
|
61
|
+
/* info: AgumentationInfoOptions; */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface TypeText {
|
|
65
|
+
bgPrimary: string;
|
|
66
|
+
}
|
|
67
|
+
interface PaletteOptions {
|
|
68
|
+
gradients?: GradientsPaletteOptions;
|
|
69
|
+
chart?: ChartPaletteOptions;
|
|
70
|
+
grid?: GridPaletteOptions;
|
|
71
|
+
patronus?: PatronusConstantColors;
|
|
72
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
73
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
74
|
+
representative: string;
|
|
75
|
+
mode: 'light' | 'dark';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface ColorSchemeOverrides {
|
|
79
|
+
finalTheme?: true;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
interface Theme extends CssVarsTheme {
|
|
83
|
+
stretch: boolean;
|
|
84
|
+
customShadows: CustomShadowOptions;
|
|
85
|
+
breakpoints: Breakpoints;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
interface ThemeVars {
|
|
89
|
+
customShadows: CustomShadowOptions;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
interface ColorSystem {
|
|
93
|
+
typography: TypographyVariants;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface TypeBackground {
|
|
97
|
+
neutral: string;
|
|
98
|
+
autofill: string;
|
|
99
|
+
header: string;
|
|
100
|
+
background: string;
|
|
101
|
+
}
|
|
103
102
|
}
|
|
104
103
|
|
|
105
|
-
|
|
106
|
-
|
|
107
104
|
declare module '@mui/material/styles' {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
105
|
+
interface TypographyVariants {
|
|
106
|
+
subtitle: Record<string, any>;
|
|
107
|
+
subtitleDens: Record<string, any>;
|
|
108
|
+
paragraph: Record<string, any>;
|
|
109
|
+
paragraphDens: Record<string, any>;
|
|
110
|
+
body: Record<string, any>;
|
|
111
|
+
bodyDens: Record<string, any>;
|
|
112
|
+
action: Record<string, any>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// allow configuration using `createTheme`
|
|
116
|
+
interface TypographyVariantsOptions {
|
|
117
|
+
subtitle: React.CSSProperties;
|
|
118
|
+
subtitleDens: React.CSSProperties;
|
|
119
|
+
paragraph: React.CSSProperties;
|
|
120
|
+
paragraphDens: React.CSSProperties;
|
|
121
|
+
body: React.CSSProperties;
|
|
122
|
+
bodyDens: React.CSSProperties;
|
|
123
|
+
action: React.CSSProperties;
|
|
124
|
+
}
|
|
132
125
|
}
|
|
133
126
|
|
|
134
127
|
declare module '@mui/material/Typography' {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
128
|
+
interface TypographyPropsVariantOverrides {
|
|
129
|
+
subtitle: true;
|
|
130
|
+
subtitleDens: true;
|
|
131
|
+
paragraph: true;
|
|
132
|
+
paragraphDens: true;
|
|
133
|
+
body: true;
|
|
134
|
+
bodyDens: true;
|
|
135
|
+
action: true;
|
|
136
|
+
}
|
|
144
137
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './types
|
|
1
|
+
export * from './types';
|
|
2
2
|
export * from './augmentations.d';
|
package/types/types.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
2
|
-
|
|
3
2
|
export interface GridPaletteOptions {
|
|
4
3
|
sectionHeader: string;
|
|
5
4
|
rowHover: string;
|
|
6
5
|
divider: string;
|
|
7
6
|
}
|
|
8
|
-
|
|
9
7
|
export interface ChartPaletteOptions {
|
|
10
8
|
violet: string[];
|
|
11
9
|
blue: string[];
|
|
@@ -13,7 +11,6 @@ export interface ChartPaletteOptions {
|
|
|
13
11
|
yellow: string[];
|
|
14
12
|
red: string[];
|
|
15
13
|
}
|
|
16
|
-
|
|
17
14
|
export interface GradientsPaletteOptions {
|
|
18
15
|
primary: string;
|
|
19
16
|
info: string;
|
|
@@ -21,4 +18,12 @@ export interface GradientsPaletteOptions {
|
|
|
21
18
|
warning: string;
|
|
22
19
|
error: string;
|
|
23
20
|
}
|
|
24
|
-
|
|
21
|
+
export declare type ColorVariants = {
|
|
22
|
+
name: string;
|
|
23
|
+
lighter: string;
|
|
24
|
+
light: string;
|
|
25
|
+
main: string;
|
|
26
|
+
dark: string;
|
|
27
|
+
darker: string;
|
|
28
|
+
contrastText: string;
|
|
29
|
+
};
|