react-native-screen-transitions 3.5.0-beta.0 → 3.5.0
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/lib/commonjs/shared/utils/platform.js +1 -0
- package/lib/commonjs/shared/utils/platform.js.map +1 -1
- package/lib/module/shared/utils/platform.js +1 -0
- package/lib/module/shared/utils/platform.js.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +4 -4
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts +2 -2
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +2 -2
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +4 -4
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map +1 -1
- package/lib/typescript/shared/utils/platform.d.ts +0 -3
- package/lib/typescript/shared/utils/platform.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/utils/platform.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isFabric","global"],"sourceRoot":"../../../../src","sources":["shared/utils/platform.ts"],"mappings":";;;;;;AAAA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["isFabric","global"],"sourceRoot":"../../../../src","sources":["shared/utils/platform.ts"],"mappings":";;;;;;AAAA;AACA;AACA;;AAGO,SAASA,QAAQA,CAAA,EAAY;EACnC,OAAO,uBAAuB,IAAIC,MAAM;AACzC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isFabric","global"],"sourceRoot":"../../../../src","sources":["shared/utils/platform.ts"],"mappings":";;AAAA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["isFabric","global"],"sourceRoot":"../../../../src","sources":["shared/utils/platform.ts"],"mappings":";;AAAA;AACA;AACA;;AAGA,OAAO,SAASA,QAAQA,CAAA,EAAY;EACnC,OAAO,uBAAuB,IAAIC,MAAM;AACzC","ignoreList":[]}
|
package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
2
|
+
import Animated from "react-native-reanimated";
|
|
3
|
+
type BoundaryTargetProps = React.ComponentProps<typeof Animated.View>;
|
|
4
|
+
export declare const BoundaryTarget: React.MemoExoticComponent<(props: BoundaryTargetProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
+
export {};
|
|
6
6
|
//# sourceMappingURL=boundary-target.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,QAA4B,MAAM,yBAAyB,CAAC;AAMnE,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;AAEtE,eAAO,MAAM,cAAc,oCACnB,mBAAmB,6CAkCzB,CAAC"}
|
|
@@ -31,8 +31,8 @@ export declare const Boundary: {
|
|
|
31
31
|
/**
|
|
32
32
|
* Optional nested measurement override inside a boundary owner.
|
|
33
33
|
*/
|
|
34
|
-
Target: import("react").
|
|
34
|
+
Target: import("react").MemoExoticComponent<(props: Omit<import("react-native-reanimated").AnimatedProps<Readonly<import("react-native").ViewProps>>, "ref"> & {
|
|
35
35
|
ref?: (import("react-native-reanimated").AnimatedRef | import("react").Ref<View> | import("react-native-reanimated").AnimatedRef<typeof View>) | undefined;
|
|
36
|
-
}>;
|
|
36
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,6 +5,6 @@ type OverlayHostProps = {
|
|
|
5
5
|
scene: StackScene;
|
|
6
6
|
overlayScreenState: OverlayScreenState<BaseDescriptor["navigation"]>;
|
|
7
7
|
};
|
|
8
|
-
export declare const OverlayHost: import("react").
|
|
8
|
+
export declare const OverlayHost: import("react").MemoExoticComponent<({ scene, overlayScreenState, }: OverlayHostProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=overlay-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,kBAAkB,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,kBAAkB,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,WAAW,uEAGrB,gBAAgB,oDAmCjB,CAAC"}
|
|
@@ -8,6 +8,6 @@ type SceneViewProps = {
|
|
|
8
8
|
* Wraps screen render output with navigation context providers
|
|
9
9
|
* and optional screen overlay.
|
|
10
10
|
*/
|
|
11
|
-
export declare const SceneView: React.
|
|
11
|
+
export declare const SceneView: React.MemoExoticComponent<({ descriptor, }: SceneViewProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=scene-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/scene-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,KAAK,cAAc,GAAG;IACrB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"scene-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/scene-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,KAAK,cAAc,GAAG;IACrB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,8CAEnB,cAAc,6CAUf,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BackdropBehavior } from "../../../types/screen.types";
|
|
2
|
-
export declare const BackdropLayer: import("react").
|
|
2
|
+
export declare const BackdropLayer: import("react").MemoExoticComponent<({ backdropBehavior, isBackdropActive, }: {
|
|
3
3
|
backdropBehavior: BackdropBehavior;
|
|
4
4
|
isBackdropActive: boolean;
|
|
5
|
-
}>;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
6
6
|
//# sourceMappingURL=backdrop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAIpE,eAAO,MAAM,aAAa;
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAIpE,eAAO,MAAM,aAAa,gFAGvB;IACF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,6CAiHC,CAAC"}
|
|
@@ -8,9 +8,9 @@ declare const _default: {
|
|
|
8
8
|
Boundary: {
|
|
9
9
|
View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "id"> & import("./components/create-boundary-component/types").BoundaryOwnProps & import("react").RefAttributes<never>>>;
|
|
10
10
|
Trigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").PressableProps & import("react").RefAttributes<View>, "id"> & import("./components/create-boundary-component/types").BoundaryOwnProps & import("react").RefAttributes<View | import("react").Component<import("react-native").PressableProps & import("react").RefAttributes<View>, any, any>>>>;
|
|
11
|
-
Target: import("react").
|
|
11
|
+
Target: import("react").MemoExoticComponent<(props: Omit<import("react-native-reanimated").AnimatedProps<Readonly<import("react-native").ViewProps>>, "ref"> & {
|
|
12
12
|
ref?: (import("react-native-reanimated").AnimatedRef | import("react").Ref<View> | import("react-native-reanimated").AnimatedRef<typeof View>) | undefined;
|
|
13
|
-
}>;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
14
14
|
};
|
|
15
15
|
View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
16
16
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
@@ -223,6 +223,7 @@ declare const _default: {
|
|
|
223
223
|
key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
|
|
224
224
|
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode) | import("react-native-reanimated").SharedValue<import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode)>;
|
|
225
225
|
ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
|
|
226
|
+
disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
226
227
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
227
228
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
228
229
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
@@ -325,7 +326,6 @@ declare const _default: {
|
|
|
325
326
|
delayHoverIn?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
326
327
|
delayHoverOut?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
327
328
|
delayLongPress?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
328
|
-
disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
329
329
|
pressRetentionOffset?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
330
330
|
android_disableSound?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
331
331
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | import("react-native-reanimated").SharedValue<import("react-native").PressableAndroidRippleConfig | null | undefined> | null | undefined;
|
|
@@ -344,6 +344,7 @@ declare const _default: {
|
|
|
344
344
|
key?: import("react").Key | null | undefined;
|
|
345
345
|
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => React.ReactNode);
|
|
346
346
|
ref?: import("react").Ref<View> | undefined;
|
|
347
|
+
disabled?: null | boolean | undefined | undefined;
|
|
347
348
|
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
348
349
|
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
349
350
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined | undefined;
|
|
@@ -443,7 +444,6 @@ declare const _default: {
|
|
|
443
444
|
delayHoverIn?: number | null | undefined | undefined;
|
|
444
445
|
delayHoverOut?: number | null | undefined | undefined;
|
|
445
446
|
delayLongPress?: null | number | undefined | undefined;
|
|
446
|
-
disabled?: null | boolean | undefined | undefined;
|
|
447
447
|
pressRetentionOffset?: number | import("react-native").Insets | null | undefined;
|
|
448
448
|
android_disableSound?: null | boolean | undefined | undefined;
|
|
449
449
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | null | undefined;
|
package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ interface MaybeFloatingContainerProps {
|
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
isFloatingOverlay?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const MaybeFloatingContainer: import("react").
|
|
5
|
+
export declare const MaybeFloatingContainer: import("react").MemoExoticComponent<({ children, isFloatingOverlay, }: MaybeFloatingContainerProps) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=maybe-floating-container.d.ts.map
|
package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maybe-floating-container.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/components/maybe-floating-container.tsx"],"names":[],"mappings":"AAGA,UAAU,2BAA2B;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"maybe-floating-container.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/components/maybe-floating-container.tsx"],"names":[],"mappings":"AAGA,UAAU,2BAA2B;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,sBAAsB,yEAGhC,2BAA2B,6WAU5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/shared/utils/platform.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/shared/utils/platform.ts"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ,IAAI,OAAO,CAElC"}
|
package/package.json
CHANGED