@m4l/styles 3.0.0 → 3.1.0
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/{config-CoeBxEZB.js → config-B8bZIPuH.js} +2 -1
- package/config.d.ts +5 -0
- package/index.d.ts +1 -1
- package/index.js +29 -28
- package/package.json +1 -1
- package/types/types.d.ts +4 -0
package/config.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Sizes } from './types';
|
|
1
2
|
export declare const muiBreakpointsValues: {
|
|
2
3
|
values: {
|
|
3
4
|
xs: number;
|
|
@@ -11,3 +12,7 @@ export declare const globalRemSize: {
|
|
|
11
12
|
mobile: number;
|
|
12
13
|
desktop: number;
|
|
13
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* Constante con el valor por defecto para las props sizes usadas en los componentes o sus derivaciones
|
|
17
|
+
*/
|
|
18
|
+
export declare const DEFAULT_SIZE: Sizes;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as
|
|
5
|
-
import { f as
|
|
6
|
-
import { B as
|
|
7
|
-
import { u as
|
|
8
|
-
import { D as
|
|
9
|
-
import { g as
|
|
1
|
+
import { D as o, g as a, m as r } from "./config-B8bZIPuH.js";
|
|
2
|
+
import { d as p } from "./theme/defaultThemeOptions-BlJvKCE6.js";
|
|
3
|
+
import { c as f, s as O } from "./theme/shadows-GTYqExFA.js";
|
|
4
|
+
import { t as n } from "./theme/typography-BsOO459U.js";
|
|
5
|
+
import { f as E } from "./theme/overrides/index-DrDgOdnk.js";
|
|
6
|
+
import { B as g, a as i, C as l, G as T, g as u, p as P } from "./theme/palette-DM0gXxA2.js";
|
|
7
|
+
import { u as d } from "./utils/useResponsive-DaeQVwlH.js";
|
|
8
|
+
import { D as A, d as L, g as B } from "./utils/getColorPresets-CXZaM9oS.js";
|
|
9
|
+
import { g as D, p as F, a as v, r as y } from "./utils/getFontValue-BEO-XID9.js";
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
g as BASE_COLORS,
|
|
12
|
+
i as BASE_OPACITY_COLORS,
|
|
13
|
+
l as COMMON_COLORS,
|
|
14
|
+
A as DEFAULT_PRESET,
|
|
15
|
+
o as DEFAULT_SIZE,
|
|
16
|
+
T as GREY_PALETTE,
|
|
17
|
+
f as createCustomShadows,
|
|
18
|
+
L as defaultPresetColors,
|
|
19
|
+
p as defaultThemeOptions,
|
|
20
|
+
E as fnComponentsOverrides,
|
|
20
21
|
B as getColorPresets,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
D as getFontValue,
|
|
23
|
+
u as getPaletteByPreset,
|
|
24
|
+
a as globalRemSize,
|
|
25
|
+
r as muiBreakpointsValues,
|
|
25
26
|
P as presetsOptions,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
F as pxToRem,
|
|
28
|
+
v as remToPx,
|
|
29
|
+
y as responsiveFontSizes,
|
|
30
|
+
O as shadows,
|
|
31
|
+
n as typography,
|
|
32
|
+
d as useResponsive
|
|
32
33
|
};
|
package/package.json
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { PaletteColor } from '@mui/material/styles';
|
|
2
|
+
/**
|
|
3
|
+
* type usado para tipar las props sizes de los componentes o sus derivaciones
|
|
4
|
+
*/
|
|
5
|
+
export declare type Sizes = 'small' | 'medium' | 'large';
|
|
2
6
|
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
3
7
|
export declare type StateColorSchema = 'info' | 'success' | 'warning' | 'error';
|
|
4
8
|
export declare type ColorSchema = 'primary' | 'secondary' | StateColorSchema;
|