@mxenabled/mxui 2.2.9 → 2.4.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.
|
@@ -15,6 +15,8 @@ declare module '@mui/material/styles' {
|
|
|
15
15
|
700?: string;
|
|
16
16
|
800?: string;
|
|
17
17
|
900?: string;
|
|
18
|
+
lighter?: string;
|
|
19
|
+
darker?: string;
|
|
18
20
|
}
|
|
19
21
|
interface SimplePaletteColorOptions {
|
|
20
22
|
50?: string;
|
|
@@ -27,6 +29,8 @@ declare module '@mui/material/styles' {
|
|
|
27
29
|
700?: string;
|
|
28
30
|
800?: string;
|
|
29
31
|
900?: string;
|
|
32
|
+
lighter?: string;
|
|
33
|
+
darker?: string;
|
|
30
34
|
}
|
|
31
35
|
interface TypographyVariantsOptions {
|
|
32
36
|
tiny?: CSSProperties;
|
package/dist/themes/MXTheme.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PaletteMode } from '@mui/material';
|
|
2
|
-
import {
|
|
3
|
-
export declare const createMXTheme: (mode: PaletteMode, customizations?:
|
|
2
|
+
import { Customizations } from '../types/Customizations';
|
|
3
|
+
export declare const createMXTheme: (mode: PaletteMode, customizations?: Customizations) => import('@mui/material').Theme;
|
package/dist/themes/Palette.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { PaletteMode } from '@mui/material';
|
|
2
|
-
import {
|
|
3
|
-
export declare const getPalette: (mode: PaletteMode, paletteCustomizations?:
|
|
2
|
+
import { Customizations } from '../types/Customizations';
|
|
3
|
+
export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: Customizations["paletteOptions"]) => {
|
|
4
4
|
mode: PaletteMode;
|
|
5
5
|
common: {
|
|
6
6
|
white: string;
|
|
7
7
|
black: string;
|
|
8
8
|
};
|
|
9
9
|
primary: {
|
|
10
|
+
lighter: string;
|
|
10
11
|
light: string;
|
|
11
12
|
main: string;
|
|
12
13
|
dark: string;
|
|
14
|
+
darker: string;
|
|
13
15
|
50: string;
|
|
14
16
|
100: string;
|
|
15
17
|
200: string;
|
|
@@ -22,9 +24,11 @@ export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: Cli
|
|
|
22
24
|
900: string;
|
|
23
25
|
};
|
|
24
26
|
secondary: {
|
|
27
|
+
lighter: string;
|
|
25
28
|
light: string;
|
|
26
29
|
main: string;
|
|
27
30
|
dark: string;
|
|
31
|
+
darker: string;
|
|
28
32
|
50: string;
|
|
29
33
|
100: string;
|
|
30
34
|
200: string;
|
|
@@ -37,9 +41,11 @@ export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: Cli
|
|
|
37
41
|
900: string;
|
|
38
42
|
};
|
|
39
43
|
neutral: {
|
|
44
|
+
lighter: string;
|
|
40
45
|
light: string;
|
|
41
46
|
main: string;
|
|
42
47
|
dark: string;
|
|
48
|
+
darker: string;
|
|
43
49
|
contrastText: string;
|
|
44
50
|
50: string;
|
|
45
51
|
100: string;
|
|
@@ -58,9 +64,11 @@ export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: Cli
|
|
|
58
64
|
disabled: string;
|
|
59
65
|
};
|
|
60
66
|
error: {
|
|
67
|
+
lighter: string;
|
|
61
68
|
light: string;
|
|
62
69
|
main: string;
|
|
63
70
|
dark: string;
|
|
71
|
+
darker: string;
|
|
64
72
|
50: string;
|
|
65
73
|
100: string;
|
|
66
74
|
200: string;
|
|
@@ -73,9 +81,11 @@ export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: Cli
|
|
|
73
81
|
900: string;
|
|
74
82
|
};
|
|
75
83
|
warning: {
|
|
84
|
+
lighter: string;
|
|
76
85
|
light: string;
|
|
77
86
|
main: string;
|
|
78
87
|
dark: string;
|
|
88
|
+
darker: string;
|
|
79
89
|
50: string;
|
|
80
90
|
100: string;
|
|
81
91
|
200: string;
|
|
@@ -88,9 +98,11 @@ export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: Cli
|
|
|
88
98
|
900: string;
|
|
89
99
|
};
|
|
90
100
|
info: {
|
|
101
|
+
lighter: string;
|
|
91
102
|
light: string;
|
|
92
103
|
main: string;
|
|
93
104
|
dark: string;
|
|
105
|
+
darker: string;
|
|
94
106
|
50: string;
|
|
95
107
|
100: string;
|
|
96
108
|
200: string;
|
|
@@ -103,9 +115,11 @@ export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: Cli
|
|
|
103
115
|
900: string;
|
|
104
116
|
};
|
|
105
117
|
success: {
|
|
118
|
+
lighter: string;
|
|
106
119
|
light: string;
|
|
107
120
|
main: string;
|
|
108
121
|
dark: string;
|
|
122
|
+
darker: string;
|
|
109
123
|
50: string;
|
|
110
124
|
100: string;
|
|
111
125
|
200: string;
|
|
@@ -2,7 +2,7 @@ interface ModeColorOptions {
|
|
|
2
2
|
light: string;
|
|
3
3
|
dark: string;
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
5
|
+
export interface Customizations {
|
|
6
6
|
paletteOptions?: {
|
|
7
7
|
primary?: string;
|
|
8
8
|
secondary?: string;
|
|
@@ -26,5 +26,6 @@ export interface ClientCustomizations {
|
|
|
26
26
|
shapeOptions?: {
|
|
27
27
|
borderRadius?: number;
|
|
28
28
|
};
|
|
29
|
+
useMUIStandardSpacing?: boolean;
|
|
29
30
|
}
|
|
30
31
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mxenabled/mxui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Package containing MX theme and common controls for MUI",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@emotion/react": "^11.14.0",
|
|
24
24
|
"@emotion/styled": "^11.14.1",
|
|
25
|
-
"@mui/material": "^7.3.
|
|
26
|
-
"@mui/system": "^7.3.
|
|
27
|
-
"@mui/x-data-grid-pro": "^8.
|
|
28
|
-
"@mui/x-date-pickers": "^8.
|
|
29
|
-
"@mui/x-date-pickers-pro": "^8.
|
|
30
|
-
"@mui/x-license": "^8.
|
|
31
|
-
"@mxenabled/mx-icons": "^2.
|
|
25
|
+
"@mui/material": "^7.3.9",
|
|
26
|
+
"@mui/system": "^7.3.9",
|
|
27
|
+
"@mui/x-data-grid-pro": "^8.28.1",
|
|
28
|
+
"@mui/x-date-pickers": "^8.27.2",
|
|
29
|
+
"@mui/x-date-pickers-pro": "^8.27.2",
|
|
30
|
+
"@mui/x-license": "^8.26.0",
|
|
31
|
+
"@mxenabled/mx-icons": "^2.2.0",
|
|
32
32
|
"date-fns": "^4.1.0",
|
|
33
|
-
"react": "^19.2.
|
|
34
|
-
"react-dom": "^19.2.
|
|
33
|
+
"react": "^19.2.4",
|
|
34
|
+
"react-dom": "^19.2.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/core": "^7.26.10",
|
|
@@ -39,33 +39,33 @@
|
|
|
39
39
|
"@eslint/compat": "^1.2.8",
|
|
40
40
|
"@eslint/eslintrc": "^3.3.1",
|
|
41
41
|
"@eslint/js": "^9.25.1",
|
|
42
|
-
"@storybook/addon-a11y": "^9.1.
|
|
43
|
-
"@storybook/addon-docs": "^9.1.
|
|
44
|
-
"@storybook/addon-links": "^9.1.
|
|
45
|
-
"@storybook/react-vite": "^9.1.
|
|
46
|
-
"@types/react": "^19.2.
|
|
47
|
-
"@types/react-dom": "^19.2.
|
|
42
|
+
"@storybook/addon-a11y": "^9.1.20",
|
|
43
|
+
"@storybook/addon-docs": "^9.1.20",
|
|
44
|
+
"@storybook/addon-links": "^9.1.20",
|
|
45
|
+
"@storybook/react-vite": "^9.1.20",
|
|
46
|
+
"@types/react": "^19.2.14",
|
|
47
|
+
"@types/react-dom": "^19.2.3",
|
|
48
48
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
49
49
|
"@typescript-eslint/parser": "^7.18.0",
|
|
50
|
-
"@vitejs/plugin-react": "^5.0
|
|
51
|
-
"@vueless/storybook-dark-mode": "^9.0.
|
|
50
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
51
|
+
"@vueless/storybook-dark-mode": "^9.0.10",
|
|
52
52
|
"@yarnpkg/sdks": "^3.2.3",
|
|
53
53
|
"eslint": "^8.57.1",
|
|
54
54
|
"eslint-config-mx": "^4.0.0",
|
|
55
|
-
"eslint-config-prettier": "^9.1.
|
|
55
|
+
"eslint-config-prettier": "^9.1.2",
|
|
56
56
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
57
57
|
"eslint-plugin-react": "^7.37.5",
|
|
58
58
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
59
|
-
"eslint-plugin-react-refresh": "^0.
|
|
60
|
-
"eslint-plugin-storybook": "^9.1.
|
|
59
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
60
|
+
"eslint-plugin-storybook": "^9.1.20",
|
|
61
61
|
"husky": "^9.1.7",
|
|
62
|
-
"lint-staged": "^16.
|
|
62
|
+
"lint-staged": "^16.4.0",
|
|
63
63
|
"path": "^0.12.7",
|
|
64
|
-
"prettier": "^3.
|
|
65
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
66
|
-
"storybook": "^9.1.
|
|
64
|
+
"prettier": "^3.8.1",
|
|
65
|
+
"rollup-plugin-visualizer": "^6.0.11",
|
|
66
|
+
"storybook": "^9.1.20",
|
|
67
67
|
"typescript": "^5.9.3",
|
|
68
|
-
"vite": "^7.1
|
|
68
|
+
"vite": "^7.3.1",
|
|
69
69
|
"vite-plugin-dts": "^4.5.4"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"files": [
|
|
82
82
|
"dist"
|
|
83
83
|
],
|
|
84
|
-
"packageManager": "yarn@4.
|
|
84
|
+
"packageManager": "yarn@4.14.1"
|
|
85
85
|
}
|