@movable/ui 0.22.0 → 0.24.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.
- package/lib/components/Switcher/InkSwitcher.d.ts +12 -0
- package/lib/components/Switcher/index.d.ts +1 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/surfaces/InkPaper.d.ts +9 -0
- package/lib/components/surfaces/index.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.mjs +2906 -2650
- package/lib/index.mjs.map +1 -1
- package/lib/theme/components/form.d.ts +158 -0
- package/package.json +1 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { InputProps } from '@mui/material';
|
|
2
|
+
import { Theme } from '@mui/material/styles';
|
|
3
|
+
declare const form: {
|
|
4
|
+
MuiFormControl: {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: {
|
|
7
|
+
gap: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
MuiFormControlLabel: {
|
|
12
|
+
styleOverrides: {
|
|
13
|
+
root: ({ theme }: {
|
|
14
|
+
theme: Theme;
|
|
15
|
+
}) => {
|
|
16
|
+
color: string;
|
|
17
|
+
fontSize: string;
|
|
18
|
+
lineHeight: string;
|
|
19
|
+
letterSpacing: string;
|
|
20
|
+
'&.Mui-focused': {
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
'&.Mui-disabled': {
|
|
24
|
+
color: string;
|
|
25
|
+
};
|
|
26
|
+
'&.Mui-error': {
|
|
27
|
+
color: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
asterisk: ({ theme }: {
|
|
31
|
+
theme: Theme;
|
|
32
|
+
}) => {
|
|
33
|
+
color: string;
|
|
34
|
+
marginLeft: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
MuiFormLabel: {
|
|
39
|
+
styleOverrides: {
|
|
40
|
+
styleOverrides: {
|
|
41
|
+
root: ({ theme }: {
|
|
42
|
+
theme: Theme;
|
|
43
|
+
}) => {
|
|
44
|
+
color: string;
|
|
45
|
+
fontSize: string;
|
|
46
|
+
lineHeight: string;
|
|
47
|
+
letterSpacing: string;
|
|
48
|
+
'&.Mui-focused': {
|
|
49
|
+
color: string;
|
|
50
|
+
};
|
|
51
|
+
'&.Mui-disabled': {
|
|
52
|
+
color: string;
|
|
53
|
+
};
|
|
54
|
+
'&.Mui-error': {
|
|
55
|
+
color: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
asterisk: ({ theme }: {
|
|
59
|
+
theme: Theme;
|
|
60
|
+
}) => {
|
|
61
|
+
color: string;
|
|
62
|
+
marginLeft: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
MuiInputLabel: {
|
|
68
|
+
defaultProps: {
|
|
69
|
+
shrink: boolean;
|
|
70
|
+
};
|
|
71
|
+
styleOverrides: {
|
|
72
|
+
root: ({ theme }: {
|
|
73
|
+
theme: Theme;
|
|
74
|
+
}) => {
|
|
75
|
+
color: string;
|
|
76
|
+
fontSize: string;
|
|
77
|
+
lineHeight: string;
|
|
78
|
+
letterSpacing: string;
|
|
79
|
+
'&.Mui-focused': {
|
|
80
|
+
color: string;
|
|
81
|
+
};
|
|
82
|
+
'&.Mui-disabled': {
|
|
83
|
+
color: string;
|
|
84
|
+
};
|
|
85
|
+
'&.Mui-error': {
|
|
86
|
+
color: string;
|
|
87
|
+
};
|
|
88
|
+
transform: string;
|
|
89
|
+
position: string;
|
|
90
|
+
};
|
|
91
|
+
asterisk: ({ theme }: {
|
|
92
|
+
theme: Theme;
|
|
93
|
+
}) => {
|
|
94
|
+
color: string;
|
|
95
|
+
marginLeft: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
MuiFilledInput: {
|
|
100
|
+
defaultProps: {
|
|
101
|
+
disableUnderline: boolean;
|
|
102
|
+
};
|
|
103
|
+
styleOverrides: {
|
|
104
|
+
root: ({ theme }: {
|
|
105
|
+
theme: Theme;
|
|
106
|
+
}) => {
|
|
107
|
+
backgroundColor: string;
|
|
108
|
+
borderRadius: string;
|
|
109
|
+
lineHeight: string;
|
|
110
|
+
letterSpacing: string;
|
|
111
|
+
'&::before': {
|
|
112
|
+
display: string;
|
|
113
|
+
};
|
|
114
|
+
'&:hover': {
|
|
115
|
+
backgroundColor: string;
|
|
116
|
+
};
|
|
117
|
+
'&.Mui-focused': {
|
|
118
|
+
outline: string;
|
|
119
|
+
backgroundColor: string;
|
|
120
|
+
};
|
|
121
|
+
'&.Mui-disabled': {
|
|
122
|
+
backgroundColor: string;
|
|
123
|
+
color: string;
|
|
124
|
+
};
|
|
125
|
+
'&.Mui-error': {
|
|
126
|
+
outline: string;
|
|
127
|
+
backgroundColor: string;
|
|
128
|
+
};
|
|
129
|
+
'&.Mui-readOnly': {
|
|
130
|
+
outline: string;
|
|
131
|
+
backgroundColor: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
input: ({ theme, ownerState, }: {
|
|
135
|
+
theme: Theme;
|
|
136
|
+
ownerState: InputProps;
|
|
137
|
+
}) => {
|
|
138
|
+
padding: string;
|
|
139
|
+
'&:focus': {
|
|
140
|
+
backgroundColor: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
MuiSelect: {
|
|
146
|
+
defaultProps: {
|
|
147
|
+
variant: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
MuiTextField: {
|
|
151
|
+
defaultProps: {
|
|
152
|
+
size: string;
|
|
153
|
+
variant: string;
|
|
154
|
+
hiddenLabel: boolean;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
export default form;
|