@mxenabled/mxui 1.3.1-alpha.bb1 → 1.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.
- package/dist/components/selectionbox/SelectionBox.d.ts +14 -0
- package/dist/components/selectionbox/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +615 -523
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Augmentations.d.ts +0 -17
- package/dist/themes/Colors.d.ts +3 -4
- package/dist/themes/MXTheme.d.ts +1 -2
- package/dist/themes/Palette.d.ts +1 -2
- package/dist/themes/Typography.d.ts +1 -2
- package/package.json +1 -1
- package/dist/types/ClientCustomizations.d.ts +0 -30
|
@@ -111,14 +111,12 @@ declare module '@mui/material/styles' {
|
|
|
111
111
|
categories: TypeCategory;
|
|
112
112
|
chart: TypeChart;
|
|
113
113
|
chartMono: TypeChartMono;
|
|
114
|
-
neutral: PaletteColor;
|
|
115
114
|
}
|
|
116
115
|
interface PaletteOptions {
|
|
117
116
|
border: Partial<Border>;
|
|
118
117
|
categories: Partial<TypeCategory>;
|
|
119
118
|
chart: Partial<TypeChart>;
|
|
120
119
|
chartMono: Partial<TypeChartMono>;
|
|
121
|
-
neutral: Partial<PaletteColor>;
|
|
122
120
|
}
|
|
123
121
|
}
|
|
124
122
|
declare module '@mui/material/Typography' {
|
|
@@ -136,18 +134,3 @@ declare module '@mui/material/Typography' {
|
|
|
136
134
|
XSmall: true;
|
|
137
135
|
}
|
|
138
136
|
}
|
|
139
|
-
declare module '@mui/material/Button' {
|
|
140
|
-
interface ButtonPropsColorOverrides {
|
|
141
|
-
neutral: true;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
declare module '@mui/material/Chip' {
|
|
145
|
-
interface ChipPropsColorOverrides {
|
|
146
|
-
neutral: true;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
declare module '@mui/material/Alert' {
|
|
150
|
-
interface AlertPropsColorOverrides {
|
|
151
|
-
neutral: true;
|
|
152
|
-
}
|
|
153
|
-
}
|
package/dist/themes/Colors.d.ts
CHANGED
|
@@ -2,16 +2,15 @@ export declare const WHITE = "#FFFFFF";
|
|
|
2
2
|
export declare const BLACK = "#000000";
|
|
3
3
|
export declare const DEFAULT_BACKGROUND_LIGHT = "#F9F9F9";
|
|
4
4
|
export declare const DEFAULT_BACKGROUND_DARK = "#1A1A1A";
|
|
5
|
-
export
|
|
5
|
+
export declare const CORE_COLORS: {
|
|
6
6
|
PRIMARY: string;
|
|
7
7
|
SECONDARY: string;
|
|
8
8
|
INFO: string;
|
|
9
9
|
SUCCESS: string;
|
|
10
10
|
WARNING: string;
|
|
11
11
|
ERROR: string;
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
export declare const CORE_COLORS: CoreColors;
|
|
12
|
+
NEUTRAL: string;
|
|
13
|
+
};
|
|
15
14
|
export declare const CHART: {
|
|
16
15
|
CHART1: string;
|
|
17
16
|
CHART2: string;
|
package/dist/themes/MXTheme.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { PaletteMode } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
export declare const createMXTheme: (mode: PaletteMode, customizations?: ClientCustomizations) => import('@mui/material').Theme;
|
|
2
|
+
export declare const createMXTheme: (mode: PaletteMode) => import('@mui/material').Theme;
|
package/dist/themes/Palette.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { PaletteMode } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
export declare const getPalette: (mode: PaletteMode, paletteCustomizations?: ClientCustomizations["paletteOptions"]) => import('@mui/material').Palette;
|
|
2
|
+
export declare const getPalette: (mode: PaletteMode) => import('@mui/material').Palette;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { Palette } from '@mui/material';
|
|
2
|
-
import { TypographyOptions } from '@mui/material/styles/createTypography';
|
|
3
2
|
export declare const INTER = "Inter, Helvetica, Arial, sans-serif";
|
|
4
|
-
export declare const getTypography: (palette: Palette
|
|
3
|
+
export declare const getTypography: (palette: Palette) => import('@mui/material').TypographyVariants;
|
package/package.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
interface ModeColorOptions {
|
|
2
|
-
light: string;
|
|
3
|
-
dark: string;
|
|
4
|
-
}
|
|
5
|
-
export interface ClientCustomizations {
|
|
6
|
-
paletteOptions?: {
|
|
7
|
-
primary?: string;
|
|
8
|
-
secondary?: string;
|
|
9
|
-
error?: string;
|
|
10
|
-
warning?: string;
|
|
11
|
-
info?: string;
|
|
12
|
-
success?: string;
|
|
13
|
-
grey?: string;
|
|
14
|
-
background?: {
|
|
15
|
-
default?: ModeColorOptions;
|
|
16
|
-
paper?: ModeColorOptions;
|
|
17
|
-
};
|
|
18
|
-
common?: {
|
|
19
|
-
white?: string;
|
|
20
|
-
black?: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
typographyOptions?: {
|
|
24
|
-
fontFamily?: string;
|
|
25
|
-
};
|
|
26
|
-
shapeOptions?: {
|
|
27
|
-
borderRadius?: number;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export {};
|