@campxdev/react-blueprint 0.1.18 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-blueprint",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -114,9 +114,8 @@ export const getCommonTheme = (mode: Theme) => {
114
114
  styleOverrides: {
115
115
  root: {
116
116
  textTransform: "none",
117
- padding: "5px 30px ",
117
+ padding: "10px 20px ",
118
118
  maxHeight: "40px ",
119
- minWidth: "250px",
120
119
  borderRadius: "5px ",
121
120
  boxShadow: "none ",
122
121
  fontSize: "14px ",
package/types/theme.d.ts CHANGED
@@ -29,48 +29,6 @@ declare module "@mui/material/styles" {
29
29
  };
30
30
  };
31
31
  }
32
- interface CustomThemeOptions extends MuiThemeOptions {
33
- borders: {
34
- grayLight: string;
35
- primary: string;
36
- };
37
- palette: {
38
- secondary?: {
39
- main?: string;
40
- light?: string;
41
- dark?: string;
42
- };
43
- primary?: {
44
- dark?: string;
45
- main?: string;
46
- light?: string;
47
- lighter?: string;
48
- };
49
- common?: {
50
- black?: string;
51
- white?: string;
52
- green?: string;
53
- yellow?: string;
54
- blue?: string;
55
- };
56
- highlight: {
57
- main: string;
58
- };
59
- grey: {
60
- main: string;
61
- };
62
- error?: {
63
- main?: string;
64
- };
65
- text?: {
66
- primary?: string;
67
- secondary?: string;
68
- disabled?: string;
69
- };
70
- };
71
- components?: Components<Omit<Theme, "components">>;
72
- typography?: TypographyOptions | ((palette: Palette) => TypographyOptions);
73
- }
74
32
  export function createTheme(options?: CustomThemeOptions): CustomTheme;
75
33
  }
76
34