@cloudtower/eagle 0.34.23 → 0.34.24

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.
@@ -18,6 +18,8 @@ export type ImmersiveDialogProps = React.PropsWithChildren<AntdModalProps & {
18
18
  okButtonProps?: ButtonProps;
19
19
  /** 错误信息 */
20
20
  error?: React.ReactNode;
21
+ /** 是否隐藏 footer */
22
+ hideFooter?: boolean;
21
23
  /** 是否展示在 modal footer 的错误图标, 默认展示 */
22
24
  showFooterErrorIcon?: boolean;
23
25
  /** 确定按钮的回调 */
@@ -34,6 +34,8 @@ export interface SmallDialogProps {
34
34
  children?: React.ReactNode;
35
35
  /** 展示在 modal footer 的错误文案 */
36
36
  error?: React.ReactNode;
37
+ /** 是否隐藏 footer */
38
+ hideFooter?: boolean;
37
39
  /** 是否展示在 modal footer 的错误图标, 默认展示 */
38
40
  showFooterErrorIcon?: boolean;
39
41
  /** 确认按钮加载状态 */
@@ -83,6 +83,7 @@ declare const story: {
83
83
  showCancel?: boolean | undefined;
84
84
  showOk?: boolean | undefined;
85
85
  error?: React.ReactNode;
86
+ hideFooter?: boolean | undefined;
86
87
  showFooterErrorIcon?: boolean | undefined;
87
88
  isContentFull?: boolean | undefined;
88
89
  left?: React.ReactNode;
@@ -104,3 +105,7 @@ export declare const WithError: () => React.JSX.Element;
104
105
  * 初始化状态
105
106
  */
106
107
  export declare const Initializing: () => React.JSX.Element;
108
+ /**
109
+ * 不展示 footer
110
+ */
111
+ export declare const NoFooter: () => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
1
  import { MediumDialog } from "../../../src/core";
3
2
  import { CoreMeta } from "../../types";
3
+ import React from "react";
4
4
  /**
5
5
  * MediumDialog 组件
6
6
  *
@@ -45,3 +45,7 @@ export declare const Initializing: () => React.JSX.Element;
45
45
  * 内容占满视窗
46
46
  */
47
47
  export declare const ContentFull: () => React.JSX.Element;
48
+ /**
49
+ * 不展示 footer
50
+ */
51
+ export declare const NoFooter: () => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
1
  import { SmallDialog } from "../../../src/core";
3
2
  import { CoreMeta } from "../../types";
3
+ import React from "react";
4
4
  /**
5
5
  * SmallDialog 组件
6
6
  *
@@ -39,3 +39,7 @@ export declare const LongContent: () => React.JSX.Element;
39
39
  * 初始化状态
40
40
  */
41
41
  export declare const Initializing: () => React.JSX.Element;
42
+ /**
43
+ * 不展示 footer
44
+ */
45
+ export declare const NoFooter: () => React.JSX.Element;
@@ -5,6 +5,7 @@ export declare const OnlyLeftWizardDialog: () => React.JSX.Element;
5
5
  export declare const CustomStepsWizardDialog: () => React.JSX.Element;
6
6
  export declare const ScrollableWizardDialog: () => React.JSX.Element;
7
7
  export declare const InitializingWizardDialog: () => React.JSX.Element;
8
+ export declare const NoFooterWizardDialog: () => React.JSX.Element;
8
9
  declare const story: {
9
10
  title: "Core/WizardDialog | 向导弹窗";
10
11
  component: typeof WizardDialog;
@@ -85,6 +86,7 @@ declare const story: {
85
86
  showCancel?: boolean | undefined;
86
87
  showOk?: boolean | undefined;
87
88
  error?: React.ReactNode;
89
+ hideFooter?: boolean | undefined;
88
90
  showFooterErrorIcon?: boolean | undefined;
89
91
  isContentFull?: boolean | undefined;
90
92
  left?: React.ReactNode;