@movable/ui 1.14.0 → 1.15.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,45 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ declare const datagrid: {
3
+ MuiDataGrid: {
4
+ styleOverrides: {
5
+ root: {
6
+ border: string;
7
+ '.MuiDataGrid-toolbarContainer .MuiTextField-root': {
8
+ backgroundColor: "#f5f5f5";
9
+ padding: string;
10
+ borderRadius: string;
11
+ };
12
+ '.MuiInput-underline:before': {
13
+ borderBottom: string;
14
+ color: string;
15
+ };
16
+ '.MuiDataGrid-toolbarContainer button': {
17
+ backgroundColor: "#f5f5f5";
18
+ color: "#212121";
19
+ padding: string;
20
+ };
21
+ '.MuiDataGrid-toolbarContainer svg': {
22
+ color: "#616161";
23
+ };
24
+ '.MuiDataGrid-cell:focus': {
25
+ outline: string;
26
+ };
27
+ '.MuiDataGrid-overlayWrapper': {
28
+ height: string;
29
+ };
30
+ };
31
+ menu: {
32
+ '.MuiPaper-root': {
33
+ padding: string;
34
+ };
35
+ };
36
+ columnHeaderTitle: ({ theme }: {
37
+ theme: Theme;
38
+ }) => {
39
+ fontWeight: number;
40
+ fontSize: import("csstype").Property.FontSize<string | number> | undefined;
41
+ };
42
+ };
43
+ };
44
+ };
45
+ export default datagrid;
@@ -53,32 +53,30 @@ declare const form: {
53
53
  };
54
54
  MuiFormLabel: {
55
55
  styleOverrides: {
56
- styleOverrides: {
57
- root: ({ theme }: {
58
- theme: Theme;
59
- }) => {
56
+ root: ({ theme }: {
57
+ theme: Theme;
58
+ }) => {
59
+ color: string;
60
+ fontSize: string;
61
+ lineHeight: string;
62
+ letterSpacing: string;
63
+ '&.Mui-focused': {
64
+ color: string;
65
+ };
66
+ '&.Mui-disabled': {
60
67
  color: string;
61
- fontSize: string;
62
- lineHeight: string;
63
- letterSpacing: string;
64
- '&.Mui-focused': {
65
- color: string;
66
- };
67
- '&.Mui-disabled': {
68
- color: string;
69
- cursor: string;
70
- };
71
- '&.Mui-error': {
72
- color: string;
73
- };
74
- };
75
- asterisk: ({ theme }: {
76
- theme: Theme;
77
- }) => {
68
+ cursor: string;
69
+ };
70
+ '&.Mui-error': {
78
71
  color: string;
79
- marginLeft: string;
80
72
  };
81
73
  };
74
+ asterisk: ({ theme }: {
75
+ theme: Theme;
76
+ }) => {
77
+ color: string;
78
+ marginLeft: string;
79
+ };
82
80
  };
83
81
  };
84
82
  MuiInputLabel: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/ui",
3
- "version": "1.14.0",
3
+ "version": "1.15.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",
@@ -45,6 +45,7 @@
45
45
  "@emotion/react": "^11.11.1",
46
46
  "@emotion/styled": "^11.11.0",
47
47
  "@movable/prettier-config": "^2.0.0",
48
+ "@mui/x-data-grid-premium": "^6.19.5",
48
49
  "@mui/icons-material": "^5.16.7",
49
50
  "@mui/material": "^5.16.7",
50
51
  "@percy/cli": "^1.28.2",
@@ -93,6 +94,7 @@
93
94
  "peerDependencies": {
94
95
  "@emotion/react": "^11.11.1",
95
96
  "@emotion/styled": "^11.11.0",
97
+ "@mui/x-data-grid-premium": "^6.19.5",
96
98
  "@mui/icons-material": "^5.16.7",
97
99
  "@mui/material": "^5.16.7",
98
100
  "react": "^18.2.0",