@nocobase/plugin-mobile 1.7.4 → 1.7.6
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.
|
@@ -13,11 +13,15 @@ export declare const FilterAction: React.FunctionComponent<any>;
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const useToAdaptFilterActionToMobile: () => void;
|
|
15
15
|
/**
|
|
16
|
+
* 为了解决在桌面端配置页面弹窗超出移动端页面范围的问题。
|
|
16
17
|
* 之所以不直接在 mobile-container 中设置 transform,是因为会影响到子页面区块的拖拽功能。
|
|
17
|
-
* @param visible
|
|
18
|
+
* @param visible 控制弹窗是否可见
|
|
19
|
+
* @param animationDelay 动画延迟时间,默认300ms
|
|
18
20
|
* @returns
|
|
19
21
|
*/
|
|
20
|
-
export declare const usePopupContainer: (visible: boolean) => {
|
|
22
|
+
export declare const usePopupContainer: (visible: boolean, animationDelay?: number) => {
|
|
21
23
|
visiblePopup: boolean;
|
|
22
|
-
popupContainerRef:
|
|
24
|
+
popupContainerRef: {
|
|
25
|
+
current: HTMLDivElement;
|
|
26
|
+
};
|
|
23
27
|
};
|