react-native-screen-transitions 3.6.0-alpha.0 → 3.6.0-alpha.2
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/component-stack/components/component-screen.js +1 -7
- package/lib/commonjs/component-stack/components/component-screen.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +35 -45
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js +5 -15
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +20 -11
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +27 -7
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +23 -57
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +33 -40
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js +3 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js +75 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.js → utils/measured-bounds.js} +15 -2
- package/lib/commonjs/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js +103 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js +52 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-transition-aware-component.js +2 -2
- package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/shared/components/native-screen.js +2 -13
- package/lib/commonjs/shared/components/native-screen.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/helpers/find-collapse-target.js +17 -12
- package/lib/commonjs/shared/components/screen-container/helpers/find-collapse-target.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js +1 -1
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +8 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +18 -10
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js +16 -5
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +2 -12
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +1 -7
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -1
- package/lib/commonjs/shared/configs/presets.js +3 -3
- package/lib/commonjs/shared/configs/presets.js.map +1 -1
- package/lib/commonjs/shared/constants.js +11 -6
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +35 -0
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -0
- package/lib/commonjs/shared/providers/register-bounds.provider.js +50 -65
- package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +86 -11
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +23 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +98 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/build-screen-transition-options.js +8 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js +79 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +90 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/settle.js +29 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/settle.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/snap-points.js +96 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/snap-points.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/types.js +6 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/types.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +20 -22
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/selected-interpolator-options.js +51 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/selected-interpolator-options.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +2 -3
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +55 -25
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js +2 -5
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +2 -12
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js +5 -5
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js +4 -5
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js +3 -3
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +6 -84
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture.js +2 -5
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-stable-runtime-config.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/compute-claimed-directions.js +37 -36
- package/lib/commonjs/shared/providers/screen/gestures/ownership/compute-claimed-directions.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/resolve-ownership.js +13 -0
- package/lib/commonjs/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js +69 -56
- package/lib/commonjs/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/{builders/use-build-pan-gesture.js → pan/build-pan-gesture.js} +4 -4
- package/lib/commonjs/shared/providers/screen/gestures/pan/build-pan-gesture.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation-decision.js +210 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation-decision.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{helpers/gesture-activation.js → pan/pan-activation-rules.js} +131 -121
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation-rules.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation.js +94 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{helpers/pan-phases.js → pan/pan-lifecycle.js} +40 -32
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-release.js +212 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-release.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-reset.js +54 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-reset.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js +53 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{builders/use-build-pinch-gesture.js → pinch/build-pinch-gesture.js} +4 -4
- package/lib/commonjs/shared/providers/screen/gestures/pinch/build-pinch-gesture.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{activation/use-pinch-activation.js → pinch/pinch-activation.js} +6 -6
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-activation.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{helpers/pinch-phases.js → pinch/pinch-lifecycle.js} +13 -7
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-lifecycle.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-release.js +133 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-release.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-reset.js +45 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-reset.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/use-pinch-behavior.js +53 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/index.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/update-scroll-gesture-state.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/use-scroll-gesture-coordination.js +4 -4
- package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/walk-up-scroll-gesture-coordination.js +20 -9
- package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{helpers/walk-gesture-ancestors.js → shared/ancestors.js} +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/ancestors.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{helpers/gesture-directions.js → shared/directions.js} +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/directions.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/{helpers/gesture-physics.js → shared/physics.js} +92 -68
- package/lib/commonjs/shared/providers/screen/gestures/shared/physics.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js +227 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/release.js +36 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/release.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/reset.js +65 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/reset.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/runtime.js +43 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/runtime.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/snap-points.js +184 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/snap-points.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/targets.js +122 -0
- package/lib/commonjs/shared/providers/screen/gestures/shared/targets.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/types.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/types.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/options/helpers.js +69 -19
- package/lib/commonjs/shared/providers/screen/options/helpers.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/preserve-animated-props-only.js +26 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/preserve-animated-props-only.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +112 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-gate.js +45 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-gate.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +32 -15
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +34 -13
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +9 -3
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -1
- package/lib/commonjs/shared/stores/animation.store.js +3 -7
- package/lib/commonjs/shared/stores/animation.store.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +125 -0
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/index.js +7 -15
- package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/clear.js +13 -42
- package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/entries.js +49 -9
- package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +143 -88
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +17 -43
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js +26 -3
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/stores/gesture.store.js +2 -0
- package/lib/commonjs/shared/stores/gesture.store.js.map +1 -1
- package/lib/commonjs/shared/stores/system.store.js +3 -0
- package/lib/commonjs/shared/stores/system.store.js.map +1 -1
- package/lib/commonjs/shared/types/gesture.types.js +2 -2
- package/lib/commonjs/shared/types/gesture.types.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js +19 -18
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +2 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +6 -5
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +21 -8
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js +23 -0
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/math.js +1 -15
- package/lib/commonjs/shared/utils/bounds/navigation/math.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +140 -133
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js +21 -17
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js +155 -14
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +80 -18
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/config.js +2 -2
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/config.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/math.js +4 -5
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/math.js.map +1 -1
- package/lib/commonjs/shared/utils/gesture-progress-mode.js +50 -0
- package/lib/commonjs/shared/utils/gesture-progress-mode.js.map +1 -0
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js +20 -19
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/commonjs/shared/utils/resolve-chain-target.js +9 -16
- package/lib/commonjs/shared/utils/resolve-chain-target.js.map +1 -1
- package/lib/commonjs/shared/utils/resolve-screen-transition-options.js +3 -3
- package/lib/commonjs/shared/utils/resolve-screen-transition-options.js.map +1 -1
- package/lib/module/component-stack/components/component-screen.js +2 -8
- package/lib/module/component-stack/components/component-screen.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +35 -45
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +5 -15
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +21 -12
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +28 -8
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +22 -56
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +33 -40
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/index.js +3 -1
- package/lib/module/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js +70 -0
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.js → utils/measured-bounds.js} +13 -1
- package/lib/module/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js +98 -0
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js +47 -0
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js.map +1 -0
- package/lib/module/shared/components/create-transition-aware-component.js +1 -1
- package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/shared/components/native-screen.js +3 -14
- package/lib/module/shared/components/native-screen.js.map +1 -1
- package/lib/module/shared/components/screen-container/helpers/find-collapse-target.js +16 -11
- package/lib/module/shared/components/screen-container/helpers/find-collapse-target.js.map +1 -1
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js +1 -1
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +8 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +18 -10
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/surface-container.js +16 -5
- package/lib/module/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +3 -13
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +1 -7
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -1
- package/lib/module/shared/configs/presets.js +3 -3
- package/lib/module/shared/configs/presets.js.map +1 -1
- package/lib/module/shared/constants.js +10 -5
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +30 -0
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -0
- package/lib/module/shared/providers/register-bounds.provider.js +50 -65
- package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js +87 -12
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +18 -0
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +92 -0
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/build-screen-transition-options.js +8 -1
- package/lib/module/shared/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js +74 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +85 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/settle.js +22 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/settle.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/snap-points.js +89 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/snap-points.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/types.js +4 -0
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/types.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +20 -22
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/selected-interpolator-options.js +46 -0
- package/lib/module/shared/providers/screen/animation/helpers/selected-interpolator-options.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +2 -3
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js +56 -25
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js +2 -5
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +2 -12
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js +4 -4
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js +4 -5
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +6 -84
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture.js +1 -4
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-stable-runtime-config.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/ownership/compute-claimed-directions.js +36 -36
- package/lib/module/shared/providers/screen/gestures/ownership/compute-claimed-directions.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/ownership/resolve-ownership.js +12 -0
- package/lib/module/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js +69 -56
- package/lib/module/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/{builders/use-build-pan-gesture.js → pan/build-pan-gesture.js} +3 -3
- package/lib/module/shared/providers/screen/gestures/pan/build-pan-gesture.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation-decision.js +205 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation-decision.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{helpers/gesture-activation.js → pan/pan-activation-rules.js} +129 -119
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation-rules.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation.js +89 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{helpers/pan-phases.js → pan/pan-lifecycle.js} +36 -28
- package/lib/module/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-release.js +204 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-release.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-reset.js +49 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-reset.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{behaviors → pan}/use-pan-behavior.js +11 -22
- package/lib/module/shared/providers/screen/gestures/pan/use-pan-behavior.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{builders/use-build-pinch-gesture.js → pinch/build-pinch-gesture.js} +3 -3
- package/lib/module/shared/providers/screen/gestures/pinch/build-pinch-gesture.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{activation/use-pinch-activation.js → pinch/pinch-activation.js} +5 -5
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-activation.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{helpers/pinch-phases.js → pinch/pinch-lifecycle.js} +10 -4
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-lifecycle.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-release.js +126 -0
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-release.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-reset.js +40 -0
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-reset.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{behaviors → pinch}/use-pinch-behavior.js +11 -22
- package/lib/module/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/scroll-coordination/index.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/scroll-coordination/update-scroll-gesture-state.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/use-scroll-gesture-coordination.js +4 -4
- package/lib/module/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/walk-up-scroll-gesture-coordination.js +20 -9
- package/lib/module/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{helpers/walk-gesture-ancestors.js → shared/ancestors.js} +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/ancestors.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{helpers/gesture-directions.js → shared/directions.js} +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/directions.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/{helpers/gesture-physics.js → shared/physics.js} +88 -63
- package/lib/module/shared/providers/screen/gestures/shared/physics.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/shared/policy.js +218 -0
- package/lib/module/shared/providers/screen/gestures/shared/policy.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/shared/release.js +30 -0
- package/lib/module/shared/providers/screen/gestures/shared/release.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/shared/reset.js +58 -0
- package/lib/module/shared/providers/screen/gestures/shared/reset.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/shared/runtime.js +37 -0
- package/lib/module/shared/providers/screen/gestures/shared/runtime.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/shared/snap-points.js +174 -0
- package/lib/module/shared/providers/screen/gestures/shared/snap-points.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/shared/targets.js +116 -0
- package/lib/module/shared/providers/screen/gestures/shared/targets.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/types.js +1 -1
- package/lib/module/shared/providers/screen/gestures/types.js.map +1 -1
- package/lib/module/shared/providers/screen/options/helpers.js +70 -20
- package/lib/module/shared/providers/screen/options/helpers.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/preserve-animated-props-only.js +21 -0
- package/lib/module/shared/providers/screen/styles/helpers/preserve-animated-props-only.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +110 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/visibility-gate.js +39 -0
- package/lib/module/shared/providers/screen/styles/helpers/visibility-gate.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +32 -15
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +35 -14
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +10 -4
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -1
- package/lib/module/shared/stores/animation.store.js +3 -7
- package/lib/module/shared/stores/animation.store.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +105 -0
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -0
- package/lib/module/shared/stores/bounds/index.js +9 -17
- package/lib/module/shared/stores/bounds/index.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/clear.js +15 -42
- package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/entries.js +49 -9
- package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +139 -86
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +17 -43
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/state.js +25 -2
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/stores/gesture.store.js +2 -0
- package/lib/module/shared/stores/gesture.store.js.map +1 -1
- package/lib/module/shared/stores/system.store.js +3 -0
- package/lib/module/shared/stores/system.store.js.map +1 -1
- package/lib/module/shared/types/animation.types.js +0 -4
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/types/gesture.types.js +0 -1
- package/lib/module/shared/types/gesture.types.js.map +1 -1
- package/lib/module/shared/utils/animation/animate-to-progress.js +19 -18
- package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +2 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +6 -5
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +21 -8
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js +18 -0
- package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/math.js +2 -16
- package/lib/module/shared/utils/bounds/navigation/math.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js +141 -134
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js +20 -16
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js +144 -12
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js +81 -19
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/config.js +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/config.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/math.js +4 -5
- package/lib/module/shared/utils/bounds/navigation/zoom/math.js.map +1 -1
- package/lib/module/shared/utils/gesture-progress-mode.js +42 -0
- package/lib/module/shared/utils/gesture-progress-mode.js.map +1 -0
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js +20 -19
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/module/shared/utils/resolve-chain-target.js +9 -16
- package/lib/module/shared/utils/resolve-chain-target.js.map +1 -1
- package/lib/module/shared/utils/resolve-screen-transition-options.js +1 -1
- package/lib/module/shared/utils/resolve-screen-transition-options.js.map +1 -1
- package/lib/typescript/component-stack/components/component-screen.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts +1 -0
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts +1 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts +6 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts +6 -2
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts +5 -7
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts +7 -7
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +11 -7
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts +10 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.d.ts → utils/measured-bounds.d.ts} +3 -2
- package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts +22 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts +16 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/native-screen.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/helpers/find-collapse-target.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/maybe-masked-navigation-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/surface-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.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/constants.d.ts +9 -6
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +2 -2
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +21 -0
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -0
- package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +4 -1
- 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-bounds-accessor.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts +6 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/build-screen-transition-options.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/settle.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/settle.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/snap-points.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/snap-points.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/{hydrate-transition-state.d.ts → hydrate-transition-state/types.d.ts} +15 -16
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts +3 -3
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/selected-interpolator-options.d.ts +9 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/selected-interpolator-options.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts +2 -3
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/types.d.ts +19 -4
- package/lib/typescript/shared/providers/screen/animation/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts +9 -3
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +1 -6
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.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-gesture-builder-state.d.ts +2 -2
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-gesture-builder-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-stable-runtime-config.d.ts +3 -5
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-stable-runtime-config.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/ownership/compute-claimed-directions.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/ownership/resolve-ownership.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/resolve-ownership.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/{builders/use-build-pan-gesture.d.ts → pan/build-pan-gesture.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/build-pan-gesture.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-activation-decision.d.ts +29 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-activation-decision.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{helpers/gesture-activation.d.ts → pan/pan-activation-rules.d.ts} +12 -11
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-activation-rules.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{activation/use-pan-activation.d.ts → pan/pan-activation.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-activation.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{helpers/pan-phases.d.ts → pan/pan-lifecycle.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-lifecycle.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-release.d.ts +6 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-release.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-reset.d.ts +18 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-reset.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/use-pan-behavior.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{builders/use-build-pinch-gesture.d.ts → pinch/build-pinch-gesture.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/build-pinch-gesture.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{activation/use-pinch-activation.d.ts → pinch/pinch-activation.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-activation.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{helpers/pinch-phases.d.ts → pinch/pinch-lifecycle.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-lifecycle.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-release.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-release.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-reset.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-reset.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pinch/use-pinch-behavior.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/update-scroll-gesture-state.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/update-scroll-gesture-state.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/use-scroll-gesture-coordination.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/walk-up-scroll-gesture-coordination.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{helpers/walk-gesture-ancestors.d.ts → shared/ancestors.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/ancestors.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{helpers/gesture-directions.d.ts → shared/directions.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/directions.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{helpers/gesture-physics.d.ts → shared/physics.d.ts} +11 -10
- package/lib/typescript/shared/providers/screen/gestures/shared/physics.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts +39 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/release.d.ts +13 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/release.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/reset.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/reset.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/runtime.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/runtime.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/snap-points.d.ts +37 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/snap-points.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/{helpers/gesture-targets.d.ts → shared/targets.d.ts} +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/targets.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts +32 -29
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/options/helpers.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/options/types.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/options/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/preserve-animated-props-only.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/preserve-animated-props-only.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/visibility-gate.d.ts +17 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/visibility-gate.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +4 -4
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.d.ts.map +1 -1
- package/lib/typescript/shared/stores/animation.store.d.ts +1 -3
- package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +18 -0
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/index.d.ts +7 -15
- package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/clear.d.ts +2 -4
- package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts +13 -10
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts +26 -5
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +16 -18
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/gesture.store.d.ts +1 -0
- package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/system.store.d.ts +4 -0
- package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +11 -5
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/gesture.types.d.ts +9 -1
- package/lib/typescript/shared/types/gesture.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/screen.types.d.ts +8 -1
- 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/create-bounds-accessor-core.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts +2 -2
- package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +2 -3
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +3 -3
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts +4 -0
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/math.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts +20 -16
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts +48 -7
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/config.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/config.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/math.d.ts +2 -3
- package/lib/typescript/shared/utils/bounds/navigation/zoom/math.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +2 -3
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/gesture-progress-mode.d.ts +14 -0
- package/lib/typescript/shared/utils/gesture-progress-mode.d.ts.map +1 -0
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts +3 -2
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts.map +1 -1
- package/lib/typescript/shared/utils/resolve-chain-target.d.ts +2 -2
- package/lib/typescript/shared/utils/resolve-chain-target.d.ts.map +1 -1
- package/lib/typescript/shared/utils/resolve-screen-transition-options.d.ts +0 -1
- package/lib/typescript/shared/utils/resolve-screen-transition-options.d.ts.map +1 -1
- package/package.json +5 -2
- package/src/component-stack/components/component-screen.tsx +3 -11
- package/src/shared/components/create-boundary-component/create-boundary-component.tsx +38 -40
- package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +5 -30
- package/src/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts +29 -19
- package/src/shared/components/create-boundary-component/hooks/use-initial-source-measurement.ts +41 -11
- package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +49 -76
- package/src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts +45 -84
- package/src/shared/components/create-boundary-component/index.tsx +3 -1
- package/src/shared/components/create-boundary-component/types.ts +13 -11
- package/src/shared/components/create-boundary-component/utils/destination-signals.ts +129 -0
- package/src/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.ts → utils/measured-bounds.ts} +25 -1
- package/src/shared/components/create-boundary-component/utils/refresh-signals.ts +164 -0
- package/src/shared/components/create-boundary-component/utils/source-signals.ts +72 -0
- package/src/shared/components/create-transition-aware-component.tsx +1 -1
- package/src/shared/components/native-screen.tsx +3 -12
- package/src/shared/components/screen-container/helpers/find-collapse-target.ts +18 -7
- package/src/shared/components/screen-container/hooks/use-content-layout.ts +1 -1
- package/src/shared/components/screen-container/layers/backdrop.tsx +11 -5
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +30 -15
- package/src/shared/components/screen-container/layers/surface-container.tsx +35 -15
- package/src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts +3 -23
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +1 -4
- package/src/shared/components/screen-lifecycle/hooks/use-open-transition-intent.ts +1 -1
- package/src/shared/configs/presets.ts +3 -3
- package/src/shared/constants.ts +15 -6
- package/src/shared/providers/helpers/measured-bounds-writes.ts +67 -0
- package/src/shared/providers/register-bounds.provider.tsx +77 -101
- package/src/shared/providers/screen/animation/animation.provider.tsx +169 -17
- package/src/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.tsx +13 -0
- package/src/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts +144 -0
- package/src/shared/providers/screen/animation/helpers/build-screen-transition-options.ts +17 -1
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.ts +164 -0
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts +159 -0
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/settle.ts +41 -0
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/snap-points.ts +188 -0
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/types.ts +40 -0
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +40 -24
- package/src/shared/providers/screen/animation/helpers/selected-interpolator-options.ts +99 -0
- package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +7 -6
- package/src/shared/providers/screen/animation/types.ts +34 -4
- package/src/shared/providers/screen/animation/use-screen-animation.tsx +88 -33
- package/src/shared/providers/screen/descriptors/descriptors.provider.tsx +1 -7
- package/src/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +0 -19
- package/src/shared/providers/screen/gestures/gestures.provider.tsx +5 -4
- package/src/shared/providers/screen/gestures/hooks/use-gesture-builder-state.ts +6 -10
- package/src/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.ts +1 -1
- package/src/shared/providers/screen/gestures/hooks/use-screen-gesture-config.ts +11 -147
- package/src/shared/providers/screen/gestures/hooks/use-screen-gesture.ts +1 -5
- package/src/shared/providers/screen/gestures/hooks/use-stable-runtime-config.ts +11 -19
- package/src/shared/providers/screen/gestures/ownership/compute-claimed-directions.ts +52 -40
- package/src/shared/providers/screen/gestures/ownership/resolve-ownership.ts +15 -0
- package/src/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.ts +83 -47
- package/src/shared/providers/screen/gestures/{builders/use-build-pan-gesture.ts → pan/build-pan-gesture.ts} +2 -2
- package/src/shared/providers/screen/gestures/pan/pan-activation-decision.ts +458 -0
- package/src/shared/providers/screen/gestures/{helpers/gesture-activation.ts → pan/pan-activation-rules.ts} +208 -147
- package/src/shared/providers/screen/gestures/pan/pan-activation.ts +135 -0
- package/src/shared/providers/screen/gestures/{helpers/pan-phases.ts → pan/pan-lifecycle.ts} +44 -23
- package/src/shared/providers/screen/gestures/pan/pan-release.ts +279 -0
- package/src/shared/providers/screen/gestures/pan/pan-reset.ts +95 -0
- package/src/shared/providers/screen/gestures/{behaviors → pan}/use-pan-behavior.ts +28 -36
- package/src/shared/providers/screen/gestures/{builders/use-build-pinch-gesture.ts → pinch/build-pinch-gesture.ts} +2 -2
- package/src/shared/providers/screen/gestures/{activation/use-pinch-activation.ts → pinch/pinch-activation.ts} +6 -3
- package/src/shared/providers/screen/gestures/{helpers/pinch-phases.ts → pinch/pinch-lifecycle.ts} +9 -2
- package/src/shared/providers/screen/gestures/pinch/pinch-release.ts +183 -0
- package/src/shared/providers/screen/gestures/pinch/pinch-reset.ts +65 -0
- package/src/shared/providers/screen/gestures/{behaviors → pinch}/use-pinch-behavior.ts +28 -42
- package/src/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/update-scroll-gesture-state.ts +1 -1
- package/src/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/use-scroll-gesture-coordination.ts +5 -5
- package/src/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/walk-up-scroll-gesture-coordination.ts +42 -26
- package/src/shared/providers/screen/gestures/{helpers/gesture-physics.ts → shared/physics.ts} +167 -107
- package/src/shared/providers/screen/gestures/shared/policy.ts +344 -0
- package/src/shared/providers/screen/gestures/shared/release.ts +43 -0
- package/src/shared/providers/screen/gestures/shared/reset.ts +74 -0
- package/src/shared/providers/screen/gestures/shared/runtime.ts +76 -0
- package/src/shared/providers/screen/gestures/shared/snap-points.ts +250 -0
- package/src/shared/providers/screen/gestures/shared/targets.ts +202 -0
- package/src/shared/providers/screen/gestures/types.ts +40 -44
- package/src/shared/providers/screen/options/helpers.ts +169 -58
- package/src/shared/providers/screen/options/types.ts +1 -0
- package/src/shared/providers/screen/styles/helpers/preserve-animated-props-only.ts +22 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +154 -0
- package/src/shared/providers/screen/styles/helpers/visibility-gate.ts +57 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +45 -18
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +36 -17
- package/src/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.tsx +11 -3
- package/src/shared/stores/animation.store.ts +3 -9
- package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +161 -0
- package/src/shared/stores/bounds/index.ts +11 -23
- package/src/shared/stores/bounds/internals/clear.ts +18 -81
- package/src/shared/stores/bounds/internals/entries.ts +56 -13
- package/src/shared/stores/bounds/internals/links.ts +222 -125
- package/src/shared/stores/bounds/internals/resolver.ts +23 -87
- package/src/shared/stores/bounds/internals/state.ts +27 -5
- package/src/shared/stores/bounds/types.ts +19 -18
- package/src/shared/stores/gesture.store.ts +3 -0
- package/src/shared/stores/system.store.ts +8 -0
- package/src/shared/types/animation.types.ts +13 -5
- package/src/shared/types/bounds.types.ts +4 -1
- package/src/shared/types/gesture.types.ts +10 -2
- package/src/shared/types/index.ts +0 -1
- package/src/shared/types/screen.types.ts +13 -1
- package/src/shared/utils/animation/animate-to-progress.ts +25 -17
- package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +2 -0
- package/src/shared/utils/bounds/helpers/create-interpolators.ts +2 -2
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +8 -8
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +23 -14
- package/src/shared/utils/bounds/helpers/resolve-bounds-pair-key.ts +22 -0
- package/src/shared/utils/bounds/navigation/math.ts +2 -18
- package/src/shared/utils/bounds/navigation/reveal/build.ts +288 -193
- package/src/shared/utils/bounds/navigation/reveal/config.ts +24 -16
- package/src/shared/utils/bounds/navigation/reveal/math.ts +234 -18
- package/src/shared/utils/bounds/navigation/zoom/build.ts +124 -20
- package/src/shared/utils/bounds/navigation/zoom/config.ts +1 -1
- package/src/shared/utils/bounds/navigation/zoom/math.ts +5 -7
- package/src/shared/utils/bounds/types/options.ts +2 -3
- package/src/shared/utils/gesture-progress-mode.ts +67 -0
- package/src/shared/utils/navigation/resolve-scene-neighbors.ts +36 -23
- package/src/shared/utils/resolve-chain-target.ts +9 -22
- package/src/shared/utils/resolve-screen-transition-options.ts +1 -3
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js +0 -46
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +0 -17
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +0 -28
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +0 -64
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js +0 -20
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js +0 -16
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +0 -1
- package/lib/commonjs/shared/hooks/reanimated/use-animated-debounce.js +0 -43
- package/lib/commonjs/shared/hooks/reanimated/use-animated-debounce.js.map +0 -1
- package/lib/commonjs/shared/providers/layout-anchor.provider.js +0 -86
- package/lib/commonjs/shared/providers/layout-anchor.provider.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js +0 -164
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +0 -33
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-navigator-keys.js +0 -28
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-navigator-keys.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/activation/use-pan-activation.js +0 -182
- package/lib/commonjs/shared/providers/screen/gestures/activation/use-pan-activation.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/activation/use-pinch-activation.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js +0 -161
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js +0 -78
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js +0 -147
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js +0 -52
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pan-behavior.js +0 -64
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pan-behavior.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pinch-behavior.js +0 -64
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pinch-behavior.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/builders/use-build-pan-gesture.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/builders/use-build-pinch-gesture.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-activation.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-directions.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-physics.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-reset.js +0 -99
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-reset.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-snap-points.js +0 -43
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-snap-points.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-targets.js +0 -93
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-targets.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/pan-phases.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/pinch-phases.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js +0 -21
- package/lib/commonjs/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/runtime-options.js +0 -134
- package/lib/commonjs/shared/providers/screen/gestures/helpers/runtime-options.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/validate-snap-points.js +0 -56
- package/lib/commonjs/shared/providers/screen/gestures/helpers/validate-snap-points.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js +0 -18
- package/lib/commonjs/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js.map +0 -1
- package/lib/commonjs/shared/providers/scroll-settle.provider.js +0 -25
- package/lib/commonjs/shared/providers/scroll-settle.provider.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js +0 -59
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js +0 -25
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js +0 -30
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js +0 -79
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/matching.js +0 -22
- package/lib/commonjs/shared/stores/bounds/helpers/matching.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js +0 -30
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/internals/groups.js +0 -102
- package/lib/commonjs/shared/stores/bounds/internals/groups.js.map +0 -1
- package/lib/commonjs/shared/typecheck/public-api.typecheck.js +0 -227
- package/lib/commonjs/shared/typecheck/public-api.typecheck.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js +0 -41
- package/lib/module/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +0 -12
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +0 -23
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +0 -58
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js +0 -15
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js +0 -12
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +0 -1
- package/lib/module/shared/hooks/reanimated/use-animated-debounce.js +0 -39
- package/lib/module/shared/hooks/reanimated/use-animated-debounce.js.map +0 -1
- package/lib/module/shared/providers/layout-anchor.provider.js +0 -80
- package/lib/module/shared/providers/layout-anchor.provider.js.map +0 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js +0 -158
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +0 -1
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +0 -29
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +0 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-navigator-keys.js +0 -24
- package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-navigator-keys.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/activation/use-pan-activation.js +0 -177
- package/lib/module/shared/providers/screen/gestures/activation/use-pan-activation.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/activation/use-pinch-activation.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js +0 -157
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js +0 -74
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js +0 -143
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js +0 -48
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/behaviors/use-pan-behavior.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/behaviors/use-pinch-behavior.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/builders/use-build-pan-gesture.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/builders/use-build-pinch-gesture.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-activation.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-directions.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-physics.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-reset.js +0 -93
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-reset.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-snap-points.js +0 -37
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-snap-points.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-targets.js +0 -87
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-targets.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/pan-phases.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/pinch-phases.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js +0 -17
- package/lib/module/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/runtime-options.js +0 -124
- package/lib/module/shared/providers/screen/gestures/helpers/runtime-options.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/validate-snap-points.js +0 -50
- package/lib/module/shared/providers/screen/gestures/helpers/validate-snap-points.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js +0 -14
- package/lib/module/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js.map +0 -1
- package/lib/module/shared/providers/scroll-settle.provider.js +0 -19
- package/lib/module/shared/providers/scroll-settle.provider.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js +0 -52
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/find-latest.js +0 -19
- package/lib/module/shared/stores/bounds/helpers/find-latest.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js +0 -23
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js +0 -69
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/matching.js +0 -17
- package/lib/module/shared/stores/bounds/helpers/matching.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js +0 -24
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/internals/groups.js +0 -95
- package/lib/module/shared/stores/bounds/internals/groups.js.map +0 -1
- package/lib/module/shared/typecheck/public-api.typecheck.js +0 -227
- package/lib/module/shared/typecheck/public-api.typecheck.js.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.d.ts +0 -18
- package/lib/typescript/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts +0 -2
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts +0 -22
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +0 -24
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts +0 -3
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts +0 -8
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts.map +0 -1
- package/lib/typescript/shared/hooks/reanimated/use-animated-debounce.d.ts +0 -13
- package/lib/typescript/shared/hooks/reanimated/use-animated-debounce.d.ts.map +0 -1
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts +0 -39
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts +0 -9
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-navigator-keys.d.ts +0 -7
- package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-navigator-keys.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/activation/use-pan-activation.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/activation/use-pinch-activation.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.d.ts +0 -3
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.d.ts +0 -3
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.d.ts +0 -3
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.d.ts +0 -3
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/behaviors/use-pan-behavior.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/behaviors/use-pinch-behavior.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/builders/use-build-pan-gesture.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/builders/use-build-pinch-gesture.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-activation.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-directions.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-physics.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-reset.d.ts +0 -20
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-reset.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-snap-points.d.ts +0 -17
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-snap-points.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-targets.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/pan-phases.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/pinch-phases.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.d.ts +0 -8
- package/lib/typescript/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/runtime-options.d.ts +0 -9
- package/lib/typescript/shared/providers/screen/gestures/helpers/runtime-options.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/validate-snap-points.d.ts +0 -20
- package/lib/typescript/shared/providers/screen/gestures/helpers/validate-snap-points.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.d.ts +0 -6
- package/lib/typescript/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.d.ts.map +0 -1
- package/lib/typescript/shared/providers/scroll-settle.provider.d.ts +0 -12
- package/lib/typescript/shared/providers/scroll-settle.provider.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/entries.helpers.d.ts +0 -5
- package/lib/typescript/shared/stores/bounds/helpers/entries.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts +0 -3
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts +0 -10
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts +0 -16
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/matching.d.ts +0 -4
- package/lib/typescript/shared/stores/bounds/helpers/matching.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts +0 -5
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts +0 -16
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts.map +0 -1
- package/src/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.ts +0 -101
- package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +0 -20
- package/src/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.ts +0 -48
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +0 -90
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement.ts +0 -25
- package/src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts +0 -14
- package/src/shared/hooks/reanimated/use-animated-debounce.ts +0 -53
- package/src/shared/providers/layout-anchor.provider.tsx +0 -112
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state.ts +0 -335
- package/src/shared/providers/screen/animation/helpers/resolve-screen-animation-target.ts +0 -42
- package/src/shared/providers/screen/descriptors/helpers/get-ancestor-navigator-keys.ts +0 -29
- package/src/shared/providers/screen/gestures/activation/use-pan-activation.ts +0 -244
- package/src/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.ts +0 -195
- package/src/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.ts +0 -76
- package/src/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.ts +0 -177
- package/src/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.ts +0 -73
- package/src/shared/providers/screen/gestures/helpers/gesture-reset.ts +0 -158
- package/src/shared/providers/screen/gestures/helpers/gesture-snap-points.ts +0 -72
- package/src/shared/providers/screen/gestures/helpers/gesture-targets.ts +0 -153
- package/src/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.ts +0 -23
- package/src/shared/providers/screen/gestures/helpers/runtime-options.ts +0 -159
- package/src/shared/providers/screen/gestures/helpers/validate-snap-points.ts +0 -74
- package/src/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.ts +0 -15
- package/src/shared/providers/scroll-settle.provider.tsx +0 -24
- package/src/shared/stores/bounds/helpers/entries.helpers.ts +0 -74
- package/src/shared/stores/bounds/helpers/find-latest.ts +0 -22
- package/src/shared/stores/bounds/helpers/groups.helpers.ts +0 -27
- package/src/shared/stores/bounds/helpers/link.helpers.ts +0 -135
- package/src/shared/stores/bounds/helpers/matching.ts +0 -25
- package/src/shared/stores/bounds/helpers/tag-state.helpers.ts +0 -24
- package/src/shared/stores/bounds/internals/groups.ts +0 -116
- package/src/shared/typecheck/public-api.typecheck.ts +0 -272
- /package/lib/commonjs/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/index.js +0 -0
- /package/lib/commonjs/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/update-scroll-gesture-state.js +0 -0
- /package/lib/module/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/index.js +0 -0
- /package/lib/module/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/update-scroll-gesture-state.js +0 -0
- /package/lib/typescript/shared/providers/screen/gestures/{behaviors → pan}/use-pan-behavior.d.ts +0 -0
- /package/lib/typescript/shared/providers/screen/gestures/{behaviors → pinch}/use-pinch-behavior.d.ts +0 -0
- /package/lib/typescript/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/index.d.ts +0 -0
- /package/src/shared/providers/screen/gestures/{hooks/use-scroll-gesture-coordination → scroll-coordination}/index.ts +0 -0
- /package/src/shared/providers/screen/gestures/{helpers/walk-gesture-ancestors.ts → shared/ancestors.ts} +0 -0
- /package/src/shared/providers/screen/gestures/{helpers/gesture-directions.ts → shared/directions.ts} +0 -0
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const isAncestorTarget = target => {
|
|
4
|
-
return typeof target === "object" && target !== null && "ancestor" in target;
|
|
5
|
-
};
|
|
6
3
|
export function resolveChainTarget({
|
|
7
4
|
target,
|
|
8
5
|
self,
|
|
9
6
|
ancestors
|
|
10
7
|
}) {
|
|
8
|
+
"worklet";
|
|
9
|
+
|
|
11
10
|
if (!self) {
|
|
12
11
|
return null;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
if (target === "parent") {
|
|
18
|
-
return ancestors[0] ?? null;
|
|
19
|
-
}
|
|
20
|
-
if (target === "root") {
|
|
21
|
-
return ancestors[ancestors.length - 1] ?? null;
|
|
22
|
-
}
|
|
23
|
-
if (!isAncestorTarget(target)) {
|
|
13
|
+
const depth = target?.depth ?? 0;
|
|
14
|
+
if (!Number.isInteger(depth)) {
|
|
24
15
|
return null;
|
|
25
16
|
}
|
|
26
|
-
|
|
27
|
-
|
|
17
|
+
if (depth === 0) {
|
|
18
|
+
return self;
|
|
19
|
+
}
|
|
20
|
+
if (depth > 0) {
|
|
28
21
|
return null;
|
|
29
22
|
}
|
|
30
|
-
return ancestors[depth - 1] ?? null;
|
|
23
|
+
return ancestors[Math.abs(depth) - 1] ?? null;
|
|
31
24
|
}
|
|
32
25
|
//# sourceMappingURL=resolve-chain-target.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["resolveChainTarget","target","self","ancestors","depth","Number","isInteger","Math","abs"],"sourceRoot":"../../../../src","sources":["shared/utils/resolve-chain-target.ts"],"mappings":";;AAQA,OAAO,SAASA,kBAAkBA,CAAI;EACrCC,MAAM;EACNC,IAAI;EACJC;AAC4B,CAAC,EAAY;EACzC,SAAS;;EACT,IAAI,CAACD,IAAI,EAAE;IACV,OAAO,IAAI;EACZ;EAEA,MAAME,KAAK,GAAGH,MAAM,EAAEG,KAAK,IAAI,CAAC;EAChC,IAAI,CAACC,MAAM,CAACC,SAAS,CAACF,KAAK,CAAC,EAAE;IAC7B,OAAO,IAAI;EACZ;EAEA,IAAIA,KAAK,KAAK,CAAC,EAAE;IAChB,OAAOF,IAAI;EACZ;EAEA,IAAIE,KAAK,GAAG,CAAC,EAAE;IACd,OAAO,IAAI;EACZ;EAEA,OAAOD,SAAS,CAACI,IAAI,CAACC,GAAG,CAACJ,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI;AAC9C","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import { DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR } from "../constants";
|
|
4
4
|
export const resolveSheetScrollGestureBehavior = options => {
|
|
5
5
|
const explicitBehavior = options.sheetScrollGestureBehavior;
|
|
6
6
|
if (explicitBehavior) return explicitBehavior;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR","resolveSheetScrollGestureBehavior","options","explicitBehavior","sheetScrollGestureBehavior","legacyBehavior","expandViaScrollView","undefined"],"sourceRoot":"../../../../src","sources":["shared/utils/resolve-screen-transition-options.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR","resolveSheetScrollGestureBehavior","options","explicitBehavior","sheetScrollGestureBehavior","legacyBehavior","expandViaScrollView","undefined"],"sourceRoot":"../../../../src","sources":["shared/utils/resolve-screen-transition-options.ts"],"mappings":";;AAAA,SAASA,qCAAqC,QAAQ,cAAc;AAMpE,OAAO,MAAMC,iCAAiC,GAC7CC,OAGC,IAC+B;EAChC,MAAMC,gBAAgB,GAAGD,OAAO,CAACE,0BAA0B;EAC3D,IAAID,gBAAgB,EAAE,OAAOA,gBAAgB;EAE7C,MAAME,cAAc,GAAGH,OAAO,CAACI,mBAAmB;EAClD,IAAID,cAAc,KAAKE,SAAS,EAAE;IACjC,OAAOF,cAAc,GAAG,qBAAqB,GAAG,eAAe;EAChE;EAEA,OAAOL,qCAAqC;AAC7C,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-screen.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/components/component-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"component-screen.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/components/component-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,UAAU,WAAW;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAID,eAAO,MAAM,eAAe,GAAI,wBAAwB,WAAW,4CAmBlE,CAAC"}
|
package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { type ComponentType } from "react";
|
|
|
2
2
|
import type { BoundaryComponentProps } from "./types";
|
|
3
3
|
interface CreateBoundaryComponentOptions {
|
|
4
4
|
alreadyAnimated?: boolean;
|
|
5
|
+
shouldAutoMeasure?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare function createBoundaryComponent<P extends object>(Wrapped: ComponentType<P>, options?: CreateBoundaryComponentOptions): React.MemoExoticComponent<React.ForwardRefExoticComponent<BoundaryComponentProps<P> & React.RefAttributes<React.ComponentRef<typeof Wrapped>>>>;
|
|
7
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAMlB,MAAM,OAAO,CAAC;AAqBf,OAAO,KAAK,EAAE,sBAAsB,EAAuB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAMlB,MAAM,OAAO,CAAC;AAqBf,OAAO,KAAK,EAAE,sBAAsB,EAAuB,MAAM,SAAS,CAAC;AAE3E,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,GA0L5B,KAAK,CAAC,mBAAmB,CACxC,KAAK,CAAC,yBAAyB,CAC9B,sBAAsB,CAAC,CAAC,CAAC,GACxB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CACxD,CACD,CACD"}
|
package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import type { BoundaryConfigProps } from "../types";
|
|
2
2
|
export declare const useBoundaryPresence: (params: {
|
|
3
3
|
enabled: boolean;
|
|
4
|
-
|
|
4
|
+
entryTag: string;
|
|
5
5
|
currentScreenKey: string;
|
|
6
|
-
ancestorKeys: string[];
|
|
7
|
-
navigatorKey?: string;
|
|
8
|
-
ancestorNavigatorKeys?: string[];
|
|
9
6
|
boundaryConfig?: BoundaryConfigProps;
|
|
10
7
|
}) => void;
|
|
11
8
|
//# sourceMappingURL=use-boundary-presence.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-presence.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,
|
|
1
|
+
{"version":3,"file":"use-boundary-presence.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACrC,SAcA,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MeasureBoundary } from "../types";
|
|
2
2
|
interface UseInitialDestinationMeasurementParams {
|
|
3
|
-
|
|
3
|
+
linkId: string;
|
|
4
4
|
enabled: boolean;
|
|
5
5
|
currentScreenKey: string;
|
|
6
|
-
|
|
6
|
+
preferredSourceScreenKey?: string;
|
|
7
|
+
ancestorScreenKeys: string[];
|
|
8
|
+
measureBoundary: MeasureBoundary;
|
|
7
9
|
}
|
|
8
|
-
export declare const useInitialDestinationMeasurement: ({
|
|
10
|
+
export declare const useInitialDestinationMeasurement: ({ linkId, enabled, currentScreenKey, preferredSourceScreenKey, ancestorScreenKeys, measureBoundary, }: UseInitialDestinationMeasurementParams) => void;
|
|
9
11
|
export {};
|
|
10
12
|
//# sourceMappingURL=use-initial-destination-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD,UAAU,sCAAsC;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,gCAAgC,GAAI,uGAO9C,sCAAsC,SA2FxC,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MeasureBoundary } from "../types";
|
|
2
2
|
export declare const useInitialSourceMeasurement: (params: {
|
|
3
3
|
enabled: boolean;
|
|
4
4
|
nextScreenKey?: string;
|
|
5
|
-
|
|
5
|
+
currentScreenKey?: string;
|
|
6
|
+
measureBoundary: MeasureBoundary;
|
|
7
|
+
linkId: string;
|
|
8
|
+
group?: string;
|
|
9
|
+
shouldAutoMeasure: boolean;
|
|
6
10
|
}) => void;
|
|
7
11
|
//# sourceMappingURL=use-initial-source-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-initial-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-source-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-initial-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-source-measurement.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,eAAe,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAC;CAC3B,SA2CA,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
2
|
import type { AnimatedRef, StyleProps } from "react-native-reanimated";
|
|
3
|
-
import type {
|
|
3
|
+
import type { MeasureBoundary } from "../types";
|
|
4
4
|
interface UseMeasurerParams {
|
|
5
5
|
enabled: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
entryTag: string;
|
|
7
|
+
linkId: string;
|
|
8
|
+
group?: string;
|
|
8
9
|
currentScreenKey: string;
|
|
9
|
-
ancestorKeys: string[];
|
|
10
|
-
navigatorKey?: string;
|
|
11
|
-
ancestorNavigatorKeys?: string[];
|
|
12
10
|
preparedStyles: StyleProps;
|
|
13
11
|
measuredAnimatedRef: AnimatedRef<View>;
|
|
14
12
|
}
|
|
15
|
-
export declare const useMeasurer: ({ enabled,
|
|
13
|
+
export declare const useMeasurer: ({ enabled, entryTag, linkId, group, currentScreenKey, preparedStyles, measuredAnimatedRef, }: UseMeasurerParams) => MeasureBoundary;
|
|
16
14
|
export {};
|
|
17
15
|
//# sourceMappingURL=use-measurer.d.ts.map
|
package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAQvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAMhD,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,WAAW,GAAI,8FAQzB,iBAAiB,KAAG,eAiFtB,CAAC"}
|
package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MeasureBoundary } from "../types";
|
|
2
2
|
interface UseRefreshBoundaryParams {
|
|
3
3
|
enabled: boolean;
|
|
4
|
-
sharedBoundTag: string;
|
|
5
|
-
id: BoundaryId;
|
|
6
|
-
group?: string;
|
|
7
4
|
currentScreenKey: string;
|
|
5
|
+
preferredSourceScreenKey?: string;
|
|
8
6
|
nextScreenKey?: string;
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
linkId: string;
|
|
8
|
+
group?: string;
|
|
9
|
+
ancestorScreenKeys: string[];
|
|
10
|
+
measureBoundary: MeasureBoundary;
|
|
11
11
|
}
|
|
12
|
-
export declare const useRefreshBoundary: ({ enabled,
|
|
12
|
+
export declare const useRefreshBoundary: ({ enabled, currentScreenKey, preferredSourceScreenKey, nextScreenKey, linkId, group, ancestorScreenKeys, measureBoundary, }: UseRefreshBoundaryParams) => void;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=use-refresh-boundary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,UAAU,wBAAwB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,kBAAkB,GAAI,6HAShC,wBAAwB,SAmD1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,EAAE,uBAAuB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAUnC;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ;IACpB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEH,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ScreenPairKey } from "../../stores/bounds/types";
|
|
1
2
|
import type { BoundsOptions } from "../../utils/bounds/types/options";
|
|
2
3
|
export type BoundaryId = string | number;
|
|
3
4
|
export type BoundaryConfigProps = Pick<BoundsOptions, "anchor" | "scaleMode" | "target" | "method">;
|
|
@@ -9,9 +10,8 @@ export type BoundaryConfigProps = Pick<BoundsOptions, "anchor" | "scaleMode" | "
|
|
|
9
10
|
export interface BoundaryOwnProps extends BoundaryConfigProps {
|
|
10
11
|
/**
|
|
11
12
|
* Optional group name for collection/list scenarios.
|
|
12
|
-
* When provided,
|
|
13
|
-
*
|
|
14
|
-
* The internal tag becomes `group:id`.
|
|
13
|
+
* When provided, concrete boundary entries use `group:id`, while transition
|
|
14
|
+
* links stay keyed by the member `id` inside the active screen pair.
|
|
15
15
|
*/
|
|
16
16
|
group?: string;
|
|
17
17
|
/**
|
|
@@ -26,8 +26,12 @@ export interface BoundaryOwnProps extends BoundaryConfigProps {
|
|
|
26
26
|
* Omits `id` from the wrapped component's props (since boundary uses its own `id`).
|
|
27
27
|
*/
|
|
28
28
|
export type BoundaryComponentProps<P extends object> = Omit<P, "id"> & BoundaryOwnProps;
|
|
29
|
-
export type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
29
|
+
export type MeasureTarget = {
|
|
30
|
+
type: "source";
|
|
31
|
+
pairKey: ScreenPairKey;
|
|
32
|
+
} | {
|
|
33
|
+
type: "destination";
|
|
34
|
+
pairKey: ScreenPairKey;
|
|
35
|
+
};
|
|
36
|
+
export type MeasureBoundary = (target: MeasureTarget) => void;
|
|
33
37
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,MAAM,MAAM,aAAa,GACtB;IACA,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;CACtB,GACD;IACA,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;CACtB,CAAC;AAEL,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC"}
|
package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { LinkPairsState, ScreenPairKey } from "../../../stores/bounds/types";
|
|
2
|
+
export declare const getInitialDestinationMeasurePairKey: (params: {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
currentScreenKey: string;
|
|
5
|
+
preferredSourceScreenKey?: string;
|
|
6
|
+
ancestorScreenKeys?: readonly string[];
|
|
7
|
+
linkId: string;
|
|
8
|
+
linkState?: LinkPairsState;
|
|
9
|
+
}) => ScreenPairKey | null;
|
|
10
|
+
//# sourceMappingURL=destination-signals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destination-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/destination-signals.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AA+CtC,eAAO,MAAM,mCAAmC,GAAI,QAAQ;IAC3D,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,aAAa,GAAG,IA6DnB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
2
|
import { type AnimatedRef, type MeasuredDimensions } from "react-native-reanimated";
|
|
3
|
-
import type { ScrollGestureState } from "
|
|
3
|
+
import type { ScrollGestureState } from "../../../types/gesture.types";
|
|
4
4
|
export declare const adjustedMeasuredBoundsForOverscrollDeltas: (measured: MeasuredDimensions, scrollState: ScrollGestureState | null) => MeasuredDimensions;
|
|
5
|
+
export declare const isMeasurementInViewport: (measured: MeasuredDimensions, viewportWidth: number, viewportHeight: number) => boolean;
|
|
5
6
|
export declare const measureWithOverscrollAwareness: (ref: AnimatedRef<View>, scrollState: ScrollGestureState | null) => MeasuredDimensions | null;
|
|
6
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=measured-bounds.d.ts.map
|
package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measured-bounds.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/measured-bounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAatC,eAAO,MAAM,yCAAyC,GACrD,UAAU,kBAAkB,EAC5B,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAqBF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,kBAAkB,EAC5B,eAAe,MAAM,EACrB,gBAAgB,MAAM,KACpB,OAkBF,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAC1C,KAAK,WAAW,CAAC,IAAI,CAAC,EACtB,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAAkB,GAAG,IAMvB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { LinkPairsState } from "../../../stores/bounds/types";
|
|
2
|
+
import type { MeasureTarget } from "../types";
|
|
3
|
+
type RefreshBoundarySignal = MeasureTarget & {
|
|
4
|
+
signal: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const getRefreshBoundarySignal: (params: {
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
currentScreenKey: string;
|
|
9
|
+
preferredSourceScreenKey?: string;
|
|
10
|
+
nextScreenKey?: string;
|
|
11
|
+
linkId: string;
|
|
12
|
+
group?: string;
|
|
13
|
+
ancestorScreenKeys?: readonly string[];
|
|
14
|
+
shouldRefresh: boolean;
|
|
15
|
+
closing: boolean;
|
|
16
|
+
entering: boolean;
|
|
17
|
+
animating: boolean;
|
|
18
|
+
progress: number;
|
|
19
|
+
linkState?: LinkPairsState;
|
|
20
|
+
}) => RefreshBoundarySignal | null;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=refresh-signals.d.ts.map
|
package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/refresh-signals.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACX,cAAc,EAEd,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAuCF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,qBAAqB,GAAG,IA8F3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { LinkPairsState, ScreenPairKey } from "../../../stores/bounds/types";
|
|
2
|
+
type SourceCaptureSignal = {
|
|
3
|
+
pairKey: ScreenPairKey;
|
|
4
|
+
signal: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const getInitialSourceCaptureSignal: (params: {
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
nextScreenKey?: string;
|
|
9
|
+
currentScreenKey?: string;
|
|
10
|
+
linkId: string;
|
|
11
|
+
group?: string;
|
|
12
|
+
shouldAutoMeasure: boolean;
|
|
13
|
+
linkState?: LinkPairsState;
|
|
14
|
+
}) => SourceCaptureSignal | null;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=source-signals.d.ts.map
|
package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/utils/source-signals.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAItC,KAAK,mBAAmB,GAAG;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAaF,eAAO,MAAM,6BAA6B,GAAI,QAAQ;IACrD,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,mBAAmB,GAAG,IAuCzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-screen.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/native-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"native-screen.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/native-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAiBpC,UAAU,WAAW;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAYD,eAAO,MAAM,YAAY,GAAI,yEAO1B,WAAW,4CAoIb,CAAC"}
|
package/lib/typescript/shared/components/screen-container/helpers/find-collapse-target.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-collapse-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/helpers/find-collapse-target.ts"],"names":[],"mappings":"AAGA,UAAU,wBAAwB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CACjC,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAAE,EACpB,UAAU,EAAE,OAAO,GACjB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"find-collapse-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/helpers/find-collapse-target.ts"],"names":[],"mappings":"AAGA,UAAU,wBAAwB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CACjC,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAAE,EACpB,UAAU,EAAE,OAAO,GACjB,wBAAwB,CAuC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAIpE,eAAO,MAAM,aAAa;sBAIP,gBAAgB;sBAChB,OAAO;
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAIpE,eAAO,MAAM,aAAa;sBAIP,gBAAgB;sBAChB,OAAO;EAsHxB,CAAC"}
|
|
@@ -1 +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":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAUhE,KAAK,KAAK,GAAG;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC1C,CAAC;AAYF,eAAO,MAAM,8BAA8B,6EACH,KAAK,
|
|
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":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAUhE,KAAK,KAAK,GAAG;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC1C,CAAC;AAYF,eAAO,MAAM,8BAA8B,6EACH,KAAK,6WAW5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface-container.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/surface-container.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAS1D,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAAsC,KAAK,
|
|
1
|
+
{"version":3,"file":"surface-container.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/surface-container.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAS1D,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAAsC,KAAK,6WAqBtE,CAAC"}
|
package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function resetStoresForScreen(routeKey: string
|
|
1
|
+
export declare function resetStoresForScreen(routeKey: string): void;
|
|
2
2
|
//# sourceMappingURL=reset-stores-for-screen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-stores-for-screen.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reset-stores-for-screen.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts"],"names":[],"mappings":"AAOA,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,QAOpD"}
|
package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-close-transition-intent.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts"],"names":[],"mappings":"AAIA,OAAO,EACN,KAAK,cAAc,EAEnB,MAAM,uCAAuC,CAAC;AAG/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,OAAO,EAGN,KAAK,cAAc,EACnB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"use-close-transition-intent.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts"],"names":[],"mappings":"AAIA,OAAO,EACN,KAAK,cAAc,EAEnB,MAAM,uCAAuC,CAAC;AAG/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,OAAO,EAGN,KAAK,cAAc,EACnB,MAAM,8BAA8B,CAAC;AA4GtC;;GAEG;AACH,wBAAgB,wBAAwB,CACvC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,iBAAiB,EAC7B,MAAM,EAAE,cAAc,GACpB;IACF,qBAAqB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,CAsBA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MeasuredDimensions } from "react-native-reanimated";
|
|
2
2
|
import type { ScreenTransitionOptions, ScreenTransitionState } from "./types/animation.types";
|
|
3
|
-
import type { ActivationArea } from "./types/gesture.types";
|
|
3
|
+
import type { ActivationArea, GestureProgressMode } from "./types/gesture.types";
|
|
4
4
|
import type { Layout, SheetScrollGestureBehavior } from "./types/screen.types";
|
|
5
5
|
import type { BaseStackRoute } from "./types/stack.types";
|
|
6
6
|
/**
|
|
@@ -72,11 +72,10 @@ export declare const EXIT_RANGE: readonly [1, 2];
|
|
|
72
72
|
export declare const FULLSCREEN_DIMENSIONS: (dimensions: Layout) => MeasuredDimensions;
|
|
73
73
|
export declare const DEFAULT_GESTURE_VELOCITY_IMPACT = 0.3;
|
|
74
74
|
export declare const DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT = 0.1;
|
|
75
|
-
export declare const DEFAULT_GESTURE_RELEASE_VELOCITY_MAX = 3.2;
|
|
76
75
|
export declare const DEFAULT_GESTURE_SENSITIVITY = 1;
|
|
77
76
|
export declare const DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE = 1;
|
|
78
77
|
export declare const DEFAULT_GESTURE_DIRECTION = "horizontal";
|
|
79
|
-
export declare const
|
|
78
|
+
export declare const DEFAULT_GESTURE_PROGRESS_MODE: GestureProgressMode;
|
|
80
79
|
export declare const DEFAULT_GESTURE_SNAP_LOCKED = false;
|
|
81
80
|
export declare const DEFAULT_GESTURE_ACTIVATION_AREA: ActivationArea;
|
|
82
81
|
export declare const DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR: SheetScrollGestureBehavior;
|
|
@@ -88,8 +87,12 @@ export declare const FALSE = 0;
|
|
|
88
87
|
*/
|
|
89
88
|
export declare const EPSILON = 0.00001;
|
|
90
89
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
90
|
+
* Number of consecutive frames progress must remain near its target before it
|
|
91
|
+
* is treated as logically settled.
|
|
93
92
|
*/
|
|
94
|
-
export declare const
|
|
93
|
+
export declare const LOGICAL_SETTLE_REQUIRED_FRAMES = 5;
|
|
94
|
+
/**
|
|
95
|
+
* Progress distance from target required for logical settle.
|
|
96
|
+
*/
|
|
97
|
+
export declare const LOGICAL_SETTLE_PROGRESS_THRESHOLD = 0.001;
|
|
95
98
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -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,EACX,uBAAuB,EACvB,qBAAqB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,
|
|
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,EACX,uBAAuB,EACvB,qBAAqB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACX,cAAc,EACd,mBAAmB,EACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAC5C,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,gCAAgC,qCACV,CAAC;AACpC,eAAO,MAAM,kCAAkC,uCACV,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,SAAS,cAAoB,CAAC;AAC3C,eAAO,MAAM,aAAa;;EAAgC,CAAC;AAC3D,eAAO,MAAM,QAAQ,cAAoB,CAAC;AAsC1C,eAAO,MAAM,iCAAiC,EAAE,uBAC9B,CAAC;AAEnB;;GAEG;AACH,eAAO,MAAM,2BAA2B,GACvC,OAAO,cAAc,EACrB,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,+BAA6B,EAC7B,UAAS,uBAA2D,KAClE,qBAqBD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,qBAqB3C,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ1B,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,2BAA2B,IAAI,CAAC;AAC7C,eAAO,MAAM,sCAAsC,IAAI,CAAC;AACxD,eAAO,MAAM,yBAAyB,eAAe,CAAC;AACtD,eAAO,MAAM,6BAA6B,EAAE,mBAC1B,CAAC;AACnB,eAAO,MAAM,2BAA2B,QAAQ,CAAC;AACjD,eAAO,MAAM,+BAA+B,EAAE,cAAyB,CAAC;AACxE,eAAO,MAAM,qCAAqC,EAAE,0BAC9B,CAAC;AAEvB,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,8BAA8B,IAAI,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,iCAAiC,QAAQ,CAAC"}
|
|
@@ -526,6 +526,7 @@ declare const _default: {
|
|
|
526
526
|
accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
527
527
|
accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
528
528
|
onPress?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
|
|
529
|
+
disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
529
530
|
onHoverIn?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
|
|
530
531
|
onHoverOut?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
|
|
531
532
|
onPressIn?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -535,7 +536,6 @@ declare const _default: {
|
|
|
535
536
|
delayHoverIn?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
536
537
|
delayHoverOut?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
537
538
|
delayLongPress?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
538
|
-
disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
539
539
|
pressRetentionOffset?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
540
540
|
android_disableSound?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
541
541
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | import("react-native-reanimated").SharedValue<import("react-native").PressableAndroidRippleConfig | null | undefined> | null | undefined;
|
|
@@ -647,6 +647,7 @@ declare const _default: {
|
|
|
647
647
|
accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
648
648
|
accessibilityRespondsToUserInteraction?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
649
649
|
onPress?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
|
|
650
|
+
disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
650
651
|
onHoverIn?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
|
|
651
652
|
onHoverOut?: ((event: import("react-native").MouseEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").MouseEvent) => void) | null | undefined> | null | undefined;
|
|
652
653
|
onPressIn?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | null | undefined> | null | undefined;
|
|
@@ -656,7 +657,6 @@ declare const _default: {
|
|
|
656
657
|
delayHoverIn?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
657
658
|
delayHoverOut?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
658
659
|
delayLongPress?: number | import("react-native-reanimated").SharedValue<number | null | undefined> | null | undefined;
|
|
659
|
-
disabled?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
660
660
|
pressRetentionOffset?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
661
661
|
android_disableSound?: boolean | import("react-native-reanimated").SharedValue<boolean | null | undefined> | null | undefined;
|
|
662
662
|
android_ripple?: import("react-native").PressableAndroidRippleConfig | import("react-native-reanimated").SharedValue<import("react-native").PressableAndroidRippleConfig | null | undefined> | null | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
|
|
2
|
+
import type { ScreenPairKey } from "../../stores/bounds/types";
|
|
3
|
+
type LinkWrite = {
|
|
4
|
+
type: "source";
|
|
5
|
+
pairKey: ScreenPairKey;
|
|
6
|
+
} | {
|
|
7
|
+
type: "destination";
|
|
8
|
+
pairKey: ScreenPairKey;
|
|
9
|
+
};
|
|
10
|
+
type ApplyMeasuredBoundsWritesParams = {
|
|
11
|
+
entryTag: string;
|
|
12
|
+
linkId: string;
|
|
13
|
+
group?: string;
|
|
14
|
+
currentScreenKey: string;
|
|
15
|
+
measured: MeasuredDimensions;
|
|
16
|
+
preparedStyles: StyleProps;
|
|
17
|
+
linkWrite?: LinkWrite;
|
|
18
|
+
};
|
|
19
|
+
export declare const applyMeasuredBoundsWrites: (params: ApplyMeasuredBoundsWritesParams) => void;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=measured-bounds-writes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measured-bounds-writes.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/helpers/measured-bounds-writes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,SAAS,GACX;IACA,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;CACtB,GACD;IACA,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;CACtB,CAAC;AAEL,KAAK,+BAA+B,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,cAAc,EAAE,UAAU,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACrC,QAAQ,+BAA+B,SAwCvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-bounds.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/register-bounds.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAIhB,KAAK,UAAU,EAGf,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"register-bounds.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/register-bounds.provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAIhB,KAAK,UAAU,EAGf,MAAM,yBAAyB,CAAC;AAsBjC,UAAU,yBAAyB;IAClC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,oBAAoB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,UAAU,2BAA2B;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,SAAS,CAAC;CAC1D;AAqVD;;;;;;GAMG;AACH,QAAA,MAAM,sBAAsB,iDAA8C,CAAC;AAG3E,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { useScreenAnimationPipeline } from "./helpers/pipeline";
|
|
3
|
-
import type { ScreenAnimationSource } from "./types";
|
|
3
|
+
import type { RegisterScreenAnimationDescendant, ScreenAnimationAncestorDescendantRegistrar, ScreenAnimationDescendantSources, ScreenAnimationSource } from "./types";
|
|
4
4
|
type Props = {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
7
|
export type ScreenAnimationContextValue = ReturnType<typeof useScreenAnimationPipeline> & {
|
|
8
8
|
ancestorScreenAnimationSources: ScreenAnimationSource[];
|
|
9
|
+
descendantScreenAnimationSources: ScreenAnimationDescendantSources;
|
|
10
|
+
registerDescendantScreenAnimationSource: RegisterScreenAnimationDescendant;
|
|
11
|
+
ancestorDescendantScreenAnimationRegistrars: ScreenAnimationAncestorDescendantRegistrar[];
|
|
9
12
|
};
|
|
10
13
|
export type ScreenAnimationContextResult = {
|
|
11
14
|
value: ScreenAnimationContextValue;
|
|
@@ -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,EACN,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AAIf,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,KAAK,EAAE,2BAA2B,CAAC;CACnC,CAAC;AAEF,eAAO,MACN,uBAAuB,6BACvB,sBAAsB,wDACtB,yBAAyB,mCA2KxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-build-bounds-accessor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,qDAQlC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScreenInterpolationProps, ScreenTransitionTarget } from "../../../../../types/animation.types";
|
|
2
|
+
import type { ScreenAnimationDescendantSources, ScreenAnimationTransitionSource } from "../../types";
|
|
3
|
+
export type TransitionAccessorSource = ScreenAnimationTransitionSource;
|
|
4
|
+
export declare const createTransitionAccessor: (sources: readonly TransitionAccessorSource[], originIndex?: number, descendantSources?: ScreenAnimationDescendantSources) => (target?: ScreenTransitionTarget) => ScreenInterpolationProps | null;
|
|
5
|
+
export declare const useBuildTransitionAccessor: () => (target?: ScreenTransitionTarget) => ScreenInterpolationProps | null;
|
|
6
|
+
//# sourceMappingURL=use-build-transition-accessor.d.ts.map
|
|
@@ -0,0 +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;AAG9C,OAAO,KAAK,EACX,gCAAgC,EAEhC,+BAA+B,EAC/B,MAAM,aAAa,CAAC;AAIrB,MAAM,MAAM,wBAAwB,GAAG,+BAA+B,CAAC;AAwBvE,eAAO,MAAM,wBAAwB,GACpC,SAAS,SAAS,wBAAwB,EAAE,EAC5C,oBAAe,EACf,oBAAoB,gCAAgC,MAmC5C,SAAS,sBAAsB,KAAG,wBAAwB,GAAG,IAcrE,CAAC;AAUF,eAAO,MAAM,0BAA0B,kBAxBrB,sBAAsB,KAAG,wBAAwB,GAAG,IAkErE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-screen-transition-options.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/build-screen-transition-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGX,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"build-screen-transition-options.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/build-screen-transition-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGX,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,mBAAmB,CAAC;AAkB3B,eAAO,MAAM,4BAA4B,GACxC,SAAS,sBAAsB,KAC7B,uBAqCF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ScreenTransitionOptions } from "../../../../../types/animation.types";
|
|
2
|
+
import type { GestureValues } from "../../../../../types/gesture.types";
|
|
3
|
+
import type { SnapBounds } from "./types";
|
|
4
|
+
export declare const resolveGestureDrivenProgress: (baseProgress: number, gesture: GestureValues, options: ScreenTransitionOptions, effectiveOptions: ScreenTransitionOptions | undefined, snapBounds: SnapBounds | null) => number;
|
|
5
|
+
//# sourceMappingURL=gesture-progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gesture-progress.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,KAAK,EAEX,aAAa,EACb,MAAM,oCAAoC,CAAC;AAU5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAiG1C,eAAO,MAAM,4BAA4B,GACxC,cAAc,MAAM,EACpB,SAAS,aAAa,EACtB,SAAS,uBAAuB,EAChC,kBAAkB,uBAAuB,GAAG,SAAS,EACrD,YAAY,UAAU,GAAG,IAAI,WAyC7B,CAAC"}
|