@kdcloudjs/kdesign 1.8.31 → 1.8.32

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.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.31
3
+ * @kdcloudjs/kdesign v1.8.32
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
package/dist/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.31
3
+ * @kdcloudjs/kdesign v1.8.32
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -17385,6 +17385,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__["forwardRef"](fu
17385
17385
  defaultVisible = allProps.defaultVisible,
17386
17386
  onVisibleChange = allProps.onVisibleChange,
17387
17387
  trigger = allProps.trigger,
17388
+ placement = allProps.placement,
17388
17389
  customPrefixcls = allProps.prefixCls,
17389
17390
  menuAnimation = allProps.menuAnimation,
17390
17391
  popperStyle = allProps.popperStyle;
@@ -17487,7 +17488,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__["forwardRef"](fu
17487
17488
  animation: 'none'
17488
17489
  }, popperStyle),
17489
17490
  onVisibleChange: handleVisibleChange,
17490
- placement: direction === 'rtl' ? 'bottomRight' : 'bottomLeft'
17491
+ placement: placement || (direction === 'rtl' ? 'bottomRight' : 'bottomLeft')
17491
17492
  });
17492
17493
  return Object(_utils_usePopper__WEBPACK_IMPORTED_MODULE_16__["default"])(child, menuElement, popperProps);
17493
17494
  });