@regenbio/regenbio-components-react 1.3.53 → 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/index.d.ts +3 -11
- package/build/components/PageLayout/PageContainer/type.d.ts +6 -0
- package/build/index.d.ts +2 -3
- package/build/index.js +3 -3
- package/package.json +1 -1
|
@@ -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,13 +1,5 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* 容器状态上下文
|
|
5
|
-
*/
|
|
6
|
-
declare const RbContainerContext: Context<RbContainerStateProps>;
|
|
7
|
-
/**
|
|
8
|
-
* 容器状态Hook
|
|
9
|
-
*/
|
|
10
|
-
declare const useContainerState: () => RbContainerStateProps;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RbPageContainerProps } from "./type";
|
|
11
3
|
/**
|
|
12
4
|
* RB 页面容器
|
|
13
5
|
*
|
|
@@ -15,4 +7,4 @@ declare const useContainerState: () => RbContainerStateProps;
|
|
|
15
7
|
* @constructor
|
|
16
8
|
*/
|
|
17
9
|
declare const RbPageContainer: React.FC<RbPageContainerProps>;
|
|
18
|
-
export
|
|
10
|
+
export default RbPageContainer;
|
|
@@ -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
|
@@ -19,7 +19,7 @@ import RbUserSelector from "./components/DataEntry/UserSelector";
|
|
|
19
19
|
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
|
-
import
|
|
22
|
+
import RbPageContainer from "./components/PageLayout/PageContainer";
|
|
23
23
|
import { RbPageContainerProps, RbContainerStateProps } from "./components/PageLayout/PageContainer/type";
|
|
24
24
|
import RbHomePage from "./components/PageLayout/HomePage";
|
|
25
25
|
import { RbHomePageProps } from "./components/PageLayout/HomePage/type";
|
|
@@ -83,7 +83,7 @@ export { RbMarkdownConverter, RbMarkdownEditor };
|
|
|
83
83
|
export type { RbMarkdownEditorProps };
|
|
84
84
|
export { RbSingleImageUploader };
|
|
85
85
|
export type { RbSingleImageUploaderProps };
|
|
86
|
-
export { RbPageContainer
|
|
86
|
+
export { RbPageContainer };
|
|
87
87
|
export type { RbPageContainerProps, RbContainerStateProps };
|
|
88
88
|
export { RbHomePage };
|
|
89
89
|
export type { RbHomePageProps };
|
|
@@ -126,6 +126,5 @@ declare const _default: {
|
|
|
126
126
|
RbAuthFrame: import("react").FC<RbAuthFrameProps>;
|
|
127
127
|
RbBindFrame: import("react").FC<RbBindFrameProps>;
|
|
128
128
|
RbGlobalContext: import("react").Context<RbGlobalStateType>;
|
|
129
|
-
RbContainerContext: import("react").Context<RbContainerStateProps>;
|
|
130
129
|
};
|
|
131
130
|
export default _default;
|