@kdcloudjs/kdesign 1.7.67 → 1.7.69

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.
@@ -21,17 +21,23 @@ var RadioButton = function RadioButton(props, ref) {
21
21
  userDefaultProps = _React$useContext.compDefaultProps;
22
22
  var _a = getCompProps('Radio', userDefaultProps, props),
23
23
  customPrefixcls = _a.prefixCls,
24
- radioProps = __rest(_a, ["prefixCls"]);
24
+ title = _a.title,
25
+ children = _a.children,
26
+ radioProps = __rest(_a, ["prefixCls", "title", "children"]);
27
+ if (typeof children === 'string' && typeof title === 'undefined') {
28
+ title = children;
29
+ }
25
30
  var radioButtonPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, "radio-button", customPrefixcls);
26
31
  if (radioGroupContext) {
27
32
  radioProps.checked = props.value === radioGroupContext.value;
28
33
  radioProps.disabled = props.disabled || radioGroupContext.disabled;
29
34
  }
30
35
  return /*#__PURE__*/React.createElement(Radio, _extends({
36
+ title: title,
31
37
  prefixCls: radioButtonPrefixCls
32
38
  }, radioProps, {
33
39
  type: "radio",
34
40
  ref: ref
35
- }));
41
+ }), children);
36
42
  };
37
43
  export default /*#__PURE__*/React.forwardRef(RadioButton);
package/es/table/table.js CHANGED
@@ -93,10 +93,10 @@ var Table = /*#__PURE__*/forwardRef(function (props, ref) {
93
93
  /* -------------------------------------------------------------------------- */
94
94
  /* features */
95
95
  /* -------------------------------------------------------------------------- */
96
- useRowSelection(pipeline, rowSelection);
97
- useRowDetail(pipeline, rowDetail);
98
96
  useFilter(pipeline, filter);
99
97
  useSort(pipeline, sort);
98
+ useRowSelection(pipeline, rowSelection);
99
+ useRowDetail(pipeline, rowDetail);
100
100
  useAutoRowSpan(pipeline, autoRowSpan);
101
101
  useTreeMode(pipeline, treeMode);
102
102
  usecolGroupExtendable(pipeline, columnGroupExtend);
@@ -33,18 +33,24 @@ var RadioButton = function RadioButton(props, ref) {
33
33
  userDefaultProps = _React$useContext.compDefaultProps;
34
34
  var _a = (0, _utils.getCompProps)('Radio', userDefaultProps, props),
35
35
  customPrefixcls = _a.prefixCls,
36
- radioProps = __rest(_a, ["prefixCls"]);
36
+ title = _a.title,
37
+ children = _a.children,
38
+ radioProps = __rest(_a, ["prefixCls", "title", "children"]);
39
+ if (typeof children === 'string' && typeof title === 'undefined') {
40
+ title = children;
41
+ }
37
42
  var radioButtonPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, "radio-button", customPrefixcls);
38
43
  if (radioGroupContext) {
39
44
  radioProps.checked = props.value === radioGroupContext.value;
40
45
  radioProps.disabled = props.disabled || radioGroupContext.disabled;
41
46
  }
42
47
  return /*#__PURE__*/React.createElement(_radio.default, (0, _extends2.default)({
48
+ title: title,
43
49
  prefixCls: radioButtonPrefixCls
44
50
  }, radioProps, {
45
51
  type: "radio",
46
52
  ref: ref
47
- }));
53
+ }), children);
48
54
  };
49
55
  var _default = /*#__PURE__*/React.forwardRef(RadioButton);
50
56
  exports.default = _default;
@@ -105,10 +105,10 @@ var Table = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
105
105
  /* -------------------------------------------------------------------------- */
106
106
  /* features */
107
107
  /* -------------------------------------------------------------------------- */
108
- (0, _rowSelection.default)(pipeline, rowSelection);
109
- (0, _rowDetail.default)(pipeline, rowDetail);
110
108
  (0, _filter2.default)(pipeline, filter);
111
109
  (0, _sort2.default)(pipeline, sort);
110
+ (0, _rowSelection.default)(pipeline, rowSelection);
111
+ (0, _rowDetail.default)(pipeline, rowDetail);
112
112
  (0, _autoRowSpan.default)(pipeline, autoRowSpan);
113
113
  (0, _treeMode.default)(pipeline, treeMode);
114
114
  (0, _colGroupExtendable.default)(pipeline, columnGroupExtend);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.7.67",
3
+ "version": "1.7.69",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [
@@ -16,11 +16,11 @@
16
16
  ],
17
17
  "homepage": "https://react.kingdee.design/",
18
18
  "bugs": {
19
- "url": "https://github.com/kdcloudone/kdesign/issues"
19
+ "url": "https://github.com/kingdee/kdesign/issues"
20
20
  },
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "git@github.com:kdcloudone/kdesign.git"
23
+ "url": "git@github.com:kingdee/kdesign.git"
24
24
  },
25
25
  "contributors": [
26
26
  "kdesign"