@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 CHANGED
@@ -1,51 +1,51 @@
1
- import { d as f } from "./theme/defaultThemeOptions.d580f3ec.js";
2
- import { c as R, s as S } from "./theme/shadows.e0c009ff.js";
3
- import { C, E as l, G as g, I as n, O as u, P, a as T, b as d, S as A, c as E, W as N, p as b } from "./theme/palette.287635f2.js";
4
- import { t as I } from "./theme/typography.947dc33f.js";
5
- import { f as F } from "./theme/overrides/index.34ab62d3.js";
6
- import { u as v } from "./utils/useResponsive.2c45e8e0.js";
7
- import { e as z, b as G, c as L, d as M, g as U, a as y, t as D } from "./utils/getColorPresets.a96a4046.js";
8
- import { g as W } from "./utils/getColorState.18b61422.js";
9
- import { g as q, p as B, a as j, r as H } from "./utils/getFontValue.88831637.js";
10
- import { g as K, m as Q } from "./config.5405b46b.js";
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 "./theme/overrides/M4LExtendedComponents/index.ba1cc72c.js";
15
+ import "@mui/system";
16
+ import "./theme/overrides/M4LExtendedComponents/index.b30ae579.js";
17
+ import "@mui/material/useMediaQuery";
18
18
  export {
19
- C as COMMON,
20
- l as ERROR,
21
- g as GREY,
22
- n as INFO,
23
- u as OPACITYCOLORS,
24
- P as PATRONUSCOLORS,
25
- T as PRIMARY,
26
- d as SECONDARY,
27
- A as STATEDEFAULT,
28
- E as SUCCESS,
29
- N as WARNING,
30
- z as blaze,
31
- G as brown,
32
- L as colorPresets,
33
- R as createCustomShadows,
34
- M as defaultPreset,
35
- f as defaultThemeOptions,
36
- F as fnComponentsOverrides,
37
- U as getColorPresets,
38
- W as getColorState,
39
- q as getFontValue,
40
- K as globalRemSize,
41
- y as grass,
42
- Q as muiBreakpointsValues,
43
- b as palette,
44
- B as pxToRem,
45
- j as remToPx,
46
- H as responsiveFontSizes,
47
- S as shadows,
48
- D as turqui,
49
- I as typography,
50
- v as useResponsive
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "dependencies": {
@@ -1,13 +1,10 @@
1
- import "@mui/material/styles";
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 i } from "../utils/getColorState.18b61422.js";
10
- const r = o(), k = {
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
- k as d
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
+ };