@kdcloudjs/kdesign 1.6.12 → 1.6.13

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.
package/dist/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.6.11
3
+ * @kdcloudjs/kdesign v1.6.12
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -5484,6 +5484,7 @@ var InternalButtonGroup = function InternalButtonGroup(props, ref) {
5484
5484
  overlay = buttonGoupProps.overlay,
5485
5485
  icon = buttonGoupProps.icon,
5486
5486
  type = buttonGoupProps.type,
5487
+ size = buttonGoupProps.size,
5487
5488
  buttonType = buttonGoupProps.buttonType,
5488
5489
  disabled = buttonGoupProps.disabled,
5489
5490
  onVisibleChange = buttonGoupProps.onVisibleChange;
@@ -5517,11 +5518,13 @@ var InternalButtonGroup = function InternalButtonGroup(props, ref) {
5517
5518
  ref: refBtnGroup
5518
5519
  }, isBsicType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_15__["Button"], {
5519
5520
  type: buttonType,
5521
+ size: size,
5520
5522
  disabled: disabled
5521
5523
  }, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("span", {
5522
5524
  className: "".concat(btnGroupPrefixCls, "-basic-icon")
5523
5525
  }, optionShow ? iconUp : iconDown)), !isBsicType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_15__["Button"], {
5524
5526
  type: buttonType,
5527
+ size: size,
5525
5528
  disabled: disabled,
5526
5529
  onClick: onClick
5527
5530
  }, children), !isBsicType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("span", {
@@ -5530,13 +5533,15 @@ var InternalButtonGroup = function InternalButtonGroup(props, ref) {
5530
5533
  }, optionShow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_15__["Button"], {
5531
5534
  icon: iconUp,
5532
5535
  type: buttonType,
5536
+ size: size,
5533
5537
  disabled: disabled
5534
5538
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_15__["Button"], {
5535
5539
  icon: iconDown,
5536
5540
  type: buttonType,
5541
+ size: size,
5537
5542
  disabled: disabled
5538
5543
  })));
5539
- }, [icon, btnGroupPrefixCls, style, btnGroupClasses, refBtnGroup, isBsicType, buttonType, disabled, children, optionShow, onClick]);
5544
+ }, [icon, btnGroupPrefixCls, style, btnGroupClasses, refBtnGroup, isBsicType, buttonType, disabled, children, optionShow, onClick, size]);
5540
5545
  var handleItemClick = Object(react__WEBPACK_IMPORTED_MODULE_11__["useCallback"])(function (data) {
5541
5546
  onItemClick === null || onItemClick === void 0 ? void 0 : onItemClick(data);
5542
5547
  setOptionShow(false);
@@ -8535,7 +8540,8 @@ var compDefaultProps = {
8535
8540
  },
8536
8541
  ButtonGroup: {
8537
8542
  buttonType: 'primary',
8538
- type: 'basic'
8543
+ type: 'basic',
8544
+ size: 'middle'
8539
8545
  },
8540
8546
  Card: {
8541
8547
  hoverable: false,