react-native-screen-transitions 3.9.0 → 3.10.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/shared/animation/snap-to.js +2 -0
- package/lib/commonjs/shared/animation/snap-to.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js +19 -20
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/create-boundary-component.js +16 -2
- package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +5 -0
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +1 -3
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/index.js +4 -3
- package/lib/commonjs/shared/components/boundary/index.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +47 -187
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js +21 -13
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/host.js +1 -12
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +40 -33
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +3 -4
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +46 -130
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js +45 -9
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +2 -29
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/handoff-target.js +33 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/handoff-target.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js +19 -15
- package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js +1 -10
- package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +18 -36
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +7 -0
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/resolve-boundary-target.js +29 -0
- package/lib/commonjs/shared/components/boundary/utils/resolve-boundary-target.js.map +1 -0
- package/lib/commonjs/shared/components/masked-view.js +9 -1
- package/lib/commonjs/shared/components/masked-view.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +3 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +9 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +2 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +4 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js +2 -8
- package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js +37 -3
- package/lib/commonjs/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-release.js +3 -2
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-release.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/types.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/transition-visual-state.js +42 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/transition-visual-state.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-gate.js +11 -5
- package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-gate.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +23 -10
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +10 -8
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +4 -4
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/scroll.store.js +20 -2
- package/lib/commonjs/shared/stores/scroll.store.js.map +1 -1
- package/lib/commonjs/shared/stores/system.store.js +2 -0
- package/lib/commonjs/shared/stores/system.store.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js +23 -1
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/animate.js +14 -2
- package/lib/commonjs/shared/utils/animation/animate.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/spring/spring.js +22 -2
- package/lib/commonjs/shared/utils/animation/spring/spring.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/spring/springUtils.js +96 -0
- package/lib/commonjs/shared/utils/animation/spring/springUtils.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/state.js +4 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js +17 -5
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +44 -20
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/drag.js +2 -31
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/helpers.js +3 -17
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/helpers.js.map +1 -1
- package/lib/module/shared/animation/snap-to.js +2 -0
- package/lib/module/shared/animation/snap-to.js.map +1 -1
- package/lib/module/shared/components/boundary/components/boundary-target.js +19 -20
- package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/shared/components/boundary/create-boundary-component.js +17 -3
- package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +5 -0
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +1 -3
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/index.js +3 -2
- package/lib/module/shared/components/boundary/index.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +49 -189
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js +21 -13
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/host.js +2 -13
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +43 -36
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +3 -4
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +50 -134
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js +44 -9
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +1 -27
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/utils/handoff-target.js +28 -0
- package/lib/module/shared/components/boundary/portal/utils/handoff-target.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js +19 -15
- package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/utils/teleport-control.js +0 -8
- package/lib/module/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +19 -37
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/refresh-signals.js +7 -0
- package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/resolve-boundary-target.js +24 -0
- package/lib/module/shared/components/boundary/utils/resolve-boundary-target.js.map +1 -0
- package/lib/module/shared/components/masked-view.js +10 -2
- package/lib/module/shared/components/masked-view.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +3 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +10 -2
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +2 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +4 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js +2 -8
- package/lib/module/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js +35 -2
- package/lib/module/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +1 -0
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-release.js +3 -2
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-release.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/types.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/transition-visual-state.js +35 -0
- package/lib/module/shared/providers/screen/styles/helpers/transition-visual-state.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/visibility-gate.js +11 -5
- package/lib/module/shared/providers/screen/styles/helpers/visibility-gate.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +23 -10
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +10 -8
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +4 -4
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/scroll.store.js +17 -0
- package/lib/module/shared/stores/scroll.store.js.map +1 -1
- package/lib/module/shared/stores/system.store.js +2 -0
- package/lib/module/shared/stores/system.store.js.map +1 -1
- package/lib/module/shared/utils/animation/animate-to-progress.js +21 -0
- package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/shared/utils/animation/animate.js +14 -2
- package/lib/module/shared/utils/animation/animate.js.map +1 -1
- package/lib/module/shared/utils/animation/spring/spring.js +23 -3
- package/lib/module/shared/utils/animation/spring/spring.js.map +1 -1
- package/lib/module/shared/utils/animation/spring/springUtils.js +95 -0
- package/lib/module/shared/utils/animation/spring/springUtils.js.map +1 -1
- package/lib/module/shared/utils/animation/state.js +2 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js +16 -5
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js +46 -22
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/drag.js +2 -30
- package/lib/module/shared/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/helpers.js +4 -18
- package/lib/module/shared/utils/bounds/navigation/zoom/helpers.js.map +1 -1
- package/lib/typescript/shared/animation/snap-to.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts +2 -1
- package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts +3 -4
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/index.d.ts +6 -9
- package/lib/typescript/shared/components/boundary/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts +1 -3
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts +1 -10
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts +1 -3
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts +2 -2
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +1 -10
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/handoff-target.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/portal/utils/handoff-target.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts +2 -3
- package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts +0 -4
- package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +8 -12
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts +1 -0
- package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/utils/resolve-boundary-target.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/utils/resolve-boundary-target.d.ts.map +1 -0
- package/lib/typescript/shared/components/masked-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -1
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/gestures.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/pinch-release.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts +1 -9
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/transition-visual-state.d.ts +18 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/transition-visual-state.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/visibility-gate.d.ts +2 -2
- package/lib/typescript/shared/providers/screen/styles/helpers/visibility-gate.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/shared/stores/scroll.store.d.ts +7 -0
- package/lib/typescript/shared/stores/scroll.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/system.store.d.ts +5 -0
- package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts +6 -1
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/animate.d.ts +2 -2
- package/lib/typescript/shared/utils/animation/animate.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/spring/spring.d.ts +2 -2
- package/lib/typescript/shared/utils/animation/spring/spring.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/spring/springUtils.d.ts +3 -0
- package/lib/typescript/shared/utils/animation/spring/springUtils.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/state.d.ts +6 -0
- package/lib/typescript/shared/utils/animation/state.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts +9 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/drag.d.ts +2 -11
- package/lib/typescript/shared/utils/bounds/navigation/zoom/drag.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/helpers.d.ts +7 -4
- package/lib/typescript/shared/utils/bounds/navigation/zoom/helpers.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/animation/snap-to.ts +5 -0
- package/src/shared/components/boundary/components/boundary-target.tsx +37 -23
- package/src/shared/components/boundary/create-boundary-component.tsx +29 -3
- package/src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +11 -0
- package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +3 -9
- package/src/shared/components/boundary/index.tsx +4 -8
- package/src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +73 -275
- package/src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx +31 -12
- package/src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx +2 -12
- package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +64 -62
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts +2 -9
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +73 -186
- package/src/shared/components/boundary/portal/components/boundary-portal/index.tsx +72 -12
- package/src/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.ts +0 -1
- package/src/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +2 -39
- package/src/shared/components/boundary/portal/utils/handoff-target.ts +48 -0
- package/src/shared/components/boundary/portal/utils/resolve-portal.ts +26 -18
- package/src/shared/components/boundary/portal/utils/teleport-control.ts +0 -12
- package/src/shared/components/boundary/providers/boundary-root.provider.tsx +28 -80
- package/src/shared/components/boundary/utils/refresh-signals.ts +8 -0
- package/src/shared/components/boundary/utils/resolve-boundary-target.tsx +39 -0
- package/src/shared/components/masked-view.tsx +20 -4
- package/src/shared/components/screen-container/layers/backdrop.tsx +3 -1
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +14 -4
- package/src/shared/components/screen-lifecycle/hooks/use-transition-start-controller.ts +2 -0
- package/src/shared/providers/helpers/measured-bounds-writes.ts +1 -0
- package/src/shared/providers/screen/gestures/gestures.provider.tsx +2 -10
- package/src/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.ts +1 -0
- package/src/shared/providers/screen/gestures/pinch/activation/use-pinch-activation.ts +74 -3
- package/src/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts +1 -0
- package/src/shared/providers/screen/gestures/pinch/behavior/pinch-release.ts +2 -4
- package/src/shared/providers/screen/gestures/types.ts +0 -14
- package/src/shared/providers/screen/styles/helpers/transition-visual-state.ts +44 -0
- package/src/shared/providers/screen/styles/helpers/visibility-gate.ts +17 -7
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +30 -15
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +14 -13
- package/src/shared/stores/bounds/internals/links.ts +13 -2
- package/src/shared/stores/scroll.store.ts +23 -0
- package/src/shared/stores/system.store.ts +8 -0
- package/src/shared/utils/animation/animate-to-progress.ts +59 -28
- package/src/shared/utils/animation/animate.ts +18 -2
- package/src/shared/utils/animation/spring/spring.ts +36 -1
- package/src/shared/utils/animation/spring/springUtils.ts +130 -0
- package/src/shared/utils/animation/state.ts +8 -0
- package/src/shared/utils/bounds/navigation/reveal/math.ts +21 -5
- package/src/shared/utils/bounds/navigation/zoom/build.ts +77 -23
- package/src/shared/utils/bounds/navigation/zoom/drag.ts +3 -42
- package/src/shared/utils/bounds/navigation/zoom/helpers.ts +9 -23
- package/lib/commonjs/shared/components/boundary/hooks/use-register-target.js +0 -32
- package/lib/commonjs/shared/components/boundary/hooks/use-register-target.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +0 -51
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js +0 -220
- package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js +0 -29
- package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js +0 -25
- package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.js +0 -64
- package/lib/commonjs/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js +0 -21
- package/lib/commonjs/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js +0 -29
- package/lib/commonjs/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.js +0 -38
- package/lib/commonjs/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/opening-phase.js +0 -32
- package/lib/commonjs/shared/providers/screen/styles/helpers/opening-phase.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/use-register-target.js +0 -27
- package/lib/module/shared/components/boundary/hooks/use-register-target.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +0 -46
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/utils/ownership.js +0 -213
- package/lib/module/shared/components/boundary/portal/utils/ownership.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js +0 -24
- package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/utils/visible-host.js +0 -20
- package/lib/module/shared/components/boundary/portal/utils/visible-host.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.js +0 -59
- package/lib/module/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js +0 -15
- package/lib/module/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js +0 -24
- package/lib/module/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js.map +0 -1
- package/lib/module/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.js +0 -33
- package/lib/module/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/opening-phase.js +0 -26
- package/lib/module/shared/providers/screen/styles/helpers/opening-phase.js.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/use-register-target.d.ts +0 -10
- package/lib/typescript/shared/components/boundary/hooks/use-register-target.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts +0 -13
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts +0 -34
- package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts +0 -8
- package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts +0 -8
- package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.d.ts +0 -15
- package/lib/typescript/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.d.ts +0 -4
- package/lib/typescript/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.d.ts +0 -5
- package/lib/typescript/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts +0 -9
- package/lib/typescript/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/opening-phase.d.ts +0 -16
- package/lib/typescript/shared/providers/screen/styles/helpers/opening-phase.d.ts.map +0 -1
- package/src/shared/components/boundary/hooks/use-register-target.ts +0 -43
- package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx +0 -79
- package/src/shared/components/boundary/portal/utils/ownership.ts +0 -319
- package/src/shared/components/boundary/portal/utils/shallow-equal.ts +0 -25
- package/src/shared/components/boundary/portal/utils/visible-host.ts +0 -24
- package/src/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.ts +0 -88
- package/src/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.ts +0 -19
- package/src/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.ts +0 -47
- package/src/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.ts +0 -50
- package/src/shared/providers/screen/styles/helpers/opening-phase.ts +0 -25
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { getDestinationScreenKeyFromPairKey, getLinkKeyFromTag, getLink as getPairLink, getSourceScreenKeyFromPairKey } from "../../../../stores/bounds/helpers/link-pairs.helpers";
|
|
4
|
-
export const isHandoffHostClosingComplete = ({
|
|
5
|
-
closing,
|
|
6
|
-
progressAnimating,
|
|
7
|
-
progressSettled,
|
|
8
|
-
willAnimate
|
|
9
|
-
}) => {
|
|
10
|
-
"worklet";
|
|
11
|
-
|
|
12
|
-
// A close request marks `closing` before its animation starts. Springs can
|
|
13
|
-
// also enter their settle-distance threshold before their final frame.
|
|
14
|
-
return !!closing && willAnimate === 0 && progressSettled === 1 && progressAnimating === 0;
|
|
15
|
-
};
|
|
16
|
-
const hasSeenScreenKey = (screenKeys, screenKey) => {
|
|
17
|
-
"worklet";
|
|
18
|
-
|
|
19
|
-
for (let index = 0; index < screenKeys.length; index++) {
|
|
20
|
-
if (screenKeys[index] === screenKey) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return false;
|
|
25
|
-
};
|
|
26
|
-
const isReturningToPreviousSourceHost = ({
|
|
27
|
-
hostScreenKey,
|
|
28
|
-
ownerPairKey,
|
|
29
|
-
previousOwnerPairKey
|
|
30
|
-
}) => {
|
|
31
|
-
"worklet";
|
|
32
|
-
|
|
33
|
-
const previousSourceScreenKey = getSourceScreenKeyFromPairKey(previousOwnerPairKey);
|
|
34
|
-
const previousDestinationScreenKey = getDestinationScreenKeyFromPairKey(previousOwnerPairKey);
|
|
35
|
-
const ownerDestinationScreenKey = getDestinationScreenKeyFromPairKey(ownerPairKey);
|
|
36
|
-
return previousDestinationScreenKey !== "" && ownerDestinationScreenKey !== "" && previousDestinationScreenKey !== previousSourceScreenKey && ownerDestinationScreenKey === previousSourceScreenKey && hostScreenKey === previousSourceScreenKey;
|
|
37
|
-
};
|
|
38
|
-
export const canSwitchHandoffHostImmediately = ({
|
|
39
|
-
hostScreenKey,
|
|
40
|
-
ownerPairKey,
|
|
41
|
-
previousOwnerPairKey
|
|
42
|
-
}) => {
|
|
43
|
-
"worklet";
|
|
44
|
-
|
|
45
|
-
if (!hostScreenKey || !ownerPairKey) {
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
if (hostScreenKey === getSourceScreenKeyFromPairKey(ownerPairKey)) {
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
if (!previousOwnerPairKey) {
|
|
52
|
-
return false;
|
|
53
|
-
}
|
|
54
|
-
return isReturningToPreviousSourceHost({
|
|
55
|
-
hostScreenKey,
|
|
56
|
-
ownerPairKey,
|
|
57
|
-
previousOwnerPairKey
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
const isActiveHandoffLink = ({
|
|
61
|
-
link,
|
|
62
|
-
linkKey,
|
|
63
|
-
pairKey,
|
|
64
|
-
pairsState
|
|
65
|
-
}) => {
|
|
66
|
-
"worklet";
|
|
67
|
-
|
|
68
|
-
if (!link.group) {
|
|
69
|
-
return true;
|
|
70
|
-
}
|
|
71
|
-
const activeId = pairsState[pairKey]?.groups?.[link.group]?.activeId;
|
|
72
|
-
return !activeId || activeId === linkKey;
|
|
73
|
-
};
|
|
74
|
-
const resolveHandoffStyleOwnerScreenKey = ({
|
|
75
|
-
hostScreenKey,
|
|
76
|
-
isSettledHostReady,
|
|
77
|
-
settledHostScreenKey,
|
|
78
|
-
sourceScreenKey
|
|
79
|
-
}) => {
|
|
80
|
-
"worklet";
|
|
81
|
-
|
|
82
|
-
if (settledHostScreenKey === hostScreenKey && isSettledHostReady) {
|
|
83
|
-
return hostScreenKey;
|
|
84
|
-
}
|
|
85
|
-
return sourceScreenKey;
|
|
86
|
-
};
|
|
87
|
-
const pendingSignal = sourcePairKey => {
|
|
88
|
-
"worklet";
|
|
89
|
-
|
|
90
|
-
return {
|
|
91
|
-
hostScreenKey: null,
|
|
92
|
-
ownerPairKey: sourcePairKey,
|
|
93
|
-
ownerScreenKey: null,
|
|
94
|
-
status: "pending"
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
const clearSignal = sourcePairKey => {
|
|
98
|
-
"worklet";
|
|
99
|
-
|
|
100
|
-
return {
|
|
101
|
-
hostScreenKey: null,
|
|
102
|
-
ownerPairKey: sourcePairKey,
|
|
103
|
-
ownerScreenKey: null,
|
|
104
|
-
status: "clear"
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
export const resolveBoundaryPortalOwnership = ({
|
|
108
|
-
boundaryId,
|
|
109
|
-
currentScreenKey,
|
|
110
|
-
handoff,
|
|
111
|
-
isSettledHostClosingComplete = false,
|
|
112
|
-
isSettledHostReady = false,
|
|
113
|
-
pairsState,
|
|
114
|
-
settledHostScreenKey = null,
|
|
115
|
-
sourcePairKey
|
|
116
|
-
}) => {
|
|
117
|
-
"worklet";
|
|
118
|
-
|
|
119
|
-
const linkKey = getLinkKeyFromTag(boundaryId);
|
|
120
|
-
const link = getPairLink(pairsState, sourcePairKey, linkKey);
|
|
121
|
-
if (!link?.source) {
|
|
122
|
-
return pendingSignal(sourcePairKey);
|
|
123
|
-
}
|
|
124
|
-
if (!isActiveHandoffLink({
|
|
125
|
-
link,
|
|
126
|
-
linkKey,
|
|
127
|
-
pairKey: sourcePairKey,
|
|
128
|
-
pairsState
|
|
129
|
-
})) {
|
|
130
|
-
return clearSignal(sourcePairKey);
|
|
131
|
-
}
|
|
132
|
-
if (!handoff) {
|
|
133
|
-
return {
|
|
134
|
-
hostScreenKey: currentScreenKey,
|
|
135
|
-
ownerPairKey: sourcePairKey,
|
|
136
|
-
ownerScreenKey: currentScreenKey,
|
|
137
|
-
status: "complete"
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
if (link.status !== "complete") {
|
|
141
|
-
return pendingSignal(sourcePairKey);
|
|
142
|
-
}
|
|
143
|
-
let hostScreenKey = link.destination.screenKey;
|
|
144
|
-
let ownerPairKey = sourcePairKey;
|
|
145
|
-
const seenScreenKeys = [getSourceScreenKeyFromPairKey(sourcePairKey), hostScreenKey];
|
|
146
|
-
const pairKeys = Object.keys(pairsState);
|
|
147
|
-
for (let hop = 0; hop < pairKeys.length; hop++) {
|
|
148
|
-
let didAdvance = false;
|
|
149
|
-
let hasPendingNextHop = false;
|
|
150
|
-
let didHitVisitedScreen = false;
|
|
151
|
-
for (let index = 0; index < pairKeys.length; index++) {
|
|
152
|
-
const candidatePairKey = pairKeys[index];
|
|
153
|
-
if (!candidatePairKey || candidatePairKey === ownerPairKey) {
|
|
154
|
-
continue;
|
|
155
|
-
}
|
|
156
|
-
const candidate = getPairLink(pairsState, candidatePairKey, linkKey);
|
|
157
|
-
if (!candidate?.source || candidate.source.screenKey !== hostScreenKey) {
|
|
158
|
-
continue;
|
|
159
|
-
}
|
|
160
|
-
if (!candidate.source.handoff) {
|
|
161
|
-
continue;
|
|
162
|
-
}
|
|
163
|
-
if (!isActiveHandoffLink({
|
|
164
|
-
link: candidate,
|
|
165
|
-
linkKey,
|
|
166
|
-
pairKey: candidatePairKey,
|
|
167
|
-
pairsState
|
|
168
|
-
})) {
|
|
169
|
-
continue;
|
|
170
|
-
}
|
|
171
|
-
if (candidate.status !== "complete") {
|
|
172
|
-
hasPendingNextHop = true;
|
|
173
|
-
continue;
|
|
174
|
-
}
|
|
175
|
-
const nextHostScreenKey = candidate.destination.screenKey;
|
|
176
|
-
ownerPairKey = candidatePairKey;
|
|
177
|
-
hostScreenKey = nextHostScreenKey;
|
|
178
|
-
if (hasSeenScreenKey(seenScreenKeys, nextHostScreenKey)) {
|
|
179
|
-
didHitVisitedScreen = true;
|
|
180
|
-
break;
|
|
181
|
-
}
|
|
182
|
-
seenScreenKeys.push(nextHostScreenKey);
|
|
183
|
-
didAdvance = true;
|
|
184
|
-
break;
|
|
185
|
-
}
|
|
186
|
-
if (didHitVisitedScreen) {
|
|
187
|
-
break;
|
|
188
|
-
}
|
|
189
|
-
if (didAdvance) {
|
|
190
|
-
continue;
|
|
191
|
-
}
|
|
192
|
-
if (hasPendingNextHop) {
|
|
193
|
-
return pendingSignal(ownerPairKey);
|
|
194
|
-
}
|
|
195
|
-
break;
|
|
196
|
-
}
|
|
197
|
-
if (isSettledHostClosingComplete && settledHostScreenKey === hostScreenKey) {
|
|
198
|
-
hostScreenKey = getSourceScreenKeyFromPairKey(ownerPairKey);
|
|
199
|
-
}
|
|
200
|
-
const ownerScreenKey = resolveHandoffStyleOwnerScreenKey({
|
|
201
|
-
hostScreenKey,
|
|
202
|
-
isSettledHostReady,
|
|
203
|
-
settledHostScreenKey,
|
|
204
|
-
sourceScreenKey: getSourceScreenKeyFromPairKey(ownerPairKey)
|
|
205
|
-
});
|
|
206
|
-
return {
|
|
207
|
-
hostScreenKey,
|
|
208
|
-
ownerPairKey,
|
|
209
|
-
ownerScreenKey,
|
|
210
|
-
status: "complete"
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
//# sourceMappingURL=ownership.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["getDestinationScreenKeyFromPairKey","getLinkKeyFromTag","getLink","getPairLink","getSourceScreenKeyFromPairKey","isHandoffHostClosingComplete","closing","progressAnimating","progressSettled","willAnimate","hasSeenScreenKey","screenKeys","screenKey","index","length","isReturningToPreviousSourceHost","hostScreenKey","ownerPairKey","previousOwnerPairKey","previousSourceScreenKey","previousDestinationScreenKey","ownerDestinationScreenKey","canSwitchHandoffHostImmediately","isActiveHandoffLink","link","linkKey","pairKey","pairsState","group","activeId","groups","resolveHandoffStyleOwnerScreenKey","isSettledHostReady","settledHostScreenKey","sourceScreenKey","pendingSignal","sourcePairKey","ownerScreenKey","status","clearSignal","resolveBoundaryPortalOwnership","boundaryId","currentScreenKey","handoff","isSettledHostClosingComplete","source","destination","seenScreenKeys","pairKeys","Object","keys","hop","didAdvance","hasPendingNextHop","didHitVisitedScreen","candidatePairKey","candidate","nextHostScreenKey","push"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/ownership.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Shallow equality for the flat signal objects produced by the portal
|
|
5
|
-
* `useAnimatedReaction` blocks. Both sides always carry the same fixed key set,
|
|
6
|
-
* so iterating one side's keys is sufficient. A `null`/`undefined` operand
|
|
7
|
-
* (the first reaction run) is treated as not-equal so the reaction proceeds.
|
|
8
|
-
*/
|
|
9
|
-
export const shallowEqual = (a, b) => {
|
|
10
|
-
"worklet";
|
|
11
|
-
|
|
12
|
-
if (!a || !b) {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
const keys = Object.keys(a);
|
|
16
|
-
for (let index = 0; index < keys.length; index++) {
|
|
17
|
-
const key = keys[index];
|
|
18
|
-
if (a[key] !== b[key]) {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return true;
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=shallow-equal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["shallowEqual","a","b","keys","Object","index","length","key"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/shallow-equal.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,YAAY,GAAGA,CAC3BC,CAA6C,EAC7CC,CAA6C,KACzC;EACJ,SAAS;;EACT,IAAI,CAACD,CAAC,IAAI,CAACC,CAAC,EAAE;IACb,OAAO,KAAK;EACb;EAEA,MAAMC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACF,CAAC,CAAC;EAC3B,KAAK,IAAII,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGF,IAAI,CAACG,MAAM,EAAED,KAAK,EAAE,EAAE;IACjD,MAAME,GAAG,GAAGJ,IAAI,CAACE,KAAK,CAAC;IACvB,IAAIJ,CAAC,CAACM,GAAG,CAAC,KAAKL,CAAC,CAACK,GAAG,CAAC,EAAE;MACtB,OAAO,KAAK;IACb;EACD;EAEA,OAAO,IAAI;AACZ,CAAC","ignoreList":[]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export const resolveNextVisiblePortalHostName = ({
|
|
4
|
-
canSwitchImmediately,
|
|
5
|
-
isInterpolatorReady,
|
|
6
|
-
requestedName,
|
|
7
|
-
shouldTeleport,
|
|
8
|
-
visibleName
|
|
9
|
-
}) => {
|
|
10
|
-
"worklet";
|
|
11
|
-
|
|
12
|
-
if (!shouldTeleport) {
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
if (requestedName && (canSwitchImmediately || isInterpolatorReady)) {
|
|
16
|
-
return requestedName;
|
|
17
|
-
}
|
|
18
|
-
return visibleName;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=visible-host.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["resolveNextVisiblePortalHostName","canSwitchImmediately","isInterpolatorReady","requestedName","shouldTeleport","visibleName"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/visible-host.ts"],"mappings":";;AAAA,OAAO,MAAMA,gCAAgC,GAAGA,CAAC;EAChDC,oBAAoB;EACpBC,mBAAmB;EACnBC,aAAa;EACbC,cAAc;EACdC;AAOD,CAAC,KAAK;EACL,SAAS;;EACT,IAAI,CAACD,cAAc,EAAE;IACpB,OAAO,IAAI;EACZ;EAEA,IAAID,aAAa,KAAKF,oBAAoB,IAAIC,mBAAmB,CAAC,EAAE;IACnE,OAAOC,aAAa;EACrB;EAEA,OAAOE,WAAW;AACnB,CAAC","ignoreList":[]}
|
package/lib/module/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useCallback, useMemo } from "react";
|
|
4
|
-
import { resolvePinchRuntime } from "../../shared/runtime";
|
|
5
|
-
export const useRotationActivation = ({
|
|
6
|
-
runtime,
|
|
7
|
-
screenOptions,
|
|
8
|
-
gestureCompositionOwner
|
|
9
|
-
}) => {
|
|
10
|
-
const onTouchesDown = useCallback((event, stateManager) => {
|
|
11
|
-
"worklet";
|
|
12
|
-
|
|
13
|
-
const {
|
|
14
|
-
participation,
|
|
15
|
-
policy
|
|
16
|
-
} = resolvePinchRuntime(runtime.get(), screenOptions.get());
|
|
17
|
-
if (!participation.canTrackGesture || !policy.enabled) {
|
|
18
|
-
stateManager?.fail();
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
if (event.numberOfTouches === 2) {
|
|
22
|
-
if (gestureCompositionOwner.get() === null) {
|
|
23
|
-
gestureCompositionOwner.set("pinch");
|
|
24
|
-
}
|
|
25
|
-
stateManager?.activate();
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
if (event.numberOfTouches > 2) {
|
|
29
|
-
stateManager?.fail();
|
|
30
|
-
}
|
|
31
|
-
}, [runtime, screenOptions, gestureCompositionOwner]);
|
|
32
|
-
const onTouchesMove = useCallback((event, stateManager) => {
|
|
33
|
-
"worklet";
|
|
34
|
-
|
|
35
|
-
const {
|
|
36
|
-
participation,
|
|
37
|
-
policy
|
|
38
|
-
} = resolvePinchRuntime(runtime.get(), screenOptions.get());
|
|
39
|
-
if (!participation.canTrackGesture || !policy.enabled) {
|
|
40
|
-
stateManager.fail();
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
if (event.numberOfTouches === 2) {
|
|
44
|
-
if (gestureCompositionOwner.get() === null) {
|
|
45
|
-
gestureCompositionOwner.set("pinch");
|
|
46
|
-
}
|
|
47
|
-
stateManager.activate();
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
if (event.numberOfTouches > 2) {
|
|
51
|
-
stateManager.fail();
|
|
52
|
-
}
|
|
53
|
-
}, [runtime, screenOptions, gestureCompositionOwner]);
|
|
54
|
-
return useMemo(() => ({
|
|
55
|
-
onTouchesDown,
|
|
56
|
-
onTouchesMove
|
|
57
|
-
}), [onTouchesDown, onTouchesMove]);
|
|
58
|
-
};
|
|
59
|
-
//# sourceMappingURL=use-rotation-activation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useMemo","resolvePinchRuntime","useRotationActivation","runtime","screenOptions","gestureCompositionOwner","onTouchesDown","event","stateManager","participation","policy","get","canTrackGesture","enabled","fail","numberOfTouches","set","activate","onTouchesMove"],"sourceRoot":"../../../../../../../../src","sources":["shared/providers/screen/gestures/rotation/activation/use-rotation-activation.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,QAAQ,OAAO;AAO5C,SAASC,mBAAmB,QAAQ,sBAAsB;AAY1D,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACrCC,OAAO;EACPC,aAAa;EACbC;AAC2B,CAAC,KAAK;EACjC,MAAMC,aAAa,GAAGP,WAAW,CAChC,CACCQ,KAAwB,EACxBC,YAA6C,KACzC;IACJ,SAAS;;IACT,MAAM;MAAEC,aAAa;MAAEC;IAAO,CAAC,GAAGT,mBAAmB,CACpDE,OAAO,CAACQ,GAAG,CAAC,CAAC,EACbP,aAAa,CAACO,GAAG,CAAC,CACnB,CAAC;IAED,IAAI,CAACF,aAAa,CAACG,eAAe,IAAI,CAACF,MAAM,CAACG,OAAO,EAAE;MACtDL,YAAY,EAAEM,IAAI,CAAC,CAAC;MACpB;IACD;IAEA,IAAIP,KAAK,CAACQ,eAAe,KAAK,CAAC,EAAE;MAChC,IAAIV,uBAAuB,CAACM,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;QAC3CN,uBAAuB,CAACW,GAAG,CAAC,OAAO,CAAC;MACrC;MACAR,YAAY,EAAES,QAAQ,CAAC,CAAC;MACxB;IACD;IAEA,IAAIV,KAAK,CAACQ,eAAe,GAAG,CAAC,EAAE;MAC9BP,YAAY,EAAEM,IAAI,CAAC,CAAC;IACrB;EACD,CAAC,EACD,CAACX,OAAO,EAAEC,aAAa,EAAEC,uBAAuB,CACjD,CAAC;EAED,MAAMa,aAAa,GAAGnB,WAAW,CAChC,CAACQ,KAAwB,EAAEC,YAAiC,KAAK;IAChE,SAAS;;IACT,MAAM;MAAEC,aAAa;MAAEC;IAAO,CAAC,GAAGT,mBAAmB,CACpDE,OAAO,CAACQ,GAAG,CAAC,CAAC,EACbP,aAAa,CAACO,GAAG,CAAC,CACnB,CAAC;IAED,IAAI,CAACF,aAAa,CAACG,eAAe,IAAI,CAACF,MAAM,CAACG,OAAO,EAAE;MACtDL,YAAY,CAACM,IAAI,CAAC,CAAC;MACnB;IACD;IAEA,IAAIP,KAAK,CAACQ,eAAe,KAAK,CAAC,EAAE;MAChC,IAAIV,uBAAuB,CAACM,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;QAC3CN,uBAAuB,CAACW,GAAG,CAAC,OAAO,CAAC;MACrC;MACAR,YAAY,CAACS,QAAQ,CAAC,CAAC;MACvB;IACD;IAEA,IAAIV,KAAK,CAACQ,eAAe,GAAG,CAAC,EAAE;MAC9BP,YAAY,CAACM,IAAI,CAAC,CAAC;IACpB;EACD,CAAC,EACD,CAACX,OAAO,EAAEC,aAAa,EAAEC,uBAAuB,CACjD,CAAC;EAED,OAAOL,OAAO,CACb,OAAO;IAAEM,aAAa;IAAEY;EAAc,CAAC,CAAC,EACxC,CAACZ,aAAa,EAAEY,aAAa,CAC9B,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export const startRotationGesture = gestures => {
|
|
4
|
-
"worklet";
|
|
5
|
-
|
|
6
|
-
gestures.rotation.set(0);
|
|
7
|
-
gestures.raw.rotation.set(0);
|
|
8
|
-
};
|
|
9
|
-
export const trackRotationGesture = (event, rawEvent, gestures) => {
|
|
10
|
-
"worklet";
|
|
11
|
-
|
|
12
|
-
gestures.rotation.set(event.rotation);
|
|
13
|
-
gestures.raw.rotation.set(rawEvent.rotation);
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=rotation-lifecycle.js.map
|
package/lib/module/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["startRotationGesture","gestures","rotation","set","raw","trackRotationGesture","event","rawEvent"],"sourceRoot":"../../../../../../../../src","sources":["shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.ts"],"mappings":";;AAEA,OAAO,MAAMA,oBAAoB,GAChCC,QAAsD,IAClD;EACJ,SAAS;;EACTA,QAAQ,CAACC,QAAQ,CAACC,GAAG,CAAC,CAAC,CAAC;EACxBF,QAAQ,CAACG,GAAG,CAACF,QAAQ,CAACC,GAAG,CAAC,CAAC,CAAC;AAC7B,CAAC;AAED,OAAO,MAAME,oBAAoB,GAAGA,CACnCC,KAA2B,EAC3BC,QAA8B,EAC9BN,QAAsD,KAClD;EACJ,SAAS;;EACTA,QAAQ,CAACC,QAAQ,CAACC,GAAG,CAACG,KAAK,CAACJ,QAAQ,CAAC;EACrCD,QAAQ,CAACG,GAAG,CAACF,QAAQ,CAACC,GAAG,CAACI,QAAQ,CAACL,QAAQ,CAAC;AAC7C,CAAC","ignoreList":[]}
|
package/lib/module/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useCallback, useMemo } from "react";
|
|
4
|
-
import { resolvePinchRuntime } from "../../shared/runtime";
|
|
5
|
-
import { startRotationGesture, trackRotationGesture } from "./rotation-lifecycle";
|
|
6
|
-
export const useRotationBehavior = (runtime, screenOptions) => {
|
|
7
|
-
const onStart = useCallback(() => {
|
|
8
|
-
"worklet";
|
|
9
|
-
|
|
10
|
-
const latestRuntime = resolvePinchRuntime(runtime.get(), screenOptions.get());
|
|
11
|
-
startRotationGesture(latestRuntime.stores.gestures);
|
|
12
|
-
}, [runtime, screenOptions]);
|
|
13
|
-
const onUpdate = useCallback(rawEvent => {
|
|
14
|
-
"worklet";
|
|
15
|
-
|
|
16
|
-
const latestRuntime = resolvePinchRuntime(runtime.get(), screenOptions.get());
|
|
17
|
-
trackRotationGesture(rawEvent, rawEvent, latestRuntime.stores.gestures);
|
|
18
|
-
}, [runtime, screenOptions]);
|
|
19
|
-
return useMemo(() => ({
|
|
20
|
-
onStart,
|
|
21
|
-
onUpdate
|
|
22
|
-
}), [onStart, onUpdate]);
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=use-rotation-behavior.js.map
|
package/lib/module/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useMemo","resolvePinchRuntime","startRotationGesture","trackRotationGesture","useRotationBehavior","runtime","screenOptions","onStart","latestRuntime","get","stores","gestures","onUpdate","rawEvent"],"sourceRoot":"../../../../../../../../src","sources":["shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,QAAQ,OAAO;AAG5C,SAASC,mBAAmB,QAAQ,sBAAsB;AAM1D,SACCC,oBAAoB,EACpBC,oBAAoB,QACd,sBAAsB;AAE7B,OAAO,MAAMC,mBAAmB,GAAGA,CAClCC,OAA4C,EAC5CC,aAAwC,KAClB;EACtB,MAAMC,OAAO,GAAGR,WAAW,CAAC,MAAM;IACjC,SAAS;;IACT,MAAMS,aAAa,GAAGP,mBAAmB,CACxCI,OAAO,CAACI,GAAG,CAAC,CAAC,EACbH,aAAa,CAACG,GAAG,CAAC,CACnB,CAAC;IACDP,oBAAoB,CAACM,aAAa,CAACE,MAAM,CAACC,QAAQ,CAAC;EACpD,CAAC,EAAE,CAACN,OAAO,EAAEC,aAAa,CAAC,CAAC;EAE5B,MAAMM,QAAQ,GAAGb,WAAW,CAC1Bc,QAA8B,IAAK;IACnC,SAAS;;IACT,MAAML,aAAa,GAAGP,mBAAmB,CACxCI,OAAO,CAACI,GAAG,CAAC,CAAC,EACbH,aAAa,CAACG,GAAG,CAAC,CACnB,CAAC;IACDN,oBAAoB,CAACU,QAAQ,EAAEA,QAAQ,EAAEL,aAAa,CAACE,MAAM,CAACC,QAAQ,CAAC;EACxE,CAAC,EACD,CAACN,OAAO,EAAEC,aAAa,CACxB,CAAC;EAED,OAAON,OAAO,CACb,OAAO;IACNO,OAAO;IACPK;EACD,CAAC,CAAC,EACF,CAACL,OAAO,EAAEK,QAAQ,CACnB,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useMemo } from "react";
|
|
4
|
-
import { Gesture } from "react-native-gesture-handler";
|
|
5
|
-
import { useScreenOptionsContext } from "../../options";
|
|
6
|
-
import { useStableRuntimeConfig } from "../hooks/use-stable-runtime-config";
|
|
7
|
-
import { useRotationActivation } from "./activation/use-rotation-activation";
|
|
8
|
-
import { useRotationBehavior } from "./behavior/use-rotation-behavior";
|
|
9
|
-
export const useBuildRotationGesture = ({
|
|
10
|
-
gestureConfig,
|
|
11
|
-
gestureCompositionOwner
|
|
12
|
-
}) => {
|
|
13
|
-
const {
|
|
14
|
-
participation,
|
|
15
|
-
pinch: policy
|
|
16
|
-
} = gestureConfig;
|
|
17
|
-
const screenOptions = useScreenOptionsContext();
|
|
18
|
-
const runtime = useStableRuntimeConfig({
|
|
19
|
-
participation,
|
|
20
|
-
policy
|
|
21
|
-
});
|
|
22
|
-
const activation = useRotationActivation({
|
|
23
|
-
runtime,
|
|
24
|
-
screenOptions,
|
|
25
|
-
gestureCompositionOwner
|
|
26
|
-
});
|
|
27
|
-
const behavior = useRotationBehavior(runtime, screenOptions);
|
|
28
|
-
const rotationGesture = useMemo(() => {
|
|
29
|
-
return Gesture.Rotation().enabled(true).manualActivation(true).onTouchesDown(activation.onTouchesDown).onTouchesMove(activation.onTouchesMove).onStart(behavior.onStart).onUpdate(behavior.onUpdate);
|
|
30
|
-
}, [activation, behavior]);
|
|
31
|
-
return rotationGesture;
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=use-build-rotation-gesture.js.map
|
package/lib/module/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","Gesture","useScreenOptionsContext","useStableRuntimeConfig","useRotationActivation","useRotationBehavior","useBuildRotationGesture","gestureConfig","gestureCompositionOwner","participation","pinch","policy","screenOptions","runtime","activation","behavior","rotationGesture","Rotation","enabled","manualActivation","onTouchesDown","onTouchesMove","onStart","onUpdate"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/gestures/rotation/use-build-rotation-gesture.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,OAAO,QAAQ,8BAA8B;AAEtD,SAASC,uBAAuB,QAAQ,eAAe;AACvD,SAASC,sBAAsB,QAAQ,oCAAoC;AAM3E,SAASC,qBAAqB,QAAQ,sCAAsC;AAC5E,SAASC,mBAAmB,QAAQ,kCAAkC;AAOtE,OAAO,MAAMC,uBAAuB,GAAGA,CAAC;EACvCC,aAAa;EACbC;AAC6B,CAAC,KAAsB;EACpD,MAAM;IAAEC,aAAa;IAAEC,KAAK,EAAEC;EAAO,CAAC,GAAGJ,aAAa;EACtD,MAAMK,aAAa,GAAGV,uBAAuB,CAAC,CAAC;EAE/C,MAAMW,OAAO,GAAGV,sBAAsB,CAAC;IACtCM,aAAa;IACbE;EACD,CAAC,CAAC;EAEF,MAAMG,UAAU,GAAGV,qBAAqB,CAAC;IACxCS,OAAO;IACPD,aAAa;IACbJ;EACD,CAAC,CAAC;EAEF,MAAMO,QAAQ,GAAGV,mBAAmB,CAACQ,OAAO,EAAED,aAAa,CAAC;EAE5D,MAAMI,eAAe,GAAGhB,OAAO,CAAC,MAAM;IACrC,OAAOC,OAAO,CAACgB,QAAQ,CAAC,CAAC,CACvBC,OAAO,CAAC,IAAI,CAAC,CACbC,gBAAgB,CAAC,IAAI,CAAC,CACtBC,aAAa,CAACN,UAAU,CAACM,aAAa,CAAC,CACvCC,aAAa,CAACP,UAAU,CAACO,aAAa,CAAC,CACvCC,OAAO,CAACP,QAAQ,CAACO,OAAO,CAAC,CACzBC,QAAQ,CAACR,QAAQ,CAACQ,QAAQ,CAAC;EAC9B,CAAC,EAAE,CAACT,UAAU,EAAEC,QAAQ,CAAC,CAAC;EAE1B,OAAOC,eAAe;AACvB,CAAC","ignoreList":[]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The "pre-start" window of an opening transition: the screen has committed to
|
|
5
|
-
* opening (`entering`) but `transitionProgress` has not yet moved past 0, so no
|
|
6
|
-
* transformed frame has been produced yet.
|
|
7
|
-
*
|
|
8
|
-
* This window is a quarantine, and two source-level guards key off it:
|
|
9
|
-
* - the visibility gate keeps the entering screen hidden (it must not be SEEN), and
|
|
10
|
-
* - interpolator ownership stays on "current" so the entering screen does not
|
|
11
|
-
* DRIVE other screens' styles until its transition is actually live.
|
|
12
|
-
*
|
|
13
|
-
* Both must agree on when the open transition has started, so the threshold
|
|
14
|
-
* lives here in one place rather than being re-derived at each site.
|
|
15
|
-
*/
|
|
16
|
-
export const hasOpenTransitionStarted = transitionProgress => {
|
|
17
|
-
"worklet";
|
|
18
|
-
|
|
19
|
-
return transitionProgress > 0;
|
|
20
|
-
};
|
|
21
|
-
export const isOpeningBeforeStart = (entering, transitionProgress) => {
|
|
22
|
-
"worklet";
|
|
23
|
-
|
|
24
|
-
return !!entering && !hasOpenTransitionStarted(transitionProgress);
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=opening-phase.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["hasOpenTransitionStarted","transitionProgress","isOpeningBeforeStart","entering"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/helpers/opening-phase.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,wBAAwB,GAAIC,kBAA0B,IAAK;EACvE,SAAS;;EACT,OAAOA,kBAAkB,GAAG,CAAC;AAC9B,CAAC;AAED,OAAO,MAAMC,oBAAoB,GAAGA,CACnCC,QAAgB,EAChBF,kBAA0B,KACtB;EACJ,SAAS;;EACT,OAAO,CAAC,CAACE,QAAQ,IAAI,CAACH,wBAAwB,CAACC,kBAAkB,CAAC;AACnE,CAAC","ignoreList":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { View } from "react-native";
|
|
2
|
-
import type { AnimatedRef } from "react-native-reanimated";
|
|
3
|
-
interface RegisterTargetProps {
|
|
4
|
-
targetAnimatedRef: AnimatedRef<View>;
|
|
5
|
-
preparedStyles: Record<string, any>;
|
|
6
|
-
measurementRef: AnimatedRef<View>;
|
|
7
|
-
}
|
|
8
|
-
export declare const useRegisterTarget: ({ targetAnimatedRef, preparedStyles, measurementRef, }: RegisterTargetProps) => void;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=use-register-target.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-register-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-register-target.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAO3D,UAAU,mBAAmB;IAC5B,iBAAiB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACrC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,cAAc,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,iBAAiB,GAAI,wDAI/B,mBAAmB,SAuBrB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
import type { View } from "react-native";
|
|
3
|
-
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
|
-
type BoundaryPortalSlotProps = {
|
|
5
|
-
id: string;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
animatedProps: any;
|
|
9
|
-
placeholderRef?: AnimatedRef<View>;
|
|
10
|
-
};
|
|
11
|
-
export declare const BoundaryPortalSlot: import("react").MemoExoticComponent<({ id, children, enabled, animatedProps, placeholderRef, }: BoundaryPortalSlotProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=portal-slot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"portal-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAiB,EAAE,KAAK,WAAW,EAAW,MAAM,yBAAyB,CAAC;AAsB9E,KAAK,uBAAuB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,GAAG,CAAC;IACnB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,kBAAkB,kGAM5B,uBAAuB,6UAmCxB,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { LinkPairsState, ScreenKey, ScreenPairKey } from "../../../../stores/bounds/types";
|
|
2
|
-
export type PortalOwnershipSignal = {
|
|
3
|
-
hostScreenKey: null;
|
|
4
|
-
ownerPairKey?: ScreenPairKey;
|
|
5
|
-
ownerScreenKey: null;
|
|
6
|
-
status: "clear" | "pending";
|
|
7
|
-
} | {
|
|
8
|
-
hostScreenKey: ScreenKey;
|
|
9
|
-
ownerPairKey: ScreenPairKey;
|
|
10
|
-
ownerScreenKey: ScreenKey;
|
|
11
|
-
status: "complete";
|
|
12
|
-
};
|
|
13
|
-
export declare const isHandoffHostClosingComplete: ({ closing, progressAnimating, progressSettled, willAnimate, }: {
|
|
14
|
-
closing: number;
|
|
15
|
-
progressAnimating: number;
|
|
16
|
-
progressSettled: number;
|
|
17
|
-
willAnimate: number;
|
|
18
|
-
}) => boolean;
|
|
19
|
-
export declare const canSwitchHandoffHostImmediately: ({ hostScreenKey, ownerPairKey, previousOwnerPairKey, }: {
|
|
20
|
-
hostScreenKey: ScreenKey | null;
|
|
21
|
-
ownerPairKey?: ScreenPairKey;
|
|
22
|
-
previousOwnerPairKey?: ScreenPairKey;
|
|
23
|
-
}) => boolean;
|
|
24
|
-
export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScreenKey, handoff, isSettledHostClosingComplete, isSettledHostReady, pairsState, settledHostScreenKey, sourcePairKey, }: {
|
|
25
|
-
boundaryId: string;
|
|
26
|
-
currentScreenKey: ScreenKey;
|
|
27
|
-
handoff: boolean;
|
|
28
|
-
isSettledHostClosingComplete?: boolean;
|
|
29
|
-
isSettledHostReady?: boolean;
|
|
30
|
-
pairsState: LinkPairsState;
|
|
31
|
-
settledHostScreenKey?: ScreenKey | null;
|
|
32
|
-
sourcePairKey: ScreenPairKey;
|
|
33
|
-
}) => PortalOwnershipSignal;
|
|
34
|
-
//# sourceMappingURL=ownership.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ownership.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/ownership.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEX,cAAc,EACd,SAAS,EACT,aAAa,EAEb,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,qBAAqB,GAC9B;IACA,aAAa,EAAE,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3B,GACD;IACA,aAAa,EAAE,SAAS,CAAC;IACzB,YAAY,EAAE,aAAa,CAAC;IAC5B,cAAc,EAAE,SAAS,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;CAClB,CAAC;AAEL,eAAO,MAAM,4BAA4B,GAAI,+DAK1C;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACpB,YAWA,CAAC;AAsCF,eAAO,MAAM,+BAA+B,GAAI,wDAI7C;IACF,aAAa,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,oBAAoB,CAAC,EAAE,aAAa,CAAC;CACrC,YAmBA,CAAC;AA6DF,eAAO,MAAM,8BAA8B,GAAI,+IAS5C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,SAAS,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,cAAc,CAAC;IAC3B,oBAAoB,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxC,aAAa,EAAE,aAAa,CAAC;CAC7B,KAAG,qBA6HH,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shallow equality for the flat signal objects produced by the portal
|
|
3
|
-
* `useAnimatedReaction` blocks. Both sides always carry the same fixed key set,
|
|
4
|
-
* so iterating one side's keys is sufficient. A `null`/`undefined` operand
|
|
5
|
-
* (the first reaction run) is treated as not-equal so the reaction proceeds.
|
|
6
|
-
*/
|
|
7
|
-
export declare const shallowEqual: (a: Record<string, unknown> | null | undefined, b: Record<string, unknown> | null | undefined) => boolean;
|
|
8
|
-
//# sourceMappingURL=shallow-equal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shallow-equal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/shallow-equal.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GACxB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,EAC7C,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,YAgB7C,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const resolveNextVisiblePortalHostName: ({ canSwitchImmediately, isInterpolatorReady, requestedName, shouldTeleport, visibleName, }: {
|
|
2
|
-
canSwitchImmediately?: boolean;
|
|
3
|
-
isInterpolatorReady: boolean;
|
|
4
|
-
requestedName: string | null;
|
|
5
|
-
shouldTeleport: boolean;
|
|
6
|
-
visibleName: string | null;
|
|
7
|
-
}) => string | null;
|
|
8
|
-
//# sourceMappingURL=visible-host.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visible-host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/visible-host.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,GAAI,4FAM9C;IACF,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,kBAWA,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { GestureStateManager, GestureTouchEvent } from "react-native-gesture-handler";
|
|
2
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
3
|
-
import type { ScreenOptionsContextValue } from "../../../options";
|
|
4
|
-
import type { GestureCompositionOwner, RotationGestureRuntime } from "../../types";
|
|
5
|
-
interface UseRotationActivationProps {
|
|
6
|
-
runtime: SharedValue<RotationGestureRuntime>;
|
|
7
|
-
screenOptions: ScreenOptionsContextValue;
|
|
8
|
-
gestureCompositionOwner: SharedValue<GestureCompositionOwner>;
|
|
9
|
-
}
|
|
10
|
-
export declare const useRotationActivation: ({ runtime, screenOptions, gestureCompositionOwner, }: UseRotationActivationProps) => {
|
|
11
|
-
onTouchesDown: (event: GestureTouchEvent, stateManager: GestureStateManager | undefined) => void;
|
|
12
|
-
onTouchesMove: (event: GestureTouchEvent, stateManager: GestureStateManager) => void;
|
|
13
|
-
};
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=use-rotation-activation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-rotation-activation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/rotation/activation/use-rotation-activation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EACX,uBAAuB,EACvB,sBAAsB,EACtB,MAAM,aAAa,CAAC;AAErB,UAAU,0BAA0B;IACnC,OAAO,EAAE,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAC7C,aAAa,EAAE,yBAAyB,CAAC;IACzC,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,qBAAqB,GAAI,sDAInC,0BAA0B;2BAGnB,iBAAiB,gBACV,mBAAmB,GAAG,SAAS;2BA6BtC,iBAAiB,gBAAgB,mBAAmB;CA+B7D,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { RotationGestureEvent, RotationGestureRuntime } from "../../types";
|
|
2
|
-
export declare const startRotationGesture: (gestures: RotationGestureRuntime["stores"]["gestures"]) => void;
|
|
3
|
-
export declare const trackRotationGesture: (event: RotationGestureEvent, rawEvent: RotationGestureEvent, gestures: RotationGestureRuntime["stores"]["gestures"]) => void;
|
|
4
|
-
//# sourceMappingURL=rotation-lifecycle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rotation-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/rotation/behavior/rotation-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAEhF,eAAO,MAAM,oBAAoB,GAChC,UAAU,sBAAsB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,SAKtD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAChC,OAAO,oBAAoB,EAC3B,UAAU,oBAAoB,EAC9B,UAAU,sBAAsB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,SAKtD,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { ScreenOptionsContextValue } from "../../../options";
|
|
3
|
-
import type { RotationBehavior, RotationGestureRuntime } from "../../types";
|
|
4
|
-
export declare const useRotationBehavior: (runtime: SharedValue<RotationGestureRuntime>, screenOptions: ScreenOptionsContextValue) => RotationBehavior;
|
|
5
|
-
//# sourceMappingURL=use-rotation-behavior.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-rotation-behavior.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/gestures/rotation/behavior/use-rotation-behavior.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EACX,gBAAgB,EAEhB,sBAAsB,EACtB,MAAM,aAAa,CAAC;AAMrB,eAAO,MAAM,mBAAmB,GAC/B,SAAS,WAAW,CAAC,sBAAsB,CAAC,EAC5C,eAAe,yBAAyB,KACtC,gBA6BF,CAAC"}
|
package/lib/typescript/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { GestureCompositionOwner, RotationGesture, ScreenGestureConfig } from "../types";
|
|
3
|
-
interface UseBuildRotationGestureProps {
|
|
4
|
-
gestureConfig: ScreenGestureConfig;
|
|
5
|
-
gestureCompositionOwner: SharedValue<GestureCompositionOwner>;
|
|
6
|
-
}
|
|
7
|
-
export declare const useBuildRotationGesture: ({ gestureConfig, gestureCompositionOwner, }: UseBuildRotationGestureProps) => RotationGesture;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=use-build-rotation-gesture.d.ts.map
|
package/lib/typescript/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-build-rotation-gesture.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/gestures/rotation/use-build-rotation-gesture.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EACX,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACnB,MAAM,UAAU,CAAC;AAIlB,UAAU,4BAA4B;IACrC,aAAa,EAAE,mBAAmB,CAAC;IACnC,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,uBAAuB,GAAI,6CAGrC,4BAA4B,KAAG,eA4BjC,CAAC"}
|