@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
- xl: true;
4
- l: true;
5
- m: true;
6
- s: true;
7
- xs: true;
8
- large: false;
9
- medium: false;
10
- small: false;
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
- primary: true;
14
- error: true;
14
+ primary: true;
15
+ error: true;
15
16
  }
17
+
16
18
  interface CustomCheckProps {
17
- error?: boolean;
18
- required?: boolean;
19
+ error?: boolean;
20
+ required?: boolean;
19
21
  }
22
+
20
23
  interface CustomTypographyVariants {
21
- 'title-lg': CSSProperties;
22
- 'title-md': CSSProperties;
23
- 'title-sm': CSSProperties;
24
- 'body-lg': CSSProperties;
25
- 'body-md': CSSProperties;
26
- 'body-sm': CSSProperties;
27
- 'body-xs': CSSProperties;
28
- display1: CSSProperties;
29
- display2: CSSProperties;
30
- 'h3 bold': CSSProperties;
31
- 'h4 semi bold': CSSProperties;
32
- h5: CSSProperties;
33
- h6: CSSProperties;
34
- body1: CSSProperties;
35
- 'body1 semi bold': CSSProperties;
36
- body2: CSSProperties;
37
- 'body2 semi bold': CSSProperties;
38
- body3: CSSProperties;
39
- 'body3 semi bold': CSSProperties;
40
- body4: CSSProperties;
41
- body5: CSSProperties;
42
- 'body5 semi bold': CSSProperties;
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
- interface TypeBackground {
46
- defaultHover: CSSProperties;
47
- secondary: CSSProperties;
48
- }
49
- interface TypeAction {
50
- main?: CSSProperties;
51
- light?: CSSProperties;
52
- dark?: CSSProperties;
53
- }
54
- interface TypographyVariants extends CustomTypographyVariants {
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
- interface TypographyPropsVariantOverrides {
59
- 'title-lg': false;
60
- 'title-md': false;
61
- 'title-sm': false;
62
- 'body-lg': false;
63
- 'body-md': false;
64
- 'body-sm': false;
65
- 'body-xs': false;
66
- display1: true;
67
- display2: true;
68
- 'h3 bold': true;
69
- 'h4 semi bold': true;
70
- h5: true;
71
- h6: true;
72
- body1: true;
73
- 'body1 semi bold': true;
74
- body2: true;
75
- 'body2 semi bold': true;
76
- body3: true;
77
- 'body3 semi bold': true;
78
- body4: true;
79
- body5: true;
80
- 'body5 semi bold': true;
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
- interface SvgIconPropsSizeOverrides {
85
- xl: true;
86
- }
95
+ interface SvgIconPropsSizeOverrides {
96
+ xl: true;
97
+ }
87
98
  }
99
+
88
100
  declare module '@mui/material/Button' {
89
- interface ButtonPropsSizeOverrides extends CustomSizes {
90
- }
101
+ interface ButtonPropsSizeOverrides extends CustomSizes {}
91
102
  }
103
+
92
104
  declare module '@mui/material/Fab' {
93
- interface FabPropsVariantOverrides {
94
- transparent: true;
95
- }
96
- interface FabPropsColorOverrides {
97
- unaccented: true;
98
- transparent: true;
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
- interface IconButtonPropsSizeOverrides extends CustomSizes {
103
- }
104
- interface IconButtonPropsColorOverrides {
105
- text: true;
106
- outlined: true;
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
- interface AutocompletePropsSizeOverrides extends CustomSizes {
111
- }
124
+ interface AutocompletePropsSizeOverrides extends CustomSizes {}
112
125
  }
126
+
113
127
  declare module '@mui/material/TextField' {
114
- interface TextFieldPropsSizeOverrides extends CustomSizes {
115
- }
128
+ interface TextFieldPropsSizeOverrides extends CustomSizes {}
116
129
  }
130
+
117
131
  declare module '@mui/material/InputLabel' {
118
- interface InputLabelPropsSizeOverrides extends CustomSizes {
119
- }
132
+ interface InputLabelPropsSizeOverrides extends CustomSizes {}
120
133
  }
134
+
121
135
  declare module '@mui/material/SvgIcon' {
122
- interface SvgIconPropsSizeOverrides extends CustomSizes {
123
- }
136
+ interface SvgIconPropsSizeOverrides extends CustomSizes {}
124
137
  }
138
+
125
139
  declare module '@mui/material/Radio' {
126
- interface RadioPropsSizeOverrides extends CustomSizes {
127
- }
128
- interface RadioPropsColorOverrides extends CustomCheckColors {
129
- }
130
- interface RadioProps extends CustomCheckProps {
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
- interface CheckboxPropsSizeOverrides extends CustomSizes {
135
- }
136
- interface CheckboxPropsColorOverrides extends CustomCheckColors {
137
- }
138
- interface CheckboxProps extends CustomCheckProps {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdtl/uikit",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/uikit.js",
6
6
  "types": "./dist/index.d.ts",