@lemon-fe/components 0.0.26 → 0.0.29
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.
|
@@ -406,7 +406,7 @@ export default function Menu(props) {
|
|
|
406
406
|
overflow: 'hidden'
|
|
407
407
|
}
|
|
408
408
|
}, item.name), /*#__PURE__*/React.createElement("div", {
|
|
409
|
-
className:
|
|
409
|
+
className: "".concat(prefixCls, "-menu-item-favorite"),
|
|
410
410
|
onClick: function onClick(e) {
|
|
411
411
|
toggleFavorite(e, item);
|
|
412
412
|
}
|
|
@@ -544,11 +544,11 @@ export default function Menu(props) {
|
|
|
544
544
|
strokeDasharray: "0,0",
|
|
545
545
|
transform: "translate(-274.000000, -57.000000) translate(284.000000, 67.000000) scale(-1, 1) translate(-284.000000, -67.000000) translate(274.000000, 57.000000) translate(8.535522, 10.000000) rotate(-45.000000) translate(-8.535522, -10.000000)"
|
|
546
546
|
})))))), menus.map(function (item, index) {
|
|
547
|
-
var
|
|
547
|
+
var _classNames5;
|
|
548
548
|
|
|
549
549
|
return /*#__PURE__*/React.createElement("div", {
|
|
550
550
|
key: index,
|
|
551
|
-
className: classNames("".concat(prefixCls, "-menu-top-item"), (
|
|
551
|
+
className: classNames("".concat(prefixCls, "-menu-top-item"), (_classNames5 = {}, _defineProperty(_classNames5, "".concat(prefixCls, "-menu-top-item-active"), activeMenu !== undefined && activeMenu.path[0] === index), _defineProperty(_classNames5, "".concat(prefixCls, "-menu-top-item-popover-active"), item === popover), _classNames5)),
|
|
552
552
|
onClick: function onClick() {
|
|
553
553
|
return handleClick(item);
|
|
554
554
|
},
|
|
@@ -587,11 +587,7 @@ export default function Menu(props) {
|
|
|
587
587
|
className: "".concat(prefixCls, "-menu-icon")
|
|
588
588
|
}, favoriteIcon), /*#__PURE__*/React.createElement("div", {
|
|
589
589
|
className: "".concat(prefixCls, "-menu-title")
|
|
590
|
-
}, "\u6536\u85CF")), /*#__PURE__*/React.createElement("div", {
|
|
591
|
-
className: classNames("".concat(prefixCls, "-menu-divider-div"), _defineProperty({}, "".concat(prefixCls, "-menu-divider-div-collapsed"), collapsed))
|
|
592
|
-
}, /*#__PURE__*/React.createElement(Divider, {
|
|
593
|
-
className: "".concat(prefixCls, "-menu-divider")
|
|
594
|
-
}))), false && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
590
|
+
}, "\u6536\u85CF"))), false && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
595
591
|
className: "".concat(prefixCls, "-menu-gutter")
|
|
596
592
|
}), collapsed ? /*#__PURE__*/React.createElement("div", {
|
|
597
593
|
className: "".concat(prefixCls, "-menu-top-item"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
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.
|
|
19
|
+
"@lemon-fe/hooks": "^0.0.29",
|
|
20
20
|
"antd": "^4.17.0",
|
|
21
21
|
"classnames": "^2.2.6",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
@@ -38,6 +38,5 @@
|
|
|
38
38
|
"@types/color-string": "^1.5.2",
|
|
39
39
|
"@types/lodash": "^4.14.179",
|
|
40
40
|
"@types/react-resizable": "^1.7.4"
|
|
41
|
-
}
|
|
42
|
-
"gitHead": "4a28f2bfe86b3a48bb60ab4f988a70bcd3240ed5"
|
|
41
|
+
}
|
|
43
42
|
}
|