@m4l/styles 1.0.6 → 1.0.7
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 +46 -46
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.d580f3ec.js → defaultThemeOptions.cc70c82e.js} +5 -8
- package/theme/index.34d0fdea.js +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LMap.d.ts +260 -0
- package/theme/overrides/M4LExtendedComponents/M4LMapGpsTools.d.ts +57 -0
- package/theme/overrides/M4LExtendedComponents/{index.ba1cc72c.js → index.b30ae579.js} +410 -108
- package/theme/overrides/{index.34ab62d3.js → index.3f4073e8.js} +12 -10
- package/theme/overrides/index.d.ts +1 -1
- package/theme/{typography.947dc33f.js → typography.616cfe0c.js} +24 -31
- package/types/augmentations.d.ts +144 -144
- package/types/types.d.ts +24 -24
- package/utils/{getColorState.18b61422.js → getColorState.7cbf2219.js} +4 -9
- package/vite-env.d.ts +3 -3
- package/theme/index.16e25179.js +0 -7
package/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { f as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
10
|
-
import { g as K,
|
|
11
|
-
import "@mui/material/styles";
|
|
12
|
-
import "@mui/material/useMediaQuery";
|
|
13
|
-
import "@mui/system";
|
|
1
|
+
import { g as f, m as O } from "./config.5405b46b.js";
|
|
2
|
+
import { d as S } from "./theme/defaultThemeOptions.cc70c82e.js";
|
|
3
|
+
import { c as C, s as l } from "./theme/shadows.e0c009ff.js";
|
|
4
|
+
import { t as n } from "./theme/typography.616cfe0c.js";
|
|
5
|
+
import { f as P } from "./theme/overrides/index.3f4073e8.js";
|
|
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
|
+
import { u as G } from "./utils/useResponsive.2c45e8e0.js";
|
|
8
|
+
import { g as M } from "./utils/getColorState.7cbf2219.js";
|
|
9
|
+
import { e as y, b as D, c as V, d as W, g as k, a as q, t as B } from "./utils/getColorPresets.a96a4046.js";
|
|
10
|
+
import { g as H, p as J, a as K, r as Q } from "./utils/getFontValue.88831637.js";
|
|
14
11
|
import "@mui/material";
|
|
12
|
+
import "@mui/material/styles";
|
|
15
13
|
import "./theme/overrides/MUIComponents/index.5c43e3b5.js";
|
|
16
14
|
import "./theme/overrides/M4LRHFComponents/index.3599b255.js";
|
|
17
|
-
import "
|
|
15
|
+
import "@mui/system";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.b30ae579.js";
|
|
17
|
+
import "@mui/material/useMediaQuery";
|
|
18
18
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
19
|
+
d as COMMON,
|
|
20
|
+
A as ERROR,
|
|
21
|
+
E as GREY,
|
|
22
|
+
N as INFO,
|
|
23
|
+
b as OPACITYCOLORS,
|
|
24
|
+
c as PATRONUSCOLORS,
|
|
25
|
+
I as PRIMARY,
|
|
26
|
+
h as SECONDARY,
|
|
27
|
+
F as STATEDEFAULT,
|
|
28
|
+
Y as SUCCESS,
|
|
29
|
+
v as WARNING,
|
|
30
|
+
y as blaze,
|
|
31
|
+
D as brown,
|
|
32
|
+
V as colorPresets,
|
|
33
|
+
C as createCustomShadows,
|
|
34
|
+
W as defaultPreset,
|
|
35
|
+
S as defaultThemeOptions,
|
|
36
|
+
P as fnComponentsOverrides,
|
|
37
|
+
k as getColorPresets,
|
|
38
|
+
M as getColorState,
|
|
39
|
+
H as getFontValue,
|
|
40
|
+
f as globalRemSize,
|
|
41
|
+
q as grass,
|
|
42
|
+
O as muiBreakpointsValues,
|
|
43
|
+
w as palette,
|
|
44
|
+
J as pxToRem,
|
|
45
|
+
K as remToPx,
|
|
46
|
+
Q as responsiveFontSizes,
|
|
47
|
+
l as shadows,
|
|
48
|
+
B as turqui,
|
|
49
|
+
n as typography,
|
|
50
|
+
G as useResponsive
|
|
51
51
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "@mui/material/useMediaQuery";
|
|
3
|
-
import { g as t } from "../utils/getColorPresets.a96a4046.js";
|
|
4
|
-
import "@mui/system";
|
|
5
|
-
import { t as a } from "./typography.947dc33f.js";
|
|
1
|
+
import { t as a } from "./typography.616cfe0c.js";
|
|
6
2
|
import { p as e } from "./palette.287635f2.js";
|
|
7
3
|
import { createTheme as o, alpha as s } from "@mui/material";
|
|
8
4
|
import { s as p, c as m } from "./shadows.e0c009ff.js";
|
|
9
|
-
import { g as
|
|
10
|
-
|
|
5
|
+
import { g as t } from "../utils/getColorPresets.a96a4046.js";
|
|
6
|
+
import { g as i } from "../utils/getColorState.7cbf2219.js";
|
|
7
|
+
const r = o(), f = {
|
|
11
8
|
...r,
|
|
12
9
|
typography: a,
|
|
13
10
|
palette: {
|
|
@@ -30,5 +27,5 @@ const r = o(), k = {
|
|
|
30
27
|
stretch: !0
|
|
31
28
|
};
|
|
32
29
|
export {
|
|
33
|
-
|
|
30
|
+
f as d
|
|
34
31
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const M4LMap: (theme: Theme) => {
|
|
3
|
+
M4LMap: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
'&.M4LMap-root': {
|
|
6
|
+
width: string;
|
|
7
|
+
height: string;
|
|
8
|
+
flexGrow: string;
|
|
9
|
+
overflow: string;
|
|
10
|
+
position: string;
|
|
11
|
+
'& .M4LMap-topLeftToolsRoot': {
|
|
12
|
+
display: string;
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Control superior derecho
|
|
17
|
+
*/
|
|
18
|
+
'& .M4LMap-topRigthToolsRoot': {
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
display: string;
|
|
21
|
+
right: number;
|
|
22
|
+
position: string;
|
|
23
|
+
/**
|
|
24
|
+
* Zoom buttons
|
|
25
|
+
*/
|
|
26
|
+
'& .M4LMap-zoomButtons': {
|
|
27
|
+
display: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Marcas
|
|
32
|
+
*/
|
|
33
|
+
'& .M4LMap-markerLayerRoot': {};
|
|
34
|
+
'& .M4LMap-markerLayerIcon': {
|
|
35
|
+
transformOrigin: string;
|
|
36
|
+
justifyContent: string;
|
|
37
|
+
top: number;
|
|
38
|
+
left: number;
|
|
39
|
+
filter: string;
|
|
40
|
+
display: string;
|
|
41
|
+
alignItems: string;
|
|
42
|
+
' > img ': {
|
|
43
|
+
height: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
'& .M4LMap-featureLabel': {
|
|
47
|
+
position: string;
|
|
48
|
+
display: string;
|
|
49
|
+
transformOrigin: string;
|
|
50
|
+
fontSize: string;
|
|
51
|
+
borderRadius: string;
|
|
52
|
+
maxWidth: string;
|
|
53
|
+
fontWeight: string;
|
|
54
|
+
padding: string;
|
|
55
|
+
opacity: string;
|
|
56
|
+
filter: string;
|
|
57
|
+
whiteSpace: string;
|
|
58
|
+
overflow: string;
|
|
59
|
+
textOverflow: string;
|
|
60
|
+
};
|
|
61
|
+
'& .M4LMap-meaureToolRoot': {
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
height: string;
|
|
64
|
+
width: string;
|
|
65
|
+
};
|
|
66
|
+
'& .M4LMap-measureToolFormValue': {
|
|
67
|
+
justifyContent: string;
|
|
68
|
+
};
|
|
69
|
+
'& .M4LMap-measureToolFormValueDistance': {
|
|
70
|
+
border: string;
|
|
71
|
+
margin: string;
|
|
72
|
+
fontWeight: number;
|
|
73
|
+
fontSize: string;
|
|
74
|
+
};
|
|
75
|
+
'& .M4LMap-measureMarkerRoot': {
|
|
76
|
+
'--color': string;
|
|
77
|
+
};
|
|
78
|
+
'& .M4LMap-measureMarkerContainer': {
|
|
79
|
+
position: string;
|
|
80
|
+
cursor: string;
|
|
81
|
+
};
|
|
82
|
+
'& .M4LMap-measureMarkerContainerRhomb': {
|
|
83
|
+
position: string;
|
|
84
|
+
filter: string;
|
|
85
|
+
width: string;
|
|
86
|
+
height: string;
|
|
87
|
+
borderRadius: string;
|
|
88
|
+
border: string;
|
|
89
|
+
backgroundColor: string;
|
|
90
|
+
transform: string;
|
|
91
|
+
};
|
|
92
|
+
'& .M4LMap-measureMarkerContainerSlot': {
|
|
93
|
+
position: string;
|
|
94
|
+
background: string;
|
|
95
|
+
borderRadius: string;
|
|
96
|
+
overflow: string;
|
|
97
|
+
top: string;
|
|
98
|
+
left: string;
|
|
99
|
+
width: string;
|
|
100
|
+
height: string;
|
|
101
|
+
};
|
|
102
|
+
'& .M4LMap-measureMarkerContainerSlotNumber': {
|
|
103
|
+
fontSize: string;
|
|
104
|
+
fontWeight: string;
|
|
105
|
+
textAlign: string;
|
|
106
|
+
marginTop: string;
|
|
107
|
+
color: string;
|
|
108
|
+
};
|
|
109
|
+
'& .M4LMap-measureLabelMarkerRoot': {
|
|
110
|
+
'--color': string;
|
|
111
|
+
};
|
|
112
|
+
'& .M4LMap-measureLabelMarkerContainer': {
|
|
113
|
+
backgroundColor: string;
|
|
114
|
+
border: string;
|
|
115
|
+
color: string;
|
|
116
|
+
width: string;
|
|
117
|
+
marginLeft: string;
|
|
118
|
+
marginTop: string;
|
|
119
|
+
};
|
|
120
|
+
'& .M4LMap-measureLabelMarkerDistance': {
|
|
121
|
+
color: string;
|
|
122
|
+
};
|
|
123
|
+
'& .M4LMap-measureLabelMarkerRemove': {
|
|
124
|
+
color: string;
|
|
125
|
+
};
|
|
126
|
+
'& .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow': {
|
|
127
|
+
'-webkit-transition': string;
|
|
128
|
+
'-moz-transition': string;
|
|
129
|
+
'-o-transition': string;
|
|
130
|
+
transition: string;
|
|
131
|
+
};
|
|
132
|
+
'& .leaflet-cluster-spider-leg': {
|
|
133
|
+
'-webkit-transition': string;
|
|
134
|
+
'-moz-transition': string;
|
|
135
|
+
'-o-transition': string;
|
|
136
|
+
transition: string;
|
|
137
|
+
};
|
|
138
|
+
'& .marker-cluster-small': {
|
|
139
|
+
backgroundColor: string;
|
|
140
|
+
};
|
|
141
|
+
'& .marker-cluster-small div': {
|
|
142
|
+
backgroundColor: string;
|
|
143
|
+
};
|
|
144
|
+
'& .marker-cluster-medium': {
|
|
145
|
+
backgroundColor: string;
|
|
146
|
+
};
|
|
147
|
+
'& .marker-cluster-medium div': {
|
|
148
|
+
backgroundColor: string;
|
|
149
|
+
};
|
|
150
|
+
'& .marker-cluster-large': {
|
|
151
|
+
backgroundColor: string;
|
|
152
|
+
};
|
|
153
|
+
'& .marker-cluster-large div': {
|
|
154
|
+
backgroundColor: string;
|
|
155
|
+
};
|
|
156
|
+
'& .leaflet-oldie .marker-cluster-small': {
|
|
157
|
+
backgroundColor: string;
|
|
158
|
+
};
|
|
159
|
+
'& .leaflet-oldie .marker-cluster-small div': {
|
|
160
|
+
backgroundColor: string;
|
|
161
|
+
};
|
|
162
|
+
'& .leaflet-oldie .marker-cluster-medium': {
|
|
163
|
+
backgroundColor: string;
|
|
164
|
+
};
|
|
165
|
+
'& .leaflet-oldie .marker-cluster-medium div': {
|
|
166
|
+
backgroundColor: string;
|
|
167
|
+
};
|
|
168
|
+
'& .leaflet-oldie .marker-cluster-large': {
|
|
169
|
+
backgroundColor: string;
|
|
170
|
+
};
|
|
171
|
+
'& .leaflet-oldie .marker-cluster-large div': {
|
|
172
|
+
backgroundColor: string;
|
|
173
|
+
};
|
|
174
|
+
'& .marker-cluster': {
|
|
175
|
+
backgroundClip: string;
|
|
176
|
+
borderRadius: string;
|
|
177
|
+
};
|
|
178
|
+
'& .marker-cluster div': {
|
|
179
|
+
width: string;
|
|
180
|
+
height: string;
|
|
181
|
+
marginLeft: string;
|
|
182
|
+
marginTop: string;
|
|
183
|
+
textAlign: string;
|
|
184
|
+
borderRadius: string;
|
|
185
|
+
font: string;
|
|
186
|
+
};
|
|
187
|
+
'& .marker-cluster span': {
|
|
188
|
+
lineHeight: string;
|
|
189
|
+
};
|
|
190
|
+
'& .xxxxx': {
|
|
191
|
+
color: string;
|
|
192
|
+
'& .M4LIcon-root .M4LIcon-icon': {
|
|
193
|
+
backgroundColor: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
'& .leaflet-control-scale-line': {
|
|
197
|
+
color: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
M4LMapMapSources: {
|
|
203
|
+
styleOverrides: {
|
|
204
|
+
'&.M4LMap-mapSourcesPopoverRoot': {
|
|
205
|
+
mt: number;
|
|
206
|
+
ml: number;
|
|
207
|
+
'& .MuiPaper-root': {
|
|
208
|
+
backgroundColor: string;
|
|
209
|
+
width: string;
|
|
210
|
+
height: number;
|
|
211
|
+
};
|
|
212
|
+
'& .M4LMap-mapSourcesRoot': {
|
|
213
|
+
postion: string;
|
|
214
|
+
height: string;
|
|
215
|
+
'& .M4LMap-mapSourcesOption': {
|
|
216
|
+
display: string;
|
|
217
|
+
'& .M4LMap-mapSourcesOptionIconLabel': {
|
|
218
|
+
display: string;
|
|
219
|
+
};
|
|
220
|
+
'& .M4LMap-mapSourcesOptionRoadOptions': {
|
|
221
|
+
display: string;
|
|
222
|
+
'& .M4LMap-mapSourcesOptionRoadOptionsCheck': {
|
|
223
|
+
display: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
M4LMapLayers: {
|
|
232
|
+
styleOverrides: {
|
|
233
|
+
'&.M4LMap-layersPopoverRoot': {
|
|
234
|
+
mt: number;
|
|
235
|
+
ml: number;
|
|
236
|
+
'& .MuiPaper-root': {
|
|
237
|
+
backgroundColor: string;
|
|
238
|
+
width: string;
|
|
239
|
+
height: number;
|
|
240
|
+
};
|
|
241
|
+
'& .M4LMap-mapSourcesRoot': {
|
|
242
|
+
postion: string;
|
|
243
|
+
height: string;
|
|
244
|
+
'& .M4LMap-mapSourcesOption': {
|
|
245
|
+
display: string;
|
|
246
|
+
'& .M4LMap-mapSourcesOptionIconLabel': {
|
|
247
|
+
display: string;
|
|
248
|
+
};
|
|
249
|
+
'& .M4LMap-mapSourcesOptionRoadOptions': {
|
|
250
|
+
display: string;
|
|
251
|
+
'& .M4LMap-mapSourcesOptionRoadOptionsCheck': {
|
|
252
|
+
display: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const M4LMapGpsTools: (_theme: Theme) => {
|
|
3
|
+
M4LMapGpsTools: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
'&.M4LMapGpsTools-gpsToolsRoot': {
|
|
6
|
+
position: string;
|
|
7
|
+
display: string;
|
|
8
|
+
flexDirection: string;
|
|
9
|
+
flexGrow: number;
|
|
10
|
+
width: string;
|
|
11
|
+
height: string;
|
|
12
|
+
'& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden': {
|
|
13
|
+
display: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
M4LMapGpsToolsGeofencesList: {
|
|
19
|
+
styleOverrides: {
|
|
20
|
+
'&.M4LMapGpsTools-gpsToolsGeofencesList': {
|
|
21
|
+
padding: string;
|
|
22
|
+
position: string;
|
|
23
|
+
flexGrow: number;
|
|
24
|
+
width: string;
|
|
25
|
+
'& .M4LDataGrid-root': {
|
|
26
|
+
height: string;
|
|
27
|
+
flexGrow: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
M4LMapGpsToolsGeofencesAddEdit: {
|
|
33
|
+
styleOverrides: {
|
|
34
|
+
'&.M4LMapGpsTools-gpsToolsGeofencesAddEdit': {
|
|
35
|
+
height: string;
|
|
36
|
+
'& .M4LMapGpsTools-gpsToolsGeofencesAddEditContent': {
|
|
37
|
+
overflow: string;
|
|
38
|
+
display: string;
|
|
39
|
+
flexDirection: string;
|
|
40
|
+
flexGrow: number;
|
|
41
|
+
'& .M4LMapGpsTools-gpsToolsTabContent': {
|
|
42
|
+
padding: string;
|
|
43
|
+
overflow: string;
|
|
44
|
+
};
|
|
45
|
+
'& .M4LMapGpsTools-gpsToolsGeofencesAddEditDrawFinishContainer': {
|
|
46
|
+
display: string;
|
|
47
|
+
minWidth: string;
|
|
48
|
+
marginTop: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
'& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden': {
|
|
52
|
+
display: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|