@m4l/styles 7.1.31 → 7.1.33
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,63 +1,65 @@
|
|
|
1
|
-
import { D as
|
|
1
|
+
import { D as s, g as e, m as a } from "./config.js";
|
|
2
2
|
import { c as E, s as S } from "./theme/shadows.js";
|
|
3
|
-
import { f as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
3
|
+
import { f as p } from "./theme/overrides/index.js";
|
|
4
|
+
import { B as T } from "./theme/palette/baseColors.js";
|
|
5
|
+
import { B as R } from "./theme/palette/baseOpacityColors.js";
|
|
6
6
|
import { C as P } from "./theme/palette/commonColors.js";
|
|
7
7
|
import { G as A } from "./theme/palette/greyPalette.js";
|
|
8
|
-
import { P as
|
|
9
|
-
import { a as
|
|
10
|
-
import { P as
|
|
11
|
-
import { P as
|
|
12
|
-
import { B as
|
|
13
|
-
import { B as
|
|
14
|
-
import { B as
|
|
15
|
-
import { B as
|
|
16
|
-
import { T as
|
|
17
|
-
import { a as
|
|
18
|
-
import { t as
|
|
19
|
-
import { P as
|
|
20
|
-
import { u as
|
|
21
|
-
import { D as
|
|
22
|
-
import { p as
|
|
23
|
-
import { g as
|
|
24
|
-
import { g as
|
|
25
|
-
import { g as
|
|
8
|
+
import { P as B, b as I, a as L, p as G } from "./theme/palette/presetColors.js";
|
|
9
|
+
import { a as i, B as l } from "./theme/palette/baseChipsPalette.js";
|
|
10
|
+
import { P as Y } from "./theme/palette/defaultColors.js";
|
|
11
|
+
import { P as H } from "./theme/palette/semanticColors.js";
|
|
12
|
+
import { B as N } from "./theme/typography/baseFontSize.js";
|
|
13
|
+
import { B as u } from "./theme/typography/baseLetterSpacing.js";
|
|
14
|
+
import { B as F } from "./theme/typography/baseLineHeight.js";
|
|
15
|
+
import { B as K } from "./theme/typography/baseWeight.js";
|
|
16
|
+
import { T as v } from "./theme/typography/typography.js";
|
|
17
|
+
import { a as b, T as c } from "./theme/typography/typographySizes.js";
|
|
18
|
+
import { t as z } from "./theme/typographyOld.js";
|
|
19
|
+
import { P as Q, a as k } from "./theme/sizes/pointerQr.js";
|
|
20
|
+
import { u as W } from "./utils/useResponsive.js";
|
|
21
|
+
import { D as q, d as X, g as $ } from "./utils/getColorPresets.js";
|
|
22
|
+
import { p as ro, r as so, a as eo } from "./utils/getFontValue.js";
|
|
23
|
+
import { g as to } from "./utils/getColorState.js";
|
|
24
|
+
import { g as So } from "./utils/getPaletteByPreset.js";
|
|
25
|
+
import { g as po } from "./utils/getUserThemeOptions.js";
|
|
26
26
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
T as BASE_COLORS,
|
|
28
|
+
N as BASE_FONT_SIZE,
|
|
29
|
+
u as BASE_LETTER_SPACING,
|
|
30
|
+
F as BASE_LINE_HEIGHT,
|
|
31
|
+
R as BASE_OPACITY_COLORS,
|
|
32
|
+
i as BASE_TAG_OBJECT_COLORS_DARK,
|
|
33
|
+
l as BASE_TAG_OBJECT_COLORS_LIGHT,
|
|
34
|
+
K as BASE_WEIGHT,
|
|
35
35
|
P as COMMON_COLORS,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
q as DEFAULT_PRESET,
|
|
37
|
+
s as DEFAULT_SIZE,
|
|
38
38
|
A as GREY_PALETTE,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
Q as POINTER_QR_DESKTOP_SIZES,
|
|
40
|
+
k as POINTER_QR_MOBILE_SIZES,
|
|
41
|
+
B as PRESET_COLORS,
|
|
42
|
+
Y as PRESET_DEFAULT,
|
|
43
|
+
H as PRESET_SEMANTICS_COLORS,
|
|
44
|
+
I as PRIMARY_COLORS_DARK,
|
|
45
|
+
L as PRIMARY_COLORS_LIGHT,
|
|
46
|
+
v as TYPOGRAPHY,
|
|
47
|
+
b as TYPOGRAPHY_SIZES_DESKTOP,
|
|
48
|
+
c as TYPOGRAPHY_SIZES_MOBILE,
|
|
47
49
|
E as createCustomShadows,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
X as defaultPresetColors,
|
|
51
|
+
p as fnComponentsOverrides,
|
|
52
|
+
$ as getColorPresets,
|
|
53
|
+
to as getColorState,
|
|
54
|
+
So as getPaletteByPreset,
|
|
55
|
+
po as getUserThemeOptions,
|
|
56
|
+
e as globalRemSize,
|
|
55
57
|
a as muiBreakpointsValues,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
G as presetsOptionsMainColor,
|
|
59
|
+
ro as pxToRem,
|
|
60
|
+
so as remToPx,
|
|
61
|
+
eo as responsiveFontSizes,
|
|
60
62
|
S as shadows,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
z as typographyOld,
|
|
64
|
+
W as useResponsive
|
|
63
65
|
};
|
package/package.json
CHANGED
package/theme/palette/index.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export { BASE_TAG_OBJECT_COLORS_LIGHT, BASE_TAG_OBJECT_COLORS_DARK } from './bas
|
|
|
7
7
|
export { PRESET_DEFAULT } from './defaultColors';
|
|
8
8
|
export { PRESET_SEMANTICS_COLORS } from './semanticColors';
|
|
9
9
|
export { PRESET_COLORS } from './presetColors';
|
|
10
|
+
export { PRIMARY_COLORS_LIGHT, PRIMARY_COLORS_DARK } from './presetColors';
|
|
@@ -21,8 +21,8 @@ const m = {
|
|
|
21
21
|
large: s.sp8
|
|
22
22
|
},
|
|
23
23
|
case: {
|
|
24
|
-
small: s["
|
|
25
|
-
medium: s
|
|
24
|
+
small: s["sp4-5"],
|
|
25
|
+
medium: s["sp5-5"],
|
|
26
26
|
large: s.sp6
|
|
27
27
|
}
|
|
28
28
|
}, p = {
|
|
@@ -47,7 +47,7 @@ const m = {
|
|
|
47
47
|
large: s.sp8
|
|
48
48
|
},
|
|
49
49
|
case: {
|
|
50
|
-
small: s
|
|
50
|
+
small: s.sp4,
|
|
51
51
|
medium: s.sp5,
|
|
52
52
|
large: s.sp6
|
|
53
53
|
}
|
package/types/types.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export type DefaultPresetColor = Omit<PresetColor, 'borderMainDark' | 'borderMai
|
|
|
135
135
|
mainDark: string;
|
|
136
136
|
};
|
|
137
137
|
export type PresetsOptionsColorMain = Array<{
|
|
138
|
-
name:
|
|
138
|
+
name: ThemeUserColor | undefined;
|
|
139
139
|
value: string;
|
|
140
140
|
}>;
|
|
141
141
|
export type ColorState = 'warning' | 'delete' | 'info' | 'success';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as g,
|
|
1
|
+
import { a as g, b as f, P as s } from "../theme/palette/presetColors.js";
|
|
2
2
|
import { B as o } from "../theme/palette/baseColors.js";
|
|
3
3
|
import { C as t } from "../theme/palette/commonColors.js";
|
|
4
4
|
import { G as d } from "../theme/palette/greyPalette.js";
|
|
@@ -12,7 +12,7 @@ const l = {
|
|
|
12
12
|
gridHover: "#FCFCFC"
|
|
13
13
|
}
|
|
14
14
|
}, x = (n) => {
|
|
15
|
-
const r =
|
|
15
|
+
const r = g?.[n], e = f?.[n];
|
|
16
16
|
return {
|
|
17
17
|
light: {
|
|
18
18
|
mode: "light",
|