revdev-components 0.84.0 → 0.85.0

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.
Files changed (2) hide show
  1. package/build/index.js +1 -6
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -4909,17 +4909,12 @@ var RegularDialog = function (_a) {
4909
4909
  }
4910
4910
  return result;
4911
4911
  }, [width]);
4912
- var handleOk = React.useCallback(function () {
4913
- if (onOk) {
4914
- onOk();
4915
- }
4916
- }, [onOk]);
4917
4912
  return (React.createElement(antd.Modal, { open: open, onCancel: onClose, style: style, className: classNames(s$j.root, className), maskClosable: false, footer: null },
4918
4913
  titleContent,
4919
4914
  React.createElement("div", { className: classNames(s$j.content, contentClassName) }, children),
4920
4915
  hideFooter ? null : (React.createElement("div", { className: classNames(s$j.footer, footerClassName) },
4921
4916
  React.createElement(antd.Button, { onClick: onClose }, cancelText || "Cancel"),
4922
- okHide ? null : (React.createElement(antd.Button, { type: "primary", onClick: handleOk, disabled: okDisabled }, okText || "OK"))))));
4917
+ okHide ? null : (React.createElement(antd.Button, { type: "primary", onClick: onOk, disabled: okDisabled }, okText || "OK"))))));
4923
4918
  };
4924
4919
 
4925
4920
  var s$i = {"root":"index-module_root__qFuRH"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.84.0",
3
+ "version": "0.85.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {