react-native-screen-transitions 3.5.1 → 3.6.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1081
- package/lib/commonjs/shared/animation/snap-to.js +4 -6
- package/lib/commonjs/shared/animation/snap-to.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js +4 -2
- package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +13 -17
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js +46 -0
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +3 -3
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +28 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +3 -147
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js +1 -8
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js +45 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js +3 -3
- 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-capture-destination-boundary.js → use-initial-destination-measurement.js} +15 -36
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +31 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +48 -32
- 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 +28 -30
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/providers/boundary-owner.provider.js +15 -11
- package/lib/commonjs/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
- package/lib/commonjs/shared/components/create-transition-aware-component.js +12 -7
- package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/shared/components/native-screen.js +2 -2
- package/lib/commonjs/shared/components/native-screen.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +3 -5
- package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/commonjs/shared/{utils/gesture → components/screen-container/helpers}/find-collapse-target.js +2 -2
- package/lib/commonjs/shared/components/screen-container/helpers/find-collapse-target.js.map +1 -0
- package/lib/commonjs/shared/components/screen-container/hooks/use-backdrop-pointer-events.js +15 -2
- package/lib/commonjs/shared/components/screen-container/hooks/use-backdrop-pointer-events.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js +7 -7
- 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 -8
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +2 -2
- package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +0 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +2 -0
- 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 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/commonjs/shared/configs/presets.js +5 -5
- package/lib/commonjs/shared/configs/presets.js.map +1 -1
- package/lib/commonjs/shared/configs/specs.js +2 -2
- package/lib/commonjs/shared/configs/specs.js.map +1 -1
- package/lib/commonjs/shared/constants.js +28 -7
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/hooks/reanimated/use-animated-debounce.js +3 -3
- package/lib/commonjs/shared/hooks/reanimated/use-animated-debounce.js.map +1 -1
- package/lib/commonjs/shared/hooks/reanimated/use-shared-value-ref.js +3 -3
- package/lib/commonjs/shared/hooks/reanimated/use-shared-value-ref.js.map +1 -1
- package/lib/commonjs/shared/hooks/reanimated/use-shared-value-state.js +1 -1
- package/lib/commonjs/shared/hooks/reanimated/use-shared-value-state.js.map +1 -1
- package/lib/commonjs/shared/hooks/use-stable-callback-value.js +3 -3
- package/lib/commonjs/shared/hooks/use-stable-callback-value.js.map +1 -1
- package/lib/commonjs/shared/index.js +1 -1
- package/lib/commonjs/shared/index.js.map +1 -1
- package/lib/commonjs/shared/providers/register-bounds.provider.js +8 -8
- package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +3 -0
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/build-screen-transition-options.js +31 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js +7 -27
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js +100 -46
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +58 -83
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +12 -6
- 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 +18 -9
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/activation/use-pan-activation.js +182 -0
- package/lib/commonjs/shared/providers/screen/gestures/activation/use-pan-activation.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/activation/use-pinch-activation.js +55 -0
- package/lib/commonjs/shared/providers/screen/gestures/activation/use-pinch-activation.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js +161 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js +78 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js +147 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js +52 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pan-behavior.js +64 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pan-behavior.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pinch-behavior.js +64 -0
- package/lib/commonjs/shared/providers/screen/gestures/behaviors/use-pinch-behavior.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/builders/use-build-pan-gesture.js +50 -0
- package/lib/commonjs/shared/providers/screen/gestures/builders/use-build-pan-gesture.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/builders/use-build-pinch-gesture.js +43 -0
- package/lib/commonjs/shared/providers/screen/gestures/builders/use-build-pinch-gesture.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js +64 -0
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js.map +1 -0
- package/lib/commonjs/shared/providers/{gestures → screen/gestures}/helpers/gesture-activation.js +20 -38
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-activation.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-directions.js +146 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-directions.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-physics.js +204 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-physics.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-reset.js +99 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-reset.js.map +1 -0
- package/lib/commonjs/shared/providers/{gestures → screen/gestures}/helpers/gesture-snap-points.js +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-snap-points.js.map +1 -0
- package/lib/commonjs/shared/providers/{gestures → screen/gestures}/helpers/gesture-targets.js +4 -24
- package/lib/commonjs/shared/providers/screen/gestures/helpers/gesture-targets.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/pan-phases.js +122 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/pan-phases.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/pinch-phases.js +89 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/pinch-phases.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js +21 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/runtime-options.js +134 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/runtime-options.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/validate-snap-points.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.js +23 -0
- package/lib/commonjs/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js +33 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js +85 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +105 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture.js +35 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.js +13 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.js +44 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.js +134 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.js +45 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-stable-runtime-config.js +45 -0
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-stable-runtime-config.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/index.js.map +1 -0
- package/lib/commonjs/shared/{utils/gesture → providers/screen/gestures/ownership}/compute-claimed-directions.js +14 -22
- package/lib/commonjs/shared/providers/screen/gestures/ownership/compute-claimed-directions.js.map +1 -0
- package/lib/commonjs/shared/{utils/gesture → providers/screen/gestures/ownership}/resolve-ownership.js +7 -7
- package/lib/commonjs/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js +18 -0
- package/lib/commonjs/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js +95 -0
- package/lib/commonjs/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/types.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/options/helpers.js +126 -0
- package/lib/commonjs/shared/providers/screen/options/helpers.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/options/index.js +26 -0
- package/lib/commonjs/shared/providers/screen/options/index.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/options/options.provider.js +37 -0
- package/lib/commonjs/shared/providers/screen/options/options.provider.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/options/types.js +6 -0
- package/lib/commonjs/shared/providers/screen/options/types.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/screen-composer.js +9 -6
- package/lib/commonjs/shared/providers/screen/screen-composer.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js +1 -2
- package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/constants.js +55 -5
- package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js +15 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +183 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +116 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/reset-values.js +28 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/reset-values.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/slot-state.js +125 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/slot-state.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/types.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/strip-interpolator-options.js +22 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/strip-interpolator-options.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +41 -2
- 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 +5 -0
- 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 +12 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-closing-route-map.js +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-closing-route-map.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/helpers/use-stack-derived.js +2 -2
- package/lib/commonjs/shared/providers/stack/helpers/use-stack-derived.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js +59 -0
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js +25 -0
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js +30 -0
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/helpers/keys.js +0 -17
- package/lib/commonjs/shared/stores/bounds/helpers/keys.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js +79 -0
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js +30 -0
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/index.js +15 -98
- package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/entries.js +44 -0
- package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/internals/groups.js +78 -3
- package/lib/commonjs/shared/stores/bounds/internals/groups.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +126 -0
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +18 -43
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js +1 -10
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/stores/gesture.store.js +31 -1
- package/lib/commonjs/shared/stores/gesture.store.js.map +1 -1
- package/lib/commonjs/shared/stores/scroll.store.js +22 -0
- package/lib/commonjs/shared/stores/scroll.store.js.map +1 -0
- package/lib/commonjs/shared/typecheck/public-api.typecheck.js +99 -46
- package/lib/commonjs/shared/typecheck/public-api.typecheck.js.map +1 -1
- package/lib/commonjs/shared/types/gesture.types.js +6 -6
- package/lib/commonjs/shared/types/gesture.types.js.map +1 -1
- package/lib/commonjs/shared/types/ownership.types.js +2 -2
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js +49 -34
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/emit.js +22 -0
- package/lib/commonjs/shared/utils/animation/emit.js.map +1 -0
- package/lib/commonjs/shared/utils/animation/resolve-snap-transition-spec.js +22 -0
- package/lib/commonjs/shared/utils/animation/resolve-snap-transition-spec.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +131 -0
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js +5 -5
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +48 -4
- 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 +3 -4
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/composers.js +4 -2
- package/lib/commonjs/shared/utils/bounds/helpers/styles/composers.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/index.js +34 -59
- package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/helpers.js +19 -0
- package/lib/commonjs/shared/utils/bounds/navigation/helpers.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/{zoom → navigation}/math.js +1 -40
- package/lib/commonjs/shared/utils/bounds/navigation/math.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +260 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js +29 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js +25 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/types.js +4 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/types.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/{zoom → navigation/zoom}/build.js +49 -147
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/{zoom → navigation/zoom}/config.js +1 -13
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/config.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/helpers.js +71 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/helpers.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/math.js +26 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/math.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/types.js +4 -0
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/types.js.map +1 -0
- package/lib/commonjs/shared/utils/resolve-chain-target.js +36 -0
- package/lib/commonjs/shared/utils/resolve-chain-target.js.map +1 -0
- package/lib/commonjs/shared/utils/resolve-screen-transition-options.js +1 -8
- package/lib/commonjs/shared/utils/resolve-screen-transition-options.js.map +1 -1
- package/lib/module/shared/animation/snap-to.js +4 -6
- package/lib/module/shared/animation/snap-to.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/components/boundary-target.js +5 -3
- package/lib/module/shared/components/create-boundary-component/components/boundary-target.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +14 -18
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/module/shared/{stores/bounds → components/create-boundary-component}/helpers/apply-measured-bounds-writes.js +8 -11
- package/lib/module/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +1 -1
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +23 -0
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +1 -138
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js +0 -6
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js +39 -0
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +1 -1
- 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-capture-destination-boundary.js → use-initial-destination-measurement.js} +13 -34
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +26 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +50 -34
- 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 +28 -30
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js +15 -11
- package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
- package/lib/module/shared/components/create-transition-aware-component.js +12 -7
- package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/shared/components/native-screen.js +2 -2
- package/lib/module/shared/components/native-screen.js.map +1 -1
- package/lib/module/shared/components/overlay/variations/overlay-host.js +3 -5
- package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/module/shared/{utils/gesture → components/screen-container/helpers}/find-collapse-target.js +2 -2
- package/lib/module/shared/components/screen-container/helpers/find-collapse-target.js.map +1 -0
- package/lib/module/shared/components/screen-container/hooks/use-backdrop-pointer-events.js +15 -2
- package/lib/module/shared/components/screen-container/hooks/use-backdrop-pointer-events.js.map +1 -1
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js +7 -7
- 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 -8
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +2 -2
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +0 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +2 -0
- 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 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/module/shared/configs/presets.js +5 -5
- package/lib/module/shared/configs/presets.js.map +1 -1
- package/lib/module/shared/configs/specs.js +2 -2
- package/lib/module/shared/configs/specs.js.map +1 -1
- package/lib/module/shared/constants.js +27 -6
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/hooks/reanimated/use-animated-debounce.js +3 -3
- package/lib/module/shared/hooks/reanimated/use-animated-debounce.js.map +1 -1
- package/lib/module/shared/hooks/reanimated/use-shared-value-ref.js +3 -3
- package/lib/module/shared/hooks/reanimated/use-shared-value-ref.js.map +1 -1
- package/lib/module/shared/hooks/reanimated/use-shared-value-state.js +1 -1
- package/lib/module/shared/hooks/reanimated/use-shared-value-state.js.map +1 -1
- package/lib/module/shared/hooks/use-stable-callback-value.js +3 -3
- package/lib/module/shared/hooks/use-stable-callback-value.js.map +1 -1
- package/lib/module/shared/index.js +1 -1
- package/lib/module/shared/index.js.map +1 -1
- package/lib/module/shared/providers/register-bounds.provider.js +5 -5
- package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js +3 -0
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/build-screen-transition-options.js +26 -0
- package/lib/module/shared/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js +5 -25
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js +100 -46
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +60 -85
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +12 -6
- 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 +18 -9
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/activation/use-pan-activation.js +177 -0
- package/lib/module/shared/providers/screen/gestures/activation/use-pan-activation.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/activation/use-pinch-activation.js +50 -0
- package/lib/module/shared/providers/screen/gestures/activation/use-pinch-activation.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js +157 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js +74 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js +143 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js +48 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/use-pan-behavior.js +59 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/use-pan-behavior.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/use-pinch-behavior.js +59 -0
- package/lib/module/shared/providers/screen/gestures/behaviors/use-pinch-behavior.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/builders/use-build-pan-gesture.js +45 -0
- package/lib/module/shared/providers/screen/gestures/builders/use-build-pan-gesture.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/builders/use-build-pinch-gesture.js +38 -0
- package/lib/module/shared/providers/screen/gestures/builders/use-build-pinch-gesture.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js +57 -0
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js.map +1 -0
- package/lib/module/shared/providers/{gestures → screen/gestures}/helpers/gesture-activation.js +20 -38
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-activation.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-directions.js +135 -0
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-directions.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-physics.js +189 -0
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-physics.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-reset.js +93 -0
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-reset.js.map +1 -0
- package/lib/module/shared/providers/{gestures → screen/gestures}/helpers/gesture-snap-points.js +0 -1
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-snap-points.js.map +1 -0
- package/lib/module/shared/providers/{gestures → screen/gestures}/helpers/gesture-targets.js +5 -25
- package/lib/module/shared/providers/screen/gestures/helpers/gesture-targets.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/pan-phases.js +115 -0
- package/lib/module/shared/providers/screen/gestures/helpers/pan-phases.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/pinch-phases.js +82 -0
- package/lib/module/shared/providers/screen/gestures/helpers/pinch-phases.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js +17 -0
- package/lib/module/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/runtime-options.js +124 -0
- package/lib/module/shared/providers/screen/gestures/helpers/runtime-options.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/validate-snap-points.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.js +19 -0
- package/lib/module/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js +28 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-builder-state.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js +78 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +101 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture.js +30 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.js +4 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.js +39 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.js +128 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.js +41 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-stable-runtime-config.js +41 -0
- package/lib/module/shared/providers/screen/gestures/hooks/use-stable-runtime-config.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/index.js.map +1 -0
- package/lib/module/shared/{utils/gesture → providers/screen/gestures/ownership}/compute-claimed-directions.js +14 -21
- package/lib/module/shared/providers/screen/gestures/ownership/compute-claimed-directions.js.map +1 -0
- package/lib/module/shared/{utils/gesture → providers/screen/gestures/ownership}/resolve-ownership.js +7 -7
- package/lib/module/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js +14 -0
- package/lib/module/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js +91 -0
- package/lib/module/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/types.js.map +1 -0
- package/lib/module/shared/providers/screen/options/helpers.js +119 -0
- package/lib/module/shared/providers/screen/options/helpers.js.map +1 -0
- package/lib/module/shared/providers/screen/options/index.js +5 -0
- package/lib/module/shared/providers/screen/options/index.js.map +1 -0
- package/lib/module/shared/providers/screen/options/options.provider.js +30 -0
- package/lib/module/shared/providers/screen/options/options.provider.js.map +1 -0
- package/lib/module/shared/providers/screen/options/types.js +4 -0
- package/lib/module/shared/providers/screen/options/types.js.map +1 -0
- package/lib/module/shared/providers/screen/screen-composer.js +9 -6
- package/lib/module/shared/providers/screen/screen-composer.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js +1 -2
- package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/constants.js +54 -4
- package/lib/module/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js +15 -0
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +178 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +111 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/reset-values.js +22 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/reset-values.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/slot-state.js +119 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/slot-state.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/types.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/strip-interpolator-options.js +17 -0
- package/lib/module/shared/providers/screen/styles/helpers/strip-interpolator-options.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +42 -2
- 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 +5 -0
- 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 +12 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -1
- package/lib/module/shared/providers/stack/helpers/use-closing-route-map.js +1 -1
- package/lib/module/shared/providers/stack/helpers/use-closing-route-map.js.map +1 -1
- package/lib/module/shared/providers/stack/helpers/use-stack-derived.js +2 -2
- package/lib/module/shared/providers/stack/helpers/use-stack-derived.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js +52 -0
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js.map +1 -0
- package/lib/module/shared/stores/bounds/helpers/find-latest.js +19 -0
- package/lib/module/shared/stores/bounds/helpers/find-latest.js.map +1 -0
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js +23 -0
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js.map +1 -0
- package/lib/module/shared/stores/bounds/helpers/keys.js +0 -16
- package/lib/module/shared/stores/bounds/helpers/keys.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js +69 -0
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js.map +1 -0
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js +24 -0
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js.map +1 -0
- package/lib/module/shared/stores/bounds/index.js +8 -91
- package/lib/module/shared/stores/bounds/index.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/entries.js +39 -0
- package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -0
- package/lib/module/shared/stores/bounds/internals/groups.js +76 -4
- package/lib/module/shared/stores/bounds/internals/groups.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +118 -0
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -0
- package/lib/module/shared/stores/bounds/internals/resolver.js +18 -43
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/state.js +0 -8
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/stores/gesture.store.js +31 -1
- package/lib/module/shared/stores/gesture.store.js.map +1 -1
- package/lib/module/shared/stores/scroll.store.js +18 -0
- package/lib/module/shared/stores/scroll.store.js.map +1 -0
- package/lib/module/shared/typecheck/public-api.typecheck.js +100 -47
- package/lib/module/shared/typecheck/public-api.typecheck.js.map +1 -1
- package/lib/module/shared/types/animation.types.js +25 -3
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/types/gesture.types.js +6 -5
- package/lib/module/shared/types/gesture.types.js.map +1 -1
- package/lib/module/shared/types/ownership.types.js +2 -2
- package/lib/module/shared/utils/animation/animate-to-progress.js +49 -34
- package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/shared/utils/animation/emit.js +17 -0
- package/lib/module/shared/utils/animation/emit.js.map +1 -0
- package/lib/module/shared/utils/animation/resolve-snap-transition-spec.js +17 -0
- package/lib/module/shared/utils/animation/resolve-snap-transition-spec.js.map +1 -0
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +126 -0
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -0
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +5 -5
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +48 -4
- 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 +3 -3
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/composers.js +4 -2
- package/lib/module/shared/utils/bounds/helpers/styles/composers.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/index.js +34 -59
- package/lib/module/shared/utils/bounds/index.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/helpers.js +13 -0
- package/lib/module/shared/utils/bounds/navigation/helpers.js.map +1 -0
- package/lib/module/shared/utils/bounds/{zoom → navigation}/math.js +9 -37
- package/lib/module/shared/utils/bounds/navigation/math.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js +256 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js +25 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js +20 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js.map +1 -0
- package/lib/module/shared/utils/bounds/{zoom → navigation/reveal}/types.js +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/types.js.map +1 -0
- package/lib/module/shared/utils/bounds/{zoom → navigation/zoom}/build.js +26 -124
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -0
- package/lib/module/shared/utils/bounds/{zoom → navigation/zoom}/config.js +0 -10
- package/lib/module/shared/utils/bounds/navigation/zoom/config.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/helpers.js +63 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/helpers.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/math.js +21 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/math.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/types.js +4 -0
- package/lib/module/shared/utils/bounds/navigation/zoom/types.js.map +1 -0
- package/lib/module/shared/utils/resolve-chain-target.js +32 -0
- package/lib/module/shared/utils/resolve-chain-target.js.map +1 -0
- package/lib/module/shared/utils/resolve-screen-transition-options.js +0 -6
- package/lib/module/shared/utils/resolve-screen-transition-options.js.map +1 -1
- package/lib/typescript/shared/animation/snap-to.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +2 -2
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/shared/{stores/bounds → components/create-boundary-component}/helpers/apply-measured-bounds-writes.d.ts +0 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts +22 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +1 -64
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts +0 -2
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.d.ts +6 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts +10 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts +7 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts +1 -1
- 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.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts +1 -1
- package/lib/typescript/shared/components/create-boundary-component/providers/boundary-owner.provider.d.ts +5 -4
- package/lib/typescript/shared/components/create-boundary-component/providers/boundary-owner.provider.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +0 -6
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/helpers/find-collapse-target.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-container/hooks/use-backdrop-pointer-events.d.ts +2 -1
- package/lib/typescript/shared/components/screen-container/hooks/use-backdrop-pointer-events.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-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts +6 -3
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/reanimated/use-animated-debounce.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +14 -14
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/build-screen-transition-options.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/build-screen-transition-options.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts +3 -7
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts +6 -3
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts +5 -1
- 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 +4 -3
- 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 +3 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/activation/use-pan-activation.d.ts +17 -0
- package/lib/typescript/shared/providers/screen/gestures/activation/use-pan-activation.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/activation/use-pinch-activation.d.ts +14 -0
- package/lib/typescript/shared/providers/screen/gestures/activation/use-pinch-activation.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/use-pan-behavior.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/use-pan-behavior.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/use-pinch-behavior.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/behaviors/use-pinch-behavior.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/builders/use-build-pan-gesture.d.ts +10 -0
- package/lib/typescript/shared/providers/screen/gestures/builders/use-build-pan-gesture.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/builders/use-build-pinch-gesture.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/gestures/builders/use-build-pinch-gesture.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/gestures.provider.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/gestures/gestures.provider.d.ts.map +1 -0
- package/lib/typescript/shared/providers/{gestures → screen/gestures}/helpers/gesture-activation.d.ts +9 -11
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-activation.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-directions.d.ts +18 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-directions.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-physics.d.ts +70 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-physics.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-reset.d.ts +20 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-reset.d.ts.map +1 -0
- package/lib/typescript/shared/providers/{gestures → screen/gestures}/helpers/gesture-snap-points.d.ts +0 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-snap-points.d.ts.map +1 -0
- package/lib/typescript/shared/providers/{gestures → screen/gestures}/helpers/gesture-targets.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/gesture-targets.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/pan-phases.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/pan-phases.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/pinch-phases.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/pinch-phases.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.d.ts +8 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/runtime-options.d.ts +9 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/runtime-options.d.ts.map +1 -0
- package/lib/typescript/shared/{utils/gesture → providers/screen/gestures/helpers}/validate-snap-points.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/helpers/validate-snap-points.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-gesture-builder-state.d.ts +21 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-gesture-builder-state.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.d.ts +17 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture.d.ts +17 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.d.ts.map +1 -0
- package/lib/typescript/shared/{hooks/gestures/use-scroll-registry.d.ts → providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.d.ts} +6 -17
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-stable-runtime-config.d.ts +8 -0
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-stable-runtime-config.d.ts.map +1 -0
- package/lib/typescript/shared/providers/{gestures → screen/gestures}/index.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/gestures/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/compute-claimed-directions.d.ts +19 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/compute-claimed-directions.d.ts.map +1 -0
- package/lib/typescript/shared/{utils/gesture → providers/screen/gestures/ownership}/resolve-ownership.d.ts +5 -5
- package/lib/typescript/shared/providers/screen/gestures/ownership/resolve-ownership.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.d.ts +6 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.d.ts +14 -0
- package/lib/typescript/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts +154 -0
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/options/helpers.d.ts +6 -0
- package/lib/typescript/shared/providers/screen/options/helpers.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/options/index.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/options/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/options/options.provider.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/options/options.provider.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/options/types.d.ts +29 -0
- package/lib/typescript/shared/providers/screen/options/types.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/screen-composer.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts +11 -21
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts +19 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts +14 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/reset-values.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/reset-values.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/slot-state.d.ts +14 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/slot-state.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/types.d.ts +8 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/types.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/strip-interpolator-options.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/strip-interpolator-options.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +25 -0
- 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/bounds/helpers/entries.helpers.d.ts +5 -0
- package/lib/typescript/shared/stores/bounds/helpers/entries.helpers.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts +3 -0
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts +10 -0
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/keys.d.ts +0 -2
- package/lib/typescript/shared/stores/bounds/helpers/keys.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts +16 -0
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts +5 -0
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/index.d.ts +7 -29
- package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts +6 -0
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts +14 -2
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/{registry.d.ts → links.d.ts} +4 -9
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts +0 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +8 -3
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/gesture.store.d.ts +20 -3
- package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/scroll.store.d.ts +12 -0
- package/lib/typescript/shared/stores/scroll.store.d.ts.map +1 -0
- package/lib/typescript/shared/types/animation.types.d.ts +51 -34
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +20 -1
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/gesture.types.d.ts +70 -5
- package/lib/typescript/shared/types/gesture.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +3 -3
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/types/ownership.types.d.ts +2 -2
- package/lib/typescript/shared/types/screen.types.d.ts +40 -5
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts +2 -1
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/emit.d.ts +7 -0
- package/lib/typescript/shared/utils/animation/emit.d.ts.map +1 -0
- package/lib/typescript/shared/utils/animation/resolve-snap-transition-spec.d.ts +4 -0
- package/lib/typescript/shared/utils/animation/resolve-snap-transition-spec.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts +2 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts +19 -0
- package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -0
- 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 +1 -8
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/composers.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/styles.d.ts +1 -4
- package/lib/typescript/shared/utils/bounds/helpers/styles/styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/helpers.d.ts +4 -0
- package/lib/typescript/shared/utils/bounds/navigation/helpers.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/math.d.ts +31 -0
- package/lib/typescript/shared/utils/bounds/navigation/math.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts +3 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts +18 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts +8 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/types.d.ts +11 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/types.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/build.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/{zoom → navigation/zoom}/config.d.ts +0 -3
- package/lib/typescript/shared/utils/bounds/navigation/zoom/config.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/helpers.d.ts +30 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/helpers.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/math.d.ts +9 -0
- package/lib/typescript/shared/utils/bounds/navigation/zoom/math.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/{zoom → navigation/zoom}/types.d.ts +2 -2
- package/lib/typescript/shared/utils/bounds/navigation/zoom/types.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +10 -1
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/resolve-chain-target.d.ts +11 -0
- package/lib/typescript/shared/utils/resolve-chain-target.d.ts.map +1 -0
- 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 +2 -38
- package/src/shared/animation/snap-to.ts +8 -6
- package/src/shared/components/create-boundary-component/components/boundary-target.tsx +10 -3
- package/src/shared/components/create-boundary-component/create-boundary-component.tsx +21 -21
- package/src/shared/{stores/bounds → components/create-boundary-component}/helpers/apply-measured-bounds-writes.ts +10 -12
- package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +1 -1
- package/src/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.ts +48 -0
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +1 -183
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement.ts +0 -18
- package/src/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.ts +58 -0
- package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +1 -1
- package/src/shared/components/create-boundary-component/hooks/{use-capture-destination-boundary.ts → use-initial-destination-measurement.ts} +18 -55
- package/src/shared/components/create-boundary-component/hooks/use-initial-source-measurement.ts +27 -0
- package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +66 -68
- package/src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts +54 -46
- package/src/shared/components/create-boundary-component/providers/boundary-owner.provider.tsx +41 -29
- package/src/shared/components/create-boundary-component/types.ts +0 -8
- package/src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts +0 -3
- package/src/shared/components/create-transition-aware-component.tsx +24 -10
- package/src/shared/components/native-screen.tsx +2 -2
- package/src/shared/components/overlay/variations/overlay-host.tsx +6 -5
- package/src/shared/{utils/gesture → components/screen-container/helpers}/find-collapse-target.ts +2 -2
- package/src/shared/components/screen-container/hooks/use-backdrop-pointer-events.ts +21 -1
- package/src/shared/components/screen-container/hooks/use-content-layout.ts +8 -8
- package/src/shared/components/screen-container/layers/backdrop.tsx +8 -10
- package/src/shared/components/screen-container/layers/content.tsx +2 -2
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +0 -1
- package/src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts +2 -0
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +1 -1
- package/src/shared/configs/presets.ts +5 -5
- package/src/shared/configs/specs.ts +2 -2
- package/src/shared/constants.ts +35 -5
- package/src/shared/hooks/reanimated/use-animated-debounce.ts +2 -5
- package/src/shared/hooks/reanimated/use-shared-value-ref.ts +3 -3
- package/src/shared/hooks/reanimated/use-shared-value-state.ts +1 -1
- package/src/shared/hooks/use-stable-callback-value.ts +3 -3
- package/src/shared/index.ts +5 -4
- package/src/shared/providers/register-bounds.provider.tsx +5 -6
- package/src/shared/providers/screen/animation/animation.provider.tsx +4 -0
- package/src/shared/providers/screen/animation/helpers/build-screen-transition-options.ts +47 -0
- package/src/shared/providers/screen/animation/helpers/derivations.ts +10 -23
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state.ts +222 -56
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +70 -92
- package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +13 -11
- package/src/shared/providers/screen/animation/types.ts +5 -5
- package/src/shared/providers/screen/animation/use-screen-animation.tsx +29 -10
- package/src/shared/providers/screen/gestures/activation/use-pan-activation.ts +244 -0
- package/src/shared/providers/screen/gestures/activation/use-pinch-activation.ts +72 -0
- package/src/shared/providers/screen/gestures/behaviors/strategies/pan-snap.strategy.ts +195 -0
- package/src/shared/providers/screen/gestures/behaviors/strategies/pan.strategy.ts +76 -0
- package/src/shared/providers/screen/gestures/behaviors/strategies/pinch-snap.strategy.ts +177 -0
- package/src/shared/providers/screen/gestures/behaviors/strategies/pinch.strategy.ts +73 -0
- package/src/shared/providers/screen/gestures/behaviors/use-pan-behavior.ts +100 -0
- package/src/shared/providers/screen/gestures/behaviors/use-pinch-behavior.ts +99 -0
- package/src/shared/providers/screen/gestures/builders/use-build-pan-gesture.ts +65 -0
- package/src/shared/providers/screen/gestures/builders/use-build-pinch-gesture.ts +48 -0
- package/src/shared/providers/screen/gestures/gestures.provider.tsx +84 -0
- package/src/shared/providers/{gestures → screen/gestures}/helpers/gesture-activation.ts +33 -48
- package/src/shared/providers/screen/gestures/helpers/gesture-directions.ts +205 -0
- package/src/shared/providers/{gestures → screen/gestures}/helpers/gesture-physics.ts +125 -51
- package/src/shared/providers/screen/gestures/helpers/gesture-reset.ts +158 -0
- package/src/shared/providers/{gestures → screen/gestures}/helpers/gesture-snap-points.ts +0 -2
- package/src/shared/providers/{gestures → screen/gestures}/helpers/gesture-targets.ts +14 -36
- package/src/shared/providers/screen/gestures/helpers/pan-phases.ts +124 -0
- package/src/shared/providers/screen/gestures/helpers/pinch-phases.ts +98 -0
- package/src/shared/providers/screen/gestures/helpers/resolve-can-track-gesture.ts +23 -0
- package/src/shared/providers/screen/gestures/helpers/runtime-options.ts +159 -0
- package/src/shared/{utils/gesture → providers/screen/gestures/helpers}/validate-snap-points.ts +1 -1
- package/src/shared/providers/screen/gestures/helpers/walk-gesture-ancestors.ts +27 -0
- package/src/shared/providers/screen/gestures/hooks/use-gesture-builder-state.ts +35 -0
- package/src/shared/providers/screen/gestures/hooks/use-gesture-sensitivity.ts +132 -0
- package/src/shared/providers/screen/gestures/hooks/use-screen-gesture-config.ts +160 -0
- package/src/shared/providers/screen/gestures/hooks/use-screen-gesture.ts +37 -0
- package/src/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/index.ts +1 -0
- package/src/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/update-scroll-gesture-state.ts +44 -0
- package/src/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/use-scroll-gesture-coordination.ts +180 -0
- package/src/shared/providers/screen/gestures/hooks/use-scroll-gesture-coordination/walk-up-scroll-gesture-coordination.ts +72 -0
- package/src/shared/providers/screen/gestures/hooks/use-stable-runtime-config.ts +53 -0
- package/src/shared/providers/{gestures → screen/gestures}/index.tsx +3 -1
- package/src/shared/{utils/gesture → providers/screen/gestures/ownership}/compute-claimed-directions.ts +24 -28
- package/src/shared/{utils/gesture → providers/screen/gestures/ownership}/resolve-ownership.ts +12 -9
- package/src/shared/providers/screen/gestures/ownership/should-defer-to-child-claim.ts +15 -0
- package/src/shared/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.ts +93 -0
- package/src/shared/providers/screen/gestures/types.ts +222 -0
- package/src/shared/providers/screen/options/helpers.ts +271 -0
- package/src/shared/providers/screen/options/index.ts +6 -0
- package/src/shared/providers/screen/options/options.provider.tsx +43 -0
- package/src/shared/providers/screen/options/types.ts +35 -0
- package/src/shared/providers/screen/screen-composer.tsx +11 -8
- package/src/shared/providers/screen/styles/components/maybe-floating-container.tsx +4 -4
- package/src/shared/providers/screen/styles/constants.ts +50 -4
- package/src/shared/providers/screen/styles/helpers/normalize-slots.ts +13 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +260 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.ts +155 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/reset-values.ts +23 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/slot-state.ts +146 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/types.ts +8 -0
- package/src/shared/providers/screen/styles/helpers/strip-interpolator-options.ts +17 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +54 -7
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +5 -0
- package/src/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.tsx +10 -0
- package/src/shared/providers/stack/helpers/use-closing-route-map.ts +1 -1
- package/src/shared/providers/stack/helpers/use-stack-derived.ts +2 -2
- package/src/shared/stores/bounds/helpers/entries.helpers.ts +74 -0
- package/src/shared/stores/bounds/helpers/find-latest.ts +22 -0
- package/src/shared/stores/bounds/helpers/groups.helpers.ts +27 -0
- package/src/shared/stores/bounds/helpers/keys.ts +0 -22
- package/src/shared/stores/bounds/helpers/link.helpers.ts +135 -0
- package/src/shared/stores/bounds/helpers/tag-state.helpers.ts +24 -0
- package/src/shared/stores/bounds/index.ts +13 -191
- package/src/shared/stores/bounds/internals/entries.ts +42 -0
- package/src/shared/stores/bounds/internals/groups.ts +99 -3
- package/src/shared/stores/bounds/internals/links.ts +183 -0
- package/src/shared/stores/bounds/internals/resolver.ts +40 -77
- package/src/shared/stores/bounds/internals/state.ts +0 -8
- package/src/shared/stores/bounds/types.ts +8 -3
- package/src/shared/stores/gesture.store.ts +54 -6
- package/src/shared/stores/scroll.store.ts +25 -0
- package/src/shared/typecheck/public-api.typecheck.ts +101 -51
- package/src/shared/types/animation.types.ts +71 -35
- package/src/shared/types/bounds.types.ts +28 -1
- package/src/shared/types/gesture.types.ts +89 -5
- package/src/shared/types/index.ts +6 -0
- package/src/shared/types/ownership.types.ts +2 -2
- package/src/shared/types/screen.types.ts +43 -6
- package/src/shared/utils/animation/animate-to-progress.ts +58 -39
- package/src/shared/utils/animation/emit.ts +18 -0
- package/src/shared/utils/animation/resolve-snap-transition-spec.ts +23 -0
- package/src/shared/utils/bounds/helpers/create-bound-tag.ts +1 -1
- package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +159 -0
- package/src/shared/utils/bounds/helpers/create-interpolators.ts +6 -6
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +64 -9
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +5 -3
- package/src/shared/utils/bounds/helpers/styles/composers.ts +5 -2
- package/src/shared/utils/bounds/helpers/styles/styles.ts +4 -9
- package/src/shared/utils/bounds/index.ts +28 -53
- package/src/shared/utils/bounds/navigation/helpers.ts +14 -0
- package/src/shared/utils/bounds/{zoom → navigation}/math.ts +10 -56
- package/src/shared/utils/bounds/navigation/reveal/build.ts +351 -0
- package/src/shared/utils/bounds/navigation/reveal/config.ts +26 -0
- package/src/shared/utils/bounds/navigation/reveal/math.ts +25 -0
- package/src/shared/utils/bounds/navigation/reveal/types.ts +18 -0
- package/src/shared/utils/bounds/{zoom → navigation/zoom}/build.ts +42 -193
- package/src/shared/utils/bounds/{zoom → navigation/zoom}/config.ts +0 -14
- package/src/shared/utils/bounds/navigation/zoom/helpers.ts +116 -0
- package/src/shared/utils/bounds/navigation/zoom/math.ts +27 -0
- package/src/shared/utils/bounds/{zoom → navigation/zoom}/types.ts +2 -2
- package/src/shared/utils/bounds/types/options.ts +8 -1
- package/src/shared/utils/resolve-chain-target.ts +46 -0
- package/src/shared/utils/resolve-screen-transition-options.ts +0 -13
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +0 -40
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +0 -1
- package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js +0 -49
- package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js.map +0 -1
- package/lib/commonjs/shared/hooks/gestures/types.js.map +0 -1
- package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js +0 -30
- package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js.map +0 -1
- package/lib/commonjs/shared/hooks/gestures/use-scroll-registry.js +0 -219
- package/lib/commonjs/shared/hooks/gestures/use-scroll-registry.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/gestures.provider.js +0 -94
- package/lib/commonjs/shared/providers/gestures/gestures.provider.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js +0 -447
- package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-activation.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-claims.js +0 -27
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-claims.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-directions.js +0 -56
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-directions.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-physics.js +0 -144
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-physics.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-reset.js +0 -78
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-reset.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-snap-points.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/gesture-targets.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/helpers/register-direction-claims.js +0 -74
- package/lib/commonjs/shared/providers/gestures/helpers/register-direction-claims.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/index.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/types.js.map +0 -1
- package/lib/commonjs/shared/providers/gestures/use-build-gestures.js +0 -111
- package/lib/commonjs/shared/providers/gestures/use-build-gestures.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles.js +0 -137
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +0 -49
- package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/internals/registry.js +0 -352
- package/lib/commonjs/shared/stores/bounds/internals/registry.js.map +0 -1
- package/lib/commonjs/shared/utils/animation/animate-many.js +0 -32
- package/lib/commonjs/shared/utils/animation/animate-many.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/zoom/config.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/zoom/math.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/zoom/types.js +0 -4
- package/lib/commonjs/shared/utils/bounds/zoom/types.js.map +0 -1
- package/lib/commonjs/shared/utils/gesture/compute-claimed-directions.js.map +0 -1
- package/lib/commonjs/shared/utils/gesture/find-collapse-target.js.map +0 -1
- package/lib/commonjs/shared/utils/gesture/resolve-ownership.js.map +0 -1
- package/lib/commonjs/shared/utils/gesture/validate-snap-points.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +0 -35
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +0 -1
- package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js +0 -45
- package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js.map +0 -1
- package/lib/module/shared/hooks/gestures/types.js.map +0 -1
- package/lib/module/shared/hooks/gestures/use-screen-gesture.js +0 -25
- package/lib/module/shared/hooks/gestures/use-screen-gesture.js.map +0 -1
- package/lib/module/shared/hooks/gestures/use-scroll-registry.js +0 -214
- package/lib/module/shared/hooks/gestures/use-scroll-registry.js.map +0 -1
- package/lib/module/shared/providers/gestures/gestures.provider.js +0 -87
- package/lib/module/shared/providers/gestures/gestures.provider.js.map +0 -1
- package/lib/module/shared/providers/gestures/handlers/use-handlers.js +0 -441
- package/lib/module/shared/providers/gestures/handlers/use-handlers.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-activation.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-claims.js +0 -23
- package/lib/module/shared/providers/gestures/helpers/gesture-claims.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-directions.js +0 -47
- package/lib/module/shared/providers/gestures/helpers/gesture-directions.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-physics.js +0 -134
- package/lib/module/shared/providers/gestures/helpers/gesture-physics.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-reset.js +0 -73
- package/lib/module/shared/providers/gestures/helpers/gesture-reset.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-snap-points.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/gesture-targets.js.map +0 -1
- package/lib/module/shared/providers/gestures/helpers/register-direction-claims.js +0 -70
- package/lib/module/shared/providers/gestures/helpers/register-direction-claims.js.map +0 -1
- package/lib/module/shared/providers/gestures/index.js.map +0 -1
- package/lib/module/shared/providers/gestures/types.js.map +0 -1
- package/lib/module/shared/providers/gestures/use-build-gestures.js +0 -106
- package/lib/module/shared/providers/gestures/use-build-gestures.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles.js +0 -132
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/module/shared/stores/bounds/internals/registry.js +0 -339
- package/lib/module/shared/stores/bounds/internals/registry.js.map +0 -1
- package/lib/module/shared/utils/animation/animate-many.js +0 -27
- package/lib/module/shared/utils/animation/animate-many.js.map +0 -1
- package/lib/module/shared/utils/bounds/zoom/build.js.map +0 -1
- package/lib/module/shared/utils/bounds/zoom/config.js.map +0 -1
- package/lib/module/shared/utils/bounds/zoom/math.js.map +0 -1
- package/lib/module/shared/utils/bounds/zoom/types.js.map +0 -1
- package/lib/module/shared/utils/gesture/compute-claimed-directions.js.map +0 -1
- package/lib/module/shared/utils/gesture/find-collapse-target.js.map +0 -1
- package/lib/module/shared/utils/gesture/resolve-ownership.js.map +0 -1
- package/lib/module/shared/utils/gesture/validate-snap-points.js.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts +0 -13
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts +0 -10
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts.map +0 -1
- package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts +0 -10
- package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts.map +0 -1
- package/lib/typescript/shared/hooks/gestures/types.d.ts +0 -4
- package/lib/typescript/shared/hooks/gestures/types.d.ts.map +0 -1
- package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts +0 -17
- package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts.map +0 -1
- package/lib/typescript/shared/hooks/gestures/use-scroll-registry.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/gestures.provider.d.ts +0 -19
- package/lib/typescript/shared/providers/gestures/gestures.provider.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts +0 -71
- package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-activation.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-claims.d.ts +0 -15
- package/lib/typescript/shared/providers/gestures/helpers/gesture-claims.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-directions.d.ts +0 -13
- package/lib/typescript/shared/providers/gestures/helpers/gesture-directions.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-physics.d.ts +0 -42
- package/lib/typescript/shared/providers/gestures/helpers/gesture-physics.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-reset.d.ts +0 -18
- package/lib/typescript/shared/providers/gestures/helpers/gesture-reset.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-snap-points.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/gesture-targets.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/helpers/register-direction-claims.d.ts +0 -9
- package/lib/typescript/shared/providers/gestures/helpers/register-direction-claims.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/index.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/types.d.ts +0 -36
- package/lib/typescript/shared/providers/gestures/types.d.ts.map +0 -1
- package/lib/typescript/shared/providers/gestures/use-build-gestures.d.ts +0 -28
- package/lib/typescript/shared/providers/gestures/use-build-gestures.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles.d.ts +0 -17
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/apply-measured-bounds-writes.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/internals/registry.d.ts.map +0 -1
- package/lib/typescript/shared/utils/animation/animate-many.d.ts +0 -13
- package/lib/typescript/shared/utils/animation/animate-many.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/zoom/config.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/zoom/math.d.ts +0 -61
- package/lib/typescript/shared/utils/bounds/zoom/math.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts.map +0 -1
- package/lib/typescript/shared/utils/gesture/compute-claimed-directions.d.ts +0 -23
- package/lib/typescript/shared/utils/gesture/compute-claimed-directions.d.ts.map +0 -1
- package/lib/typescript/shared/utils/gesture/find-collapse-target.d.ts.map +0 -1
- package/lib/typescript/shared/utils/gesture/resolve-ownership.d.ts.map +0 -1
- package/lib/typescript/shared/utils/gesture/validate-snap-points.d.ts.map +0 -1
- package/src/shared/components/create-boundary-component/hooks/use-capture-source-boundary.ts +0 -40
- package/src/shared/hooks/gestures/resolve-screen-gesture-target.ts +0 -66
- package/src/shared/hooks/gestures/types.ts +0 -5
- package/src/shared/hooks/gestures/use-screen-gesture.ts +0 -26
- package/src/shared/hooks/gestures/use-scroll-registry.ts +0 -265
- package/src/shared/providers/gestures/gestures.provider.tsx +0 -127
- package/src/shared/providers/gestures/handlers/use-handlers.ts +0 -598
- package/src/shared/providers/gestures/helpers/gesture-claims.ts +0 -24
- package/src/shared/providers/gestures/helpers/gesture-directions.ts +0 -97
- package/src/shared/providers/gestures/helpers/gesture-reset.ts +0 -112
- package/src/shared/providers/gestures/helpers/register-direction-claims.ts +0 -84
- package/src/shared/providers/gestures/types.ts +0 -45
- package/src/shared/providers/gestures/use-build-gestures.ts +0 -164
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles.ts +0 -190
- package/src/shared/stores/bounds/internals/registry.ts +0 -473
- package/src/shared/utils/animation/animate-many.ts +0 -40
- /package/lib/commonjs/shared/{utils/gesture → providers/screen/gestures/helpers}/validate-snap-points.js +0 -0
- /package/lib/commonjs/shared/providers/{gestures → screen/gestures}/index.js +0 -0
- /package/lib/commonjs/shared/providers/{gestures → screen/gestures}/types.js +0 -0
- /package/lib/commonjs/shared/{hooks/gestures → providers/screen/styles/helpers/resolve-slot-styles}/types.js +0 -0
- /package/lib/module/shared/{utils/gesture → providers/screen/gestures/helpers}/validate-snap-points.js +0 -0
- /package/lib/module/shared/providers/{gestures → screen/gestures}/index.js +0 -0
- /package/lib/module/shared/providers/{gestures → screen/gestures}/types.js +0 -0
- /package/lib/module/shared/{hooks/gestures → providers/screen/styles/helpers/resolve-slot-styles}/types.js +0 -0
- /package/lib/typescript/shared/{utils/gesture → components/screen-container/helpers}/find-collapse-target.d.ts +0 -0
- /package/lib/typescript/shared/utils/bounds/{zoom → navigation/zoom}/build.d.ts +0 -0
package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACX,qCAAqC,EAErC,MAAM,mCAAmC,CAAC;AAW3C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,wBAAwB,6FAyFpC,CAAC"}
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO;;;;;;;
|
|
1
|
+
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO;;;;;;;CA8ClE,CAAC"}
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-resolved-slot-style-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-resolved-slot-style-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAO/F,UAAU,0BAA0B;IACnC,gBAAgB,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;IACrE,iBAAiB,CAAC,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CACvE;AAED,eAAO,MAAM,oBAAoB,GAAI,0CAGlC,0BAA0B,0FA4B5B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { EntryPatch, ScreenEntry, ScreenKey, TagState } from "../types";
|
|
2
|
+
export declare const ensureScreenEntry: (tagState: TagState, screenKey: ScreenKey) => ScreenEntry;
|
|
3
|
+
export declare const applyEntryPatch: (entry: ScreenEntry, patch: EntryPatch) => void;
|
|
4
|
+
export declare const findMatchingScreenEntry: (tagState: TagState | undefined, screenKey: ScreenKey) => ScreenEntry | null;
|
|
5
|
+
//# sourceMappingURL=entries.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entries.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/entries.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAe7E,eAAO,MAAM,iBAAiB,GAC7B,UAAU,QAAQ,EAClB,WAAW,SAAS,KAClB,WASF,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,WAAW,EAAE,OAAO,UAAU,SAsBpE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,QAAQ,GAAG,SAAS,EAC9B,WAAW,SAAS,KAClB,WAAW,GAAG,IAiBhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-latest.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/find-latest.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,CAAC,EAChC,OAAO,SAAS,CAAC,EAAE,EACnB,SAAS,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,KAC3B,MASF,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,EAC3B,OAAO,SAAS,CAAC,EAAE,EACnB,SAAS,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,KAC3B,CAAC,GAAG,IAIN,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TagID } from "../types";
|
|
2
|
+
type GroupTag = {
|
|
3
|
+
group: string;
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const parseGroupTag: (tag: string) => GroupTag | null;
|
|
7
|
+
export declare const createGroupTag: (group: string, id: string) => TagID;
|
|
8
|
+
export declare const getGroupName: (tagOrGroup: string) => string;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=groups.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/groups.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,KAAK,QAAQ,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,KAAG,QAAQ,GAAG,IAStD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,EAAE,IAAI,MAAM,KAAG,KAG1D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,YAAY,MAAM,KAAG,MAGjD,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import type { ScreenIdentifier, ScreenKey } from "../types";
|
|
2
|
-
export declare function collectIdentifierKeys(identifier: ScreenIdentifier | null | undefined): ScreenKey[];
|
|
3
1
|
export declare const hasAnyKeys: (record: Record<string, unknown>) => boolean;
|
|
4
2
|
//# sourceMappingURL=keys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/keys.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAMzD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ScreenKey, TagLink } from "../types";
|
|
2
|
+
type LinkSide = "source" | "destination";
|
|
3
|
+
export declare const isSameScreenFamily: (a: {
|
|
4
|
+
screenKey: ScreenKey;
|
|
5
|
+
ancestorKeys?: ScreenKey[];
|
|
6
|
+
}, b: {
|
|
7
|
+
screenKey: ScreenKey;
|
|
8
|
+
ancestorKeys?: ScreenKey[];
|
|
9
|
+
}) => boolean;
|
|
10
|
+
export declare function findLatestPendingSourceLinkIndex(stack: TagLink[], expectedSourceScreenKey?: ScreenKey): number;
|
|
11
|
+
export declare function selectSourceUpdateTargetIndex(stack: TagLink[], screenKey: ScreenKey): number;
|
|
12
|
+
export declare function findLinkIndexForDestinationWrite(stack: TagLink[], destinationScreenKey?: ScreenKey, expectedSourceScreenKey?: ScreenKey): number;
|
|
13
|
+
export declare function hasLinkSide(stack: TagLink[] | undefined, screenKey: ScreenKey, side: LinkSide): boolean;
|
|
14
|
+
export declare function isCompletedLinkForScreenKey(link: TagLink, screenKey: ScreenKey): boolean;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=link.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/link.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAInD,KAAK,QAAQ,GAAG,QAAQ,GAAG,aAAa,CAAC;AAEzC,eAAO,MAAM,kBAAkB,GAC9B,GAAG;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,EACvD,GAAG;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,KACrD,OAOF,CAAC;AAEF,wBAAgB,gCAAgC,CAC/C,KAAK,EAAE,OAAO,EAAE,EAChB,uBAAuB,CAAC,EAAE,SAAS,GACjC,MAAM,CASR;AAyCD,wBAAgB,6BAA6B,CAC5C,KAAK,EAAE,OAAO,EAAE,EAChB,SAAS,EAAE,SAAS,GAClB,MAAM,CAQR;AAED,wBAAgB,gCAAgC,CAC/C,KAAK,EAAE,OAAO,EAAE,EAChB,oBAAoB,CAAC,EAAE,SAAS,EAChC,uBAAuB,CAAC,EAAE,SAAS,GACjC,MAAM,CAmBR;AAED,wBAAgB,WAAW,CAC1B,KAAK,EAAE,OAAO,EAAE,GAAG,SAAS,EAC5B,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,QAAQ,GACZ,OAAO,CAST;AAED,wBAAgB,2BAA2B,CAC1C,IAAI,EAAE,OAAO,EACb,SAAS,EAAE,SAAS,GAClB,OAAO,CAOT"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { RegistryState } from "../internals/state";
|
|
2
|
+
import type { TagID, TagState } from "../types";
|
|
3
|
+
export declare const ensureTagState: (state: RegistryState, tag: TagID) => TagState;
|
|
4
|
+
export declare const pruneTagState: (state: RegistryState, tag: TagID) => void;
|
|
5
|
+
//# sourceMappingURL=tag-state.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-state.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/tag-state.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGhD,eAAO,MAAM,cAAc,GAAI,OAAO,aAAa,EAAE,KAAK,KAAK,KAAG,QASjE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,aAAa,EAAE,KAAK,KAAK,SAQ7D,CAAC"}
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
|
|
2
1
|
import { clear, clearByAncestor, clearByBranch } from "./internals/clear";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { getEntry, removeEntry, setEntry } from "./internals/entries";
|
|
3
|
+
import { getGroupActiveId, getGroupInitialId, setGroupActiveId, setGroupInitialId } from "./internals/groups";
|
|
4
|
+
import { getMatchedLink, getPendingLink, hasDestinationLink, hasSourceLink, setDestination, setSource } from "./internals/links";
|
|
5
5
|
import { resolveTransitionPair } from "./internals/resolver";
|
|
6
|
-
import type {
|
|
6
|
+
import type { MeasuredEntry } from "./types";
|
|
7
7
|
export type { BoundaryConfig, Entry, EntryPatch, MeasuredEntry, ResolvedTransitionPair, ResolveTransitionContext, } from "./types";
|
|
8
8
|
export type Snapshot = MeasuredEntry;
|
|
9
9
|
export declare const BoundStore: {
|
|
10
10
|
entry: {
|
|
11
11
|
set: typeof setEntry;
|
|
12
12
|
get: typeof getEntry;
|
|
13
|
-
getMeasured: typeof getMeasuredEntry;
|
|
14
|
-
getConfig: typeof getEntryConfig;
|
|
15
13
|
remove: typeof removeEntry;
|
|
16
14
|
};
|
|
17
15
|
link: {
|
|
18
16
|
setSource: typeof setSource;
|
|
19
17
|
setDestination: typeof setDestination;
|
|
20
|
-
|
|
18
|
+
getMatched: typeof getMatchedLink;
|
|
21
19
|
getPair: typeof resolveTransitionPair;
|
|
22
20
|
getPending: typeof getPendingLink;
|
|
23
21
|
hasSource: typeof hasSourceLink;
|
|
@@ -25,34 +23,14 @@ export declare const BoundStore: {
|
|
|
25
23
|
};
|
|
26
24
|
group: {
|
|
27
25
|
setActiveId: typeof setGroupActiveId;
|
|
26
|
+
setInitialId: typeof setGroupInitialId;
|
|
28
27
|
getActiveId: typeof getGroupActiveId;
|
|
28
|
+
getInitialId: typeof getGroupInitialId;
|
|
29
29
|
};
|
|
30
30
|
cleanup: {
|
|
31
31
|
byScreen: typeof clear;
|
|
32
32
|
byAncestor: typeof clearByAncestor;
|
|
33
33
|
byBranch: typeof clearByBranch;
|
|
34
34
|
};
|
|
35
|
-
registerSnapshot: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
|
|
36
|
-
getSnapshot: typeof getMeasuredEntry;
|
|
37
|
-
setLinkSource: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
|
|
38
|
-
updateLinkSource: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
|
|
39
|
-
setLinkDestination: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], expectedSourceScreenKey?: ScreenKey, navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
|
|
40
|
-
updateLinkDestination: (tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], expectedSourceScreenKey?: ScreenKey, navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
|
|
41
|
-
getActiveLink: typeof getActiveLink;
|
|
42
|
-
resolveTransitionPair: typeof resolveTransitionPair;
|
|
43
|
-
hasPendingLink: (tag: TagID) => boolean;
|
|
44
|
-
hasPendingLinkFromSource: (tag: TagID, sourceScreenKey: ScreenKey) => boolean;
|
|
45
|
-
getLatestPendingSourceScreenKey: (tag: TagID) => ScreenKey | null;
|
|
46
|
-
hasSourceLink: typeof hasSourceLink;
|
|
47
|
-
hasDestinationLink: typeof hasDestinationLink;
|
|
48
|
-
registerBoundaryPresence: (tag: TagID, screenKey: ScreenKey, ancestorKeys?: ScreenKey[], boundaryConfig?: BoundaryConfig, navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]) => void;
|
|
49
|
-
unregisterBoundaryPresence: (tag: TagID, screenKey: ScreenKey) => void;
|
|
50
|
-
hasBoundaryPresence: (tag: TagID, screenKey: ScreenKey) => boolean;
|
|
51
|
-
getBoundaryConfig: typeof getEntryConfig;
|
|
52
|
-
setGroupActiveId: typeof setGroupActiveId;
|
|
53
|
-
getGroupActiveId: typeof getGroupActiveId;
|
|
54
|
-
clear: typeof clear;
|
|
55
|
-
clearByAncestor: typeof clearByAncestor;
|
|
56
|
-
clearByBranch: typeof clearByBranch;
|
|
57
35
|
};
|
|
58
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACN,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACN,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,SAAS,EACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,YAAY,EACX,cAAc,EACd,KAAK,EACL,UAAU,EACV,aAAa,EACb,sBAAsB,EACtB,wBAAwB,GACxB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,QAAQ,GAAG,aAAa,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EntryPatch, ScreenEntry, ScreenKey, TagID } from "../types";
|
|
2
|
+
declare function getEntry(tag: TagID, key: ScreenKey): ScreenEntry | null;
|
|
3
|
+
declare function setEntry(tag: TagID, screenKey: ScreenKey, patch: EntryPatch): void;
|
|
4
|
+
declare function removeEntry(tag: TagID, screenKey: ScreenKey): void;
|
|
5
|
+
export { getEntry, removeEntry, setEntry };
|
|
6
|
+
//# sourceMappingURL=entries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/entries.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAG1E,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,GAAG,WAAW,GAAG,IAAI,CAGhE;AAED,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,QASpE;AAED,iBAAS,WAAW,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,QAcpD;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
import type { ScreenKey, TagID, TagLink } from "../types";
|
|
2
|
+
type ResolveGroupLinkParams = {
|
|
3
|
+
tag: TagID;
|
|
4
|
+
screenKey?: ScreenKey;
|
|
5
|
+
};
|
|
6
|
+
type ResolvedGroupLink = {
|
|
7
|
+
tag: TagID;
|
|
8
|
+
link: TagLink | null;
|
|
9
|
+
};
|
|
1
10
|
declare function setGroupActiveId(group: string, id: string): void;
|
|
2
|
-
declare function
|
|
3
|
-
|
|
11
|
+
declare function setGroupInitialId(group: string, id: string): void;
|
|
12
|
+
declare function getGroupActiveId(tagOrGroup: string): string | null;
|
|
13
|
+
declare function getGroupInitialId(tagOrGroup: string): string | null;
|
|
14
|
+
declare function resolveGroupLink({ tag, screenKey, }: ResolveGroupLinkParams): ResolvedGroupLink;
|
|
15
|
+
export { getGroupActiveId, getGroupInitialId, resolveGroupLink, setGroupActiveId, setGroupInitialId, };
|
|
4
16
|
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/groups.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/groups.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAI1D,KAAK,sBAAsB,GAAG;IAC7B,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACxB,GAAG,EAAE,KAAK,CAAC;IACX,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAYlD;AAED,iBAAS,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAWnD;AAED,iBAAS,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG3D;AAED,iBAAS,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG5D;AAGD,iBAAS,gBAAgB,CAAC,EACzB,GAAG,EACH,SAAS,GACT,EAAE,sBAAsB,GAAG,iBAAiB,CA+C5C;AAED,OAAO,EACN,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACjB,CAAC"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
|
|
2
|
-
import type {
|
|
2
|
+
import type { NavigatorKey, ScreenKey, TagID, TagLink } from "../types";
|
|
3
3
|
type LinkSourceWriteMode = "capture" | "refresh";
|
|
4
4
|
type LinkDestinationWriteMode = "attach" | "refresh";
|
|
5
|
-
declare function getEntry(tag: TagID, key: ScreenKey): ScreenEntry | null;
|
|
6
|
-
declare function getMeasuredEntry(tag: TagID, key: ScreenKey): MeasuredEntry | null;
|
|
7
|
-
declare function getEntryConfig(tag: TagID, screenKey: ScreenKey): BoundaryConfig | null;
|
|
8
|
-
declare function setEntry(tag: TagID, screenKey: ScreenKey, patch: EntryPatch): void;
|
|
9
|
-
declare function removeEntry(tag: TagID, screenKey: ScreenKey): void;
|
|
10
5
|
declare function setSource(mode: LinkSourceWriteMode, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]): void;
|
|
11
6
|
declare function setDestination(mode: LinkDestinationWriteMode, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, ancestorKeys?: ScreenKey[], expectedSourceScreenKey?: ScreenKey, navigatorKey?: NavigatorKey, ancestorNavigatorKeys?: NavigatorKey[]): void;
|
|
12
|
-
declare function
|
|
7
|
+
declare function getMatchedLink(tag: TagID, screenKey?: ScreenKey): TagLink | null;
|
|
13
8
|
declare function getPendingLink(tag: TagID, sourceScreenKey?: ScreenKey): TagLink | null;
|
|
14
9
|
declare function hasSourceLink(tag: TagID, screenKey: ScreenKey): boolean;
|
|
15
10
|
declare function hasDestinationLink(tag: TagID, screenKey: ScreenKey): boolean;
|
|
16
|
-
export {
|
|
17
|
-
//# sourceMappingURL=
|
|
11
|
+
export { getMatchedLink, getPendingLink, hasDestinationLink, hasSourceLink, setDestination, setSource, };
|
|
12
|
+
//# sourceMappingURL=links.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAU9E,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxE,KAAK,mBAAmB,GAAG,SAAS,GAAG,SAAS,CAAC;AACjD,KAAK,wBAAwB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAErD,iBAAS,SAAS,CACjB,IAAI,EAAE,mBAAmB,EACzB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,YAAY,CAAC,EAAE,SAAS,EAAE,EAC1B,YAAY,CAAC,EAAE,YAAY,EAC3B,qBAAqB,CAAC,EAAE,YAAY,EAAE,QAuDtC;AAED,iBAAS,cAAc,CACtB,IAAI,EAAE,wBAAwB,EAC9B,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,YAAY,CAAC,EAAE,SAAS,EAAE,EAC1B,uBAAuB,CAAC,EAAE,SAAS,EACnC,YAAY,CAAC,EAAE,YAAY,EAC3B,qBAAqB,CAAC,EAAE,YAAY,EAAE,QAiCtC;AAED,iBAAS,cAAc,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,IAAI,CAqBzE;AAED,iBAAS,cAAc,CACtB,GAAG,EAAE,KAAK,EACV,eAAe,CAAC,EAAE,SAAS,GACzB,OAAO,GAAG,IAAI,CAYhB;AAED,iBAAS,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAGhE;AAED,iBAAS,kBAAkB,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAGrE;AAED,OAAO,EACN,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,SAAS,GACT,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACX,sBAAsB,EACtB,wBAAwB,EAExB,KAAK,EAEL,MAAM,UAAU,CAAC;AAoElB,iBAAS,qBAAqB,CAC7B,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,wBAAwB,GAC/B,sBAAsB,CA2BxB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { GroupState, TagID, TagState } from "../types";
|
|
2
|
-
export declare const createEmptyTagState: () => TagState;
|
|
3
2
|
export type RegistryState = Record<TagID, TagState>;
|
|
4
3
|
export type GroupsState = Record<string, GroupState>;
|
|
5
4
|
export declare const registry: import("react-native-reanimated/lib/typescript/commonTypes").Mutable<RegistryState>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAErD,eAAO,MAAM,QAAQ,qFAAiC,CAAC;AACvD,eAAO,MAAM,MAAM,mFAA+B,CAAC"}
|
|
@@ -17,7 +17,6 @@ export type Entry = {
|
|
|
17
17
|
ancestorKeys?: ScreenKey[];
|
|
18
18
|
navigatorKey?: NavigatorKey;
|
|
19
19
|
ancestorNavigatorKeys?: NavigatorKey[];
|
|
20
|
-
presenceCount?: number;
|
|
21
20
|
};
|
|
22
21
|
export type MeasuredEntry = Entry & {
|
|
23
22
|
bounds: MeasuredDimensions;
|
|
@@ -29,7 +28,6 @@ export type EntryPatch = {
|
|
|
29
28
|
ancestorKeys?: ScreenKey[] | null;
|
|
30
29
|
navigatorKey?: NavigatorKey | null;
|
|
31
30
|
ancestorNavigatorKeys?: NavigatorKey[] | null;
|
|
32
|
-
presenceCount?: number | null;
|
|
33
31
|
};
|
|
34
32
|
export type ScreenIdentifier = {
|
|
35
33
|
screenKey: ScreenKey;
|
|
@@ -39,7 +37,12 @@ export type ScreenIdentifier = {
|
|
|
39
37
|
};
|
|
40
38
|
export type TagLink = {
|
|
41
39
|
source: ScreenIdentifier & MeasuredEntry;
|
|
40
|
+
/** Destination side once attached; null while the source is still pending. */
|
|
42
41
|
destination: (ScreenIdentifier & MeasuredEntry) | null;
|
|
42
|
+
/** First captured source side exposed for public link inspection. */
|
|
43
|
+
initialSource?: ScreenIdentifier & MeasuredEntry;
|
|
44
|
+
/** First attached destination side, used to compensate reveal closes after destination refreshes. */
|
|
45
|
+
initialDestination?: ScreenIdentifier & MeasuredEntry;
|
|
43
46
|
};
|
|
44
47
|
export type ResolveTransitionContext = {
|
|
45
48
|
currentScreenKey?: ScreenKey;
|
|
@@ -54,7 +57,6 @@ export type ResolvedTransitionPair = {
|
|
|
54
57
|
destinationStyles: StyleProps | null;
|
|
55
58
|
sourceScreenKey: ScreenKey | null;
|
|
56
59
|
destinationScreenKey: ScreenKey | null;
|
|
57
|
-
usedPending: boolean;
|
|
58
60
|
};
|
|
59
61
|
export type ScreenEntry = Entry;
|
|
60
62
|
export type TagState = {
|
|
@@ -62,6 +64,9 @@ export type TagState = {
|
|
|
62
64
|
linkStack: TagLink[];
|
|
63
65
|
};
|
|
64
66
|
export type GroupState = {
|
|
67
|
+
/** Latest requested group member id from mounted grouped bounds. */
|
|
65
68
|
activeId: string;
|
|
69
|
+
/** Group member id that started the current linked transition. */
|
|
70
|
+
initialId?: string;
|
|
66
71
|
};
|
|
67
72
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EACX,YAAY,EACZ,eAAe,EACf,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAC3B,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAC/B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,kBAAkB,CAAC;IACrD,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IACnB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,UAAU,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,qBAAqB,CAAC,EAAE,YAAY,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EACX,YAAY,EACZ,eAAe,EACf,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAC3B,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAC/B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,kBAAkB,CAAC;IACrD,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IACnB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,UAAU,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,qBAAqB,CAAC,EAAE,YAAY,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG;IACnC,MAAM,EAAE,kBAAkB,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,MAAM,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC3B,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACnC,qBAAqB,CAAC,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,qBAAqB,CAAC,EAAE,YAAY,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,gBAAgB,GAAG,aAAa,CAAC;IACzC,8EAA8E;IAC9E,WAAW,EAAE,CAAC,gBAAgB,GAAG,aAAa,CAAC,GAAG,IAAI,CAAC;IACvD,qEAAqE;IACrE,aAAa,CAAC,EAAE,gBAAgB,GAAG,aAAa,CAAC;IACjD,qGAAqG;IACrG,kBAAkB,CAAC,EAAE,gBAAgB,GAAG,aAAa,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACtC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC,YAAY,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACxC,iBAAiB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7C,YAAY,EAAE,UAAU,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,oBAAoB,EAAE,SAAS,GAAG,IAAI,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC;AAEhC,MAAM,MAAM,QAAQ,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACxC,SAAS,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,oEAAoE;IACpE,QAAQ,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
import { type SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ActiveGesture, ResolvedPanGestureDirection } from "../types/gesture.types";
|
|
3
|
+
type GestureRawStoreMap = {
|
|
4
|
+
x: SharedValue<number>;
|
|
5
|
+
y: SharedValue<number>;
|
|
6
|
+
normX: SharedValue<number>;
|
|
7
|
+
normY: SharedValue<number>;
|
|
8
|
+
scale: SharedValue<number>;
|
|
9
|
+
normScale: SharedValue<number>;
|
|
10
|
+
};
|
|
3
11
|
export type GestureStoreMap = {
|
|
4
12
|
x: SharedValue<number>;
|
|
5
13
|
y: SharedValue<number>;
|
|
6
14
|
normX: SharedValue<number>;
|
|
7
15
|
normY: SharedValue<number>;
|
|
16
|
+
scale: SharedValue<number>;
|
|
17
|
+
normScale: SharedValue<number>;
|
|
18
|
+
focalX: SharedValue<number>;
|
|
19
|
+
focalY: SharedValue<number>;
|
|
20
|
+
raw: GestureRawStoreMap;
|
|
8
21
|
dismissing: SharedValue<number>;
|
|
9
22
|
dragging: SharedValue<number>;
|
|
10
|
-
|
|
23
|
+
settling: SharedValue<number>;
|
|
24
|
+
active: SharedValue<ActiveGesture | null>;
|
|
25
|
+
/** @deprecated Use `active` instead. */
|
|
26
|
+
direction: SharedValue<ResolvedPanGestureDirection | null>;
|
|
11
27
|
/**
|
|
12
28
|
* @deprecated Use `normX` instead.
|
|
13
29
|
*/
|
|
@@ -28,9 +44,10 @@ export type GestureStoreMap = {
|
|
|
28
44
|
/**
|
|
29
45
|
* Route-keyed gesture state used by the transition system while a screen is
|
|
30
46
|
* being dragged or dismissed. It stores raw and normalized gesture values,
|
|
31
|
-
* dismissal flags, and the active gesture
|
|
47
|
+
* dismissal flags, and the active gesture. `getCachedBag()` provides
|
|
32
48
|
* a stable neutral fallback bag for cases where a route should not own live
|
|
33
49
|
* gesture state.
|
|
34
50
|
*/
|
|
35
51
|
export declare const GestureStore: import("../utils/create-store").StoreApi<GestureStoreMap>;
|
|
52
|
+
export {};
|
|
36
53
|
//# sourceMappingURL=gesture.store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gesture.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/gesture.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"gesture.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/gesture.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACX,aAAa,EACb,2BAA2B,EAC3B,MAAM,wBAAwB,CAAC;AAGhC,KAAK,kBAAkB,GAAG;IACzB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC7B,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,GAAG,EAAE,kBAAkB,CAAC;IACxB,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC1C,wCAAwC;IACxC,SAAS,EAAE,WAAW,CAAC,2BAA2B,GAAG,IAAI,CAAC,CAAC;IAE3D;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AA2CF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,2DAuBvB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
|
+
import type { ScrollGestureState } from "../types/gesture.types";
|
|
3
|
+
export type ScrollStoreMap = {
|
|
4
|
+
state: SharedValue<ScrollGestureState | null>;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Route-keyed scroll geometry used by gesture activation and bounds measurement.
|
|
8
|
+
* The state tracks coordinated ScrollView offsets and dimensions so consumers
|
|
9
|
+
* can reason about overscroll without coupling to a specific scroll component.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ScrollStore: import("../utils/create-store").StoreApi<ScrollStoreMap>;
|
|
12
|
+
//# sourceMappingURL=scroll.store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/scroll.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGjE,MAAM,MAAM,cAAc,GAAG;IAC5B,KAAK,EAAE,WAAW,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;CAC9C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,0DAOtB,CAAC"}
|
|
@@ -4,8 +4,16 @@ import type { EdgeInsets } from "react-native-safe-area-context";
|
|
|
4
4
|
import { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../constants";
|
|
5
5
|
import type { BoundsAccessor } from "./bounds.types";
|
|
6
6
|
import type { GestureValues } from "./gesture.types";
|
|
7
|
-
import type { ScreenLayouts } from "./screen.types";
|
|
7
|
+
import type { ScreenLayouts, ScreenTransitionConfig } from "./screen.types";
|
|
8
8
|
import type { BaseStackRoute } from "./stack.types";
|
|
9
|
+
/**
|
|
10
|
+
* Public screen option values exposed to `screenStyleInterpolator`.
|
|
11
|
+
*
|
|
12
|
+
* These are the values we consider useful to change dynamically with
|
|
13
|
+
* `navigation.setOptions()`. If you need another existing screen option here,
|
|
14
|
+
* open a request with the use case and why the interpolator needs it.
|
|
15
|
+
*/
|
|
16
|
+
export type ScreenTransitionOptions = Pick<ScreenTransitionConfig, "gestureEnabled" | "experimental_allowDisabledGestureTracking" | "gestureDirection" | "gestureSensitivity" | "gestureVelocityImpact" | "gestureSnapVelocityImpact" | "gestureReleaseVelocityScale" | "gestureResponseDistance" | "gestureDrivesProgress" | "gestureActivationArea" | "gestureSnapLocked" | "sheetScrollGestureBehavior" | "backdropBehavior">;
|
|
9
17
|
export type ScreenTransitionState = {
|
|
10
18
|
/**
|
|
11
19
|
* Animation progress for this screen.
|
|
@@ -81,6 +89,14 @@ export type ScreenTransitionState = {
|
|
|
81
89
|
* if (props.next?.meta?.scalesOthers) { ... }
|
|
82
90
|
*/
|
|
83
91
|
meta?: Record<string, unknown>;
|
|
92
|
+
/**
|
|
93
|
+
* Public screen option values exposed to `screenStyleInterpolator`.
|
|
94
|
+
*
|
|
95
|
+
* These are the values we consider useful to change dynamically with
|
|
96
|
+
* `navigation.setOptions()`. If you need another existing screen option here,
|
|
97
|
+
* open a request with the use case and why the interpolator needs it.
|
|
98
|
+
*/
|
|
99
|
+
options: ScreenTransitionOptions;
|
|
84
100
|
/**
|
|
85
101
|
* The route object for this screen.
|
|
86
102
|
*/
|
|
@@ -90,13 +106,21 @@ export type ScreenTransitionState = {
|
|
|
90
106
|
*/
|
|
91
107
|
layouts: ScreenLayouts;
|
|
92
108
|
/**
|
|
93
|
-
*
|
|
109
|
+
* Live animated index of this screen's current snap point.
|
|
94
110
|
* Interpolates between indices during gestures/animations.
|
|
95
111
|
* - Returns -1 if no snap points are defined
|
|
96
112
|
* - Returns 0 when at or below first snap point
|
|
97
113
|
* - Returns fractional values between snap points (e.g., 1.5 = halfway between snap 1 and 2)
|
|
98
114
|
* - Returns length-1 when at or above last snap point
|
|
99
115
|
*/
|
|
116
|
+
animatedSnapIndex: number;
|
|
117
|
+
/**
|
|
118
|
+
* Target snap point index for this screen.
|
|
119
|
+
*
|
|
120
|
+
* Unlike `animatedSnapIndex`, this follows the current target progress rather
|
|
121
|
+
* than live gesture progress. It updates when the transition target changes,
|
|
122
|
+
* such as initial mount, `snapTo()`, or gesture release.
|
|
123
|
+
*/
|
|
100
124
|
snapIndex: number;
|
|
101
125
|
};
|
|
102
126
|
export interface ScreenInterpolationProps {
|
|
@@ -114,14 +138,8 @@ export interface ScreenInterpolationProps {
|
|
|
114
138
|
next: ScreenTransitionState | undefined;
|
|
115
139
|
/**
|
|
116
140
|
* Layout measurements for the screen.
|
|
117
|
-
*
|
|
118
|
-
* @deprecated Use `current.layouts` instead.
|
|
119
141
|
*/
|
|
120
|
-
layouts:
|
|
121
|
-
screen: ScreenLayouts["screen"];
|
|
122
|
-
content?: ScreenLayouts["content"];
|
|
123
|
-
navigationMaskEnabled: ScreenLayouts["navigationMaskEnabled"];
|
|
124
|
-
};
|
|
142
|
+
layouts: ScreenLayouts;
|
|
125
143
|
/**
|
|
126
144
|
* The safe area insets for the screen.
|
|
127
145
|
*/
|
|
@@ -146,12 +164,6 @@ export interface ScreenInterpolationProps {
|
|
|
146
164
|
* Falls back to `progress` when not in blank-stack.
|
|
147
165
|
*/
|
|
148
166
|
stackProgress: number;
|
|
149
|
-
/**
|
|
150
|
-
* Animated index of the current snap point.
|
|
151
|
-
*
|
|
152
|
-
* @deprecated Use `current.snapIndex` instead.
|
|
153
|
-
*/
|
|
154
|
-
snapIndex: number;
|
|
155
167
|
/**
|
|
156
168
|
* Whether the active transition is visually close enough to its target to be
|
|
157
169
|
* treated as complete, even if the animation is still physically settling.
|
|
@@ -198,7 +210,22 @@ type TransitionSlotDefinition = {
|
|
|
198
210
|
*/
|
|
199
211
|
export type TransitionSlotStyle = AnimatedViewStyle | TransitionSlotDefinition;
|
|
200
212
|
/**
|
|
201
|
-
*
|
|
213
|
+
* Runtime options returned by `screenStyleInterpolator`.
|
|
214
|
+
*
|
|
215
|
+
* These values are not style slots. They are derived per frame and consumed by
|
|
216
|
+
* the transition runtime.
|
|
217
|
+
*
|
|
218
|
+
* If `gestureSensitivity` is derived from the current gesture, prefer
|
|
219
|
+
* `active.gesture.raw` so the sensitivity calculation does not feed back into
|
|
220
|
+
* itself.
|
|
221
|
+
*/
|
|
222
|
+
export type TransitionInterpolatorOptions = ScreenTransitionOptions;
|
|
223
|
+
/**
|
|
224
|
+
* @deprecated Use `TransitionInterpolatorOptions`.
|
|
225
|
+
*/
|
|
226
|
+
export type TransitionInterpolatorConfig = TransitionInterpolatorOptions;
|
|
227
|
+
/**
|
|
228
|
+
* Internal normalized slot format.
|
|
202
229
|
* Always uses the explicit `{ style, props }` shape (with Reanimated's full StyleProps).
|
|
203
230
|
*/
|
|
204
231
|
export type NormalizedTransitionSlotStyle = {
|
|
@@ -206,7 +233,7 @@ export type NormalizedTransitionSlotStyle = {
|
|
|
206
233
|
props?: Record<string, unknown>;
|
|
207
234
|
};
|
|
208
235
|
/**
|
|
209
|
-
* Normalized interpolated style map used internally
|
|
236
|
+
* Normalized interpolated style map used internally.
|
|
210
237
|
* All slots use the explicit `{ style, props }` shape.
|
|
211
238
|
*/
|
|
212
239
|
export type NormalizedTransitionInterpolatedStyle = {
|
|
@@ -225,9 +252,14 @@ export type NormalizedTransitionInterpolatedStyle = {
|
|
|
225
252
|
};
|
|
226
253
|
/**
|
|
227
254
|
* The return type of `screenStyleInterpolator`.
|
|
228
|
-
* Uses the nested slot format, while still accepting deprecated flat keys.
|
|
229
255
|
*/
|
|
230
256
|
export type TransitionInterpolatedStyle = {
|
|
257
|
+
/**
|
|
258
|
+
* Runtime options for the current frame.
|
|
259
|
+
*
|
|
260
|
+
* This reserved key is stripped before style slot normalization.
|
|
261
|
+
*/
|
|
262
|
+
options?: TransitionInterpolatorOptions;
|
|
231
263
|
/** Animated style and props for the main screen content view. */
|
|
232
264
|
content?: TransitionSlotStyle;
|
|
233
265
|
/** Animated style and props for the backdrop layer between screens. */
|
|
@@ -239,22 +271,7 @@ export type TransitionInterpolatedStyle = {
|
|
|
239
271
|
/** Animated style and props for the navigation mask element layer. */
|
|
240
272
|
[NAVIGATION_MASK_ELEMENT_STYLE_ID]?: TransitionSlotStyle;
|
|
241
273
|
/** Custom styles/props by id for Transition.View components. */
|
|
242
|
-
[id: string]: TransitionSlotStyle | undefined;
|
|
243
|
-
/**
|
|
244
|
-
* @deprecated Use `content` instead.
|
|
245
|
-
* This flat format is auto-converted via a backward-compat shim.
|
|
246
|
-
*/
|
|
247
|
-
contentStyle?: AnimatedViewStyle;
|
|
248
|
-
/**
|
|
249
|
-
* @deprecated Use `backdrop` instead.
|
|
250
|
-
* This flat format is auto-converted via a backward-compat shim.
|
|
251
|
-
*/
|
|
252
|
-
backdropStyle?: AnimatedViewStyle;
|
|
253
|
-
/**
|
|
254
|
-
* @deprecated Use `backdrop` instead.
|
|
255
|
-
* This flat format is auto-converted via a backward-compat shim.
|
|
256
|
-
*/
|
|
257
|
-
overlayStyle?: AnimatedViewStyle;
|
|
274
|
+
[id: string]: TransitionSlotStyle | TransitionInterpolatorOptions | undefined;
|
|
258
275
|
};
|
|
259
276
|
/**
|
|
260
277
|
* A Reanimated animation configuration object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/animation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EACN,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/animation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EACN,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACzC,sBAAsB,EACpB,gBAAgB,GAChB,2CAA2C,GAC3C,kBAAkB,GAClB,oBAAoB,GACpB,uBAAuB,GACvB,2BAA2B,GAC3B,6BAA6B,GAC7B,yBAAyB,GACzB,uBAAuB,GACvB,uBAAuB,GACvB,mBAAmB,GACnB,4BAA4B,GAC5B,kBAAkB,CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC;;;;;;;OAOG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;OASG;IAEH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,OAAO,EAAE,aAAa,CAAC;IAEvB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;;;;;OAMG;IACH,OAAO,EAAE,uBAAuB,CAAC;IAEjC;;OAEG;IACH,KAAK,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC;IAEvB;;;;;;;OAOG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACxC;;OAEG;IACH,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAE5C;;OAEG;IACH,OAAO,EAAE,qBAAqB,CAAC;IAE/B;;OAEG;IACH,IAAI,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAExC;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;OAUG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,qBAAqB,CAAC;IAE9B;;;OAGG;IACH,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC5C;AAED;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CACrC,KAAK,EAAE,wBAAwB,KAC3B,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtD,KAAK,wBAAwB,GAAG;IAC/B,sDAAsD;IACtD,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG,wBAAwB,CAAC;AAE/E;;;;;;;;;GASG;AACH,MAAM,MAAM,6BAA6B,GAAG,uBAAuB,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,6BAA6B,CAAC;AAEzE;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC3C,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,qCAAqC,GAAG;IACnD,iEAAiE;IACjE,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,uEAAuE;IACvE,QAAQ,CAAC,EAAE,6BAA6B,CAAC;IACzC,kFAAkF;IAClF,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,wEAAwE;IACxE,CAAC,kCAAkC,CAAC,CAAC,EAAE,6BAA6B,CAAC;IACrE,sEAAsE;IACtE,CAAC,gCAAgC,CAAC,CAAC,EAAE,6BAA6B,CAAC;IACnE,gEAAgE;IAChE,CAAC,EAAE,EAAE,MAAM,GAAG,6BAA6B,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,iEAAiE;IACjE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,kFAAkF;IAClF,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,wEAAwE;IACxE,CAAC,kCAAkC,CAAC,CAAC,EAAE,mBAAmB,CAAC;IAC3D,sEAAsE;IACtE,CAAC,gCAAgC,CAAC,CAAC,EAAE,mBAAmB,CAAC;IACzD,gEAAgE;IAChE,CAAC,EAAE,EAAE,MAAM,GAAG,mBAAmB,GAAG,6BAA6B,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC3B"}
|
|
@@ -16,9 +16,16 @@ export type BoundEntry = {
|
|
|
16
16
|
styles: StyleProps;
|
|
17
17
|
};
|
|
18
18
|
export type BoundsLink = {
|
|
19
|
+
id: string;
|
|
19
20
|
source: BoundEntry | null;
|
|
20
21
|
destination: BoundEntry | null;
|
|
22
|
+
initialSource: BoundEntry | null;
|
|
23
|
+
initialDestination: BoundEntry | null;
|
|
24
|
+
compute: <T extends BoundsLinkComputeOptions>(options: T) => BoundsOptionsResult<T & {
|
|
25
|
+
id: string;
|
|
26
|
+
}>;
|
|
21
27
|
};
|
|
28
|
+
export type BoundsLinkComputeOptions = Omit<BoundsOptions, "id" | "group">;
|
|
22
29
|
export type BoundsNavigationZoomOptions = {
|
|
23
30
|
target?: "bound" | "fullscreen" | MeasuredDimensions;
|
|
24
31
|
debug?: boolean;
|
|
@@ -134,13 +141,25 @@ export type BoundsNavigationZoomStyle = TransitionInterpolatedStyle & {
|
|
|
134
141
|
[NAVIGATION_MASK_CONTAINER_STYLE_ID]?: TransitionSlotStyle;
|
|
135
142
|
[NAVIGATION_MASK_ELEMENT_STYLE_ID]?: TransitionSlotStyle;
|
|
136
143
|
};
|
|
144
|
+
export type BoundsNavigationRevealStyle = BoundsNavigationZoomStyle;
|
|
137
145
|
export type BoundsNavigationAccessor = {
|
|
138
146
|
zoom: (options?: BoundsNavigationZoomOptions) => BoundsNavigationZoomStyle;
|
|
147
|
+
reveal: () => BoundsNavigationRevealStyle;
|
|
139
148
|
};
|
|
140
149
|
type BoundsBoundNavigationAccessor = {
|
|
141
150
|
navigation: BoundsNavigationAccessor;
|
|
142
151
|
};
|
|
143
|
-
type
|
|
152
|
+
export type BoundsScopedAccessors = {
|
|
153
|
+
getMeasured: (key?: string) => MeasuredEntry | null;
|
|
154
|
+
/**
|
|
155
|
+
* @deprecated Use `getMeasured` instead. `getSnapshot` will be removed in the next major version.
|
|
156
|
+
*/
|
|
157
|
+
getSnapshot: (key?: string) => MeasuredEntry | null;
|
|
158
|
+
getLink: () => BoundsLink | null;
|
|
159
|
+
interpolateStyle: (property: keyof StyleProps, fallback?: number) => number;
|
|
160
|
+
interpolateBounds: (property: keyof MeasuredDimensions, fallbackOrTargetKey?: number | string, fallback?: number) => number;
|
|
161
|
+
};
|
|
162
|
+
type BoundsCallResult<T extends BoundsOptions> = BoundsOptionsResult<T> & BoundsBoundNavigationAccessor & BoundsScopedAccessors;
|
|
144
163
|
export type BoundsAccessor = {
|
|
145
164
|
<T extends BoundsOptions>(options: T): BoundsCallResult<T>;
|
|
146
165
|
getMeasured: (id: BoundId, key?: string) => MeasuredEntry | null;
|