@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 +1 -1
- package/dist/kdesign.js +3 -2
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +1 -1
- package/dist/kdesign.min.js +2 -2
- package/dist/kdesign.min.js.map +1 -1
- package/es/dropdown/dropdown.js +2 -1
- package/lib/dropdown/dropdown.js +2 -1
- package/package.json +1 -1
package/dist/kdesign.css
CHANGED
package/dist/kdesign.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/kdesign v1.8.
|
|
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
|
});
|