@lemon-fe/kits 1.0.0-26 → 1.0.0-27

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.
@@ -94,6 +94,10 @@ function Actions(props) {
94
94
  disabled: disabled,
95
95
  overlay: overlay,
96
96
  onClick: handleClick,
97
+ trigger: ['click'],
98
+ overlayStyle: {
99
+ minWidth: 80
100
+ },
97
101
  buttonsRender: function buttonsRender(_ref) {
98
102
  var _ref2 = _slicedToArray(_ref, 2),
99
103
  leftBtn = _ref2[0],
@@ -5,11 +5,10 @@
5
5
  &-item {
6
6
  position: relative;
7
7
  box-sizing: border-box;
8
- min-width: 52px;
9
- padding: 12px 12px 14px;
8
+ padding: @padding-sm 0;
10
9
  color: #61657f;
11
10
  font-size: 14px;
12
- line-height: 22px;
11
+ line-height: 16px;
13
12
  cursor: pointer;
14
13
 
15
14
  &-active {
@@ -28,4 +27,8 @@
28
27
  }
29
28
  }
30
29
  }
30
+
31
+ &-item + &-item {
32
+ margin-left: 20px;
33
+ }
31
34
  }
@@ -70,7 +70,7 @@ export default function Breadcrumb(props) {
70
70
  }, items.length > 1 ? /*#__PURE__*/React.createElement("li", {
71
71
  className: "".concat(PREFIX_CLS, "-breadcrumb-back")
72
72
  }, /*#__PURE__*/React.createElement(Icons.Down, null), /*#__PURE__*/React.createElement(Link, {
73
- to: items[items.length - 1].url
73
+ to: items[items.length - 2].url
74
74
  }, "\u8FD4\u56DE")) : null, children || items.map(function (item, index) {
75
75
  return /*#__PURE__*/React.createElement(BreadcrumbItem, {
76
76
  key: item.url
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/kits",
3
- "version": "1.0.0-26",
3
+ "version": "1.0.0-27",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",