@mdtl/uikit 0.0.9 → 0.0.10
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/dist/index.d.ts +2 -3
- package/dist/theme/controls/common/CheckboxCheckedIcon.d.ts +4 -0
- package/dist/theme/controls/common/CheckboxDeterminateIcon.d.ts +4 -0
- package/dist/theme/controls/common/CheckboxIcon.d.ts +4 -0
- package/dist/theme/controls/common/RadioButtonCheckedIcon.d.ts +4 -0
- package/dist/theme/controls/common/RadioButtonIcon.d.ts +4 -0
- package/dist/theme/controls/{alert.d.ts → configs/alert.d.ts} +1 -1
- package/dist/theme/controls/{buttons.d.ts → configs/buttons.d.ts} +0 -23
- package/dist/theme/controls/{checkbox.d.ts → configs/checkbox.d.ts} +0 -18
- package/dist/theme/controls/{RadioButton.d.ts → configs/radio.d.ts} +0 -18
- package/dist/theme/controls/{svgIcon.d.ts → configs/svgIcon.d.ts} +1 -1
- package/dist/theme/{typography.d.ts → controls/configs/typography.d.ts} +0 -27
- package/dist/theme/controls/shared/buttonColors.d.ts +23 -0
- package/dist/theme/themeOptions.d.ts +2 -0
- package/dist/uikit.js +3 -4
- package/package.json +1 -1
- package/dist/theme/common/CheckboxChecked.d.ts +0 -3
- package/dist/theme/common/CheckboxDeterminate.d.ts +0 -3
- package/dist/theme/common/CheckboxIcon.d.ts +0 -3
- package/dist/theme/common/RadioButtonChecked.d.ts +0 -3
- package/dist/theme/common/RadioButtonIcon.d.ts +0 -3
- package/dist/theme/config.d.ts +0 -69
- package/dist/theme/declareTypes.d.ts +0 -126
- package/dist/theme/global.d.ts +0 -2
- /package/dist/theme/controls/{autocomplete.d.ts → configs/autocomplete.d.ts} +0 -0
- /package/dist/theme/controls/{badge.d.ts → configs/badge.d.ts} +0 -0
- /package/dist/theme/controls/{fabs.d.ts → configs/fab.d.ts} +0 -0
- /package/dist/theme/controls/{formControlLabel.d.ts → configs/formControlLabel.d.ts} +0 -0
- /package/dist/theme/controls/{iconButton.d.ts → configs/iconButton.d.ts} +0 -0
- /package/dist/theme/controls/{inputAdornment.d.ts → configs/inputAdornment.d.ts} +0 -0
- /package/dist/theme/controls/{inputLabel.d.ts → configs/inputLabel.d.ts} +0 -0
- /package/dist/theme/controls/{menu.d.ts → configs/menu.d.ts} +0 -0
- /package/dist/theme/controls/{menuItem.d.ts → configs/menuItem.d.ts} +0 -0
- /package/dist/theme/controls/{pickersTextField.d.ts → configs/pickersTextField.d.ts} +0 -0
- /package/dist/theme/controls/{stepIcon.d.ts → configs/stepIcon.d.ts} +0 -0
- /package/dist/theme/controls/{stepLabel.d.ts → configs/stepLabel.d.ts} +0 -0
- /package/dist/theme/controls/{tab.d.ts → configs/tab.d.ts} +0 -0
- /package/dist/theme/controls/{table.d.ts → configs/table.d.ts} +0 -0
- /package/dist/theme/controls/{tableCell.d.ts → configs/tableCell.d.ts} +0 -0
- /package/dist/theme/controls/{tableRow.d.ts → configs/tableRow.d.ts} +0 -0
- /package/dist/theme/controls/{tabs.d.ts → configs/tabs.d.ts} +0 -0
- /package/dist/theme/controls/{textfield.d.ts → configs/textfield.d.ts} +0 -0
- /package/dist/theme/controls/{toggleButton.d.ts → configs/toggleButton.d.ts} +0 -0
- /package/dist/theme/controls/{toggleButtonGroup.d.ts → configs/toggleButtonGroup.d.ts} +0 -0
- /package/dist/theme/controls/{tooltip.d.ts → configs/tooltip.d.ts} +0 -0
- /package/dist/theme/controls/shared/{controlConfigs.d.ts → createCheckConfig.d.ts} +0 -0
- /package/dist/theme/{base.d.ts → controls/shared/defaultColors.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { Title } from './components/Title/Title';
|
|
2
2
|
export { CollapsibleSection } from './components/CollapsibleSection/CollapsibleSection';
|
|
3
|
-
export { themeOptions } from './theme/
|
|
4
|
-
export {
|
|
5
|
-
export { defaultColors } from './theme/base';
|
|
3
|
+
export { themeOptions } from './theme/themeOptions';
|
|
4
|
+
export { defaultColors } from './theme/controls/shared/defaultColors';
|
|
@@ -1,26 +1,3 @@
|
|
|
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
1
|
export declare const buttonsConfig: {
|
|
25
2
|
styleOverrides: {
|
|
26
3
|
root: {
|
|
@@ -1,22 +1,4 @@
|
|
|
1
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
2
|
export declare const checkboxConfig: {
|
|
21
3
|
defaultProps: {
|
|
22
4
|
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>>;
|
|
@@ -1,22 +1,4 @@
|
|
|
1
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
2
|
export declare const radioConfig: {
|
|
21
3
|
defaultProps: {
|
|
22
4
|
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>>;
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
declare module '@mui/material/styles' {
|
|
2
|
-
interface TypographySystemOverrides {
|
|
3
|
-
'title-lg': false;
|
|
4
|
-
'title-md': false;
|
|
5
|
-
'title-sm': false;
|
|
6
|
-
'body-lg': false;
|
|
7
|
-
'body-md': false;
|
|
8
|
-
'body-sm': false;
|
|
9
|
-
'body-xs': false;
|
|
10
|
-
display1: true;
|
|
11
|
-
display2: true;
|
|
12
|
-
'h3 bold': true;
|
|
13
|
-
h4: true;
|
|
14
|
-
'h4 semi bold': true;
|
|
15
|
-
h5: true;
|
|
16
|
-
h6: true;
|
|
17
|
-
body1: true;
|
|
18
|
-
'body1 semi bold': true;
|
|
19
|
-
body2: true;
|
|
20
|
-
'body2 semi bold': true;
|
|
21
|
-
body3: true;
|
|
22
|
-
'body3 semi bold': true;
|
|
23
|
-
body4: true;
|
|
24
|
-
body5: true;
|
|
25
|
-
'body5 semi bold': true;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
1
|
export declare const typographyConfig: {
|
|
29
2
|
display1: {
|
|
30
3
|
fontWeight: number;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const buttonColors: {
|
|
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
|
+
};
|
package/dist/uikit.js
CHANGED
|
@@ -26389,7 +26389,7 @@ const JA = YA(/* @__PURE__ */ at("path", {
|
|
|
26389
26389
|
d: "M9.78208 3.27145C10.7573 1.57622 13.2413 1.57631 14.2167 3.27145L22.4159 17.5097L22.4178 17.5117L22.5028 17.6718C23.3148 19.3431 22.0473 21.2498 20.1991 21.25H3.79966C1.89233 21.2494 0.604372 19.2186 1.58189 17.5117L1.58287 17.5097L9.78208 3.27145ZM12.4833 4.26852C12.277 3.91042 11.7217 3.91034 11.5155 4.26852V4.26949L3.31626 18.5048L3.31724 18.5058C3.14636 18.8047 3.34206 19.2494 3.79966 19.25H20.1991C20.6561 19.2498 20.8524 18.8067 20.6835 18.5078L12.4842 4.26949L12.4833 4.26852ZM11.9999 16C12.5521 16 12.9999 16.4477 12.9999 17C12.9998 17.5522 12.5521 18 11.9999 18C11.4478 17.9998 10.9999 17.5521 10.9999 17C10.9999 16.4478 11.4478 16.0002 11.9999 16ZM11.9999 6.99996C12.5521 6.99996 12.9999 7.44768 12.9999 7.99996V14C12.9998 14.5522 12.5521 15 11.9999 15C11.4478 14.9998 10.9999 14.5521 10.9999 14V7.99996C10.9999 7.44781 11.4478 7.00017 11.9999 6.99996Z",
|
|
26390
26390
|
fill: "currentColor"
|
|
26391
26391
|
}
|
|
26392
|
-
) }) }), ON = tc(DN), _N =
|
|
26392
|
+
) }) }), ON = tc(DN), _N = {
|
|
26393
26393
|
defaultProps: {
|
|
26394
26394
|
iconMapping: {
|
|
26395
26395
|
success: /* @__PURE__ */ at(MN, {}),
|
|
@@ -26449,7 +26449,7 @@ const JA = YA(/* @__PURE__ */ at("path", {
|
|
|
26449
26449
|
}
|
|
26450
26450
|
}
|
|
26451
26451
|
]
|
|
26452
|
-
}
|
|
26452
|
+
}, AN = {
|
|
26453
26453
|
styleOverrides: {
|
|
26454
26454
|
root: {
|
|
26455
26455
|
height: 28,
|
|
@@ -26965,6 +26965,5 @@ export {
|
|
|
26965
26965
|
YN as CollapsibleSection,
|
|
26966
26966
|
TA as Title,
|
|
26967
26967
|
ee as defaultColors,
|
|
26968
|
-
GN as themeOptions
|
|
26969
|
-
qe as typographyConfig
|
|
26968
|
+
GN as themeOptions
|
|
26970
26969
|
};
|
package/package.json
CHANGED
package/dist/theme/config.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
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;
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
declare module '@mui/material/styles' {
|
|
3
|
-
interface TypeBackground {
|
|
4
|
-
defaultHover: React.CSSProperties;
|
|
5
|
-
secondary: React.CSSProperties;
|
|
6
|
-
}
|
|
7
|
-
interface TypeAction {
|
|
8
|
-
main?: React.CSSProperties;
|
|
9
|
-
light?: React.CSSProperties;
|
|
10
|
-
dark?: React.CSSProperties;
|
|
11
|
-
}
|
|
12
|
-
interface TypographyVariants {
|
|
13
|
-
'title-lg': React.CSSProperties;
|
|
14
|
-
'title-md': React.CSSProperties;
|
|
15
|
-
'title-sm': React.CSSProperties;
|
|
16
|
-
'body-lg': React.CSSProperties;
|
|
17
|
-
'body-md': React.CSSProperties;
|
|
18
|
-
'body-sm': React.CSSProperties;
|
|
19
|
-
'body-xs': React.CSSProperties;
|
|
20
|
-
display1: React.CSSProperties;
|
|
21
|
-
display2: React.CSSProperties;
|
|
22
|
-
'h3 bold': React.CSSProperties;
|
|
23
|
-
'h4 semi bold': React.CSSProperties;
|
|
24
|
-
h5: React.CSSProperties;
|
|
25
|
-
h6: React.CSSProperties;
|
|
26
|
-
body1: React.CSSProperties;
|
|
27
|
-
'body1 semi bold': React.CSSProperties;
|
|
28
|
-
body2: React.CSSProperties;
|
|
29
|
-
'body2 semi bold': React.CSSProperties;
|
|
30
|
-
body3: React.CSSProperties;
|
|
31
|
-
'body3 semi bold': React.CSSProperties;
|
|
32
|
-
body4: React.CSSProperties;
|
|
33
|
-
body5: React.CSSProperties;
|
|
34
|
-
'body5 semi bold': React.CSSProperties;
|
|
35
|
-
}
|
|
36
|
-
interface TypographyVariantsOptions {
|
|
37
|
-
'title-lg'?: React.CSSProperties;
|
|
38
|
-
'title-md'?: React.CSSProperties;
|
|
39
|
-
'title-sm'?: React.CSSProperties;
|
|
40
|
-
'body-lg'?: React.CSSProperties;
|
|
41
|
-
'body-md'?: React.CSSProperties;
|
|
42
|
-
'body-sm'?: React.CSSProperties;
|
|
43
|
-
'body-xs'?: React.CSSProperties;
|
|
44
|
-
display1?: React.CSSProperties;
|
|
45
|
-
display2?: React.CSSProperties;
|
|
46
|
-
'h3 bold'?: React.CSSProperties;
|
|
47
|
-
'h4 semi bold'?: React.CSSProperties;
|
|
48
|
-
h5?: React.CSSProperties;
|
|
49
|
-
h6?: React.CSSProperties;
|
|
50
|
-
body1?: React.CSSProperties;
|
|
51
|
-
'body1 semi bold'?: React.CSSProperties;
|
|
52
|
-
body2?: React.CSSProperties;
|
|
53
|
-
'body2 semi bold'?: React.CSSProperties;
|
|
54
|
-
body3?: React.CSSProperties;
|
|
55
|
-
'body3 semi bold'?: React.CSSProperties;
|
|
56
|
-
body4?: React.CSSProperties;
|
|
57
|
-
body5?: React.CSSProperties;
|
|
58
|
-
'body5 semi bold'?: React.CSSProperties;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
declare module '@mui/material/Typography' {
|
|
62
|
-
interface TypographyPropsVariantOverrides {
|
|
63
|
-
'title-lg': false;
|
|
64
|
-
'title-md': false;
|
|
65
|
-
'title-sm': false;
|
|
66
|
-
'body-lg': false;
|
|
67
|
-
'body-md': false;
|
|
68
|
-
'body-sm': false;
|
|
69
|
-
'body-xs': false;
|
|
70
|
-
display1: true;
|
|
71
|
-
display2: true;
|
|
72
|
-
'h3 bold': true;
|
|
73
|
-
'h4 semi bold': true;
|
|
74
|
-
h5: true;
|
|
75
|
-
h6: true;
|
|
76
|
-
body1: true;
|
|
77
|
-
'body1 semi bold': true;
|
|
78
|
-
body2: true;
|
|
79
|
-
'body2 semi bold': true;
|
|
80
|
-
body3: true;
|
|
81
|
-
'body3 semi bold': true;
|
|
82
|
-
body4: true;
|
|
83
|
-
body5: true;
|
|
84
|
-
'body5 semi bold': true;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
declare module '@mui/material/SvgIcon' {
|
|
88
|
-
interface SvgIconPropsSizeOverrides {
|
|
89
|
-
xl: true;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
declare module '@mui/material/Button' {
|
|
93
|
-
interface ButtonPropsSizeOverrides {
|
|
94
|
-
l: true;
|
|
95
|
-
m: true;
|
|
96
|
-
s: true;
|
|
97
|
-
xs: true;
|
|
98
|
-
large: false;
|
|
99
|
-
medium: false;
|
|
100
|
-
small: false;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
declare module '@mui/material/Fab' {
|
|
104
|
-
interface FabPropsVariantOverrides {
|
|
105
|
-
transparent: true;
|
|
106
|
-
}
|
|
107
|
-
interface FabPropsColorOverrides {
|
|
108
|
-
unaccented: true;
|
|
109
|
-
transparent: true;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
declare module '@mui/material/IconButton' {
|
|
113
|
-
interface IconButtonPropsSizeOverrides {
|
|
114
|
-
l: true;
|
|
115
|
-
m: true;
|
|
116
|
-
s: true;
|
|
117
|
-
xs: true;
|
|
118
|
-
large: false;
|
|
119
|
-
medium: false;
|
|
120
|
-
small: false;
|
|
121
|
-
}
|
|
122
|
-
interface IconButtonPropsColorOverrides {
|
|
123
|
-
text: true;
|
|
124
|
-
outlined: true;
|
|
125
|
-
}
|
|
126
|
-
}
|
package/dist/theme/global.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|