react-native-screen-transitions 4.1.0-beta.0 → 4.1.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/adapters/with-screen-transitions/lifecycle/index.js +2 -2
- package/lib/commonjs/adapters/with-screen-transitions/lifecycle/use-native-close-transition-intent.js +4 -4
- package/lib/commonjs/adapters/with-screen-transitions/lifecycle/use-native-close-transition-intent.js.map +1 -1
- package/lib/commonjs/adapters/with-screen-transitions/stack-layout.js +35 -8
- package/lib/commonjs/adapters/with-screen-transitions/stack-layout.js.map +1 -1
- package/lib/commonjs/components/boundary/components/boundary-lifecycle.js +41 -9
- package/lib/commonjs/components/boundary/components/boundary-lifecycle.js.map +1 -1
- package/lib/commonjs/components/boundary/components/boundary-target.js +10 -17
- package/lib/commonjs/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/components/boundary/create-boundary-component.js +13 -16
- package/lib/commonjs/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/commonjs/components/boundary/helpers/presentation.js +56 -0
- package/lib/commonjs/components/boundary/helpers/presentation.js.map +1 -0
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +3 -3
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +1 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js +2 -2
- package/lib/commonjs/components/boundary/hooks/use-boundary-presentation.js +65 -0
- package/lib/commonjs/components/boundary/hooks/use-boundary-presentation.js.map +1 -0
- package/lib/commonjs/components/boundary/hooks/use-composed-boundary-style.js +43 -0
- package/lib/commonjs/components/boundary/hooks/use-composed-boundary-style.js.map +1 -0
- package/lib/commonjs/components/boundary/hooks/use-measurer.js +1 -1
- package/lib/commonjs/components/boundary/index.js +2 -3
- package/lib/commonjs/components/boundary/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/portal-host.js +39 -0
- package/lib/commonjs/components/boundary/portal/components/portal-host.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/components/portal-overlay.js +169 -0
- package/lib/commonjs/components/boundary/portal/components/portal-overlay.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/components/portal.js +88 -0
- package/lib/commonjs/components/boundary/portal/components/portal.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/helpers/offset-style.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-active-portal-boundary-host.js +35 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-active-portal-boundary-host.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-host-measurement.js +68 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-portal-destination.js +58 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-portal-destination.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/index.js +0 -7
- package/lib/commonjs/components/boundary/portal/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/stores/host-registry.store.js +87 -0
- package/lib/commonjs/components/boundary/portal/stores/host-registry.store.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/stores/portal-boundary-host.store.js +60 -0
- package/lib/commonjs/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/utils/naming.js +8 -1
- package/lib/commonjs/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js +7 -27
- package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js +15 -9
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/components/create-transition-aware-component.js +3 -3
- package/lib/commonjs/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/components/overlay/helpers/create-overlay-interpolator-frame.js +1 -1
- package/lib/commonjs/components/overlay/helpers/run-overlay-slot-interpolator.js +3 -3
- package/lib/commonjs/components/overlay/index.js +26 -5
- package/lib/commonjs/components/overlay/index.js.map +1 -1
- package/lib/commonjs/components/overlay/variations/overlay-host.js +5 -5
- package/lib/commonjs/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/commonjs/components/screen-layers/helpers/find-collapse-target.js +64 -0
- package/lib/commonjs/components/screen-layers/helpers/find-collapse-target.js.map +1 -0
- package/lib/commonjs/components/screen-layers/helpers/layer-component.js +39 -0
- package/lib/commonjs/components/screen-layers/helpers/layer-component.js.map +1 -0
- package/lib/commonjs/components/screen-layers/helpers/uses-layer-render-props.js +10 -0
- package/lib/commonjs/components/screen-layers/helpers/uses-layer-render-props.js.map +1 -0
- package/lib/commonjs/components/screen-layers/hooks/use-backdrop-pointer-events.js +39 -0
- package/lib/commonjs/components/screen-layers/hooks/use-backdrop-pointer-events.js.map +1 -0
- package/lib/commonjs/components/screen-layers/hooks/use-content-layout.js +66 -0
- package/lib/commonjs/components/screen-layers/hooks/use-content-layout.js.map +1 -0
- package/lib/commonjs/components/screen-layers/index.js +41 -0
- package/lib/commonjs/components/screen-layers/index.js.map +1 -0
- package/lib/commonjs/components/screen-layers/layers/backdrop.js +100 -0
- package/lib/commonjs/components/screen-layers/layers/backdrop.js.map +1 -0
- package/lib/commonjs/components/screen-layers/layers/clip.js +117 -0
- package/lib/commonjs/components/screen-layers/layers/clip.js.map +1 -0
- package/lib/commonjs/components/screen-layers/layers/content.js +61 -0
- package/lib/commonjs/components/screen-layers/layers/content.js.map +1 -0
- package/lib/commonjs/components/screen-layers/layers/surface.js +38 -0
- package/lib/commonjs/components/screen-layers/layers/surface.js.map +1 -0
- package/lib/commonjs/constants.js +3 -1
- package/lib/commonjs/constants.js.map +1 -1
- package/lib/commonjs/controls/helpers/resolve-snap-target.js +48 -0
- package/lib/commonjs/controls/helpers/resolve-snap-target.js.map +1 -0
- package/lib/commonjs/controls/snap-to.js +79 -0
- package/lib/commonjs/controls/snap-to.js.map +1 -0
- package/lib/commonjs/controls/transition-blocking.js +71 -0
- package/lib/commonjs/controls/transition-blocking.js.map +1 -0
- package/lib/commonjs/hooks/navigation/use-screen-state.js +3 -3
- package/lib/commonjs/hooks/navigation/use-screen-state.js.map +1 -1
- package/lib/commonjs/index.js +27 -7
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/navigators/blank-stack/components/activity/activity-container.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/activity/activity-screen.js +79 -0
- package/lib/commonjs/navigators/blank-stack/components/activity/activity-screen.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/activity/index.js +20 -0
- package/lib/commonjs/navigators/blank-stack/components/activity/index.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/blank-stack.js +25 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/blank-stack.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/helpers/reset-stores-for-screen.js +14 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/history/navigator-route-registry.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.js +75 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-close-completion.js +28 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-close-completion.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.js +32 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.js +110 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-transition-start-controller.js +55 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/hooks/use-transition-start-controller.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/use-screen-lifecycle.js +34 -0
- package/lib/commonjs/navigators/blank-stack/components/lifecycle/use-screen-lifecycle.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/components/stack-view.js +90 -0
- package/lib/commonjs/navigators/blank-stack/components/stack-view.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/create-blank-stack-navigator.js +24 -0
- package/lib/commonjs/navigators/blank-stack/create-blank-stack-navigator.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/hooks/use-navigation-helpers.js +68 -0
- package/lib/commonjs/navigators/blank-stack/hooks/use-navigation-helpers.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/blank-stack-controller.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/blank-stack.provider.js +71 -0
- package/lib/commonjs/navigators/blank-stack/state/blank-stack.provider.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/build-blank-stack-state.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/derive-blank-stack-state.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/navigation/compose-descriptors.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/navigation/resolve-scene-neighbors.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/navigation/sync-routes-with-removed.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/reconcile-blank-stack-routes.js +129 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/reconcile-blank-stack-routes.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/resolve-presented-index.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/state-equality.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/helpers/types.js.map +1 -0
- package/lib/commonjs/navigators/blank-stack/state/use-blank-stack-state.js +25 -0
- package/lib/commonjs/navigators/blank-stack/state/use-blank-stack-state.js.map +1 -0
- package/lib/commonjs/navigators/expo-router/index.js +1 -1
- package/lib/commonjs/navigators/react-navigation/index.js +1 -1
- package/lib/commonjs/providers/builder/builder.provider.js +61 -0
- package/lib/commonjs/providers/builder/builder.provider.js.map +1 -0
- package/lib/commonjs/providers/builder/helpers/derive-descriptor-derivations.js +34 -0
- package/lib/commonjs/providers/builder/helpers/derive-descriptor-derivations.js.map +1 -0
- package/lib/commonjs/providers/builder/hooks/use-screen-topology.js +41 -0
- package/lib/commonjs/providers/builder/hooks/use-screen-topology.js.map +1 -0
- package/lib/commonjs/providers/builder/index.js.map +1 -0
- package/lib/commonjs/providers/builder/topology/helpers/create-screen-topology.js.map +1 -0
- package/lib/commonjs/providers/builder/topology/hooks/use-resolved-transition-key.js.map +1 -0
- package/lib/commonjs/providers/builder/topology/hooks/use-screen-relationships.js.map +1 -0
- package/lib/commonjs/providers/builder/topology/index.js.map +1 -0
- package/lib/commonjs/providers/builder/topology/types.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/emit-motion-start.js +25 -0
- package/lib/commonjs/providers/motion/animation/emit-motion-start.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/helpers/build-screen-transition-options.js +23 -0
- package/lib/commonjs/providers/motion/animation/helpers/build-screen-transition-options.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/helpers/hydrate-transition-state/gesture-progress.js +89 -0
- package/lib/commonjs/providers/motion/animation/helpers/hydrate-transition-state/gesture-progress.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/helpers/hydrate-transition-state/index.js +131 -0
- package/lib/commonjs/providers/motion/animation/helpers/hydrate-transition-state/index.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/helpers/hydrate-transition-state/snap-points.js +96 -0
- package/lib/commonjs/providers/motion/animation/helpers/hydrate-transition-state/snap-points.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/helpers/hydrate-transition-state/types.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/helpers/worklet.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/index.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/pipeline.js +61 -0
- package/lib/commonjs/providers/motion/animation/pipeline.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/types.js.map +1 -0
- package/lib/commonjs/providers/motion/animation/use-screen-animation.js +33 -0
- package/lib/commonjs/providers/motion/animation/use-screen-animation.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/index.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/compute-claimed-directions.js +75 -0
- package/lib/commonjs/providers/motion/gestures/ownership/compute-claimed-directions.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/gesture-ownership-coordinator.js +149 -0
- package/lib/commonjs/providers/motion/gestures/ownership/gesture-ownership-coordinator.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/hooks/use-gesture-sensitivity.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/hooks/use-screen-gesture-config.js +45 -0
- package/lib/commonjs/providers/motion/gestures/ownership/hooks/use-screen-gesture-config.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/hooks/use-screen-gesture.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/hooks/use-stable-runtime-config.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/shadowing-claims.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/ownership/use-gesture-scroll-coordination.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/activation/pan-activation-decision.js +210 -0
- package/lib/commonjs/providers/motion/gestures/pan/activation/pan-activation-decision.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/activation/pan-activation-rules.js +316 -0
- package/lib/commonjs/providers/motion/gestures/pan/activation/pan-activation-rules.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/activation/use-pan-activation.js +100 -0
- package/lib/commonjs/providers/motion/gestures/pan/activation/use-pan-activation.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/behavior/pan-lifecycle.js +136 -0
- package/lib/commonjs/providers/motion/gestures/pan/behavior/pan-lifecycle.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/behavior/pan-release.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/behavior/pan-reset.js +74 -0
- package/lib/commonjs/providers/motion/gestures/pan/behavior/pan-reset.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/behavior/use-pan-behavior.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pan/use-build-pan-gesture.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pinch/activation/use-pinch-activation.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pinch/behavior/pinch-lifecycle.js +101 -0
- package/lib/commonjs/providers/motion/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pinch/behavior/pinch-release.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pinch/behavior/pinch-reset.js +59 -0
- package/lib/commonjs/providers/motion/gestures/pinch/behavior/pinch-reset.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/pinch/use-build-pinch-gesture.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/scroll-coordination/index.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/scroll-coordination/scroll-metadata-owner.js +37 -0
- package/lib/commonjs/providers/motion/gestures/scroll-coordination/scroll-metadata-owner.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/scroll-coordination/update-scroll-gesture-state.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js +210 -0
- package/lib/commonjs/providers/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/directions.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/physics.js +228 -0
- package/lib/commonjs/providers/motion/gestures/shared/physics.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/policy.js +277 -0
- package/lib/commonjs/providers/motion/gestures/shared/policy.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/release.js +36 -0
- package/lib/commonjs/providers/motion/gestures/shared/release.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/reset.js +63 -0
- package/lib/commonjs/providers/motion/gestures/shared/reset.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/runtime.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/snap-points.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/snapshot.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/targets.js +122 -0
- package/lib/commonjs/providers/motion/gestures/shared/targets.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/shared/values.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/types.js.map +1 -0
- package/lib/commonjs/providers/motion/gestures/use-screen-gestures.js +52 -0
- package/lib/commonjs/providers/motion/gestures/use-screen-gestures.js.map +1 -0
- package/lib/commonjs/providers/motion/helpers/transition-visual-state.js.map +1 -0
- package/lib/commonjs/providers/motion/helpers/visibility-gate.js.map +1 -0
- package/lib/commonjs/providers/motion/hooks/use-maybe-block-visibility.js +94 -0
- package/lib/commonjs/providers/motion/hooks/use-maybe-block-visibility.js.map +1 -0
- package/lib/commonjs/providers/motion/hooks/use-motion-values.js.map +1 -0
- package/lib/commonjs/providers/motion/hooks/use-transition-values.js.map +1 -0
- package/lib/commonjs/providers/motion/index.js.map +1 -0
- package/lib/commonjs/providers/motion/motion.provider.js +69 -0
- package/lib/commonjs/providers/motion/motion.provider.js.map +1 -0
- package/lib/commonjs/providers/motion/options/helpers.js +174 -0
- package/lib/commonjs/providers/motion/options/helpers.js.map +1 -0
- package/lib/commonjs/providers/motion/options/index.js.map +1 -0
- package/lib/commonjs/providers/motion/options/types.js.map +1 -0
- package/lib/commonjs/providers/motion/options/use-screen-options.js +51 -0
- package/lib/commonjs/providers/motion/options/use-screen-options.js.map +1 -0
- package/lib/commonjs/providers/motion/types.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/helpers/derivations.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/helpers/pipeline.js +204 -0
- package/lib/commonjs/providers/orchestrator/helpers/pipeline.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/helpers/selected-interpolator-options.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/helpers/stack-progress.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/helpers/use-interpolator-state.js +63 -0
- package/lib/commonjs/providers/orchestrator/helpers/use-interpolator-state.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/helpers/use-pair-presentation.js +79 -0
- package/lib/commonjs/providers/orchestrator/helpers/use-pair-presentation.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/helpers/use-stack-progress-inputs.js +114 -0
- package/lib/commonjs/providers/orchestrator/helpers/use-stack-progress-inputs.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/hooks/use-register-gesture-ownership.js +52 -0
- package/lib/commonjs/providers/orchestrator/hooks/use-register-gesture-ownership.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/index.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/orchestrator.provider.js +61 -0
- package/lib/commonjs/providers/orchestrator/orchestrator.provider.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/constants.js +99 -0
- package/lib/commonjs/providers/orchestrator/styles/constants.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/compose-slot-style.js +95 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/compose-slot-style.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/create-interpolator-scope.js +28 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/create-interpolator-scope.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/normalize-slots.js +85 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/normalize-slots.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/resolve-interpolator-style-handoff.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/resolve-slot-styles/index.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/resolve-slot-styles/reset-values.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/resolve-slot-styles/slot-state.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/resolve-slot-styles/types.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/select-interpolator-frame.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/helpers/strip-interpolator-options.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/hooks/slot-resolvers.js +86 -0
- package/lib/commonjs/providers/orchestrator/styles/hooks/slot-resolvers.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/hooks/use-interpolated-style-maps.js +210 -0
- package/lib/commonjs/providers/orchestrator/styles/hooks/use-interpolated-style-maps.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/hooks/use-resolved-slot-style-map.js +47 -0
- package/lib/commonjs/providers/orchestrator/styles/hooks/use-resolved-slot-style-map.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/index.js.map +1 -0
- package/lib/commonjs/providers/orchestrator/styles/types.js.map +1 -0
- package/lib/commonjs/utils/animation/animate-to-progress.js +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/build.js +28 -61
- package/lib/commonjs/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/config.js +3 -4
- package/lib/commonjs/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/math.js +8 -8
- package/lib/commonjs/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/types.js +3 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/types.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/build.js +4 -6
- package/lib/commonjs/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/clip.js +64 -0
- package/lib/commonjs/utils/bounds/navigation/zoom/clip.js.map +1 -0
- package/lib/commonjs/utils/bounds/navigation/zoom/drag.js +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/types.js +3 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/types.js.map +1 -1
- package/lib/commonjs/utils/create-provider.js +104 -10
- package/lib/commonjs/utils/create-provider.js.map +1 -1
- package/lib/module/adapters/with-screen-transitions/lifecycle/index.js +2 -2
- package/lib/module/adapters/with-screen-transitions/lifecycle/index.js.map +1 -1
- package/lib/module/adapters/with-screen-transitions/lifecycle/use-native-close-transition-intent.js +4 -4
- package/lib/module/adapters/with-screen-transitions/lifecycle/use-native-close-transition-intent.js.map +1 -1
- package/lib/module/adapters/with-screen-transitions/stack-layout.js +36 -9
- package/lib/module/adapters/with-screen-transitions/stack-layout.js.map +1 -1
- package/lib/module/components/boundary/components/boundary-lifecycle.js +42 -10
- package/lib/module/components/boundary/components/boundary-lifecycle.js.map +1 -1
- package/lib/module/components/boundary/components/boundary-target.js +10 -17
- package/lib/module/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/components/boundary/create-boundary-component.js +13 -16
- package/lib/module/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/module/components/boundary/helpers/presentation.js +50 -0
- package/lib/module/components/boundary/helpers/presentation.js.map +1 -0
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +3 -3
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js +2 -2
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/module/components/boundary/hooks/use-boundary-presentation.js +62 -0
- package/lib/module/components/boundary/hooks/use-boundary-presentation.js.map +1 -0
- package/lib/module/components/boundary/hooks/use-composed-boundary-style.js +39 -0
- package/lib/module/components/boundary/hooks/use-composed-boundary-style.js.map +1 -0
- package/lib/module/components/boundary/hooks/use-measurer.js +1 -1
- package/lib/module/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/module/components/boundary/index.js +2 -3
- package/lib/module/components/boundary/index.js.map +1 -1
- package/lib/module/components/boundary/portal/components/portal-host.js +34 -0
- package/lib/module/components/boundary/portal/components/portal-host.js.map +1 -0
- package/lib/module/components/boundary/portal/components/portal-overlay.js +164 -0
- package/lib/module/components/boundary/portal/components/portal-overlay.js.map +1 -0
- package/lib/module/components/boundary/portal/components/portal.js +83 -0
- package/lib/module/components/boundary/portal/components/portal.js.map +1 -0
- package/lib/module/components/boundary/portal/helpers/offset-style.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-active-portal-boundary-host.js +31 -0
- package/lib/module/components/boundary/portal/hooks/use-active-portal-boundary-host.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-host-measurement.js +63 -0
- package/lib/module/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-portal-destination.js +54 -0
- package/lib/module/components/boundary/portal/hooks/use-portal-destination.js.map +1 -0
- package/lib/module/components/boundary/portal/index.js +0 -1
- package/lib/module/components/boundary/portal/index.js.map +1 -1
- package/lib/module/components/boundary/portal/stores/host-registry.store.js +78 -0
- package/lib/module/components/boundary/portal/stores/host-registry.store.js.map +1 -0
- package/lib/module/components/boundary/portal/stores/portal-boundary-host.store.js +53 -0
- package/lib/module/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/module/components/boundary/portal/utils/naming.js +6 -0
- package/lib/module/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/module/components/boundary/portal/utils/resolve-portal.js +7 -27
- package/lib/module/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/module/components/boundary/providers/boundary-root.provider.js +15 -9
- package/lib/module/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/components/create-transition-aware-component.js +3 -3
- package/lib/module/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/components/overlay/helpers/create-overlay-interpolator-frame.js +1 -1
- package/lib/module/components/overlay/helpers/create-overlay-interpolator-frame.js.map +1 -1
- package/lib/module/components/overlay/helpers/run-overlay-slot-interpolator.js +3 -3
- package/lib/module/components/overlay/helpers/run-overlay-slot-interpolator.js.map +1 -1
- package/lib/module/components/overlay/index.js +26 -4
- package/lib/module/components/overlay/index.js.map +1 -1
- package/lib/module/components/overlay/variations/overlay-host.js +5 -5
- package/lib/module/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/module/components/screen-layers/helpers/find-collapse-target.js +60 -0
- package/lib/module/components/screen-layers/helpers/find-collapse-target.js.map +1 -0
- package/lib/module/components/screen-layers/helpers/layer-component.js +35 -0
- package/lib/module/components/screen-layers/helpers/layer-component.js.map +1 -0
- package/lib/module/components/screen-layers/helpers/uses-layer-render-props.js +6 -0
- package/lib/module/components/screen-layers/helpers/uses-layer-render-props.js.map +1 -0
- package/lib/module/components/screen-layers/hooks/use-backdrop-pointer-events.js +35 -0
- package/lib/module/components/screen-layers/hooks/use-backdrop-pointer-events.js.map +1 -0
- package/lib/module/components/screen-layers/hooks/use-content-layout.js +63 -0
- package/lib/module/components/screen-layers/hooks/use-content-layout.js.map +1 -0
- package/lib/module/components/screen-layers/index.js +37 -0
- package/lib/module/components/screen-layers/index.js.map +1 -0
- package/lib/module/components/screen-layers/layers/backdrop.js +96 -0
- package/lib/module/components/screen-layers/layers/backdrop.js.map +1 -0
- package/lib/module/components/screen-layers/layers/clip.js +112 -0
- package/lib/module/components/screen-layers/layers/clip.js.map +1 -0
- package/lib/module/components/screen-layers/layers/content.js +57 -0
- package/lib/module/components/screen-layers/layers/content.js.map +1 -0
- package/lib/module/components/screen-layers/layers/surface.js +34 -0
- package/lib/module/components/screen-layers/layers/surface.js.map +1 -0
- package/lib/module/constants.js +3 -1
- package/lib/module/constants.js.map +1 -1
- package/lib/module/controls/helpers/resolve-snap-target.js +44 -0
- package/lib/module/controls/helpers/resolve-snap-target.js.map +1 -0
- package/lib/module/controls/snap-to.js +74 -0
- package/lib/module/controls/snap-to.js.map +1 -0
- package/lib/module/controls/transition-blocking.js +66 -0
- package/lib/module/controls/transition-blocking.js.map +1 -0
- package/lib/module/hooks/navigation/use-screen-state.js +3 -3
- package/lib/module/hooks/navigation/use-screen-state.js.map +1 -1
- package/lib/module/index.js +9 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigators/blank-stack/components/activity/activity-container.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/activity/activity-screen.js +75 -0
- package/lib/module/navigators/blank-stack/components/activity/activity-screen.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/activity/index.js +5 -0
- package/lib/module/navigators/blank-stack/components/activity/index.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/blank-stack.js +21 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/blank-stack.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/helpers/reset-stores-for-screen.js +10 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/history/navigator-route-registry.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.js +70 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-close-completion.js +23 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-close-completion.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.js +27 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.js +105 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-transition-start-controller.js +50 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-transition-start-controller.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/use-screen-lifecycle.js +30 -0
- package/lib/module/navigators/blank-stack/components/lifecycle/use-screen-lifecycle.js.map +1 -0
- package/lib/module/navigators/blank-stack/components/stack-view.js +86 -0
- package/lib/module/navigators/blank-stack/components/stack-view.js.map +1 -0
- package/lib/module/navigators/blank-stack/create-blank-stack-navigator.js +20 -0
- package/lib/module/navigators/blank-stack/create-blank-stack-navigator.js.map +1 -0
- package/lib/module/navigators/blank-stack/hooks/use-navigation-helpers.js +64 -0
- package/lib/module/navigators/blank-stack/hooks/use-navigation-helpers.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/blank-stack-controller.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/blank-stack.provider.js +63 -0
- package/lib/module/navigators/blank-stack/state/blank-stack.provider.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/build-blank-stack-state.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/derive-blank-stack-state.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/navigation/compose-descriptors.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/navigation/resolve-scene-neighbors.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/navigation/sync-routes-with-removed.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/reconcile-blank-stack-routes.js +124 -0
- package/lib/module/navigators/blank-stack/state/helpers/reconcile-blank-stack-routes.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/resolve-presented-index.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/state-equality.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/helpers/types.js.map +1 -0
- package/lib/module/navigators/blank-stack/state/use-blank-stack-state.js +20 -0
- package/lib/module/navigators/blank-stack/state/use-blank-stack-state.js.map +1 -0
- package/lib/module/navigators/expo-router/index.js +1 -1
- package/lib/module/navigators/expo-router/index.js.map +1 -1
- package/lib/module/navigators/react-navigation/index.js +1 -1
- package/lib/module/navigators/react-navigation/index.js.map +1 -1
- package/lib/module/providers/builder/builder.provider.js +52 -0
- package/lib/module/providers/builder/builder.provider.js.map +1 -0
- package/lib/module/providers/builder/helpers/derive-descriptor-derivations.js +30 -0
- package/lib/module/providers/builder/helpers/derive-descriptor-derivations.js.map +1 -0
- package/lib/module/providers/builder/hooks/use-screen-topology.js +37 -0
- package/lib/module/providers/builder/hooks/use-screen-topology.js.map +1 -0
- package/lib/module/providers/builder/index.js.map +1 -0
- package/lib/module/providers/builder/topology/helpers/create-screen-topology.js.map +1 -0
- package/lib/module/providers/builder/topology/hooks/use-resolved-transition-key.js.map +1 -0
- package/lib/module/providers/builder/topology/hooks/use-screen-relationships.js.map +1 -0
- package/lib/module/providers/builder/topology/index.js.map +1 -0
- package/lib/module/providers/builder/topology/types.js.map +1 -0
- package/lib/module/providers/motion/animation/emit-motion-start.js +20 -0
- package/lib/module/providers/motion/animation/emit-motion-start.js.map +1 -0
- package/lib/module/providers/motion/animation/helpers/build-screen-transition-options.js +18 -0
- package/lib/module/providers/motion/animation/helpers/build-screen-transition-options.js.map +1 -0
- package/lib/module/providers/motion/animation/helpers/hydrate-transition-state/gesture-progress.js +84 -0
- package/lib/module/providers/motion/animation/helpers/hydrate-transition-state/gesture-progress.js.map +1 -0
- package/lib/module/providers/motion/animation/helpers/hydrate-transition-state/index.js +126 -0
- package/lib/module/providers/motion/animation/helpers/hydrate-transition-state/index.js.map +1 -0
- package/lib/module/providers/motion/animation/helpers/hydrate-transition-state/snap-points.js +89 -0
- package/lib/module/providers/motion/animation/helpers/hydrate-transition-state/snap-points.js.map +1 -0
- package/lib/module/providers/motion/animation/helpers/hydrate-transition-state/types.js.map +1 -0
- package/lib/module/providers/motion/animation/helpers/worklet.js.map +1 -0
- package/lib/module/providers/motion/animation/index.js.map +1 -0
- package/lib/module/providers/motion/animation/pipeline.js +57 -0
- package/lib/module/providers/motion/animation/pipeline.js.map +1 -0
- package/lib/module/providers/motion/animation/types.js.map +1 -0
- package/lib/module/providers/motion/animation/use-screen-animation.js +29 -0
- package/lib/module/providers/motion/animation/use-screen-animation.js.map +1 -0
- package/lib/module/providers/motion/gestures/index.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/compute-claimed-directions.js +71 -0
- package/lib/module/providers/motion/gestures/ownership/compute-claimed-directions.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/gesture-ownership-coordinator.js +144 -0
- package/lib/module/providers/motion/gestures/ownership/gesture-ownership-coordinator.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/hooks/use-gesture-sensitivity.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/hooks/use-screen-gesture-config.js +41 -0
- package/lib/module/providers/motion/gestures/ownership/hooks/use-screen-gesture-config.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/hooks/use-screen-gesture.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/hooks/use-stable-runtime-config.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/shadowing-claims.js.map +1 -0
- package/lib/module/providers/motion/gestures/ownership/use-gesture-scroll-coordination.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/activation/pan-activation-decision.js +205 -0
- package/lib/module/providers/motion/gestures/pan/activation/pan-activation-decision.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/activation/pan-activation-rules.js +306 -0
- package/lib/module/providers/motion/gestures/pan/activation/pan-activation-rules.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/activation/use-pan-activation.js +95 -0
- package/lib/module/providers/motion/gestures/pan/activation/use-pan-activation.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/behavior/pan-lifecycle.js +129 -0
- package/lib/module/providers/motion/gestures/pan/behavior/pan-lifecycle.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/behavior/pan-release.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/behavior/pan-reset.js +69 -0
- package/lib/module/providers/motion/gestures/pan/behavior/pan-reset.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/behavior/use-pan-behavior.js.map +1 -0
- package/lib/module/providers/motion/gestures/pan/use-build-pan-gesture.js.map +1 -0
- package/lib/module/providers/motion/gestures/pinch/activation/use-pinch-activation.js.map +1 -0
- package/lib/module/providers/motion/gestures/pinch/behavior/pinch-lifecycle.js +94 -0
- package/lib/module/providers/motion/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -0
- package/lib/module/providers/motion/gestures/pinch/behavior/pinch-release.js.map +1 -0
- package/lib/module/providers/motion/gestures/pinch/behavior/pinch-reset.js +54 -0
- package/lib/module/providers/motion/gestures/pinch/behavior/pinch-reset.js.map +1 -0
- package/lib/module/providers/motion/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -0
- package/lib/module/providers/motion/gestures/pinch/use-build-pinch-gesture.js.map +1 -0
- package/lib/module/providers/motion/gestures/scroll-coordination/index.js.map +1 -0
- package/lib/module/providers/motion/gestures/scroll-coordination/scroll-metadata-owner.js +29 -0
- package/lib/module/providers/motion/gestures/scroll-coordination/scroll-metadata-owner.js.map +1 -0
- package/lib/module/providers/motion/gestures/scroll-coordination/update-scroll-gesture-state.js.map +1 -0
- package/lib/module/providers/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js +204 -0
- package/lib/module/providers/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/directions.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/physics.js +213 -0
- package/lib/module/providers/motion/gestures/shared/physics.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/policy.js +268 -0
- package/lib/module/providers/motion/gestures/shared/policy.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/release.js +30 -0
- package/lib/module/providers/motion/gestures/shared/release.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/reset.js +58 -0
- package/lib/module/providers/motion/gestures/shared/reset.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/runtime.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/snap-points.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/snapshot.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/targets.js +116 -0
- package/lib/module/providers/motion/gestures/shared/targets.js.map +1 -0
- package/lib/module/providers/motion/gestures/shared/values.js.map +1 -0
- package/lib/module/providers/motion/gestures/types.js.map +1 -0
- package/lib/module/providers/motion/gestures/use-screen-gestures.js +48 -0
- package/lib/module/providers/motion/gestures/use-screen-gestures.js.map +1 -0
- package/lib/module/providers/motion/helpers/transition-visual-state.js.map +1 -0
- package/lib/module/providers/motion/helpers/visibility-gate.js.map +1 -0
- package/lib/module/providers/motion/hooks/use-maybe-block-visibility.js +89 -0
- package/lib/module/providers/motion/hooks/use-maybe-block-visibility.js.map +1 -0
- package/lib/module/providers/motion/hooks/use-motion-values.js.map +1 -0
- package/lib/module/providers/motion/hooks/use-transition-values.js.map +1 -0
- package/lib/module/providers/motion/index.js.map +1 -0
- package/lib/module/providers/motion/motion.provider.js +60 -0
- package/lib/module/providers/motion/motion.provider.js.map +1 -0
- package/lib/module/providers/motion/options/helpers.js +167 -0
- package/lib/module/providers/motion/options/helpers.js.map +1 -0
- package/lib/module/providers/motion/options/index.js.map +1 -0
- package/lib/module/providers/motion/options/types.js.map +1 -0
- package/lib/module/providers/motion/options/use-screen-options.js +47 -0
- package/lib/module/providers/motion/options/use-screen-options.js.map +1 -0
- package/lib/module/providers/motion/types.js.map +1 -0
- package/lib/module/providers/orchestrator/helpers/derivations.js.map +1 -0
- package/lib/module/providers/orchestrator/helpers/pipeline.js +200 -0
- package/lib/module/providers/orchestrator/helpers/pipeline.js.map +1 -0
- package/lib/module/providers/orchestrator/helpers/selected-interpolator-options.js.map +1 -0
- package/lib/module/providers/orchestrator/helpers/stack-progress.js.map +1 -0
- package/lib/module/providers/orchestrator/helpers/use-interpolator-state.js +59 -0
- package/lib/module/providers/orchestrator/helpers/use-interpolator-state.js.map +1 -0
- package/lib/module/providers/orchestrator/helpers/use-pair-presentation.js +73 -0
- package/lib/module/providers/orchestrator/helpers/use-pair-presentation.js.map +1 -0
- package/lib/module/providers/orchestrator/helpers/use-stack-progress-inputs.js +107 -0
- package/lib/module/providers/orchestrator/helpers/use-stack-progress-inputs.js.map +1 -0
- package/lib/module/providers/orchestrator/hooks/use-register-gesture-ownership.js +47 -0
- package/lib/module/providers/orchestrator/hooks/use-register-gesture-ownership.js.map +1 -0
- package/lib/module/providers/orchestrator/index.js.map +1 -0
- package/lib/module/providers/orchestrator/orchestrator.provider.js +53 -0
- package/lib/module/providers/orchestrator/orchestrator.provider.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/constants.js +93 -0
- package/lib/module/providers/orchestrator/styles/constants.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/compose-slot-style.js +89 -0
- package/lib/module/providers/orchestrator/styles/helpers/compose-slot-style.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/create-interpolator-scope.js +23 -0
- package/lib/module/providers/orchestrator/styles/helpers/create-interpolator-scope.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/normalize-slots.js +81 -0
- package/lib/module/providers/orchestrator/styles/helpers/normalize-slots.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/resolve-interpolator-style-handoff.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/resolve-slot-styles/index.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/resolve-slot-styles/reset-values.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/resolve-slot-styles/slot-state.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/resolve-slot-styles/types.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/select-interpolator-frame.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/helpers/strip-interpolator-options.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/hooks/slot-resolvers.js +77 -0
- package/lib/module/providers/orchestrator/styles/hooks/slot-resolvers.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/hooks/use-interpolated-style-maps.js +205 -0
- package/lib/module/providers/orchestrator/styles/hooks/use-interpolated-style-maps.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/hooks/use-resolved-slot-style-map.js +42 -0
- package/lib/module/providers/orchestrator/styles/hooks/use-resolved-slot-style-map.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/index.js.map +1 -0
- package/lib/module/providers/orchestrator/styles/types.js.map +1 -0
- package/lib/module/types/animation.types.js +3 -1
- package/lib/module/types/animation.types.js.map +1 -1
- package/lib/module/utils/animation/animate-to-progress.js +1 -1
- package/lib/module/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/build.js +30 -63
- package/lib/module/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/config.js +2 -3
- package/lib/module/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/math.js +7 -7
- package/lib/module/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/types.js +1 -1
- package/lib/module/utils/bounds/navigation/reveal/types.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/build.js +5 -7
- package/lib/module/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/clip.js +59 -0
- package/lib/module/utils/bounds/navigation/zoom/clip.js.map +1 -0
- package/lib/module/utils/bounds/navigation/zoom/drag.js +1 -1
- package/lib/module/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/types.js +1 -1
- package/lib/module/utils/bounds/navigation/zoom/types.js.map +1 -1
- package/lib/module/utils/create-provider.js +105 -11
- package/lib/module/utils/create-provider.js.map +1 -1
- package/lib/typescript/adapters/with-screen-transitions/lifecycle/use-native-close-transition-intent.d.ts +1 -1
- package/lib/typescript/adapters/with-screen-transitions/lifecycle/use-native-close-transition-intent.d.ts.map +1 -1
- package/lib/typescript/adapters/with-screen-transitions/stack-layout.d.ts.map +1 -1
- package/lib/typescript/components/boundary/components/boundary-lifecycle.d.ts.map +1 -1
- package/lib/typescript/components/boundary/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/components/boundary/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/components/boundary/helpers/presentation.d.ts +14 -0
- package/lib/typescript/components/boundary/helpers/presentation.d.ts.map +1 -0
- package/lib/typescript/components/boundary/hooks/use-boundary-presentation.d.ts +9 -0
- package/lib/typescript/components/boundary/hooks/use-boundary-presentation.d.ts.map +1 -0
- package/lib/typescript/components/boundary/hooks/use-composed-boundary-style.d.ts +4 -0
- package/lib/typescript/components/boundary/hooks/use-composed-boundary-style.d.ts.map +1 -0
- package/lib/typescript/components/boundary/index.d.ts +3 -2
- package/lib/typescript/components/boundary/index.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/portal-host.d.ts +15 -0
- package/lib/typescript/components/boundary/portal/components/portal-host.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/components/portal-overlay.d.ts +20 -0
- package/lib/typescript/components/boundary/portal/components/portal-overlay.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/components/portal.d.ts +23 -0
- package/lib/typescript/components/boundary/portal/components/portal.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/helpers/offset-style.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-active-portal-boundary-host.d.ts +11 -0
- package/lib/typescript/components/boundary/portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-host-measurement.d.ts +13 -0
- package/lib/typescript/components/boundary/portal/hooks/use-host-measurement.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-placeholder-styles.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-portal-destination.d.ts +8 -0
- package/lib/typescript/components/boundary/portal/hooks/use-portal-destination.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/index.d.ts +0 -1
- package/lib/typescript/components/boundary/portal/index.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/stores/host-registry.store.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/stores/portal-boundary-host.store.d.ts +15 -0
- package/lib/typescript/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/utils/naming.d.ts +1 -0
- package/lib/typescript/components/boundary/portal/utils/naming.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts +2 -7
- package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -1
- package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts +5 -2
- package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/components/overlay/helpers/create-overlay-interpolator-frame.d.ts +1 -1
- package/lib/typescript/components/overlay/helpers/create-overlay-interpolator-frame.d.ts.map +1 -1
- package/lib/typescript/components/overlay/helpers/retain-ready-overlay-resources.d.ts +1 -1
- package/lib/typescript/components/overlay/helpers/retain-ready-overlay-resources.d.ts.map +1 -1
- package/lib/typescript/components/overlay/helpers/run-overlay-slot-interpolator.d.ts +1 -1
- package/lib/typescript/components/overlay/helpers/run-overlay-slot-interpolator.d.ts.map +1 -1
- package/lib/typescript/components/overlay/hooks/use-overlay-slot.d.ts +1 -1
- package/lib/typescript/components/overlay/hooks/use-overlay-slot.d.ts.map +1 -1
- package/lib/typescript/components/overlay/index.d.ts +5 -4
- package/lib/typescript/components/overlay/index.d.ts.map +1 -1
- package/lib/typescript/components/screen-layers/helpers/find-collapse-target.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/helpers/layer-component.d.ts +10 -0
- package/lib/typescript/components/screen-layers/helpers/layer-component.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/helpers/uses-layer-render-props.d.ts +3 -0
- package/lib/typescript/components/screen-layers/helpers/uses-layer-render-props.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/hooks/use-backdrop-pointer-events.d.ts +16 -0
- package/lib/typescript/components/screen-layers/hooks/use-backdrop-pointer-events.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/hooks/use-content-layout.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/index.d.ts +6 -0
- package/lib/typescript/components/screen-layers/index.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/layers/backdrop.d.ts +7 -0
- package/lib/typescript/components/screen-layers/layers/backdrop.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/layers/clip.d.ts +7 -0
- package/lib/typescript/components/screen-layers/layers/clip.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/layers/content.d.ts.map +1 -0
- package/lib/typescript/components/screen-layers/layers/surface.d.ts.map +1 -0
- package/lib/typescript/constants.d.ts +3 -1
- package/lib/typescript/constants.d.ts.map +1 -1
- package/lib/typescript/controls/helpers/resolve-snap-target.d.ts +3 -0
- package/lib/typescript/controls/helpers/resolve-snap-target.d.ts.map +1 -0
- package/lib/typescript/controls/snap-to.d.ts.map +1 -0
- package/lib/typescript/controls/transition-blocking.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +11 -8
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/navigators/blank-stack/components/activity/activity-container.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/activity/activity-screen.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/activity/index.d.ts +3 -0
- package/lib/typescript/navigators/blank-stack/components/activity/index.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/blank-stack.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/history/navigator-route-registry.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.d.ts +7 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/use-close-completion.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.d.ts +5 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.d.ts +8 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/use-transition-start-controller.d.ts +9 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/lifecycle/use-screen-lifecycle.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/components/stack-view.d.ts +4 -0
- package/lib/typescript/navigators/blank-stack/components/stack-view.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/create-blank-stack-navigator.d.ts +9 -0
- package/lib/typescript/navigators/blank-stack/create-blank-stack-navigator.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/hooks/use-navigation-helpers.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/blank-stack-controller.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/blank-stack.provider.d.ts +23 -0
- package/lib/typescript/navigators/blank-stack/state/blank-stack.provider.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/build-blank-stack-state.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/derive-blank-stack-state.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/navigation/compose-descriptors.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/navigation/resolve-scene-neighbors.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/navigation/sync-routes-with-removed.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/reconcile-blank-stack-routes.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/resolve-presented-index.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/state-equality.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/helpers/types.d.ts.map +1 -0
- package/lib/typescript/navigators/blank-stack/state/use-blank-stack-state.d.ts +14 -0
- package/lib/typescript/navigators/blank-stack/state/use-blank-stack-state.d.ts.map +1 -0
- package/lib/typescript/navigators/expo-router/index.d.ts +1 -1
- package/lib/typescript/navigators/expo-router/index.d.ts.map +1 -1
- package/lib/typescript/navigators/react-navigation/index.d.ts +2 -1
- package/lib/typescript/navigators/react-navigation/index.d.ts.map +1 -1
- package/lib/typescript/providers/builder/builder.provider.d.ts +50 -0
- package/lib/typescript/providers/builder/builder.provider.d.ts.map +1 -0
- package/lib/typescript/providers/builder/helpers/derive-descriptor-derivations.d.ts +20 -0
- package/lib/typescript/providers/builder/helpers/derive-descriptor-derivations.d.ts.map +1 -0
- package/lib/typescript/providers/builder/hooks/use-screen-topology.d.ts.map +1 -0
- package/lib/typescript/providers/builder/index.d.ts.map +1 -0
- package/lib/typescript/providers/builder/topology/helpers/create-screen-topology.d.ts.map +1 -0
- package/lib/typescript/providers/builder/topology/hooks/use-resolved-transition-key.d.ts +3 -0
- package/lib/typescript/providers/builder/topology/hooks/use-resolved-transition-key.d.ts.map +1 -0
- package/lib/typescript/providers/builder/topology/hooks/use-screen-relationships.d.ts.map +1 -0
- package/lib/typescript/providers/builder/topology/index.d.ts.map +1 -0
- package/lib/typescript/providers/builder/topology/types.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/emit-motion-start.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/helpers/build-screen-transition-options.d.ts +3 -0
- package/lib/typescript/providers/motion/animation/helpers/build-screen-transition-options.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/helpers/hydrate-transition-state/gesture-progress.d.ts +10 -0
- package/lib/typescript/providers/motion/animation/helpers/hydrate-transition-state/gesture-progress.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/helpers/hydrate-transition-state/index.d.ts +5 -0
- package/lib/typescript/providers/motion/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/helpers/hydrate-transition-state/snap-points.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/helpers/hydrate-transition-state/types.d.ts +30 -0
- package/lib/typescript/providers/motion/animation/helpers/hydrate-transition-state/types.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/helpers/worklet.d.ts +14 -0
- package/lib/typescript/providers/motion/animation/helpers/worklet.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/index.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/pipeline.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/types.d.ts +3 -0
- package/lib/typescript/providers/motion/animation/types.d.ts.map +1 -0
- package/lib/typescript/providers/motion/animation/use-screen-animation.d.ts +9 -0
- package/lib/typescript/providers/motion/animation/use-screen-animation.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/index.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/compute-claimed-directions.d.ts +19 -0
- package/lib/typescript/providers/motion/gestures/ownership/compute-claimed-directions.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/gesture-ownership-coordinator.d.ts +26 -0
- package/lib/typescript/providers/motion/gestures/ownership/gesture-ownership-coordinator.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/hooks/use-gesture-sensitivity.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/hooks/use-screen-gesture-config.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/hooks/use-screen-gesture.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/hooks/use-stable-runtime-config.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/shadowing-claims.d.ts +7 -0
- package/lib/typescript/providers/motion/gestures/ownership/shadowing-claims.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/ownership/use-gesture-scroll-coordination.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/activation/pan-activation-decision.d.ts +29 -0
- package/lib/typescript/providers/motion/gestures/pan/activation/pan-activation-decision.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/activation/pan-activation-rules.d.ts +105 -0
- package/lib/typescript/providers/motion/gestures/pan/activation/pan-activation-rules.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/activation/use-pan-activation.d.ts +20 -0
- package/lib/typescript/providers/motion/gestures/pan/activation/use-pan-activation.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/behavior/pan-lifecycle.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/behavior/pan-release.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/behavior/pan-reset.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/behavior/use-pan-behavior.d.ts +6 -0
- package/lib/typescript/providers/motion/gestures/pan/behavior/use-pan-behavior.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pan/use-build-pan-gesture.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pinch/activation/use-pinch-activation.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pinch/behavior/pinch-lifecycle.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pinch/behavior/pinch-release.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pinch/behavior/pinch-reset.d.ts +12 -0
- package/lib/typescript/providers/motion/gestures/pinch/behavior/pinch-reset.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pinch/behavior/use-pinch-behavior.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/pinch/use-build-pinch-gesture.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/scroll-coordination/index.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/scroll-coordination/scroll-metadata-owner.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/scroll-coordination/update-scroll-gesture-state.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/directions.d.ts +20 -0
- package/lib/typescript/providers/motion/gestures/shared/directions.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/physics.d.ts +71 -0
- package/lib/typescript/providers/motion/gestures/shared/physics.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/policy.d.ts +34 -0
- package/lib/typescript/providers/motion/gestures/shared/policy.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/release.d.ts +13 -0
- package/lib/typescript/providers/motion/gestures/shared/release.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/reset.d.ts +10 -0
- package/lib/typescript/providers/motion/gestures/shared/reset.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/runtime.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/snap-points.d.ts +48 -0
- package/lib/typescript/providers/motion/gestures/shared/snap-points.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/snapshot.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/targets.d.ts +48 -0
- package/lib/typescript/providers/motion/gestures/shared/targets.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/shared/values.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/types.d.ts +140 -0
- package/lib/typescript/providers/motion/gestures/types.d.ts.map +1 -0
- package/lib/typescript/providers/motion/gestures/use-screen-gestures.d.ts +17 -0
- package/lib/typescript/providers/motion/gestures/use-screen-gestures.d.ts.map +1 -0
- package/lib/typescript/providers/motion/helpers/transition-visual-state.d.ts.map +1 -0
- package/lib/typescript/providers/motion/helpers/visibility-gate.d.ts.map +1 -0
- package/lib/typescript/providers/motion/hooks/use-maybe-block-visibility.d.ts.map +1 -0
- package/lib/typescript/providers/motion/hooks/use-motion-values.d.ts.map +1 -0
- package/lib/typescript/providers/motion/hooks/use-transition-values.d.ts +49 -0
- package/lib/typescript/providers/motion/hooks/use-transition-values.d.ts.map +1 -0
- package/lib/typescript/providers/motion/index.d.ts.map +1 -0
- package/lib/typescript/providers/motion/motion.provider.d.ts.map +1 -0
- package/lib/typescript/providers/motion/options/helpers.d.ts +6 -0
- package/lib/typescript/providers/motion/options/helpers.d.ts.map +1 -0
- package/lib/typescript/providers/motion/options/index.d.ts.map +1 -0
- package/lib/typescript/providers/motion/options/types.d.ts +24 -0
- package/lib/typescript/providers/motion/options/types.d.ts.map +1 -0
- package/lib/typescript/providers/motion/options/use-screen-options.d.ts.map +1 -0
- package/lib/typescript/providers/motion/types.d.ts +67 -0
- package/lib/typescript/providers/motion/types.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/helpers/derivations.d.ts +14 -0
- package/lib/typescript/providers/orchestrator/helpers/derivations.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/helpers/pipeline.d.ts +12 -0
- package/lib/typescript/providers/orchestrator/helpers/pipeline.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/helpers/selected-interpolator-options.d.ts +9 -0
- package/lib/typescript/providers/orchestrator/helpers/selected-interpolator-options.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/helpers/stack-progress.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/helpers/use-interpolator-state.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/helpers/use-pair-presentation.d.ts +21 -0
- package/lib/typescript/providers/orchestrator/helpers/use-pair-presentation.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/helpers/use-stack-progress-inputs.d.ts +18 -0
- package/lib/typescript/providers/orchestrator/helpers/use-stack-progress-inputs.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/hooks/use-register-gesture-ownership.d.ts +9 -0
- package/lib/typescript/providers/orchestrator/hooks/use-register-gesture-ownership.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/index.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/orchestrator.provider.d.ts +37 -0
- package/lib/typescript/providers/orchestrator/orchestrator.provider.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/constants.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/compose-slot-style.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/create-interpolator-scope.d.ts +8 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/create-interpolator-scope.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/normalize-slots.d.ts +10 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/normalize-slots.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-interpolator-style-handoff.d.ts +10 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-interpolator-style-handoff.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/are-resettable-states-equal.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/index.d.ts +24 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.d.ts +15 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/reset-values.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/slot-state.d.ts +13 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/slot-state.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/types.d.ts +10 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/resolve-slot-styles/types.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/select-interpolator-frame.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/helpers/strip-interpolator-options.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/hooks/slot-resolvers.d.ts +11 -0
- package/lib/typescript/providers/orchestrator/styles/hooks/slot-resolvers.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/hooks/use-resolved-slot-style-map.d.ts +9 -0
- package/lib/typescript/providers/orchestrator/styles/hooks/use-resolved-slot-style-map.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/index.d.ts.map +1 -0
- package/lib/typescript/providers/orchestrator/styles/types.d.ts +3 -0
- package/lib/typescript/providers/orchestrator/styles/types.d.ts.map +1 -0
- package/lib/typescript/types/animation.types.d.ts +16 -4
- package/lib/typescript/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/types/bounds.types.d.ts +7 -15
- package/lib/typescript/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/types/index.d.ts +1 -1
- package/lib/typescript/types/index.d.ts.map +1 -1
- package/lib/typescript/types/screen.types.d.ts +1 -8
- package/lib/typescript/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/utils/animation/animate-to-progress.d.ts +1 -1
- package/lib/typescript/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/reveal/build.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/reveal/config.d.ts +2 -3
- package/lib/typescript/utils/bounds/navigation/reveal/config.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/reveal/math.d.ts +3 -3
- package/lib/typescript/utils/bounds/navigation/reveal/types.d.ts +1 -5
- package/lib/typescript/utils/bounds/navigation/reveal/types.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/zoom/clip.d.ts +27 -0
- package/lib/typescript/utils/bounds/navigation/zoom/clip.d.ts.map +1 -0
- package/lib/typescript/utils/bounds/navigation/zoom/drag.d.ts +1 -1
- package/lib/typescript/utils/bounds/navigation/zoom/types.d.ts +1 -5
- package/lib/typescript/utils/bounds/navigation/zoom/types.d.ts.map +1 -1
- package/lib/typescript/utils/create-provider.d.ts +6 -2
- package/lib/typescript/utils/create-provider.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adapters/with-screen-transitions/lifecycle/index.tsx +2 -2
- package/src/adapters/with-screen-transitions/lifecycle/use-native-close-transition-intent.ts +5 -5
- package/src/adapters/with-screen-transitions/stack-layout.tsx +43 -10
- package/src/components/boundary/components/boundary-lifecycle.tsx +45 -9
- package/src/components/boundary/components/boundary-target.tsx +14 -36
- package/src/components/boundary/create-boundary-component.tsx +16 -17
- package/src/components/boundary/helpers/presentation.ts +88 -0
- package/src/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +3 -3
- package/src/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts +1 -1
- package/src/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +2 -2
- package/src/components/boundary/hooks/use-boundary-presentation.ts +82 -0
- package/src/components/boundary/hooks/use-composed-boundary-style.ts +58 -0
- package/src/components/boundary/hooks/use-measurer.ts +1 -1
- package/src/components/boundary/index.tsx +10 -5
- package/src/components/boundary/portal/components/portal-host.tsx +36 -0
- package/src/components/boundary/portal/components/portal-overlay.tsx +219 -0
- package/src/components/boundary/portal/components/portal.tsx +124 -0
- package/src/components/boundary/portal/hooks/use-active-portal-boundary-host.ts +52 -0
- package/src/components/boundary/portal/hooks/use-host-measurement.ts +82 -0
- package/src/components/boundary/portal/hooks/use-portal-destination.ts +53 -0
- package/src/components/boundary/portal/index.ts +0 -1
- package/src/components/boundary/portal/stores/host-registry.store.ts +115 -0
- package/src/components/boundary/portal/stores/portal-boundary-host.store.ts +93 -0
- package/src/components/boundary/portal/utils/naming.ts +10 -0
- package/src/components/boundary/portal/utils/resolve-portal.ts +9 -48
- package/src/components/boundary/providers/boundary-root.provider.tsx +36 -24
- package/src/components/create-transition-aware-component.tsx +3 -6
- package/src/components/overlay/helpers/create-overlay-interpolator-frame.ts +2 -2
- package/src/components/overlay/helpers/retain-ready-overlay-resources.ts +1 -1
- package/src/components/overlay/helpers/run-overlay-slot-interpolator.ts +4 -4
- package/src/components/overlay/hooks/use-overlay-slot.ts +1 -1
- package/src/components/overlay/index.tsx +33 -0
- package/src/components/overlay/variations/overlay-host.tsx +5 -5
- package/src/components/screen-layers/helpers/find-collapse-target.ts +62 -0
- package/src/components/screen-layers/helpers/layer-component.tsx +38 -0
- package/src/components/screen-layers/hooks/use-backdrop-pointer-events.ts +51 -0
- package/src/components/screen-layers/hooks/use-content-layout.ts +84 -0
- package/src/components/screen-layers/index.tsx +39 -0
- package/src/components/screen-layers/layers/backdrop.tsx +140 -0
- package/src/components/screen-layers/layers/clip.tsx +124 -0
- package/src/components/screen-layers/layers/content.tsx +72 -0
- package/src/components/screen-layers/layers/surface.tsx +50 -0
- package/src/constants.ts +3 -1
- package/src/controls/helpers/resolve-snap-target.ts +53 -0
- package/src/controls/snap-to.ts +96 -0
- package/src/controls/transition-blocking.ts +79 -0
- package/src/hooks/navigation/use-screen-state.ts +3 -3
- package/src/index.ts +19 -11
- package/src/navigators/blank-stack/components/activity/activity-screen.tsx +107 -0
- package/src/navigators/blank-stack/components/activity/index.tsx +2 -0
- package/src/navigators/blank-stack/components/lifecycle/blank-stack.tsx +18 -0
- package/src/navigators/blank-stack/components/lifecycle/hooks/helpers/reset-stores-for-screen.ts +9 -0
- package/src/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.ts +90 -0
- package/src/navigators/blank-stack/components/lifecycle/hooks/use-close-completion.ts +28 -0
- package/src/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.ts +29 -0
- package/src/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.ts +136 -0
- package/src/navigators/blank-stack/components/lifecycle/hooks/use-transition-start-controller.ts +67 -0
- package/src/navigators/blank-stack/components/lifecycle/use-screen-lifecycle.ts +36 -0
- package/src/navigators/blank-stack/components/stack-view.tsx +96 -0
- package/src/navigators/blank-stack/create-blank-stack-navigator.tsx +35 -0
- package/src/navigators/blank-stack/hooks/use-navigation-helpers.ts +65 -0
- package/src/navigators/blank-stack/state/blank-stack.provider.tsx +90 -0
- package/src/navigators/blank-stack/state/helpers/reconcile-blank-stack-routes.ts +199 -0
- package/src/navigators/expo-router/index.tsx +1 -1
- package/src/navigators/react-navigation/index.tsx +3 -1
- package/src/providers/builder/builder.provider.tsx +86 -0
- package/src/providers/builder/helpers/derive-descriptor-derivations.ts +56 -0
- package/src/providers/builder/hooks/use-screen-topology.ts +52 -0
- package/src/providers/builder/topology/hooks/use-resolved-transition-key.ts +29 -0
- package/src/providers/motion/animation/emit-motion-start.ts +20 -0
- package/src/providers/motion/animation/helpers/build-screen-transition-options.ts +22 -0
- package/src/providers/motion/animation/helpers/hydrate-transition-state/gesture-progress.ts +192 -0
- package/src/providers/motion/animation/helpers/hydrate-transition-state/index.ts +230 -0
- package/src/providers/motion/animation/helpers/hydrate-transition-state/snap-points.ts +189 -0
- package/src/providers/motion/animation/helpers/hydrate-transition-state/types.ts +55 -0
- package/src/providers/motion/animation/helpers/worklet.ts +47 -0
- package/src/providers/motion/animation/pipeline.ts +82 -0
- package/src/providers/motion/animation/types.ts +3 -0
- package/src/providers/motion/animation/use-screen-animation.tsx +73 -0
- package/src/providers/motion/gestures/ownership/compute-claimed-directions.ts +98 -0
- package/src/providers/motion/gestures/ownership/gesture-ownership-coordinator.ts +252 -0
- package/src/providers/motion/gestures/ownership/hooks/use-screen-gesture-config.ts +61 -0
- package/src/providers/motion/gestures/ownership/shadowing-claims.ts +17 -0
- package/src/providers/motion/gestures/pan/activation/pan-activation-decision.ts +452 -0
- package/src/providers/motion/gestures/pan/activation/pan-activation-rules.ts +453 -0
- package/src/providers/motion/gestures/pan/activation/use-pan-activation.ts +161 -0
- package/src/providers/motion/gestures/pan/behavior/pan-lifecycle.ts +167 -0
- package/src/providers/motion/gestures/pan/behavior/pan-reset.ts +88 -0
- package/src/providers/motion/gestures/pan/behavior/use-pan-behavior.ts +138 -0
- package/src/providers/motion/gestures/pinch/behavior/pinch-lifecycle.ts +112 -0
- package/src/providers/motion/gestures/pinch/behavior/pinch-reset.ts +73 -0
- package/src/providers/motion/gestures/scroll-coordination/scroll-metadata-owner.tsx +40 -0
- package/src/providers/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.ts +306 -0
- package/src/providers/motion/gestures/shared/directions.ts +219 -0
- package/src/providers/motion/gestures/shared/physics.ts +331 -0
- package/src/providers/motion/gestures/shared/policy.ts +416 -0
- package/src/providers/motion/gestures/shared/release.ts +43 -0
- package/src/providers/motion/gestures/shared/reset.ts +88 -0
- package/src/providers/motion/gestures/shared/snap-points.ts +338 -0
- package/src/providers/motion/gestures/shared/targets.ts +202 -0
- package/src/providers/motion/gestures/types.ts +202 -0
- package/src/providers/motion/gestures/use-screen-gestures.ts +66 -0
- package/src/providers/motion/hooks/use-maybe-block-visibility.tsx +121 -0
- package/src/providers/motion/hooks/use-motion-values.ts +109 -0
- package/src/providers/motion/hooks/use-transition-values.ts +136 -0
- package/src/providers/motion/motion.provider.tsx +69 -0
- package/src/providers/motion/options/helpers.ts +344 -0
- package/src/providers/motion/options/types.ts +29 -0
- package/src/providers/motion/options/use-screen-options.ts +72 -0
- package/src/providers/motion/types.ts +73 -0
- package/src/providers/orchestrator/helpers/derivations.ts +23 -0
- package/src/providers/orchestrator/helpers/pipeline.ts +329 -0
- package/src/providers/orchestrator/helpers/selected-interpolator-options.ts +90 -0
- package/src/providers/orchestrator/helpers/use-interpolator-state.ts +73 -0
- package/src/providers/orchestrator/helpers/use-pair-presentation.ts +103 -0
- package/src/providers/orchestrator/helpers/use-stack-progress-inputs.ts +143 -0
- package/src/providers/orchestrator/hooks/use-register-gesture-ownership.ts +76 -0
- package/src/providers/orchestrator/orchestrator.provider.tsx +73 -0
- package/src/providers/orchestrator/styles/constants.ts +87 -0
- package/src/providers/orchestrator/styles/helpers/compose-slot-style.ts +129 -0
- package/src/providers/orchestrator/styles/helpers/create-interpolator-scope.ts +26 -0
- package/src/providers/orchestrator/styles/helpers/normalize-slots.ts +111 -0
- package/src/providers/orchestrator/styles/helpers/resolve-interpolator-style-handoff.ts +138 -0
- package/src/providers/orchestrator/styles/helpers/resolve-slot-styles/index.ts +572 -0
- package/src/providers/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.ts +161 -0
- package/src/providers/orchestrator/styles/helpers/resolve-slot-styles/slot-state.ts +122 -0
- package/src/providers/orchestrator/styles/helpers/resolve-slot-styles/types.ts +12 -0
- package/src/providers/orchestrator/styles/hooks/slot-resolvers.tsx +112 -0
- package/src/providers/orchestrator/styles/hooks/use-interpolated-style-maps.tsx +297 -0
- package/src/providers/orchestrator/styles/hooks/use-resolved-slot-style-map.tsx +65 -0
- package/src/providers/orchestrator/styles/types.ts +13 -0
- package/src/types/animation.types.ts +35 -4
- package/src/types/bounds.types.ts +7 -15
- package/src/types/index.ts +1 -0
- package/src/types/screen.types.ts +1 -8
- package/src/utils/animation/animate-to-progress.ts +2 -2
- package/src/utils/bounds/navigation/reveal/build.ts +46 -80
- package/src/utils/bounds/navigation/reveal/config.ts +2 -4
- package/src/utils/bounds/navigation/reveal/math.ts +9 -9
- package/src/utils/bounds/navigation/reveal/types.ts +1 -8
- package/src/utils/bounds/navigation/zoom/build.ts +16 -26
- package/src/utils/bounds/navigation/zoom/clip.ts +127 -0
- package/src/utils/bounds/navigation/zoom/drag.ts +2 -2
- package/src/utils/bounds/navigation/zoom/types.ts +1 -8
- package/src/utils/create-provider.tsx +146 -9
- package/lib/commonjs/animation/resolve-snap-target.js +0 -48
- package/lib/commonjs/animation/resolve-snap-target.js.map +0 -1
- package/lib/commonjs/animation/snap-to.js +0 -79
- package/lib/commonjs/animation/snap-to.js.map +0 -1
- package/lib/commonjs/animation/transition-blocking.js +0 -71
- package/lib/commonjs/animation/transition-blocking.js.map +0 -1
- package/lib/commonjs/components/activity/helpers.js +0 -9
- package/lib/commonjs/components/activity/helpers.js.map +0 -1
- package/lib/commonjs/components/activity/index.js +0 -20
- package/lib/commonjs/components/activity/index.js.map +0 -1
- package/lib/commonjs/components/activity/variants/activity-container.js.map +0 -1
- package/lib/commonjs/components/activity/variants/activity-screen.js +0 -90
- package/lib/commonjs/components/activity/variants/activity-screen.js.map +0 -1
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js +0 -83
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/components/host.js +0 -45
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/components/host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +0 -119
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js +0 -20
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +0 -14
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +0 -136
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js +0 -53
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js +0 -99
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +0 -104
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +0 -13
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +0 -82
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +0 -58
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +0 -67
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js +0 -68
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js +0 -98
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +0 -60
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +0 -1
- package/lib/commonjs/components/overlay/variations/float-overlay.js +0 -32
- package/lib/commonjs/components/overlay/variations/float-overlay.js.map +0 -1
- package/lib/commonjs/components/screen/container/helpers/find-collapse-target.js +0 -64
- package/lib/commonjs/components/screen/container/helpers/find-collapse-target.js.map +0 -1
- package/lib/commonjs/components/screen/container/hooks/use-backdrop-pointer-events.js +0 -39
- package/lib/commonjs/components/screen/container/hooks/use-backdrop-pointer-events.js.map +0 -1
- package/lib/commonjs/components/screen/container/hooks/use-content-layout.js +0 -66
- package/lib/commonjs/components/screen/container/hooks/use-content-layout.js.map +0 -1
- package/lib/commonjs/components/screen/container/index.js +0 -41
- package/lib/commonjs/components/screen/container/index.js.map +0 -1
- package/lib/commonjs/components/screen/container/layers/backdrop.js +0 -109
- package/lib/commonjs/components/screen/container/layers/backdrop.js.map +0 -1
- package/lib/commonjs/components/screen/container/layers/content.js +0 -77
- package/lib/commonjs/components/screen/container/layers/content.js.map +0 -1
- package/lib/commonjs/components/screen/container/layers/maybe-masked-navigation-container.js +0 -83
- package/lib/commonjs/components/screen/container/layers/maybe-masked-navigation-container.js.map +0 -1
- package/lib/commonjs/components/screen/container/layers/render-component.js +0 -10
- package/lib/commonjs/components/screen/container/layers/render-component.js.map +0 -1
- package/lib/commonjs/components/screen/container/layers/surface.js +0 -50
- package/lib/commonjs/components/screen/container/layers/surface.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/blank-stack.js +0 -25
- package/lib/commonjs/components/screen/lifecycle/blank-stack.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/helpers/reset-stores-for-screen.js +0 -14
- package/lib/commonjs/components/screen/lifecycle/hooks/helpers/reset-stores-for-screen.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/history/navigator-route-registry.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/history/use-screen-history.js +0 -75
- package/lib/commonjs/components/screen/lifecycle/hooks/history/use-screen-history.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/use-close-completion.js +0 -28
- package/lib/commonjs/components/screen/lifecycle/hooks/use-close-completion.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/use-close-transition-intent.js +0 -32
- package/lib/commonjs/components/screen/lifecycle/hooks/use-close-transition-intent.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/use-open-transition-intent.js +0 -95
- package/lib/commonjs/components/screen/lifecycle/hooks/use-open-transition-intent.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/use-transition-start-controller.js +0 -55
- package/lib/commonjs/components/screen/lifecycle/hooks/use-transition-start-controller.js.map +0 -1
- package/lib/commonjs/components/screen/lifecycle/use-screen-lifecycle.js +0 -34
- package/lib/commonjs/components/screen/lifecycle/use-screen-lifecycle.js.map +0 -1
- package/lib/commonjs/components/screen/screen.js +0 -52
- package/lib/commonjs/components/screen/screen.js.map +0 -1
- package/lib/commonjs/components/screen/view.js +0 -71
- package/lib/commonjs/components/screen/view.js.map +0 -1
- package/lib/commonjs/hooks/navigation/use-navigation-helpers.js +0 -56
- package/lib/commonjs/hooks/navigation/use-navigation-helpers.js.map +0 -1
- package/lib/commonjs/navigators/create-blank-stack-navigator.js +0 -24
- package/lib/commonjs/navigators/create-blank-stack-navigator.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/builder.provider.js +0 -61
- package/lib/commonjs/providers/screen/builder/builder.provider.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/helpers/derive-descriptor-derivations.js +0 -34
- package/lib/commonjs/providers/screen/builder/helpers/derive-descriptor-derivations.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/hooks/use-screen-topology.js +0 -41
- package/lib/commonjs/providers/screen/builder/hooks/use-screen-topology.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/index.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/topology/helpers/create-screen-topology.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/topology/hooks/use-resolved-transition-key.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/topology/hooks/use-screen-relationships.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/topology/index.js.map +0 -1
- package/lib/commonjs/providers/screen/builder/topology/types.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/emit-motion-start.js +0 -25
- package/lib/commonjs/providers/screen/motion/animation/emit-motion-start.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/build-screen-transition-options.js +0 -24
- package/lib/commonjs/providers/screen/motion/animation/helpers/build-screen-transition-options.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/gesture-progress.js +0 -89
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/gesture-progress.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js +0 -130
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/snap-points.js +0 -96
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/snap-points.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/types.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/worklet.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/index.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/pipeline.js +0 -34
- package/lib/commonjs/providers/screen/motion/animation/pipeline.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/types.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/animation/use-screen-animation.js +0 -30
- package/lib/commonjs/providers/screen/motion/animation/use-screen-animation.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/index.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/compute-claimed-directions.js +0 -75
- package/lib/commonjs/providers/screen/motion/gestures/ownership/compute-claimed-directions.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/gesture-ownership-coordinator.js +0 -149
- package/lib/commonjs/providers/screen/motion/gestures/ownership/gesture-ownership-coordinator.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/hooks/use-gesture-sensitivity.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture-config.js +0 -18
- package/lib/commonjs/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture-config.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/hooks/use-stable-runtime-config.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/shadowing-claims.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/ownership/use-gesture-scroll-coordination.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/activation/pan-activation-decision.js +0 -210
- package/lib/commonjs/providers/screen/motion/gestures/pan/activation/pan-activation-decision.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/activation/pan-activation-rules.js +0 -316
- package/lib/commonjs/providers/screen/motion/gestures/pan/activation/pan-activation-rules.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/activation/use-pan-activation.js +0 -100
- package/lib/commonjs/providers/screen/motion/gestures/pan/activation/use-pan-activation.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/behavior/pan-lifecycle.js +0 -136
- package/lib/commonjs/providers/screen/motion/gestures/pan/behavior/pan-lifecycle.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/behavior/pan-release.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/behavior/pan-reset.js +0 -74
- package/lib/commonjs/providers/screen/motion/gestures/pan/behavior/pan-reset.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/behavior/use-pan-behavior.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pan/use-build-pan-gesture.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pinch/activation/use-pinch-activation.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pinch/behavior/pinch-lifecycle.js +0 -101
- package/lib/commonjs/providers/screen/motion/gestures/pinch/behavior/pinch-lifecycle.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pinch/behavior/pinch-release.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pinch/behavior/pinch-reset.js +0 -59
- package/lib/commonjs/providers/screen/motion/gestures/pinch/behavior/pinch-reset.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pinch/behavior/use-pinch-behavior.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/pinch/use-build-pinch-gesture.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/scroll-coordination/index.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/scroll-coordination/scroll-metadata-owner.js +0 -37
- package/lib/commonjs/providers/screen/motion/gestures/scroll-coordination/scroll-metadata-owner.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/scroll-coordination/update-scroll-gesture-state.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js +0 -210
- package/lib/commonjs/providers/screen/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/directions.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/physics.js +0 -228
- package/lib/commonjs/providers/screen/motion/gestures/shared/physics.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/policy.js +0 -277
- package/lib/commonjs/providers/screen/motion/gestures/shared/policy.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/release.js +0 -36
- package/lib/commonjs/providers/screen/motion/gestures/shared/release.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/reset.js +0 -63
- package/lib/commonjs/providers/screen/motion/gestures/shared/reset.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/runtime.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/snap-points.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/snapshot.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/targets.js +0 -122
- package/lib/commonjs/providers/screen/motion/gestures/shared/targets.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/shared/values.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/types.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/gestures/use-screen-gestures.js +0 -52
- package/lib/commonjs/providers/screen/motion/gestures/use-screen-gestures.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/helpers/transition-visual-state.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/helpers/visibility-gate.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/hooks/use-maybe-block-visibility.js +0 -92
- package/lib/commonjs/providers/screen/motion/hooks/use-maybe-block-visibility.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/hooks/use-motion-values.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/hooks/use-transition-values.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/index.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/motion.provider.js +0 -69
- package/lib/commonjs/providers/screen/motion/motion.provider.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/options/helpers.js +0 -176
- package/lib/commonjs/providers/screen/motion/options/helpers.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/options/index.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/options/types.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/options/use-screen-options.js +0 -24
- package/lib/commonjs/providers/screen/motion/options/use-screen-options.js.map +0 -1
- package/lib/commonjs/providers/screen/motion/types.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/helpers/derivations.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/helpers/pipeline.js +0 -209
- package/lib/commonjs/providers/screen/orchestrator/helpers/pipeline.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/helpers/selected-interpolator-options.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/helpers/stack-progress.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/helpers/use-interpolator-state.js +0 -23
- package/lib/commonjs/providers/screen/orchestrator/helpers/use-interpolator-state.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/hooks/use-register-gesture-ownership.js +0 -52
- package/lib/commonjs/providers/screen/orchestrator/hooks/use-register-gesture-ownership.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/index.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/orchestrator.provider.js +0 -58
- package/lib/commonjs/providers/screen/orchestrator/orchestrator.provider.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/constants.js +0 -98
- package/lib/commonjs/providers/screen/orchestrator/styles/constants.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/compose-slot-style.js +0 -95
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/compose-slot-style.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/create-interpolator-scope.js +0 -28
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/create-interpolator-scope.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/normalize-slots.js +0 -85
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/normalize-slots.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/resolve-interpolator-style-handoff.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/index.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/reset-values.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/slot-state.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/types.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/select-interpolator-frame.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/helpers/strip-interpolator-options.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/slot-resolvers.js +0 -89
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/slot-resolvers.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/use-interpolated-style-maps.js +0 -209
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/use-interpolated-style-maps.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/use-resolved-slot-style-map.js +0 -47
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/use-resolved-slot-style-map.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/index.js.map +0 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/types.js.map +0 -1
- package/lib/commonjs/providers/screen/screen-composer.js +0 -30
- package/lib/commonjs/providers/screen/screen-composer.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/blank-stack-controller.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/navigation/compose-descriptors.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/navigation/resolve-scene-neighbors.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/navigation/sync-routes-with-removed.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js +0 -118
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/resolve-presented-index.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/state-equality.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/types.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack-state/index.js +0 -25
- package/lib/commonjs/providers/stack/blank-stack-state/index.js.map +0 -1
- package/lib/commonjs/providers/stack/blank-stack.provider.js +0 -69
- package/lib/commonjs/providers/stack/blank-stack.provider.js.map +0 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/mask.js +0 -73
- package/lib/commonjs/utils/bounds/navigation/zoom/mask.js.map +0 -1
- package/lib/module/animation/resolve-snap-target.js +0 -44
- package/lib/module/animation/resolve-snap-target.js.map +0 -1
- package/lib/module/animation/snap-to.js +0 -74
- package/lib/module/animation/snap-to.js.map +0 -1
- package/lib/module/animation/transition-blocking.js +0 -66
- package/lib/module/animation/transition-blocking.js.map +0 -1
- package/lib/module/components/activity/helpers.js +0 -5
- package/lib/module/components/activity/helpers.js.map +0 -1
- package/lib/module/components/activity/index.js +0 -5
- package/lib/module/components/activity/index.js.map +0 -1
- package/lib/module/components/activity/variants/activity-container.js.map +0 -1
- package/lib/module/components/activity/variants/activity-screen.js +0 -87
- package/lib/module/components/activity/variants/activity-screen.js.map +0 -1
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js +0 -78
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/components/host.js +0 -40
- package/lib/module/components/boundary/portal/components/boundary-content-portal/components/host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +0 -110
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js +0 -16
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +0 -9
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +0 -131
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js +0 -42
- package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js +0 -94
- package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +0 -99
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +0 -8
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +0 -76
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +0 -53
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +0 -62
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/index.js +0 -63
- package/lib/module/components/boundary/portal/components/boundary-portal/index.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js +0 -89
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +0 -53
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +0 -1
- package/lib/module/components/overlay/variations/float-overlay.js +0 -29
- package/lib/module/components/overlay/variations/float-overlay.js.map +0 -1
- package/lib/module/components/screen/container/helpers/find-collapse-target.js +0 -60
- package/lib/module/components/screen/container/helpers/find-collapse-target.js.map +0 -1
- package/lib/module/components/screen/container/hooks/use-backdrop-pointer-events.js +0 -35
- package/lib/module/components/screen/container/hooks/use-backdrop-pointer-events.js.map +0 -1
- package/lib/module/components/screen/container/hooks/use-content-layout.js +0 -63
- package/lib/module/components/screen/container/hooks/use-content-layout.js.map +0 -1
- package/lib/module/components/screen/container/index.js +0 -37
- package/lib/module/components/screen/container/index.js.map +0 -1
- package/lib/module/components/screen/container/layers/backdrop.js +0 -104
- package/lib/module/components/screen/container/layers/backdrop.js.map +0 -1
- package/lib/module/components/screen/container/layers/content.js +0 -72
- package/lib/module/components/screen/container/layers/content.js.map +0 -1
- package/lib/module/components/screen/container/layers/maybe-masked-navigation-container.js +0 -78
- package/lib/module/components/screen/container/layers/maybe-masked-navigation-container.js.map +0 -1
- package/lib/module/components/screen/container/layers/render-component.js +0 -6
- package/lib/module/components/screen/container/layers/render-component.js.map +0 -1
- package/lib/module/components/screen/container/layers/surface.js +0 -45
- package/lib/module/components/screen/container/layers/surface.js.map +0 -1
- package/lib/module/components/screen/lifecycle/blank-stack.js +0 -21
- package/lib/module/components/screen/lifecycle/blank-stack.js.map +0 -1
- package/lib/module/components/screen/lifecycle/hooks/helpers/reset-stores-for-screen.js +0 -10
- package/lib/module/components/screen/lifecycle/hooks/helpers/reset-stores-for-screen.js.map +0 -1
- package/lib/module/components/screen/lifecycle/hooks/history/navigator-route-registry.js.map +0 -1
- package/lib/module/components/screen/lifecycle/hooks/history/use-screen-history.js +0 -70
- package/lib/module/components/screen/lifecycle/hooks/history/use-screen-history.js.map +0 -1
- package/lib/module/components/screen/lifecycle/hooks/use-close-completion.js +0 -23
- package/lib/module/components/screen/lifecycle/hooks/use-close-completion.js.map +0 -1
- package/lib/module/components/screen/lifecycle/hooks/use-close-transition-intent.js +0 -27
- package/lib/module/components/screen/lifecycle/hooks/use-close-transition-intent.js.map +0 -1
- package/lib/module/components/screen/lifecycle/hooks/use-open-transition-intent.js +0 -90
- package/lib/module/components/screen/lifecycle/hooks/use-open-transition-intent.js.map +0 -1
- package/lib/module/components/screen/lifecycle/hooks/use-transition-start-controller.js +0 -50
- package/lib/module/components/screen/lifecycle/hooks/use-transition-start-controller.js.map +0 -1
- package/lib/module/components/screen/lifecycle/use-screen-lifecycle.js +0 -30
- package/lib/module/components/screen/lifecycle/use-screen-lifecycle.js.map +0 -1
- package/lib/module/components/screen/screen.js +0 -48
- package/lib/module/components/screen/screen.js.map +0 -1
- package/lib/module/components/screen/view.js +0 -67
- package/lib/module/components/screen/view.js.map +0 -1
- package/lib/module/hooks/navigation/use-navigation-helpers.js +0 -52
- package/lib/module/hooks/navigation/use-navigation-helpers.js.map +0 -1
- package/lib/module/navigators/create-blank-stack-navigator.js +0 -20
- package/lib/module/navigators/create-blank-stack-navigator.js.map +0 -1
- package/lib/module/providers/screen/builder/builder.provider.js +0 -52
- package/lib/module/providers/screen/builder/builder.provider.js.map +0 -1
- package/lib/module/providers/screen/builder/helpers/derive-descriptor-derivations.js +0 -30
- package/lib/module/providers/screen/builder/helpers/derive-descriptor-derivations.js.map +0 -1
- package/lib/module/providers/screen/builder/hooks/use-screen-topology.js +0 -37
- package/lib/module/providers/screen/builder/hooks/use-screen-topology.js.map +0 -1
- package/lib/module/providers/screen/builder/index.js.map +0 -1
- package/lib/module/providers/screen/builder/topology/helpers/create-screen-topology.js.map +0 -1
- package/lib/module/providers/screen/builder/topology/hooks/use-resolved-transition-key.js.map +0 -1
- package/lib/module/providers/screen/builder/topology/hooks/use-screen-relationships.js.map +0 -1
- package/lib/module/providers/screen/builder/topology/index.js.map +0 -1
- package/lib/module/providers/screen/builder/topology/types.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/emit-motion-start.js +0 -20
- package/lib/module/providers/screen/motion/animation/emit-motion-start.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/helpers/build-screen-transition-options.js +0 -19
- package/lib/module/providers/screen/motion/animation/helpers/build-screen-transition-options.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/gesture-progress.js +0 -84
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/gesture-progress.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js +0 -125
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/snap-points.js +0 -89
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/snap-points.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/types.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/helpers/worklet.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/index.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/pipeline.js +0 -30
- package/lib/module/providers/screen/motion/animation/pipeline.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/types.js.map +0 -1
- package/lib/module/providers/screen/motion/animation/use-screen-animation.js +0 -26
- package/lib/module/providers/screen/motion/animation/use-screen-animation.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/index.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/compute-claimed-directions.js +0 -71
- package/lib/module/providers/screen/motion/gestures/ownership/compute-claimed-directions.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/gesture-ownership-coordinator.js +0 -144
- package/lib/module/providers/screen/motion/gestures/ownership/gesture-ownership-coordinator.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/hooks/use-gesture-sensitivity.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture-config.js +0 -14
- package/lib/module/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture-config.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/hooks/use-stable-runtime-config.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/shadowing-claims.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/ownership/use-gesture-scroll-coordination.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/activation/pan-activation-decision.js +0 -205
- package/lib/module/providers/screen/motion/gestures/pan/activation/pan-activation-decision.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/activation/pan-activation-rules.js +0 -306
- package/lib/module/providers/screen/motion/gestures/pan/activation/pan-activation-rules.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/activation/use-pan-activation.js +0 -95
- package/lib/module/providers/screen/motion/gestures/pan/activation/use-pan-activation.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/behavior/pan-lifecycle.js +0 -129
- package/lib/module/providers/screen/motion/gestures/pan/behavior/pan-lifecycle.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/behavior/pan-release.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/behavior/pan-reset.js +0 -69
- package/lib/module/providers/screen/motion/gestures/pan/behavior/pan-reset.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/behavior/use-pan-behavior.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pan/use-build-pan-gesture.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pinch/activation/use-pinch-activation.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pinch/behavior/pinch-lifecycle.js +0 -94
- package/lib/module/providers/screen/motion/gestures/pinch/behavior/pinch-lifecycle.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pinch/behavior/pinch-release.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pinch/behavior/pinch-reset.js +0 -54
- package/lib/module/providers/screen/motion/gestures/pinch/behavior/pinch-reset.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pinch/behavior/use-pinch-behavior.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/pinch/use-build-pinch-gesture.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/scroll-coordination/index.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/scroll-coordination/scroll-metadata-owner.js +0 -29
- package/lib/module/providers/screen/motion/gestures/scroll-coordination/scroll-metadata-owner.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/scroll-coordination/update-scroll-gesture-state.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js +0 -204
- package/lib/module/providers/screen/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/directions.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/physics.js +0 -213
- package/lib/module/providers/screen/motion/gestures/shared/physics.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/policy.js +0 -268
- package/lib/module/providers/screen/motion/gestures/shared/policy.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/release.js +0 -30
- package/lib/module/providers/screen/motion/gestures/shared/release.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/reset.js +0 -58
- package/lib/module/providers/screen/motion/gestures/shared/reset.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/runtime.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/snap-points.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/snapshot.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/targets.js +0 -116
- package/lib/module/providers/screen/motion/gestures/shared/targets.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/shared/values.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/types.js.map +0 -1
- package/lib/module/providers/screen/motion/gestures/use-screen-gestures.js +0 -48
- package/lib/module/providers/screen/motion/gestures/use-screen-gestures.js.map +0 -1
- package/lib/module/providers/screen/motion/helpers/transition-visual-state.js.map +0 -1
- package/lib/module/providers/screen/motion/helpers/visibility-gate.js.map +0 -1
- package/lib/module/providers/screen/motion/hooks/use-maybe-block-visibility.js +0 -87
- package/lib/module/providers/screen/motion/hooks/use-maybe-block-visibility.js.map +0 -1
- package/lib/module/providers/screen/motion/hooks/use-motion-values.js.map +0 -1
- package/lib/module/providers/screen/motion/hooks/use-transition-values.js.map +0 -1
- package/lib/module/providers/screen/motion/index.js.map +0 -1
- package/lib/module/providers/screen/motion/motion.provider.js +0 -60
- package/lib/module/providers/screen/motion/motion.provider.js.map +0 -1
- package/lib/module/providers/screen/motion/options/helpers.js +0 -169
- package/lib/module/providers/screen/motion/options/helpers.js.map +0 -1
- package/lib/module/providers/screen/motion/options/index.js.map +0 -1
- package/lib/module/providers/screen/motion/options/types.js.map +0 -1
- package/lib/module/providers/screen/motion/options/use-screen-options.js +0 -20
- package/lib/module/providers/screen/motion/options/use-screen-options.js.map +0 -1
- package/lib/module/providers/screen/motion/types.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/helpers/derivations.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/helpers/pipeline.js +0 -205
- package/lib/module/providers/screen/orchestrator/helpers/pipeline.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/helpers/selected-interpolator-options.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/helpers/stack-progress.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/helpers/use-interpolator-state.js +0 -19
- package/lib/module/providers/screen/orchestrator/helpers/use-interpolator-state.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/hooks/use-register-gesture-ownership.js +0 -47
- package/lib/module/providers/screen/orchestrator/hooks/use-register-gesture-ownership.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/index.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/orchestrator.provider.js +0 -50
- package/lib/module/providers/screen/orchestrator/orchestrator.provider.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/constants.js +0 -92
- package/lib/module/providers/screen/orchestrator/styles/constants.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/compose-slot-style.js +0 -89
- package/lib/module/providers/screen/orchestrator/styles/helpers/compose-slot-style.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/create-interpolator-scope.js +0 -23
- package/lib/module/providers/screen/orchestrator/styles/helpers/create-interpolator-scope.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/normalize-slots.js +0 -81
- package/lib/module/providers/screen/orchestrator/styles/helpers/normalize-slots.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/resolve-interpolator-style-handoff.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/index.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/reset-values.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/slot-state.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/types.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/select-interpolator-frame.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/helpers/strip-interpolator-options.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/hooks/slot-resolvers.js +0 -80
- package/lib/module/providers/screen/orchestrator/styles/hooks/slot-resolvers.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/hooks/use-interpolated-style-maps.js +0 -204
- package/lib/module/providers/screen/orchestrator/styles/hooks/use-interpolated-style-maps.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/hooks/use-resolved-slot-style-map.js +0 -42
- package/lib/module/providers/screen/orchestrator/styles/hooks/use-resolved-slot-style-map.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/index.js.map +0 -1
- package/lib/module/providers/screen/orchestrator/styles/types.js.map +0 -1
- package/lib/module/providers/screen/screen-composer.js +0 -26
- package/lib/module/providers/screen/screen-composer.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/blank-stack-controller.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/navigation/compose-descriptors.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/navigation/resolve-scene-neighbors.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/navigation/sync-routes-with-removed.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js +0 -113
- package/lib/module/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/resolve-presented-index.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/state-equality.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/types.js.map +0 -1
- package/lib/module/providers/stack/blank-stack-state/index.js +0 -20
- package/lib/module/providers/stack/blank-stack-state/index.js.map +0 -1
- package/lib/module/providers/stack/blank-stack.provider.js +0 -61
- package/lib/module/providers/stack/blank-stack.provider.js.map +0 -1
- package/lib/module/utils/bounds/navigation/zoom/mask.js +0 -68
- package/lib/module/utils/bounds/navigation/zoom/mask.js.map +0 -1
- package/lib/typescript/animation/resolve-snap-target.d.ts +0 -3
- package/lib/typescript/animation/resolve-snap-target.d.ts.map +0 -1
- package/lib/typescript/animation/snap-to.d.ts.map +0 -1
- package/lib/typescript/animation/transition-blocking.d.ts.map +0 -1
- package/lib/typescript/components/activity/helpers.d.ts +0 -4
- package/lib/typescript/components/activity/helpers.d.ts.map +0 -1
- package/lib/typescript/components/activity/index.d.ts +0 -3
- package/lib/typescript/components/activity/index.d.ts.map +0 -1
- package/lib/typescript/components/activity/variants/activity-container.d.ts.map +0 -1
- package/lib/typescript/components/activity/variants/activity-screen.d.ts.map +0 -1
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts +0 -28
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/components/host.d.ts +0 -10
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/components/host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts +0 -45
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.d.ts +0 -8
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts +0 -2
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts +0 -10
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/index.d.ts +0 -9
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/index.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/host.d.ts +0 -7
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts +0 -13
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts +0 -4
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts +0 -21
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts +0 -10
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts +0 -12
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts +0 -12
- package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +0 -16
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +0 -1
- package/lib/typescript/components/overlay/variations/float-overlay.d.ts +0 -6
- package/lib/typescript/components/overlay/variations/float-overlay.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/helpers/find-collapse-target.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/hooks/use-backdrop-pointer-events.d.ts +0 -16
- package/lib/typescript/components/screen/container/hooks/use-backdrop-pointer-events.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/hooks/use-content-layout.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/index.d.ts +0 -6
- package/lib/typescript/components/screen/container/index.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/layers/backdrop.d.ts +0 -7
- package/lib/typescript/components/screen/container/layers/backdrop.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/layers/content.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/layers/maybe-masked-navigation-container.d.ts +0 -9
- package/lib/typescript/components/screen/container/layers/maybe-masked-navigation-container.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/layers/render-component.d.ts +0 -3
- package/lib/typescript/components/screen/container/layers/render-component.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/layers/surface.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/blank-stack.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/hooks/history/navigator-route-registry.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/hooks/history/use-screen-history.d.ts +0 -7
- package/lib/typescript/components/screen/lifecycle/hooks/history/use-screen-history.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/hooks/use-close-completion.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/hooks/use-close-transition-intent.d.ts +0 -5
- package/lib/typescript/components/screen/lifecycle/hooks/use-close-transition-intent.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/hooks/use-open-transition-intent.d.ts +0 -8
- package/lib/typescript/components/screen/lifecycle/hooks/use-open-transition-intent.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/hooks/use-transition-start-controller.d.ts +0 -9
- package/lib/typescript/components/screen/lifecycle/hooks/use-transition-start-controller.d.ts.map +0 -1
- package/lib/typescript/components/screen/lifecycle/use-screen-lifecycle.d.ts.map +0 -1
- package/lib/typescript/components/screen/screen.d.ts +0 -7
- package/lib/typescript/components/screen/screen.d.ts.map +0 -1
- package/lib/typescript/components/screen/view.d.ts +0 -3
- package/lib/typescript/components/screen/view.d.ts.map +0 -1
- package/lib/typescript/hooks/navigation/use-navigation-helpers.d.ts.map +0 -1
- package/lib/typescript/navigators/create-blank-stack-navigator.d.ts +0 -9
- package/lib/typescript/navigators/create-blank-stack-navigator.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/builder.provider.d.ts +0 -50
- package/lib/typescript/providers/screen/builder/builder.provider.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/helpers/derive-descriptor-derivations.d.ts +0 -20
- package/lib/typescript/providers/screen/builder/helpers/derive-descriptor-derivations.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/hooks/use-screen-topology.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/topology/helpers/create-screen-topology.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/topology/hooks/use-resolved-transition-key.d.ts +0 -3
- package/lib/typescript/providers/screen/builder/topology/hooks/use-resolved-transition-key.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/topology/hooks/use-screen-relationships.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/topology/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/builder/topology/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/emit-motion-start.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/build-screen-transition-options.d.ts +0 -3
- package/lib/typescript/providers/screen/motion/animation/helpers/build-screen-transition-options.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/gesture-progress.d.ts +0 -10
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/gesture-progress.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/index.d.ts +0 -5
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/snap-points.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/types.d.ts +0 -28
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/worklet.d.ts +0 -14
- package/lib/typescript/providers/screen/motion/animation/helpers/worklet.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/pipeline.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/types.d.ts +0 -3
- package/lib/typescript/providers/screen/motion/animation/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/animation/use-screen-animation.d.ts +0 -9
- package/lib/typescript/providers/screen/motion/animation/use-screen-animation.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/compute-claimed-directions.d.ts +0 -19
- package/lib/typescript/providers/screen/motion/gestures/ownership/compute-claimed-directions.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/gesture-ownership-coordinator.d.ts +0 -26
- package/lib/typescript/providers/screen/motion/gestures/ownership/gesture-ownership-coordinator.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/hooks/use-gesture-sensitivity.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture-config.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/hooks/use-stable-runtime-config.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/shadowing-claims.d.ts +0 -7
- package/lib/typescript/providers/screen/motion/gestures/ownership/shadowing-claims.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/ownership/use-gesture-scroll-coordination.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/activation/pan-activation-decision.d.ts +0 -29
- package/lib/typescript/providers/screen/motion/gestures/pan/activation/pan-activation-decision.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/activation/pan-activation-rules.d.ts +0 -105
- package/lib/typescript/providers/screen/motion/gestures/pan/activation/pan-activation-rules.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/activation/use-pan-activation.d.ts +0 -20
- package/lib/typescript/providers/screen/motion/gestures/pan/activation/use-pan-activation.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/behavior/pan-lifecycle.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/behavior/pan-release.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/behavior/pan-reset.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/behavior/use-pan-behavior.d.ts +0 -6
- package/lib/typescript/providers/screen/motion/gestures/pan/behavior/use-pan-behavior.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pan/use-build-pan-gesture.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pinch/activation/use-pinch-activation.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pinch/behavior/pinch-lifecycle.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pinch/behavior/pinch-release.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pinch/behavior/pinch-reset.d.ts +0 -12
- package/lib/typescript/providers/screen/motion/gestures/pinch/behavior/pinch-reset.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pinch/behavior/use-pinch-behavior.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/pinch/use-build-pinch-gesture.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/scroll-coordination/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/scroll-coordination/scroll-metadata-owner.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/scroll-coordination/update-scroll-gesture-state.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/directions.d.ts +0 -20
- package/lib/typescript/providers/screen/motion/gestures/shared/directions.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/physics.d.ts +0 -71
- package/lib/typescript/providers/screen/motion/gestures/shared/physics.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/policy.d.ts +0 -34
- package/lib/typescript/providers/screen/motion/gestures/shared/policy.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/release.d.ts +0 -13
- package/lib/typescript/providers/screen/motion/gestures/shared/release.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/reset.d.ts +0 -10
- package/lib/typescript/providers/screen/motion/gestures/shared/reset.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/runtime.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/snap-points.d.ts +0 -48
- package/lib/typescript/providers/screen/motion/gestures/shared/snap-points.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/snapshot.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/targets.d.ts +0 -48
- package/lib/typescript/providers/screen/motion/gestures/shared/targets.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/shared/values.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/types.d.ts +0 -140
- package/lib/typescript/providers/screen/motion/gestures/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/gestures/use-screen-gestures.d.ts +0 -17
- package/lib/typescript/providers/screen/motion/gestures/use-screen-gestures.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/helpers/transition-visual-state.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/helpers/visibility-gate.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/hooks/use-maybe-block-visibility.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/hooks/use-motion-values.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/hooks/use-transition-values.d.ts +0 -49
- package/lib/typescript/providers/screen/motion/hooks/use-transition-values.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/motion.provider.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/options/helpers.d.ts +0 -6
- package/lib/typescript/providers/screen/motion/options/helpers.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/options/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/options/types.d.ts +0 -25
- package/lib/typescript/providers/screen/motion/options/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/options/use-screen-options.d.ts.map +0 -1
- package/lib/typescript/providers/screen/motion/types.d.ts +0 -67
- package/lib/typescript/providers/screen/motion/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/helpers/derivations.d.ts +0 -14
- package/lib/typescript/providers/screen/orchestrator/helpers/derivations.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/helpers/pipeline.d.ts +0 -12
- package/lib/typescript/providers/screen/orchestrator/helpers/pipeline.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/helpers/selected-interpolator-options.d.ts +0 -9
- package/lib/typescript/providers/screen/orchestrator/helpers/selected-interpolator-options.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/helpers/stack-progress.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/helpers/use-interpolator-state.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/hooks/use-register-gesture-ownership.d.ts +0 -9
- package/lib/typescript/providers/screen/orchestrator/hooks/use-register-gesture-ownership.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/orchestrator.provider.d.ts +0 -35
- package/lib/typescript/providers/screen/orchestrator/orchestrator.provider.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/constants.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/compose-slot-style.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/create-interpolator-scope.d.ts +0 -8
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/create-interpolator-scope.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/normalize-slots.d.ts +0 -10
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/normalize-slots.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-interpolator-style-handoff.d.ts +0 -10
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-interpolator-style-handoff.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/are-resettable-states-equal.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/index.d.ts +0 -24
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.d.ts +0 -15
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/reset-values.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/slot-state.d.ts +0 -13
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/slot-state.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/types.d.ts +0 -10
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/select-interpolator-frame.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/helpers/strip-interpolator-options.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/hooks/slot-resolvers.d.ts +0 -11
- package/lib/typescript/providers/screen/orchestrator/styles/hooks/slot-resolvers.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/hooks/use-interpolated-style-maps.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/hooks/use-resolved-slot-style-map.d.ts +0 -9
- package/lib/typescript/providers/screen/orchestrator/styles/hooks/use-resolved-slot-style-map.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/index.d.ts.map +0 -1
- package/lib/typescript/providers/screen/orchestrator/styles/types.d.ts +0 -3
- package/lib/typescript/providers/screen/orchestrator/styles/types.d.ts.map +0 -1
- package/lib/typescript/providers/screen/screen-composer.d.ts +0 -6
- package/lib/typescript/providers/screen/screen-composer.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/blank-stack-controller.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/build-blank-stack-state.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/navigation/compose-descriptors.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/navigation/resolve-scene-neighbors.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/navigation/sync-routes-with-removed.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/resolve-presented-index.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/state-equality.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/types.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack-state/index.d.ts +0 -14
- package/lib/typescript/providers/stack/blank-stack-state/index.d.ts.map +0 -1
- package/lib/typescript/providers/stack/blank-stack.provider.d.ts +0 -23
- package/lib/typescript/providers/stack/blank-stack.provider.d.ts.map +0 -1
- package/lib/typescript/utils/bounds/navigation/zoom/mask.d.ts +0 -27
- package/lib/typescript/utils/bounds/navigation/zoom/mask.d.ts.map +0 -1
- package/src/animation/resolve-snap-target.ts +0 -53
- package/src/animation/snap-to.ts +0 -96
- package/src/animation/transition-blocking.ts +0 -79
- package/src/components/activity/helpers.ts +0 -8
- package/src/components/activity/index.tsx +0 -2
- package/src/components/activity/variants/activity-screen.tsx +0 -117
- package/src/components/boundary/hooks/use-boundary-measurement.ts +0 -98
- package/src/components/boundary/portal/components/boundary-content-portal/components/host.tsx +0 -56
- package/src/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts +0 -192
- package/src/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.ts +0 -23
- package/src/components/boundary/portal/components/boundary-content-portal/helpers/host-name.ts +0 -9
- package/src/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +0 -252
- package/src/components/boundary/portal/components/boundary-content-portal/index.tsx +0 -81
- package/src/components/boundary/portal/components/boundary-portal/components/host.tsx +0 -119
- package/src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +0 -139
- package/src/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts +0 -10
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +0 -118
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +0 -64
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts +0 -90
- package/src/components/boundary/portal/components/boundary-portal/index.tsx +0 -97
- package/src/components/boundary/portal/components/boundary-portal/stores/host-registry.store.ts +0 -134
- package/src/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +0 -100
- package/src/components/overlay/index.ts +0 -5
- package/src/components/overlay/variations/float-overlay.tsx +0 -33
- package/src/components/screen/container/helpers/find-collapse-target.ts +0 -62
- package/src/components/screen/container/hooks/use-backdrop-pointer-events.ts +0 -51
- package/src/components/screen/container/hooks/use-content-layout.ts +0 -84
- package/src/components/screen/container/index.tsx +0 -39
- package/src/components/screen/container/layers/backdrop.tsx +0 -163
- package/src/components/screen/container/layers/content.tsx +0 -113
- package/src/components/screen/container/layers/maybe-masked-navigation-container.tsx +0 -113
- package/src/components/screen/container/layers/surface.tsx +0 -68
- package/src/components/screen/lifecycle/blank-stack.tsx +0 -18
- package/src/components/screen/lifecycle/hooks/helpers/reset-stores-for-screen.ts +0 -9
- package/src/components/screen/lifecycle/hooks/history/use-screen-history.ts +0 -90
- package/src/components/screen/lifecycle/hooks/use-close-completion.ts +0 -28
- package/src/components/screen/lifecycle/hooks/use-close-transition-intent.ts +0 -29
- package/src/components/screen/lifecycle/hooks/use-open-transition-intent.ts +0 -112
- package/src/components/screen/lifecycle/hooks/use-transition-start-controller.ts +0 -67
- package/src/components/screen/lifecycle/use-screen-lifecycle.ts +0 -36
- package/src/components/screen/screen.tsx +0 -52
- package/src/components/screen/view.tsx +0 -74
- package/src/hooks/navigation/use-navigation-helpers.ts +0 -59
- package/src/navigators/create-blank-stack-navigator.tsx +0 -35
- package/src/providers/screen/builder/builder.provider.tsx +0 -86
- package/src/providers/screen/builder/helpers/derive-descriptor-derivations.ts +0 -56
- package/src/providers/screen/builder/hooks/use-screen-topology.ts +0 -52
- package/src/providers/screen/builder/topology/hooks/use-resolved-transition-key.ts +0 -29
- package/src/providers/screen/motion/animation/emit-motion-start.ts +0 -20
- package/src/providers/screen/motion/animation/helpers/build-screen-transition-options.ts +0 -23
- package/src/providers/screen/motion/animation/helpers/hydrate-transition-state/gesture-progress.ts +0 -195
- package/src/providers/screen/motion/animation/helpers/hydrate-transition-state/index.ts +0 -229
- package/src/providers/screen/motion/animation/helpers/hydrate-transition-state/snap-points.ts +0 -189
- package/src/providers/screen/motion/animation/helpers/hydrate-transition-state/types.ts +0 -37
- package/src/providers/screen/motion/animation/helpers/worklet.ts +0 -47
- package/src/providers/screen/motion/animation/pipeline.ts +0 -40
- package/src/providers/screen/motion/animation/types.ts +0 -3
- package/src/providers/screen/motion/animation/use-screen-animation.tsx +0 -70
- package/src/providers/screen/motion/gestures/ownership/compute-claimed-directions.ts +0 -98
- package/src/providers/screen/motion/gestures/ownership/gesture-ownership-coordinator.ts +0 -252
- package/src/providers/screen/motion/gestures/ownership/hooks/use-screen-gesture-config.ts +0 -17
- package/src/providers/screen/motion/gestures/ownership/shadowing-claims.ts +0 -17
- package/src/providers/screen/motion/gestures/pan/activation/pan-activation-decision.ts +0 -452
- package/src/providers/screen/motion/gestures/pan/activation/pan-activation-rules.ts +0 -453
- package/src/providers/screen/motion/gestures/pan/activation/use-pan-activation.ts +0 -161
- package/src/providers/screen/motion/gestures/pan/behavior/pan-lifecycle.ts +0 -167
- package/src/providers/screen/motion/gestures/pan/behavior/pan-reset.ts +0 -88
- package/src/providers/screen/motion/gestures/pan/behavior/use-pan-behavior.ts +0 -138
- package/src/providers/screen/motion/gestures/pinch/behavior/pinch-lifecycle.ts +0 -112
- package/src/providers/screen/motion/gestures/pinch/behavior/pinch-reset.ts +0 -73
- package/src/providers/screen/motion/gestures/scroll-coordination/scroll-metadata-owner.tsx +0 -40
- package/src/providers/screen/motion/gestures/scroll-coordination/use-scroll-gesture-coordination.ts +0 -306
- package/src/providers/screen/motion/gestures/shared/directions.ts +0 -219
- package/src/providers/screen/motion/gestures/shared/physics.ts +0 -331
- package/src/providers/screen/motion/gestures/shared/policy.ts +0 -416
- package/src/providers/screen/motion/gestures/shared/release.ts +0 -43
- package/src/providers/screen/motion/gestures/shared/reset.ts +0 -88
- package/src/providers/screen/motion/gestures/shared/snap-points.ts +0 -338
- package/src/providers/screen/motion/gestures/shared/targets.ts +0 -202
- package/src/providers/screen/motion/gestures/types.ts +0 -202
- package/src/providers/screen/motion/gestures/use-screen-gestures.ts +0 -66
- package/src/providers/screen/motion/hooks/use-maybe-block-visibility.tsx +0 -119
- package/src/providers/screen/motion/hooks/use-motion-values.ts +0 -109
- package/src/providers/screen/motion/hooks/use-transition-values.ts +0 -136
- package/src/providers/screen/motion/motion.provider.tsx +0 -69
- package/src/providers/screen/motion/options/helpers.ts +0 -350
- package/src/providers/screen/motion/options/types.ts +0 -30
- package/src/providers/screen/motion/options/use-screen-options.ts +0 -30
- package/src/providers/screen/motion/types.ts +0 -73
- package/src/providers/screen/orchestrator/helpers/derivations.ts +0 -23
- package/src/providers/screen/orchestrator/helpers/pipeline.ts +0 -341
- package/src/providers/screen/orchestrator/helpers/selected-interpolator-options.ts +0 -90
- package/src/providers/screen/orchestrator/helpers/use-interpolator-state.ts +0 -30
- package/src/providers/screen/orchestrator/hooks/use-register-gesture-ownership.ts +0 -76
- package/src/providers/screen/orchestrator/orchestrator.provider.tsx +0 -69
- package/src/providers/screen/orchestrator/styles/constants.ts +0 -86
- package/src/providers/screen/orchestrator/styles/helpers/compose-slot-style.ts +0 -129
- package/src/providers/screen/orchestrator/styles/helpers/create-interpolator-scope.ts +0 -26
- package/src/providers/screen/orchestrator/styles/helpers/normalize-slots.ts +0 -111
- package/src/providers/screen/orchestrator/styles/helpers/resolve-interpolator-style-handoff.ts +0 -138
- package/src/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/index.ts +0 -572
- package/src/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/materialize-slot.ts +0 -161
- package/src/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/slot-state.ts +0 -122
- package/src/providers/screen/orchestrator/styles/helpers/resolve-slot-styles/types.ts +0 -12
- package/src/providers/screen/orchestrator/styles/hooks/slot-resolvers.tsx +0 -115
- package/src/providers/screen/orchestrator/styles/hooks/use-interpolated-style-maps.tsx +0 -295
- package/src/providers/screen/orchestrator/styles/hooks/use-resolved-slot-style-map.tsx +0 -65
- package/src/providers/screen/orchestrator/styles/types.ts +0 -12
- package/src/providers/screen/screen-composer.tsx +0 -26
- package/src/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.ts +0 -180
- package/src/providers/stack/blank-stack.provider.tsx +0 -84
- package/src/utils/bounds/navigation/zoom/mask.ts +0 -133
- /package/lib/commonjs/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.js +0 -0
- /package/lib/commonjs/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.js +0 -0
- /package/lib/commonjs/{components/activity/variants → navigators/blank-stack/components/activity}/activity-container.js +0 -0
- /package/lib/commonjs/{components/screen → navigators/blank-stack/components}/lifecycle/hooks/history/navigator-route-registry.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/blank-stack-controller.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/build-blank-stack-state.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/derive-blank-stack-state.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/compose-descriptors.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/resolve-scene-neighbors.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/sync-routes-with-removed.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/resolve-presented-index.js +0 -0
- /package/lib/commonjs/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/state-equality.js +0 -0
- /package/lib/commonjs/{providers/screen/motion/animation/helpers/hydrate-transition-state → navigators/blank-stack/state/helpers}/types.js +0 -0
- /package/lib/commonjs/providers/{screen/builder → builder}/index.js +0 -0
- /package/lib/commonjs/providers/{screen/builder → builder}/topology/helpers/create-screen-topology.js +0 -0
- /package/lib/commonjs/providers/{screen/builder → builder}/topology/hooks/use-resolved-transition-key.js +0 -0
- /package/lib/commonjs/providers/{screen/builder → builder}/topology/hooks/use-screen-relationships.js +0 -0
- /package/lib/commonjs/providers/{screen/builder → builder}/topology/index.js +0 -0
- /package/lib/commonjs/providers/{screen/builder → builder}/topology/types.js +0 -0
- /package/lib/commonjs/providers/{screen/motion/animation → motion/animation/helpers/hydrate-transition-state}/types.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/animation/helpers/worklet.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/animation/index.js +0 -0
- /package/lib/commonjs/providers/{screen/motion/options → motion/animation}/types.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/index.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/ownership/hooks/use-gesture-sensitivity.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/ownership/hooks/use-screen-gesture.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/ownership/hooks/use-stable-runtime-config.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/ownership/shadowing-claims.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/ownership/use-gesture-scroll-coordination.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/pan/behavior/pan-release.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/pan/behavior/use-pan-behavior.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/pan/use-build-pan-gesture.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/pinch/activation/use-pinch-activation.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/pinch/behavior/pinch-release.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/pinch/behavior/use-pinch-behavior.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/pinch/use-build-pinch-gesture.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/scroll-coordination/index.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/scroll-coordination/update-scroll-gesture-state.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/shared/directions.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/shared/runtime.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/shared/snap-points.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/shared/snapshot.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/shared/values.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/gestures/types.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/helpers/transition-visual-state.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/helpers/visibility-gate.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/hooks/use-motion-values.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/hooks/use-transition-values.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/index.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion}/options/index.js +0 -0
- /package/lib/commonjs/providers/{screen/motion → motion/options}/types.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator/styles/helpers/resolve-slot-styles → motion}/types.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/helpers/derivations.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/helpers/selected-interpolator-options.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/helpers/stack-progress.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/index.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-interpolator-style-handoff.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/index.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/materialize-slot.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/reset-values.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/slot-state.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator/styles → orchestrator/styles/helpers/resolve-slot-styles}/types.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/select-interpolator-frame.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/helpers/strip-interpolator-options.js +0 -0
- /package/lib/commonjs/providers/{screen/orchestrator → orchestrator}/styles/index.js +0 -0
- /package/lib/commonjs/providers/{stack/blank-stack-state/helpers → orchestrator/styles}/types.js +0 -0
- /package/lib/module/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.js +0 -0
- /package/lib/module/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.js +0 -0
- /package/lib/module/{components/activity/variants → navigators/blank-stack/components/activity}/activity-container.js +0 -0
- /package/lib/module/{components/screen → navigators/blank-stack/components}/lifecycle/hooks/history/navigator-route-registry.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/blank-stack-controller.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/build-blank-stack-state.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/derive-blank-stack-state.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/compose-descriptors.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/resolve-scene-neighbors.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/sync-routes-with-removed.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/resolve-presented-index.js +0 -0
- /package/lib/module/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/state-equality.js +0 -0
- /package/lib/module/{providers/screen/motion/animation/helpers/hydrate-transition-state → navigators/blank-stack/state/helpers}/types.js +0 -0
- /package/lib/module/providers/{screen/builder → builder}/index.js +0 -0
- /package/lib/module/providers/{screen/builder → builder}/topology/helpers/create-screen-topology.js +0 -0
- /package/lib/module/providers/{screen/builder → builder}/topology/hooks/use-resolved-transition-key.js +0 -0
- /package/lib/module/providers/{screen/builder → builder}/topology/hooks/use-screen-relationships.js +0 -0
- /package/lib/module/providers/{screen/builder → builder}/topology/index.js +0 -0
- /package/lib/module/providers/{screen/builder → builder}/topology/types.js +0 -0
- /package/lib/module/providers/{screen/motion/animation → motion/animation/helpers/hydrate-transition-state}/types.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/animation/helpers/worklet.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/animation/index.js +0 -0
- /package/lib/module/providers/{screen/motion/options → motion/animation}/types.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/index.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/ownership/hooks/use-gesture-sensitivity.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/ownership/hooks/use-screen-gesture.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/ownership/hooks/use-stable-runtime-config.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/ownership/shadowing-claims.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/ownership/use-gesture-scroll-coordination.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/pan/behavior/pan-release.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/pan/behavior/use-pan-behavior.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/pan/use-build-pan-gesture.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/pinch/activation/use-pinch-activation.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/pinch/behavior/pinch-release.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/pinch/behavior/use-pinch-behavior.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/pinch/use-build-pinch-gesture.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/scroll-coordination/index.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/scroll-coordination/update-scroll-gesture-state.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/shared/directions.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/shared/runtime.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/shared/snap-points.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/shared/snapshot.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/shared/values.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/gestures/types.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/helpers/transition-visual-state.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/helpers/visibility-gate.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/hooks/use-motion-values.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/hooks/use-transition-values.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/index.js +0 -0
- /package/lib/module/providers/{screen/motion → motion}/options/index.js +0 -0
- /package/lib/module/providers/{screen/motion → motion/options}/types.js +0 -0
- /package/lib/module/providers/{screen/orchestrator/styles/helpers/resolve-slot-styles → motion}/types.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/helpers/derivations.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/helpers/selected-interpolator-options.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/helpers/stack-progress.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/index.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-interpolator-style-handoff.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/index.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/materialize-slot.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/reset-values.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/slot-state.js +0 -0
- /package/lib/module/providers/{screen/orchestrator/styles → orchestrator/styles/helpers/resolve-slot-styles}/types.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/select-interpolator-frame.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/helpers/strip-interpolator-options.js +0 -0
- /package/lib/module/providers/{screen/orchestrator → orchestrator}/styles/index.js +0 -0
- /package/lib/module/providers/{stack/blank-stack-state/helpers → orchestrator/styles}/types.js +0 -0
- /package/lib/typescript/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.d.ts +0 -0
- /package/lib/typescript/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.d.ts +0 -0
- /package/lib/typescript/components/boundary/portal/{components/boundary-portal/stores → stores}/host-registry.store.d.ts +0 -0
- /package/lib/typescript/components/{screen/container → screen-layers}/helpers/find-collapse-target.d.ts +0 -0
- /package/lib/typescript/components/{screen/container → screen-layers}/hooks/use-content-layout.d.ts +0 -0
- /package/lib/typescript/components/{screen/container → screen-layers}/layers/content.d.ts +0 -0
- /package/lib/typescript/components/{screen/container → screen-layers}/layers/surface.d.ts +0 -0
- /package/lib/typescript/{animation → controls}/snap-to.d.ts +0 -0
- /package/lib/typescript/{animation → controls}/transition-blocking.d.ts +0 -0
- /package/lib/typescript/{components/activity/variants → navigators/blank-stack/components/activity}/activity-container.d.ts +0 -0
- /package/lib/typescript/{components/activity/variants → navigators/blank-stack/components/activity}/activity-screen.d.ts +0 -0
- /package/lib/typescript/{components/screen → navigators/blank-stack/components}/lifecycle/blank-stack.d.ts +0 -0
- /package/lib/typescript/{components/screen → navigators/blank-stack/components}/lifecycle/hooks/helpers/reset-stores-for-screen.d.ts +0 -0
- /package/lib/typescript/{components/screen → navigators/blank-stack/components}/lifecycle/hooks/history/navigator-route-registry.d.ts +0 -0
- /package/lib/typescript/{components/screen → navigators/blank-stack/components}/lifecycle/hooks/use-close-completion.d.ts +0 -0
- /package/lib/typescript/{components/screen → navigators/blank-stack/components}/lifecycle/use-screen-lifecycle.d.ts +0 -0
- /package/lib/typescript/{hooks/navigation → navigators/blank-stack/hooks}/use-navigation-helpers.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/blank-stack-controller.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/build-blank-stack-state.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/derive-blank-stack-state.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/compose-descriptors.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/resolve-scene-neighbors.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/sync-routes-with-removed.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/reconcile-blank-stack-routes.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/resolve-presented-index.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/state-equality.d.ts +0 -0
- /package/lib/typescript/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/types.d.ts +0 -0
- /package/lib/typescript/providers/{screen/builder → builder}/hooks/use-screen-topology.d.ts +0 -0
- /package/lib/typescript/providers/{screen/builder → builder}/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/builder → builder}/topology/helpers/create-screen-topology.d.ts +0 -0
- /package/lib/typescript/providers/{screen/builder → builder}/topology/hooks/use-screen-relationships.d.ts +0 -0
- /package/lib/typescript/providers/{screen/builder → builder}/topology/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/builder → builder}/topology/types.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/animation/emit-motion-start.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/animation/helpers/hydrate-transition-state/snap-points.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/animation/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/animation/pipeline.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/ownership/hooks/use-gesture-sensitivity.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/ownership/hooks/use-screen-gesture-config.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/ownership/hooks/use-screen-gesture.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/ownership/hooks/use-stable-runtime-config.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/ownership/use-gesture-scroll-coordination.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pan/behavior/pan-lifecycle.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pan/behavior/pan-release.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pan/behavior/pan-reset.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pan/use-build-pan-gesture.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pinch/activation/use-pinch-activation.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pinch/behavior/pinch-lifecycle.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pinch/behavior/pinch-release.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pinch/behavior/use-pinch-behavior.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/pinch/use-build-pinch-gesture.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/scroll-coordination/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/scroll-coordination/scroll-metadata-owner.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/scroll-coordination/update-scroll-gesture-state.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/scroll-coordination/use-scroll-gesture-coordination.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/shared/runtime.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/shared/snapshot.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/gestures/shared/values.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/helpers/transition-visual-state.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/helpers/visibility-gate.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/hooks/use-maybe-block-visibility.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/hooks/use-motion-values.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/motion.provider.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/options/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/motion → motion}/options/use-screen-options.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/helpers/stack-progress.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/helpers/use-interpolator-state.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/index.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/constants.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/helpers/compose-slot-style.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/are-resettable-states-equal.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/reset-values.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/helpers/select-interpolator-frame.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/helpers/strip-interpolator-options.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/hooks/use-interpolated-style-maps.d.ts +0 -0
- /package/lib/typescript/providers/{screen/orchestrator → orchestrator}/styles/index.d.ts +0 -0
- /package/src/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.ts +0 -0
- /package/src/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.ts +0 -0
- /package/src/components/{screen/container/layers/render-component.ts → screen-layers/helpers/uses-layer-render-props.ts} +0 -0
- /package/src/{components/activity/variants → navigators/blank-stack/components/activity}/activity-container.tsx +0 -0
- /package/src/{components/screen → navigators/blank-stack/components}/lifecycle/hooks/history/navigator-route-registry.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/blank-stack-controller.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/build-blank-stack-state.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/derive-blank-stack-state.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/compose-descriptors.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/resolve-scene-neighbors.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/navigation/sync-routes-with-removed.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/resolve-presented-index.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/state-equality.ts +0 -0
- /package/src/{providers/stack/blank-stack-state → navigators/blank-stack/state}/helpers/types.ts +0 -0
- /package/src/{providers/stack/blank-stack-state/index.ts → navigators/blank-stack/state/use-blank-stack-state.ts} +0 -0
- /package/src/providers/{screen/builder → builder}/index.tsx +0 -0
- /package/src/providers/{screen/builder → builder}/topology/helpers/create-screen-topology.ts +0 -0
- /package/src/providers/{screen/builder → builder}/topology/hooks/use-screen-relationships.ts +0 -0
- /package/src/providers/{screen/builder → builder}/topology/index.ts +0 -0
- /package/src/providers/{screen/builder → builder}/topology/types.ts +0 -0
- /package/src/providers/{screen/motion → motion}/animation/index.tsx +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/index.tsx +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/ownership/hooks/use-gesture-sensitivity.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/ownership/hooks/use-screen-gesture.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/ownership/hooks/use-stable-runtime-config.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/ownership/use-gesture-scroll-coordination.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/pan/behavior/pan-release.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/pan/use-build-pan-gesture.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/pinch/activation/use-pinch-activation.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/pinch/behavior/pinch-release.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/pinch/behavior/use-pinch-behavior.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/pinch/use-build-pinch-gesture.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/scroll-coordination/index.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/scroll-coordination/update-scroll-gesture-state.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/shared/runtime.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/shared/snapshot.ts +0 -0
- /package/src/providers/{screen/motion → motion}/gestures/shared/values.ts +0 -0
- /package/src/providers/{screen/motion → motion}/helpers/transition-visual-state.ts +0 -0
- /package/src/providers/{screen/motion → motion}/helpers/visibility-gate.ts +0 -0
- /package/src/providers/{screen/motion → motion}/index.ts +0 -0
- /package/src/providers/{screen/motion → motion}/options/index.ts +0 -0
- /package/src/providers/{screen/orchestrator → orchestrator}/helpers/stack-progress.ts +0 -0
- /package/src/providers/{screen/orchestrator → orchestrator}/index.ts +0 -0
- /package/src/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/are-resettable-states-equal.ts +0 -0
- /package/src/providers/{screen/orchestrator → orchestrator}/styles/helpers/resolve-slot-styles/reset-values.ts +0 -0
- /package/src/providers/{screen/orchestrator → orchestrator}/styles/helpers/select-interpolator-frame.ts +0 -0
- /package/src/providers/{screen/orchestrator → orchestrator}/styles/helpers/strip-interpolator-options.ts +0 -0
- /package/src/providers/{screen/orchestrator → orchestrator}/styles/index.tsx +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { scheduleOnUI } from "react-native-worklets";
|
|
4
|
+
import { getMotionStore } from "../providers/motion";
|
|
5
|
+
import { animateToProgress } from "../utils/animation/animate-to-progress";
|
|
6
|
+
import { resolveSnapTransitionSpec } from "../utils/animation/resolve-snap-transition-spec";
|
|
7
|
+
import { logger } from "../utils/logger";
|
|
8
|
+
import { resolveSnapTargetEntry } from "./helpers/resolve-snap-target";
|
|
9
|
+
const getSortedSnapPoints = descriptor => {
|
|
10
|
+
const snapPoints = descriptor.options?.snapPoints;
|
|
11
|
+
if (!snapPoints || snapPoints.length === 0) return null;
|
|
12
|
+
|
|
13
|
+
// Resolve 'auto' to the measured fraction owned by Motion
|
|
14
|
+
const autoVal = getMotionStore(descriptor.route.key).state.resolvedAutoSnapPoint.get();
|
|
15
|
+
const resolved = snapPoints.map(p => typeof p === "string" ? autoVal : p).filter(p => typeof p === "number" && p > 0);
|
|
16
|
+
return resolved.length > 0 ? resolved.sort((a, b) => a - b) : null;
|
|
17
|
+
};
|
|
18
|
+
export function snapDescriptorToIndex(descriptor, index) {
|
|
19
|
+
const sorted = getSortedSnapPoints(descriptor);
|
|
20
|
+
if (!sorted) {
|
|
21
|
+
logger.warn("snapTo: target screen has no snapPoints");
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
if (index < 0 || index >= sorted.length) {
|
|
25
|
+
logger.warn(`snapTo: index ${index} out of bounds (0-${sorted.length - 1})`);
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
const targetProgress = sorted[index];
|
|
29
|
+
const animations = getMotionStore(descriptor.route.key).state;
|
|
30
|
+
const {
|
|
31
|
+
targetProgress: targetProgressValue,
|
|
32
|
+
animationProgress: animationProgressValue
|
|
33
|
+
} = animations;
|
|
34
|
+
scheduleOnUI(() => {
|
|
35
|
+
"worklet";
|
|
36
|
+
|
|
37
|
+
const currentProgress = animations.transitionProgress.get();
|
|
38
|
+
animateToProgress({
|
|
39
|
+
target: targetProgress,
|
|
40
|
+
markEntering: false,
|
|
41
|
+
animations,
|
|
42
|
+
targetProgress: targetProgressValue,
|
|
43
|
+
animationProgress: animationProgressValue,
|
|
44
|
+
spec: resolveSnapTransitionSpec(descriptor.options.transitionSpec, targetProgress < currentProgress ? "collapse" : "expand")
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Programmatically snap the currently focused screen to a specific snap point.
|
|
52
|
+
*
|
|
53
|
+
* @param index - The index of the snap point to snap to (0-based, sorted ascending)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```tsx
|
|
57
|
+
* import { snapTo } from 'react-native-screen-transitions';
|
|
58
|
+
*
|
|
59
|
+
* // Snap to the first (smallest) snap point
|
|
60
|
+
* snapTo(0);
|
|
61
|
+
*
|
|
62
|
+
* // Snap to the last (largest) snap point
|
|
63
|
+
* snapTo(2); // if there are 3 snap points
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export function snapTo(index) {
|
|
67
|
+
const screenWithSnapPoints = resolveSnapTargetEntry();
|
|
68
|
+
if (!screenWithSnapPoints) {
|
|
69
|
+
logger.warn("snapTo: No screens with snapPoints in history");
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
snapDescriptorToIndex(screenWithSnapPoints.descriptor, index);
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=snap-to.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["scheduleOnUI","getMotionStore","animateToProgress","resolveSnapTransitionSpec","logger","resolveSnapTargetEntry","getSortedSnapPoints","descriptor","snapPoints","options","length","autoVal","route","key","state","resolvedAutoSnapPoint","get","resolved","map","p","filter","sort","a","b","snapDescriptorToIndex","index","sorted","warn","targetProgress","animations","targetProgressValue","animationProgress","animationProgressValue","currentProgress","transitionProgress","target","markEntering","spec","transitionSpec","snapTo","screenWithSnapPoints"],"sourceRoot":"../../../src","sources":["controls/snap-to.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,uBAAuB;AACpD,SAASC,cAAc,QAAQ,qBAAqB;AAEpD,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,yBAAyB,QAAQ,iDAAiD;AAC3F,SAASC,MAAM,QAAQ,iBAAiB;AACxC,SAASC,sBAAsB,QAAQ,+BAA+B;AAEtE,MAAMC,mBAAmB,GACxBC,UAAsC,IACjB;EACrB,MAAMC,UAAU,GAAGD,UAAU,CAACE,OAAO,EAAED,UAAU;EACjD,IAAI,CAACA,UAAU,IAAIA,UAAU,CAACE,MAAM,KAAK,CAAC,EAAE,OAAO,IAAI;;EAEvD;EACA,MAAMC,OAAO,GAAGV,cAAc,CAC7BM,UAAU,CAACK,KAAK,CAACC,GAClB,CAAC,CAACC,KAAK,CAACC,qBAAqB,CAACC,GAAG,CAAC,CAAC;EAEnC,MAAMC,QAAQ,GAAGT,UAAU,CACzBU,GAAG,CAAEC,CAAC,IAAM,OAAOA,CAAC,KAAK,QAAQ,GAAGR,OAAO,GAAGQ,CAAE,CAAC,CACjDC,MAAM,CAAED,CAAC,IAAkB,OAAOA,CAAC,KAAK,QAAQ,IAAIA,CAAC,GAAG,CAAC,CAAC;EAE5D,OAAOF,QAAQ,CAACP,MAAM,GAAG,CAAC,GAAGO,QAAQ,CAACI,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAAC,GAAG,IAAI;AACnE,CAAC;AAED,OAAO,SAASC,qBAAqBA,CACpCjB,UAAsC,EACtCkB,KAAa,EACH;EACV,MAAMC,MAAM,GAAGpB,mBAAmB,CAACC,UAAU,CAAC;EAC9C,IAAI,CAACmB,MAAM,EAAE;IACZtB,MAAM,CAACuB,IAAI,CAAC,yCAAyC,CAAC;IACtD,OAAO,KAAK;EACb;EAEA,IAAIF,KAAK,GAAG,CAAC,IAAIA,KAAK,IAAIC,MAAM,CAAChB,MAAM,EAAE;IACxCN,MAAM,CAACuB,IAAI,CACV,iBAAiBF,KAAK,qBAAqBC,MAAM,CAAChB,MAAM,GAAG,CAAC,GAC7D,CAAC;IACD,OAAO,KAAK;EACb;EAEA,MAAMkB,cAAc,GAAGF,MAAM,CAACD,KAAK,CAAC;EACpC,MAAMI,UAAU,GAAG5B,cAAc,CAACM,UAAU,CAACK,KAAK,CAACC,GAAG,CAAC,CAACC,KAAK;EAC7D,MAAM;IACLc,cAAc,EAAEE,mBAAmB;IACnCC,iBAAiB,EAAEC;EACpB,CAAC,GAAGH,UAAU;EAEd7B,YAAY,CAAC,MAAM;IAClB,SAAS;;IACT,MAAMiC,eAAe,GAAGJ,UAAU,CAACK,kBAAkB,CAAClB,GAAG,CAAC,CAAC;IAE3Dd,iBAAiB,CAAC;MACjBiC,MAAM,EAAEP,cAAc;MACtBQ,YAAY,EAAE,KAAK;MACnBP,UAAU;MACVD,cAAc,EAAEE,mBAAmB;MACnCC,iBAAiB,EAAEC,sBAAsB;MACzCK,IAAI,EAAElC,yBAAyB,CAC9BI,UAAU,CAACE,OAAO,CAAC6B,cAAc,EACjCV,cAAc,GAAGK,eAAe,GAAG,UAAU,GAAG,QACjD;IACD,CAAC,CAAC;EACH,CAAC,CAAC;EAEF,OAAO,IAAI;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASM,MAAMA,CAACd,KAAa,EAAQ;EAC3C,MAAMe,oBAAoB,GAAGnC,sBAAsB,CAAC,CAAC;EAErD,IAAI,CAACmC,oBAAoB,EAAE;IAC1BpC,MAAM,CAACuB,IAAI,CAAC,+CAA+C,CAAC;IAC5D;EACD;EAEAH,qBAAqB,CAACgB,oBAAoB,CAACjC,UAAU,EAAEkB,KAAK,CAAC;AAC9D","ignoreList":[]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { getMotionStore } from "../providers/motion";
|
|
4
|
+
import { HistoryStore } from "../stores/history.store";
|
|
5
|
+
import { logger } from "../utils/logger";
|
|
6
|
+
const resolveTransitionRouteKey = (routeKey, actionName) => {
|
|
7
|
+
if (routeKey !== undefined) {
|
|
8
|
+
if (routeKey.length === 0) {
|
|
9
|
+
logger.warn(`${actionName}: routeKey must not be empty`);
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
12
|
+
return routeKey;
|
|
13
|
+
}
|
|
14
|
+
const entry = HistoryStore.getMostRecent();
|
|
15
|
+
if (!entry) {
|
|
16
|
+
logger.warn(`${actionName}: No screens in history`);
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
return entry.descriptor.route.key;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Prevents a screen's pending lifecycle transition from starting.
|
|
24
|
+
*
|
|
25
|
+
* Calls are reference-counted. Every call must be paired with one
|
|
26
|
+
* {@linkcode unblockTransition} call for the same route. When `routeKey` is
|
|
27
|
+
* omitted, the most recently focused screen in navigation history is used.
|
|
28
|
+
*
|
|
29
|
+
* @param routeKey - Route key of the screen to block.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* blockTransition(route.key);
|
|
34
|
+
* // Render or prepare the destination screen.
|
|
35
|
+
* unblockTransition(route.key);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @see {@linkcode unblockTransition}
|
|
39
|
+
*/
|
|
40
|
+
export function blockTransition(routeKey) {
|
|
41
|
+
const resolvedRouteKey = resolveTransitionRouteKey(routeKey, "blockTransition");
|
|
42
|
+
if (!resolvedRouteKey) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
getMotionStore(resolvedRouteKey).state.actions.blockLifecycleStart();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Releases one lifecycle transition block for a screen.
|
|
50
|
+
*
|
|
51
|
+
* The pending transition can start when the screen's final block is released.
|
|
52
|
+
* Extra calls are safe and leave the block count at zero. When `routeKey` is
|
|
53
|
+
* omitted, the most recently focused screen in navigation history is used.
|
|
54
|
+
*
|
|
55
|
+
* @param routeKey - Route key of the screen to unblock.
|
|
56
|
+
*
|
|
57
|
+
* @see {@linkcode blockTransition}
|
|
58
|
+
*/
|
|
59
|
+
export function unblockTransition(routeKey) {
|
|
60
|
+
const resolvedRouteKey = resolveTransitionRouteKey(routeKey, "unblockTransition");
|
|
61
|
+
if (!resolvedRouteKey) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
getMotionStore(resolvedRouteKey).state.actions.unblockLifecycleStart();
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=transition-blocking.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getMotionStore","HistoryStore","logger","resolveTransitionRouteKey","routeKey","actionName","undefined","length","warn","entry","getMostRecent","descriptor","route","key","blockTransition","resolvedRouteKey","state","actions","blockLifecycleStart","unblockTransition","unblockLifecycleStart"],"sourceRoot":"../../../src","sources":["controls/transition-blocking.ts"],"mappings":";;AAAA,SAASA,cAAc,QAAQ,qBAAqB;AACpD,SAASC,YAAY,QAAQ,yBAAyB;AAEtD,SAASC,MAAM,QAAQ,iBAAiB;AAExC,MAAMC,yBAAyB,GAAGA,CACjCC,QAA+B,EAC/BC,UAAmD,KACxB;EAC3B,IAAID,QAAQ,KAAKE,SAAS,EAAE;IAC3B,IAAIF,QAAQ,CAACG,MAAM,KAAK,CAAC,EAAE;MAC1BL,MAAM,CAACM,IAAI,CAAC,GAAGH,UAAU,8BAA8B,CAAC;MACxD,OAAOC,SAAS;IACjB;IAEA,OAAOF,QAAQ;EAChB;EAEA,MAAMK,KAAK,GAAGR,YAAY,CAACS,aAAa,CAAC,CAAC;EAC1C,IAAI,CAACD,KAAK,EAAE;IACXP,MAAM,CAACM,IAAI,CAAC,GAAGH,UAAU,yBAAyB,CAAC;IACnD,OAAOC,SAAS;EACjB;EAEA,OAAOG,KAAK,CAACE,UAAU,CAACC,KAAK,CAACC,GAAG;AAClC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACV,QAAoB,EAAQ;EAC3D,MAAMW,gBAAgB,GAAGZ,yBAAyB,CACjDC,QAAQ,EACR,iBACD,CAAC;EACD,IAAI,CAACW,gBAAgB,EAAE;IACtB;EACD;EAEAf,cAAc,CAACe,gBAAgB,CAAC,CAACC,KAAK,CAACC,OAAO,CAACC,mBAAmB,CAAC,CAAC;AACrE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACf,QAAoB,EAAQ;EAC7D,MAAMW,gBAAgB,GAAGZ,yBAAyB,CACjDC,QAAQ,EACR,mBACD,CAAC;EACD,IAAI,CAACW,gBAAgB,EAAE;IACtB;EACD;EAEAf,cAAc,CAACe,gBAAgB,CAAC,CAACC,KAAK,CAACC,OAAO,CAACG,qBAAqB,CAAC,CAAC;AACvE","ignoreList":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { useCallback, useMemo } from "react";
|
|
4
|
-
import { snapDescriptorToIndex } from "../../
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { snapDescriptorToIndex } from "../../controls/snap-to";
|
|
5
|
+
import { useBlankStackStore } from "../../navigators/blank-stack/state/blank-stack.provider";
|
|
6
|
+
import { useBuilderStore } from "../../providers/builder";
|
|
7
7
|
/**
|
|
8
8
|
* Hook to access screen state information.
|
|
9
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useMemo","snapDescriptorToIndex","
|
|
1
|
+
{"version":3,"names":["useCallback","useMemo","snapDescriptorToIndex","useBlankStackStore","useBuilderStore","useScreenState","routes","scenes","routeKeys","focusedIndex","current","store","descriptors","index","indexOf","route","key","focusedScene","length","snapTo","targetIndex","descriptor","options","focusedRoute","meta","navigation"],"sourceRoot":"../../../../src","sources":["hooks/navigation/use-screen-state.ts"],"mappings":";;AACA,SAASA,WAAW,EAAEC,OAAO,QAAQ,OAAO;AAC5C,SAASC,qBAAqB,QAAQ,wBAAwB;AAC9D,SAASC,kBAAkB,QAAQ,yDAAyD;AAC5F,SAASC,eAAe,QAAQ,yBAAyB;AAkDzD;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAAA,EAEA;EAC7B,MAAM;IAAEC,MAAM;IAAEC,MAAM;IAAEC,SAAS;IAAEC;EAAa,CAAC,GAAGN,kBAAkB,CAAC,CAAC;EACxE,MAAMO,OAAO,GAAGN,eAAe,CAAEO,KAAK,IAAKA,KAAK,CAACC,WAAW,CAACF,OAAO,CAAC;EAErE,MAAMG,KAAK,GAAGZ,OAAO,CACpB,MAAMO,SAAS,CAACM,OAAO,CAACJ,OAAO,CAACK,KAAK,CAACC,GAAG,CAAC,EAC1C,CAACR,SAAS,EAAEE,OAAO,CAACK,KAAK,CAACC,GAAG,CAC9B,CAAC;EAED,MAAMC,YAAY,GAAGhB,OAAO,CAAC,MAAM;IAClC,OAAOM,MAAM,CAACE,YAAY,CAAC,IAAIF,MAAM,CAACA,MAAM,CAACW,MAAM,GAAG,CAAC,CAAC;EACzD,CAAC,EAAE,CAACX,MAAM,EAAEE,YAAY,CAAC,CAAC;EAE1B,MAAMU,MAAM,GAAGnB,WAAW,CACxBoB,WAAmB,IAAK;IACxB,MAAMC,UAAU,GAAGJ,YAAY,EAAEI,UAAU;IAC3C,IAAI,CAACA,UAAU,EAAE;IACjBnB,qBAAqB,CAACmB,UAAU,EAAED,WAAW,CAAC;EAC/C,CAAC,EACD,CAACH,YAAY,CACd,CAAC;EAED,OAAOhB,OAAO,CACb,OAAO;IACNY,KAAK;IACLS,OAAO,EAAEL,YAAY,EAAEI,UAAU,EAAEC,OAAO,IAAI,CAAC,CAAC;IAChDhB,MAAM;IACNiB,YAAY,EAAEN,YAAY,EAAEF,KAAK,IAAIL,OAAO,CAACK,KAAK;IAClDN,YAAY;IACZe,IAAI,EAAEP,YAAY,EAAEI,UAAU,EAAEC,OAAO,EAAEE,IAAI;IAC7CC,UAAU,EAAEf,OAAO,CAACe,UAAyB;IAC7CN;EACD,CAAC,CAAC,EACF,CACCN,KAAK,EACLI,YAAY,EACZX,MAAM,EACNG,YAAY,EACZC,OAAO,CAACe,UAAU,EAClBf,OAAO,CAACK,KAAK,EACbI,MAAM,CAER,CAAC;AACF","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -22,14 +22,16 @@ export default {
|
|
|
22
22
|
Specs
|
|
23
23
|
};
|
|
24
24
|
export { withScreenTransitions } from "./adapters/with-screen-transitions";
|
|
25
|
-
export { snapTo } from "./animation/snap-to";
|
|
26
|
-
export { blockTransition, unblockTransition } from "./animation/transition-blocking";
|
|
27
25
|
export { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID, TRANSFORM_RESET } from "./constants";
|
|
26
|
+
export { snapTo } from "./controls/snap-to";
|
|
27
|
+
export { blockTransition, unblockTransition } from "./controls/transition-blocking";
|
|
28
28
|
export { useHistory } from "./hooks/navigation/use-history";
|
|
29
29
|
export { useScreenState } from "./hooks/navigation/use-screen-state";
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
30
|
+
export { BlankStackView } from "./navigators/blank-stack/components/stack-view";
|
|
31
|
+
export { BlankStackProvider, useBlankStackStore } from "./navigators/blank-stack/state/blank-stack.provider";
|
|
32
|
+
export { BuilderProvider } from "./providers/builder";
|
|
33
|
+
export { useScreenAnimation } from "./providers/motion/animation";
|
|
34
|
+
export { useScreenGesture } from "./providers/motion/gestures/ownership/hooks/use-screen-gesture";
|
|
35
|
+
export { MotionProvider, useMotionStore } from "./providers/motion/motion.provider";
|
|
36
|
+
export { OrchestratorProvider } from "./providers/orchestrator/orchestrator.provider";
|
|
35
37
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FlatList","Pressable","ScrollView","View","withScreenTransitions","Boundary","createBoundaryComponent","createTransitionAwareComponent","Presets","Specs","isScrollable","snapTo","blockTransition","unblockTransition","
|
|
1
|
+
{"version":3,"names":["FlatList","Pressable","ScrollView","View","withScreenTransitions","Boundary","createBoundaryComponent","createTransitionAwareComponent","Presets","Specs","isScrollable","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","TRANSFORM_RESET","snapTo","blockTransition","unblockTransition","useHistory","useScreenState","BlankStackView","BlankStackProvider","useBlankStackStore","BuilderProvider","useScreenAnimation","useScreenGesture","MotionProvider","useMotionStore","OrchestratorProvider"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACpE,SAASC,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASC,QAAQ,EAAEC,uBAAuB,QAAQ,uBAAuB;AACzE,SAASC,8BAA8B,QAAQ,gDAAgD;AAC/F,SAASC,OAAO,EAAEC,KAAK,QAAQ,WAAW;AAE1C,eAAe;EACdF,8BAA8B;EAC9BD,uBAAuB;EACvBF,qBAAqB;EACrBC,QAAQ;EACRF,IAAI,EAAEI,8BAA8B,CAACJ,IAAI,CAAC;EAC1CF,SAAS,EAAEM,8BAA8B,CAACN,SAAS,CAAC;EACpDC,UAAU,EAAEK,8BAA8B,CAACL,UAAU,EAAE;IACtDQ,YAAY,EAAE;EACf,CAAC,CAAC;EACFV,QAAQ,EAAEO,8BAA8B,CAACP,QAAQ,EAAE;IAClDU,YAAY,EAAE;EACf,CAAC,CAAC;EACFF,OAAO;EACPC;AACD,CAAC;AAGD,SAASL,qBAAqB,QAAQ,oCAAoC;AAC1E,SACCO,kCAAkC,EAClCC,gCAAgC,EAChCC,eAAe,QACT,aAAa;AACpB,SAASC,MAAM,QAAQ,oBAAoB;AAC3C,SACCC,eAAe,EACfC,iBAAiB,QACX,gCAAgC;AACvC,SAASC,UAAU,QAAQ,gCAAgC;AAC3D,SAECC,cAAc,QACR,qCAAqC;AAC5C,SAASC,cAAc,QAAQ,gDAAgD;AAC/E,SACCC,kBAAkB,EAGlBC,kBAAkB,QACZ,qDAAqD;AAC5D,SACCC,eAAe,QAET,qBAAqB;AAC5B,SAECC,kBAAkB,QACZ,8BAA8B;AACrC,SAECC,gBAAgB,QACV,gEAAgE;AACvE,SACCC,cAAc,EAEdC,cAAc,QACR,oCAAoC;AAC3C,SACCC,oBAAoB,QAEd,gDAAgD","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","View","jsx","_jsx","ActivityContainer","children","collapsable","style","absoluteFill"],"sourceRoot":"../../../../../../src","sources":["navigators/blank-stack/components/activity/activity-container.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAMhD,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC;AAAgB,CAAC,KAAK;EACzD,oBACCF,IAAA,CAACF,IAAI;IAACK,WAAW,EAAE,KAAM;IAACC,KAAK,EAAEP,UAAU,CAACQ,YAAa;IAAAH,QAAA,EACvDA;EAAQ,CACJ,CAAC;AAET,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { memo } from "react";
|
|
4
|
+
import { StyleSheet, View } from "react-native";
|
|
5
|
+
import { useDerivedValue } from "react-native-reanimated";
|
|
6
|
+
import { ActivityView } from "../../../../components/activity/activity-view";
|
|
7
|
+
import { IS_WEB } from "../../../../constants";
|
|
8
|
+
import { useSharedValueState } from "../../../../hooks/reanimated/use-shared-value-state";
|
|
9
|
+
import { useOptionalMotionStore } from "../../../../providers/motion";
|
|
10
|
+
import { useBlankStackStore } from "../../state/blank-stack.provider";
|
|
11
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
+
const DEFAULT_INACTIVE_BEHAVIOR = IS_WEB ? "unmount" : "hide";
|
|
13
|
+
|
|
14
|
+
// Let the content and backdrop layers decide whether to capture touches.
|
|
15
|
+
const PointerEventsByActivity = {
|
|
16
|
+
active: "box-none",
|
|
17
|
+
inert: "box-none",
|
|
18
|
+
inactive: "none",
|
|
19
|
+
closing: "none"
|
|
20
|
+
};
|
|
21
|
+
export const ActivityScreen = /*#__PURE__*/memo(function ActivityScreen({
|
|
22
|
+
children,
|
|
23
|
+
routeKey
|
|
24
|
+
}) {
|
|
25
|
+
const scene = useBlankStackStore(store => store.scenesByKey[routeKey]);
|
|
26
|
+
const paintDriverRouteKey = useBlankStackStore(store => store.paintDriverRouteKeyByRouteKey.get(routeKey));
|
|
27
|
+
const inactiveBehavior = scene.descriptor.options.inactiveBehavior ?? DEFAULT_INACTIVE_BEHAVIOR;
|
|
28
|
+
const hasNestedState = "state" in scene.route;
|
|
29
|
+
const paintDriverProgress = useOptionalMotionStore(paintDriverRouteKey ?? null, store => store.state.transitionProgress);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Avoid hiding inactive content until the screen that exposes it has settled.
|
|
33
|
+
*
|
|
34
|
+
* For A(inactive), B(inert), C(active), A's paint depends on C finishing its
|
|
35
|
+
* transition. Watching B can still leave a brief blank frame, so we wait for
|
|
36
|
+
* C's progress to reach its settled value of 1 before hiding A.
|
|
37
|
+
*/
|
|
38
|
+
const isPaintDriverSettled = useDerivedValue(() => {
|
|
39
|
+
"worklet";
|
|
40
|
+
|
|
41
|
+
if (!paintDriverProgress) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
return paintDriverProgress.get() >= 1;
|
|
45
|
+
});
|
|
46
|
+
const isPaintDriverSettledOnJS = useSharedValueState(isPaintDriverSettled);
|
|
47
|
+
let activityViewMode = scene.activity === "active" ? "normal" : "inert";
|
|
48
|
+
let visible = scene.activity !== "inactive";
|
|
49
|
+
if (scene.activity === "inactive") {
|
|
50
|
+
if (inactiveBehavior === "keep" || !isPaintDriverSettledOnJS) {
|
|
51
|
+
visible = true;
|
|
52
|
+
} else if (inactiveBehavior === "pause") {
|
|
53
|
+
activityViewMode = "paused";
|
|
54
|
+
visible = true;
|
|
55
|
+
} else {
|
|
56
|
+
activityViewMode = "paused";
|
|
57
|
+
visible = false;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
const shouldUnmount = inactiveBehavior === "unmount" && scene.activity === "inactive" && !hasNestedState && isPaintDriverSettledOnJS;
|
|
61
|
+
if (shouldUnmount) {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
return /*#__PURE__*/_jsx(View, {
|
|
65
|
+
style: StyleSheet.absoluteFill,
|
|
66
|
+
pointerEvents: PointerEventsByActivity[scene.activity],
|
|
67
|
+
collapsable: false,
|
|
68
|
+
children: /*#__PURE__*/_jsx(ActivityView, {
|
|
69
|
+
mode: activityViewMode,
|
|
70
|
+
visible: visible,
|
|
71
|
+
children: children
|
|
72
|
+
})
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
//# sourceMappingURL=activity-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["memo","StyleSheet","View","useDerivedValue","ActivityView","IS_WEB","useSharedValueState","useOptionalMotionStore","useBlankStackStore","jsx","_jsx","DEFAULT_INACTIVE_BEHAVIOR","PointerEventsByActivity","active","inert","inactive","closing","ActivityScreen","children","routeKey","scene","store","scenesByKey","paintDriverRouteKey","paintDriverRouteKeyByRouteKey","get","inactiveBehavior","descriptor","options","hasNestedState","route","paintDriverProgress","state","transitionProgress","isPaintDriverSettled","isPaintDriverSettledOnJS","activityViewMode","activity","visible","shouldUnmount","style","absoluteFill","pointerEvents","collapsable","mode"],"sourceRoot":"../../../../../../src","sources":["navigators/blank-stack/components/activity/activity-screen.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,OAAO;AAC5B,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/D,SAASC,eAAe,QAAQ,yBAAyB;AACzD,SACCC,YAAY,QAEN,+CAA+C;AACtD,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,mBAAmB,QAAQ,qDAAqD;AACzF,SAASC,sBAAsB,QAAQ,8BAA8B;AAGrE,SAASC,kBAAkB,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtE,MAAMC,yBAA2C,GAAGN,MAAM,GAAG,SAAS,GAAG,MAAM;;AAE/E;AACA,MAAMO,uBAAuB,GAAG;EAC/BC,MAAM,EAAE,UAAU;EAClBC,KAAK,EAAE,UAAU;EACjBC,QAAQ,EAAE,MAAM;EAChBC,OAAO,EAAE;AACV,CAAkE;AAOlE,OAAO,MAAMC,cAAc,gBAAGjB,IAAI,CAAC,SAASiB,cAAcA,CAAC;EAC1DC,QAAQ;EACRC;AACoB,CAAC,EAAE;EACvB,MAAMC,KAAK,GAAGZ,kBAAkB,CAAEa,KAAK,IAAKA,KAAK,CAACC,WAAW,CAACH,QAAQ,CAAC,CAAC;EACxE,MAAMI,mBAAmB,GAAGf,kBAAkB,CAAEa,KAAK,IACpDA,KAAK,CAACG,6BAA6B,CAACC,GAAG,CAACN,QAAQ,CACjD,CAAC;EAED,MAAMO,gBAAgB,GACpBN,KAAK,CAACO,UAAU,CAACC,OAAO,CACvBF,gBAAgB,IAAIf,yBAAyB;EAEhD,MAAMkB,cAAc,GAAG,OAAO,IAAIT,KAAK,CAACU,KAAK;EAE7C,MAAMC,mBAAmB,GAAGxB,sBAAsB,CACjDgB,mBAAmB,IAAI,IAAI,EAC1BF,KAAK,IAAKA,KAAK,CAACW,KAAK,CAACC,kBACxB,CAAC;;EAED;AACD;AACA;AACA;AACA;AACA;AACA;EACC,MAAMC,oBAAoB,GAAG/B,eAAe,CAAC,MAAM;IAClD,SAAS;;IAET,IAAI,CAAC4B,mBAAmB,EAAE;MACzB,OAAO,KAAK;IACb;IAEA,OAAOA,mBAAmB,CAACN,GAAG,CAAC,CAAC,IAAI,CAAC;EACtC,CAAC,CAAC;EAEF,MAAMU,wBAAwB,GAAG7B,mBAAmB,CAAC4B,oBAAoB,CAAC;EAE1E,IAAIE,gBAAkC,GACrChB,KAAK,CAACiB,QAAQ,KAAK,QAAQ,GAAG,QAAQ,GAAG,OAAO;EACjD,IAAIC,OAAO,GAAGlB,KAAK,CAACiB,QAAQ,KAAK,UAAU;EAE3C,IAAIjB,KAAK,CAACiB,QAAQ,KAAK,UAAU,EAAE;IAClC,IAAIX,gBAAgB,KAAK,MAAM,IAAI,CAACS,wBAAwB,EAAE;MAC7DG,OAAO,GAAG,IAAI;IACf,CAAC,MAAM,IAAIZ,gBAAgB,KAAK,OAAO,EAAE;MACxCU,gBAAgB,GAAG,QAAQ;MAC3BE,OAAO,GAAG,IAAI;IACf,CAAC,MAAM;MACNF,gBAAgB,GAAG,QAAQ;MAC3BE,OAAO,GAAG,KAAK;IAChB;EACD;EAEA,MAAMC,aAAa,GAClBb,gBAAgB,KAAK,SAAS,IAC9BN,KAAK,CAACiB,QAAQ,KAAK,UAAU,IAC7B,CAACR,cAAc,IACfM,wBAAwB;EAEzB,IAAII,aAAa,EAAE;IAClB,OAAO,IAAI;EACZ;EAEA,oBACC7B,IAAA,CAACR,IAAI;IACJsC,KAAK,EAAEvC,UAAU,CAACwC,YAAa;IAC/BC,aAAa,EAAE9B,uBAAuB,CAACQ,KAAK,CAACiB,QAAQ,CAAE;IACvDM,WAAW,EAAE,KAAM;IAAAzB,QAAA,eAEnBR,IAAA,CAACN,YAAY;MAACwC,IAAI,EAAER,gBAAiB;MAACE,OAAO,EAAEA,OAAQ;MAAApB,QAAA,EACrDA;IAAQ,CACI;EAAC,CACV,CAAC;AAET,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ActivityContainer","ActivityScreen"],"sourceRoot":"../../../../../../src","sources":["navigators/blank-stack/components/activity/index.tsx"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,sBAAsB;AACxD,SAASC,cAAc,QAAQ,mBAAmB","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useBuilderStore } from "../../../../providers/builder";
|
|
4
|
+
import { useBlankStackStore } from "../../state/blank-stack.provider";
|
|
5
|
+
import { useCloseTransitionIntent } from "./hooks/use-close-transition-intent";
|
|
6
|
+
import { useScreenLifecycle } from "./use-screen-lifecycle";
|
|
7
|
+
export function BlankStackLifecycle() {
|
|
8
|
+
const current = useBuilderStore(store => store.descriptors.current);
|
|
9
|
+
const handleOpenRoute = useBlankStackStore(store => store.handleOpenRoute);
|
|
10
|
+
const {
|
|
11
|
+
completeClose
|
|
12
|
+
} = useCloseTransitionIntent(current);
|
|
13
|
+
useScreenLifecycle({
|
|
14
|
+
completeClose,
|
|
15
|
+
completeOpen: () => handleOpenRoute?.({
|
|
16
|
+
route: current.route
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=blank-stack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useBuilderStore","useBlankStackStore","useCloseTransitionIntent","useScreenLifecycle","BlankStackLifecycle","current","store","descriptors","handleOpenRoute","completeClose","completeOpen","route"],"sourceRoot":"../../../../../../src","sources":["navigators/blank-stack/components/lifecycle/blank-stack.tsx"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,kBAAkB,QAAQ,kCAAkC;AACrE,SAASC,wBAAwB,QAAQ,qCAAqC;AAC9E,SAASC,kBAAkB,QAAQ,wBAAwB;AAE3D,OAAO,SAASC,mBAAmBA,CAAA,EAAG;EACrC,MAAMC,OAAO,GAAGL,eAAe,CAAEM,KAAK,IAAKA,KAAK,CAACC,WAAW,CAACF,OAAO,CAAC;EACrE,MAAMG,eAAe,GAAGP,kBAAkB,CAAEK,KAAK,IAAKA,KAAK,CAACE,eAAe,CAAC;EAE5E,MAAM;IAAEC;EAAc,CAAC,GAAGP,wBAAwB,CAACG,OAAO,CAAC;EAE3DF,kBAAkB,CAAC;IAClBM,aAAa;IACbC,YAAY,EAAEA,CAAA,KAAMF,eAAe,GAAG;MAAEG,KAAK,EAAEN,OAAO,CAACM;IAAM,CAAC;EAC/D,CAAC,CAAC;EAEF,OAAO,IAAI;AACZ","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { scheduleOnUI } from "react-native-worklets";
|
|
4
|
+
import { clear } from "../../../../../../stores/bounds/internals/clear";
|
|
5
|
+
import { ScrollStore } from "../../../../../../stores/scroll.store";
|
|
6
|
+
export function resetStoresForScreen(routeKey) {
|
|
7
|
+
ScrollStore.clearBag(routeKey);
|
|
8
|
+
scheduleOnUI(clear, routeKey);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=reset-stores-for-screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["scheduleOnUI","clear","ScrollStore","resetStoresForScreen","routeKey","clearBag"],"sourceRoot":"../../../../../../../../src","sources":["navigators/blank-stack/components/lifecycle/hooks/helpers/reset-stores-for-screen.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,uBAAuB;AACpD,SAASC,KAAK,QAAQ,iDAAiD;AACvE,SAASC,WAAW,QAAQ,uCAAuC;AAEnE,OAAO,SAASC,oBAAoBA,CAACC,QAAgB,EAAE;EACtDF,WAAW,CAACG,QAAQ,CAACD,QAAQ,CAAC;EAE9BJ,YAAY,CAACC,KAAK,EAAEG,QAAQ,CAAC;AAC9B","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["mountedRoutesByNavigator","Map","registerMountedRoute","navigatorKey","routeKey","routes","get","Set","set","add","unregisterMountedRoute","delete","size","_resetNavigatorRouteRegistry","clear"],"sourceRoot":"../../../../../../../../src","sources":["navigators/blank-stack/components/lifecycle/hooks/history/navigator-route-registry.ts"],"mappings":";;AAAA,MAAMA,wBAAwB,GAAG,IAAIC,GAAG,CAAsB,CAAC;AAE/D,OAAO,SAASC,oBAAoBA,CACnCC,YAAoB,EACpBC,QAAgB,EACT;EACP,IAAI,CAACD,YAAY,IAAI,CAACC,QAAQ,EAAE;EAEhC,IAAIC,MAAM,GAAGL,wBAAwB,CAACM,GAAG,CAACH,YAAY,CAAC;EACvD,IAAI,CAACE,MAAM,EAAE;IACZA,MAAM,GAAG,IAAIE,GAAG,CAAC,CAAC;IAClBP,wBAAwB,CAACQ,GAAG,CAACL,YAAY,EAAEE,MAAM,CAAC;EACnD;EAEAA,MAAM,CAACI,GAAG,CAACL,QAAQ,CAAC;AACrB;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASM,sBAAsBA,CACrCP,YAAoB,EACpBC,QAAgB,EACN;EACV,IAAI,CAACD,YAAY,IAAI,CAACC,QAAQ,EAAE,OAAO,KAAK;EAE5C,MAAMC,MAAM,GAAGL,wBAAwB,CAACM,GAAG,CAACH,YAAY,CAAC;EACzD,IAAI,CAACE,MAAM,EAAE,OAAO,KAAK;EAEzBA,MAAM,CAACM,MAAM,CAACP,QAAQ,CAAC;EAEvB,IAAIC,MAAM,CAACO,IAAI,GAAG,CAAC,EAAE;IACpB,OAAO,KAAK;EACb;EAEAZ,wBAAwB,CAACW,MAAM,CAACR,YAAY,CAAC;EAC7C,OAAO,IAAI;AACZ;;AAEA;AACA;AACA;AACA,OAAO,SAASU,4BAA4BA,CAAA,EAAS;EACpDb,wBAAwB,CAACc,KAAK,CAAC,CAAC;AACjC","ignoreList":[]}
|
package/lib/module/navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect } from "react";
|
|
4
|
+
import { useAnimatedReaction } from "react-native-reanimated";
|
|
5
|
+
import { scheduleOnRN } from "react-native-worklets";
|
|
6
|
+
import useStableCallback from "../../../../../../hooks/use-stable-callback";
|
|
7
|
+
import { HistoryStore } from "../../../../../../stores/history.store";
|
|
8
|
+
import { registerMountedRoute, unregisterMountedRoute } from "./navigator-route-registry";
|
|
9
|
+
function hasSnapPoints(descriptor) {
|
|
10
|
+
const snapPoints = descriptor.options?.snapPoints;
|
|
11
|
+
return Boolean(snapPoints && snapPoints.length > 0);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Check if a screen is a leaf (renders visible content) vs a navigator container.
|
|
16
|
+
* Navigator containers have nested state with routes.
|
|
17
|
+
*/
|
|
18
|
+
function isLeafScreen(navigation) {
|
|
19
|
+
const state = navigation.getState();
|
|
20
|
+
const index = state?.index ?? -1;
|
|
21
|
+
const currentRoute = state?.routes?.[index];
|
|
22
|
+
if (!currentRoute) return false;
|
|
23
|
+
return !("state" in currentRoute);
|
|
24
|
+
}
|
|
25
|
+
function shouldTrackInHistory(descriptor) {
|
|
26
|
+
return hasSnapPoints(descriptor) || isLeafScreen(descriptor.navigation);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Keeps navigator route registration and screen history in sync.
|
|
31
|
+
*/
|
|
32
|
+
export function useScreenHistory(current, previous, animations) {
|
|
33
|
+
const navigatorKey = current.navigation.getState()?.key ?? "";
|
|
34
|
+
const routeKey = current.route.key;
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
registerMountedRoute(navigatorKey, routeKey);
|
|
37
|
+
return () => {
|
|
38
|
+
const shouldClearNavigator = unregisterMountedRoute(navigatorKey, routeKey);
|
|
39
|
+
if (shouldClearNavigator) {
|
|
40
|
+
HistoryStore.clearNavigator(navigatorKey);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}, [navigatorKey, routeKey]);
|
|
44
|
+
|
|
45
|
+
// Track history via focus listener - waits for nested navigators to initialize
|
|
46
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: Must only run once on mount
|
|
47
|
+
useEffect(() => {
|
|
48
|
+
if (shouldTrackInHistory(current)) {
|
|
49
|
+
HistoryStore.focus(current, navigatorKey);
|
|
50
|
+
}
|
|
51
|
+
const unsubscribe = current.navigation.addListener?.("focus", () => {
|
|
52
|
+
if (shouldTrackInHistory(current)) {
|
|
53
|
+
HistoryStore.focus(current, navigatorKey);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
return () => unsubscribe?.();
|
|
57
|
+
}, []);
|
|
58
|
+
const handleBlur = useStableCallback(() => {
|
|
59
|
+
if (previous && shouldTrackInHistory(previous)) {
|
|
60
|
+
const prevNavigatorKey = previous.navigation.getState()?.key ?? "";
|
|
61
|
+
HistoryStore.focus(previous, prevNavigatorKey);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
useAnimatedReaction(() => animations.closing.get(), (closing, prevClosing) => {
|
|
65
|
+
if (closing && !prevClosing) {
|
|
66
|
+
scheduleOnRN(handleBlur);
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=use-screen-history.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useAnimatedReaction","scheduleOnRN","useStableCallback","HistoryStore","registerMountedRoute","unregisterMountedRoute","hasSnapPoints","descriptor","snapPoints","options","Boolean","length","isLeafScreen","navigation","state","getState","index","currentRoute","routes","shouldTrackInHistory","useScreenHistory","current","previous","animations","navigatorKey","key","routeKey","route","shouldClearNavigator","clearNavigator","focus","unsubscribe","addListener","handleBlur","prevNavigatorKey","closing","get","prevClosing"],"sourceRoot":"../../../../../../../../src","sources":["navigators/blank-stack/components/lifecycle/hooks/history/use-screen-history.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAASC,mBAAmB,QAAQ,yBAAyB;AAC7D,SAASC,YAAY,QAAQ,uBAAuB;AACpD,OAAOC,iBAAiB,MAAM,6CAA6C;AAG3E,SAASC,YAAY,QAAQ,wCAAwC;AACrE,SACCC,oBAAoB,EACpBC,sBAAsB,QAChB,4BAA4B;AAEnC,SAASC,aAAaA,CAACC,UAA0B,EAAW;EAC3D,MAAMC,UAAU,GAAGD,UAAU,CAACE,OAAO,EAAED,UAAU;EACjD,OAAOE,OAAO,CAACF,UAAU,IAAIA,UAAU,CAACG,MAAM,GAAG,CAAC,CAAC;AACpD;;AAEA;AACA;AACA;AACA;AACA,SAASC,YAAYA,CAACC,UAAwC,EAAW;EACxE,MAAMC,KAAK,GAAGD,UAAU,CAACE,QAAQ,CAAC,CAAC;EACnC,MAAMC,KAAK,GAAGF,KAAK,EAAEE,KAAK,IAAI,CAAC,CAAC;EAChC,MAAMC,YAAY,GAAGH,KAAK,EAAEI,MAAM,GAAGF,KAAK,CAAC;EAC3C,IAAI,CAACC,YAAY,EAAE,OAAO,KAAK;EAC/B,OAAO,EAAE,OAAO,IAAIA,YAAY,CAAC;AAClC;AAEA,SAASE,oBAAoBA,CAACZ,UAA0B,EAAW;EAClE,OAAOD,aAAa,CAACC,UAAU,CAAC,IAAIK,YAAY,CAACL,UAAU,CAACM,UAAU,CAAC;AACxE;;AAEA;AACA;AACA;AACA,OAAO,SAASO,gBAAgBA,CAC/BC,OAAuB,EACvBC,QAAoC,EACpCC,UAAiC,EAChC;EACD,MAAMC,YAAY,GAAGH,OAAO,CAACR,UAAU,CAACE,QAAQ,CAAC,CAAC,EAAEU,GAAG,IAAI,EAAE;EAC7D,MAAMC,QAAQ,GAAGL,OAAO,CAACM,KAAK,CAACF,GAAG;EAElC1B,SAAS,CAAC,MAAM;IACfK,oBAAoB,CAACoB,YAAY,EAAEE,QAAQ,CAAC;IAE5C,OAAO,MAAM;MACZ,MAAME,oBAAoB,GAAGvB,sBAAsB,CAClDmB,YAAY,EACZE,QACD,CAAC;MACD,IAAIE,oBAAoB,EAAE;QACzBzB,YAAY,CAAC0B,cAAc,CAACL,YAAY,CAAC;MAC1C;IACD,CAAC;EACF,CAAC,EAAE,CAACA,YAAY,EAAEE,QAAQ,CAAC,CAAC;;EAE5B;EACA;EACA3B,SAAS,CAAC,MAAM;IACf,IAAIoB,oBAAoB,CAACE,OAAO,CAAC,EAAE;MAClClB,YAAY,CAAC2B,KAAK,CAACT,OAAO,EAAEG,YAAY,CAAC;IAC1C;IAEA,MAAMO,WAAW,GAAGV,OAAO,CAACR,UAAU,CAACmB,WAAW,GAAG,OAAO,EAAE,MAAM;MACnE,IAAIb,oBAAoB,CAACE,OAAO,CAAC,EAAE;QAClClB,YAAY,CAAC2B,KAAK,CAACT,OAAO,EAAEG,YAAY,CAAC;MAC1C;IACD,CAAC,CAAC;IAEF,OAAO,MAAMO,WAAW,GAAG,CAAC;EAC7B,CAAC,EAAE,EAAE,CAAC;EAEN,MAAME,UAAU,GAAG/B,iBAAiB,CAAC,MAAM;IAC1C,IAAIoB,QAAQ,IAAIH,oBAAoB,CAACG,QAAQ,CAAC,EAAE;MAC/C,MAAMY,gBAAgB,GAAGZ,QAAQ,CAACT,UAAU,CAACE,QAAQ,CAAC,CAAC,EAAEU,GAAG,IAAI,EAAE;MAClEtB,YAAY,CAAC2B,KAAK,CAACR,QAAQ,EAAEY,gBAAgB,CAAC;IAC/C;EACD,CAAC,CAAC;EAEFlC,mBAAmB,CAClB,MAAMuB,UAAU,CAACY,OAAO,CAACC,GAAG,CAAC,CAAC,EAC9B,CAACD,OAAO,EAAEE,WAAW,KAAK;IACzB,IAAIF,OAAO,IAAI,CAACE,WAAW,EAAE;MAC5BpC,YAAY,CAACgC,UAAU,CAAC;IACzB;EACD,CACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useAnimatedReaction } from "react-native-reanimated";
|
|
4
|
+
import { scheduleOnRN } from "react-native-worklets";
|
|
5
|
+
import { AnimationProgress } from "../../../../../constants";
|
|
6
|
+
export const useCloseCompletion = ({
|
|
7
|
+
closing,
|
|
8
|
+
animationProgress,
|
|
9
|
+
onComplete
|
|
10
|
+
}) => {
|
|
11
|
+
useAnimatedReaction(() => {
|
|
12
|
+
"worklet";
|
|
13
|
+
|
|
14
|
+
return !!closing.get() && animationProgress.get() <= AnimationProgress.Hidden;
|
|
15
|
+
}, (complete, previouslyComplete) => {
|
|
16
|
+
"worklet";
|
|
17
|
+
|
|
18
|
+
if (complete && !previouslyComplete) {
|
|
19
|
+
scheduleOnRN(onComplete);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=use-close-completion.js.map
|
package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-close-completion.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useAnimatedReaction","scheduleOnRN","AnimationProgress","useCloseCompletion","closing","animationProgress","onComplete","get","Hidden","complete","previouslyComplete"],"sourceRoot":"../../../../../../../src","sources":["navigators/blank-stack/components/lifecycle/hooks/use-close-completion.ts"],"mappings":";;AAAA,SAA2BA,mBAAmB,QAAQ,yBAAyB;AAC/E,SAASC,YAAY,QAAQ,uBAAuB;AACpD,SAASC,iBAAiB,QAAQ,0BAA0B;AAE5D,OAAO,MAAMC,kBAAkB,GAAGA,CAAC;EAClCC,OAAO;EACPC,iBAAiB;EACjBC;AAKD,CAAC,KAAK;EACLN,mBAAmB,CAClB,MAAM;IACL,SAAS;;IACT,OACC,CAAC,CAACI,OAAO,CAACG,GAAG,CAAC,CAAC,IAAIF,iBAAiB,CAACE,GAAG,CAAC,CAAC,IAAIL,iBAAiB,CAACM,MAAM;EAExE,CAAC,EACD,CAACC,QAAQ,EAAEC,kBAAkB,KAAK;IACjC,SAAS;;IACT,IAAID,QAAQ,IAAI,CAACC,kBAAkB,EAAE;MACpCT,YAAY,CAACK,UAAU,CAAC;IACzB;EACD,CACD,CAAC;AACF,CAAC","ignoreList":[]}
|
package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useLayoutEffect } from "react";
|
|
4
|
+
import useStableCallback from "../../../../../hooks/use-stable-callback";
|
|
5
|
+
import { useNavigationHelpers } from "../../../hooks/use-navigation-helpers";
|
|
6
|
+
import { useBlankStackStore } from "../../../state/blank-stack.provider";
|
|
7
|
+
import { resetStoresForScreen } from "./helpers/reset-stores-for-screen";
|
|
8
|
+
export function useCloseTransitionIntent(current) {
|
|
9
|
+
const handleCloseRoute = useBlankStackStore(store => store.handleCloseRoute);
|
|
10
|
+
const closing = useBlankStackStore(store => store.scenesByKey[current.route.key]?.activity === "closing");
|
|
11
|
+
const {
|
|
12
|
+
requestDismiss
|
|
13
|
+
} = useNavigationHelpers();
|
|
14
|
+
const completeClose = useStableCallback(() => {
|
|
15
|
+
handleCloseRoute?.({
|
|
16
|
+
route: current.route
|
|
17
|
+
});
|
|
18
|
+
resetStoresForScreen(current.route.key);
|
|
19
|
+
});
|
|
20
|
+
useLayoutEffect(() => {
|
|
21
|
+
if (closing) requestDismiss();
|
|
22
|
+
}, [closing, requestDismiss]);
|
|
23
|
+
return {
|
|
24
|
+
completeClose
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=use-close-transition-intent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useLayoutEffect","useStableCallback","useNavigationHelpers","useBlankStackStore","resetStoresForScreen","useCloseTransitionIntent","current","handleCloseRoute","store","closing","scenesByKey","route","key","activity","requestDismiss","completeClose"],"sourceRoot":"../../../../../../../src","sources":["navigators/blank-stack/components/lifecycle/hooks/use-close-transition-intent.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,OAAO;AACvC,OAAOC,iBAAiB,MAAM,0CAA0C;AAExE,SAASC,oBAAoB,QAAQ,uCAAuC;AAC5E,SAASC,kBAAkB,QAAQ,qCAAqC;AACxE,SAASC,oBAAoB,QAAQ,mCAAmC;AAExE,OAAO,SAASC,wBAAwBA,CAACC,OAAuB,EAAE;EACjE,MAAMC,gBAAgB,GAAGJ,kBAAkB,CACzCK,KAAK,IAAKA,KAAK,CAACD,gBAClB,CAAC;EAED,MAAME,OAAO,GAAGN,kBAAkB,CAChCK,KAAK,IAAKA,KAAK,CAACE,WAAW,CAACJ,OAAO,CAACK,KAAK,CAACC,GAAG,CAAC,EAAEC,QAAQ,KAAK,SAC/D,CAAC;EAED,MAAM;IAAEC;EAAe,CAAC,GAAGZ,oBAAoB,CAAC,CAAC;EAEjD,MAAMa,aAAa,GAAGd,iBAAiB,CAAC,MAAM;IAC7CM,gBAAgB,GAAG;MAAEI,KAAK,EAAEL,OAAO,CAACK;IAAM,CAAC,CAAC;IAC5CP,oBAAoB,CAACE,OAAO,CAACK,KAAK,CAACC,GAAG,CAAC;EACxC,CAAC,CAAC;EAEFZ,eAAe,CAAC,MAAM;IACrB,IAAIS,OAAO,EAAEK,cAAc,CAAC,CAAC;EAC9B,CAAC,EAAE,CAACL,OAAO,EAAEK,cAAc,CAAC,CAAC;EAE7B,OAAO;IAAEC;EAAc,CAAC;AACzB","ignoreList":[]}
|
package/lib/module/navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useLayoutEffect, useRef } from "react";
|
|
4
|
+
import { useAnimatedReaction } from "react-native-reanimated";
|
|
5
|
+
import { scheduleOnRN, scheduleOnUI } from "react-native-worklets";
|
|
6
|
+
import { AnimationProgress } from "../../../../../constants";
|
|
7
|
+
import useStableCallback from "../../../../../hooks/use-stable-callback";
|
|
8
|
+
import { useBuilderStore } from "../../../../../providers/builder";
|
|
9
|
+
import { LifecycleTransitionRequestKind } from "../../../../../providers/motion/hooks/use-transition-values";
|
|
10
|
+
/**
|
|
11
|
+
* Calculates the initial progress value based on snap points configuration.
|
|
12
|
+
* Returns `'auto'` if the initial snap point is the `'auto'` keyword
|
|
13
|
+
* (meaning the animation must be deferred until content is measured).
|
|
14
|
+
*/
|
|
15
|
+
function getInitialProgress({
|
|
16
|
+
snapPoints,
|
|
17
|
+
initialSnapIndex
|
|
18
|
+
}) {
|
|
19
|
+
if (!snapPoints) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
const clampedIndex = Math.min(Math.max(0, initialSnapIndex), snapPoints.length - 1);
|
|
23
|
+
return snapPoints[clampedIndex];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Handles opening transition intent on mount.
|
|
28
|
+
*/
|
|
29
|
+
export function useOpenTransitionIntent(current, animations, system, onComplete) {
|
|
30
|
+
const initialized = useRef(false);
|
|
31
|
+
const isFirstKey = useBuilderStore(store => store.derivations.isFirstKey);
|
|
32
|
+
const {
|
|
33
|
+
requestLifecycleTransition
|
|
34
|
+
} = system.actions;
|
|
35
|
+
const completeOpen = useStableCallback(() => {
|
|
36
|
+
onComplete?.();
|
|
37
|
+
});
|
|
38
|
+
const {
|
|
39
|
+
animationProgress
|
|
40
|
+
} = system;
|
|
41
|
+
const {
|
|
42
|
+
closing
|
|
43
|
+
} = animations;
|
|
44
|
+
useAnimatedReaction(() => {
|
|
45
|
+
"worklet";
|
|
46
|
+
|
|
47
|
+
return !closing.get() && animationProgress.get() === AnimationProgress.Visible;
|
|
48
|
+
}, (complete, previouslyComplete) => {
|
|
49
|
+
"worklet";
|
|
50
|
+
|
|
51
|
+
if (complete && !previouslyComplete) {
|
|
52
|
+
scheduleOnRN(completeOpen);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: Must only run once on mount
|
|
57
|
+
useLayoutEffect(() => {
|
|
58
|
+
// TODO: Find a cleaner way to handle effect setup and resumption across Activity pauses.
|
|
59
|
+
// Activity reconnects effects when a retained screen becomes visible again.
|
|
60
|
+
if (initialized.current) {
|
|
61
|
+
// Activity cleanup cancels shared-value animations; resume only unfinished opens.
|
|
62
|
+
scheduleOnUI(() => {
|
|
63
|
+
"worklet";
|
|
64
|
+
|
|
65
|
+
if (animations.entering.get() && !animations.closing.get() && !animations.progressSettled.get() && system.pendingLifecycleRequestKind.get() === LifecycleTransitionRequestKind.None) {
|
|
66
|
+
requestLifecycleTransition(LifecycleTransitionRequestKind.Open, system.targetProgress.get());
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
initialized.current = true;
|
|
72
|
+
const {
|
|
73
|
+
snapPoints,
|
|
74
|
+
initialSnapIndex = 0,
|
|
75
|
+
experimental_animateOnInitialMount
|
|
76
|
+
} = current.options;
|
|
77
|
+
const initialProgress = getInitialProgress({
|
|
78
|
+
snapPoints,
|
|
79
|
+
initialSnapIndex
|
|
80
|
+
});
|
|
81
|
+
if (isFirstKey && !experimental_animateOnInitialMount) {
|
|
82
|
+
if (typeof initialProgress === "string") {
|
|
83
|
+
system.targetProgress.set(0);
|
|
84
|
+
animations.transitionProgress.set(0);
|
|
85
|
+
} else {
|
|
86
|
+
const target = initialProgress ?? AnimationProgress.Visible;
|
|
87
|
+
system.targetProgress.set(target);
|
|
88
|
+
animations.transitionProgress.set(target);
|
|
89
|
+
}
|
|
90
|
+
animations.progressAnimating.set(0);
|
|
91
|
+
animations.closing.set(0);
|
|
92
|
+
animations.entering.set(0);
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// When the initial snap point is 'auto', defer the opening animation until
|
|
97
|
+
// ScreenLayers has measured the content and set resolvedAutoSnapPoint.
|
|
98
|
+
if (typeof initialProgress === "string") {
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
animations.entering.set(1);
|
|
102
|
+
requestLifecycleTransition(LifecycleTransitionRequestKind.Open, initialProgress ?? AnimationProgress.Visible);
|
|
103
|
+
}, []);
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=use-open-transition-intent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useLayoutEffect","useRef","useAnimatedReaction","scheduleOnRN","scheduleOnUI","AnimationProgress","useStableCallback","useBuilderStore","LifecycleTransitionRequestKind","getInitialProgress","snapPoints","initialSnapIndex","undefined","clampedIndex","Math","min","max","length","useOpenTransitionIntent","current","animations","system","onComplete","initialized","isFirstKey","store","derivations","requestLifecycleTransition","actions","completeOpen","animationProgress","closing","get","Visible","complete","previouslyComplete","entering","progressSettled","pendingLifecycleRequestKind","None","Open","targetProgress","experimental_animateOnInitialMount","options","initialProgress","set","transitionProgress","target","progressAnimating"],"sourceRoot":"../../../../../../../src","sources":["navigators/blank-stack/components/lifecycle/hooks/use-open-transition-intent.ts"],"mappings":";;AAAA,SAASA,eAAe,EAAEC,MAAM,QAAQ,OAAO;AAC/C,SAASC,mBAAmB,QAAQ,yBAAyB;AAC7D,SAASC,YAAY,EAAEC,YAAY,QAAQ,uBAAuB;AAClE,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,OAAOC,iBAAiB,MAAM,0CAA0C;AACxE,SAECC,eAAe,QACT,kCAAkC;AACzC,SACCC,8BAA8B,QAExB,6DAA6D;AAIpE;AACA;AACA;AACA;AACA;AACA,SAASC,kBAAkBA,CAAC;EAC3BC,UAAU;EACVC;AAID,CAAC,EAAyB;EACzB,IAAI,CAACD,UAAU,EAAE;IAChB,OAAOE,SAAS;EACjB;EAEA,MAAMC,YAAY,GAAGC,IAAI,CAACC,GAAG,CAC5BD,IAAI,CAACE,GAAG,CAAC,CAAC,EAAEL,gBAAgB,CAAC,EAC7BD,UAAU,CAACO,MAAM,GAAG,CACrB,CAAC;EACD,OAAOP,UAAU,CAACG,YAAY,CAAC;AAChC;;AAEA;AACA;AACA;AACA,OAAO,SAASK,uBAAuBA,CACtCC,OAAuB,EACvBC,UAAiC,EACjCC,MAA8B,EAC9BC,UAAuB,EACtB;EACD,MAAMC,WAAW,GAAGtB,MAAM,CAAC,KAAK,CAAC;EACjC,MAAMuB,UAAU,GAAGjB,eAAe,CAAEkB,KAAK,IAAKA,KAAK,CAACC,WAAW,CAACF,UAAU,CAAC;EAC3E,MAAM;IAAEG;EAA2B,CAAC,GAAGN,MAAM,CAACO,OAAO;EACrD,MAAMC,YAAY,GAAGvB,iBAAiB,CAAC,MAAM;IAC5CgB,UAAU,GAAG,CAAC;EACf,CAAC,CAAC;EACF,MAAM;IAAEQ;EAAkB,CAAC,GAAGT,MAAM;EACpC,MAAM;IAAEU;EAAQ,CAAC,GAAGX,UAAU;EAE9BlB,mBAAmB,CAClB,MAAM;IACL,SAAS;;IACT,OACC,CAAC6B,OAAO,CAACC,GAAG,CAAC,CAAC,IAAIF,iBAAiB,CAACE,GAAG,CAAC,CAAC,KAAK3B,iBAAiB,CAAC4B,OAAO;EAEzE,CAAC,EACD,CAACC,QAAQ,EAAEC,kBAAkB,KAAK;IACjC,SAAS;;IACT,IAAID,QAAQ,IAAI,CAACC,kBAAkB,EAAE;MACpChC,YAAY,CAAC0B,YAAY,CAAC;IAC3B;EACD,CACD,CAAC;;EAED;EACA7B,eAAe,CAAC,MAAM;IACrB;IACA;IACA,IAAIuB,WAAW,CAACJ,OAAO,EAAE;MACxB;MACAf,YAAY,CAAC,MAAM;QAClB,SAAS;;QACT,IACCgB,UAAU,CAACgB,QAAQ,CAACJ,GAAG,CAAC,CAAC,IACzB,CAACZ,UAAU,CAACW,OAAO,CAACC,GAAG,CAAC,CAAC,IACzB,CAACZ,UAAU,CAACiB,eAAe,CAACL,GAAG,CAAC,CAAC,IACjCX,MAAM,CAACiB,2BAA2B,CAACN,GAAG,CAAC,CAAC,KACvCxB,8BAA8B,CAAC+B,IAAI,EACnC;UACDZ,0BAA0B,CACzBnB,8BAA8B,CAACgC,IAAI,EACnCnB,MAAM,CAACoB,cAAc,CAACT,GAAG,CAAC,CAC3B,CAAC;QACF;MACD,CAAC,CAAC;MACF;IACD;IACAT,WAAW,CAACJ,OAAO,GAAG,IAAI;IAE1B,MAAM;MACLT,UAAU;MACVC,gBAAgB,GAAG,CAAC;MACpB+B;IACD,CAAC,GAAGvB,OAAO,CAACwB,OAAO;IAEnB,MAAMC,eAAe,GAAGnC,kBAAkB,CAAC;MAC1CC,UAAU;MACVC;IACD,CAAC,CAAC;IAEF,IAAIa,UAAU,IAAI,CAACkB,kCAAkC,EAAE;MACtD,IAAI,OAAOE,eAAe,KAAK,QAAQ,EAAE;QACxCvB,MAAM,CAACoB,cAAc,CAACI,GAAG,CAAC,CAAC,CAAC;QAC5BzB,UAAU,CAAC0B,kBAAkB,CAACD,GAAG,CAAC,CAAC,CAAC;MACrC,CAAC,MAAM;QACN,MAAME,MAAM,GAAGH,eAAe,IAAIvC,iBAAiB,CAAC4B,OAAO;QAC3DZ,MAAM,CAACoB,cAAc,CAACI,GAAG,CAACE,MAAM,CAAC;QACjC3B,UAAU,CAAC0B,kBAAkB,CAACD,GAAG,CAACE,MAAM,CAAC;MAC1C;MACA3B,UAAU,CAAC4B,iBAAiB,CAACH,GAAG,CAAC,CAAC,CAAC;MACnCzB,UAAU,CAACW,OAAO,CAACc,GAAG,CAAC,CAAC,CAAC;MACzBzB,UAAU,CAACgB,QAAQ,CAACS,GAAG,CAAC,CAAC,CAAC;MAC1B;IACD;;IAEA;IACA;IACA,IAAI,OAAOD,eAAe,KAAK,QAAQ,EAAE;MACxC;IACD;IAEAxB,UAAU,CAACgB,QAAQ,CAACS,GAAG,CAAC,CAAC,CAAC;IAC1BlB,0BAA0B,CACzBnB,8BAA8B,CAACgC,IAAI,EACnCI,eAAe,IAAIvC,iBAAiB,CAAC4B,OACtC,CAAC;EACF,CAAC,EAAE,EAAE,CAAC;AACP","ignoreList":[]}
|