tenjin-ui-kit 0.2.103 → 0.2.109

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.
@@ -110,19 +110,20 @@ function Tree(props) {
110
110
  }
111
111
  }, /*#__PURE__*/React.createElement(_material.Typography, {
112
112
  style: {
113
- fontWeight: isFirstLevel ? 500 : "initial",
114
- fontSize: "16px",
115
- fontFamily: "sans-serif segoe ui"
113
+ // fontWeight: isFirstLevel ? 500 : "initial",
114
+ fontWeight: nodes.type === "project" ? 600 : nodes.type === "module" ? 600 : 500,
115
+ // fontSize: "1rem",
116
+ fontSize: nodes.type === "project" ? "1rem" : nodes.type === "module" ? "1rem" : "0.92rem",
117
+ fontFamily: "sans-serif segoe ui",
118
+ padding: nodes.type === "sc" ? "inherit" : "6px"
116
119
  }
117
- }, nodes.type === "project" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fc.FcOpenedFolder, {
118
- style: {
119
- marginRight: "10px"
120
- }
121
- }) : /*#__PURE__*/React.createElement(_fc.FcFolder, {
122
- style: {
123
- marginRight: "10px"
124
- }
125
- }) : nodes.type === "module" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
120
+ }, nodes.type === "project" ? expandedNodeIds.includes(nodes.nodeId) ?
121
+ /*#__PURE__*/
122
+ // <FcOpenedFolder style={{ marginRight: "10px" }} />
123
+ React.createElement(React.Fragment, null) :
124
+ /*#__PURE__*/
125
+ // <FcFolder style={{ marginRight: "10px" }} />
126
+ React.createElement(React.Fragment, null) : nodes.type === "module" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
126
127
  style: {
127
128
  marginRight: "10px",
128
129
  color: "#03c988"
@@ -186,9 +187,9 @@ function Tree(props) {
186
187
  root: classes.treeView
187
188
  },
188
189
  sx: {
189
- height: 216,
190
+ height: "calc(100vh - 118px)",
190
191
  flexGrow: 1,
191
- // maxWidth: 400,
192
+ minWidth: 450,
192
193
  overflowY: "auto",
193
194
  overflowX: "hidden"
194
195
  }
@@ -8,22 +8,22 @@ var _styles = require("@mui/styles");
8
8
  var _default = (0, _styles.makeStyles)(function (theme) {
9
9
  return {
10
10
  treeView: {
11
- height: 216,
11
+ height: "calc(100vh - 118px)",
12
12
  flexGrow: 1,
13
- overflowY: 'auto',
14
- overflowX: 'hidden',
15
- '&::-webkit-scrollbar': {
16
- width: '6px'
13
+ overflowY: "auto",
14
+ overflowX: "hidden",
15
+ "&::-webkit-scrollbar": {
16
+ width: "6px"
17
17
  },
18
- '&::-webkit-scrollbar-track': {
19
- background: '#f1f1f1'
18
+ "&::-webkit-scrollbar-track": {
19
+ background: "#f1f1f1"
20
20
  },
21
- '&::-webkit-scrollbar-thumb': {
22
- backgroundColor: '#e4e4e4',
23
- borderRadius: '3px',
21
+ "&::-webkit-scrollbar-thumb": {
22
+ backgroundColor: "#e4e4e4",
23
+ borderRadius: "3px",
24
24
  opacity: 0.5,
25
- '&:hover': {
26
- background: '#555'
25
+ "&:hover": {
26
+ background: "#555"
27
27
  }
28
28
  }
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.2.103",
3
+ "version": "0.2.109",
4
4
  "repository": {
5
5
  "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },