@mdtl/uikit 0.0.13 → 0.0.15
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.
|
@@ -1,141 +1,153 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
interface CustomSizes {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
3
|
+
xl: true;
|
|
4
|
+
l: true;
|
|
5
|
+
m: true;
|
|
6
|
+
s: true;
|
|
7
|
+
xs: true;
|
|
8
|
+
large: false;
|
|
9
|
+
medium: false;
|
|
10
|
+
small: false;
|
|
11
|
+
}
|
|
12
|
+
|
|
12
13
|
interface CustomCheckColors {
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
primary: true;
|
|
15
|
+
error: true;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
interface CustomCheckProps {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
error?: boolean;
|
|
20
|
+
required?: boolean;
|
|
19
21
|
}
|
|
22
|
+
|
|
20
23
|
interface CustomTypographyVariants {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
24
|
+
'title-lg': CSSProperties;
|
|
25
|
+
'title-md': CSSProperties;
|
|
26
|
+
'title-sm': CSSProperties;
|
|
27
|
+
'body-lg': CSSProperties;
|
|
28
|
+
'body-md': CSSProperties;
|
|
29
|
+
'body-sm': CSSProperties;
|
|
30
|
+
'body-xs': CSSProperties;
|
|
31
|
+
display1: CSSProperties;
|
|
32
|
+
display2: CSSProperties;
|
|
33
|
+
'h3 bold': CSSProperties;
|
|
34
|
+
'h4 semi bold': CSSProperties;
|
|
35
|
+
h5: CSSProperties;
|
|
36
|
+
h6: CSSProperties;
|
|
37
|
+
body1: CSSProperties;
|
|
38
|
+
'body1 semi bold': CSSProperties;
|
|
39
|
+
body2: CSSProperties;
|
|
40
|
+
'body2 semi bold': CSSProperties;
|
|
41
|
+
body3: CSSProperties;
|
|
42
|
+
'body3 semi bold': CSSProperties;
|
|
43
|
+
body4: CSSProperties;
|
|
44
|
+
body5: CSSProperties;
|
|
45
|
+
'body5 semi bold': CSSProperties;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
//####
|
|
49
|
+
|
|
44
50
|
declare module '@mui/material/styles' {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
51
|
+
interface TypeBackground {
|
|
52
|
+
defaultHover: CSSProperties;
|
|
53
|
+
secondary: CSSProperties;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
interface TypeAction {
|
|
57
|
+
main?: CSSProperties;
|
|
58
|
+
light?: CSSProperties;
|
|
59
|
+
dark?: CSSProperties;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
interface TypographyVariants extends CustomTypographyVariants {}
|
|
63
|
+
|
|
64
|
+
// interface TypographyVariantsOptions extends Partial<CustomTypographyVariants> { }
|
|
65
|
+
}
|
|
66
|
+
|
|
57
67
|
declare module '@mui/material/Typography' {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
68
|
+
interface TypographyPropsVariantOverrides {
|
|
69
|
+
'title-lg': false;
|
|
70
|
+
'title-md': false;
|
|
71
|
+
'title-sm': false;
|
|
72
|
+
'body-lg': false;
|
|
73
|
+
'body-md': false;
|
|
74
|
+
'body-sm': false;
|
|
75
|
+
'body-xs': false;
|
|
76
|
+
display1: true;
|
|
77
|
+
display2: true;
|
|
78
|
+
'h3 bold': true;
|
|
79
|
+
'h4 semi bold': true;
|
|
80
|
+
h5: true;
|
|
81
|
+
h6: true;
|
|
82
|
+
body1: true;
|
|
83
|
+
'body1 semi bold': true;
|
|
84
|
+
body2: true;
|
|
85
|
+
'body2 semi bold': true;
|
|
86
|
+
body3: true;
|
|
87
|
+
'body3 semi bold': true;
|
|
88
|
+
body4: true;
|
|
89
|
+
body5: true;
|
|
90
|
+
'body5 semi bold': true;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
83
94
|
declare module '@mui/material/SvgIcon' {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
95
|
+
interface SvgIconPropsSizeOverrides {
|
|
96
|
+
xl: true;
|
|
97
|
+
}
|
|
87
98
|
}
|
|
99
|
+
|
|
88
100
|
declare module '@mui/material/Button' {
|
|
89
|
-
|
|
90
|
-
}
|
|
101
|
+
interface ButtonPropsSizeOverrides extends CustomSizes {}
|
|
91
102
|
}
|
|
103
|
+
|
|
92
104
|
declare module '@mui/material/Fab' {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
105
|
+
interface FabPropsVariantOverrides {
|
|
106
|
+
transparent: true;
|
|
107
|
+
}
|
|
108
|
+
interface FabPropsColorOverrides {
|
|
109
|
+
unaccented: true;
|
|
110
|
+
transparent: true;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
101
114
|
declare module '@mui/material/IconButton' {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
115
|
+
interface IconButtonPropsSizeOverrides extends CustomSizes {}
|
|
116
|
+
|
|
117
|
+
interface IconButtonPropsColorOverrides {
|
|
118
|
+
text: true;
|
|
119
|
+
outlined: true;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
109
123
|
declare module '@mui/material/Autocomplete' {
|
|
110
|
-
|
|
111
|
-
}
|
|
124
|
+
interface AutocompletePropsSizeOverrides extends CustomSizes {}
|
|
112
125
|
}
|
|
126
|
+
|
|
113
127
|
declare module '@mui/material/TextField' {
|
|
114
|
-
|
|
115
|
-
}
|
|
128
|
+
interface TextFieldPropsSizeOverrides extends CustomSizes {}
|
|
116
129
|
}
|
|
130
|
+
|
|
117
131
|
declare module '@mui/material/InputLabel' {
|
|
118
|
-
|
|
119
|
-
}
|
|
132
|
+
interface InputLabelPropsSizeOverrides extends CustomSizes {}
|
|
120
133
|
}
|
|
134
|
+
|
|
121
135
|
declare module '@mui/material/SvgIcon' {
|
|
122
|
-
|
|
123
|
-
}
|
|
136
|
+
interface SvgIconPropsSizeOverrides extends CustomSizes {}
|
|
124
137
|
}
|
|
138
|
+
|
|
125
139
|
declare module '@mui/material/Radio' {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
140
|
+
interface RadioPropsSizeOverrides extends CustomSizes {}
|
|
141
|
+
|
|
142
|
+
interface RadioPropsColorOverrides extends CustomCheckColors {}
|
|
143
|
+
|
|
144
|
+
interface RadioProps extends CustomCheckProps {}
|
|
132
145
|
}
|
|
146
|
+
|
|
133
147
|
declare module '@mui/material/Checkbox' {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
export {};
|
|
148
|
+
interface CheckboxPropsSizeOverrides extends CustomSizes {}
|
|
149
|
+
|
|
150
|
+
interface CheckboxPropsColorOverrides extends CustomCheckColors {}
|
|
151
|
+
|
|
152
|
+
interface CheckboxProps extends CustomCheckProps {}
|
|
153
|
+
}
|
|
File without changes
|
package/package.json
CHANGED
|
File without changes
|