@kdcloudjs/kdesign 1.8.7 → 1.8.9

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.
@@ -687,20 +687,6 @@
687
687
  display: -ms-flexbox;
688
688
  display: flex;
689
689
  }
690
- .kd-search-panel .kd-input-clear-icon {
691
- display: inline-block;
692
- width: 18px;
693
- height: 18px;
694
- border-radius: 50%;
695
- background: var(--kd-c-search-color-end, var(--kd-g-color-end, #666));
696
- position: relative;
697
- }
698
- .kd-search-panel .kd-input-clear-icon .kdicon {
699
- position: absolute;
700
- right: 2.5px;
701
- top: -2px;
702
- color: #fff;
703
- }
704
690
  .kd-search-panel-tooltip::before {
705
691
  display: none;
706
692
  }
@@ -455,21 +455,6 @@
455
455
  }
456
456
  }
457
457
 
458
- .@{kd-prefix}-input-clear-icon {
459
- display: inline-block;
460
- width: 18px;
461
- height: 18px;
462
- border-radius: 50%;
463
- background: @search-end-color;
464
- position: relative;
465
-
466
- .@{kd-prefix}icon {
467
- position: absolute;
468
- right: 2.5px;
469
- top: -2px;
470
- color: @white;
471
- }
472
- }
473
458
  }
474
459
 
475
460
  .@{search-panel-prefix-cls}-tooltip::before {
@@ -210,6 +210,8 @@
210
210
  margin-right: 6px;
211
211
  height: 100%;
212
212
  cursor: default;
213
+ -ms-flex-negative: 0;
214
+ flex-shrink: 0;
213
215
  }
214
216
  .kd-tree-node-icon {
215
217
  cursor: pointer;
@@ -77,6 +77,7 @@
77
77
 
78
78
  height: 100%;
79
79
  cursor: default;
80
+ flex-shrink: 0;
80
81
  }
81
82
 
82
83
  &-icon {
@@ -209,7 +209,7 @@ var TreeNode = /*#__PURE__*/React.forwardRef(function (props) {
209
209
  className: classNames("".concat(treeNodePrefixCls, "-drag-line-top"))
210
210
  }), checkable ? /*#__PURE__*/React.createElement(Checkbox, {
211
211
  onChange: handleOnchange,
212
- checked: checked,
212
+ checked: !disabled && checked,
213
213
  indeterminate: !disabled && indeterminate,
214
214
  disabled: disabled,
215
215
  onClick: function onClick(e) {
@@ -687,20 +687,6 @@
687
687
  display: -ms-flexbox;
688
688
  display: flex;
689
689
  }
690
- .kd-search-panel .kd-input-clear-icon {
691
- display: inline-block;
692
- width: 18px;
693
- height: 18px;
694
- border-radius: 50%;
695
- background: var(--kd-c-search-color-end, var(--kd-g-color-end, #666));
696
- position: relative;
697
- }
698
- .kd-search-panel .kd-input-clear-icon .kdicon {
699
- position: absolute;
700
- right: 2.5px;
701
- top: -2px;
702
- color: #fff;
703
- }
704
690
  .kd-search-panel-tooltip::before {
705
691
  display: none;
706
692
  }
@@ -455,21 +455,6 @@
455
455
  }
456
456
  }
457
457
 
458
- .@{kd-prefix}-input-clear-icon {
459
- display: inline-block;
460
- width: 18px;
461
- height: 18px;
462
- border-radius: 50%;
463
- background: @search-end-color;
464
- position: relative;
465
-
466
- .@{kd-prefix}icon {
467
- position: absolute;
468
- right: 2.5px;
469
- top: -2px;
470
- color: @white;
471
- }
472
- }
473
458
  }
474
459
 
475
460
  .@{search-panel-prefix-cls}-tooltip::before {
@@ -210,6 +210,8 @@
210
210
  margin-right: 6px;
211
211
  height: 100%;
212
212
  cursor: default;
213
+ -ms-flex-negative: 0;
214
+ flex-shrink: 0;
213
215
  }
214
216
  .kd-tree-node-icon {
215
217
  cursor: pointer;
@@ -77,6 +77,7 @@
77
77
 
78
78
  height: 100%;
79
79
  cursor: default;
80
+ flex-shrink: 0;
80
81
  }
81
82
 
82
83
  &-icon {
@@ -221,7 +221,7 @@ var TreeNode = /*#__PURE__*/_react.default.forwardRef(function (props) {
221
221
  className: (0, _classnames.default)("".concat(treeNodePrefixCls, "-drag-line-top"))
222
222
  }), checkable ? /*#__PURE__*/_react.default.createElement(_checkbox.default, {
223
223
  onChange: handleOnchange,
224
- checked: checked,
224
+ checked: !disabled && checked,
225
225
  indeterminate: !disabled && indeterminate,
226
226
  disabled: disabled,
227
227
  onClick: function onClick(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.8.7",
3
+ "version": "1.8.9",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [
@@ -79,7 +79,7 @@
79
79
  "@babel/runtime-corejs3": "^7.11.2",
80
80
  "@babel/standalone": "^7.14.3",
81
81
  "@kdcloudjs/kdesign-icons": "^1.0.5",
82
- "@kdcloudjs/table": "1.2.0-canary.16",
82
+ "@kdcloudjs/table": "1.2.1-canary.7",
83
83
  "@popperjs/core": "^2.11.8",
84
84
  "@types/js-cookie": "^3.0.3",
85
85
  "async-validator": "^3.5.1",