acud 1.2.16 → 1.2.18

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.
@@ -258,7 +258,7 @@
258
258
  .acud-menu-item-group-title {
259
259
  height: 1.5715;
260
260
  padding: 4px 20px;
261
- color: #B8BABF;
261
+ color: #84868C;
262
262
  font-size: 14px;
263
263
  line-height: 1.5715;
264
264
  }
@@ -37,7 +37,7 @@
37
37
  &-item-group-title {
38
38
  height: @menu-item-group-height;
39
39
  padding: @P 5 * @P;
40
- color: @text-color-secondary;
40
+ color: @G5;
41
41
  font-size: @menu-item-font-size;
42
42
  line-height: @menu-item-group-height;
43
43
  }
@@ -960,6 +960,12 @@
960
960
  .acud-pagination.acud-pagination-disabled .acud-pagination-item-ellipsis {
961
961
  opacity: 1;
962
962
  }
963
+ .acud-pagination-simple-pager {
964
+ line-height: 32px;
965
+ }
966
+ .acud-pagination-simple-pager input {
967
+ text-align: center;
968
+ }
963
969
  @media only screen and (max-width: 992px) {
964
970
  .acud-pagination-item-after-jump-prev,
965
971
  .acud-pagination-item-before-jump-next {
@@ -268,6 +268,16 @@
268
268
  opacity: 1;
269
269
  }
270
270
  }
271
+
272
+
273
+ &-simple {
274
+ &-pager {
275
+ line-height: @pagination-height-md;
276
+ input {
277
+ text-align: center;
278
+ }
279
+ }
280
+ }
271
281
  }
272
282
 
273
283
  @media only screen and (max-width: @screen-lg) {
@@ -24,7 +24,7 @@
24
24
  @tabs-horizontal-gutter: 32px;
25
25
  @tabs-horizontal-margin: 0 0 0 @tabs-horizontal-gutter;
26
26
  @tabs-horizontal-margin-rtl: 0 0 0 32px;
27
- @tabs-horizontal-padding: @padding-sm 4 * @P;
27
+ @tabs-horizontal-padding: @padding-sm 0;
28
28
  @tabs-horizontal-padding-lg: @padding-md 0;
29
29
  @tabs-horizontal-padding-sm: @padding-xs 0;
30
30
  @tabs-vertical-padding: @padding-xs @padding-lg;
@@ -537,7 +537,7 @@
537
537
  position: relative;
538
538
  display: inline-flex;
539
539
  align-items: center;
540
- padding: 8px 16px;
540
+ padding: 8px 0;
541
541
  font-size: 14px;
542
542
  background: transparent;
543
543
  border: 0;
@@ -52,6 +52,7 @@ var InternalTreeSelect = function InternalTreeSelect(_a, ref) {
52
52
  listItemHeight = _a$listItemHeight === void 0 ? 26 : _a$listItemHeight,
53
53
  placement = _a.placement,
54
54
  notFoundContent = _a.notFoundContent,
55
+ switcherIcon = _a.switcherIcon,
55
56
  treeLine = _a.treeLine,
56
57
  getPopupContainer = _a.getPopupContainer,
57
58
  dropdownClassName = _a.dropdownClassName,
@@ -63,7 +64,7 @@ var InternalTreeSelect = function InternalTreeSelect(_a, ref) {
63
64
  customStatus = _a.status,
64
65
  showArrow = _a.showArrow,
65
66
  treeExpandAction = _a.treeExpandAction,
66
- props = __rest(_a, ["prefixCls", "size", "disabled", "bordered", "className", "treeCheckable", "multiple", "listHeight", "listItemHeight", "placement", "notFoundContent", "treeLine", "getPopupContainer", "dropdownClassName", "treeIcon", "transitionName", "choiceTransitionName", "status", "showArrow", "treeExpandAction"]);
67
+ props = __rest(_a, ["prefixCls", "size", "disabled", "bordered", "className", "treeCheckable", "multiple", "listHeight", "listItemHeight", "placement", "notFoundContent", "switcherIcon", "treeLine", "getPopupContainer", "dropdownClassName", "treeIcon", "transitionName", "choiceTransitionName", "status", "showArrow", "treeExpandAction"]);
67
68
  var _React$useContext = React.useContext(ConfigContext),
68
69
  getContextPopupContainer = _React$useContext.getPopupContainer,
69
70
  getPrefixCls = _React$useContext.getPrefixCls,
@@ -138,9 +139,9 @@ var InternalTreeSelect = function InternalTreeSelect(_a, ref) {
138
139
  placement: getPlacement(),
139
140
  removeIcon: removeIcon,
140
141
  clearIcon: clearIcon,
141
- switcherIcon: function switcherIcon(nodeProps) {
142
+ switcherIcon: !switcherIcon ? function (nodeProps) {
142
143
  return renderSwitcherIcon(treePrefixCls, null, false, nodeProps);
143
- },
144
+ } : switcherIcon,
144
145
  showTreeIcon: treeIcon,
145
146
  notFoundContent: mergedNotFound,
146
147
  getPopupContainer: getPopupContainer || getContextPopupContainer,
@@ -258,7 +258,7 @@
258
258
  .acud-menu-item-group-title {
259
259
  height: 1.5715;
260
260
  padding: 4px 20px;
261
- color: #B8BABF;
261
+ color: #84868C;
262
262
  font-size: 14px;
263
263
  line-height: 1.5715;
264
264
  }
@@ -37,7 +37,7 @@
37
37
  &-item-group-title {
38
38
  height: @menu-item-group-height;
39
39
  padding: @P 5 * @P;
40
- color: @text-color-secondary;
40
+ color: @G5;
41
41
  font-size: @menu-item-font-size;
42
42
  line-height: @menu-item-group-height;
43
43
  }
@@ -960,6 +960,12 @@
960
960
  .acud-pagination.acud-pagination-disabled .acud-pagination-item-ellipsis {
961
961
  opacity: 1;
962
962
  }
963
+ .acud-pagination-simple-pager {
964
+ line-height: 32px;
965
+ }
966
+ .acud-pagination-simple-pager input {
967
+ text-align: center;
968
+ }
963
969
  @media only screen and (max-width: 992px) {
964
970
  .acud-pagination-item-after-jump-prev,
965
971
  .acud-pagination-item-before-jump-next {
@@ -268,6 +268,16 @@
268
268
  opacity: 1;
269
269
  }
270
270
  }
271
+
272
+
273
+ &-simple {
274
+ &-pager {
275
+ line-height: @pagination-height-md;
276
+ input {
277
+ text-align: center;
278
+ }
279
+ }
280
+ }
271
281
  }
272
282
 
273
283
  @media only screen and (max-width: @screen-lg) {
@@ -24,7 +24,7 @@
24
24
  @tabs-horizontal-gutter: 32px;
25
25
  @tabs-horizontal-margin: 0 0 0 @tabs-horizontal-gutter;
26
26
  @tabs-horizontal-margin-rtl: 0 0 0 32px;
27
- @tabs-horizontal-padding: @padding-sm 4 * @P;
27
+ @tabs-horizontal-padding: @padding-sm 0;
28
28
  @tabs-horizontal-padding-lg: @padding-md 0;
29
29
  @tabs-horizontal-padding-sm: @padding-xs 0;
30
30
  @tabs-vertical-padding: @padding-xs @padding-lg;
@@ -537,7 +537,7 @@
537
537
  position: relative;
538
538
  display: inline-flex;
539
539
  align-items: center;
540
- padding: 8px 16px;
540
+ padding: 8px 0;
541
541
  font-size: 14px;
542
542
  background: transparent;
543
543
  border: 0;
@@ -68,6 +68,7 @@ var InternalTreeSelect = function InternalTreeSelect(_a, ref) {
68
68
  listItemHeight = _a$listItemHeight === void 0 ? 26 : _a$listItemHeight,
69
69
  placement = _a.placement,
70
70
  notFoundContent = _a.notFoundContent,
71
+ switcherIcon = _a.switcherIcon,
71
72
  treeLine = _a.treeLine,
72
73
  getPopupContainer = _a.getPopupContainer,
73
74
  dropdownClassName = _a.dropdownClassName,
@@ -79,7 +80,7 @@ var InternalTreeSelect = function InternalTreeSelect(_a, ref) {
79
80
  customStatus = _a.status,
80
81
  showArrow = _a.showArrow,
81
82
  treeExpandAction = _a.treeExpandAction,
82
- props = __rest(_a, ["prefixCls", "size", "disabled", "bordered", "className", "treeCheckable", "multiple", "listHeight", "listItemHeight", "placement", "notFoundContent", "treeLine", "getPopupContainer", "dropdownClassName", "treeIcon", "transitionName", "choiceTransitionName", "status", "showArrow", "treeExpandAction"]);
83
+ props = __rest(_a, ["prefixCls", "size", "disabled", "bordered", "className", "treeCheckable", "multiple", "listHeight", "listItemHeight", "placement", "notFoundContent", "switcherIcon", "treeLine", "getPopupContainer", "dropdownClassName", "treeIcon", "transitionName", "choiceTransitionName", "status", "showArrow", "treeExpandAction"]);
83
84
  var _React$useContext = React.useContext(_configProvider.ConfigContext),
84
85
  getContextPopupContainer = _React$useContext.getPopupContainer,
85
86
  getPrefixCls = _React$useContext.getPrefixCls,
@@ -154,9 +155,9 @@ var InternalTreeSelect = function InternalTreeSelect(_a, ref) {
154
155
  placement: getPlacement(),
155
156
  removeIcon: removeIcon,
156
157
  clearIcon: clearIcon,
157
- switcherIcon: function switcherIcon(nodeProps) {
158
+ switcherIcon: !switcherIcon ? function (nodeProps) {
158
159
  return (0, _iconHelper.renderSwitcherIcon)(treePrefixCls, null, false, nodeProps);
159
- },
160
+ } : switcherIcon,
160
161
  showTreeIcon: treeIcon,
161
162
  notFoundContent: mergedNotFound,
162
163
  getPopupContainer: getPopupContainer || getContextPopupContainer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acud",
3
- "version": "1.2.16",
3
+ "version": "1.2.18",
4
4
  "description": "acg react 组件库",
5
5
  "license": "ISC",
6
6
  "author": "acg",