@movable/ui 0.18.1 → 0.19.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.
@@ -0,0 +1,41 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ declare const autocomplete: {
3
+ MuiAutocomplete: {
4
+ defaultProps: {
5
+ ChipProps: {
6
+ size: string;
7
+ color: string;
8
+ };
9
+ };
10
+ styleOverrides: {
11
+ root: {
12
+ '.MuiChip-root': {
13
+ margin: number;
14
+ };
15
+ };
16
+ inputRoot: ({ theme }: {
17
+ theme: Theme;
18
+ }) => {
19
+ '&.MuiInputBase-hiddenLabel': {
20
+ padding: string;
21
+ '& .MuiAutocomplete-input': {
22
+ padding: string;
23
+ };
24
+ };
25
+ '&.MuiInputBase-hiddenLabel.MuiInputBase-sizeSmall': {
26
+ paddingTop: string;
27
+ paddingBottom: string;
28
+ paddingLeft: string;
29
+ '& .MuiAutocomplete-input': {
30
+ padding: string;
31
+ };
32
+ };
33
+ gap: string;
34
+ };
35
+ paper: {
36
+ padding: number;
37
+ };
38
+ };
39
+ };
40
+ };
41
+ export default autocomplete;
@@ -5,6 +5,11 @@ declare const dialog: {
5
5
  fullWidth: boolean;
6
6
  scroll: string;
7
7
  };
8
+ styleOverrides: {
9
+ paper: {
10
+ padding: number;
11
+ };
12
+ };
8
13
  };
9
14
  MuiDialogTitle: {
10
15
  defaultProps: {
@@ -22,7 +27,6 @@ declare const dialog: {
22
27
  };
23
28
  };
24
29
  };
25
- MuiDialogContent: {};
26
30
  MuiDialogActions: {
27
31
  styleOverrides: {
28
32
  root: {
@@ -0,0 +1,10 @@
1
+ declare const drawer: {
2
+ MuiDrawer: {
3
+ styleOverrides: {
4
+ paper: {
5
+ padding: number;
6
+ };
7
+ };
8
+ };
9
+ };
10
+ export default drawer;
@@ -0,0 +1,60 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ declare const card: {
3
+ MuiCard: {
4
+ defaultProps: {
5
+ variant: string;
6
+ };
7
+ styleOverrides: {
8
+ root: ({ theme }: {
9
+ theme: Theme;
10
+ }) => {
11
+ padding: number;
12
+ paddingBottom: string;
13
+ };
14
+ };
15
+ };
16
+ MuiCardHeader: {
17
+ styleOverrides: {
18
+ root: ({ theme }: {
19
+ theme: Theme;
20
+ }) => {
21
+ padding: string;
22
+ paddingBottom: number;
23
+ };
24
+ title: {
25
+ color: string;
26
+ fontSize: string;
27
+ fontWeight: number;
28
+ };
29
+ subheader: {
30
+ color: string;
31
+ fontSize: string;
32
+ };
33
+ };
34
+ };
35
+ MuiCardActions: {
36
+ styleOverrides: {
37
+ root: ({ theme }: {
38
+ theme: Theme;
39
+ }) => {
40
+ padding: string;
41
+ paddingBottom: number;
42
+ };
43
+ };
44
+ };
45
+ MuiCardContent: {
46
+ styleOverrides: {
47
+ root: ({ theme }: {
48
+ theme: Theme;
49
+ }) => {
50
+ padding: string;
51
+ paddingBottom: number;
52
+ '& .MuiTypography-root': {
53
+ color: string;
54
+ fontSize: string;
55
+ };
56
+ };
57
+ };
58
+ };
59
+ };
60
+ export default card;
@@ -0,0 +1,3 @@
1
+ import card from './card';
2
+ import paper from './paper';
3
+ export { card, paper };
@@ -0,0 +1,16 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ declare const paper: {
3
+ MuiPaper: {
4
+ defaultProps: {
5
+ variant: string;
6
+ };
7
+ styleOverrides: {
8
+ root: ({ theme }: {
9
+ theme: Theme;
10
+ }) => {
11
+ padding: string;
12
+ };
13
+ };
14
+ };
15
+ };
16
+ export default paper;
package/lib/theme.d.ts CHANGED
@@ -204,6 +204,9 @@ declare module '@mui/material/Button' {
204
204
  interface ButtonPropsColorOverrides {
205
205
  ai: true;
206
206
  }
207
+ interface ButtonPropsVariantOverrides {
208
+ card: true;
209
+ }
207
210
  }
208
211
  declare const theme: import("@mui/material/styles").Theme;
209
212
  export default theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/ui",
3
- "version": "0.18.1",
3
+ "version": "0.19.0",
4
4
  "description": "Movable Ink's shared MUI components and MUI theme for our vite applications",
5
5
  "module": "lib/index.mjs",
6
6
  "types": "lib/index.d.ts",