@m4l/styles 7.1.27 → 7.1.28-beta.2
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 +55 -47
- package/package.json +1 -1
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +1 -1
- package/theme/overrides/MUIComponents/Table.d.ts +5 -3307
- package/theme/overrides/MUIComponents/TreeView.d.ts +1 -1
- package/theme/palette/baseChipsPalette.js +465 -45
- package/theme/palette/baseColors.js +156 -36
- package/theme/palette/baseOpacityColors.js +108 -43
- package/theme/palette/defaultColors.js +37 -39
- package/theme/palette/index.d.ts +4 -0
- package/theme/palette/presetColors.js +89 -89
- package/theme/palette/semanticColors.js +5 -4
- package/theme/shadows.js +1 -1
- package/theme/sizes/size.js +3 -3
- package/theme/typography/baseLetterSpacing.js +4 -3
- package/theme/typography/baseWeight.js +3 -3
- package/theme/typography/types.d.ts +6 -5
- package/theme/typography/typography.js +8 -8
- package/theme/typography/typographySizes.js +185 -137
- package/types/augmentations.d.ts +8 -0
- package/types/types.d.ts +5 -5
- package/utils/getPaletteByPreset.d.ts +49 -35
- package/utils/getPaletteByPreset.js +100 -100
- package/utils/getUserThemeOptions.js +7 -7
package/index.js
CHANGED
|
@@ -1,55 +1,63 @@
|
|
|
1
1
|
import { D as e, g as s, m as a } from "./config.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { f as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
2
|
+
import { c as E, s as S } from "./theme/shadows.js";
|
|
3
|
+
import { f as _ } from "./theme/overrides/index.js";
|
|
4
|
+
import { B as O } from "./theme/palette/baseColors.js";
|
|
5
|
+
import { B as f } from "./theme/palette/baseOpacityColors.js";
|
|
6
6
|
import { C as P } from "./theme/palette/commonColors.js";
|
|
7
|
-
import { G as
|
|
8
|
-
import { p as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { B as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { g as
|
|
22
|
-
import {
|
|
7
|
+
import { G as A } from "./theme/palette/greyPalette.js";
|
|
8
|
+
import { P as C, p as I } from "./theme/palette/presetColors.js";
|
|
9
|
+
import { a as g, B as G } from "./theme/palette/baseChipsPalette.js";
|
|
10
|
+
import { P as l } from "./theme/palette/defaultColors.js";
|
|
11
|
+
import { P as D } from "./theme/palette/semanticColors.js";
|
|
12
|
+
import { B as H } from "./theme/typography/baseFontSize.js";
|
|
13
|
+
import { B as d } from "./theme/typography/baseLetterSpacing.js";
|
|
14
|
+
import { B as M } from "./theme/typography/baseLineHeight.js";
|
|
15
|
+
import { B as F } from "./theme/typography/baseWeight.js";
|
|
16
|
+
import { T as U } from "./theme/typography/typography.js";
|
|
17
|
+
import { a as y, T as K } from "./theme/typography/typographySizes.js";
|
|
18
|
+
import { t as w } from "./theme/typographyOld.js";
|
|
19
|
+
import { P as J, a as Q } from "./theme/sizes/pointerQr.js";
|
|
20
|
+
import { u as k } from "./utils/useResponsive.js";
|
|
21
|
+
import { D as W, d as j, g as q } from "./utils/getColorPresets.js";
|
|
22
|
+
import { p as $, r as oo, a as ro } from "./utils/getFontValue.js";
|
|
23
|
+
import { g as so } from "./utils/getColorState.js";
|
|
24
|
+
import { g as to } from "./utils/getPaletteByPreset.js";
|
|
25
|
+
import { g as So } from "./utils/getUserThemeOptions.js";
|
|
23
26
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
O as BASE_COLORS,
|
|
28
|
+
H as BASE_FONT_SIZE,
|
|
29
|
+
d as BASE_LETTER_SPACING,
|
|
30
|
+
M as BASE_LINE_HEIGHT,
|
|
31
|
+
f as BASE_OPACITY_COLORS,
|
|
32
|
+
g as BASE_TAG_OBJECT_COLORS_DARK,
|
|
33
|
+
G as BASE_TAG_OBJECT_COLORS_LIGHT,
|
|
34
|
+
F as BASE_WEIGHT,
|
|
30
35
|
P as COMMON_COLORS,
|
|
31
|
-
|
|
36
|
+
W as DEFAULT_PRESET,
|
|
32
37
|
e as DEFAULT_SIZE,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
j as
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
A as GREY_PALETTE,
|
|
39
|
+
J as POINTER_QR_DESKTOP_SIZES,
|
|
40
|
+
Q as POINTER_QR_MOBILE_SIZES,
|
|
41
|
+
C as PRESET_COLORS,
|
|
42
|
+
l as PRESET_DEFAULT,
|
|
43
|
+
D as PRESET_SEMANTICS_COLORS,
|
|
44
|
+
U as TYPOGRAPHY,
|
|
45
|
+
y as TYPOGRAPHY_SIZES_DESKTOP,
|
|
46
|
+
K as TYPOGRAPHY_SIZES_MOBILE,
|
|
47
|
+
E as createCustomShadows,
|
|
48
|
+
j as defaultPresetColors,
|
|
49
|
+
_ as fnComponentsOverrides,
|
|
50
|
+
q as getColorPresets,
|
|
51
|
+
so as getColorState,
|
|
52
|
+
to as getPaletteByPreset,
|
|
53
|
+
So as getUserThemeOptions,
|
|
46
54
|
s as globalRemSize,
|
|
47
55
|
a as muiBreakpointsValues,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
I as presetsOptionsMainColor,
|
|
57
|
+
$ as pxToRem,
|
|
58
|
+
oo as remToPx,
|
|
59
|
+
ro as responsiveFontSizes,
|
|
60
|
+
S as shadows,
|
|
61
|
+
w as typographyOld,
|
|
62
|
+
k as useResponsive
|
|
55
63
|
};
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export default function ControlLabel(theme: Omit<Theme, 'palette' | 'applyStyles
|
|
|
6
6
|
MuiFormControlLabel: {
|
|
7
7
|
styleOverrides: {
|
|
8
8
|
label: {
|
|
9
|
-
[
|
|
9
|
+
[k: string]: unknown;
|
|
10
10
|
'@font-face'?: import('@mui/material/styles/createTypography').Fontface | import('@mui/material/styles/createTypography').Fontface[];
|
|
11
11
|
accentColor?: import("csstype").Property.AccentColor | undefined;
|
|
12
12
|
alignContent?: import("csstype").Property.AlignContent | undefined;
|