@movable/ui 1.17.0-alpha.2 → 1.17.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.
Files changed (73) hide show
  1. package/lib/components/Chip/InkChip.d.ts +8 -0
  2. package/lib/components/Chip/index.d.ts +1 -0
  3. package/lib/components/ChipGroup/InkChipGroup.d.ts +9 -0
  4. package/lib/components/ChipGroup/index.d.ts +1 -0
  5. package/lib/components/DemoComponent.d.ts +5 -0
  6. package/lib/components/Dialog/ActionButtonHelper.d.ts +4 -0
  7. package/lib/components/Dialog/DialogIcons.d.ts +5 -0
  8. package/lib/components/Dialog/InkDialog.d.ts +23 -0
  9. package/lib/components/Dialog/index.d.ts +1 -0
  10. package/lib/components/Header/HeaderMetadata.d.ts +10 -0
  11. package/lib/components/Header/HeaderSubtitle.d.ts +5 -0
  12. package/lib/components/Header/InkPageHeader.d.ts +12 -0
  13. package/lib/components/Header/InkWorkflowHeader.d.ts +7 -0
  14. package/lib/components/Header/InternalUseOnlyLabel.d.ts +6 -0
  15. package/lib/components/Header/LinkBreadcrumbs.d.ts +14 -0
  16. package/lib/components/Header/PageHeaderActionButtons.d.ts +23 -0
  17. package/lib/components/Header/StickyHeader.d.ts +9 -0
  18. package/lib/components/Header/index.d.ts +6 -0
  19. package/lib/components/InkEmptyState/EmptyStateIcon.d.ts +8 -0
  20. package/lib/components/InkEmptyState/InkEmptyState.d.ts +17 -0
  21. package/lib/components/InkEmptyState/VariantStyles.d.ts +10 -0
  22. package/lib/components/InkEmptyState/index.d.ts +1 -0
  23. package/lib/components/InkEmptyTableMessage/InkEmptyTableMessage.d.ts +7 -0
  24. package/lib/components/InkEmptyTableMessage/index.d.ts +1 -0
  25. package/lib/components/InkRadioTiles/InkRadioTiles.d.ts +23 -0
  26. package/lib/components/InkRadioTiles/index.d.ts +1 -0
  27. package/lib/components/InkSelect/InkSelect.d.ts +16 -0
  28. package/lib/components/InkSelect/InkSelectTest.d.ts +12 -0
  29. package/lib/components/InkSelect/MenuOptionsTest.d.ts +4 -0
  30. package/lib/components/InkSelect/index.d.ts +1 -0
  31. package/lib/components/InkSelect/useMenuHelper.d.ts +17 -0
  32. package/lib/components/InkToggleIcon/InkToggleIcon.d.ts +9 -0
  33. package/lib/components/InkToggleIcon/index.d.ts +1 -0
  34. package/lib/components/InkToggleIconGroup/InkToggleIconGroup.d.ts +14 -0
  35. package/lib/components/InkToggleIconGroup/index.d.ts +1 -0
  36. package/lib/components/InkToggleText/InkToggleText.d.ts +9 -0
  37. package/lib/components/InkToggleText/index.d.ts +1 -0
  38. package/lib/components/InkToggleTextGroup/InkToggleTextGroup.d.ts +15 -0
  39. package/lib/components/InkToggleTextGroup/index.d.ts +1 -0
  40. package/lib/components/PersistentFilterDrawer/InkPersistentFilterDrawer.d.ts +18 -0
  41. package/lib/components/PersistentFilterDrawer/index.d.ts +1 -0
  42. package/lib/components/Switch/InkSwitch.d.ts +8 -0
  43. package/lib/components/Switch/index.d.ts +1 -0
  44. package/lib/components/index.d.ts +15 -0
  45. package/lib/components/surfaces/InkPaper.d.ts +8 -0
  46. package/lib/components/surfaces/index.d.ts +1 -0
  47. package/lib/index.d.ts +4 -597
  48. package/lib/index.mjs +928 -923
  49. package/lib/index.mjs.map +1 -1
  50. package/lib/layouts/DetailsLayout.d.ts +7 -0
  51. package/lib/layouts/index.d.ts +1 -0
  52. package/lib/layouts/mocks/MockDetailsBody.d.ts +1 -0
  53. package/lib/layouts/mocks/MockInkPageHeader.d.ts +2 -0
  54. package/lib/layouts/mocks/index.d.ts +2 -0
  55. package/lib/page-objects/index.d.ts +2 -0
  56. package/lib/page-objects/ink-dialog.d.ts +21 -0
  57. package/lib/page-objects/ink-select.d.ts +22 -0
  58. package/lib/theme/components/Alert.d.ts +60 -0
  59. package/lib/theme/components/DataGrid.d.ts +45 -0
  60. package/lib/theme/components/autocomplete.d.ts +62 -0
  61. package/lib/theme/components/chip.d.ts +296 -0
  62. package/lib/theme/components/dialog.d.ts +32 -0
  63. package/lib/theme/components/drawer.d.ts +10 -0
  64. package/lib/theme/components/form.d.ts +248 -0
  65. package/lib/theme/components/snackbar.d.ts +13 -0
  66. package/lib/theme/components/stepper.d.ts +894 -0
  67. package/lib/theme/components/surfaces/card.d.ts +61 -0
  68. package/lib/theme/components/surfaces/index.d.ts +3 -0
  69. package/lib/theme/components/surfaces/paper.d.ts +26 -0
  70. package/lib/theme/components/typography.d.ts +18 -0
  71. package/lib/theme/palette.d.ts +237 -0
  72. package/lib/theme.d.ts +244 -0
  73. package/package.json +4 -5
@@ -0,0 +1,248 @@
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
+ };
150
+ input: ({ theme, ownerState, }: {
151
+ theme: Theme;
152
+ ownerState: InputProps;
153
+ }) => {
154
+ padding: string;
155
+ '&:focus': {
156
+ backgroundColor: string;
157
+ };
158
+ };
159
+ };
160
+ };
161
+ MuiSelect: {
162
+ defaultProps: {
163
+ variant: string;
164
+ };
165
+ styleOverrides: {
166
+ root: ({ theme }: {
167
+ theme: Theme;
168
+ }) => {
169
+ '&.Mui-disabled': {
170
+ backgroundColor: string;
171
+ };
172
+ '& .MuiSelect-select[class*="Mui-disabled"]': {
173
+ cursor: string;
174
+ };
175
+ };
176
+ };
177
+ };
178
+ MuiTextField: {
179
+ defaultProps: {
180
+ size: string;
181
+ variant: string;
182
+ hiddenLabel: boolean;
183
+ };
184
+ styleOverrides: {
185
+ root: ({ theme }: {
186
+ theme: Theme;
187
+ }) => {
188
+ '& input.Mui-disabled, & textarea.Mui-disabled': {
189
+ cursor: string;
190
+ };
191
+ '& .MuiInputBase-root.Mui-disabled': {
192
+ backgroundColor: string;
193
+ };
194
+ '& input.MuiInputBase-readOnly, & textarea.MuiInputBase-readOnly': {
195
+ paddingRight: string;
196
+ paddingLeft: string;
197
+ };
198
+ '& .MuiFilledInput-root.Mui-readOnly': {
199
+ outline: string;
200
+ };
201
+ '& .MuiFormHelperText-root': {
202
+ margin: number;
203
+ };
204
+ '& .MuiInputLabel-root': {
205
+ paddingBottom: number;
206
+ };
207
+ '& .MuiFilledInput-input:-webkit-autofill': {
208
+ borderRadius: string;
209
+ };
210
+ };
211
+ };
212
+ };
213
+ MuiCheckbox: {
214
+ defaultProps: {
215
+ disableRipple: boolean;
216
+ };
217
+ styleOverrides: {
218
+ root: ({ theme }: {
219
+ theme: Theme;
220
+ }) => {
221
+ '&.Mui-disabled': {
222
+ color: string;
223
+ };
224
+ '&.MuiCheckbox-root.MuiCheckbox-sizeSmall + .MuiFormControlLabel-label, &.MuiRadio-root.MuiRadio-sizeSmall + .MuiFormControlLabel-label': {
225
+ fontSize: import("csstype").Property.FontSize<string | number> | undefined;
226
+ };
227
+ };
228
+ };
229
+ };
230
+ MuiRadio: {
231
+ defaultProps: {
232
+ disableRipple: boolean;
233
+ };
234
+ styleOverrides: {
235
+ root: ({ theme }: {
236
+ theme: Theme;
237
+ }) => {
238
+ '&.Mui-disabled': {
239
+ color: string;
240
+ };
241
+ '&.MuiCheckbox-root.MuiCheckbox-sizeSmall + .MuiFormControlLabel-label, &.MuiRadio-root.MuiRadio-sizeSmall + .MuiFormControlLabel-label': {
242
+ fontSize: import("csstype").Property.FontSize<string | number> | undefined;
243
+ };
244
+ };
245
+ };
246
+ };
247
+ };
248
+ export default form;
@@ -0,0 +1,13 @@
1
+ import Slide from '@mui/material/Slide';
2
+ declare const snackbar: {
3
+ MuiSnackbar: {
4
+ defaultProps: {
5
+ anchorOrigin: {
6
+ horizontal: string;
7
+ vertical: string;
8
+ };
9
+ TransitionComponent: typeof Slide;
10
+ };
11
+ };
12
+ };
13
+ export default snackbar;