@mdtl/uikit 0.0.6 → 0.0.8

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 (128) hide show
  1. package/dist/icons/Add.d.ts +3 -0
  2. package/dist/icons/Arrow.d.ts +3 -0
  3. package/dist/icons/COP.d.ts +3 -0
  4. package/dist/icons/CalendarEmpty.d.ts +3 -0
  5. package/dist/icons/Cancel.d.ts +3 -0
  6. package/dist/icons/Chart.d.ts +3 -0
  7. package/dist/icons/Clone.d.ts +3 -0
  8. package/dist/icons/Close.d.ts +3 -0
  9. package/dist/icons/Copy.d.ts +3 -0
  10. package/dist/icons/CustomSaveIcon.d.ts +3 -0
  11. package/dist/icons/Cycle.d.ts +4 -0
  12. package/dist/icons/CycleBroken.d.ts +4 -0
  13. package/dist/icons/Delete.d.ts +3 -0
  14. package/dist/icons/DeleteNotification.d.ts +3 -0
  15. package/dist/icons/DependantAggregate.d.ts +4 -0
  16. package/dist/icons/DeviceAccounting.d.ts +4 -0
  17. package/dist/icons/Divide.d.ts +3 -0
  18. package/dist/icons/Download.d.ts +3 -0
  19. package/dist/icons/Downtime.d.ts +3 -0
  20. package/dist/icons/DragIndicator.d.ts +3 -0
  21. package/dist/icons/DraggableHandleVertical.d.ts +3 -0
  22. package/dist/icons/Engineer.d.ts +3 -0
  23. package/dist/icons/Export.d.ts +3 -0
  24. package/dist/icons/ExternalLink.d.ts +3 -0
  25. package/dist/icons/Filter.d.ts +3 -0
  26. package/dist/icons/FullScreen.d.ts +3 -0
  27. package/dist/icons/Groups.d.ts +3 -0
  28. package/dist/icons/HPK.d.ts +3 -0
  29. package/dist/icons/HPS.d.ts +3 -0
  30. package/dist/icons/Hierarchy.d.ts +3 -0
  31. package/dist/icons/Import.d.ts +3 -0
  32. package/dist/icons/Info.d.ts +3 -0
  33. package/dist/icons/Join.d.ts +3 -0
  34. package/dist/icons/Loader.d.ts +3 -0
  35. package/dist/icons/Logout.d.ts +3 -0
  36. package/dist/icons/Material.d.ts +3 -0
  37. package/dist/icons/MiningManagement.d.ts +3 -0
  38. package/dist/icons/ModalClose.d.ts +3 -0
  39. package/dist/icons/NeedLZ.d.ts +3 -0
  40. package/dist/icons/Needs.d.ts +3 -0
  41. package/dist/icons/Notification.d.ts +3 -0
  42. package/dist/icons/OperationalData.d.ts +3 -0
  43. package/dist/icons/Orders.d.ts +3 -0
  44. package/dist/icons/OverviewProduction.d.ts +3 -0
  45. package/dist/icons/Person.d.ts +3 -0
  46. package/dist/icons/Pin.d.ts +3 -0
  47. package/dist/icons/PinOff.d.ts +3 -0
  48. package/dist/icons/Plan.d.ts +3 -0
  49. package/dist/icons/Plarform.d.ts +3 -0
  50. package/dist/icons/Production.d.ts +3 -0
  51. package/dist/icons/QualityData.d.ts +3 -0
  52. package/dist/icons/Receipts.d.ts +3 -0
  53. package/dist/icons/Refresh.d.ts +3 -0
  54. package/dist/icons/Report.d.ts +3 -0
  55. package/dist/icons/Reporting.d.ts +3 -0
  56. package/dist/icons/RightPanel.d.ts +3 -0
  57. package/dist/icons/Run.d.ts +4 -0
  58. package/dist/icons/Scale.d.ts +3 -0
  59. package/dist/icons/Search.d.ts +3 -0
  60. package/dist/icons/Settings.d.ts +3 -0
  61. package/dist/icons/ShippingDate.d.ts +3 -0
  62. package/dist/icons/Show.d.ts +3 -0
  63. package/dist/icons/Stan350.d.ts +3 -0
  64. package/dist/icons/Stan700.d.ts +3 -0
  65. package/dist/icons/SteelWorkshop.d.ts +3 -0
  66. package/dist/icons/Stocks.d.ts +3 -0
  67. package/dist/icons/Storage.d.ts +3 -0
  68. package/dist/icons/Success.d.ts +3 -0
  69. package/dist/icons/SwapHorizontal.d.ts +3 -0
  70. package/dist/icons/Table.d.ts +3 -0
  71. package/dist/icons/ThroughLineRoutes.d.ts +3 -0
  72. package/dist/icons/ThroughRoutes.d.ts +3 -0
  73. package/dist/icons/TimeTracking.d.ts +3 -0
  74. package/dist/icons/Visibility.d.ts +3 -0
  75. package/dist/icons/VisibilityOff.d.ts +3 -0
  76. package/dist/icons/Warning.d.ts +3 -0
  77. package/dist/icons/materials/Angle.d.ts +3 -0
  78. package/dist/icons/materials/Billet.d.ts +3 -0
  79. package/dist/icons/materials/Circle.d.ts +3 -0
  80. package/dist/icons/materials/Hexagon.d.ts +3 -0
  81. package/dist/icons/materials/IBeam.d.ts +3 -0
  82. package/dist/icons/materials/Reinforcement.d.ts +3 -0
  83. package/dist/icons/materials/Round.d.ts +3 -0
  84. package/dist/icons/materials/Slab.d.ts +3 -0
  85. package/dist/icons/materials/Square.d.ts +3 -0
  86. package/dist/icons/materials/Strip.d.ts +3 -0
  87. package/dist/icons/materials/UBeam.d.ts +3 -0
  88. package/dist/icons/materials/Wire.d.ts +3 -0
  89. package/dist/index.d.ts +1 -0
  90. package/dist/theme/base.d.ts +147 -0
  91. package/dist/theme/common/CheckboxChecked.d.ts +3 -0
  92. package/dist/theme/common/CheckboxDeterminate.d.ts +3 -0
  93. package/dist/theme/common/CheckboxIcon.d.ts +3 -0
  94. package/dist/theme/common/RadioButtonChecked.d.ts +3 -0
  95. package/dist/theme/common/RadioButtonIcon.d.ts +3 -0
  96. package/dist/theme/config.d.ts +69 -0
  97. package/dist/theme/controls/RadioButton.d.ts +113 -0
  98. package/dist/theme/controls/alert.d.ts +45 -0
  99. package/dist/theme/controls/autocomplete.d.ts +50 -0
  100. package/dist/theme/controls/badge.d.ts +25 -0
  101. package/dist/theme/controls/buttons.d.ts +250 -0
  102. package/dist/theme/controls/checkbox.d.ts +113 -0
  103. package/dist/theme/controls/fabs.d.ts +36 -0
  104. package/dist/theme/controls/formControlLabel.d.ts +16 -0
  105. package/dist/theme/controls/iconButton.d.ts +142 -0
  106. package/dist/theme/controls/inputAdornment.d.ts +15 -0
  107. package/dist/theme/controls/inputLabel.d.ts +90 -0
  108. package/dist/theme/controls/menu.d.ts +14 -0
  109. package/dist/theme/controls/menuItem.d.ts +19 -0
  110. package/dist/theme/controls/pickersTextField.d.ts +446 -0
  111. package/dist/theme/controls/shared/controlConfigs.d.ts +100 -0
  112. package/dist/theme/controls/stepIcon.d.ts +10 -0
  113. package/dist/theme/controls/stepLabel.d.ts +11 -0
  114. package/dist/theme/controls/svgIcon.d.ts +13 -0
  115. package/dist/theme/controls/tab.d.ts +25 -0
  116. package/dist/theme/controls/table.d.ts +7 -0
  117. package/dist/theme/controls/tableCell.d.ts +24 -0
  118. package/dist/theme/controls/tableRow.d.ts +42 -0
  119. package/dist/theme/controls/tabs.d.ts +10 -0
  120. package/dist/theme/controls/textfield.d.ts +689 -0
  121. package/dist/theme/controls/toggleButton.d.ts +35 -0
  122. package/dist/theme/controls/toggleButtonGroup.d.ts +7 -0
  123. package/dist/theme/controls/tooltip.d.ts +27 -0
  124. package/dist/theme/declareTypes.d.ts +126 -0
  125. package/dist/theme/global.d.ts +2 -0
  126. package/dist/theme/typography.d.ts +129 -0
  127. package/dist/uikit.js +4085 -2160
  128. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,69 @@
1
+ import { ThemeOptions } from '@mui/material/styles';
2
+ declare module '@mui/material/Autocomplete' {
3
+ interface AutocompletePropsSizeOverrides {
4
+ xl: true;
5
+ l: true;
6
+ m: true;
7
+ s: true;
8
+ xs: true;
9
+ small: false;
10
+ medium: false;
11
+ }
12
+ }
13
+ declare module '@mui/material/TextField' {
14
+ interface TextFieldPropsSizeOverrides {
15
+ xl: true;
16
+ l: true;
17
+ m: true;
18
+ s: true;
19
+ xs: true;
20
+ medium: false;
21
+ small: false;
22
+ }
23
+ }
24
+ declare module '@mui/material/InputLabel' {
25
+ interface InputLabelPropsSizeOverrides {
26
+ xl: true;
27
+ l: true;
28
+ m: true;
29
+ s: true;
30
+ xs: true;
31
+ medium: false;
32
+ small: false;
33
+ }
34
+ }
35
+ declare module '@mui/material/SvgIcon' {
36
+ interface SvgIconPropsSizeOverrides {
37
+ xl: true;
38
+ l: true;
39
+ m: true;
40
+ s: true;
41
+ xs: true;
42
+ large: false;
43
+ medium: false;
44
+ small: false;
45
+ }
46
+ }
47
+ declare module '@mui/material/Radio' {
48
+ interface RadioPropsSizeOverrides {
49
+ xl: true;
50
+ l: true;
51
+ m: true;
52
+ s: true;
53
+ xs: true;
54
+ large: false;
55
+ medium: false;
56
+ small: false;
57
+ }
58
+ }
59
+ declare module '@mui/material/Checkbox' {
60
+ interface CheckboxPropsSizeOverrides {
61
+ l: true;
62
+ m: true;
63
+ s: true;
64
+ large: false;
65
+ medium: false;
66
+ small: false;
67
+ }
68
+ }
69
+ export declare const themeOptions: ThemeOptions;
@@ -0,0 +1,113 @@
1
+ import { default as React } from 'react';
2
+ declare module '@mui/material/Checkbox' {
3
+ interface RadioPropsColorOverrides {
4
+ primary: true;
5
+ error: true;
6
+ }
7
+ interface RadioPropsSizeOverrides {
8
+ l: true;
9
+ m: true;
10
+ s: true;
11
+ large: false;
12
+ medium: false;
13
+ small: false;
14
+ }
15
+ interface RadioProps {
16
+ error?: boolean;
17
+ required?: boolean;
18
+ }
19
+ }
20
+ export declare const radioConfig: {
21
+ defaultProps: {
22
+ indeterminateIcon: string | number | bigint | true | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>>;
23
+ disableRipple: boolean;
24
+ disableFocusRipple: boolean;
25
+ disableTouchRipple: boolean;
26
+ icon: React.ReactNode;
27
+ checkedIcon: React.ReactNode;
28
+ };
29
+ variants: ({
30
+ props: {
31
+ color: string;
32
+ size?: undefined;
33
+ };
34
+ style: {
35
+ color: string;
36
+ '&:hover': {
37
+ color: string;
38
+ };
39
+ '&.Mui-checked': {
40
+ color: string;
41
+ '&:hover': {
42
+ color: string;
43
+ };
44
+ };
45
+ '&.MuiCheckbox-indeterminate': {
46
+ color: string;
47
+ '&:hover': {
48
+ color: string;
49
+ };
50
+ };
51
+ '&.Mui-disabled': {
52
+ color: string;
53
+ };
54
+ padding?: undefined;
55
+ '& .MuiSvgIcon-root'?: undefined;
56
+ };
57
+ } | {
58
+ props: {
59
+ color: string;
60
+ size?: undefined;
61
+ };
62
+ style: {
63
+ color: string;
64
+ '&:hover': {
65
+ color: string;
66
+ };
67
+ '&.Mui-checked': {
68
+ color: string;
69
+ '&:hover': {
70
+ color: string;
71
+ };
72
+ };
73
+ '&.Mui-disabled': {
74
+ color: string;
75
+ };
76
+ '&.MuiCheckbox-indeterminate'?: undefined;
77
+ padding?: undefined;
78
+ '& .MuiSvgIcon-root'?: undefined;
79
+ };
80
+ } | {
81
+ props: {
82
+ size: string;
83
+ color?: undefined;
84
+ };
85
+ style: {
86
+ padding: string;
87
+ '& .MuiSvgIcon-root': {
88
+ fontSize: number;
89
+ };
90
+ color?: undefined;
91
+ '&:hover'?: undefined;
92
+ '&.Mui-checked'?: undefined;
93
+ '&.MuiCheckbox-indeterminate'?: undefined;
94
+ '&.Mui-disabled'?: undefined;
95
+ };
96
+ } | {
97
+ props: {
98
+ size: string;
99
+ color?: undefined;
100
+ };
101
+ style: {
102
+ '& .MuiSvgIcon-root': {
103
+ fontSize: number;
104
+ };
105
+ color?: undefined;
106
+ '&:hover'?: undefined;
107
+ '&.Mui-checked'?: undefined;
108
+ '&.MuiCheckbox-indeterminate'?: undefined;
109
+ '&.Mui-disabled'?: undefined;
110
+ padding?: undefined;
111
+ };
112
+ })[];
113
+ };
@@ -0,0 +1,45 @@
1
+ import { default as React } from 'react';
2
+ import { AlertProps } from '@mui/material/Alert';
3
+ export declare const alertConfig: () => {
4
+ defaultProps: {
5
+ iconMapping: {
6
+ success: React.JSX.Element;
7
+ warning: React.JSX.Element;
8
+ };
9
+ };
10
+ variants: ({
11
+ style: ({ theme }: {
12
+ theme: any;
13
+ }) => {
14
+ '& .MuiAlertTitle-root': {
15
+ color: string;
16
+ fontSize: any;
17
+ fontWeight: any;
18
+ };
19
+ width: number;
20
+ borderRadius: number;
21
+ pt: number;
22
+ pr: number;
23
+ pb: number;
24
+ pl: number;
25
+ color: string;
26
+ fontSize: any;
27
+ fontWeight: any;
28
+ '& .MuiSvgIcon-root': {
29
+ color: string;
30
+ width: number;
31
+ height: number;
32
+ };
33
+ '& .MuiAlert-message': {
34
+ width: string;
35
+ alignContent: string;
36
+ };
37
+ };
38
+ props?: undefined;
39
+ } | {
40
+ props: AlertProps;
41
+ style: {
42
+ background: string;
43
+ };
44
+ })[];
45
+ };
@@ -0,0 +1,50 @@
1
+ export declare const autocompleteConfig: {
2
+ styleOverrides: {
3
+ root: {
4
+ '& .MuiFilledInput-root': {
5
+ flexWrap: string;
6
+ justifyContent: string;
7
+ paddingTop: number;
8
+ paddingLeft: number;
9
+ '&:before, &:after, &:hover:not(.Mui-disabled):before': {
10
+ display: string;
11
+ };
12
+ '&.MuiInputBase-sizeS': {
13
+ paddingTop: number;
14
+ };
15
+ '& .MuiFilledInput-input': {
16
+ paddingLeft: number;
17
+ };
18
+ };
19
+ '& .MuiChip-root': {
20
+ height: string;
21
+ '& .MuiChip-label': {
22
+ fontSize: string;
23
+ };
24
+ '& .MuiChip-deleteIcon': {
25
+ fontSize: string;
26
+ };
27
+ };
28
+ };
29
+ };
30
+ variants: {
31
+ props: {
32
+ size: string;
33
+ };
34
+ style: {
35
+ height: number;
36
+ '& .MuiAutocomplete-inputRoot .MuiAutocomplete-input': {
37
+ paddingLeft: number;
38
+ };
39
+ '& .MuiAutocomplete-inputRoot.Mui-focused .MuiAutocomplete-input, & .MuiAutocomplete-inputRoot input:not(:placeholder-shown)': {
40
+ paddingTop: number;
41
+ };
42
+ '& .MuiSelect-icon': {
43
+ fontSize: number;
44
+ };
45
+ '& .MuiFormControl-root .MuiInputLabel-root': {
46
+ paddingRight: number;
47
+ };
48
+ };
49
+ }[];
50
+ };
@@ -0,0 +1,25 @@
1
+ export declare const badgeConfig: {
2
+ styleOverrides: {
3
+ badge: {
4
+ alignItems: string;
5
+ justifyContent: string;
6
+ fontSize: string;
7
+ fontWeight: number;
8
+ lineHeight: string;
9
+ minWidth: string;
10
+ width: string;
11
+ height: string;
12
+ padding: string;
13
+ position: string;
14
+ transform: string;
15
+ display: string;
16
+ '& .MuiBadge-badge': {
17
+ width: string;
18
+ height: string;
19
+ display: string;
20
+ alignItems: string;
21
+ justifyContent: string;
22
+ };
23
+ };
24
+ };
25
+ };
@@ -0,0 +1,250 @@
1
+ export declare const colors: {
2
+ primary: {
3
+ main: string;
4
+ hover: string;
5
+ text: string;
6
+ };
7
+ secondary: {
8
+ main: string;
9
+ hover: string;
10
+ active: string;
11
+ text: string;
12
+ border: string;
13
+ borderActive: string;
14
+ };
15
+ text: {
16
+ main: string;
17
+ hover: string;
18
+ active: string;
19
+ };
20
+ disabled: {
21
+ opacity: number;
22
+ };
23
+ };
24
+ export declare const buttonsConfig: {
25
+ styleOverrides: {
26
+ root: {
27
+ textTransform: string;
28
+ borderRadius: number;
29
+ fontWeight: number;
30
+ boxShadow: string;
31
+ '& .MuiSvgIcon-root': {
32
+ fontSize: number;
33
+ };
34
+ variants: ({
35
+ props: {
36
+ variant: string;
37
+ color: string;
38
+ size?: undefined;
39
+ };
40
+ style: {
41
+ color: string;
42
+ background: string;
43
+ '&:hover': {
44
+ background: string;
45
+ border?: undefined;
46
+ };
47
+ '&:active': {
48
+ background: string;
49
+ border?: undefined;
50
+ };
51
+ '&.Mui-disabled': {
52
+ opacity: number;
53
+ background: string;
54
+ color: string;
55
+ border?: undefined;
56
+ };
57
+ border?: undefined;
58
+ minHeight?: undefined;
59
+ height?: undefined;
60
+ fontSize?: undefined;
61
+ weight?: undefined;
62
+ lineHeight?: undefined;
63
+ padding?: undefined;
64
+ '& .MuiSvgIcon-root'?: undefined;
65
+ '& .MuiButton-startIcon'?: undefined;
66
+ '& .MuiButton-endtIcon'?: undefined;
67
+ '& .MuiButton-endIcon'?: undefined;
68
+ borderRadius?: undefined;
69
+ };
70
+ } | {
71
+ props: {
72
+ variant: string;
73
+ color: string;
74
+ size?: undefined;
75
+ };
76
+ style: {
77
+ color: string;
78
+ background: string;
79
+ border: string;
80
+ '&:hover': {
81
+ background: string;
82
+ border: string;
83
+ };
84
+ '&:active': {
85
+ background: string;
86
+ border: string;
87
+ };
88
+ '&.Mui-disabled': {
89
+ opacity: number;
90
+ background: string;
91
+ color: string;
92
+ border: string;
93
+ };
94
+ minHeight?: undefined;
95
+ height?: undefined;
96
+ fontSize?: undefined;
97
+ weight?: undefined;
98
+ lineHeight?: undefined;
99
+ padding?: undefined;
100
+ '& .MuiSvgIcon-root'?: undefined;
101
+ '& .MuiButton-startIcon'?: undefined;
102
+ '& .MuiButton-endtIcon'?: undefined;
103
+ '& .MuiButton-endIcon'?: undefined;
104
+ borderRadius?: undefined;
105
+ };
106
+ } | {
107
+ props: {
108
+ size: string;
109
+ variant?: undefined;
110
+ color?: undefined;
111
+ };
112
+ style: {
113
+ minHeight: number;
114
+ height: number;
115
+ fontSize: string;
116
+ weight: number;
117
+ lineHeight: string;
118
+ padding: string;
119
+ '& .MuiSvgIcon-root': {
120
+ fontSize: number;
121
+ };
122
+ '& .MuiButton-startIcon': {
123
+ mr: number;
124
+ ml: number;
125
+ width: number;
126
+ };
127
+ '& .MuiButton-endtIcon': {
128
+ mr: number;
129
+ ml: number;
130
+ width: number;
131
+ };
132
+ color?: undefined;
133
+ background?: undefined;
134
+ '&:hover'?: undefined;
135
+ '&:active'?: undefined;
136
+ '&.Mui-disabled'?: undefined;
137
+ border?: undefined;
138
+ '& .MuiButton-endIcon'?: undefined;
139
+ borderRadius?: undefined;
140
+ };
141
+ } | {
142
+ props: {
143
+ size: string;
144
+ variant?: undefined;
145
+ color?: undefined;
146
+ };
147
+ style: {
148
+ minHeight: number;
149
+ height: number;
150
+ fontSize: string;
151
+ weight: number;
152
+ lineHeight: string;
153
+ padding: string;
154
+ '& .MuiSvgIcon-root': {
155
+ fontSize: number;
156
+ };
157
+ '& .MuiButton-startIcon': {
158
+ mr: number;
159
+ ml: number;
160
+ width: number;
161
+ };
162
+ '& .MuiButton-endIcon': {
163
+ mr: number;
164
+ ml: number;
165
+ width: number;
166
+ };
167
+ color?: undefined;
168
+ background?: undefined;
169
+ '&:hover'?: undefined;
170
+ '&:active'?: undefined;
171
+ '&.Mui-disabled'?: undefined;
172
+ border?: undefined;
173
+ '& .MuiButton-endtIcon'?: undefined;
174
+ borderRadius?: undefined;
175
+ };
176
+ } | {
177
+ props: {
178
+ size: string;
179
+ variant?: undefined;
180
+ color?: undefined;
181
+ };
182
+ style: {
183
+ minHeight: number;
184
+ height: number;
185
+ borderRadius: number;
186
+ fontSize: string;
187
+ weight: number;
188
+ lineHeight: string;
189
+ padding: string;
190
+ '& .MuiButton-startIcon': {
191
+ mr: number;
192
+ ml: number;
193
+ width: number;
194
+ };
195
+ '& .MuiButton-endIcon': {
196
+ mr: number;
197
+ ml: number;
198
+ width: number;
199
+ };
200
+ color?: undefined;
201
+ background?: undefined;
202
+ '&:hover'?: undefined;
203
+ '&:active'?: undefined;
204
+ '&.Mui-disabled'?: undefined;
205
+ border?: undefined;
206
+ '& .MuiSvgIcon-root'?: undefined;
207
+ '& .MuiButton-endtIcon'?: undefined;
208
+ };
209
+ } | {
210
+ props: {
211
+ size: string;
212
+ variant?: undefined;
213
+ color?: undefined;
214
+ };
215
+ style: {
216
+ minHeight: number;
217
+ height: number;
218
+ fontSize: string;
219
+ weight: number;
220
+ lineHeight: string;
221
+ padding: string;
222
+ '& .MuiButton-startIcon': {
223
+ mr: number;
224
+ ml: number;
225
+ width: number;
226
+ };
227
+ '& .MuiButton-endtIcon': {
228
+ mr: number;
229
+ ml: number;
230
+ width: number;
231
+ };
232
+ color?: undefined;
233
+ background?: undefined;
234
+ '&:hover'?: undefined;
235
+ '&:active'?: undefined;
236
+ '&.Mui-disabled'?: undefined;
237
+ border?: undefined;
238
+ '& .MuiSvgIcon-root'?: undefined;
239
+ '& .MuiButton-endIcon'?: undefined;
240
+ borderRadius?: undefined;
241
+ };
242
+ })[];
243
+ };
244
+ };
245
+ defaultProps: {
246
+ disableRipple: boolean;
247
+ disableFocusRipple: boolean;
248
+ disableTouchRipple: boolean;
249
+ };
250
+ };
@@ -0,0 +1,113 @@
1
+ import { default as React } from 'react';
2
+ declare module '@mui/material/Checkbox' {
3
+ interface CheckboxPropsColorOverrides {
4
+ primary: true;
5
+ error: true;
6
+ }
7
+ interface CheckboxPropsSizeOverrides {
8
+ l: true;
9
+ m: true;
10
+ s: true;
11
+ large: false;
12
+ medium: false;
13
+ small: false;
14
+ }
15
+ interface CheckboxProps {
16
+ error?: boolean;
17
+ required?: boolean;
18
+ }
19
+ }
20
+ export declare const checkboxConfig: {
21
+ defaultProps: {
22
+ indeterminateIcon: string | number | bigint | true | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>>;
23
+ disableRipple: boolean;
24
+ disableFocusRipple: boolean;
25
+ disableTouchRipple: boolean;
26
+ icon: React.ReactNode;
27
+ checkedIcon: React.ReactNode;
28
+ };
29
+ variants: ({
30
+ props: {
31
+ color: string;
32
+ size?: undefined;
33
+ };
34
+ style: {
35
+ color: string;
36
+ '&:hover': {
37
+ color: string;
38
+ };
39
+ '&.Mui-checked': {
40
+ color: string;
41
+ '&:hover': {
42
+ color: string;
43
+ };
44
+ };
45
+ '&.MuiCheckbox-indeterminate': {
46
+ color: string;
47
+ '&:hover': {
48
+ color: string;
49
+ };
50
+ };
51
+ '&.Mui-disabled': {
52
+ color: string;
53
+ };
54
+ padding?: undefined;
55
+ '& .MuiSvgIcon-root'?: undefined;
56
+ };
57
+ } | {
58
+ props: {
59
+ color: string;
60
+ size?: undefined;
61
+ };
62
+ style: {
63
+ color: string;
64
+ '&:hover': {
65
+ color: string;
66
+ };
67
+ '&.Mui-checked': {
68
+ color: string;
69
+ '&:hover': {
70
+ color: string;
71
+ };
72
+ };
73
+ '&.Mui-disabled': {
74
+ color: string;
75
+ };
76
+ '&.MuiCheckbox-indeterminate'?: undefined;
77
+ padding?: undefined;
78
+ '& .MuiSvgIcon-root'?: undefined;
79
+ };
80
+ } | {
81
+ props: {
82
+ size: string;
83
+ color?: undefined;
84
+ };
85
+ style: {
86
+ padding: string;
87
+ '& .MuiSvgIcon-root': {
88
+ fontSize: number;
89
+ };
90
+ color?: undefined;
91
+ '&:hover'?: undefined;
92
+ '&.Mui-checked'?: undefined;
93
+ '&.MuiCheckbox-indeterminate'?: undefined;
94
+ '&.Mui-disabled'?: undefined;
95
+ };
96
+ } | {
97
+ props: {
98
+ size: string;
99
+ color?: undefined;
100
+ };
101
+ style: {
102
+ '& .MuiSvgIcon-root': {
103
+ fontSize: number;
104
+ };
105
+ color?: undefined;
106
+ '&:hover'?: undefined;
107
+ '&.Mui-checked'?: undefined;
108
+ '&.MuiCheckbox-indeterminate'?: undefined;
109
+ '&.Mui-disabled'?: undefined;
110
+ padding?: undefined;
111
+ };
112
+ })[];
113
+ };