@kdcloudjs/kdesign 1.7.68-stable.3 → 1.7.68-stable.5

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.
@@ -908,10 +908,6 @@ var InternalSelect = function InternalSelect(props, ref) {
908
908
  var _a;
909
909
  return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();
910
910
  },
911
- onBlur: function onBlur() {
912
- var _a;
913
- return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
914
- },
915
911
  onKeyDown: onInternalKeyDown
916
912
  }, !isMultiple ? renderSingle() : renderMultiple()));
917
913
  };
@@ -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) {
@@ -920,10 +920,6 @@ var InternalSelect = function InternalSelect(props, ref) {
920
920
  var _a;
921
921
  return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();
922
922
  },
923
- onBlur: function onBlur() {
924
- var _a;
925
- return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
926
- },
927
923
  onKeyDown: onInternalKeyDown
928
924
  }, !isMultiple ? renderSingle() : renderMultiple()));
929
925
  };
@@ -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.7.68-stable.3",
3
+ "version": "1.7.68-stable.5",
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.5.4",
84
84
  "@types/js-cookie": "^3.0.3",
85
85
  "async-validator": "^3.5.1",