@aloudata/aloudata-design 2.14.10 → 2.14.11

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.
@@ -139,6 +139,10 @@ var OriginModal = function OriginModal(props) {
139
139
  padding: 0
140
140
  };
141
141
  }, [responsiveBounds]);
142
+ var confirmLoading = restProps.confirmLoading;
143
+ var mergedOkButtonProps = _objectSpread({
144
+ loading: confirmLoading
145
+ }, okButtonProps);
142
146
  return /*#__PURE__*/React.createElement(AntdModal, _extends({}, restProps, {
143
147
  style: _objectSpread(_objectSpread({}, style), responsiveBoundsStyle),
144
148
  width: responsiveBounds ? responsiveBoundsStyle.width : width || DEFAULT_WIDTH,
@@ -153,7 +157,7 @@ var OriginModal = function OriginModal(props) {
153
157
  'ald-modal-hide-header-bottom-border': hideHeaderBottomBorder,
154
158
  'ald-modal-responsive-bounds': responsiveBounds
155
159
  }),
156
- okButtonProps: getButtonProps(okButtonProps, 'primary', okType),
160
+ okButtonProps: getButtonProps(mergedOkButtonProps, 'primary', okType),
157
161
  wrapClassName: classNames(props.wrapClassName, {
158
162
  'ald-modal-responsive-bounds-wrap': responsiveBounds
159
163
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "2.14.10",
3
+ "version": "2.14.11",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",