@m4l/styles 7.1.3 → 7.1.5
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 +14 -14
- package/package.json +1 -1
- package/theme/index.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.js +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.js +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LButton.js +13 -13
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.js +13 -13
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPopover.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +6 -6
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.js +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTab.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTabs.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.js +14 -14
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.js +3 -3
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.js +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.js +3 -3
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.js +3 -3
- package/theme/overrides/MUIComponents/Paper.js +6 -6
- package/theme/palette/baseOpacityColors.js +2 -2
- package/theme/palette/defaultColors.d.ts +2 -2
- package/theme/palette/defaultColors.js +24 -13
- package/theme/palette/presetColors.js +119 -59
- package/theme/palette/semanticColors.js +161 -117
- package/theme/palette/tagsPalette.d.ts +13 -0
- package/theme/sizes/pointerQr.js +14 -14
- package/theme/sizes/presetSizes.js +18 -1
- package/theme/typography.d.ts +5 -2
- package/theme/typography.js +1 -1
- package/types/augmentations.d.ts +3 -1
- package/types/types.d.ts +13 -3
- package/utils/getPaletteByPreset.d.ts +36 -12
- package/utils/getPaletteByPreset.js +3 -3
|
@@ -1,154 +1,198 @@
|
|
|
1
|
-
import { B as
|
|
2
|
-
import { B as
|
|
3
|
-
const
|
|
1
|
+
import { B as t } from "./baseColors.js";
|
|
2
|
+
import { B as a } from "./baseOpacityColors.js";
|
|
3
|
+
const i = {
|
|
4
4
|
info: {
|
|
5
|
-
main:
|
|
6
|
-
lighter:
|
|
7
|
-
light:
|
|
8
|
-
dark:
|
|
9
|
-
darker:
|
|
10
|
-
contrastText:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
main: t.crayonBlue[50],
|
|
6
|
+
lighter: t.crayonBlue[70],
|
|
7
|
+
light: t.crayonBlue[60],
|
|
8
|
+
dark: t.crayonBlue[40],
|
|
9
|
+
darker: t.crayonBlue[20],
|
|
10
|
+
contrastText: t.marbleLight[30],
|
|
11
|
+
// Tone colors
|
|
12
|
+
toneOpacityLight: t.crayonBlue.toneOpacity10,
|
|
13
|
+
toneOpacityDark: t.crayonBlue.toneOpacity20,
|
|
14
|
+
// opacity backgrounds light
|
|
15
|
+
opacityHoverLight: a.crayon[10],
|
|
16
|
+
opacityFocusLight: a.crayon[20],
|
|
17
|
+
opacityActiveLight: a.crayon[30],
|
|
18
|
+
// opacity backgrounds Dark
|
|
19
|
+
opacityHoverDark: a.crayon[20],
|
|
20
|
+
opacityFocusDark: a.crayon[30],
|
|
21
|
+
opacityActiveDark: a.crayon[40]
|
|
15
22
|
},
|
|
16
23
|
warning: {
|
|
17
|
-
main:
|
|
18
|
-
lighter:
|
|
19
|
-
light:
|
|
20
|
-
dark:
|
|
21
|
-
darker:
|
|
22
|
-
contrastText:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
main: t.middleYellow[50],
|
|
25
|
+
lighter: t.middleYellow[90],
|
|
26
|
+
light: t.middleYellow[70],
|
|
27
|
+
dark: t.middleYellow[30],
|
|
28
|
+
darker: t.middleYellow[20],
|
|
29
|
+
contrastText: t.onyx[20],
|
|
30
|
+
// Tone colors
|
|
31
|
+
toneOpacityLight: t.middleYellow.toneOpacity10,
|
|
32
|
+
toneOpacityDark: t.middleYellow.toneOpacity20,
|
|
33
|
+
// opacity backgrounds light
|
|
34
|
+
opacityHoverLight: a.middle[10],
|
|
35
|
+
opacityFocusLight: a.middle[20],
|
|
36
|
+
opacityActiveLight: a.middle[30],
|
|
37
|
+
// opacity backgrounds Dark
|
|
38
|
+
opacityHoverDark: a.middle[20],
|
|
39
|
+
opacityFocusDark: a.middle[30],
|
|
40
|
+
opacityActiveDark: a.middle[40]
|
|
27
41
|
},
|
|
28
42
|
error: {
|
|
29
|
-
main:
|
|
30
|
-
lighter:
|
|
31
|
-
light:
|
|
32
|
-
dark:
|
|
33
|
-
darker:
|
|
34
|
-
contrastText:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
main: t.flameRed[50],
|
|
44
|
+
lighter: t.flameRed[70],
|
|
45
|
+
light: t.flameRed[60],
|
|
46
|
+
dark: t.flameRed[40],
|
|
47
|
+
darker: t.flameRed[20],
|
|
48
|
+
contrastText: t.marbleLight[30],
|
|
49
|
+
// Tone colors
|
|
50
|
+
toneOpacityLight: t.flameRed.toneOpacity10,
|
|
51
|
+
toneOpacityDark: t.flameRed.toneOpacity20,
|
|
52
|
+
// opacity backgrounds light
|
|
53
|
+
opacityHoverLight: a.flame[10],
|
|
54
|
+
opacityFocusLight: a.flame[20],
|
|
55
|
+
opacityActiveLight: a.flame[30],
|
|
56
|
+
// opacity backgrounds Dark
|
|
57
|
+
opacityHoverDark: a.flame[20],
|
|
58
|
+
opacityFocusDark: a.flame[30],
|
|
59
|
+
opacityActiveDark: a.flame[40]
|
|
39
60
|
},
|
|
40
61
|
success: {
|
|
41
|
-
main:
|
|
42
|
-
lighter:
|
|
43
|
-
light:
|
|
44
|
-
dark:
|
|
45
|
-
darker:
|
|
46
|
-
contrastText:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
62
|
+
main: t.acidGreen[50],
|
|
63
|
+
lighter: t.acidGreen[70],
|
|
64
|
+
light: t.acidGreen[60],
|
|
65
|
+
dark: t.acidGreen[30],
|
|
66
|
+
darker: t.acidGreen[20],
|
|
67
|
+
contrastText: t.marbleLight[20],
|
|
68
|
+
// Tone colors
|
|
69
|
+
toneOpacityLight: t.acidGreen.toneOpacity10,
|
|
70
|
+
toneOpacityDark: t.acidGreen.toneOpacity20,
|
|
71
|
+
// opacity backgrounds light
|
|
72
|
+
opacityHoverLight: a.acid[10],
|
|
73
|
+
opacityFocusLight: a.acid[20],
|
|
74
|
+
opacityActiveLight: a.acid[30],
|
|
75
|
+
// opacity backgrounds Dark
|
|
76
|
+
opacityHoverDark: a.acid[20],
|
|
77
|
+
opacityFocusDark: a.acid[30],
|
|
78
|
+
opacityActiveDark: a.acid[40]
|
|
51
79
|
}
|
|
52
80
|
}, o = {
|
|
53
81
|
info: {
|
|
54
|
-
main:
|
|
55
|
-
|
|
56
|
-
hover:
|
|
57
|
-
opacity:
|
|
58
|
-
toneOpacity:
|
|
59
|
-
contrastText:
|
|
60
|
-
hoverOpacity:
|
|
82
|
+
main: i.info.main,
|
|
83
|
+
active: i.info.lighter,
|
|
84
|
+
hover: i.info.light,
|
|
85
|
+
opacity: i.info.opacityHoverLight,
|
|
86
|
+
toneOpacity: i.info.toneOpacityLight,
|
|
87
|
+
contrastText: i.info.contrastText,
|
|
88
|
+
hoverOpacity: i.info.opacityHoverLight,
|
|
89
|
+
focusOpacity: i.info.opacityFocusLight,
|
|
90
|
+
activeOpacity: i.info.opacityActiveLight,
|
|
61
91
|
//Por compatibilidad con MUI
|
|
62
|
-
light:
|
|
63
|
-
dark:
|
|
92
|
+
light: i.info.light,
|
|
93
|
+
dark: i.info.dark
|
|
64
94
|
},
|
|
65
95
|
success: {
|
|
66
|
-
main:
|
|
67
|
-
|
|
68
|
-
hover:
|
|
69
|
-
opacity:
|
|
70
|
-
toneOpacity:
|
|
71
|
-
contrastText:
|
|
72
|
-
hoverOpacity:
|
|
96
|
+
main: i.success.main,
|
|
97
|
+
active: i.success.lighter,
|
|
98
|
+
hover: i.success.light,
|
|
99
|
+
opacity: i.success.opacityHoverLight,
|
|
100
|
+
toneOpacity: i.success.toneOpacityLight,
|
|
101
|
+
contrastText: i.success.contrastText,
|
|
102
|
+
hoverOpacity: i.success.opacityHoverLight,
|
|
103
|
+
focusOpacity: i.success.opacityFocusLight,
|
|
104
|
+
activeOpacity: i.success.opacityActiveLight,
|
|
73
105
|
//Por compatibilidad con MUI
|
|
74
|
-
light:
|
|
75
|
-
dark:
|
|
106
|
+
light: i.success.light,
|
|
107
|
+
dark: i.success.dark
|
|
76
108
|
},
|
|
77
109
|
warning: {
|
|
78
|
-
main:
|
|
79
|
-
|
|
80
|
-
hover:
|
|
81
|
-
opacity:
|
|
82
|
-
toneOpacity:
|
|
83
|
-
contrastText:
|
|
84
|
-
hoverOpacity:
|
|
110
|
+
main: i.warning.main,
|
|
111
|
+
active: i.warning.lighter,
|
|
112
|
+
hover: i.warning.light,
|
|
113
|
+
opacity: i.warning.opacityHoverLight,
|
|
114
|
+
toneOpacity: i.warning.toneOpacityLight,
|
|
115
|
+
contrastText: i.warning.contrastText,
|
|
116
|
+
hoverOpacity: i.warning.opacityHoverLight,
|
|
117
|
+
focusOpacity: i.warning.opacityFocusLight,
|
|
118
|
+
activeOpacity: i.warning.opacityActiveLight,
|
|
85
119
|
//Por compatibilidad con MUI
|
|
86
|
-
light:
|
|
87
|
-
dark:
|
|
120
|
+
light: i.warning.light,
|
|
121
|
+
dark: i.warning.dark
|
|
88
122
|
},
|
|
89
123
|
error: {
|
|
90
|
-
main:
|
|
91
|
-
|
|
92
|
-
hover:
|
|
93
|
-
opacity:
|
|
94
|
-
toneOpacity:
|
|
95
|
-
contrastText:
|
|
96
|
-
hoverOpacity:
|
|
124
|
+
main: i.error.main,
|
|
125
|
+
active: i.error.lighter,
|
|
126
|
+
hover: i.error.light,
|
|
127
|
+
opacity: i.error.opacityHoverLight,
|
|
128
|
+
toneOpacity: i.error.toneOpacityLight,
|
|
129
|
+
contrastText: i.error.contrastText,
|
|
130
|
+
hoverOpacity: i.error.opacityHoverLight,
|
|
131
|
+
focusOpacity: i.error.opacityFocusLight,
|
|
132
|
+
activeOpacity: i.error.opacityActiveLight,
|
|
97
133
|
//Por compatibilidad con MUI
|
|
98
|
-
light:
|
|
99
|
-
dark:
|
|
134
|
+
light: i.error.light,
|
|
135
|
+
dark: i.error.dark
|
|
100
136
|
}
|
|
101
|
-
},
|
|
137
|
+
}, e = {
|
|
102
138
|
info: {
|
|
103
|
-
main:
|
|
104
|
-
|
|
105
|
-
hover:
|
|
106
|
-
opacity:
|
|
107
|
-
toneOpacity:
|
|
108
|
-
contrastText:
|
|
109
|
-
hoverOpacity:
|
|
139
|
+
main: i.info.main,
|
|
140
|
+
active: i.info.darker,
|
|
141
|
+
hover: i.info.dark,
|
|
142
|
+
opacity: i.info.opacityHoverDark,
|
|
143
|
+
toneOpacity: i.info.toneOpacityDark,
|
|
144
|
+
contrastText: i.info.contrastText,
|
|
145
|
+
hoverOpacity: i.info.opacityHoverDark,
|
|
146
|
+
focusOpacity: i.info.opacityFocusDark,
|
|
147
|
+
activeOpacity: i.info.opacityActiveDark,
|
|
110
148
|
//Por compatibilidad con MUI
|
|
111
|
-
light:
|
|
112
|
-
dark:
|
|
149
|
+
light: i.info.light,
|
|
150
|
+
dark: i.info.dark
|
|
113
151
|
},
|
|
114
152
|
success: {
|
|
115
|
-
main:
|
|
116
|
-
|
|
117
|
-
hover:
|
|
118
|
-
opacity:
|
|
119
|
-
toneOpacity:
|
|
120
|
-
contrastText:
|
|
121
|
-
hoverOpacity:
|
|
153
|
+
main: i.success.main,
|
|
154
|
+
active: i.success.darker,
|
|
155
|
+
hover: i.success.dark,
|
|
156
|
+
opacity: i.success.opacityHoverDark,
|
|
157
|
+
toneOpacity: i.success.toneOpacityDark,
|
|
158
|
+
contrastText: i.success.contrastText,
|
|
159
|
+
hoverOpacity: i.success.opacityHoverDark,
|
|
160
|
+
focusOpacity: i.success.opacityFocusDark,
|
|
161
|
+
activeOpacity: i.success.opacityActiveDark,
|
|
122
162
|
//Por compatibilidad con MUI
|
|
123
|
-
light:
|
|
124
|
-
dark:
|
|
163
|
+
light: i.success.light,
|
|
164
|
+
dark: i.success.dark
|
|
125
165
|
},
|
|
126
166
|
warning: {
|
|
127
|
-
main:
|
|
128
|
-
|
|
129
|
-
hover:
|
|
130
|
-
opacity:
|
|
131
|
-
toneOpacity:
|
|
132
|
-
contrastText:
|
|
133
|
-
hoverOpacity:
|
|
167
|
+
main: i.warning.main,
|
|
168
|
+
active: i.warning.darker,
|
|
169
|
+
hover: i.warning.dark,
|
|
170
|
+
opacity: i.warning.opacityHoverDark,
|
|
171
|
+
toneOpacity: i.warning.toneOpacityDark,
|
|
172
|
+
contrastText: i.warning.contrastText,
|
|
173
|
+
hoverOpacity: i.warning.opacityHoverDark,
|
|
174
|
+
focusOpacity: i.warning.opacityFocusDark,
|
|
175
|
+
activeOpacity: i.warning.opacityActiveDark,
|
|
134
176
|
//Por compatibilidad con MUI
|
|
135
|
-
light:
|
|
136
|
-
dark:
|
|
177
|
+
light: i.warning.light,
|
|
178
|
+
dark: i.warning.dark
|
|
137
179
|
},
|
|
138
180
|
error: {
|
|
139
|
-
main:
|
|
140
|
-
|
|
141
|
-
hover:
|
|
142
|
-
opacity:
|
|
143
|
-
toneOpacity:
|
|
144
|
-
contrastText:
|
|
145
|
-
hoverOpacity:
|
|
181
|
+
main: i.error.main,
|
|
182
|
+
active: i.error.darker,
|
|
183
|
+
hover: i.error.dark,
|
|
184
|
+
opacity: i.error.opacityHoverDark,
|
|
185
|
+
toneOpacity: i.error.toneOpacityDark,
|
|
186
|
+
contrastText: i.error.contrastText,
|
|
187
|
+
hoverOpacity: i.error.opacityHoverDark,
|
|
188
|
+
focusOpacity: i.error.opacityFocusDark,
|
|
189
|
+
activeOpacity: i.error.opacityActiveDark,
|
|
146
190
|
//Por compatibilidad con MUI
|
|
147
|
-
light:
|
|
148
|
-
dark:
|
|
191
|
+
light: i.error.light,
|
|
192
|
+
dark: i.error.dark
|
|
149
193
|
}
|
|
150
194
|
};
|
|
151
195
|
export {
|
|
152
196
|
o as S,
|
|
153
|
-
|
|
197
|
+
e as a
|
|
154
198
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface TagColor {
|
|
2
|
+
contrastText: string;
|
|
3
|
+
backgroundColor: string;
|
|
4
|
+
}
|
|
5
|
+
export type TagColorOptions = 'default' | 'warning' | 'warningOpacity' | 'error' | 'errorOpacity' | 'success' | 'successOpacity' | 'info' | 'infoOpacity';
|
|
6
|
+
/**
|
|
7
|
+
* Lista de colores definidos para pintar los tags en modo light
|
|
8
|
+
*/
|
|
9
|
+
export declare const BASE_TAG_OBJECT_COLORS_LIGHT: Record<TagColorOptions, TagColor>;
|
|
10
|
+
/**
|
|
11
|
+
* Lista de colores definidos para pintar los tags en modo light
|
|
12
|
+
*/
|
|
13
|
+
export declare const BASE_TAG_OBJECT_COLORS_DARK: Record<TagColorOptions, TagColor>;
|
package/theme/sizes/pointerQr.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as a } from "./presetSizes.js";
|
|
2
|
-
const
|
|
1
|
+
import { P as a, a as e } from "./presetSizes.js";
|
|
2
|
+
const i = {
|
|
3
3
|
small: {
|
|
4
4
|
base: a.base.small,
|
|
5
5
|
action: a.action.small,
|
|
@@ -15,24 +15,24 @@ const n = {
|
|
|
15
15
|
action: a.action.large,
|
|
16
16
|
container: a.container.large
|
|
17
17
|
}
|
|
18
|
-
},
|
|
18
|
+
}, o = {
|
|
19
19
|
small: {
|
|
20
|
-
base:
|
|
21
|
-
action:
|
|
22
|
-
container:
|
|
20
|
+
base: e.base.small,
|
|
21
|
+
action: e.action.small,
|
|
22
|
+
container: e.container.small
|
|
23
23
|
},
|
|
24
24
|
medium: {
|
|
25
|
-
base:
|
|
26
|
-
action:
|
|
27
|
-
container:
|
|
25
|
+
base: e.base.medium,
|
|
26
|
+
action: e.action.medium,
|
|
27
|
+
container: e.container.medium
|
|
28
28
|
},
|
|
29
29
|
large: {
|
|
30
|
-
base:
|
|
31
|
-
action:
|
|
32
|
-
container:
|
|
30
|
+
base: e.base.large,
|
|
31
|
+
action: e.action.large,
|
|
32
|
+
container: e.container.large
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
i as P,
|
|
37
|
+
o as a
|
|
38
38
|
};
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { B as s } from "./baseSizes.js";
|
|
2
2
|
const m = {
|
|
3
|
+
base: {
|
|
4
|
+
small: s.sp5,
|
|
5
|
+
medium: s.sp6,
|
|
6
|
+
large: s.sp7
|
|
7
|
+
},
|
|
8
|
+
action: {
|
|
9
|
+
small: s.sp7,
|
|
10
|
+
medium: s.sp8,
|
|
11
|
+
large: s.sp9
|
|
12
|
+
},
|
|
13
|
+
container: {
|
|
14
|
+
small: s.sp9,
|
|
15
|
+
medium: s.sp10,
|
|
16
|
+
large: s.sp11
|
|
17
|
+
}
|
|
18
|
+
}, p = {
|
|
3
19
|
base: {
|
|
4
20
|
small: s["sp3-5"],
|
|
5
21
|
medium: s.sp4,
|
|
@@ -17,5 +33,6 @@ const m = {
|
|
|
17
33
|
}
|
|
18
34
|
};
|
|
19
35
|
export {
|
|
20
|
-
|
|
36
|
+
p as P,
|
|
37
|
+
m as a
|
|
21
38
|
};
|
package/theme/typography.d.ts
CHANGED
|
@@ -4,7 +4,10 @@ export type FontProps = {
|
|
|
4
4
|
lineHeight: string;
|
|
5
5
|
letterSpacing: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Listas de variantes de tipografía disponibles para la aplicación web.
|
|
9
|
+
*/
|
|
10
|
+
export type M4LTypographyVariants = 'h1' | 'h2' | 'h3' | 'h5' | 'subtitle' | 'subtitleDens' | 'paragraph' | 'paragraphDens' | 'body' | 'bodyDens';
|
|
8
11
|
export interface TypographyVariants {
|
|
9
12
|
subtitle: FontProps;
|
|
10
13
|
subtitleDens: FontProps;
|
|
@@ -15,7 +18,7 @@ export interface TypographyVariants {
|
|
|
15
18
|
action: FontProps;
|
|
16
19
|
}
|
|
17
20
|
export declare const typography: {
|
|
18
|
-
readonly fontFamily: "Segoe UI, Poppins, sans-serif";
|
|
21
|
+
readonly fontFamily: "Inter, Segoe UI, Poppins, sans-serif";
|
|
19
22
|
readonly fontWeightRegular: 400;
|
|
20
23
|
readonly fontWeightMedium: 600;
|
|
21
24
|
readonly fontWeightBold: 700;
|
package/theme/typography.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createTheme as i } from "@mui/material";
|
|
2
2
|
import { a as e, p as t } from "../utils/getFontValue.js";
|
|
3
|
-
const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
3
|
+
const n = "Inter, Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
4
4
|
...g.typography,
|
|
5
5
|
fontFamily: n,
|
|
6
6
|
fontWeightRegular: 400,
|
package/types/augmentations.d.ts
CHANGED
|
@@ -23,10 +23,12 @@ declare module '@mui/material/styles' {
|
|
|
23
23
|
// dark: string; *** Por compatibilidad con MUI
|
|
24
24
|
// contrastText: string; ***
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
active: string;
|
|
27
27
|
focusVisible: string;
|
|
28
28
|
hover: string;
|
|
29
29
|
hoverOpacity: string;
|
|
30
|
+
activeOpacity: string;
|
|
31
|
+
focusOpacity: string;
|
|
30
32
|
opacity: string;
|
|
31
33
|
toneOpacity: string;
|
|
32
34
|
}
|
package/types/types.d.ts
CHANGED
|
@@ -51,10 +51,20 @@ export interface PresetColor {
|
|
|
51
51
|
lighter: string;
|
|
52
52
|
toneOpacityLight: string;
|
|
53
53
|
/**
|
|
54
|
-
* Permite definir fondos de componentes en estados hover
|
|
54
|
+
* Permite definir fondos de componentes en estados hover dependiendo del modo de la aplicación web.
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
opacityHoverLight: string;
|
|
57
|
+
opacityHoverDark: string;
|
|
58
|
+
/**
|
|
59
|
+
* Permite definir fondos de componentes en estados focus dependiendo del modo de la aplicación web.
|
|
60
|
+
*/
|
|
61
|
+
opacityFocusLight: string;
|
|
62
|
+
opacityFocusDark: string;
|
|
63
|
+
/**
|
|
64
|
+
* Permite definir fondos de componentes en estados active dependiendo del modo de la aplicación web.
|
|
65
|
+
*/
|
|
66
|
+
opacityActiveLight: string;
|
|
67
|
+
opacityActiveDark: string;
|
|
58
68
|
dark: string;
|
|
59
69
|
darker: string;
|
|
60
70
|
toneOpacityDark: string;
|
|
@@ -15,10 +15,12 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
15
15
|
readonly main: string;
|
|
16
16
|
readonly dark: string;
|
|
17
17
|
readonly contrastText: string;
|
|
18
|
-
readonly
|
|
18
|
+
readonly active: string;
|
|
19
19
|
readonly focusVisible: string;
|
|
20
20
|
readonly hover: string;
|
|
21
21
|
readonly hoverOpacity: string;
|
|
22
|
+
readonly activeOpacity: string;
|
|
23
|
+
readonly focusOpacity: string;
|
|
22
24
|
readonly opacity: string;
|
|
23
25
|
readonly toneOpacity: string;
|
|
24
26
|
};
|
|
@@ -28,9 +30,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
28
30
|
readonly light: string;
|
|
29
31
|
readonly dark: string;
|
|
30
32
|
readonly main: string;
|
|
31
|
-
readonly
|
|
33
|
+
readonly active: string;
|
|
32
34
|
readonly hover: string;
|
|
33
35
|
readonly hoverOpacity: string;
|
|
36
|
+
readonly activeOpacity: string;
|
|
37
|
+
readonly focusOpacity: string;
|
|
34
38
|
readonly opacity: string;
|
|
35
39
|
readonly toneOpacity: string;
|
|
36
40
|
};
|
|
@@ -70,9 +74,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
70
74
|
readonly dark: string;
|
|
71
75
|
readonly main: string;
|
|
72
76
|
readonly contrastText: string;
|
|
73
|
-
readonly
|
|
77
|
+
readonly active: string;
|
|
74
78
|
readonly hover: string;
|
|
75
79
|
readonly hoverOpacity: string;
|
|
80
|
+
readonly activeOpacity: string;
|
|
81
|
+
readonly focusOpacity: string;
|
|
76
82
|
readonly opacity: string;
|
|
77
83
|
readonly toneOpacity: string;
|
|
78
84
|
};
|
|
@@ -82,9 +88,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
82
88
|
readonly dark: string;
|
|
83
89
|
readonly main: string;
|
|
84
90
|
readonly contrastText: string;
|
|
85
|
-
readonly
|
|
91
|
+
readonly active: string;
|
|
86
92
|
readonly hover: string;
|
|
87
93
|
readonly hoverOpacity: string;
|
|
94
|
+
readonly activeOpacity: string;
|
|
95
|
+
readonly focusOpacity: string;
|
|
88
96
|
readonly opacity: string;
|
|
89
97
|
readonly toneOpacity: string;
|
|
90
98
|
};
|
|
@@ -94,9 +102,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
94
102
|
readonly dark: string;
|
|
95
103
|
readonly main: string;
|
|
96
104
|
readonly contrastText: string;
|
|
97
|
-
readonly
|
|
105
|
+
readonly active: string;
|
|
98
106
|
readonly hover: string;
|
|
99
107
|
readonly hoverOpacity: string;
|
|
108
|
+
readonly activeOpacity: string;
|
|
109
|
+
readonly focusOpacity: string;
|
|
100
110
|
readonly opacity: string;
|
|
101
111
|
readonly toneOpacity: string;
|
|
102
112
|
};
|
|
@@ -106,9 +116,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
106
116
|
readonly dark: string;
|
|
107
117
|
readonly main: string;
|
|
108
118
|
readonly contrastText: string;
|
|
109
|
-
readonly
|
|
119
|
+
readonly active: string;
|
|
110
120
|
readonly hover: string;
|
|
111
121
|
readonly hoverOpacity: string;
|
|
122
|
+
readonly activeOpacity: string;
|
|
123
|
+
readonly focusOpacity: string;
|
|
112
124
|
readonly opacity: string;
|
|
113
125
|
readonly toneOpacity: string;
|
|
114
126
|
};
|
|
@@ -121,10 +133,12 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
121
133
|
readonly main: string;
|
|
122
134
|
readonly dark: string;
|
|
123
135
|
readonly contrastText: string;
|
|
124
|
-
readonly
|
|
136
|
+
readonly active: string;
|
|
125
137
|
readonly focusVisible: string;
|
|
126
138
|
readonly hover: string;
|
|
127
139
|
readonly hoverOpacity: string;
|
|
140
|
+
readonly activeOpacity: string;
|
|
141
|
+
readonly focusOpacity: string;
|
|
128
142
|
readonly opacity: string;
|
|
129
143
|
readonly toneOpacity: string;
|
|
130
144
|
};
|
|
@@ -134,9 +148,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
134
148
|
readonly light: string;
|
|
135
149
|
readonly dark: string;
|
|
136
150
|
readonly main: string;
|
|
137
|
-
readonly
|
|
151
|
+
readonly active: string;
|
|
138
152
|
readonly hover: string;
|
|
139
153
|
readonly hoverOpacity: string;
|
|
154
|
+
readonly activeOpacity: string;
|
|
155
|
+
readonly focusOpacity: string;
|
|
140
156
|
readonly opacity: string;
|
|
141
157
|
readonly toneOpacity: string;
|
|
142
158
|
};
|
|
@@ -176,9 +192,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
176
192
|
readonly dark: string;
|
|
177
193
|
readonly main: string;
|
|
178
194
|
readonly contrastText: string;
|
|
179
|
-
readonly
|
|
195
|
+
readonly active: string;
|
|
180
196
|
readonly hover: string;
|
|
181
197
|
readonly hoverOpacity: string;
|
|
198
|
+
readonly activeOpacity: string;
|
|
199
|
+
readonly focusOpacity: string;
|
|
182
200
|
readonly opacity: string;
|
|
183
201
|
readonly toneOpacity: string;
|
|
184
202
|
};
|
|
@@ -188,9 +206,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
188
206
|
readonly dark: string;
|
|
189
207
|
readonly main: string;
|
|
190
208
|
readonly contrastText: string;
|
|
191
|
-
readonly
|
|
209
|
+
readonly active: string;
|
|
192
210
|
readonly hover: string;
|
|
193
211
|
readonly hoverOpacity: string;
|
|
212
|
+
readonly activeOpacity: string;
|
|
213
|
+
readonly focusOpacity: string;
|
|
194
214
|
readonly opacity: string;
|
|
195
215
|
readonly toneOpacity: string;
|
|
196
216
|
};
|
|
@@ -200,9 +220,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
200
220
|
readonly dark: string;
|
|
201
221
|
readonly main: string;
|
|
202
222
|
readonly contrastText: string;
|
|
203
|
-
readonly
|
|
223
|
+
readonly active: string;
|
|
204
224
|
readonly hover: string;
|
|
205
225
|
readonly hoverOpacity: string;
|
|
226
|
+
readonly activeOpacity: string;
|
|
227
|
+
readonly focusOpacity: string;
|
|
206
228
|
readonly opacity: string;
|
|
207
229
|
readonly toneOpacity: string;
|
|
208
230
|
};
|
|
@@ -212,9 +234,11 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
212
234
|
readonly dark: string;
|
|
213
235
|
readonly main: string;
|
|
214
236
|
readonly contrastText: string;
|
|
215
|
-
readonly
|
|
237
|
+
readonly active: string;
|
|
216
238
|
readonly hover: string;
|
|
217
239
|
readonly hoverOpacity: string;
|
|
240
|
+
readonly activeOpacity: string;
|
|
241
|
+
readonly focusOpacity: string;
|
|
218
242
|
readonly opacity: string;
|
|
219
243
|
readonly toneOpacity: string;
|
|
220
244
|
};
|
|
@@ -4,7 +4,7 @@ import { C as c } from "../theme/palette/commonColors.js";
|
|
|
4
4
|
import { G as d } from "../theme/palette/greyPalette.js";
|
|
5
5
|
import { S as s, a } from "../theme/palette/semanticColors.js";
|
|
6
6
|
import { B as o } from "../theme/palette/baseOpacityColors.js";
|
|
7
|
-
import {
|
|
7
|
+
import { B as f, a as u } from "../theme/palette/defaultColors.js";
|
|
8
8
|
const t = {
|
|
9
9
|
light: {
|
|
10
10
|
scrollBar: "#5663763D",
|
|
@@ -14,7 +14,7 @@ const t = {
|
|
|
14
14
|
scrollBar: "#5663765D",
|
|
15
15
|
gridHover: "#282E2E"
|
|
16
16
|
}
|
|
17
|
-
},
|
|
17
|
+
}, p = (l) => {
|
|
18
18
|
const i = m?.[l], e = b?.[l];
|
|
19
19
|
return {
|
|
20
20
|
light: {
|
|
@@ -141,5 +141,5 @@ const t = {
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
export {
|
|
144
|
-
|
|
144
|
+
p as g
|
|
145
145
|
};
|