@mdtl/uikit 0.0.6 → 0.0.7
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/icons/Add.d.ts +3 -0
- package/dist/icons/Arrow.d.ts +3 -0
- package/dist/icons/COP.d.ts +3 -0
- package/dist/icons/CalendarEmpty.d.ts +3 -0
- package/dist/icons/Cancel.d.ts +3 -0
- package/dist/icons/Chart.d.ts +3 -0
- package/dist/icons/Clone.d.ts +3 -0
- package/dist/icons/Close.d.ts +3 -0
- package/dist/icons/Copy.d.ts +3 -0
- package/dist/icons/CustomSaveIcon.d.ts +3 -0
- package/dist/icons/Cycle.d.ts +4 -0
- package/dist/icons/CycleBroken.d.ts +4 -0
- package/dist/icons/Delete.d.ts +3 -0
- package/dist/icons/DeleteNotification.d.ts +3 -0
- package/dist/icons/DependantAggregate.d.ts +4 -0
- package/dist/icons/DeviceAccounting.d.ts +4 -0
- package/dist/icons/Divide.d.ts +3 -0
- package/dist/icons/Download.d.ts +3 -0
- package/dist/icons/Downtime.d.ts +3 -0
- package/dist/icons/DragIndicator.d.ts +3 -0
- package/dist/icons/DraggableHandleVertical.d.ts +3 -0
- package/dist/icons/Engineer.d.ts +3 -0
- package/dist/icons/Export.d.ts +3 -0
- package/dist/icons/ExternalLink.d.ts +3 -0
- package/dist/icons/Filter.d.ts +3 -0
- package/dist/icons/FullScreen.d.ts +3 -0
- package/dist/icons/Groups.d.ts +3 -0
- package/dist/icons/HPK.d.ts +3 -0
- package/dist/icons/HPS.d.ts +3 -0
- package/dist/icons/Hierarchy.d.ts +3 -0
- package/dist/icons/Import.d.ts +3 -0
- package/dist/icons/Info.d.ts +3 -0
- package/dist/icons/Join.d.ts +3 -0
- package/dist/icons/Loader.d.ts +3 -0
- package/dist/icons/Logout.d.ts +3 -0
- package/dist/icons/Material.d.ts +3 -0
- package/dist/icons/MiningManagement.d.ts +3 -0
- package/dist/icons/ModalClose.d.ts +3 -0
- package/dist/icons/NeedLZ.d.ts +3 -0
- package/dist/icons/Needs.d.ts +3 -0
- package/dist/icons/Notification.d.ts +3 -0
- package/dist/icons/OperationalData.d.ts +3 -0
- package/dist/icons/Orders.d.ts +3 -0
- package/dist/icons/OverviewProduction.d.ts +3 -0
- package/dist/icons/Person.d.ts +3 -0
- package/dist/icons/Pin.d.ts +3 -0
- package/dist/icons/PinOff.d.ts +3 -0
- package/dist/icons/Plan.d.ts +3 -0
- package/dist/icons/Plarform.d.ts +3 -0
- package/dist/icons/Production.d.ts +3 -0
- package/dist/icons/QualityData.d.ts +3 -0
- package/dist/icons/Receipts.d.ts +3 -0
- package/dist/icons/Refresh.d.ts +3 -0
- package/dist/icons/Report.d.ts +3 -0
- package/dist/icons/Reporting.d.ts +3 -0
- package/dist/icons/RightPanel.d.ts +3 -0
- package/dist/icons/Run.d.ts +4 -0
- package/dist/icons/Scale.d.ts +3 -0
- package/dist/icons/Search.d.ts +3 -0
- package/dist/icons/Settings.d.ts +3 -0
- package/dist/icons/ShippingDate.d.ts +3 -0
- package/dist/icons/Show.d.ts +3 -0
- package/dist/icons/Stan350.d.ts +3 -0
- package/dist/icons/Stan700.d.ts +3 -0
- package/dist/icons/SteelWorkshop.d.ts +3 -0
- package/dist/icons/Stocks.d.ts +3 -0
- package/dist/icons/Storage.d.ts +3 -0
- package/dist/icons/Success.d.ts +3 -0
- package/dist/icons/SwapHorizontal.d.ts +3 -0
- package/dist/icons/Table.d.ts +3 -0
- package/dist/icons/ThroughLineRoutes.d.ts +3 -0
- package/dist/icons/ThroughRoutes.d.ts +3 -0
- package/dist/icons/TimeTracking.d.ts +3 -0
- package/dist/icons/Visibility.d.ts +3 -0
- package/dist/icons/VisibilityOff.d.ts +3 -0
- package/dist/icons/Warning.d.ts +3 -0
- package/dist/icons/materials/Angle.d.ts +3 -0
- package/dist/icons/materials/Billet.d.ts +3 -0
- package/dist/icons/materials/Circle.d.ts +3 -0
- package/dist/icons/materials/Hexagon.d.ts +3 -0
- package/dist/icons/materials/IBeam.d.ts +3 -0
- package/dist/icons/materials/Reinforcement.d.ts +3 -0
- package/dist/icons/materials/Round.d.ts +3 -0
- package/dist/icons/materials/Slab.d.ts +3 -0
- package/dist/icons/materials/Square.d.ts +3 -0
- package/dist/icons/materials/Strip.d.ts +3 -0
- package/dist/icons/materials/UBeam.d.ts +3 -0
- package/dist/icons/materials/Wire.d.ts +3 -0
- package/dist/theme/base.d.ts +147 -0
- package/dist/theme/common/CheckboxChecked.d.ts +3 -0
- package/dist/theme/common/CheckboxDeterminate.d.ts +3 -0
- package/dist/theme/common/CheckboxIcon.d.ts +3 -0
- package/dist/theme/common/RadioButtonChecked.d.ts +3 -0
- package/dist/theme/common/RadioButtonIcon.d.ts +3 -0
- package/dist/theme/config.d.ts +69 -0
- package/dist/theme/controls/RadioButton.d.ts +113 -0
- package/dist/theme/controls/alert.d.ts +45 -0
- package/dist/theme/controls/autocomplete.d.ts +50 -0
- package/dist/theme/controls/badge.d.ts +25 -0
- package/dist/theme/controls/buttons.d.ts +250 -0
- package/dist/theme/controls/checkbox.d.ts +113 -0
- package/dist/theme/controls/fabs.d.ts +36 -0
- package/dist/theme/controls/formControlLabel.d.ts +16 -0
- package/dist/theme/controls/iconButton.d.ts +142 -0
- package/dist/theme/controls/inputAdornment.d.ts +15 -0
- package/dist/theme/controls/inputLabel.d.ts +90 -0
- package/dist/theme/controls/menu.d.ts +14 -0
- package/dist/theme/controls/menuItem.d.ts +19 -0
- package/dist/theme/controls/pickersTextField.d.ts +446 -0
- package/dist/theme/controls/shared/controlConfigs.d.ts +100 -0
- package/dist/theme/controls/stepIcon.d.ts +10 -0
- package/dist/theme/controls/stepLabel.d.ts +11 -0
- package/dist/theme/controls/svgIcon.d.ts +13 -0
- package/dist/theme/controls/tab.d.ts +25 -0
- package/dist/theme/controls/table.d.ts +7 -0
- package/dist/theme/controls/tableCell.d.ts +24 -0
- package/dist/theme/controls/tableRow.d.ts +42 -0
- package/dist/theme/controls/tabs.d.ts +10 -0
- package/dist/theme/controls/textfield.d.ts +689 -0
- package/dist/theme/controls/toggleButton.d.ts +35 -0
- package/dist/theme/controls/toggleButtonGroup.d.ts +7 -0
- package/dist/theme/controls/tooltip.d.ts +27 -0
- package/dist/theme/declareTypes.d.ts +126 -0
- package/dist/theme/global.d.ts +2 -0
- package/dist/theme/typography.d.ts +129 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const toggelButtonConfig: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: {
|
|
4
|
+
textTransform: string;
|
|
5
|
+
fontSize: number;
|
|
6
|
+
width: string;
|
|
7
|
+
height: string;
|
|
8
|
+
padding: string;
|
|
9
|
+
color: string;
|
|
10
|
+
'&.MuiToggleButtonGroup-firstButton, &.MuiToggleButtonGroup-lastButton, &.MuiToggleButtonGroup-middleButton': {
|
|
11
|
+
margin: number;
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
};
|
|
15
|
+
'&.Mui-selected': {
|
|
16
|
+
background: string;
|
|
17
|
+
borderColor: string;
|
|
18
|
+
color: string;
|
|
19
|
+
'&:hover': {
|
|
20
|
+
background: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'&.MuiToggleButton-root': {
|
|
24
|
+
'&.Mui-selected': {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
color: string;
|
|
27
|
+
'&:hover': {
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
color: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const tooltipConfig: {
|
|
2
|
+
defaultProps: {
|
|
3
|
+
arrow: boolean;
|
|
4
|
+
};
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
tooltip: ({ theme }: {
|
|
7
|
+
theme: any;
|
|
8
|
+
}) => {
|
|
9
|
+
background: string;
|
|
10
|
+
color: string;
|
|
11
|
+
borderRadius: number;
|
|
12
|
+
padding: number;
|
|
13
|
+
maxWidth: number;
|
|
14
|
+
fontSize: any;
|
|
15
|
+
fontWeight: any;
|
|
16
|
+
boxShadow: any;
|
|
17
|
+
position: string;
|
|
18
|
+
'& .MuiTooltip-arrow': {
|
|
19
|
+
color: string;
|
|
20
|
+
width: number;
|
|
21
|
+
'&:before': {
|
|
22
|
+
borderRadius: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
declare const typography: {
|
|
29
|
+
display1: {
|
|
30
|
+
fontWeight: number;
|
|
31
|
+
fontSize: string;
|
|
32
|
+
lineHeight: string;
|
|
33
|
+
letterSpacing: string;
|
|
34
|
+
};
|
|
35
|
+
display2: {
|
|
36
|
+
fontWeight: number;
|
|
37
|
+
fontSize: string;
|
|
38
|
+
lineHeight: string;
|
|
39
|
+
letterSpacing: string;
|
|
40
|
+
};
|
|
41
|
+
h1: {
|
|
42
|
+
fontWeight: number;
|
|
43
|
+
fontSize: string;
|
|
44
|
+
lineHeight: string;
|
|
45
|
+
letterSpacing: string;
|
|
46
|
+
};
|
|
47
|
+
h2: {
|
|
48
|
+
fontWeight: number;
|
|
49
|
+
fontSize: string;
|
|
50
|
+
lineHeight: string;
|
|
51
|
+
letterSpacing: string;
|
|
52
|
+
};
|
|
53
|
+
h3: {
|
|
54
|
+
fontWeight: number;
|
|
55
|
+
fontSize: string;
|
|
56
|
+
lineHeight: string;
|
|
57
|
+
};
|
|
58
|
+
'h3 bold': {
|
|
59
|
+
fontWeight: number;
|
|
60
|
+
fontSize: string;
|
|
61
|
+
lineHeight: string;
|
|
62
|
+
};
|
|
63
|
+
h4: {
|
|
64
|
+
fontWeight: number;
|
|
65
|
+
fontSize: string;
|
|
66
|
+
lineHeight: string;
|
|
67
|
+
};
|
|
68
|
+
'h4 semi bold': {
|
|
69
|
+
fontWeight: number;
|
|
70
|
+
fontSize: string;
|
|
71
|
+
lineHeight: string;
|
|
72
|
+
};
|
|
73
|
+
h5: {
|
|
74
|
+
fontWeight: number;
|
|
75
|
+
fontSize: string;
|
|
76
|
+
lineHeight: string;
|
|
77
|
+
};
|
|
78
|
+
h6: {
|
|
79
|
+
fontWeight: number;
|
|
80
|
+
fontSize: string;
|
|
81
|
+
lineHeight: string;
|
|
82
|
+
};
|
|
83
|
+
body1: {
|
|
84
|
+
fontWeight: number;
|
|
85
|
+
fontSize: string;
|
|
86
|
+
lineHeight: string;
|
|
87
|
+
};
|
|
88
|
+
'body1 semi bold': {
|
|
89
|
+
fontWeight: number;
|
|
90
|
+
fontSize: string;
|
|
91
|
+
lineHeight: string;
|
|
92
|
+
};
|
|
93
|
+
body2: {
|
|
94
|
+
fontWeight: number;
|
|
95
|
+
fontSize: string;
|
|
96
|
+
lineHeight: string;
|
|
97
|
+
};
|
|
98
|
+
'body2 semi bold': {
|
|
99
|
+
fontWeight: number;
|
|
100
|
+
fontSize: string;
|
|
101
|
+
lineHeight: string;
|
|
102
|
+
};
|
|
103
|
+
body3: {
|
|
104
|
+
fontWeight: number;
|
|
105
|
+
fontSize: string;
|
|
106
|
+
lineHeight: string;
|
|
107
|
+
};
|
|
108
|
+
'body3 semi bold': {
|
|
109
|
+
fontWeight: number;
|
|
110
|
+
fontSize: string;
|
|
111
|
+
lineHeight: string;
|
|
112
|
+
};
|
|
113
|
+
body4: {
|
|
114
|
+
fontWeight: number;
|
|
115
|
+
fontSize: string;
|
|
116
|
+
lineHeight: string;
|
|
117
|
+
};
|
|
118
|
+
body5: {
|
|
119
|
+
fontWeight: number;
|
|
120
|
+
fontSize: string;
|
|
121
|
+
lineHeight: string;
|
|
122
|
+
};
|
|
123
|
+
'body5 semi bold': {
|
|
124
|
+
fontWeight: number;
|
|
125
|
+
fontSize: string;
|
|
126
|
+
lineHeight: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
export default typography;
|