flemo 1.3.2 → 1.3.4
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/dist/index.d.ts +1 -1
- package/dist/index.mjs +559 -475
- package/dist/screen/LayoutScreen.d.ts +2 -7
- package/dist/screen/Screen.d.ts +6 -0
- package/dist/screen/ScreenMotion.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export interface LayoutScreenProps extends PropsWithChildren<Omit<HTMLMotionProps<"div">, "initial" | "drag" | "dragControls" | "dragListener" | "onDragStart" | "onDrag" | "onDragEnd" | "onPointerDown" | "onPointerMove" | "onPointerUp">> {
|
|
4
|
-
appBar?: ReactNode;
|
|
5
|
-
navigationBar?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare function LayoutScreen({ children, ...props }: LayoutScreenProps): import("react").JSX.Element;
|
|
1
|
+
import { ScreenProps } from './Screen';
|
|
2
|
+
declare function LayoutScreen({ children, ...props }: ScreenProps): import("react").JSX.Element;
|
|
8
3
|
export default LayoutScreen;
|
package/dist/screen/Screen.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { HTMLMotionProps } from 'motion/react';
|
|
3
3
|
export interface ScreenProps extends PropsWithChildren<Omit<HTMLMotionProps<"div">, "initial" | "drag" | "dragControls" | "dragListener" | "onDragStart" | "onDrag" | "onDragEnd" | "onPointerDown" | "onPointerMove" | "onPointerUp">> {
|
|
4
|
+
statusBarHeight?: string;
|
|
5
|
+
statusBarColor?: string;
|
|
6
|
+
systemNavigationBarHeight?: string;
|
|
7
|
+
systemNavigationBarColor?: string;
|
|
4
8
|
appBar?: ReactNode;
|
|
5
9
|
navigationBar?: ReactNode;
|
|
10
|
+
hideStatusBar?: boolean;
|
|
11
|
+
hideSystemNavigationBar?: boolean;
|
|
6
12
|
}
|
|
7
13
|
declare function Screen({ children, ...props }: ScreenProps): import("react").JSX.Element;
|
|
8
14
|
export default Screen;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ScreenProps } from './Screen';
|
|
2
|
-
declare function ScreenMotion({ children, appBar, navigationBar, ...props }: ScreenProps): import("react").JSX.Element;
|
|
2
|
+
declare function ScreenMotion({ children, statusBarHeight, statusBarColor, systemNavigationBarHeight, systemNavigationBarColor, appBar, navigationBar, hideStatusBar, hideSystemNavigationBar, ...props }: ScreenProps): import("react").JSX.Element;
|
|
3
3
|
export default ScreenMotion;
|