react-native-screen-transitions 3.4.0-alpha.0 → 3.4.0-alpha.1
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/README.md +65 -2
- package/lib/commonjs/shared/animation/snap-to.js +5 -1
- package/lib/commonjs/shared/animation/snap-to.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js +5 -10
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js +2 -2
- package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/index.js +1 -3
- package/lib/commonjs/shared/components/overlay/index.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +2 -16
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/commonjs/shared/components/scene-view.js +2 -4
- package/lib/commonjs/shared/components/scene-view.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +9 -6
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +47 -55
- package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +77 -0
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js +17 -4
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +1 -1
- package/lib/commonjs/shared/constants.js +6 -2
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js +49 -0
- package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js.map +1 -0
- package/lib/commonjs/shared/hooks/gestures/types.js +2 -0
- package/lib/commonjs/shared/hooks/gestures/types.js.map +1 -0
- package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js +7 -3
- package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js.map +1 -1
- package/lib/commonjs/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/commonjs/shared/index.js +15 -3
- package/lib/commonjs/shared/index.js.map +1 -1
- package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js +55 -18
- package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-snap-points.js +44 -0
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-snap-points.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +31 -17
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js +1 -9
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +11 -6
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +33 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/types.js +2 -0
- package/lib/commonjs/shared/providers/screen/animation/types.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +9 -3
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/direct.provider.js +1 -1
- package/lib/commonjs/shared/providers/stack/direct.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-processed-routes.js +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-processed-routes.js.map +1 -1
- package/lib/commonjs/shared/stores/animation.store.js +8 -2
- package/lib/commonjs/shared/stores/animation.store.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +7 -0
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js +6 -0
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js +24 -9
- package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/geometry.js +3 -2
- package/lib/commonjs/shared/utils/bounds/helpers/geometry.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/interpolators.js +3 -2
- package/lib/commonjs/shared/utils/bounds/helpers/interpolators.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/link-accessor.js +2 -2
- package/lib/commonjs/shared/utils/bounds/helpers/link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bound-tag.js +6 -5
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bound-tag.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js +4 -3
- package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/index.js +3 -3
- package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/zoom/accessor.js +54 -0
- package/lib/commonjs/shared/utils/bounds/zoom/accessor.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/build.js +541 -0
- package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/config.js +118 -0
- package/lib/commonjs/shared/utils/bounds/zoom/config.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/index.js +20 -0
- package/lib/commonjs/shared/utils/bounds/zoom/index.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/zoom/types.js.map +1 -0
- package/lib/commonjs/shared/utils/gesture/validate-snap-points.js +11 -5
- package/lib/commonjs/shared/utils/gesture/validate-snap-points.js.map +1 -1
- package/lib/commonjs/shared/utils/overlay/visibility.js +2 -9
- package/lib/commonjs/shared/utils/overlay/visibility.js.map +1 -1
- package/lib/module/shared/animation/snap-to.js +5 -1
- package/lib/module/shared/animation/snap-to.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js +5 -10
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
- package/lib/module/shared/components/overlay/helpers/get-active-overlay.js +3 -3
- package/lib/module/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/module/shared/components/overlay/index.js +1 -3
- package/lib/module/shared/components/overlay/index.js.map +1 -1
- package/lib/module/shared/components/overlay/variations/overlay-host.js +3 -17
- package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/module/shared/components/scene-view.js +3 -5
- package/lib/module/shared/components/scene-view.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +9 -6
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +52 -60
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +72 -0
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js +17 -4
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +1 -1
- package/lib/module/shared/constants.js +6 -2
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js +45 -0
- package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js.map +1 -0
- package/lib/module/shared/hooks/gestures/types.js +2 -0
- package/lib/module/shared/hooks/gestures/types.js.map +1 -0
- package/lib/module/shared/hooks/gestures/use-screen-gesture.js +7 -4
- package/lib/module/shared/hooks/gestures/use-screen-gesture.js.map +1 -1
- package/lib/module/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/module/shared/index.js +1 -2
- package/lib/module/shared/index.js.map +1 -1
- package/lib/module/shared/providers/gestures/handlers/use-handlers.js +55 -18
- package/lib/module/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-snap-points.js +38 -0
- package/lib/module/shared/providers/gestures/helpers/gesture-snap-points.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/animation.provider.js +30 -15
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js +1 -9
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +11 -6
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +29 -0
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/index.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/types.js +2 -0
- package/lib/module/shared/providers/screen/animation/types.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js +9 -3
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/shared/providers/stack/direct.provider.js +2 -2
- package/lib/module/shared/providers/stack/direct.provider.js.map +1 -1
- package/lib/module/shared/providers/stack/helpers/use-processed-routes.js +2 -2
- package/lib/module/shared/providers/stack/helpers/use-processed-routes.js.map +1 -1
- package/lib/module/shared/stores/animation.store.js +8 -2
- package/lib/module/shared/stores/animation.store.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +7 -0
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/utils/animation/animate-to-progress.js +6 -0
- package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js +24 -9
- package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/geometry.js +3 -2
- package/lib/module/shared/utils/bounds/helpers/geometry.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/interpolators.js +3 -2
- package/lib/module/shared/utils/bounds/helpers/interpolators.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/link-accessor.js +2 -2
- package/lib/module/shared/utils/bounds/helpers/link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/resolve-bound-tag.js +6 -5
- package/lib/module/shared/utils/bounds/helpers/resolve-bound-tag.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/style-composers.js +4 -3
- package/lib/module/shared/utils/bounds/helpers/style-composers.js.map +1 -1
- package/lib/module/shared/utils/bounds/index.js +3 -3
- package/lib/module/shared/utils/bounds/index.js.map +1 -1
- package/lib/module/shared/utils/bounds/zoom/accessor.js +49 -0
- package/lib/module/shared/utils/bounds/zoom/accessor.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/build.js +536 -0
- package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/config.js +112 -0
- package/lib/module/shared/utils/bounds/zoom/config.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/index.js +5 -0
- package/lib/module/shared/utils/bounds/zoom/index.js.map +1 -0
- package/lib/module/shared/utils/bounds/zoom/types.js.map +1 -0
- package/lib/module/shared/utils/gesture/validate-snap-points.js +11 -5
- package/lib/module/shared/utils/gesture/validate-snap-points.js.map +1 -1
- package/lib/module/shared/utils/overlay/visibility.js +1 -7
- package/lib/module/shared/utils/overlay/visibility.js.map +1 -1
- package/lib/typescript/shared/animation/snap-to.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts +1 -1
- package/lib/typescript/shared/components/overlay/index.d.ts +0 -2
- package/lib/typescript/shared/components/overlay/index.d.ts.map +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.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts +7 -0
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts +3 -0
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts +10 -0
- package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts.map +1 -0
- package/lib/typescript/shared/hooks/gestures/types.d.ts +4 -0
- package/lib/typescript/shared/hooks/gestures/types.d.ts.map +1 -0
- package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts +4 -2
- package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +1 -2
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +16 -17
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts.map +1 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-snap-points.d.ts +18 -0
- package/lib/typescript/shared/providers/gestures/helpers/gesture-snap-points.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +6 -3
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts +0 -2
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/index.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/types.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/animation/types.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts +5 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/direct.provider.d.ts.map +1 -1
- package/lib/typescript/shared/stores/animation.store.d.ts +4 -0
- package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +2 -0
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +26 -51
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +46 -9
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +3 -3
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/types/overlay.types.d.ts +1 -22
- package/lib/typescript/shared/types/overlay.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +16 -15
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts +2 -2
- package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/compute-bounds-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts +3 -2
- package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/interpolators.d.ts +3 -2
- package/lib/typescript/shared/utils/bounds/helpers/interpolators.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/link-accessor.d.ts +3 -2
- package/lib/typescript/shared/utils/bounds/helpers/link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts +2 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts +4 -3
- package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +5 -4
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/accessor.d.ts +17 -0
- package/lib/typescript/shared/utils/bounds/zoom/accessor.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts +4 -0
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/config.d.ts +43 -0
- package/lib/typescript/shared/utils/bounds/zoom/config.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/index.d.ts +3 -0
- package/lib/typescript/shared/utils/bounds/zoom/index.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts +17 -0
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts.map +1 -0
- package/lib/typescript/shared/utils/gesture/validate-snap-points.d.ts +5 -3
- package/lib/typescript/shared/utils/gesture/validate-snap-points.d.ts.map +1 -1
- package/lib/typescript/shared/utils/overlay/visibility.d.ts +1 -4
- package/lib/typescript/shared/utils/overlay/visibility.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/shared/animation/snap-to.ts +12 -1
- package/src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts +2 -14
- package/src/shared/components/overlay/helpers/get-active-overlay.ts +3 -3
- package/src/shared/components/overlay/index.ts +0 -2
- package/src/shared/components/overlay/variations/overlay-host.tsx +2 -16
- package/src/shared/components/scene-view.tsx +0 -3
- package/src/shared/components/screen-container/layers/backdrop.tsx +25 -6
- package/src/shared/components/screen-container/layers/content.tsx +80 -77
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +93 -0
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/index.ts +1 -2
- package/src/shared/components/screen-lifecycle/hooks/use-open-transition.ts +20 -6
- package/src/shared/constants.ts +6 -2
- package/src/shared/hooks/gestures/resolve-screen-gesture-target.ts +66 -0
- package/src/shared/hooks/gestures/types.ts +5 -0
- package/src/shared/hooks/gestures/use-screen-gesture.ts +10 -3
- package/src/shared/hooks/navigation/use-stack.tsx +1 -2
- package/src/shared/index.ts +14 -16
- package/src/shared/providers/gestures/handlers/use-handlers.ts +67 -24
- package/src/shared/providers/gestures/helpers/gesture-snap-points.ts +72 -0
- package/src/shared/providers/screen/animation/animation.provider.tsx +46 -10
- package/src/shared/providers/screen/animation/helpers/derivations.ts +0 -8
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +26 -5
- package/src/shared/providers/screen/animation/helpers/resolve-screen-animation-target.ts +44 -0
- package/src/shared/providers/screen/animation/index.tsx +4 -1
- package/src/shared/providers/screen/animation/types.ts +5 -0
- package/src/shared/providers/screen/animation/use-screen-animation.tsx +16 -3
- package/src/shared/providers/stack/direct.provider.tsx +2 -5
- package/src/shared/providers/stack/helpers/use-processed-routes.ts +2 -2
- package/src/shared/stores/animation.store.ts +13 -1
- package/src/shared/stores/bounds/internals/resolver.ts +13 -1
- package/src/shared/stores/bounds/types.ts +2 -0
- package/src/shared/types/animation.types.ts +25 -58
- package/src/shared/types/bounds.types.ts +30 -10
- package/src/shared/types/index.ts +2 -15
- package/src/shared/types/overlay.types.ts +1 -28
- package/src/shared/types/screen.types.ts +17 -16
- package/src/shared/utils/animation/animate-to-progress.ts +7 -0
- package/src/shared/utils/bounds/helpers/build-bounds-options.ts +2 -2
- package/src/shared/utils/bounds/helpers/compute-bounds-styles.ts +34 -8
- package/src/shared/utils/bounds/helpers/geometry.ts +3 -2
- package/src/shared/utils/bounds/helpers/interpolators.ts +8 -6
- package/src/shared/utils/bounds/helpers/link-accessor.ts +10 -6
- package/src/shared/utils/bounds/helpers/resolve-bound-tag.ts +9 -6
- package/src/shared/utils/bounds/helpers/style-composers.ts +4 -3
- package/src/shared/utils/bounds/index.ts +6 -8
- package/src/shared/utils/bounds/types/options.ts +6 -4
- package/src/shared/utils/bounds/zoom/accessor.ts +69 -0
- package/src/shared/utils/bounds/zoom/build.ts +705 -0
- package/src/shared/utils/bounds/zoom/config.ts +179 -0
- package/src/shared/utils/bounds/zoom/index.ts +2 -0
- package/src/shared/utils/bounds/zoom/types.ts +22 -0
- package/src/shared/utils/gesture/validate-snap-points.ts +20 -8
- package/src/shared/utils/overlay/visibility.ts +1 -16
- package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js +0 -64
- package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/helpers/math.js +0 -132
- package/lib/commonjs/shared/utils/bounds/helpers/math.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/helpers/navigation-accessor.js +0 -45
- package/lib/commonjs/shared/utils/bounds/helpers/navigation-accessor.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/helpers.js +0 -60
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/helpers.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/index.js +0 -20
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/index.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/types.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/zoom.js +0 -295
- package/lib/commonjs/shared/utils/bounds/sugar/navigation/zoom.js.map +0 -1
- package/lib/module/shared/components/overlay/variations/screen-overlay.js +0 -61
- package/lib/module/shared/components/overlay/variations/screen-overlay.js.map +0 -1
- package/lib/module/shared/utils/bounds/helpers/math.js +0 -115
- package/lib/module/shared/utils/bounds/helpers/math.js.map +0 -1
- package/lib/module/shared/utils/bounds/helpers/navigation-accessor.js +0 -40
- package/lib/module/shared/utils/bounds/helpers/navigation-accessor.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/helpers.js +0 -54
- package/lib/module/shared/utils/bounds/sugar/navigation/helpers.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/index.js +0 -15
- package/lib/module/shared/utils/bounds/sugar/navigation/index.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/types.js.map +0 -1
- package/lib/module/shared/utils/bounds/sugar/navigation/zoom.js +0 -290
- package/lib/module/shared/utils/bounds/sugar/navigation/zoom.js.map +0 -1
- package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts +0 -10
- package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/helpers/math.d.ts +0 -38
- package/lib/typescript/shared/utils/bounds/helpers/math.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/helpers/navigation-accessor.d.ts +0 -16
- package/lib/typescript/shared/utils/bounds/helpers/navigation-accessor.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/helpers.d.ts +0 -17
- package/lib/typescript/shared/utils/bounds/sugar/navigation/helpers.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/index.d.ts +0 -3
- package/lib/typescript/shared/utils/bounds/sugar/navigation/index.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/types.d.ts +0 -18
- package/lib/typescript/shared/utils/bounds/sugar/navigation/types.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/sugar/navigation/zoom.d.ts +0 -4
- package/lib/typescript/shared/utils/bounds/sugar/navigation/zoom.d.ts.map +0 -1
- package/src/shared/components/overlay/variations/screen-overlay.tsx +0 -68
- package/src/shared/utils/bounds/helpers/math.ts +0 -161
- package/src/shared/utils/bounds/helpers/navigation-accessor.ts +0 -61
- package/src/shared/utils/bounds/sugar/navigation/helpers.ts +0 -74
- package/src/shared/utils/bounds/sugar/navigation/index.ts +0 -14
- package/src/shared/utils/bounds/sugar/navigation/types.ts +0 -26
- package/src/shared/utils/bounds/sugar/navigation/zoom.ts +0 -348
- /package/lib/commonjs/shared/utils/bounds/{sugar/navigation → zoom}/types.js +0 -0
- /package/lib/module/shared/utils/bounds/{sugar/navigation → zoom}/types.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BoundStore","DEFAULT_DRAG_RESISTANCE","DEFAULT_DRAG_DIRECTIONAL_SCALE_MIN","DEFAULT_DRAG_DIRECTIONAL_SCALE_MAX","DEFAULT_MASK_BORDER_RADIUS","ZERO_OUTSET","Object","freeze","top","right","bottom","left","toNumber","value","fallback","isFiniteNumber","Number","isFinite","normalizeOutset","normalizeZoomOptions","zoomOptions","resolvedMaskRadius","mask","borderRadius","maskBorderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderCurve","outset","motion","dragResistance","dragDirectionalScaleMin","dragDirectionalScaleMax","resolveZoomConfig","id","group","currentRouteKey","resolveTag","defaultAnchor","resolvedTag","boundaryConfig","getBoundaryConfig","effectiveConfig","scopedLink","getActiveLink","link","source","screenKey","sharedOptions","anchor","scaleMode","explicitTarget","target","resolvedZoomOptions"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/config.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createZoomAccessor","buildZoomStyles"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/index.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAC/C,SAASC,eAAe,QAAQ,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Filters snap points to only valid, finite values.
|
|
4
|
+
* Filters snap points to only valid, finite numeric values.
|
|
5
5
|
* Excludes zero (dismiss) when canDismiss is false.
|
|
6
6
|
*/
|
|
7
7
|
export function sanitizeSnapPoints(snapPoints, canDismiss) {
|
|
8
8
|
"worklet";
|
|
9
9
|
|
|
10
|
-
return snapPoints.filter(point => canDismiss ? Number.isFinite(point) : Number.isFinite(point) && point > 0);
|
|
10
|
+
return snapPoints.filter(point => typeof point === "number" && (canDismiss ? Number.isFinite(point) : Number.isFinite(point) && point > 0));
|
|
11
11
|
}
|
|
12
12
|
export const validateSnapPoints = ({
|
|
13
13
|
snapPoints,
|
|
@@ -16,15 +16,20 @@ export const validateSnapPoints = ({
|
|
|
16
16
|
if (!snapPoints || snapPoints.length === 0) {
|
|
17
17
|
return {
|
|
18
18
|
hasSnapPoints: false,
|
|
19
|
+
hasAutoSnapPoint: false,
|
|
19
20
|
snapPoints: [],
|
|
20
21
|
minSnapPoint: -1,
|
|
21
22
|
maxSnapPoint: -1
|
|
22
23
|
};
|
|
23
24
|
}
|
|
25
|
+
const hasAuto = snapPoints.includes("auto");
|
|
24
26
|
const normalizedSnaps = sanitizeSnapPoints(snapPoints, canDismiss ?? false);
|
|
25
|
-
|
|
27
|
+
|
|
28
|
+
// hasSnapPoints is true if there are valid numeric points OR an 'auto' point
|
|
29
|
+
if (normalizedSnaps.length === 0 && !hasAuto) {
|
|
26
30
|
return {
|
|
27
31
|
hasSnapPoints: false,
|
|
32
|
+
hasAutoSnapPoint: false,
|
|
28
33
|
snapPoints: [],
|
|
29
34
|
minSnapPoint: -1,
|
|
30
35
|
maxSnapPoint: -1
|
|
@@ -32,10 +37,11 @@ export const validateSnapPoints = ({
|
|
|
32
37
|
}
|
|
33
38
|
const sortedSnaps = normalizedSnaps.slice().sort((a, b) => a - b);
|
|
34
39
|
// Clamp to snap point bounds (dismiss at 0 only if allowed)
|
|
35
|
-
const minProgress = canDismiss ? 0 : sortedSnaps[0];
|
|
36
|
-
const maxProgress = sortedSnaps[sortedSnaps.length - 1];
|
|
40
|
+
const minProgress = canDismiss ? 0 : sortedSnaps[0] ?? -1;
|
|
41
|
+
const maxProgress = sortedSnaps[sortedSnaps.length - 1] ?? -1;
|
|
37
42
|
return {
|
|
38
43
|
hasSnapPoints: true,
|
|
44
|
+
hasAutoSnapPoint: hasAuto,
|
|
39
45
|
snapPoints: sortedSnaps,
|
|
40
46
|
minSnapPoint: minProgress,
|
|
41
47
|
maxSnapPoint: maxProgress
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["sanitizeSnapPoints","snapPoints","canDismiss","filter","point","Number","isFinite","validateSnapPoints","length","hasSnapPoints","minSnapPoint","maxSnapPoint","normalizedSnaps","sortedSnaps","slice","sort","a","b","minProgress","maxProgress"],"sourceRoot":"../../../../../src","sources":["shared/utils/gesture/validate-snap-points.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["sanitizeSnapPoints","snapPoints","canDismiss","filter","point","Number","isFinite","validateSnapPoints","length","hasSnapPoints","hasAutoSnapPoint","minSnapPoint","maxSnapPoint","hasAuto","includes","normalizedSnaps","sortedSnaps","slice","sort","a","b","minProgress","maxProgress"],"sourceRoot":"../../../../../src","sources":["shared/utils/gesture/validate-snap-points.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASA,kBAAkBA,CACjCC,UAAuB,EACvBC,UAAmB,EACR;EACX,SAAS;;EACT,OAAOD,UAAU,CAACE,MAAM,CACtBC,KAAK,IACL,OAAOA,KAAK,KAAK,QAAQ,KACxBF,UAAU,GACRG,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,GACtBC,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,IAAIA,KAAK,GAAG,CAAC,CACxC,CAAC;AACF;AAeA,OAAO,MAAMG,kBAAkB,GAAGA,CAAC;EAClCN,UAAU;EACVC;AAC0B,CAAC,KAAgC;EAC3D,IAAI,CAACD,UAAU,IAAIA,UAAU,CAACO,MAAM,KAAK,CAAC,EAAE;IAC3C,OAAO;MACNC,aAAa,EAAE,KAAK;MACpBC,gBAAgB,EAAE,KAAK;MACvBT,UAAU,EAAE,EAAE;MACdU,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAMC,OAAO,GAAGZ,UAAU,CAACa,QAAQ,CAAC,MAAM,CAAC;EAC3C,MAAMC,eAAe,GAAGf,kBAAkB,CAACC,UAAU,EAAEC,UAAU,IAAI,KAAK,CAAC;;EAE3E;EACA,IAAIa,eAAe,CAACP,MAAM,KAAK,CAAC,IAAI,CAACK,OAAO,EAAE;IAC7C,OAAO;MACNJ,aAAa,EAAE,KAAK;MACpBC,gBAAgB,EAAE,KAAK;MACvBT,UAAU,EAAE,EAAE;MACdU,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAMI,WAAW,GAAGD,eAAe,CAACE,KAAK,CAAC,CAAC,CAACC,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAAC;EACjE;EACA,MAAMC,WAAW,GAAGnB,UAAU,GAAG,CAAC,GAAIc,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAE;EAC3D,MAAMM,WAAW,GAAGN,WAAW,CAACA,WAAW,CAACR,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;EAE7D,OAAO;IACNC,aAAa,EAAE,IAAI;IACnBC,gBAAgB,EAAEG,OAAO;IACzBZ,UAAU,EAAEe,WAAW;IACvBL,YAAY,EAAEU,WAAW;IACzBT,YAAY,EAAEU;EACf,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const isOverlayVisible = options => {
|
|
3
|
+
export const isOverlayVisible = options => {
|
|
4
4
|
return Boolean(options?.overlay) && options?.overlayShown !== false;
|
|
5
5
|
};
|
|
6
|
-
export const isFloatOverlayVisible = options => {
|
|
7
|
-
return isOverlayVisible(options) && options?.overlayMode !== "screen";
|
|
8
|
-
};
|
|
9
|
-
export const isScreenOverlayVisible = options => {
|
|
10
|
-
return isOverlayVisible(options) && options?.overlayMode === "screen";
|
|
11
|
-
};
|
|
12
6
|
//# sourceMappingURL=visibility.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["isOverlayVisible","options","Boolean","overlay","overlayShown"
|
|
1
|
+
{"version":3,"names":["isOverlayVisible","options","Boolean","overlay","overlayShown"],"sourceRoot":"../../../../../src","sources":["shared/utils/overlay/visibility.ts"],"mappings":";;AAKA,OAAO,MAAMA,gBAAgB,GAAIC,OAA4B,IAAc;EAC1E,OAAOC,OAAO,CAACD,OAAO,EAAEE,OAAO,CAAC,IAAIF,OAAO,EAAEG,YAAY,KAAK,KAAK;AACpE,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snap-to.d.ts","sourceRoot":"","sources":["../../../../src/shared/animation/snap-to.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"snap-to.d.ts","sourceRoot":"","sources":["../../../../src/shared/animation/snap-to.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAwB5D,wBAAgB,qBAAqB,CACpC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,EACtC,KAAK,EAAE,MAAM,GACX,OAAO,CA8BT;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAS1C"}
|
|
@@ -4,6 +4,5 @@ type BuildBoundaryMatchKeyParams = {
|
|
|
4
4
|
id: BoundaryId;
|
|
5
5
|
};
|
|
6
6
|
export declare function buildBoundaryMatchKey(params: BuildBoundaryMatchKeyParams): string;
|
|
7
|
-
export declare function buildBoundaryMatchKey(group: string | undefined, id: BoundaryId): string;
|
|
8
7
|
export {};
|
|
9
8
|
//# sourceMappingURL=build-boundary-match-key.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-boundary-match-key.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,KAAK,2BAA2B,GAAG;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,UAAU,CAAC;CACf,CAAC;AAEF,wBAAgB,qBAAqB,CACpC,MAAM,EAAE,2BAA2B,GACjC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"build-boundary-match-key.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,KAAK,2BAA2B,GAAG;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,UAAU,CAAC;CACf,CAAC;AAEF,wBAAgB,qBAAqB,CACpC,MAAM,EAAE,2BAA2B,GACjC,MAAM,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { StackScene } from "../../../hooks/navigation/use-stack";
|
|
|
2
2
|
/**
|
|
3
3
|
* Find the active float overlay from scenes.
|
|
4
4
|
* Scans from the top of the stack downward to find the first screen
|
|
5
|
-
* with a visible overlay
|
|
5
|
+
* with a visible overlay.
|
|
6
6
|
*/
|
|
7
7
|
export declare function getActiveFloatOverlay(scenes: StackScene[], index: number, transitionsAlwaysOn: boolean): {
|
|
8
8
|
scene: StackScene;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/overlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/overlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"
|
|
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,wDAsCtB,CAAC"}
|
|
@@ -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;
|
|
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,4CAYpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,aAAa,8CA+GxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/content.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/content.tsx"],"names":[],"mappings":"AA2BA,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,YAAY,qDAAuB,KAAK,6CAkGnD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
};
|
|
5
|
+
export declare const MaybeMaskedNavigationContainer: import("react").MemoExoticComponent<({ enabled, children }: Props) => 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
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=maybe-masked-navigation-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maybe-masked-navigation-container.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx"],"names":[],"mappings":"AAWA,KAAK,KAAK,GAAG;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAYF,eAAO,MAAM,8BAA8B,8DAClB,KAAK,6WAqD7B,CAAC"}
|
package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACN,KAAK,cAAc,EAEnB,MAAM,0CAA0C,CAAC;AAGlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AA2H5E;;GAEG;AACH,wBAAgB,kBAAkB,CACjC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,MAAM,IAAI,EACpB,UAAU,EAAE,MAAM,IAAI,QA4BtB"}
|
package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-open-transition.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-lifecycle/hooks/use-open-transition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-open-transition.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-lifecycle/hooks/use-open-transition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AA4BzE;;;GAGG;AACH,wBAAgB,iBAAiB,CAChC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,iBAAiB,EAC7B,UAAU,EAAE,OAAO;;;EAyCnB"}
|
|
@@ -8,6 +8,9 @@ import type { BaseStackRoute } from "./types/stack.types";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const MASK_STYLE_ID = "_ROOT_MASKED";
|
|
10
10
|
export declare const CONTAINER_STYLE_ID = "_ROOT_CONTAINER";
|
|
11
|
+
/**
|
|
12
|
+
* Navigation mask integration
|
|
13
|
+
*/
|
|
11
14
|
export declare const NAVIGATION_MASK_HOST_FLAG_STYLE_ID = "_NAVIGATION_MASK_HOST";
|
|
12
15
|
export declare const NAVIGATION_MASK_STYLE_ID = "_NAVIGATION_ROOT_MASK";
|
|
13
16
|
export declare const NAVIGATION_CONTAINER_STYLE_ID = "_NAVIGATION_ROOT_CONTAINER";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/shared/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAC5C,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/shared/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAC5C,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,kCAAkC,0BAA0B,CAAC;AAC1E,eAAO,MAAM,wBAAwB,0BAA0B,CAAC;AAChE,eAAO,MAAM,6BAA6B,+BAA+B,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,SAAS,cAAoB,CAAC;AAC3C,eAAO,MAAM,QAAQ,cAAoB,CAAC;AAqB1C;;GAEG;AACH,eAAO,MAAM,2BAA2B,GACvC,OAAO,cAAc,EACrB,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,qBASD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,qBAS3C,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,yBAAyB,cAAoB,CAAC;AAC3D,eAAO,MAAM,6BAA6B;;;;;;;;EAQxC,CAAC;AACH,eAAO,MAAM,WAAW,iBAAkB,CAAC;AAC3C,eAAO,MAAM,UAAU,iBAAkB,CAAC;AAE1C,eAAO,MAAM,qBAAqB,GACjC,YAAY,MAAM,KAChB,kBAUF,CAAC;AAEF,eAAO,MAAM,+BAA+B,MAAM,CAAC;AACnD,eAAO,MAAM,oCAAoC,MAAM,CAAC;AACxD,eAAO,MAAM,oCAAoC,MAAM,CAAC;AACxD,eAAO,MAAM,sCAAsC,IAAI,CAAC;AACxD,eAAO,MAAM,yBAAyB,eAAe,CAAC;AACtD,eAAO,MAAM,+BAA+B,OAAO,CAAC;AACpD,eAAO,MAAM,2BAA2B,QAAQ,CAAC;AACjD,eAAO,MAAM,+BAA+B,EAAE,cAAyB,CAAC;AAExE,eAAO,MAAM,MAAM,SAAwB,CAAC;AAE5C,eAAO,MAAM,IAAI,IAAI,CAAC;AACtB,eAAO,MAAM,KAAK,IAAI,CAAC;AAEvB;;GAEG;AACH,eAAO,MAAM,OAAO,UAAO,CAAC;AAE5B;;;GAGG;AACH,eAAO,MAAM,wBAAwB,OAAO,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { GestureContextType } from "../../providers/gestures";
|
|
2
|
+
import type { ScreenGestureTarget } from "./types";
|
|
3
|
+
type ScreenGestureRef = GestureContextType["panGestureRef"] | null;
|
|
4
|
+
type Params = {
|
|
5
|
+
target: ScreenGestureTarget | undefined;
|
|
6
|
+
self: GestureContextType | null | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare function resolveScreenGestureTarget({ target, self, }: Params): ScreenGestureRef;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=resolve-screen-gesture-target.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-screen-gesture-target.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/resolve-screen-gesture-target.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,KAAK,gBAAgB,GAAG,kBAAkB,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;AAEnE,KAAK,MAAM,GAAG;IACb,MAAM,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACxC,IAAI,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5C,CAAC;AAyBF,wBAAgB,0BAA0B,CAAC,EAC1C,MAAM,EACN,IAAI,GACJ,EAAE,MAAM,GAAG,gBAAgB,CA6B3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAC5B,MAAM,GACN,QAAQ,GACR,MAAM,GACN;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { ScreenGestureTarget } from "./types";
|
|
2
|
+
export type { ScreenGestureTarget } from "./types";
|
|
1
3
|
/**
|
|
2
|
-
* Returns a ref to
|
|
4
|
+
* Returns a ref to a screen navigation pan gesture.
|
|
3
5
|
* Use this to coordinate child gestures with the navigation gesture.
|
|
4
6
|
*
|
|
5
7
|
* @example
|
|
@@ -11,5 +13,5 @@
|
|
|
11
13
|
* .onUpdate(...);
|
|
12
14
|
* ```
|
|
13
15
|
*/
|
|
14
|
-
export declare const useScreenGesture: () => import("react").MutableRefObject<import("react-native-gesture-handler").GestureType | undefined> | null;
|
|
16
|
+
export declare const useScreenGesture: (target?: ScreenGestureTarget) => import("react").MutableRefObject<import("react-native-gesture-handler").GestureType | undefined> | null;
|
|
15
17
|
//# sourceMappingURL=use-screen-gesture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-screen-gesture.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/use-screen-gesture.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"use-screen-gesture.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/gestures/use-screen-gesture.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,GAAI,SAAS,mBAAmB,4GAM5D,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { Route } from "@react-navigation/native";
|
|
2
2
|
import type { DerivedValue } from "react-native-reanimated";
|
|
3
3
|
import type { StackCoreContextValue } from "../../providers/stack/core.provider";
|
|
4
|
-
import type {
|
|
4
|
+
import type { OverlayProps } from "../../types/overlay.types";
|
|
5
5
|
import type { BaseStackDescriptor, BaseStackNavigation, BaseStackRoute, BaseStackScene } from "../../types/stack.types";
|
|
6
6
|
export interface StackDescriptor<TRoute extends BaseStackRoute = Route<string>, TNavigation extends BaseStackNavigation = BaseStackNavigation> extends BaseStackDescriptor<TRoute, TNavigation> {
|
|
7
7
|
options: BaseStackDescriptor["options"] & {
|
|
8
8
|
overlay?: (props: OverlayProps) => React.ReactNode;
|
|
9
|
-
overlayMode?: OverlayMode;
|
|
10
9
|
overlayShown?: boolean;
|
|
11
10
|
meta?: Record<string, unknown>;
|
|
12
11
|
enableTransitions?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-stack.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"use-stack.d.ts","sourceRoot":"","sources":["../../../../../src/shared/hooks/navigation/use-stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,eAAe,CAC/B,MAAM,SAAS,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC,EAC7C,WAAW,SAAS,mBAAmB,GAAG,mBAAmB,CAC5D,SAAQ,mBAAmB,CAAC,MAAM,EAAE,WAAW,CAAC;IACjD,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,GAAG;QACzC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,CAAC,SAAS,CAAC;QACnD,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;CACF;AAED,MAAM,MAAM,UAAU,CAAC,WAAW,SAAS,eAAe,GAAG,eAAe,IAC3E,cAAc,CAAC,WAAW,CAAC,CAAC;AAE7B,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACpC,sBAAsB,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,YAAY,mDAAgD,CAAC;AAG1E,wBAAgB,QAAQ,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,KAAK,CAAC,CAQ7E"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ScrollView, View } from "react-native";
|
|
2
2
|
import { createBoundaryComponent } from "./components/create-boundary-component";
|
|
3
|
-
import { buildBoundaryMatchKey } from "./components/create-boundary-component/utils/build-boundary-match-key";
|
|
4
3
|
import { createTransitionAwareComponent } from "./components/create-transition-aware-component";
|
|
5
4
|
import MaskedView from "./components/integrations/masked-view";
|
|
6
5
|
declare const _default: {
|
|
@@ -13,7 +12,7 @@ declare const _default: {
|
|
|
13
12
|
};
|
|
14
13
|
View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
15
14
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
16
|
-
pointerEvents?: "
|
|
15
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
17
16
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
18
17
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
19
18
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -116,7 +115,7 @@ declare const _default: {
|
|
|
116
115
|
} & {
|
|
117
116
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
118
117
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
119
|
-
pointerEvents?: "
|
|
118
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
120
119
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
121
120
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
122
121
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -224,7 +223,7 @@ declare const _default: {
|
|
|
224
223
|
} & import("react").RefAttributes<never>>>;
|
|
225
224
|
Pressable: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
226
225
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
227
|
-
pointerEvents?: "
|
|
226
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
228
227
|
key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
|
|
229
228
|
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)>;
|
|
230
229
|
ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
|
|
@@ -345,7 +344,7 @@ declare const _default: {
|
|
|
345
344
|
} & {
|
|
346
345
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
347
346
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
348
|
-
pointerEvents?: "
|
|
347
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
349
348
|
key?: import("react").Key | import("react-native-reanimated").SharedValue<import("react").Key | null | undefined> | null | undefined;
|
|
350
349
|
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)>;
|
|
351
350
|
ref?: import("react").Ref<View> | import("react-native-reanimated").SharedValue<import("react").Ref<View> | undefined> | undefined;
|
|
@@ -472,7 +471,7 @@ declare const _default: {
|
|
|
472
471
|
ScrollView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
473
472
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
474
473
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
475
|
-
pointerEvents?: "
|
|
474
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
476
475
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
477
476
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
478
477
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -638,7 +637,7 @@ declare const _default: {
|
|
|
638
637
|
} & {
|
|
639
638
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
640
639
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
641
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
640
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"black" | "default" | "white" | undefined>>;
|
|
642
641
|
} & {
|
|
643
642
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
644
643
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -647,7 +646,7 @@ declare const _default: {
|
|
|
647
646
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
648
647
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
649
648
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
650
|
-
pointerEvents?: "
|
|
649
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
651
650
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
652
651
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
653
652
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -813,7 +812,7 @@ declare const _default: {
|
|
|
813
812
|
} & {
|
|
814
813
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
815
814
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
816
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
815
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"black" | "default" | "white" | undefined>>;
|
|
817
816
|
} & {
|
|
818
817
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
819
818
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -827,7 +826,7 @@ declare const _default: {
|
|
|
827
826
|
FlatList: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
828
827
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
829
828
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
830
|
-
pointerEvents?: "
|
|
829
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
831
830
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
832
831
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
833
832
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -1057,7 +1056,7 @@ declare const _default: {
|
|
|
1057
1056
|
} & {
|
|
1058
1057
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1059
1058
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1060
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
1059
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"black" | "default" | "white" | undefined>>;
|
|
1061
1060
|
columnWrapperStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1062
1061
|
ListFooterComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1063
1062
|
ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
@@ -1069,7 +1068,7 @@ declare const _default: {
|
|
|
1069
1068
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
1070
1069
|
horizontal?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
1071
1070
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
1072
|
-
pointerEvents?: "
|
|
1071
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
1073
1072
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
1074
1073
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
1075
1074
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -1299,7 +1298,7 @@ declare const _default: {
|
|
|
1299
1298
|
} & {
|
|
1300
1299
|
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1301
1300
|
contentContainerStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1302
|
-
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"
|
|
1301
|
+
indicatorStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<"black" | "default" | "white" | undefined>>;
|
|
1303
1302
|
columnWrapperStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1304
1303
|
ListFooterComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
1305
1304
|
ListHeaderComponentStyle?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
@@ -1340,10 +1339,10 @@ declare const _default: {
|
|
|
1340
1339
|
};
|
|
1341
1340
|
export default _default;
|
|
1342
1341
|
export { snapTo } from "./animation/snap-to";
|
|
1343
|
-
export {
|
|
1342
|
+
export { NAVIGATION_CONTAINER_STYLE_ID, NAVIGATION_MASK_HOST_FLAG_STYLE_ID, NAVIGATION_MASK_STYLE_ID, } from "./constants";
|
|
1343
|
+
export { type ScreenGestureTarget, useScreenGesture, } from "./hooks/gestures/use-screen-gesture";
|
|
1344
1344
|
export { useHistory } from "./hooks/navigation/use-history";
|
|
1345
1345
|
export { type ScreenState, useScreenState, } from "./hooks/navigation/use-screen-state";
|
|
1346
|
-
export { useScreenAnimation } from "./providers/screen/animation";
|
|
1347
|
-
export {
|
|
1348
|
-
export type { AnimatedViewStyle, AnimationConfig, BoundEntry, BoundsLink, BoundsNavigationAccessor, BoundsNavigationOptions, BoundsNavigationPreset, BoundsStyleOptions, LegacyTransitionInterpolatedStyle, NewTransitionInterpolatedStyle, NormalizedTransitionInterpolatedStyle, NormalizedTransitionSlotStyle, OverlayInterpolationProps, OverlayMode, OverlayProps, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionConfig, TransitionInterpolatedStyle, TransitionSlotExplicit, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1346
|
+
export { type ScreenAnimationTarget, useScreenAnimation, } from "./providers/screen/animation";
|
|
1347
|
+
export type { AnimatedViewStyle, AnimationConfig, BoundsNavigationAccessor, BoundsNavigationZoomOptions, OverlayProps, ScreenInterpolationProps, ScreenStyleInterpolator, ScreenTransitionConfig, TransitionInterpolatedStyle, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1349
1348
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAEN,uBAAuB,EACvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-handlers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/gestures/handlers/use-handlers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,6BAA6B,EAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mFAAmF,CAAC;AACjI,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAmB3E,OAAO,KAAK,EACX,iBAAiB,EAEjB,kBAAkB,EAClB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"use-handlers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/gestures/handlers/use-handlers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,6BAA6B,EAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mFAAmF,CAAC;AACjI,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAmB3E,OAAO,KAAK,EACX,iBAAiB,EAEjB,kBAAkB,EAClB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AA8B7F,OAAO,KAAK,EACX,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,EACZ,MAAM,UAAU,CAAC;AAElB,UAAU,6BAA6B;IACtC,YAAY,EAAE,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAC/C,oBAAoB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAClD,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,kBAAkB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,eAAe,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,oBAAoB,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACrD,mBAAmB,EAAE,yBAAyB,CAAC;CAC/C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,eAAO,MAAM,WAAW,GAAI,gIAQzB,6BAA6B;;;;;;CAgc/B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface ResolveRuntimeSnapPointsProps {
|
|
2
|
+
snapPoints: number[];
|
|
3
|
+
hasAutoSnapPoint: boolean;
|
|
4
|
+
autoSnapPoint: number;
|
|
5
|
+
minSnapPoint: number;
|
|
6
|
+
maxSnapPoint: number;
|
|
7
|
+
canDismiss: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface ResolvedRuntimeSnapPointsResult {
|
|
10
|
+
resolvedAutoSnapPoint: number | null;
|
|
11
|
+
resolvedSnapPoints: number[];
|
|
12
|
+
resolvedMinSnapPoint: number;
|
|
13
|
+
resolvedMaxSnapPoint: number;
|
|
14
|
+
}
|
|
15
|
+
export declare const resolveRuntimeSnapPoints: ({ snapPoints, hasAutoSnapPoint, autoSnapPoint, minSnapPoint, maxSnapPoint, canDismiss, }: ResolveRuntimeSnapPointsProps) => ResolvedRuntimeSnapPointsResult;
|
|
16
|
+
export declare const findNearestSnapPoint: (progress: number, snapPoints: number[]) => number;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=gesture-snap-points.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gesture-snap-points.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/gestures/helpers/gesture-snap-points.ts"],"names":[],"mappings":"AAAA,UAAU,6BAA6B;IACtC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,+BAA+B;IACxC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,wBAAwB,GAAI,0FAOtC,6BAA6B,KAAG,+BA0BlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAChC,UAAU,MAAM,EAChB,YAAY,MAAM,EAAE,KAClB,MAiBF,CAAC"}
|
|
@@ -5,9 +5,12 @@ import { useScreenAnimationPipeline } from "./helpers/pipeline";
|
|
|
5
5
|
type Props = {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
};
|
|
8
|
-
type ScreenAnimationContextValue = ReturnType<typeof useScreenAnimationPipeline> & {
|
|
8
|
+
export type ScreenAnimationContextValue = ReturnType<typeof useScreenAnimationPipeline> & {
|
|
9
9
|
screenAnimation: DerivedValue<ScreenInterpolationProps>;
|
|
10
|
+
ancestorScreenAnimations: DerivedValue<ScreenInterpolationProps>[];
|
|
10
11
|
};
|
|
11
|
-
declare const
|
|
12
|
-
|
|
12
|
+
declare const ScreenAnimationContext: import("react").Context<ScreenAnimationContextValue | null>;
|
|
13
|
+
declare function ScreenAnimationProvider({ children }: Props): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function useScreenAnimationContext(): ScreenAnimationContextValue;
|
|
15
|
+
export { ScreenAnimationContext, ScreenAnimationProvider, useScreenAnimationContext, };
|
|
13
16
|
//# 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,
|
|
1
|
+
{"version":3,"file":"animation.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/animation.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CACnD,OAAO,0BAA0B,CACjC,GAAG;IACH,eAAe,EAAE,YAAY,CAAC,wBAAwB,CAAC,CAAC;IACxD,wBAAwB,EAAE,YAAY,CAAC,wBAAwB,CAAC,EAAE,CAAC;CACnE,CAAC;AAEF,QAAA,MAAM,sBAAsB,6DAC4B,CAAC;AAGzD,iBAAS,uBAAuB,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,2CAsDnD;AAED,iBAAS,yBAAyB,IAAI,2BAA2B,CAUhE;AAED,OAAO,EACN,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,GACzB,CAAC"}
|
|
@@ -12,8 +12,6 @@ export declare const derivations: ({ previous, current, next }: DerivationsParam
|
|
|
12
12
|
focused: boolean;
|
|
13
13
|
active: ScreenTransitionState;
|
|
14
14
|
inactive: ScreenTransitionState | undefined;
|
|
15
|
-
isActiveTransitioning: boolean;
|
|
16
|
-
isDismissing: boolean;
|
|
17
15
|
};
|
|
18
16
|
export {};
|
|
19
17
|
//# sourceMappingURL=derivations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derivations.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/derivations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE/E,UAAU,iBAAiB;IAC1B,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,6BAA6B,iBAAiB
|
|
1
|
+
{"version":3,"file":"derivations.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/derivations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE/E,UAAU,iBAAiB;IAC1B,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,6BAA6B,iBAAiB;;;;;CAqBzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/pipeline.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,YAAY,EAIjB,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EACX,wBAAwB,EACxB,uBAAuB,EAEvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAoBrE,MAAM,WAAW,uBAAuB;IACvC,uBAAuB,EAAE,YAAY,CACpC,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CACxC,CAAC;IACF,gBAAgB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACtD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACzD,cAAc,EAAE,cAAc,CAAC;CAC/B;AAuGD,wBAAgB,0BAA0B,IAAI,uBAAuB,
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/pipeline.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,YAAY,EAIjB,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EACX,wBAAwB,EACxB,uBAAuB,EAEvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAoBrE,MAAM,WAAW,uBAAuB;IACvC,uBAAuB,EAAE,YAAY,CACpC,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CACxC,CAAC;IACF,gBAAgB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACtD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACzD,cAAc,EAAE,cAAc,CAAC;CAC/B;AAuGD,wBAAgB,0BAA0B,IAAI,uBAAuB,CAwIpE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DerivedValue } from "react-native-reanimated";
|
|
2
|
+
import type { ScreenInterpolationProps } from "../../../../types/animation.types";
|
|
3
|
+
import type { ScreenAnimationTarget } from "../types";
|
|
4
|
+
type Params = {
|
|
5
|
+
target: ScreenAnimationTarget | undefined;
|
|
6
|
+
self: DerivedValue<ScreenInterpolationProps>;
|
|
7
|
+
ancestors: DerivedValue<ScreenInterpolationProps>[];
|
|
8
|
+
};
|
|
9
|
+
export declare function resolveScreenAnimationTarget({ target, self, ancestors, }: Params): DerivedValue<ScreenInterpolationProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=resolve-screen-animation-target.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-screen-animation-target.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/resolve-screen-animation-target.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,KAAK,MAAM,GAAG;IACb,MAAM,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,YAAY,CAAC,wBAAwB,CAAC,CAAC;IAC7C,SAAS,EAAE,YAAY,CAAC,wBAAwB,CAAC,EAAE,CAAC;CACpD,CAAC;AAQF,wBAAgB,4BAA4B,CAAC,EAC5C,MAAM,EACN,IAAI,EACJ,SAAS,GACT,EAAE,MAAM,GAAG,YAAY,CAAC,wBAAwB,CAAC,CAuBjD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { ScreenAnimationProvider, useScreenAnimationContext, } from "./animation.provider";
|
|
2
|
-
export { useScreenAnimation } from "./use-screen-animation";
|
|
2
|
+
export { type ScreenAnimationTarget, useScreenAnimation, } from "./use-screen-animation";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,uBAAuB,EACvB,yBAAyB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,uBAAuB,EACvB,yBAAyB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,KAAK,qBAAqB,EAC1B,kBAAkB,GAClB,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/animation/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAC9B,MAAM,GACN,QAAQ,GACR,MAAM,GACN;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC"}
|