tenjin-ui-kit 0.2.9 → 0.2.11
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/components/customSelect/index.js +259 -0
- package/components/input/index.js +65 -0
- package/components/table/index.js +33 -0
- package/components/valuePicker/ValueSelector.js +260 -0
- package/components/valuePicker/index.js +121 -0
- package/components/wrapperLayout/layout/index.js +21 -0
- package/components/wrapperLayout/layout/style.js +1 -0
- package/components/wrapperLayout/main/index.js +22 -0
- package/components/wrapperLayout/main/pageContainer/index.js +27 -0
- package/components/wrapperLayout/main/sideBar/index.js +26 -0
- package/components/wrapperLayout/topBar/index.js +25 -0
- package/package.json +6 -2
- package/templates/listPage/index.js +301 -0
- package/themes/default.js +48 -44
package/themes/default.js
CHANGED
|
@@ -6,48 +6,52 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _material = require("@mui/material");
|
|
8
8
|
var _default = (0, _material.createTheme)({
|
|
9
|
-
// spacing: 4,
|
|
10
9
|
components: {
|
|
11
10
|
MuiButton: {
|
|
12
11
|
defaultProps: {
|
|
13
|
-
variant:
|
|
12
|
+
variant: 'contained',
|
|
14
13
|
disableRipple: true
|
|
15
14
|
},
|
|
16
15
|
styleOverrides: {
|
|
17
16
|
root: {
|
|
18
|
-
textTransform:
|
|
17
|
+
textTransform: 'initial'
|
|
19
18
|
}
|
|
20
19
|
}
|
|
20
|
+
},
|
|
21
|
+
MuiOutlinedInput: {
|
|
22
|
+
defaultProps: {
|
|
23
|
+
size: "small"
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
},
|
|
23
27
|
overrides: {
|
|
24
28
|
MuiCssBaseline: {
|
|
25
|
-
|
|
29
|
+
'@global': {
|
|
26
30
|
html: {
|
|
27
|
-
|
|
28
|
-
height:
|
|
31
|
+
'scroll-behavior': 'smooth',
|
|
32
|
+
height: '100vh'
|
|
29
33
|
},
|
|
30
34
|
body: {
|
|
31
|
-
position:
|
|
35
|
+
position: 'relative',
|
|
32
36
|
margin: 0,
|
|
33
|
-
height:
|
|
34
|
-
color:
|
|
35
|
-
backgroundColor:
|
|
37
|
+
height: '100vh',
|
|
38
|
+
color: '#000000',
|
|
39
|
+
backgroundColor: '#f4f7fc'
|
|
36
40
|
},
|
|
37
|
-
|
|
38
|
-
width:
|
|
41
|
+
'*::-webkit-scrollbar': {
|
|
42
|
+
width: '6px'
|
|
39
43
|
},
|
|
40
44
|
a: {
|
|
41
|
-
textDecoration:
|
|
42
|
-
color:
|
|
45
|
+
textDecoration: 'none',
|
|
46
|
+
color: '#44409A'
|
|
43
47
|
},
|
|
44
|
-
|
|
45
|
-
backgroundColor:
|
|
46
|
-
borderRadius:
|
|
48
|
+
'*::-webkit-scrollbar-thumb': {
|
|
49
|
+
backgroundColor: '#e4e4e4',
|
|
50
|
+
borderRadius: '3px',
|
|
47
51
|
opacity: 0.5
|
|
48
52
|
},
|
|
49
|
-
|
|
50
|
-
background:
|
|
53
|
+
'*::-webkit-scrollbar-track': {
|
|
54
|
+
background: 'transparent'
|
|
51
55
|
}
|
|
52
56
|
}
|
|
53
57
|
}
|
|
@@ -90,80 +94,80 @@ var _default = (0, _material.createTheme)({
|
|
|
90
94
|
// main: "#BF1E1E",
|
|
91
95
|
// },
|
|
92
96
|
primary: {
|
|
93
|
-
main:
|
|
97
|
+
main: '#44409A'
|
|
94
98
|
},
|
|
95
99
|
primary_light: {
|
|
96
|
-
main:
|
|
100
|
+
main: '#5B58A9'
|
|
97
101
|
},
|
|
98
102
|
primary_dark: {
|
|
99
|
-
main:
|
|
103
|
+
main: '#000050'
|
|
100
104
|
},
|
|
101
105
|
secondary: {
|
|
102
|
-
main:
|
|
106
|
+
main: '#BF1E1E'
|
|
103
107
|
},
|
|
104
108
|
secondary_light: {
|
|
105
|
-
main:
|
|
109
|
+
main: '#CC3F3F'
|
|
106
110
|
},
|
|
107
111
|
secondary_dark: {
|
|
108
|
-
main:
|
|
112
|
+
main: '#951010'
|
|
109
113
|
},
|
|
110
114
|
success: {
|
|
111
|
-
main:
|
|
115
|
+
main: '#2C7413'
|
|
112
116
|
},
|
|
113
117
|
success_light: {
|
|
114
|
-
main:
|
|
118
|
+
main: '#5EA342'
|
|
115
119
|
},
|
|
116
120
|
success_dark: {
|
|
117
|
-
main:
|
|
121
|
+
main: '#004700'
|
|
118
122
|
},
|
|
119
123
|
info: {
|
|
120
|
-
main:
|
|
124
|
+
main: '#70BBFD'
|
|
121
125
|
},
|
|
122
126
|
info_light: {
|
|
123
|
-
main:
|
|
127
|
+
main: '#A6EDFF'
|
|
124
128
|
},
|
|
125
129
|
info_dark: {
|
|
126
|
-
main:
|
|
130
|
+
main: '#358BCA'
|
|
127
131
|
},
|
|
128
132
|
error: {
|
|
129
|
-
main:
|
|
133
|
+
main: '#BE1515'
|
|
130
134
|
},
|
|
131
135
|
error_light: {
|
|
132
|
-
main:
|
|
136
|
+
main: '#F8533F'
|
|
133
137
|
},
|
|
134
138
|
error_dark: {
|
|
135
|
-
main:
|
|
139
|
+
main: '#860000'
|
|
136
140
|
},
|
|
137
141
|
warning: {
|
|
138
|
-
main:
|
|
142
|
+
main: '#EB9A31'
|
|
139
143
|
},
|
|
140
144
|
warning_light: {
|
|
141
|
-
main:
|
|
145
|
+
main: '#FFCB62'
|
|
142
146
|
},
|
|
143
147
|
warning_dark: {
|
|
144
|
-
main:
|
|
148
|
+
main: '#B46C00'
|
|
145
149
|
},
|
|
146
150
|
grey: {
|
|
147
|
-
main:
|
|
151
|
+
main: '#7D7D7D'
|
|
148
152
|
},
|
|
149
153
|
grey_light: {
|
|
150
|
-
main:
|
|
154
|
+
main: '#ACACAC'
|
|
151
155
|
},
|
|
152
156
|
grey_dark: {
|
|
153
|
-
main:
|
|
157
|
+
main: '#515151'
|
|
154
158
|
},
|
|
155
159
|
secondary_grey: {
|
|
156
|
-
main:
|
|
160
|
+
main: '#D7E2F0'
|
|
157
161
|
},
|
|
158
162
|
white: {
|
|
159
|
-
main:
|
|
163
|
+
main: '#ffffff'
|
|
160
164
|
},
|
|
161
165
|
text: {
|
|
162
|
-
main:
|
|
166
|
+
main: '#000000'
|
|
163
167
|
}
|
|
164
168
|
},
|
|
165
169
|
typography: {
|
|
166
|
-
fontFamily: [
|
|
170
|
+
fontFamily: ['-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'].join(',')
|
|
167
171
|
}
|
|
168
172
|
});
|
|
169
173
|
exports.default = _default;
|