@mxenabled/mxui 1.0.2 → 1.0.3-alpha.JB0
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/README.md +6 -10
- package/dist/index.es.js +630 -599
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Colors.d.ts +73 -1
- package/dist/themes/MXTheme.d.ts +2 -1
- package/dist/themes/Palette.d.ts +2 -1
- package/package.json +1 -1
package/dist/themes/Colors.d.ts
CHANGED
|
@@ -32,5 +32,77 @@ interface ColorsTypes {
|
|
|
32
32
|
Warning500: '#C33E01';
|
|
33
33
|
White: '#FFFFFF';
|
|
34
34
|
}
|
|
35
|
-
export declare const
|
|
35
|
+
export declare const BASE_COLORS: ColorsTypes;
|
|
36
|
+
export interface ClientColorProfile {
|
|
37
|
+
primary?: {
|
|
38
|
+
100: string;
|
|
39
|
+
200: string;
|
|
40
|
+
300: string;
|
|
41
|
+
400: string;
|
|
42
|
+
500: string;
|
|
43
|
+
};
|
|
44
|
+
secondary?: {
|
|
45
|
+
100: string;
|
|
46
|
+
200: string;
|
|
47
|
+
300: string;
|
|
48
|
+
400: string;
|
|
49
|
+
500: string;
|
|
50
|
+
};
|
|
51
|
+
error?: {
|
|
52
|
+
100: string;
|
|
53
|
+
200: string;
|
|
54
|
+
300: string;
|
|
55
|
+
400: string;
|
|
56
|
+
500: string;
|
|
57
|
+
};
|
|
58
|
+
warning?: {
|
|
59
|
+
100: string;
|
|
60
|
+
200: string;
|
|
61
|
+
300: string;
|
|
62
|
+
400: string;
|
|
63
|
+
500: string;
|
|
64
|
+
};
|
|
65
|
+
success?: {
|
|
66
|
+
100: string;
|
|
67
|
+
150: string;
|
|
68
|
+
200: string;
|
|
69
|
+
300: string;
|
|
70
|
+
400: string;
|
|
71
|
+
500: string;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export declare const GET_COLORS_WITH_CLIENT_COLOR_PROFILE: (clientColorProfile?: ClientColorProfile) => {
|
|
75
|
+
Success500: string;
|
|
76
|
+
Success400: string;
|
|
77
|
+
Success300: string;
|
|
78
|
+
Success200: string;
|
|
79
|
+
Success150: string;
|
|
80
|
+
Success100: string;
|
|
81
|
+
Warning500: string;
|
|
82
|
+
Warning400: string;
|
|
83
|
+
Warning300: string;
|
|
84
|
+
Warning200: string;
|
|
85
|
+
Warning100: string;
|
|
86
|
+
Error500: string;
|
|
87
|
+
Error400: string;
|
|
88
|
+
Error300: string;
|
|
89
|
+
Error200: string;
|
|
90
|
+
Error100: string;
|
|
91
|
+
Neutral900: string;
|
|
92
|
+
Neutral800: string;
|
|
93
|
+
Neutral700: string;
|
|
94
|
+
Neutral600: string;
|
|
95
|
+
Neutral500: string;
|
|
96
|
+
Primary500: string;
|
|
97
|
+
Primary400: string;
|
|
98
|
+
Primary300: string;
|
|
99
|
+
Primary200: string;
|
|
100
|
+
Primary100: string;
|
|
101
|
+
Black: "#000000";
|
|
102
|
+
Neutral100: "#F8F9FB";
|
|
103
|
+
Neutral200: "#EEF1F6";
|
|
104
|
+
Neutral300: "#E4E8EE";
|
|
105
|
+
Neutral400: "#CDD3DD";
|
|
106
|
+
White: "#FFFFFF";
|
|
107
|
+
};
|
|
36
108
|
export {};
|
package/dist/themes/MXTheme.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { PaletteMode } from '@mui/material';
|
|
2
|
-
|
|
2
|
+
import { ClientColorProfile } from './Colors';
|
|
3
|
+
export declare const createMXTheme: (mode: PaletteMode, clientColorProfile?: Partial<ClientColorProfile>) => import('@mui/material').Theme;
|
package/dist/themes/Palette.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { PaletteMode } from '@mui/material';
|
|
2
|
-
|
|
2
|
+
import { ClientColorProfile } from './Colors';
|
|
3
|
+
export declare const getPalette: (mode: PaletteMode, clientColorProfile?: Partial<ClientColorProfile>) => import('@mui/material').Palette;
|