@m4l/styles 7.1.28 → 7.1.29-16062025.beta.1
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 +55 -47
- package/package.json +1 -1
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +1 -1
- package/theme/overrides/MUIComponents/TreeView.d.ts +1 -1
- package/theme/overrides/index.js +79 -83
- package/theme/palette/baseChipsPalette.js +58 -58
- package/theme/palette/baseColors.js +30 -30
- package/theme/palette/baseOpacityColors.js +5 -5
- package/theme/palette/defaultColors.js +33 -20
- package/theme/palette/index.d.ts +4 -0
- package/theme/palette/presetColors.js +154 -93
- package/theme/palette/semanticColors.js +104 -54
- package/theme/shadows.js +52 -60
- package/theme/sizes/size.js +3 -3
- package/theme/typography/baseWeight.js +3 -4
- package/theme/typography/types.d.ts +3 -4
- package/theme/typography/typography.js +3 -3
- package/theme/typography/typographySizes.js +108 -108
- package/types/augmentations.d.ts +2 -0
- package/types/types.d.ts +10 -0
- package/utils/getPaletteByPreset.d.ts +26 -2
- package/utils/getPaletteByPreset.js +99 -103
- package/utils/getUserThemeOptions.js +20 -18
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +0 -358
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.js +0 -393
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +0 -2441
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +0 -1747
package/index.js
CHANGED
|
@@ -1,55 +1,63 @@
|
|
|
1
1
|
import { D as e, g as s, m as a } from "./config.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { f as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
2
|
+
import { c as E, s as S } from "./theme/shadows.js";
|
|
3
|
+
import { f as _ } from "./theme/overrides/index.js";
|
|
4
|
+
import { B as O } from "./theme/palette/baseColors.js";
|
|
5
|
+
import { B as f } from "./theme/palette/baseOpacityColors.js";
|
|
6
6
|
import { C as P } from "./theme/palette/commonColors.js";
|
|
7
|
-
import { G as
|
|
8
|
-
import { p as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { B as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { g as
|
|
22
|
-
import {
|
|
7
|
+
import { G as A } from "./theme/palette/greyPalette.js";
|
|
8
|
+
import { P as C, p as I } from "./theme/palette/presetColors.js";
|
|
9
|
+
import { a as g, B as G } from "./theme/palette/baseChipsPalette.js";
|
|
10
|
+
import { P as l } from "./theme/palette/defaultColors.js";
|
|
11
|
+
import { P as D } from "./theme/palette/semanticColors.js";
|
|
12
|
+
import { B as H } from "./theme/typography/baseFontSize.js";
|
|
13
|
+
import { B as d } from "./theme/typography/baseLetterSpacing.js";
|
|
14
|
+
import { B as M } from "./theme/typography/baseLineHeight.js";
|
|
15
|
+
import { B as F } from "./theme/typography/baseWeight.js";
|
|
16
|
+
import { T as U } from "./theme/typography/typography.js";
|
|
17
|
+
import { a as y, T as K } from "./theme/typography/typographySizes.js";
|
|
18
|
+
import { t as w } from "./theme/typographyOld.js";
|
|
19
|
+
import { P as J, a as Q } from "./theme/sizes/pointerQr.js";
|
|
20
|
+
import { u as k } from "./utils/useResponsive.js";
|
|
21
|
+
import { D as W, d as j, g as q } from "./utils/getColorPresets.js";
|
|
22
|
+
import { p as $, r as oo, a as ro } from "./utils/getFontValue.js";
|
|
23
|
+
import { g as so } from "./utils/getColorState.js";
|
|
24
|
+
import { g as to } from "./utils/getPaletteByPreset.js";
|
|
25
|
+
import { g as So } from "./utils/getUserThemeOptions.js";
|
|
23
26
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
O as BASE_COLORS,
|
|
28
|
+
H as BASE_FONT_SIZE,
|
|
29
|
+
d as BASE_LETTER_SPACING,
|
|
30
|
+
M as BASE_LINE_HEIGHT,
|
|
31
|
+
f as BASE_OPACITY_COLORS,
|
|
32
|
+
g as BASE_TAG_OBJECT_COLORS_DARK,
|
|
33
|
+
G as BASE_TAG_OBJECT_COLORS_LIGHT,
|
|
34
|
+
F as BASE_WEIGHT,
|
|
30
35
|
P as COMMON_COLORS,
|
|
31
|
-
|
|
36
|
+
W as DEFAULT_PRESET,
|
|
32
37
|
e as DEFAULT_SIZE,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
j as
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
A as GREY_PALETTE,
|
|
39
|
+
J as POINTER_QR_DESKTOP_SIZES,
|
|
40
|
+
Q as POINTER_QR_MOBILE_SIZES,
|
|
41
|
+
C as PRESET_COLORS,
|
|
42
|
+
l as PRESET_DEFAULT,
|
|
43
|
+
D as PRESET_SEMANTICS_COLORS,
|
|
44
|
+
U as TYPOGRAPHY,
|
|
45
|
+
y as TYPOGRAPHY_SIZES_DESKTOP,
|
|
46
|
+
K as TYPOGRAPHY_SIZES_MOBILE,
|
|
47
|
+
E as createCustomShadows,
|
|
48
|
+
j as defaultPresetColors,
|
|
49
|
+
_ as fnComponentsOverrides,
|
|
50
|
+
q as getColorPresets,
|
|
51
|
+
so as getColorState,
|
|
52
|
+
to as getPaletteByPreset,
|
|
53
|
+
So as getUserThemeOptions,
|
|
46
54
|
s as globalRemSize,
|
|
47
55
|
a as muiBreakpointsValues,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
I as presetsOptionsMainColor,
|
|
57
|
+
$ as pxToRem,
|
|
58
|
+
oo as remToPx,
|
|
59
|
+
ro as responsiveFontSizes,
|
|
60
|
+
S as shadows,
|
|
61
|
+
w as typographyOld,
|
|
62
|
+
k as useResponsive
|
|
55
63
|
};
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export default function ControlLabel(theme: Omit<Theme, 'palette' | 'applyStyles
|
|
|
6
6
|
MuiFormControlLabel: {
|
|
7
7
|
styleOverrides: {
|
|
8
8
|
label: {
|
|
9
|
-
[
|
|
9
|
+
[k: string]: unknown;
|
|
10
10
|
'@font-face'?: import('@mui/material/styles/createTypography').Fontface | import('@mui/material/styles/createTypography').Fontface[];
|
|
11
11
|
accentColor?: import("csstype").Property.AccentColor | undefined;
|
|
12
12
|
alignContent?: import("csstype").Property.AlignContent | undefined;
|
|
@@ -13,7 +13,7 @@ export default function TreeView(theme: Omit<Theme, 'palette' | 'applyStyles'> &
|
|
|
13
13
|
MuiTreeItem: {
|
|
14
14
|
styleOverrides: {
|
|
15
15
|
label: {
|
|
16
|
-
[
|
|
16
|
+
[k: string]: unknown;
|
|
17
17
|
'@font-face'?: import('@mui/material/styles/createTypography').Fontface | import('@mui/material/styles/createTypography').Fontface[];
|
|
18
18
|
accentColor?: import("csstype").Property.AccentColor | undefined;
|
|
19
19
|
alignContent?: import("csstype").Property.AlignContent | undefined;
|
package/theme/overrides/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as r } from "./MUIComponents/Avatar.js";
|
|
2
2
|
import { B as a } from "./MUIComponents/Button.js";
|
|
3
|
-
import { I as
|
|
4
|
-
import { F as
|
|
3
|
+
import { I as m } from "./MUIComponents/IconButton.js";
|
|
4
|
+
import { F as i } from "./MUIComponents/Fab.js";
|
|
5
5
|
import { C as p } from "./MUIComponents/Card.js";
|
|
6
6
|
import { M } from "./MUIComponents/Menu.js";
|
|
7
7
|
import { L as s } from "./MUIComponents/Link.js";
|
|
@@ -27,8 +27,8 @@ import { T as R } from "./MUIComponents/Timeline.js";
|
|
|
27
27
|
import { C as y } from "./MUIComponents/Checkbox.js";
|
|
28
28
|
import { A as H } from "./MUIComponents/Accordion.js";
|
|
29
29
|
import { T as v } from "./MUIComponents/Typography.js";
|
|
30
|
-
import { P as
|
|
31
|
-
import { B as
|
|
30
|
+
import { P as k } from "./MUIComponents/Pagination.js";
|
|
31
|
+
import { B as D } from "./MUIComponents/Breadcrumbs.js";
|
|
32
32
|
import { B as x } from "./MUIComponents/ButtonGroup.js";
|
|
33
33
|
import { C as w } from "./MUIComponents/CssBaseline.js";
|
|
34
34
|
import { A as G } from "./MUIComponents/Autocomplete.js";
|
|
@@ -51,56 +51,54 @@ import { M as _ } from "./M4LExtendedComponents/M4LButton.js";
|
|
|
51
51
|
import { M as $ } from "./M4LRHFComponents/M4LRHFAutocomplete.js";
|
|
52
52
|
import { M as e } from "./M4LRHFComponents/M4LRHFAutocompleteAsync.js";
|
|
53
53
|
import { M as h } from "./M4LExtendedComponents/M4LNavLink.js";
|
|
54
|
-
import { M as oo } from "./M4LExtendedComponents/
|
|
55
|
-
import { M as ro } from "./M4LExtendedComponents/
|
|
56
|
-
import { M as ao } from "./M4LExtendedComponents/
|
|
57
|
-
import { M as io } from "./M4LExtendedComponents/M4LAppBar.js";
|
|
54
|
+
import { M as oo } from "./M4LExtendedComponents/M4LAreasAdmin.js";
|
|
55
|
+
import { M as ro } from "./M4LExtendedComponents/M4LAreasViewer.js";
|
|
56
|
+
import { M as ao } from "./M4LExtendedComponents/M4LAppBar.js";
|
|
58
57
|
import { M as mo } from "./M4LExtendedComponents/M4LAvatar.js";
|
|
59
|
-
import { M as
|
|
60
|
-
import { M as
|
|
61
|
-
import { M as
|
|
62
|
-
import { M as
|
|
63
|
-
import { M as
|
|
64
|
-
import { M as
|
|
65
|
-
import { M as
|
|
66
|
-
import { M as
|
|
67
|
-
import { M as
|
|
68
|
-
import { M as
|
|
69
|
-
import { M as
|
|
70
|
-
import { M as
|
|
71
|
-
import { M as
|
|
72
|
-
import { M as
|
|
73
|
-
import { M as
|
|
74
|
-
import { M as
|
|
75
|
-
import { M as
|
|
76
|
-
import { M as
|
|
77
|
-
import { M as
|
|
78
|
-
import { M as
|
|
79
|
-
import { M as
|
|
80
|
-
import { M as
|
|
81
|
-
import { M as
|
|
82
|
-
import { M as
|
|
83
|
-
import { M as
|
|
84
|
-
import { M as ko } from "./M4LExtendedComponents/
|
|
85
|
-
import { M as
|
|
86
|
-
import { M as
|
|
87
|
-
import { M as
|
|
88
|
-
import { M as
|
|
89
|
-
import { M as
|
|
90
|
-
import { M as
|
|
91
|
-
import { M as
|
|
92
|
-
import { M as
|
|
93
|
-
import { M as
|
|
94
|
-
import { M as
|
|
95
|
-
import { M as
|
|
96
|
-
import { M as
|
|
97
|
-
import { M as
|
|
98
|
-
import { M as
|
|
99
|
-
import { M as
|
|
100
|
-
|
|
101
|
-
function Ua(o) {
|
|
58
|
+
import { M as io } from "./M4LExtendedComponents/M4LAccountPopover.js";
|
|
59
|
+
import { M as po } from "./M4LExtendedComponents/M4LModuleLayout.js";
|
|
60
|
+
import { M as Mo } from "./M4LExtendedComponents/M4LMasterDetailLayout.js";
|
|
61
|
+
import { M as so } from "./M4LExtendedComponents/M4LSplitLayout.js";
|
|
62
|
+
import { M as fo } from "./M4LExtendedComponents/M4LCommonActions.js";
|
|
63
|
+
import { M as to } from "./M4LRHFComponents/M4LRHFDateTime.js";
|
|
64
|
+
import { M as Lo } from "./M4LExtendedComponents/M4LinearProgressIndeterminate.js";
|
|
65
|
+
import { M as no } from "./M4LExtendedComponents/M4LPropertyValue.js";
|
|
66
|
+
import { M as lo } from "./M4LExtendedComponents/M4LTab.js";
|
|
67
|
+
import { M as co } from "./M4LExtendedComponents/M4LAccordion.js";
|
|
68
|
+
import { M as uo } from "./M4LExtendedComponents/M4LRHFormProvider.js";
|
|
69
|
+
import { M as Bo } from "./M4LRHFComponents/M4LRHFUploadImage.js";
|
|
70
|
+
import { M as go } from "./M4LExtendedComponents/M4LPeriod.js";
|
|
71
|
+
import { M as Po } from "./M4LRHFComponents/M4LRHFPeriod.js";
|
|
72
|
+
import { M as To } from "./M4LExtendedComponents/M4LModalDialog.js";
|
|
73
|
+
import { M as Ao } from "./M4LExtendedComponents/M4LPaperForm.js";
|
|
74
|
+
import { M as Co } from "./M4LExtendedComponents/M4LTooltip.js";
|
|
75
|
+
import { M as Fo } from "./M4LExtendedComponents/M4LBadge.js";
|
|
76
|
+
import { M as So } from "./M4LExtendedComponents/M4LPager.js";
|
|
77
|
+
import { M as bo } from "./M4LExtendedComponents/M4LCheckBox.js";
|
|
78
|
+
import { M as Io } from "./M4LExtendedComponents/M4LStack.js";
|
|
79
|
+
import { M as Ro } from "./M4LExtendedComponents/M4LTabs.js";
|
|
80
|
+
import { M as yo } from "./M4LExtendedComponents/M4LNoItemSelected.js";
|
|
81
|
+
import { M as Ho } from "./M4LExtendedComponents/M4LScrollBar.js";
|
|
82
|
+
import { M as vo } from "./M4LExtendedComponents/M4LGridLayout.js";
|
|
83
|
+
import { M as ko } from "./M4LExtendedComponents/M4LTabContent.js";
|
|
84
|
+
import { M as Do } from "./M4LExtendedComponents/M4LMenuActions.js";
|
|
85
|
+
import { M as xo } from "./M4LExtendedComponents/M4LPrintingSystem.js";
|
|
86
|
+
import { M as wo } from "./M4LExtendedComponents/M4LFormatter.js";
|
|
87
|
+
import { M as Go } from "./M4LExtendedComponents/M4LoadingError.js";
|
|
88
|
+
import { M as Vo } from "./M4LExtendedComponents/M4LMFLoader.js";
|
|
89
|
+
import { M as Eo } from "./M4LRHFComponents/M4LRHFColorPicker.js";
|
|
90
|
+
import { M as No } from "./M4LExtendedComponents/M4LoadingButton.js";
|
|
91
|
+
import { M as Oo } from "./M4LExtendedComponents/M4LPDFViewer.js";
|
|
92
|
+
import { M as jo } from "./M4LExtendedComponents/M4LTopBar.js";
|
|
93
|
+
import { M as Uo } from "./M4LExtendedComponents/M4LAppBarCommercial.js";
|
|
94
|
+
import { M as qo } from "./M4LExtendedComponents/M4LSectionCommercial.js";
|
|
95
|
+
import { M as zo } from "./M4LExtendedComponents/M4LHamburgerMenuCommercial.js";
|
|
96
|
+
import { M as Jo } from "./M4LExtendedComponents/M4LFieldLabel.js";
|
|
97
|
+
import { M as Ko } from "./M4LExtendedComponents/M4LMap.js";
|
|
98
|
+
import { M as Qo } from "./M4LExtendedComponents/M4LMapGpsTools.js";
|
|
99
|
+
function Ea(o) {
|
|
102
100
|
return Object.assign(
|
|
103
|
-
|
|
101
|
+
i(o),
|
|
104
102
|
// Chip(theme),
|
|
105
103
|
p(o),
|
|
106
104
|
M(o),
|
|
@@ -116,7 +114,7 @@ function Ua(o) {
|
|
|
116
114
|
g(o),
|
|
117
115
|
// Select(theme),
|
|
118
116
|
a(o),
|
|
119
|
-
|
|
117
|
+
m(o),
|
|
120
118
|
// Rating(theme),
|
|
121
119
|
r(o),
|
|
122
120
|
B(o),
|
|
@@ -134,80 +132,78 @@ function Ua(o) {
|
|
|
134
132
|
I(o),
|
|
135
133
|
H(o),
|
|
136
134
|
v(o),
|
|
137
|
-
D(o),
|
|
138
|
-
x(o),
|
|
139
135
|
k(o),
|
|
136
|
+
x(o),
|
|
137
|
+
D(o),
|
|
140
138
|
w(),
|
|
141
139
|
G(o),
|
|
142
140
|
E(o),
|
|
143
141
|
V(o),
|
|
144
142
|
N(o),
|
|
145
|
-
|
|
143
|
+
No(o),
|
|
146
144
|
/* Owner components */
|
|
147
145
|
O(),
|
|
148
146
|
U(o),
|
|
149
147
|
j(),
|
|
150
148
|
$(o),
|
|
151
149
|
e(),
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
to(o),
|
|
151
|
+
uo(),
|
|
152
|
+
Bo(o),
|
|
153
|
+
Po(),
|
|
156
154
|
q(o),
|
|
157
155
|
z(o),
|
|
158
156
|
J(),
|
|
159
157
|
K(o),
|
|
160
158
|
h(o),
|
|
161
159
|
Q(),
|
|
162
|
-
|
|
160
|
+
Fo(o),
|
|
163
161
|
W(o),
|
|
164
162
|
X(o),
|
|
165
|
-
bo(o),
|
|
166
163
|
Y(o),
|
|
167
164
|
Z(o),
|
|
168
165
|
_(o),
|
|
166
|
+
ao(o),
|
|
169
167
|
oo(o),
|
|
170
|
-
io(o),
|
|
171
168
|
ro(o),
|
|
172
|
-
ao(o),
|
|
173
169
|
mo(o),
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
io(o),
|
|
171
|
+
po(),
|
|
172
|
+
Mo(o),
|
|
176
173
|
so(o),
|
|
177
|
-
fo(
|
|
178
|
-
|
|
174
|
+
fo(),
|
|
175
|
+
Lo(o),
|
|
179
176
|
no(o),
|
|
180
177
|
lo(o),
|
|
181
178
|
co(o),
|
|
182
|
-
|
|
183
|
-
|
|
179
|
+
go(o),
|
|
180
|
+
To(o),
|
|
184
181
|
Ao(o),
|
|
185
182
|
Co(o),
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
So(o),
|
|
184
|
+
bo(o),
|
|
185
|
+
Io(),
|
|
188
186
|
Ro(o),
|
|
189
187
|
yo(),
|
|
190
188
|
Ho(o),
|
|
191
189
|
vo(),
|
|
190
|
+
ko(o),
|
|
192
191
|
Do(o),
|
|
193
|
-
ko(),
|
|
194
192
|
xo(o),
|
|
195
193
|
wo(o),
|
|
196
194
|
Go(o),
|
|
197
|
-
Vo(
|
|
195
|
+
Vo(),
|
|
198
196
|
Eo(o),
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
Uo(),
|
|
197
|
+
Oo(),
|
|
198
|
+
jo(o),
|
|
199
|
+
Uo(o),
|
|
202
200
|
qo(o),
|
|
203
|
-
zo(
|
|
201
|
+
zo(),
|
|
204
202
|
Jo(o),
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
Xo(),
|
|
208
|
-
Wo(o)
|
|
203
|
+
Qo(),
|
|
204
|
+
Ko(o)
|
|
209
205
|
);
|
|
210
206
|
}
|
|
211
207
|
export {
|
|
212
|
-
|
|
208
|
+
Ea as f
|
|
213
209
|
};
|