@regenbio/regenbio-components-react 1.3.54 → 1.3.55
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/components/DataDisplay/DataTable/hook.d.ts +0 -1
- package/build/components/PageLayout/PageContainer/hook.d.ts +0 -2
- package/build/components/PageLayout/PageContainer/type.d.ts +6 -0
- package/build/index.d.ts +1 -2
- package/build/index.js +3 -3
- package/package.json +1 -1
- package/build/components/PageLayout/PageContainer/context.d.ts +0 -10
|
@@ -7,8 +7,6 @@ declare const usePageContainer: (props: RbPageContainerProps) => {
|
|
|
7
7
|
mode: "light" | "realDark";
|
|
8
8
|
loading: boolean;
|
|
9
9
|
headerHeight: number;
|
|
10
|
-
scrollRef: import("react").RefObject<any>;
|
|
11
|
-
scrollElement: HTMLElement;
|
|
12
10
|
initialState: import("../../..").RbInitialStateRespProps;
|
|
13
11
|
};
|
|
14
12
|
export default usePageContainer;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { PageContainerProps } from "@ant-design/pro-layout/es/components/PageContainer";
|
|
2
|
+
import { Ref } from "react";
|
|
3
|
+
import { Scrollbars } from "react-custom-scrollbars";
|
|
2
4
|
/**
|
|
3
5
|
* 页面容器属性
|
|
4
6
|
*/
|
|
@@ -15,6 +17,10 @@ export type RbPageContainerProps = {
|
|
|
15
17
|
* 是否在动画期间控制为Load(影响子节点展示)
|
|
16
18
|
*/
|
|
17
19
|
loadDuringAnimate?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 滚动条Ref
|
|
22
|
+
*/
|
|
23
|
+
scrollRef?: Ref<Scrollbars>;
|
|
18
24
|
} & PageContainerProps;
|
|
19
25
|
/**
|
|
20
26
|
* 容器状态属性
|
package/build/index.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ import { RbUserSelectorProps } from "./components/DataEntry/UserSelector/type";
|
|
|
20
20
|
import RbAttachmentText from "./components/DataEntry/AttachmentText";
|
|
21
21
|
import { RbAttachmentTextProps } from "./components/DataEntry/AttachmentText/type";
|
|
22
22
|
import RbPageContainer from "./components/PageLayout/PageContainer";
|
|
23
|
-
import { useContainerState } from "./components/PageLayout/PageContainer/context";
|
|
24
23
|
import { RbPageContainerProps, RbContainerStateProps } from "./components/PageLayout/PageContainer/type";
|
|
25
24
|
import RbHomePage from "./components/PageLayout/HomePage";
|
|
26
25
|
import { RbHomePageProps } from "./components/PageLayout/HomePage/type";
|
|
@@ -84,7 +83,7 @@ export { RbMarkdownConverter, RbMarkdownEditor };
|
|
|
84
83
|
export type { RbMarkdownEditorProps };
|
|
85
84
|
export { RbSingleImageUploader };
|
|
86
85
|
export type { RbSingleImageUploaderProps };
|
|
87
|
-
export { RbPageContainer
|
|
86
|
+
export { RbPageContainer };
|
|
88
87
|
export type { RbPageContainerProps, RbContainerStateProps };
|
|
89
88
|
export { RbHomePage };
|
|
90
89
|
export type { RbHomePageProps };
|