@lemon-fe/components 0.0.31 → 0.0.32

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.
@@ -65,6 +65,7 @@
65
65
  &-items {
66
66
  max-height: 400px;
67
67
  padding: 0 20px;
68
+ overflow: auto;
68
69
  }
69
70
 
70
71
  &-item {
@@ -94,7 +94,7 @@ export default function DropMenu(props) {
94
94
  }, /*#__PURE__*/React.createElement("path", {
95
95
  d: "M5.757 7.757 10 12l4.243-4.243",
96
96
  stroke: "currentColor",
97
- "stroke-width": "1.5",
97
+ strokeWidth: "1.5",
98
98
  strokeLinecap: "round",
99
99
  strokeLinejoin: "round",
100
100
  strokeDasharray: "0,0",
@@ -31,9 +31,12 @@
31
31
  width: 100%;
32
32
  height: 36px;
33
33
  padding: 0 16px;
34
+ overflow: hidden;
34
35
  color: #333;
35
36
  font-size: 14px;
36
37
  line-height: 36px;
38
+ white-space: nowrap;
39
+ text-overflow: ellipsis;
37
40
  cursor: pointer;
38
41
  transition: background-color 0.2s;
39
42
 
@@ -107,7 +107,7 @@ export default function TabBar(props) {
107
107
  })), /*#__PURE__*/React.createElement("div", {
108
108
  className: "".concat(prefixCls, "-nav-tabs-layout-icon")
109
109
  }, /*#__PURE__*/React.createElement(DropMenu, {
110
- visible: true,
110
+ visible: hideTabs,
111
111
  tabs: tabs,
112
112
  active: active,
113
113
  onClick: _onClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -16,7 +16,7 @@
16
16
  "registry": "https://registry.npmjs.org"
17
17
  },
18
18
  "dependencies": {
19
- "@lemon-fe/hooks": "^0.0.31",
19
+ "@lemon-fe/hooks": "^0.0.32",
20
20
  "antd": "^4.17.0",
21
21
  "classnames": "^2.2.6",
22
22
  "lodash": "^4.17.21",
@@ -39,5 +39,5 @@
39
39
  "@types/lodash": "^4.14.179",
40
40
  "@types/react-resizable": "^1.7.4"
41
41
  },
42
- "gitHead": "b6ade1c9ef71ea127920c62080bfddee624dcb54"
42
+ "gitHead": "6a550441c4b063aaf2539e69bc0cb8c87687c185"
43
43
  }