@lemon-fe/kits 1.0.0-25 → 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],
|
|
@@ -34,8 +34,8 @@ export default function Dropdown(props) {
|
|
|
34
34
|
return /*#__PURE__*/React.createElement(Popover, {
|
|
35
35
|
trigger: trigger,
|
|
36
36
|
placement: placement,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
open: visible,
|
|
38
|
+
onOpenChange: setVisible,
|
|
39
39
|
overlayClassName: classNames(prefixCls, overlayClassName),
|
|
40
40
|
content: actions.map(function (item, index) {
|
|
41
41
|
return item !== null && /*#__PURE__*/React.createElement("div", {
|
|
@@ -8,11 +8,7 @@
|
|
|
8
8
|
margin-bottom: 0;
|
|
9
9
|
|
|
10
10
|
& > .@{ant-prefix}-tabs-nav-wrap {
|
|
11
|
-
padding: 0
|
|
12
|
-
|
|
13
|
-
.@{ant-prefix}-tabs-tab {
|
|
14
|
-
padding: 13px 0;
|
|
15
|
-
}
|
|
11
|
+
padding: 0 @padding-md;
|
|
16
12
|
}
|
|
17
13
|
}
|
|
18
14
|
|
|
@@ -46,11 +42,11 @@
|
|
|
46
42
|
flex: 1;
|
|
47
43
|
flex-direction: column;
|
|
48
44
|
min-width: 0;
|
|
49
|
-
padding:
|
|
45
|
+
padding: @padding-md;
|
|
50
46
|
}
|
|
51
47
|
|
|
52
48
|
&-head + &-body {
|
|
53
|
-
margin-top:
|
|
49
|
+
margin-top: @padding-md;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
52
|
&-body {
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
&-item {
|
|
6
6
|
position: relative;
|
|
7
7
|
box-sizing: border-box;
|
|
8
|
-
|
|
9
|
-
padding: 12px 12px 14px;
|
|
8
|
+
padding: @padding-sm 0;
|
|
10
9
|
color: #61657f;
|
|
11
10
|
font-size: 14px;
|
|
12
|
-
line-height:
|
|
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 -
|
|
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/es/styles/overrides.less
CHANGED