@mdtl/uikit 0.0.5 → 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.
Files changed (132) hide show
  1. package/README.md +93 -0
  2. package/dist/components/CollapsibleSection/CollapsibleSection.d.ts +24 -0
  3. package/dist/components/Title/Title.d.ts +10 -0
  4. package/dist/icons/Add.d.ts +3 -0
  5. package/dist/icons/Arrow.d.ts +3 -0
  6. package/dist/icons/COP.d.ts +3 -0
  7. package/dist/icons/CalendarEmpty.d.ts +3 -0
  8. package/dist/icons/Cancel.d.ts +3 -0
  9. package/dist/icons/Chart.d.ts +3 -0
  10. package/dist/icons/Clone.d.ts +3 -0
  11. package/dist/icons/Close.d.ts +3 -0
  12. package/dist/icons/Copy.d.ts +3 -0
  13. package/dist/icons/CustomSaveIcon.d.ts +3 -0
  14. package/dist/icons/Cycle.d.ts +4 -0
  15. package/dist/icons/CycleBroken.d.ts +4 -0
  16. package/dist/icons/Delete.d.ts +3 -0
  17. package/dist/icons/DeleteNotification.d.ts +3 -0
  18. package/dist/icons/DependantAggregate.d.ts +4 -0
  19. package/dist/icons/DeviceAccounting.d.ts +4 -0
  20. package/dist/icons/Divide.d.ts +3 -0
  21. package/dist/icons/Download.d.ts +3 -0
  22. package/dist/icons/Downtime.d.ts +3 -0
  23. package/dist/icons/DragIndicator.d.ts +3 -0
  24. package/dist/icons/DraggableHandleVertical.d.ts +3 -0
  25. package/dist/icons/Engineer.d.ts +3 -0
  26. package/dist/icons/Export.d.ts +3 -0
  27. package/dist/icons/ExternalLink.d.ts +3 -0
  28. package/dist/icons/Filter.d.ts +3 -0
  29. package/dist/icons/FullScreen.d.ts +3 -0
  30. package/dist/icons/Groups.d.ts +3 -0
  31. package/dist/icons/HPK.d.ts +3 -0
  32. package/dist/icons/HPS.d.ts +3 -0
  33. package/dist/icons/Hierarchy.d.ts +3 -0
  34. package/dist/icons/Import.d.ts +3 -0
  35. package/dist/icons/Info.d.ts +3 -0
  36. package/dist/icons/Join.d.ts +3 -0
  37. package/dist/icons/Loader.d.ts +3 -0
  38. package/dist/icons/Logout.d.ts +3 -0
  39. package/dist/icons/Material.d.ts +3 -0
  40. package/dist/icons/MiningManagement.d.ts +3 -0
  41. package/dist/icons/ModalClose.d.ts +3 -0
  42. package/dist/icons/NeedLZ.d.ts +3 -0
  43. package/dist/icons/Needs.d.ts +3 -0
  44. package/dist/icons/Notification.d.ts +3 -0
  45. package/dist/icons/OperationalData.d.ts +3 -0
  46. package/dist/icons/Orders.d.ts +3 -0
  47. package/dist/icons/OverviewProduction.d.ts +3 -0
  48. package/dist/icons/Person.d.ts +3 -0
  49. package/dist/icons/Pin.d.ts +3 -0
  50. package/dist/icons/PinOff.d.ts +3 -0
  51. package/dist/icons/Plan.d.ts +3 -0
  52. package/dist/icons/Plarform.d.ts +3 -0
  53. package/dist/icons/Production.d.ts +3 -0
  54. package/dist/icons/QualityData.d.ts +3 -0
  55. package/dist/icons/Receipts.d.ts +3 -0
  56. package/dist/icons/Refresh.d.ts +3 -0
  57. package/dist/icons/Report.d.ts +3 -0
  58. package/dist/icons/Reporting.d.ts +3 -0
  59. package/dist/icons/RightPanel.d.ts +3 -0
  60. package/dist/icons/Run.d.ts +4 -0
  61. package/dist/icons/Scale.d.ts +3 -0
  62. package/dist/icons/Search.d.ts +3 -0
  63. package/dist/icons/Settings.d.ts +3 -0
  64. package/dist/icons/ShippingDate.d.ts +3 -0
  65. package/dist/icons/Show.d.ts +3 -0
  66. package/dist/icons/Stan350.d.ts +3 -0
  67. package/dist/icons/Stan700.d.ts +3 -0
  68. package/dist/icons/SteelWorkshop.d.ts +3 -0
  69. package/dist/icons/Stocks.d.ts +3 -0
  70. package/dist/icons/Storage.d.ts +3 -0
  71. package/dist/icons/Success.d.ts +3 -0
  72. package/dist/icons/SwapHorizontal.d.ts +3 -0
  73. package/dist/icons/Table.d.ts +3 -0
  74. package/dist/icons/ThroughLineRoutes.d.ts +3 -0
  75. package/dist/icons/ThroughRoutes.d.ts +3 -0
  76. package/dist/icons/TimeTracking.d.ts +3 -0
  77. package/dist/icons/Visibility.d.ts +3 -0
  78. package/dist/icons/VisibilityOff.d.ts +3 -0
  79. package/dist/icons/Warning.d.ts +3 -0
  80. package/dist/icons/materials/Angle.d.ts +3 -0
  81. package/dist/icons/materials/Billet.d.ts +3 -0
  82. package/dist/icons/materials/Circle.d.ts +3 -0
  83. package/dist/icons/materials/Hexagon.d.ts +3 -0
  84. package/dist/icons/materials/IBeam.d.ts +3 -0
  85. package/dist/icons/materials/Reinforcement.d.ts +3 -0
  86. package/dist/icons/materials/Round.d.ts +3 -0
  87. package/dist/icons/materials/Slab.d.ts +3 -0
  88. package/dist/icons/materials/Square.d.ts +3 -0
  89. package/dist/icons/materials/Strip.d.ts +3 -0
  90. package/dist/icons/materials/UBeam.d.ts +3 -0
  91. package/dist/icons/materials/Wire.d.ts +3 -0
  92. package/dist/index.d.ts +2 -1
  93. package/dist/theme/base.d.ts +147 -0
  94. package/dist/theme/common/CheckboxChecked.d.ts +3 -0
  95. package/dist/theme/common/CheckboxDeterminate.d.ts +3 -0
  96. package/dist/theme/common/CheckboxIcon.d.ts +3 -0
  97. package/dist/theme/common/RadioButtonChecked.d.ts +3 -0
  98. package/dist/theme/common/RadioButtonIcon.d.ts +3 -0
  99. package/dist/theme/config.d.ts +69 -0
  100. package/dist/theme/controls/RadioButton.d.ts +113 -0
  101. package/dist/theme/controls/alert.d.ts +45 -0
  102. package/dist/theme/controls/autocomplete.d.ts +50 -0
  103. package/dist/theme/controls/badge.d.ts +25 -0
  104. package/dist/theme/controls/buttons.d.ts +250 -0
  105. package/dist/theme/controls/checkbox.d.ts +113 -0
  106. package/dist/theme/controls/fabs.d.ts +36 -0
  107. package/dist/theme/controls/formControlLabel.d.ts +16 -0
  108. package/dist/theme/controls/iconButton.d.ts +142 -0
  109. package/dist/theme/controls/inputAdornment.d.ts +15 -0
  110. package/dist/theme/controls/inputLabel.d.ts +90 -0
  111. package/dist/theme/controls/menu.d.ts +14 -0
  112. package/dist/theme/controls/menuItem.d.ts +19 -0
  113. package/dist/theme/controls/pickersTextField.d.ts +446 -0
  114. package/dist/theme/controls/shared/controlConfigs.d.ts +100 -0
  115. package/dist/theme/controls/stepIcon.d.ts +10 -0
  116. package/dist/theme/controls/stepLabel.d.ts +11 -0
  117. package/dist/theme/controls/svgIcon.d.ts +13 -0
  118. package/dist/theme/controls/tab.d.ts +25 -0
  119. package/dist/theme/controls/table.d.ts +7 -0
  120. package/dist/theme/controls/tableCell.d.ts +24 -0
  121. package/dist/theme/controls/tableRow.d.ts +42 -0
  122. package/dist/theme/controls/tabs.d.ts +10 -0
  123. package/dist/theme/controls/textfield.d.ts +689 -0
  124. package/dist/theme/controls/toggleButton.d.ts +35 -0
  125. package/dist/theme/controls/toggleButtonGroup.d.ts +7 -0
  126. package/dist/theme/controls/tooltip.d.ts +27 -0
  127. package/dist/theme/declareTypes.d.ts +126 -0
  128. package/dist/theme/global.d.ts +2 -0
  129. package/dist/theme/typography.d.ts +129 -0
  130. package/dist/uikit.js +6535 -3
  131. package/package.json +8 -3
  132. package/dist/components/Button/Button.d.ts +0 -6
@@ -0,0 +1,147 @@
1
+ export declare const defaultColors: {
2
+ red: {
3
+ '0': string;
4
+ '5': string;
5
+ '10': string;
6
+ '25': string;
7
+ '40': string;
8
+ '55': string;
9
+ '65': string;
10
+ '70': string;
11
+ '85': string;
12
+ '90': string;
13
+ '95': string;
14
+ '100': string;
15
+ };
16
+ black: {
17
+ '0': string;
18
+ '5': string;
19
+ '10': string;
20
+ '15': string;
21
+ '25': string;
22
+ '35': string;
23
+ '40': string;
24
+ '55': string;
25
+ '65': string;
26
+ '70': string;
27
+ '85': string;
28
+ '90': string;
29
+ '95': string;
30
+ '100': string;
31
+ };
32
+ blackBlue: {
33
+ '0': string;
34
+ '5': string;
35
+ '10': string;
36
+ '25': string;
37
+ '40': string;
38
+ '45': string;
39
+ '55': string;
40
+ '65': string;
41
+ '70': string;
42
+ '80': string;
43
+ '85': string;
44
+ '90': string;
45
+ '95': string;
46
+ '98': string;
47
+ '100': string;
48
+ };
49
+ blue: {
50
+ '0': string;
51
+ '5': string;
52
+ '10': string;
53
+ '25': string;
54
+ '40': string;
55
+ '55': string;
56
+ '65': string;
57
+ '70': string;
58
+ '85': string;
59
+ '90': string;
60
+ '95': string;
61
+ '100': string;
62
+ };
63
+ yellow: {
64
+ '0': string;
65
+ '5': string;
66
+ '10': string;
67
+ '25': string;
68
+ '40': string;
69
+ '55': string;
70
+ '65': string;
71
+ '70': string;
72
+ '85': string;
73
+ '90': string;
74
+ '95': string;
75
+ '100': string;
76
+ };
77
+ green: {
78
+ '0': string;
79
+ '5': string;
80
+ '10': string;
81
+ '25': string;
82
+ '40': string;
83
+ '55': string;
84
+ '65': string;
85
+ '70': string;
86
+ '85': string;
87
+ '90': string;
88
+ '95': string;
89
+ '100': string;
90
+ };
91
+ green2: {
92
+ '0': string;
93
+ '5': string;
94
+ '10': string;
95
+ '25': string;
96
+ '40': string;
97
+ '55': string;
98
+ '65': string;
99
+ '70': string;
100
+ '85': string;
101
+ '90': string;
102
+ '95': string;
103
+ '100': string;
104
+ };
105
+ purple: {
106
+ '0': string;
107
+ '5': string;
108
+ '10': string;
109
+ '25': string;
110
+ '40': string;
111
+ '55': string;
112
+ '65': string;
113
+ '70': string;
114
+ '85': string;
115
+ '90': string;
116
+ '95': string;
117
+ '100': string;
118
+ };
119
+ niagara: {
120
+ '0': string;
121
+ '5': string;
122
+ '10': string;
123
+ '25': string;
124
+ '40': string;
125
+ '55': string;
126
+ '65': string;
127
+ '70': string;
128
+ '85': string;
129
+ '90': string;
130
+ '95': string;
131
+ '100': string;
132
+ };
133
+ greyPlatinum: {
134
+ '0': string;
135
+ '5': string;
136
+ '10': string;
137
+ '25': string;
138
+ '40': string;
139
+ '55': string;
140
+ '65': string;
141
+ '70': string;
142
+ '85': string;
143
+ '90': string;
144
+ '95': string;
145
+ '100': string;
146
+ };
147
+ };
@@ -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
+ };