react-native-screen-transitions 3.11.3 → 3.12.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/blank-stack/components/stack-view.js +1 -2
- package/lib/commonjs/blank-stack/components/stack-view.js.map +1 -1
- package/lib/commonjs/component-stack/components/stack-view.js +1 -2
- package/lib/commonjs/component-stack/components/stack-view.js.map +1 -1
- package/lib/commonjs/native-stack/views/NativeStackView.native.js +2 -3
- package/lib/commonjs/native-stack/views/NativeStackView.native.js.map +1 -1
- package/lib/commonjs/shared/adapters/with-screen-transitions/stack-layout.js +1 -1
- package/lib/commonjs/shared/adapters/with-screen-transitions/stack-layout.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +7 -4
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/helpers/create-overlay-interpolator-frame.js +30 -0
- package/lib/commonjs/shared/components/overlay/helpers/create-overlay-interpolator-frame.js.map +1 -0
- package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js +40 -22
- package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/helpers/retain-ready-overlay-resources.js +21 -0
- package/lib/commonjs/shared/components/overlay/helpers/retain-ready-overlay-resources.js.map +1 -0
- package/lib/commonjs/shared/components/overlay/helpers/run-overlay-slot-interpolator.js +41 -0
- package/lib/commonjs/shared/components/overlay/helpers/run-overlay-slot-interpolator.js.map +1 -0
- package/lib/commonjs/shared/components/overlay/hooks/use-overlay-slot.js +85 -0
- package/lib/commonjs/shared/components/overlay/hooks/use-overlay-slot.js.map +1 -0
- package/lib/commonjs/shared/components/overlay/variations/float-overlay.js +14 -65
- package/lib/commonjs/shared/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +89 -16
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +4 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +10 -7
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +6 -8
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +8 -2
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js +9 -5
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +1 -3
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/{use-walk-up-and-register-shadowing-claims.js → gesture-ownership-bridge.js} +36 -50
- package/lib/commonjs/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js +1 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/transition-visual-state.js +20 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/transition-visual-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js +14 -15
- package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +34 -11
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/slot.provider.js +18 -29
- package/lib/commonjs/shared/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.js +18 -0
- package/lib/commonjs/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.js.map +1 -0
- package/lib/commonjs/shared/providers/stack/blank-stack.provider.js +2 -1
- package/lib/commonjs/shared/providers/stack/blank-stack.provider.js.map +1 -1
- package/lib/commonjs/shared/utils/create-provider.js +119 -10
- package/lib/commonjs/shared/utils/create-provider.js.map +1 -1
- package/lib/module/blank-stack/components/stack-view.js +1 -2
- package/lib/module/blank-stack/components/stack-view.js.map +1 -1
- package/lib/module/component-stack/components/stack-view.js +1 -2
- package/lib/module/component-stack/components/stack-view.js.map +1 -1
- package/lib/module/native-stack/views/NativeStackView.native.js +2 -3
- package/lib/module/native-stack/views/NativeStackView.native.js.map +1 -1
- package/lib/module/shared/adapters/with-screen-transitions/stack-layout.js +1 -1
- package/lib/module/shared/adapters/with-screen-transitions/stack-layout.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +7 -4
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/module/shared/components/overlay/helpers/create-overlay-interpolator-frame.js +25 -0
- package/lib/module/shared/components/overlay/helpers/create-overlay-interpolator-frame.js.map +1 -0
- package/lib/module/shared/components/overlay/helpers/get-active-overlay.js +37 -21
- package/lib/module/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/module/shared/components/overlay/helpers/retain-ready-overlay-resources.js +17 -0
- package/lib/module/shared/components/overlay/helpers/retain-ready-overlay-resources.js.map +1 -0
- package/lib/module/shared/components/overlay/helpers/run-overlay-slot-interpolator.js +36 -0
- package/lib/module/shared/components/overlay/helpers/run-overlay-slot-interpolator.js.map +1 -0
- package/lib/module/shared/components/overlay/hooks/use-overlay-slot.js +80 -0
- package/lib/module/shared/components/overlay/hooks/use-overlay-slot.js.map +1 -0
- package/lib/module/shared/components/overlay/variations/float-overlay.js +15 -66
- package/lib/module/shared/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/module/shared/components/overlay/variations/overlay-host.js +90 -18
- package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +4 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js +10 -7
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +6 -8
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js +8 -2
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js +10 -6
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +1 -3
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/ownership/{use-walk-up-and-register-shadowing-claims.js → gesture-ownership-bridge.js} +35 -49
- package/lib/module/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/constants.js +1 -0
- package/lib/module/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/transition-visual-state.js +18 -0
- package/lib/module/shared/providers/screen/styles/helpers/transition-visual-state.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js +14 -15
- package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +35 -12
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/slot.provider.js +19 -30
- package/lib/module/shared/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/module/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.js +14 -0
- package/lib/module/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.js.map +1 -0
- package/lib/module/shared/providers/stack/blank-stack.provider.js +2 -1
- package/lib/module/shared/providers/stack/blank-stack.provider.js.map +1 -1
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/utils/create-provider.js +119 -10
- package/lib/module/shared/utils/create-provider.js.map +1 -1
- package/lib/typescript/blank-stack/components/stack-view.d.ts.map +1 -1
- package/lib/typescript/blank-stack/types.d.ts +1 -1
- package/lib/typescript/blank-stack/types.d.ts.map +1 -1
- package/lib/typescript/component-stack/components/stack-view.d.ts.map +1 -1
- package/lib/typescript/component-stack/types.d.ts +1 -1
- package/lib/typescript/component-stack/types.d.ts.map +1 -1
- package/lib/typescript/native-stack/types.d.ts +1 -1
- package/lib/typescript/native-stack/types.d.ts.map +1 -1
- package/lib/typescript/native-stack/views/NativeStackView.native.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/helpers/create-overlay-interpolator-frame.d.ts +7 -0
- package/lib/typescript/shared/components/overlay/helpers/create-overlay-interpolator-frame.d.ts.map +1 -0
- package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts +17 -7
- package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/helpers/retain-ready-overlay-resources.d.ts +11 -0
- package/lib/typescript/shared/components/overlay/helpers/retain-ready-overlay-resources.d.ts.map +1 -0
- package/lib/typescript/shared/components/overlay/helpers/run-overlay-slot-interpolator.d.ts +8 -0
- package/lib/typescript/shared/components/overlay/helpers/run-overlay-slot-interpolator.d.ts.map +1 -0
- package/lib/typescript/shared/components/overlay/hooks/use-overlay-slot.d.ts +15 -0
- package/lib/typescript/shared/components/overlay/hooks/use-overlay-slot.d.ts.map +1 -0
- package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts +1 -1
- package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +7 -6
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +12 -12
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts +4 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/gestures.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts +2 -2
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/transition-visual-state.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/transition-visual-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts +5 -5
- package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.d.ts +3 -0
- package/lib/typescript/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/stack/blank-stack.provider.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +8 -0
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +1 -1
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/types/overlay.types.d.ts +26 -11
- package/lib/typescript/shared/types/overlay.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +2 -2
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/create-provider.d.ts +21 -6
- package/lib/typescript/shared/utils/create-provider.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/blank-stack/components/stack-view.tsx +1 -4
- package/src/blank-stack/types.ts +8 -2
- package/src/component-stack/components/stack-view.tsx +1 -4
- package/src/component-stack/types.ts +8 -2
- package/src/native-stack/types.ts +8 -2
- package/src/native-stack/views/NativeStackView.native.tsx +3 -9
- package/src/shared/adapters/with-screen-transitions/stack-layout.tsx +1 -1
- package/src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +9 -4
- package/src/shared/components/overlay/helpers/create-overlay-interpolator-frame.ts +29 -0
- package/src/shared/components/overlay/helpers/get-active-overlay.ts +62 -20
- package/src/shared/components/overlay/helpers/retain-ready-overlay-resources.ts +38 -0
- package/src/shared/components/overlay/helpers/run-overlay-slot-interpolator.ts +48 -0
- package/src/shared/components/overlay/hooks/use-overlay-slot.ts +103 -0
- package/src/shared/components/overlay/variations/float-overlay.tsx +22 -64
- package/src/shared/components/overlay/variations/overlay-host.tsx +135 -28
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +5 -1
- package/src/shared/index.ts +1 -0
- package/src/shared/providers/screen/animation/animation.provider.tsx +24 -11
- package/src/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts +15 -9
- package/src/shared/providers/screen/animation/use-screen-animation.tsx +12 -2
- package/src/shared/providers/screen/gestures/gestures.provider.tsx +18 -7
- package/src/shared/providers/screen/gestures/hooks/use-screen-gesture-config.ts +4 -4
- package/src/shared/providers/screen/gestures/ownership/{use-walk-up-and-register-shadowing-claims.ts → gesture-ownership-bridge.tsx} +44 -54
- package/src/shared/providers/screen/styles/constants.ts +1 -0
- package/src/shared/providers/screen/styles/helpers/transition-visual-state.ts +26 -0
- package/src/shared/providers/screen/styles/hooks/slot-resolvers.tsx +17 -5
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +51 -12
- package/src/shared/providers/screen/styles/slot.provider.tsx +46 -70
- package/src/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.ts +22 -0
- package/src/shared/providers/stack/blank-stack.provider.tsx +6 -1
- package/src/shared/types/animation.types.ts +8 -0
- package/src/shared/types/index.ts +1 -1
- package/src/shared/types/overlay.types.ts +41 -14
- package/src/shared/types/screen.types.ts +2 -2
- package/src/shared/utils/create-provider.tsx +221 -19
- package/lib/commonjs/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/components/floating-overlay-layer.js +0 -28
- package/lib/commonjs/shared/providers/screen/styles/components/floating-overlay-layer.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js +0 -53
- package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/components/floating-overlay-layer.js +0 -24
- package/lib/module/shared/providers/screen/styles/components/floating-overlay-layer.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js +0 -47
- package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.d.ts +0 -14
- package/lib/typescript/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts +0 -7
- package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts +0 -6
- package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts.map +0 -1
- package/src/shared/providers/screen/styles/components/floating-overlay-layer.tsx +0 -29
- package/src/shared/providers/screen/styles/stores/slot-references.store.ts +0 -72
|
@@ -218,7 +218,7 @@ declare const _default: {
|
|
|
218
218
|
styleId?: string;
|
|
219
219
|
} & import("react").RefAttributes<never>>>;
|
|
220
220
|
Pressable: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
221
|
-
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) =>
|
|
221
|
+
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => import("react").ReactNode) | import("react-native-reanimated").SharedValue<import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => import("react").ReactNode)>;
|
|
222
222
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
223
223
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
224
224
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -339,7 +339,7 @@ declare const _default: {
|
|
|
339
339
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
340
340
|
} & {
|
|
341
341
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
342
|
-
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) =>
|
|
342
|
+
children?: import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => import("react").ReactNode) | import("react-native-reanimated").SharedValue<import("react").ReactNode | ((state: import("react-native").PressableStateCallbackType) => import("react").ReactNode)>;
|
|
343
343
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
344
344
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
345
345
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -461,7 +461,7 @@ declare const _default: {
|
|
|
461
461
|
}> | import("react-native-reanimated").CSSStyle<import("react-native").PressableProps & import("react").RefAttributes<View>>> | undefined;
|
|
462
462
|
} & {
|
|
463
463
|
styleId?: string;
|
|
464
|
-
} & import("react").RefAttributes<
|
|
464
|
+
} & import("react").RefAttributes<never>>>;
|
|
465
465
|
ScrollView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
466
466
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
467
467
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
@@ -1009,9 +1009,9 @@ declare const _default: {
|
|
|
1009
1009
|
renderItem: import("react-native").ListRenderItem<unknown> | import("react-native-reanimated").SharedValue<import("react-native").ListRenderItem<unknown> | null | undefined> | null | undefined;
|
|
1010
1010
|
viewabilityConfig?: import("react-native").ViewabilityConfig | import("react-native-reanimated").SharedValue<import("react-native").ViewabilityConfig | undefined> | undefined;
|
|
1011
1011
|
ItemSeparatorComponent?: import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1012
|
-
ListEmptyComponent?: import("react").
|
|
1013
|
-
ListFooterComponent?: import("react").
|
|
1014
|
-
ListHeaderComponent?: import("react").
|
|
1012
|
+
ListEmptyComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1013
|
+
ListFooterComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1014
|
+
ListHeaderComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1015
1015
|
debug?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1016
1016
|
disableVirtualization?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1017
1017
|
getItem?: ((data: any, index: number) => unknown) | import("react-native-reanimated").SharedValue<((data: any, index: number) => unknown) | undefined> | undefined;
|
|
@@ -1040,7 +1040,7 @@ declare const _default: {
|
|
|
1040
1040
|
}) => void) | null | undefined> | null | undefined;
|
|
1041
1041
|
onStartReachedThreshold?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
1042
1042
|
progressViewOffset?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
1043
|
-
renderScrollComponent?: ((props: import("react-native").ScrollViewProps) =>
|
|
1043
|
+
renderScrollComponent?: ((props: import("react-native").ScrollViewProps) => import("react").ReactElement<import("react-native").ScrollViewProps>) | import("react-native-reanimated").SharedValue<((props: import("react-native").ScrollViewProps) => import("react").ReactElement<import("react-native").ScrollViewProps>) | undefined> | undefined;
|
|
1044
1044
|
updateCellsBatchingPeriod?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
1045
1045
|
viewabilityConfigCallbackPairs?: import("react-native").ViewabilityConfigCallbackPairs | import("react-native-reanimated").SharedValue<import("react-native").ViewabilityConfigCallbackPairs | undefined> | undefined;
|
|
1046
1046
|
windowSize?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
@@ -1251,9 +1251,9 @@ declare const _default: {
|
|
|
1251
1251
|
renderItem: import("react-native").ListRenderItem<unknown> | import("react-native-reanimated").SharedValue<import("react-native").ListRenderItem<unknown> | null | undefined> | null | undefined;
|
|
1252
1252
|
viewabilityConfig?: import("react-native").ViewabilityConfig | import("react-native-reanimated").SharedValue<import("react-native").ViewabilityConfig | undefined> | undefined;
|
|
1253
1253
|
ItemSeparatorComponent?: import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1254
|
-
ListEmptyComponent?: import("react").
|
|
1255
|
-
ListFooterComponent?: import("react").
|
|
1256
|
-
ListHeaderComponent?: import("react").
|
|
1254
|
+
ListEmptyComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1255
|
+
ListFooterComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1256
|
+
ListHeaderComponent?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | import("react-native-reanimated").SharedValue<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType<any> | null | undefined> | null | undefined;
|
|
1257
1257
|
debug?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1258
1258
|
disableVirtualization?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
1259
1259
|
getItem?: ((data: any, index: number) => unknown) | import("react-native-reanimated").SharedValue<((data: any, index: number) => unknown) | undefined> | undefined;
|
|
@@ -1282,7 +1282,7 @@ declare const _default: {
|
|
|
1282
1282
|
}) => void) | null | undefined> | null | undefined;
|
|
1283
1283
|
onStartReachedThreshold?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
1284
1284
|
progressViewOffset?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
1285
|
-
renderScrollComponent?: ((props: import("react-native").ScrollViewProps) =>
|
|
1285
|
+
renderScrollComponent?: ((props: import("react-native").ScrollViewProps) => import("react").ReactElement<import("react-native").ScrollViewProps>) | import("react-native-reanimated").SharedValue<((props: import("react-native").ScrollViewProps) => import("react").ReactElement<import("react-native").ScrollViewProps>) | undefined> | undefined;
|
|
1286
1286
|
updateCellsBatchingPeriod?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
1287
1287
|
viewabilityConfigCallbackPairs?: import("react-native").ViewabilityConfigCallbackPairs | import("react-native-reanimated").SharedValue<import("react-native").ViewabilityConfigCallbackPairs | undefined> | undefined;
|
|
1288
1288
|
windowSize?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
@@ -1357,5 +1357,5 @@ export { useHistory } from "./hooks/navigation/use-history";
|
|
|
1357
1357
|
export { type ScreenState, useScreenState, } from "./hooks/navigation/use-screen-state";
|
|
1358
1358
|
export { type ScreenAnimationTarget, useScreenAnimation, } from "./providers/screen/animation";
|
|
1359
1359
|
export { type ScreenGestureTarget, useScreenGesture, } from "./providers/screen/gestures/hooks/use-screen-gesture";
|
|
1360
|
-
export type { AnimatedViewStyle, AnimationConfig, BoundaryTeleportControl, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomAxisResponse, BoundsNavigationZoomDragOptions, BoundsNavigationZoomOpacityRange, BoundsNavigationZoomOpacityRanges, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, GestureHandoffValues, InactiveBehavior, OverlayProps, RawGestureValues, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenInterpolationProps, ScreenLayerComponentProps, ScreenStyleInterpolator, ScreenTransitionAccessor, ScreenTransitionConfig, ScreenTransitionDepthTarget, ScreenTransitionTarget, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, TransitionInterpolatedStyle, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1360
|
+
export type { AnimatedViewStyle, AnimationConfig, BoundaryTeleportControl, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomAxisResponse, BoundsNavigationZoomDragOptions, BoundsNavigationZoomOpacityRange, BoundsNavigationZoomOpacityRanges, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, GestureHandoffValues, InactiveBehavior, OverlayComponent, OverlayProps, RawGestureValues, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenInterpolationProps, ScreenLayerComponentProps, ScreenStyleInterpolator, ScreenTransitionAccessor, ScreenTransitionConfig, ScreenTransitionDepthTarget, ScreenTransitionTarget, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, TransitionInterpolatedStyle, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "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EACxB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -11,11 +11,15 @@ export type ScreenAnimationContextValue = ReturnType<typeof useScreenAnimationPi
|
|
|
11
11
|
ancestorDescendantScreenAnimationRegistrars: ScreenAnimationAncestorDescendantRegistrar[];
|
|
12
12
|
};
|
|
13
13
|
export type ScreenAnimationContextResult = {
|
|
14
|
+
key: string;
|
|
14
15
|
value: ScreenAnimationContextValue;
|
|
15
16
|
};
|
|
16
17
|
export declare const ScreenAnimationProvider: import("react").FC<Props>, useScreenAnimationStore: {
|
|
17
18
|
(): ScreenAnimationContextValue;
|
|
18
19
|
<Selected>(selector: (value: ScreenAnimationContextValue) => Selected): Selected;
|
|
20
|
+
} & {
|
|
21
|
+
(key: string): ScreenAnimationContextValue | null;
|
|
22
|
+
<Selected>(key: string, selector: (value: ScreenAnimationContextValue) => Selected): Selected | null;
|
|
19
23
|
};
|
|
20
24
|
export {};
|
|
21
25
|
//# sourceMappingURL=animation.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/animation.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAyC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"animation.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/animation.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAyC,MAAM,OAAO,CAAC;AAK9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EACX,iCAAiC,EACjC,0CAA0C,EAC1C,gCAAgC,EAChC,qBAAqB,EAErB,MAAM,SAAS,CAAC;AAEjB,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CACnD,OAAO,0BAA0B,CACjC,GAAG;IACH,8BAA8B,EAAE,qBAAqB,EAAE,CAAC;IACxD,gCAAgC,EAAE,gCAAgC,CAAC;IACnE,uCAAuC,EAAE,iCAAiC,CAAC;IAC3E,2CAA2C,EAAE,0CAA0C,EAAE,CAAC;CAC1F,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,2BAA2B,CAAC;CACnC,CAAC;AAEF,eAAO,MAAQ,uBAAuB,6BAAE,uBAAuB;;;;;;CA4L7D,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ScreenInterpolationProps, ScreenTransitionTarget } from "../../../../../types/animation.types";
|
|
2
|
+
import type { ScreenAnimationContextValue } from "../../animation.provider";
|
|
2
3
|
import type { ScreenAnimationDescendantSources, ScreenAnimationTransitionSource } from "../../types";
|
|
3
4
|
export type TransitionAccessorSource = ScreenAnimationTransitionSource;
|
|
5
|
+
type TransitionAccessorStore = Pick<ScreenAnimationContextValue, "screenInterpolatorProps" | "screenInterpolatorPropsRevision" | "ancestorScreenAnimationSources" | "descendantScreenAnimationSources">;
|
|
4
6
|
export declare const createTransitionAccessor: (sources: readonly TransitionAccessorSource[], originIndex?: number, descendantSources?: ScreenAnimationDescendantSources) => (target?: ScreenTransitionTarget) => ScreenInterpolationProps | null;
|
|
5
|
-
export declare const useBuildTransitionAccessor: () => (target?: ScreenTransitionTarget) => ScreenInterpolationProps | null;
|
|
7
|
+
export declare const useBuildTransitionAccessor: ({ screenInterpolatorProps, screenInterpolatorPropsRevision, ancestorScreenAnimationSources, descendantScreenAnimationSources, }: TransitionAccessorStore) => (target?: ScreenTransitionTarget) => ScreenInterpolationProps | null;
|
|
8
|
+
export {};
|
|
6
9
|
//# sourceMappingURL=use-build-transition-accessor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-build-transition-accessor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,wBAAwB,EACxB,sBAAsB,EACtB,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-build-transition-accessor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,wBAAwB,EACxB,sBAAsB,EACtB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EACX,gCAAgC,EAEhC,+BAA+B,EAC/B,MAAM,aAAa,CAAC;AAIrB,MAAM,MAAM,wBAAwB,GAAG,+BAA+B,CAAC;AAEvE,KAAK,uBAAuB,GAAG,IAAI,CAClC,2BAA2B,EACzB,yBAAyB,GACzB,iCAAiC,GACjC,gCAAgC,GAChC,kCAAkC,CACpC,CAAC;AAwBF,eAAO,MAAM,wBAAwB,GACpC,SAAS,SAAS,wBAAwB,EAAE,EAC5C,oBAAe,EACf,oBAAoB,gCAAgC,MAsD5C,SAAS,sBAAsB,KAAG,wBAAwB,GAAG,IAcrE,CAAC;AAUF,eAAO,MAAM,0BAA0B,GAAI,iIAKxC,uBAAuB,eA7BR,sBAAsB,KAAG,wBAAwB,GAAG,IA8DrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/use-screen-animation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/use-screen-animation.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EACX,wBAAwB,EACxB,sBAAsB,EACtB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,KAAK,EACX,2BAA2B,EAE3B,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,wBAAgB,kBAAkB,IAAI,YAAY,CAAC,wBAAwB,CAAC,CAAC;AAC7E,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC;CACT,GAAG,YAAY,CAAC,wBAAwB,CAAC,CAAC;AAC3C,sCAAsC;AACtC,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,MAAM,GACZ,YAAY,CAAC,wBAAwB,CAAC,CAAC;AAC1C,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,sBAAsB,GAC5B,YAAY,CAAC,wBAAwB,GAAG,IAAI,CAAC,CAAC;AACjD,mCAAmC;AACnC,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,OAAO,CAAC,2BAA2B,EAAE,MAAM,CAAC,GAClD,YAAY,CAAC,wBAAwB,GAAG,IAAI,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestures.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/gestures/gestures.provider.tsx"],"names":[],"mappings":"AAUA,OAAO,EAGN,KAAK,kBAAkB,EAEvB,MAAM,SAAS,CAAC;AAEjB,UAAU,0BAA0B;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAQ,qBAAqB,kDAAyB,eAAe;;;
|
|
1
|
+
{"version":3,"file":"gestures.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/gestures/gestures.provider.tsx"],"names":[],"mappings":"AAUA,OAAO,EAGN,KAAK,kBAAkB,EAEvB,MAAM,SAAS,CAAC;AAEjB,UAAU,0BAA0B;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAQ,qBAAqB,kDAAyB,eAAe;;;CA0F1E,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ScreenGestureConfig } from "../types";
|
|
2
|
-
export declare function useScreenGestureConfig(): ScreenGestureConfig;
|
|
1
|
+
import type { GestureContextType, ScreenGestureConfig } from "../types";
|
|
2
|
+
export declare function useScreenGestureConfig(gestureContext: GestureContextType | null): ScreenGestureConfig;
|
|
3
3
|
//# sourceMappingURL=use-screen-gesture-config.d.ts.map
|
package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-screen-gesture-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/hooks/use-screen-gesture-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-screen-gesture-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/hooks/use-screen-gesture-config.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAExE,wBAAgB,sBAAsB,CACrC,cAAc,EAAE,kBAAkB,GAAG,IAAI,GACvC,mBAAmB,CAsBrB"}
|
package/lib/typescript/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gesture-ownership-bridge.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.tsx"],"names":[],"mappings":"AAoLA,oFAAoF;AACpF,wBAAgB,sBAAsB,mDAMrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/constants.ts"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAoCtD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAGrD,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/constants.ts"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAoCtD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAGrD,CAAC;AAWF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,YAIjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,YAG/C,CAAC"}
|
|
@@ -15,4 +15,11 @@ export declare const hasCloseTransitionFinished: ({ closing, animationProgress,
|
|
|
15
15
|
closing: number;
|
|
16
16
|
animationProgress: number;
|
|
17
17
|
}) => boolean;
|
|
18
|
+
export declare const isScreenInterpolatorReady: ({ hasInterpolator, opening, closing, pendingLifecycleStartBlockCount, animationProgress, }: {
|
|
19
|
+
hasInterpolator: boolean;
|
|
20
|
+
opening: boolean;
|
|
21
|
+
closing: number;
|
|
22
|
+
pendingLifecycleStartBlockCount: number;
|
|
23
|
+
animationProgress: number;
|
|
24
|
+
}) => boolean;
|
|
18
25
|
//# sourceMappingURL=transition-visual-state.d.ts.map
|
package/lib/typescript/shared/providers/screen/styles/helpers/transition-visual-state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transition-visual-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/helpers/transition-visual-state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,yDAGtC;IACF,+BAA+B,EAAE,MAAM,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YAGA,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,kEAIrC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,+BAA+B,EAAE,MAAM,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YASA,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,iCAGxC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YAGA,CAAC"}
|
|
1
|
+
{"version":3,"file":"transition-visual-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/helpers/transition-visual-state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,yDAGtC;IACF,+BAA+B,EAAE,MAAM,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YAGA,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,kEAIrC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,+BAA+B,EAAE,MAAM,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YASA,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,iCAGxC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YAGA,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,4FAMvC;IACF,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B,EAAE,MAAM,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YAYA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,GAAG,SAAS,iDAavD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,QAAQ,MAAM,GAAG,SAAS,EAC1B,OAAO,OAAO,iDAkBd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,GAAG,SAAS,iBAc/D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,GAAG,SAAS,iBAmC7D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,GAAG,SAAS,WAMtD,CAAC"}
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare const useInterpolatedStylesMap: ({ enabled, visibilityBlocked, }:
|
|
|
25
25
|
enabled: boolean;
|
|
26
26
|
visibilityBlocked: SharedValue<boolean>;
|
|
27
27
|
}) => {
|
|
28
|
+
interpolatorReady: import("react-native-reanimated").DerivedValue<number>;
|
|
28
29
|
localStylesMaps: import("react-native-reanimated").DerivedValue<LocalStyleLayers>;
|
|
29
|
-
nextInterpolatorReady: SharedValue<number>;
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=use-interpolated-style-maps.d.ts.map
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAIhB,MAAM,yBAAyB,CAAC;AA2BjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAIhB,MAAM,yBAAyB,CAAC;AA2BjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AA8EvE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,wBAAwB,GAAI,iCAGtC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC;;;CA0OA,CAAC"}
|
|
@@ -2,21 +2,21 @@ import { type ReactNode } from "react";
|
|
|
2
2
|
import { type SharedValue } from "react-native-reanimated";
|
|
3
3
|
import type { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../../../constants";
|
|
4
4
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../types/animation.types";
|
|
5
|
-
import type { LocalStyleLayers } from "./helpers/resolve-slot-styles";
|
|
6
5
|
type Props = {
|
|
7
6
|
children: ReactNode;
|
|
8
|
-
isFloatingOverlay?: boolean;
|
|
9
7
|
};
|
|
10
|
-
export type ScreenSlotName = "content" | "backdrop" | "surface" | typeof NAVIGATION_MASK_CONTAINER_STYLE_ID | typeof NAVIGATION_MASK_ELEMENT_STYLE_ID;
|
|
8
|
+
export type ScreenSlotName = "overlay" | "content" | "backdrop" | "surface" | typeof NAVIGATION_MASK_CONTAINER_STYLE_ID | typeof NAVIGATION_MASK_ELEMENT_STYLE_ID;
|
|
11
9
|
export type ScreenSlotContextValue = {
|
|
12
|
-
|
|
13
|
-
nextInterpolatorReady: SharedValue<number>;
|
|
10
|
+
interpolatorReady: SharedValue<number>;
|
|
14
11
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
15
12
|
visibilityBlocked: SharedValue<boolean>;
|
|
16
13
|
};
|
|
17
14
|
export declare const ScreenSlotProvider: import("react").FC<Props>, useScreenSlots: {
|
|
18
15
|
(): ScreenSlotContextValue;
|
|
19
16
|
<Selected>(selector: (value: ScreenSlotContextValue) => Selected): Selected;
|
|
17
|
+
} & {
|
|
18
|
+
(key: string): ScreenSlotContextValue | null;
|
|
19
|
+
<Selected>(key: string, selector: (value: ScreenSlotContextValue) => Selected): Selected | null;
|
|
20
20
|
};
|
|
21
21
|
export {};
|
|
22
22
|
//# sourceMappingURL=slot.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEhD,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAO5F,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;IAC7D,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAQ,kBAAkB,6BAAsB,cAAc;;;;;;CAgDlE,CAAC"}
|
package/lib/typescript/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { BaseStackRoute } from "../../../../types/stack.types";
|
|
2
|
+
export declare function resolvePresentedIndex(routes: BaseStackRoute[], focusedRouteKey: string | undefined, closingRouteKeys: ReadonlySet<string>): number;
|
|
3
|
+
//# sourceMappingURL=resolve-presented-index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-presented-index.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/stack/blank-stack-state/helpers/resolve-presented-index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpE,wBAAgB,qBAAqB,CACpC,MAAM,EAAE,cAAc,EAAE,EACxB,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,GACnC,MAAM,CAeR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blank-stack.provider.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/stack/blank-stack.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAKhD,OAAO,KAAK,EACX,uBAAuB,EACvB,oBAAoB,EACpB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EACX,mBAAmB,EACnB,mBAAmB,EAEnB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"blank-stack.provider.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/stack/blank-stack.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAKhD,OAAO,KAAK,EACX,uBAAuB,EACvB,oBAAoB,EACpB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EACX,mBAAmB,EACnB,mBAAmB,EAEnB,MAAM,yBAAyB,CAAC;AAMjC,KAAK,+BAA+B,GAAG,uBAAuB,CAC7D,mBAAmB,EACnB,mBAAmB,CACnB,GAAG;IACH,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAmBF,QAAA,MAAqD,kBAAkB;;;CAIrB,CAAC;AAEnD,iBAAS,kBAAkB,CAAC,EAC3B,KAAK,EAAE,UAAU,EACjB,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,+BAA+B,2CAwDjC;AAED,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -311,6 +311,14 @@ export type TransitionInterpolatedStyle = {
|
|
|
311
311
|
* This reserved key is stripped before style slot normalization.
|
|
312
312
|
*/
|
|
313
313
|
options?: TransitionInterpolatorOptions;
|
|
314
|
+
/**
|
|
315
|
+
* Animated style and props for the route-owned floating overlay.
|
|
316
|
+
*
|
|
317
|
+
* Visible overlays form their own adjacency chain. A route that returns this
|
|
318
|
+
* slot controls the previous visible overlay and, when it owns an overlay,
|
|
319
|
+
* its entering overlay.
|
|
320
|
+
*/
|
|
321
|
+
overlay?: TransitionSlotStyle;
|
|
314
322
|
/** Animated style and props for the main screen content view. */
|
|
315
323
|
content?: TransitionSlotStyle;
|
|
316
324
|
/** Animated style and props for the backdrop layer between screens. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/animation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EA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AkF;IAClF,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,wEAAwE;IACxE,CAAC,kCAAkC,CAAC,CAAC,EAAE,6BAA6B,CAAC;IACrE,sEAAsE;IACtE,CAAC,gCAAgC,CAAC,CAAC,EAAE,6BAA6B,CAAC;IACnE,gEAAgE;IAChE,CAAC,EAAE,EAAE,MAAM,GAAG,6BAA6B,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,iEAAiE;IACjE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,kFAAkF;IAClF,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,wEAAwE;IACxE,CAAC,kCAAkC,CAAC,CAAC,EAAE,mBAAmB,CAAC;IAC3D,sEAAsE;IACtE,CAAC,gCAAgC,CAAC,CAAC,EAAE,mBAAmB,CAAC;IACzD,gEAAgE;IAChE,CAAC,EAAE,EAAE,MAAM,GAAG,mBAAmB,GAAG,6BAA6B,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/animation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,O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6BAA6B,CAAC;IACxC,wEAAwE;IACxE,CAAC,kCAAkC,CAAC,CAAC,EAAE,6BAA6B,CAAC;IACrE,sEAAsE;IACtE,CAAC,gCAAgC,CAAC,CAAC,EAAE,6BAA6B,CAAC;IACnE,gEAAgE;IAChE,CAAC,EAAE,EAAE,MAAM,GAAG,6BAA6B,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,iEAAiE;IACjE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,kFAAkF;IAClF,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,wEAAwE;IACxE,CAAC,kCAAkC,CAAC,CAAC,EAAE,mBAAmB,CAAC;IAC3D,sEAAsE;IACtE,CAAC,gCAAgC,CAAC,CAAC,EAAE,mBAAmB,CAAC;IACzD,gEAAgE;IAChE,CAAC,EAAE,EAAE,MAAM,GAAG,mBAAmB,GAAG,6BAA6B,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC3B"}
|
|
@@ -2,7 +2,7 @@ export { FALSE, TRUE } from "../constants";
|
|
|
2
2
|
export type { AnimatedViewStyle, AnimationConfig, BoundaryTeleportControl, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionAccessor, ScreenTransitionDepthTarget, ScreenTransitionOptions, ScreenTransitionState, ScreenTransitionTarget, TransitionInterpolatedStyle, TransitionInterpolatorOptions, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "./animation.types";
|
|
3
3
|
export type { BoundsAccessor, BoundsMethod, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomAxisResponse, BoundsNavigationZoomDragOptions, BoundsNavigationZoomOpacityRange, BoundsNavigationZoomOpacityRanges, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, } from "./bounds.types";
|
|
4
4
|
export type { ActivationArea, GestureActivationArea, GestureDirection, GestureDirectionActivationArea, GestureDirectionConfig, GestureDirectionEntry, GestureDirectionOption, GestureHandoffValues, GestureValues, PanGestureDirection, PinchGestureDirection, RawGestureValues, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, SideActivation, } from "./gesture.types";
|
|
5
|
-
export type { OverlayProps } from "./overlay.types";
|
|
5
|
+
export type { OverlayComponent, OverlayProps } from "./overlay.types";
|
|
6
6
|
export type { GestureTracking, InactiveBehavior, Layout, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenKey, ScreenLayerComponentProps, ScreenTransitionConfig, TransitionAwareProps, } from "./screen.types";
|
|
7
7
|
export type { BaseStackDescriptor, BaseStackNavigation, BaseStackRoute, BaseStackScene, BaseStackState, DescriptorMap, StackDescriptorSource, StackSceneActivity, } from "./stack.types";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3C,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACX,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,+BAA+B,EAC/B,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACX,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC3C,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACX,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,+BAA+B,EAC/B,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACX,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACtE,YAAY,EACX,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,2BAA2B,EAC3B,SAAS,EACT,yBAAyB,EACzB,sBAAsB,EACtB,oBAAoB,GACpB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,kBAAkB,GAClB,MAAM,eAAe,CAAC"}
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ParamListBase, ParamListRoute, RouteProp } from "@react-navigation/native";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
2
3
|
import type { DerivedValue } from "react-native-reanimated";
|
|
3
4
|
import type { ScreenTransitionConfig } from "./screen.types";
|
|
4
5
|
/**
|
|
5
|
-
*
|
|
6
|
-
* Generic over the navigation type since different stacks have different navigation props.
|
|
6
|
+
* Overlay state without the animated progress value.
|
|
7
7
|
*/
|
|
8
|
+
export type OverlayScreenState<TNavigation = unknown, TParamList extends ParamListBase = ParamListBase, TOwnerRouteName extends keyof TParamList = keyof TParamList> = Omit<OverlayProps<TNavigation, TParamList, TOwnerRouteName>, "progress"> & {
|
|
9
|
+
snapTo: (index: number) => void;
|
|
10
|
+
};
|
|
8
11
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
12
|
+
* Props passed to a floating overlay component.
|
|
13
|
+
*
|
|
14
|
+
* `route` and `index` identify the screen that owns the overlay. Focused
|
|
15
|
+
* values may describe a later screen while that overlay remains visible.
|
|
11
16
|
*/
|
|
12
|
-
export type
|
|
17
|
+
export type OverlayProps<TNavigation = unknown, TParamList extends ParamListBase = ParamListBase, TOwnerRouteName extends keyof TParamList = keyof TParamList> = {
|
|
18
|
+
/** Route that declared this overlay. */
|
|
19
|
+
route: RouteProp<TParamList, TOwnerRouteName>;
|
|
20
|
+
/** Index of the route that declared this overlay. */
|
|
13
21
|
index: number;
|
|
14
|
-
snapTo: (index: number) => void;
|
|
15
|
-
};
|
|
16
|
-
export type OverlayProps<TNavigation = unknown> = {
|
|
17
22
|
/**
|
|
18
23
|
* Route of the currently focused screen in the stack.
|
|
19
24
|
*/
|
|
20
|
-
focusedRoute:
|
|
25
|
+
focusedRoute: ParamListRoute<TParamList>;
|
|
21
26
|
/**
|
|
22
27
|
* Index of the focused route in the stack.
|
|
23
28
|
*/
|
|
@@ -25,7 +30,7 @@ export type OverlayProps<TNavigation = unknown> = {
|
|
|
25
30
|
/**
|
|
26
31
|
* All routes currently in the stack.
|
|
27
32
|
*/
|
|
28
|
-
routes:
|
|
33
|
+
routes: ParamListRoute<TParamList>[];
|
|
29
34
|
/**
|
|
30
35
|
* Custom metadata from the focused screen's options.
|
|
31
36
|
*/
|
|
@@ -44,4 +49,14 @@ export type OverlayProps<TNavigation = unknown> = {
|
|
|
44
49
|
*/
|
|
45
50
|
progress: DerivedValue<number>;
|
|
46
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* Component rendered for a floating screen overlay.
|
|
54
|
+
*
|
|
55
|
+
* The callback is bivariant because React Navigation stores overlay components
|
|
56
|
+
* in navigator-wide screen options while applications annotate them for one
|
|
57
|
+
* specific route.
|
|
58
|
+
*/
|
|
59
|
+
export type OverlayComponent = {
|
|
60
|
+
bivarianceHack(props: OverlayProps): ReactNode;
|
|
61
|
+
}["bivarianceHack"];
|
|
47
62
|
//# sourceMappingURL=overlay.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/overlay.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"overlay.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/overlay.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,cAAc,EACd,SAAS,EACT,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,kBAAkB,CAC7B,WAAW,GAAG,OAAO,EACrB,UAAU,SAAS,aAAa,GAAG,aAAa,EAChD,eAAe,SAAS,MAAM,UAAU,GAAG,MAAM,UAAU,IACxD,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,UAAU,EAAE,eAAe,CAAC,EAAE,UAAU,CAAC,GAAG;IAC9E,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CACvB,WAAW,GAAG,OAAO,EACrB,UAAU,SAAS,aAAa,GAAG,aAAa,EAChD,eAAe,SAAS,MAAM,UAAU,GAAG,MAAM,UAAU,IACxD;IACH,wCAAwC;IACxC,KAAK,EAAE,SAAS,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;IAE9C,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAEzC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;IAErC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,UAAU,EAAE,WAAW,CAAC;IAExB;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAEhC;;;OAGG;IACH,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,cAAc,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,CAAC;CAC/C,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { ViewProps } from "react-native";
|
|
|
3
3
|
import type { AnimatedProps } from "react-native-reanimated";
|
|
4
4
|
import type { ScreenStyleInterpolator, TransitionSpec } from "./animation.types";
|
|
5
5
|
import type { GestureActivationArea, GestureDirectionOption, GestureProgressMode, ScrollMetadataState } from "./gesture.types";
|
|
6
|
-
import type {
|
|
6
|
+
import type { OverlayComponent } from "./overlay.types";
|
|
7
7
|
export type Layout = {
|
|
8
8
|
width: number;
|
|
9
9
|
height: number;
|
|
@@ -290,7 +290,7 @@ export type ScreenTransitionConfig = {
|
|
|
290
290
|
/**
|
|
291
291
|
* Function that returns a React Element to display as an overlay.
|
|
292
292
|
*/
|
|
293
|
-
overlay?:
|
|
293
|
+
overlay?: OverlayComponent;
|
|
294
294
|
/**
|
|
295
295
|
* Whether to show the overlay. The overlay is shown by default when `overlay` is provided.
|
|
296
296
|
* Setting this to `false` hides the overlay.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/screen.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACX,uBAAuB,EACvB,cAAc,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACX,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"screen.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/screen.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACX,uBAAuB,EACvB,cAAc,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACX,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,SAAS,G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kC,CAAC,EAAE,OAAO,CAAC;IAE7C;;;;;;;;;OASG;IACH,kCAAkC,CAAC,EAAE,OAAO,CAAC;IAE7C;;;;;;;;;;;;;;OAcG;IACH,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IAEzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;;;;;;;OAWG;IACH,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IAExD;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;;;;;OASG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAE1C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;CAC5C,CAAC"}
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
* - `children`: passed-through children keep their identity across
|
|
15
15
|
* provider-local renders. Factories that wrap children should use a
|
|
16
16
|
* module-level memoized component for the wrapper.
|
|
17
|
+
*
|
|
18
|
+
* Providers created with `global: true` return a `key` from their factory.
|
|
19
|
+
* Their generated store hook accepts that key to subscribe to the original
|
|
20
|
+
* provider store from outside its React context.
|
|
17
21
|
*/
|
|
18
22
|
import { type ReactNode } from "react";
|
|
19
23
|
type ProviderSnapshot<ContextValue, Guarded extends boolean> = Guarded extends true ? ContextValue : ContextValue | null;
|
|
@@ -22,6 +26,20 @@ type ProviderStoreHook<ContextValue, Guarded extends boolean> = {
|
|
|
22
26
|
(): ProviderSnapshot<ContextValue, Guarded>;
|
|
23
27
|
<Selected>(selector: ProviderSelector<ContextValue, Guarded, Selected>): Selected;
|
|
24
28
|
};
|
|
29
|
+
type GlobalProviderStoreHook<ContextValue> = {
|
|
30
|
+
(key: string): ContextValue | null;
|
|
31
|
+
<Selected>(key: string, selector: (value: ContextValue) => Selected): Selected | null;
|
|
32
|
+
};
|
|
33
|
+
type ResolvedProviderStoreHook<ContextValue, Guarded extends boolean, Global extends boolean> = ProviderStoreHook<ContextValue, Guarded> & (Global extends true ? GlobalProviderStoreHook<ContextValue> : unknown);
|
|
34
|
+
type ProviderFactoryResult<ContextValue, Global extends boolean> = {
|
|
35
|
+
value?: ContextValue;
|
|
36
|
+
enabled?: boolean;
|
|
37
|
+
children?: ReactNode;
|
|
38
|
+
} & (Global extends true ? {
|
|
39
|
+
key: string;
|
|
40
|
+
} : {
|
|
41
|
+
key?: never;
|
|
42
|
+
});
|
|
25
43
|
export type ProviderFactoryInternals<ContextValue> = {
|
|
26
44
|
useParentStore: ProviderStoreHook<ContextValue, false>;
|
|
27
45
|
};
|
|
@@ -29,12 +47,9 @@ export interface ProviderStoreApi<ContextValue> {
|
|
|
29
47
|
getSnapshot: () => ContextValue | null;
|
|
30
48
|
subscribe: (listener: () => void) => () => void;
|
|
31
49
|
}
|
|
32
|
-
export default function createProvider<ProviderName extends string, Guarded extends boolean = true>(name: ProviderName, options?: {
|
|
50
|
+
export default function createProvider<ProviderName extends string, Guarded extends boolean = true, Global extends boolean = false>(name: ProviderName, options?: {
|
|
33
51
|
guarded?: Guarded;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
enabled?: boolean;
|
|
37
|
-
children?: ReactNode;
|
|
38
|
-
}) => { [P in ProviderName as `${P}Provider`]: React.FC<ProviderProps>; } & { [P in ProviderName as `use${P}Store`]: ProviderStoreHook<ContextValue, Guarded>; };
|
|
52
|
+
global?: Global;
|
|
53
|
+
}): <ProviderProps extends object, ContextValue>(factory: (props: ProviderProps, internals: ProviderFactoryInternals<ContextValue>) => ProviderFactoryResult<ContextValue, Global>) => { [P in ProviderName as `${P}Provider`]: React.FC<ProviderProps>; } & { [P in ProviderName as `use${P}Store`]: ResolvedProviderStoreHook<ContextValue, Guarded, Global>; };
|
|
39
54
|
export {};
|
|
40
55
|
//# sourceMappingURL=create-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/utils/create-provider.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"create-provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/utils/create-provider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAEN,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AAEf,KAAK,gBAAgB,CACpB,YAAY,EACZ,OAAO,SAAS,OAAO,IACpB,OAAO,SAAS,IAAI,GAAG,YAAY,GAAG,YAAY,GAAG,IAAI,CAAC;AAE9D,KAAK,gBAAgB,CAAC,YAAY,EAAE,OAAO,SAAS,OAAO,EAAE,QAAQ,IAAI,CACxE,KAAK,EAAE,gBAAgB,CAAC,YAAY,EAAE,OAAO,CAAC,KAC1C,QAAQ,CAAC;AAEd,KAAK,iBAAiB,CAAC,YAAY,EAAE,OAAO,SAAS,OAAO,IAAI;IAC/D,IAAI,gBAAgB,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC,QAAQ,EACR,QAAQ,EAAE,gBAAgB,CAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,GACzD,QAAQ,CAAC;CACZ,CAAC;AAEF,KAAK,uBAAuB,CAAC,YAAY,IAAI;IAC5C,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAAC;IACnC,CAAC,QAAQ,EACR,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,QAAQ,GACzC,QAAQ,GAAG,IAAI,CAAC;CACnB,CAAC;AAEF,KAAK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M3C,GACH,CAAC,IAAI,YAAY,IAAI,GAAG,CAAC,UAAU,GAAG,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,GAC9D,GAAG,GACF,CAAC,IAAI,YAAY,IAAI,MAAM,CAAC,OAAO,GAAG,yBAAyB,CAC/D,YAAY,EACZ,OAAO,EACP,MAAM,CACN,GACD,CAEF"}
|
package/package.json
CHANGED
|
@@ -80,13 +80,10 @@ const StackViewContent = memo(function StackViewContent() {
|
|
|
80
80
|
const routeKeys = useBlankStackStore(
|
|
81
81
|
(store) => store?.routeKeys ?? EMPTY_ROUTE_KEYS,
|
|
82
82
|
);
|
|
83
|
-
const shouldShowFloatOverlay = useBlankStackStore(
|
|
84
|
-
(store) => store?.shouldShowFloatOverlay ?? false,
|
|
85
|
-
);
|
|
86
83
|
|
|
87
84
|
return (
|
|
88
85
|
<PortalProvider>
|
|
89
|
-
|
|
86
|
+
<Overlay.Float />
|
|
90
87
|
|
|
91
88
|
<ActivityContainer>
|
|
92
89
|
{routeKeys.map((routeKey) => (
|
package/src/blank-stack/types.ts
CHANGED
|
@@ -98,8 +98,14 @@ export interface BlankStackFactoryOptions {
|
|
|
98
98
|
* Props passed to overlay components in blank-stack.
|
|
99
99
|
* Uses the shared OverlayProps type with blank-stack's navigation type.
|
|
100
100
|
*/
|
|
101
|
-
export type BlankStackOverlayProps
|
|
102
|
-
|
|
101
|
+
export type BlankStackOverlayProps<
|
|
102
|
+
ParamList extends ParamListBase = ParamListBase,
|
|
103
|
+
RouteName extends keyof ParamList = keyof ParamList,
|
|
104
|
+
NavigatorID extends string | undefined = undefined,
|
|
105
|
+
> = OverlayProps<
|
|
106
|
+
BlankStackNavigationProp<ParamList, RouteName, NavigatorID>,
|
|
107
|
+
ParamList,
|
|
108
|
+
RouteName
|
|
103
109
|
>;
|
|
104
110
|
|
|
105
111
|
export type BlankStackNavigationOptions = ScreenTransitionConfig & {
|