@movable/ui 0.26.3 → 0.28.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.
@@ -8,10 +8,16 @@ declare const autocomplete: {
8
8
  };
9
9
  };
10
10
  styleOverrides: {
11
- root: {
11
+ root: ({ theme }: {
12
+ theme: Theme;
13
+ }) => {
12
14
  '.MuiChip-root': {
13
15
  margin: number;
14
16
  };
17
+ '& .MuiAutocomplete-inputRoot[class*="Mui-disabled"]': {
18
+ backgroundColor: string;
19
+ cursor: string;
20
+ };
15
21
  };
16
22
  inputRoot: ({ theme }: {
17
23
  theme: Theme;
@@ -5,6 +5,7 @@ declare const form: {
5
5
  styleOverrides: {
6
6
  root: {
7
7
  gap: string;
8
+ minWidth: string;
8
9
  };
9
10
  };
10
11
  };
@@ -146,6 +147,18 @@ declare const form: {
146
147
  defaultProps: {
147
148
  variant: string;
148
149
  };
150
+ styleOverrides: {
151
+ root: ({ theme }: {
152
+ theme: Theme;
153
+ }) => {
154
+ '&.Mui-disabled': {
155
+ backgroundColor: string;
156
+ };
157
+ '& .MuiSelect-select[class*="Mui-disabled"]': {
158
+ cursor: string;
159
+ };
160
+ };
161
+ };
149
162
  };
150
163
  MuiTextField: {
151
164
  defaultProps: {
@@ -153,6 +166,25 @@ declare const form: {
153
166
  variant: string;
154
167
  hiddenLabel: boolean;
155
168
  };
169
+ styleOverrides: {
170
+ root: ({ theme }: {
171
+ theme: Theme;
172
+ }) => {
173
+ '& input.Mui-disabled': {
174
+ cursor: string;
175
+ };
176
+ '& .MuiInputBase-root.Mui-disabled': {
177
+ backgroundColor: string;
178
+ };
179
+ '& input.MuiInputBase-readOnly': {
180
+ paddingRight: string;
181
+ paddingLeft: string;
182
+ };
183
+ '& .MuiFilledInput-root.Mui-readOnly': {
184
+ outline: string;
185
+ };
186
+ };
187
+ };
156
188
  };
157
189
  };
158
190
  export default form;
@@ -177,7 +177,7 @@ declare const palette: {
177
177
  selected: string;
178
178
  focus: string;
179
179
  focusVisible: string;
180
- outlinedBorder: "#90caf9";
180
+ outlinedBorder: string;
181
181
  };
182
182
  secondary: {
183
183
  main: "#aa00ff";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/ui",
3
- "version": "0.26.3",
3
+ "version": "0.28.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",