@movable/ui 0.27.0 → 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;
@@ -147,6 +147,18 @@ declare const form: {
147
147
  defaultProps: {
148
148
  variant: string;
149
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
+ };
150
162
  };
151
163
  MuiTextField: {
152
164
  defaultProps: {
@@ -154,6 +166,25 @@ declare const form: {
154
166
  variant: string;
155
167
  hiddenLabel: boolean;
156
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
+ };
157
188
  };
158
189
  };
159
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.27.0",
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",