@movable/ui 2.10.0 → 2.12.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/Chip/InkChip.d.ts +9 -0
- package/lib/components/Chip/index.d.ts +1 -0
- package/lib/components/ChipGroup/InkChipGroup.d.ts +9 -0
- package/lib/components/ChipGroup/index.d.ts +1 -0
- package/lib/components/DemoComponent.d.ts +5 -0
- package/lib/components/Dialog/ActionButtonHelper.d.ts +4 -0
- package/lib/components/Dialog/DialogIcons.d.ts +5 -0
- package/lib/components/Dialog/InkDialog.d.ts +23 -0
- package/lib/components/Dialog/index.d.ts +1 -0
- package/lib/components/Header/HeaderMetadata.d.ts +10 -0
- package/lib/components/Header/HeaderSubtitle.d.ts +5 -0
- package/lib/components/Header/InkPageHeader.d.ts +12 -0
- package/lib/components/Header/InkWorkflowHeader.d.ts +19 -0
- package/lib/components/Header/InternalUseOnlyLabel.d.ts +6 -0
- package/lib/components/Header/LinkBreadcrumbs.d.ts +14 -0
- package/lib/components/Header/PageHeaderActionButtons.d.ts +23 -0
- package/lib/components/Header/StickyHeader.d.ts +9 -0
- package/lib/components/Header/index.d.ts +6 -0
- package/lib/components/InkAttributeList/InkAttribute.d.ts +10 -0
- package/lib/components/InkAttributeList/InkAttributeList.d.ts +8 -0
- package/lib/components/InkAttributeList/index.d.ts +3 -0
- package/lib/components/InkCheckboxGroup/InkCheckboxGroup.d.ts +22 -0
- package/lib/components/InkCheckboxGroup/InkFormCheckboxGroup.d.ts +5 -0
- package/lib/components/InkCheckboxGroup/index.d.ts +3 -0
- package/lib/components/InkDrawer/HeaderIcon.d.ts +7 -0
- package/lib/components/InkDrawer/InkDrawer.d.ts +28 -0
- package/lib/components/InkDrawer/index.d.ts +1 -0
- package/lib/components/InkEmptyState/EmptyStateIcon.d.ts +8 -0
- package/lib/components/InkEmptyState/InkEmptyState.d.ts +17 -0
- package/lib/components/InkEmptyState/VariantStyles.d.ts +10 -0
- package/lib/components/InkEmptyState/index.d.ts +1 -0
- package/lib/components/InkEmptyTableMessage/InkEmptyTableMessage.d.ts +7 -0
- package/lib/components/InkEmptyTableMessage/index.d.ts +1 -0
- package/lib/components/InkFormSelect/InkFormSelect.d.ts +5 -0
- package/lib/components/InkFormSelect/MockFormSelect.d.ts +9 -0
- package/lib/components/InkFormSelect/index.d.ts +1 -0
- package/lib/components/InkImage/InkImage.d.ts +8 -0
- package/lib/components/InkImage/index.d.ts +2 -0
- package/lib/components/InkRadioGroup/InkFormRadioGroup.d.ts +5 -0
- package/lib/components/InkRadioGroup/InkRadioGroup.d.ts +23 -0
- package/lib/components/InkRadioGroup/index.d.ts +3 -0
- package/lib/components/InkRadioTiles/InkRadioTiles.d.ts +24 -0
- package/lib/components/InkRadioTiles/index.d.ts +1 -0
- package/lib/components/InkSelect/InkSelect.d.ts +2 -0
- package/lib/components/InkSelect/InkSelectTest.d.ts +9 -0
- package/lib/components/InkSelect/MenuOptionsTest.d.ts +4 -0
- package/lib/components/InkSelect/index.d.ts +2 -0
- package/lib/components/InkSelect/types.d.ts +20 -0
- package/lib/components/InkSelect/useMenuHelper.d.ts +3 -0
- package/lib/components/InkSnackbar/InkSnackbarAlert.d.ts +12 -0
- package/lib/components/InkSnackbar/InkSnackbarContent.d.ts +3 -0
- package/lib/components/InkSnackbar/InkSnackbarContentProps.d.ts +8 -0
- package/lib/components/InkSnackbar/InkSnackbarProvider.d.ts +3 -0
- package/lib/components/InkSnackbar/SnackbarActionButton.d.ts +7 -0
- package/lib/components/InkSnackbar/index.d.ts +6 -0
- package/lib/components/InkTextField/InkFormTextField.d.ts +7 -0
- package/lib/components/InkTextField/InkTextField.d.ts +5 -0
- package/lib/components/InkTextField/index.d.ts +3 -0
- package/lib/components/InkToggleIcon/InkToggleIcon.d.ts +9 -0
- package/lib/components/InkToggleIcon/index.d.ts +1 -0
- package/lib/components/InkToggleIconGroup/InkToggleIconGroup.d.ts +14 -0
- package/lib/components/InkToggleIconGroup/index.d.ts +1 -0
- package/lib/components/InkToggleText/InkToggleText.d.ts +9 -0
- package/lib/components/InkToggleText/index.d.ts +1 -0
- package/lib/components/InkToggleTextGroup/InkToggleTextGroup.d.ts +15 -0
- package/lib/components/InkToggleTextGroup/index.d.ts +1 -0
- package/lib/components/PersistentFilterDrawer/InkPersistentFilterDrawer.d.ts +18 -0
- package/lib/components/PersistentFilterDrawer/index.d.ts +1 -0
- package/lib/components/Switch/InkSwitch.d.ts +8 -0
- package/lib/components/Switch/index.d.ts +1 -0
- package/lib/components/index.d.ts +23 -0
- package/lib/components/surfaces/InkPaper.d.ts +9 -0
- package/lib/components/surfaces/index.d.ts +1 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useCopyToClipboard.d.ts +4 -0
- package/lib/index.d.ts +70 -4
- package/lib/index.mjs +12507 -6163
- package/lib/index.mjs.map +1 -1
- package/lib/layouts/DetailsLayout.d.ts +7 -0
- package/lib/layouts/IndexLayout.d.ts +7 -0
- package/lib/layouts/WorkflowLayout.d.ts +7 -0
- package/lib/layouts/index.d.ts +3 -0
- package/lib/layouts/mocks/MockDetailsBody.d.ts +1 -0
- package/lib/layouts/mocks/MockIndexBody.d.ts +1 -0
- package/lib/layouts/mocks/MockInkPageHeader.d.ts +4 -0
- package/lib/layouts/mocks/MockWorkflowBody.d.ts +1 -0
- package/lib/layouts/mocks/MockWorkflowHeader.d.ts +1 -0
- package/lib/layouts/mocks/index.d.ts +5 -0
- package/lib/page-objects/index.d.ts +6 -0
- package/lib/page-objects/ink-checkbox-group.d.ts +19 -0
- package/lib/page-objects/ink-dialog.d.ts +21 -0
- package/lib/page-objects/ink-image.d.ts +12 -0
- package/lib/page-objects/ink-radio-group.d.ts +20 -0
- package/lib/page-objects/ink-select.d.ts +22 -0
- package/lib/page-objects/ink-snackbar-alert.d.ts +12 -0
- package/lib/page-objects/ink-text-field.d.ts +24 -0
- package/lib/theme/components/Alert.d.ts +60 -0
- package/lib/theme/components/DataGrid.d.ts +45 -0
- package/lib/theme/components/autocomplete.d.ts +62 -0
- package/lib/theme/components/chip.d.ts +296 -0
- package/lib/theme/components/dialog.d.ts +32 -0
- package/lib/theme/components/drawer.d.ts +10 -0
- package/lib/theme/components/form.d.ts +255 -0
- package/lib/theme/components/snackbar.d.ts +13 -0
- package/lib/theme/components/stepper.d.ts +894 -0
- package/lib/theme/components/surfaces/card.d.ts +61 -0
- package/lib/theme/components/surfaces/index.d.ts +3 -0
- package/lib/theme/components/surfaces/paper.d.ts +26 -0
- package/lib/theme/components/typography.d.ts +18 -0
- package/lib/theme/palette.d.ts +237 -0
- package/lib/theme.d.ts +258 -0
- package/lib/utils/PageWrapper.d.ts +8 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const dialog: {
|
|
2
|
+
MuiDialog: {
|
|
3
|
+
defaultProps: {
|
|
4
|
+
maxWidth: string;
|
|
5
|
+
fullWidth: boolean;
|
|
6
|
+
scroll: string;
|
|
7
|
+
};
|
|
8
|
+
styleOverrides: {
|
|
9
|
+
paper: {
|
|
10
|
+
padding: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
MuiDialogTitle: {
|
|
15
|
+
defaultProps: {
|
|
16
|
+
variant: string;
|
|
17
|
+
};
|
|
18
|
+
styleOverrides: {
|
|
19
|
+
root: {
|
|
20
|
+
fontWeight: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
MuiDialogActions: {
|
|
25
|
+
styleOverrides: {
|
|
26
|
+
root: {
|
|
27
|
+
padding: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default dialog;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { InputProps } from '@mui/material';
|
|
2
|
+
import { Theme } from '@mui/material/styles';
|
|
3
|
+
declare const form: {
|
|
4
|
+
MuiFormControl: {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: ({ theme }: {
|
|
7
|
+
theme: Theme;
|
|
8
|
+
}) => {
|
|
9
|
+
gap: string;
|
|
10
|
+
minWidth: string;
|
|
11
|
+
'& .MuiFormHelperText-root': {
|
|
12
|
+
margin: number;
|
|
13
|
+
};
|
|
14
|
+
'& .Mui-error + .MuiFormHelperText-root': {
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
'& .MuiInputLabel-root': {
|
|
18
|
+
paddingBottom: number;
|
|
19
|
+
};
|
|
20
|
+
'&:focus-within legend': {
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
MuiFormControlLabel: {
|
|
27
|
+
styleOverrides: {
|
|
28
|
+
root: ({ theme }: {
|
|
29
|
+
theme: Theme;
|
|
30
|
+
}) => {
|
|
31
|
+
color: string;
|
|
32
|
+
fontSize: string;
|
|
33
|
+
lineHeight: string;
|
|
34
|
+
letterSpacing: string;
|
|
35
|
+
'&.Mui-focused': {
|
|
36
|
+
color: string;
|
|
37
|
+
};
|
|
38
|
+
'&.Mui-disabled': {
|
|
39
|
+
color: string;
|
|
40
|
+
cursor: string;
|
|
41
|
+
};
|
|
42
|
+
'&.Mui-error': {
|
|
43
|
+
color: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
asterisk: ({ theme }: {
|
|
47
|
+
theme: Theme;
|
|
48
|
+
}) => {
|
|
49
|
+
color: string;
|
|
50
|
+
marginLeft: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
MuiFormLabel: {
|
|
55
|
+
styleOverrides: {
|
|
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': {
|
|
67
|
+
color: string;
|
|
68
|
+
cursor: string;
|
|
69
|
+
};
|
|
70
|
+
'&.Mui-error': {
|
|
71
|
+
color: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
asterisk: ({ theme }: {
|
|
75
|
+
theme: Theme;
|
|
76
|
+
}) => {
|
|
77
|
+
color: string;
|
|
78
|
+
marginLeft: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
MuiInputLabel: {
|
|
83
|
+
defaultProps: {
|
|
84
|
+
shrink: boolean;
|
|
85
|
+
};
|
|
86
|
+
styleOverrides: {
|
|
87
|
+
root: ({ theme }: {
|
|
88
|
+
theme: Theme;
|
|
89
|
+
}) => {
|
|
90
|
+
color: string;
|
|
91
|
+
fontSize: string;
|
|
92
|
+
lineHeight: string;
|
|
93
|
+
letterSpacing: string;
|
|
94
|
+
'&.Mui-focused': {
|
|
95
|
+
color: string;
|
|
96
|
+
};
|
|
97
|
+
'&.Mui-disabled': {
|
|
98
|
+
color: string;
|
|
99
|
+
cursor: string;
|
|
100
|
+
};
|
|
101
|
+
'&.Mui-error': {
|
|
102
|
+
color: string;
|
|
103
|
+
};
|
|
104
|
+
transform: string;
|
|
105
|
+
position: string;
|
|
106
|
+
};
|
|
107
|
+
asterisk: ({ theme }: {
|
|
108
|
+
theme: Theme;
|
|
109
|
+
}) => {
|
|
110
|
+
color: string;
|
|
111
|
+
marginLeft: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
MuiFilledInput: {
|
|
116
|
+
defaultProps: {
|
|
117
|
+
disableUnderline: boolean;
|
|
118
|
+
};
|
|
119
|
+
styleOverrides: {
|
|
120
|
+
root: ({ theme }: {
|
|
121
|
+
theme: Theme;
|
|
122
|
+
}) => {
|
|
123
|
+
backgroundColor: string;
|
|
124
|
+
borderRadius: string;
|
|
125
|
+
lineHeight: string;
|
|
126
|
+
letterSpacing: string;
|
|
127
|
+
'&::before': {
|
|
128
|
+
display: string;
|
|
129
|
+
};
|
|
130
|
+
'&:hover': {
|
|
131
|
+
backgroundColor: string;
|
|
132
|
+
};
|
|
133
|
+
'&.Mui-focused': {
|
|
134
|
+
outline: string;
|
|
135
|
+
backgroundColor: string;
|
|
136
|
+
};
|
|
137
|
+
'&.Mui-disabled': {
|
|
138
|
+
backgroundColor: string;
|
|
139
|
+
color: string;
|
|
140
|
+
};
|
|
141
|
+
'&.Mui-error': {
|
|
142
|
+
outline: string;
|
|
143
|
+
backgroundColor: string;
|
|
144
|
+
};
|
|
145
|
+
'&.Mui-readOnly': {
|
|
146
|
+
outline: string;
|
|
147
|
+
backgroundColor: string;
|
|
148
|
+
};
|
|
149
|
+
'&.MuiInputBase-multiline': {
|
|
150
|
+
padding: number;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
input: ({ theme, ownerState, }: {
|
|
154
|
+
theme: Theme;
|
|
155
|
+
ownerState: InputProps;
|
|
156
|
+
}) => {
|
|
157
|
+
padding: string;
|
|
158
|
+
'&:focus': {
|
|
159
|
+
backgroundColor: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
MuiSelect: {
|
|
165
|
+
defaultProps: {
|
|
166
|
+
variant: string;
|
|
167
|
+
};
|
|
168
|
+
styleOverrides: {
|
|
169
|
+
root: ({ theme }: {
|
|
170
|
+
theme: Theme;
|
|
171
|
+
}) => {
|
|
172
|
+
'&.Mui-disabled': {
|
|
173
|
+
backgroundColor: string;
|
|
174
|
+
};
|
|
175
|
+
'& .MuiSelect-select[class*="Mui-disabled"]': {
|
|
176
|
+
cursor: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
MuiTextField: {
|
|
182
|
+
defaultProps: {
|
|
183
|
+
size: string;
|
|
184
|
+
variant: string;
|
|
185
|
+
hiddenLabel: boolean;
|
|
186
|
+
};
|
|
187
|
+
styleOverrides: {
|
|
188
|
+
root: ({ theme }: {
|
|
189
|
+
theme: Theme;
|
|
190
|
+
}) => {
|
|
191
|
+
'& input.Mui-disabled, & textarea.Mui-disabled': {
|
|
192
|
+
cursor: string;
|
|
193
|
+
};
|
|
194
|
+
'& .MuiInputBase-root.Mui-disabled': {
|
|
195
|
+
backgroundColor: string;
|
|
196
|
+
};
|
|
197
|
+
'& input.MuiInputBase-readOnly, & textarea.MuiInputBase-readOnly': {
|
|
198
|
+
paddingRight: string;
|
|
199
|
+
paddingLeft: string;
|
|
200
|
+
};
|
|
201
|
+
'& .MuiFilledInput-root.Mui-readOnly': {
|
|
202
|
+
outline: string;
|
|
203
|
+
};
|
|
204
|
+
'& .MuiFormHelperText-root': {
|
|
205
|
+
margin: number;
|
|
206
|
+
};
|
|
207
|
+
'& .MuiInputLabel-root': {
|
|
208
|
+
paddingBottom: number;
|
|
209
|
+
};
|
|
210
|
+
'& .MuiFilledInput-input:-webkit-autofill': {
|
|
211
|
+
borderRadius: string;
|
|
212
|
+
};
|
|
213
|
+
'& .MuiInputBase-input': {
|
|
214
|
+
height: string;
|
|
215
|
+
minHeight: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
MuiCheckbox: {
|
|
221
|
+
defaultProps: {
|
|
222
|
+
disableRipple: boolean;
|
|
223
|
+
};
|
|
224
|
+
styleOverrides: {
|
|
225
|
+
root: ({ theme }: {
|
|
226
|
+
theme: Theme;
|
|
227
|
+
}) => {
|
|
228
|
+
'&.Mui-disabled': {
|
|
229
|
+
color: string;
|
|
230
|
+
};
|
|
231
|
+
'&.MuiCheckbox-root.MuiCheckbox-sizeSmall + .MuiFormControlLabel-label, &.MuiRadio-root.MuiRadio-sizeSmall + .MuiFormControlLabel-label': {
|
|
232
|
+
fontSize: import("csstype").Property.FontSize<string | number> | undefined;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
MuiRadio: {
|
|
238
|
+
defaultProps: {
|
|
239
|
+
disableRipple: boolean;
|
|
240
|
+
};
|
|
241
|
+
styleOverrides: {
|
|
242
|
+
root: ({ theme }: {
|
|
243
|
+
theme: Theme;
|
|
244
|
+
}) => {
|
|
245
|
+
'&.Mui-disabled': {
|
|
246
|
+
color: string;
|
|
247
|
+
};
|
|
248
|
+
'&.MuiCheckbox-root.MuiCheckbox-sizeSmall + .MuiFormControlLabel-label, &.MuiRadio-root.MuiRadio-sizeSmall + .MuiFormControlLabel-label': {
|
|
249
|
+
fontSize: import("csstype").Property.FontSize<string | number> | undefined;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
export default form;
|