revdev-components 0.83.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.
- package/build/index.js +1 -6
- package/build/navigator/index.d.ts +2 -3
- 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:
|
|
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"};
|
|
@@ -9,7 +9,7 @@ export type AlfaNavigatorPath<TKey extends string = string> = AlfaNavigatorPathP
|
|
|
9
9
|
export interface AlfaNavigatorChangeEvent {
|
|
10
10
|
path?: string[];
|
|
11
11
|
}
|
|
12
|
-
interface
|
|
12
|
+
export interface AlfaNavigatorProps {
|
|
13
13
|
root?: AlfaNavigatorOption | AlfaNavigatorPathPart;
|
|
14
14
|
options?: AlfaNavigatorOption[];
|
|
15
15
|
className?: string;
|
|
@@ -19,5 +19,4 @@ interface Props {
|
|
|
19
19
|
path?: AlfaNavigatorPath;
|
|
20
20
|
onChange?: (e: AlfaNavigatorChangeEvent) => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const AlfaNavigator: React.FC<
|
|
23
|
-
export {};
|
|
22
|
+
export declare const AlfaNavigator: React.FC<AlfaNavigatorProps>;
|