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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["interpolate","EPSILON","NAVIGATION_MASK_ELEMENT_STYLE_ID","createBoundsAccessorCore","getSourceBorderRadius","resolveRevealContentBaseTransform","ZOOM_BACKDROP_MAX_OPACITY","ZOOM_BACKGROUND_SCALE","ZOOM_FOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_FOCUSED_ELEMENT_OPEN_OPACITY_RANGE","ZOOM_SCREEN_A_FADE_END","ZOOM_SHARED_OPTIONS","ZOOM_UNFOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_UNFOCUSED_ELEMENT_OPEN_OPACITY_RANGE","resolveZoomDragState","resolveZoomTrackedGestureScale","resolveZoomBackdropOpacity","resolveZoomPinchFocalOffset","resolveZoomTrackedSourceTransform","resolveZoomNavigationMaskStyle","ZOOM_NAVIGATION_MASK_BORDER_RADIUS","getZoomContentAnchor","getZoomContentTarget","resolveZoomTrackingContentTarget","buildZoomStyles","tag","props","zoomOptions","target","keepFocusedVisible","expandedBorderRadius","Math","max","borderRadius","backgroundScale","backdropColor","maxBackdropOpacity","backdropOpacity","active","current","focused","transitionProgress","layouts","screen","screenLayout","activeTransitionProgress","bounds","getProps","scopedBounds","link","sourceBounds","source","values","scaleMode","anchor","method","progress","zoomContentTarget","explicitTarget","zoomContentAnchor","trackingContentTarget","contentTarget","drag","gesture","dragOptions","trackedGestureScale","focalGesture","isDismissing","handoff","focalProgress","pinchFocalOffset","gestureScale","scale","pinchOriginX","pinchOriginY","rotation","x","y","sourceBorderRadius","navigationMaskEnabled","options","dismissalDrag","dismissNorm","fadeEnd","maxOpacity","contentRaw","focusedOpacityRange","closing","focusedFade","contentBaseTranslateX","translateX","contentBaseTranslateY","translateY","contentBaseScale","contentTranslateX","dragX","contentTranslateY","dragY","contentScale","dismissContentScale","gestureReleaseVelocityScale","backdrop","style","backgroundColor","opacity","content","transform","rotateZ","animating","overflow","contentTransform","unfocusedOpacityRange","unfocusedFade","unfocusedScale","shouldHideSource","unfocusedContentScale","settled","unfocusedContent","id","scaleX","scaleY","trackedContentBaseScale","destinationBounds","trackedDragX","trackedDragY","trackedSourceElement","parentScale"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SACCC,OAAO,EACPC,gCAAgC,QAC1B,uBAAuB;AAC9B,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,qBAAqB,QAAQ,YAAY;AAClD,SAASC,iCAAiC,QAAQ,gBAAgB;AAClE,SACCC,yBAAyB,EACzBC,qBAAqB,EACrBC,wCAAwC,EACxCC,uCAAuC,EACvCC,sBAAsB,EACtBC,mBAAmB,EACnBC,0CAA0C,EAC1CC,yCAAyC,QACnC,UAAU;AACjB,SAASC,oBAAoB,EAAEC,8BAA8B,QAAQ,QAAQ;AAC7E,SACCC,0BAA0B,EAC1BC,2BAA2B,EAC3BC,iCAAiC,QAC3B,WAAW;AAClB,SACCC,8BAA8B,EAC9BC,kCAAkC,QAC5B,QAAQ;AACf,SACCC,oBAAoB,EACpBC,oBAAoB,EACpBC,gCAAgC,QAC1B,WAAW;AAGlB,OAAO,SAASC,eAAeA,CAAC;EAC/BC,GAAG;EACHC,KAAK;EACLC;AACsB,CAAC,EAAyB;EAChD,SAAS;;EAET,IAAI,CAACF,GAAG,EAAE;IACT,OAAO,CAAC,CAAC;EACV;EAEA,MAAMG,MAAM,GAAGD,WAAW,EAAEC,MAAM;EAClC,MAAMC,kBAAkB,GAAGF,WAAW,EAA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MmD,YAAY,GACjB7D,IAAI,CAACiC,KAAK,GAAGzB,gBAAgB,CAACM,CAAC,GAAG6C,uBAAuB;EAC1D,MAAMG,YAAY,GACjB9D,IAAI,CAACmC,KAAK,GAAG3B,gBAAgB,CAACO,CAAC,GAAG4C,uBAAuB;EAE1D,MAAMI,oBAAoB,GAAG3G,iCAAiC,CAAC;IAC9DsC,QAAQ,EAAEX,wBAAwB;IAClCK,YAAY;IACZwE,iBAAiB,EAAE9D,qBAAqB;IACxChB,YAAY;IACZmD,KAAK,EAAE4B,YAAY;IACnB1B,KAAK,EAAE2B,YAAY;IACnBrD,YAAY,EAAEN,mBAAmB;IACjC6D,WAAW,EAAEX,qBAAqB;IAClCxC,QAAQ,EAAEb,IAAI,CAACa,QAAQ;IACvBrB,MAAM,EAAEK;EACT,CAAC,CAAC;EAEF,OAAO;IACN8C,OAAO,EAAEY,gBAAgB;IACzB,CAACpE,IAAI,CAACqE,EAAE,GAAG;MACVhB,KAAK,EAAE;QACNI,SAAS,EAAE,CACV;UAAEhB,UAAU,EAAEmC,oBAAoB,CAACnC;QAAW,CAAC,EAC/C;UAAEE,UAAU,EAAEiC,oBAAoB,CAACjC;QAAW,CAAC,EAC/C;UAAEe,OAAO,EAAE,GAAG7C,IAAI,CAACa,QAAQ;QAAM,CAAC,EAClC;UAAE4C,MAAM,EAAEM,oBAAoB,CAACN;QAAO,CAAC,EACvC;UAAEC,MAAM,EAAEK,oBAAoB,CAACL;QAAO,CAAC,CACvC;QACDhB,OAAO,EAAEQ;MACV;IACD;EACD,CAAC;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["interpolate","EPSILON","NAVIGATION_MASK_ELEMENT_STYLE_ID","getVisualScrollAxisDelta","createBoundsAccessorCore","computeContentTransformGeometry","getSourceBorderRadius","resolveRevealContentBaseTransformFromGeometry","ZOOM_BACKDROP_MAX_OPACITY","ZOOM_BACKGROUND_SCALE","ZOOM_FOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_FOCUSED_ELEMENT_OPEN_OPACITY_RANGE","ZOOM_SCREEN_A_FADE_END","ZOOM_SHARED_OPTIONS","ZOOM_UNFOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_UNFOCUSED_ELEMENT_OPEN_OPACITY_RANGE","resolveZoomDragState","resolveZoomBackdropOpacity","resolveZoomPinchFocalOffset","resolveZoomTrackedSourceTransform","resolveZoomNavigationMaskStyle","ZOOM_NAVIGATION_MASK_BORDER_RADIUS","getZoomContentAnchor","getZoomContentTarget","resolveZoomTrackingContentTarget","buildZoomStyles","tag","props","zoomOptions","target","keepFocusedVisible","expandedBorderRadius","Math","max","borderRadius","backgroundScale","backdropColor","maxBackdropOpacity","backdropOpacity","active","current","focused","transitionProgress","layouts","screen","screenLayout","activeTransitionProgress","bounds","getProps","scopedBounds","link","sourceBounds","source","values","scaleMode","anchor","method","progress","zoomContentTarget","explicitTarget","zoomContentAnchor","trackingContentTarget","contentTarget","isDismissing","gesture","dismissing","dismissalTrackingGeometry","start","end","entering","dimensions","dismissalCollapsedContentScale","geometry","scale","drag","collapsedContentScale","dragOptions","focalGesture","handoff","focalProgress","pinchFocalOffset","gestureScale","pinchOriginX","pinchOriginY","rotation","x","y","capturedSourceScroll","scroll","liveSourceScroll","inactive","sourceScrollWeight","closing","min","sourceScrollDeltaX","sourceScrollDeltaY","sourceBorderRadius","navigationMaskEnabled","options","dismissalDrag","dismissNorm","fadeEnd","maxOpacity","contentRaw","focusedOpacityRange","focusedFade","contentBaseTranslateX","translateX","contentBaseTranslateY","translateY","contentBaseScale","contentTranslateX","dragX","contentTranslateY","dragY","contentScale","dismissContentScale","gestureReleaseVelocityScale","backdrop","style","backgroundColor","opacity","content","transform","rotateZ","animating","overflow","contentTransform","unfocusedOpacityRange","unfocusedFade","unfocusedScale","shouldHideSource","unfocusedContentScale","settled","unfocusedContent","id","scaleX","scaleY","trackingGeometry","trackedContentBaseTransform","trackedGestureScale","trackedContentBaseScale","trackedDragX","trackedDragY","trackedSourceElement","contentBaseTransform","destinationBounds","parentScale"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SACCC,OAAO,EACPC,gCAAgC,QAC1B,uBAAuB;AAC9B,SAASC,wBAAwB,QAAQ,iCAAiC;AAE1E,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,+BAA+B,QAAQ,wBAAwB;AACxE,SAASC,qBAAqB,QAAQ,YAAY;AAClD,SAASC,6CAA6C,QAAQ,gBAAgB;AAC9E,SACCC,yBAAyB,EACzBC,qBAAqB,EACrBC,wCAAwC,EACxCC,uCAAuC,EACvCC,sBAAsB,EACtBC,mBAAmB,EACnBC,0CAA0C,EAC1CC,yCAAyC,QACnC,UAAU;AACjB,SAASC,oBAAoB,QAAQ,QAAQ;AAC7C,SACCC,0BAA0B,EAC1BC,2BAA2B,EAC3BC,iCAAiC,QAC3B,WAAW;AAClB,SACCC,8BAA8B,EAC9BC,kCAAkC,QAC5B,QAAQ;AACf,SACCC,oBAAoB,EACpBC,oBAAoB,EACpBC,gCAAgC,QAC1B,WAAW;AAGlB,OAAO,SAASC,eAAeA,CAAC;EAC/BC,GAAG;EACHC,KAAK;EACLC;AACsB,CAAC,EAAyB;EAChD,SAAS;;EAET,IAAI,CAACF,GAAG,EAAE;IACT,OAAO,CAAC,CAAC;EACV;EAEA,MAAMG,MAAM,GAAGD,WAAW,EAAEC,MAAM;EAClC,MAAMC,kBAAkB,GAAGF,WAAW,EAAEE,kBAAkB,KAAK,IAAI;EACnE,MAAMC,oBAAoB,GAAGC,IAAI,CAACC,GAAG,CACpC,CAAC,EACDL,WAAW,EAAEM,YAAY,IAAIb,kCAC9B,CAAC;EACD,MAAMc,eAAe,GAAGP,WAAW,EAAEO,eAAe,IAAI1B,qBAAqB;EAC7E,MAAM2B,aAAa,GAAGR,WAAW,EAAEQ,aAAa,IAAI,OAAO;EAC3D,MAAMC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AuB,GAAGF,2BAA2B,CAAClE,KAAK;EACjE,MAAMqE,YAAY,GACjBpE,IAAI,CAACsC,KAAK,GAAGhC,gBAAgB,CAACK,CAAC,GAAGwD,uBAAuB;EAC1D,MAAME,YAAY,GACjBrE,IAAI,CAACwC,KAAK,GAAGlC,gBAAgB,CAACM,CAAC,GAAGuD,uBAAuB;EAE1D,MAAMG,oBAAoB,GAAG7H,iCAAiC,CAAC;IAC9D8H,oBAAoB,EAAEN,2BAA2B;IACjDhE,qBAAqB;IACrBxB,YAAY;IACZ+F,iBAAiB,EAAErF,qBAAqB;IACxChB,YAAY;IACZmE,KAAK,EAAE8B,YAAY;IACnB5B,KAAK,EAAE6B,YAAY;IACnB9D,YAAY,EAAE2D,mBAAmB;IACjCO,WAAW,EAAEf,qBAAqB;IAClChD,QAAQ,EAAEV,IAAI,CAACU;EAChB,CAAC,CAAC;EAEF,OAAO;IACNsC,OAAO,EAAEY,gBAAgB;IACzB,CAACpF,IAAI,CAACqF,EAAE,GAAG;MACVhB,KAAK,EAAE;QACNI,SAAS,EAAE,CACV;UAAEhB,UAAU,EAAEqC,oBAAoB,CAACrC;QAAW,CAAC,EAC/C;UAAEE,UAAU,EAAEmC,oBAAoB,CAACnC;QAAW,CAAC,EAC/C;UAAEe,OAAO,EAAE,GAAGlD,IAAI,CAACU,QAAQ;QAAM,CAAC,EAClC;UAAEoD,MAAM,EAAEQ,oBAAoB,CAACR;QAAO,CAAC,EACvC;UAAEC,MAAM,EAAEO,oBAAoB,CAACP;QAAO,CAAC,CACvC;QACDhB,OAAO,EAAEQ;MACV;IACD;EACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { EPSILON } from "../../../../constants";
|
|
4
|
-
import { resolveRevealContentBaseTransform } from "../reveal/math";
|
|
5
4
|
import { ZOOM_DISMISS_VELOCITY_DEPTH } from "./config";
|
|
6
5
|
const ZOOM_DRAG_SCALE_EXPONENT = 2;
|
|
7
6
|
const ZOOM_DRAG_SCALE_FLOOR = 0.5;
|
|
@@ -92,8 +91,7 @@ export function resolveZoomDragState({
|
|
|
92
91
|
gesture,
|
|
93
92
|
activeTransitionProgress,
|
|
94
93
|
screenLayout,
|
|
95
|
-
|
|
96
|
-
trackingContentTarget,
|
|
94
|
+
collapsedContentScale,
|
|
97
95
|
dragOptions
|
|
98
96
|
}) {
|
|
99
97
|
"worklet";
|
|
@@ -134,16 +132,10 @@ export function resolveZoomDragState({
|
|
|
134
132
|
const rotation = isPinchIn ? isDismissing ? gestureHandoff.rotation * activeTransitionProgress : gesture.rotation : 0;
|
|
135
133
|
let dismissContentScale = gestureScale;
|
|
136
134
|
if (isDismissing) {
|
|
137
|
-
const targetContentScale = resolveRevealContentBaseTransform({
|
|
138
|
-
progress: 0,
|
|
139
|
-
sourceBounds,
|
|
140
|
-
destinationBounds: trackingContentTarget,
|
|
141
|
-
screenLayout
|
|
142
|
-
}).scale;
|
|
143
135
|
dismissContentScale = resolveZoomDismissContentScale({
|
|
144
136
|
transitionRemaining: activeTransitionProgress,
|
|
145
137
|
releaseScale: gestureScale,
|
|
146
|
-
targetScale:
|
|
138
|
+
targetScale: collapsedContentScale,
|
|
147
139
|
velocity: gestureHandoff.velocity,
|
|
148
140
|
velocityDepth: ZOOM_DISMISS_VELOCITY_DEPTH * (isPinchIn ? ZOOM_PINCH_VELOCITY_DEPTH_MULTIPLIER : 1)
|
|
149
141
|
});
|
|
@@ -161,24 +153,4 @@ export function resolveZoomDragState({
|
|
|
161
153
|
rotation
|
|
162
154
|
};
|
|
163
155
|
}
|
|
164
|
-
export function resolveZoomTrackedGestureScale({
|
|
165
|
-
drag,
|
|
166
|
-
activeTransitionProgress,
|
|
167
|
-
screenLayout,
|
|
168
|
-
sourceBounds,
|
|
169
|
-
trackingContentTarget
|
|
170
|
-
}) {
|
|
171
|
-
"worklet";
|
|
172
|
-
|
|
173
|
-
if (!drag.isDismissing) {
|
|
174
|
-
return drag.gestureScale;
|
|
175
|
-
}
|
|
176
|
-
const trackedContentBaseScale = resolveRevealContentBaseTransform({
|
|
177
|
-
progress: activeTransitionProgress,
|
|
178
|
-
sourceBounds,
|
|
179
|
-
destinationBounds: trackingContentTarget,
|
|
180
|
-
screenLayout
|
|
181
|
-
}).scale;
|
|
182
|
-
return drag.dismissContentScale / trackedContentBaseScale;
|
|
183
|
-
}
|
|
184
156
|
//# sourceMappingURL=drag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EPSILON","
|
|
1
|
+
{"version":3,"names":["EPSILON","ZOOM_DISMISS_VELOCITY_DEPTH","ZOOM_DRAG_SCALE_EXPONENT","ZOOM_DRAG_SCALE_FLOOR","ZOOM_COUNTER_DRAG_SCALE_INTENSITY","ZOOM_PRIMARY_DRAG_TRANSLATION_SCALE","ZOOM_PRIMARY_DRAG_RESISTANCE","ZOOM_HORIZONTAL_DRAG_DISTANCE_SCALE","ZOOM_CROSS_AXIS_DRAG_TRANSLATION_SCALE","ZOOM_CROSS_AXIS_DRAG_RESISTANCE","ZOOM_PINCH_SCALE_RESPONSE","ZOOM_PINCH_VELOCITY_DEPTH_MULTIPLIER","resolveZoomDismissContentScale","transitionRemaining","releaseScale","targetScale","velocity","velocityDepth","closeProgress","depth","scaleDelta","controlScale1","linearControlScale2","controlScale2","Math","max","remaining","resolveZoomPrimaryDragTranslation","translation","dimension","direction","translationDistance","abs","baseDistance","normalizedTranslation","effectiveResistance","resistedTranslation","exp","min","resolveZoomHorizontalDragTranslation","resolveZoomCrossAxisDragTranslation","resolveZoomDragScale","normalized","scaleInput","progress","rawMinimumScale","rawScale","resolveZoomPinchScale","scale","resolveZoomDismissalNorm","isInverted","resolveZoomDragState","gesture","activeTransitionProgress","screenLayout","collapsedContentScale","dragOptions","gestureHandoff","handoff","isDismissing","dismissing","activeGesture","active","isHorizontalInverted","isHorizontal","isVerticalInverted","isVertical","isPinchIn","translationResponse","horizontal","vertical","scaleResponse","handoffPrimaryNorm","normScale","normX","normY","livePrimaryNorm","dismissNorm","nativeDragX","x","width","nativeDragY","y","height","dragX","dragY","scaleNorm","nativeGestureScale","gestureScale","rotation","dismissContentScale","collapsesMask","dismissProgress"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/drag.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,uBAAuB;AAM/C,SAASC,2BAA2B,QAAQ,UAAU;AAEtD,MAAMC,wBAAwB,GAAG,CAAC;AAClC,MAAMC,qBAAqB,GAAG,GAAG;AACjC,MAAMC,iCAAiC,GAAG,GAAG;AAC7C,MAAMC,mCAAmC,GAAG,GAAG;AAC/C,MAAMC,4BAA4B,GAAG,CAAC;AACtC,MAAMC,mCAAmC,GAAG,GAAG;AAC/C,MAAMC,sCAAsC,GAAG,IAAI;AACnD,MAAMC,+BAA+B,GAAG,IAAI;AAC5C,MAAMC,yBAAyB,GAAG,CAAC;AACnC,MAAMC,oCAAoC,GAAG,CAAC;AAiB9C,OAAO,SAASC,8BAA8BA,CAAC;EAC9CC,mBAAmB;EACnBC,YAAY;EACZC,WAAW;EACXC,QAAQ;EACRC;AAOD,CAAC,EAAE;EACF,SAAS;;EAET,MAAMC,aAAa,GAAG,CAAC,GAAGL,mBAAmB;EAC7C,MAAMM,KAAK,GAAGF,aAAa,GAAGD,QAAQ;EAEtC,MAAMI,UAAU,GAAGL,WAAW,GAAGD,YAAY;EAC7C,MAAMO,aAAa,GAAGP,YAAY,GAAGM,UAAU,GAAG,CAAC;EACnD,MAAME,mBAAmB,GAAGR,YAAY,GAAI,CAAC,GAAGM,UAAU,GAAI,CAAC;EAC/D,MAAMG,aAAa,GAAGC,IAAI,CAACC,GAAG,CAACzB,OAAO,EAAEsB,mBAAmB,IAAI,CAAC,GAAGH,KAAK,CAAC,CAAC;EAC1E,MAAMO,SAAS,GAAG,CAAC,GAAGR,aAAa;EAEnC,OACCQ,SAAS,GAAGA,SAAS,GAAGA,SAAS,GAAGZ,YA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AACqC,QAAQ,GACjB,CAAC;EAEJ,IAAIC,mBAAmB,GAAGF,YAAY;EAEtC,IAAI7B,YAAY,EAAE;IACjB+B,mBAAmB,GAAG9E,8BAA8B,CAAC;MACpDC,mBAAmB,EAAEwC,wBAAwB;MAC7CvC,YAAY,EAAE0E,YAAY;MAC1BzE,WAAW,EAAEwC,qBAAqB;MAClCvC,QAAQ,EAAEyC,cAAc,CAACzC,QAAQ;MACjCC,aAAa,EACZhB,2BAA2B,IAC1BkE,SAAS,GAAGxD,oCAAoC,GAAG,CAAC;IACvD,CAAC,CAAC;EACH;EAEA,OAAO;IACNgF,aAAa,EAAEzB,UAAU;IACzBwB,mBAAmB;IACnBb,WAAW;IACXe,eAAe,EAAEjC,YAAY,GAAG,CAAC,GAAGN,wBAAwB,GAAG,CAAC;IAChE+B,KAAK;IACLC,KAAK;IACLG,YAAY;IACZ7B,YAAY;IACZM,kBAAkB;IAClBwB;EACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { EPSILON } from "../../../../constants";
|
|
4
|
-
import {
|
|
4
|
+
import { resolveTrackedSourceElementTransform } from "../reveal/math";
|
|
5
5
|
export function resolveZoomBackdropOpacity({
|
|
6
6
|
transitionProgress,
|
|
7
7
|
dismissalDrag,
|
|
@@ -46,33 +46,19 @@ export function resolveZoomPinchFocalOffset({
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
export function resolveZoomTrackedSourceTransform({
|
|
49
|
-
progress,
|
|
50
49
|
sourceBounds,
|
|
51
50
|
destinationBounds,
|
|
52
51
|
screenLayout,
|
|
52
|
+
contentBaseTransform,
|
|
53
|
+
collapsedContentScale,
|
|
53
54
|
dragX,
|
|
54
55
|
dragY,
|
|
55
56
|
gestureScale,
|
|
56
57
|
parentScale,
|
|
57
|
-
rotation = 0
|
|
58
|
-
anchor
|
|
58
|
+
rotation = 0
|
|
59
59
|
}) {
|
|
60
60
|
"worklet";
|
|
61
61
|
|
|
62
|
-
const contentBaseTransform = resolveRevealContentBaseTransform({
|
|
63
|
-
progress,
|
|
64
|
-
sourceBounds,
|
|
65
|
-
destinationBounds,
|
|
66
|
-
screenLayout,
|
|
67
|
-
anchor
|
|
68
|
-
});
|
|
69
|
-
const collapsedContentScale = resolveRevealContentBaseTransform({
|
|
70
|
-
progress: 0,
|
|
71
|
-
sourceBounds,
|
|
72
|
-
destinationBounds,
|
|
73
|
-
screenLayout,
|
|
74
|
-
anchor
|
|
75
|
-
}).scale;
|
|
76
62
|
const contentScale = contentBaseTransform.scale * gestureScale;
|
|
77
63
|
const safeCollapsedContentScale = Math.max(Math.abs(collapsedContentScale), EPSILON);
|
|
78
64
|
const safeParentScale = Math.max(Math.abs(parentScale), EPSILON);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EPSILON","
|
|
1
|
+
{"version":3,"names":["EPSILON","resolveTrackedSourceElementTransform","resolveZoomBackdropOpacity","transitionProgress","dismissalDrag","fadeEnd","maxOpacity","clampedProgress","Math","min","max","clampedDrag","safeFadeEnd","transitionOpacity","clampedMaxOpacity","resolveZoomPinchFocalOffset","gestureScale","pinchOriginX","pinchOriginY","progress","rotation","screenLayout","abs","x","y","offsetX","width","offsetY","height","cosine","cos","sine","sin","transformedOffsetX","transformedOffsetY","resolveZoomTrackedSourceTransform","sourceBounds","destinationBounds","contentBaseTransform","collapsedContentScale","dragX","dragY","parentScale","contentScale","scale","safeCollapsedContentScale","safeParentScale","uniformSourceScale","trackedTransform","contentTranslateX","translateX","contentTranslateY","translateY","screenWidth","screenHeight","scaleX","scaleY","screenCenterX","screenCenterY","destinationCenterX","pageX","destinationCenterY","pageY","scaledOffsetX","scaledOffsetY","rotatedOffsetX","rotatedOffsetY"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/helpers.ts"],"mappings":";;AACA,SAASA,OAAO,QAAQ,uBAAuB;AAE/C,SAASC,oCAAoC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e,cAAc,GAAGF,aAAa,IAAIjB,eAAe;IACnDM,UAAU,EACTJ,gBAAgB,CAACI,UAAU,GAC3B,CAACc,cAAc,GAAGF,aAAa,IAAIlB;EACrC,CAAC;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snap-to.d.ts","sourceRoot":"","sources":["../../../../src/shared/animation/snap-to.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AA0B5D,wBAAgB,qBAAqB,CACpC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,EACtC,KAAK,EAAE,MAAM,GACX,OAAO,
|
|
1
|
+
{"version":3,"file":"snap-to.d.ts","sourceRoot":"","sources":["../../../../src/shared/animation/snap-to.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AA0B5D,wBAAgB,qBAAqB,CACpC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,EACtC,KAAK,EAAE,MAAM,GACX,OAAO,CA0CT;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAS1C"}
|
|
@@ -3,6 +3,7 @@ import Animated from "react-native-reanimated";
|
|
|
3
3
|
type BoundaryTargetProps = Omit<React.ComponentProps<typeof Animated.View>, "children"> & {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const BOUNDARY_TARGET_ACTIVE_PROP: "__boundaryTargetActive";
|
|
7
|
+
export declare const BoundaryTarget: React.NamedExoticComponent<BoundaryTargetProps>;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=boundary-target.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAgB/C,KAAK,mBAAmB,GAAG,IAAI,CAC9B,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,EAC1C,UAAU,CACV,GAAG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAG,wBAAiC,CAAC;AA2E7E,eAAO,MAAM,cAAc,EAEtB,KAAK,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAKlB,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGtD,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,GAgFX,KAAK,CAAC,mBAAmB,CACzD,KAAK,CAAC,yBAAyB,CAC9B,sBAAsB,CAAC,CAAC,CAAC,GACxB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CACxD,CACD,CACD"}
|
package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,UAAU,wBAAwB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,kBAAkB,GAAI,yCAIhC,wBAAwB,SA6E1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
|
-
import type { AnimatedRef
|
|
2
|
+
import type { AnimatedRef } from "react-native-reanimated";
|
|
3
3
|
import type { BoundTag } from "../../../stores/bounds/types";
|
|
4
4
|
import type { BoundaryConfigProps } from "../types";
|
|
5
5
|
interface UseBoundaryMeasurementParams {
|
|
@@ -11,9 +11,8 @@ interface UseBoundaryMeasurementParams {
|
|
|
11
11
|
currentScreenKey: string;
|
|
12
12
|
/** Surface to measure: a nested target's placeholder, else the root. */
|
|
13
13
|
measuredRef: AnimatedRef<View>;
|
|
14
|
-
/**
|
|
14
|
+
/** Style belonging to the selected measurement surface. */
|
|
15
15
|
style?: unknown;
|
|
16
|
-
targetPreparedStyles?: StyleProps;
|
|
17
16
|
handoff: boolean;
|
|
18
17
|
escapeClipping: boolean;
|
|
19
18
|
config: BoundaryConfigProps;
|
|
@@ -23,6 +22,6 @@ interface UseBoundaryMeasurementParams {
|
|
|
23
22
|
* registers presence, runs the initial source/destination + refresh reactions,
|
|
24
23
|
* and keeps the component itself away from the measurer.
|
|
25
24
|
*/
|
|
26
|
-
export declare const useBoundaryMeasurement: ({ boundTag, enabled, runtimeEnabled, currentScreenKey, measuredRef, style,
|
|
25
|
+
export declare const useBoundaryMeasurement: ({ boundTag, enabled, runtimeEnabled, currentScreenKey, measuredRef, style, handoff, escapeClipping, config, }: UseBoundaryMeasurementParams) => void;
|
|
27
26
|
export {};
|
|
28
27
|
//# sourceMappingURL=use-boundary-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-boundary-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"use-boundary-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-boundary-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAOpD,UAAU,4BAA4B;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,4EAA4E;IAC5E,OAAO,EAAE,OAAO,CAAC;IACjB,2EAA2E;IAC3E,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,+GAUpC,4BAA4B,SAgD9B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { View, type ViewProps } from "react-native";
|
|
2
|
+
import { type PressableProps } from "react-native-gesture-handler";
|
|
2
3
|
import { BoundaryTarget } from "./components/boundary-target";
|
|
3
4
|
import { createBoundaryComponent } from "./create-boundary-component";
|
|
4
5
|
import { Host } from "./portal";
|
|
@@ -7,13 +8,9 @@ export { createBoundaryComponent };
|
|
|
7
8
|
type BoundaryPrimitiveProps = Omit<ViewProps, "id" | "style"> & Omit<PressableProps, "id" | "style"> & {
|
|
8
9
|
style?: ViewProps["style"] | PressableProps["style"];
|
|
9
10
|
};
|
|
10
|
-
declare const BoundaryRoot: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<Omit<
|
|
11
|
-
style?: ViewProps["style"] | PressableProps["style"];
|
|
12
|
-
} & import("react").RefAttributes<View>, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<View | import("react").Component<Omit<ViewProps, "style" | "id"> & Omit<PressableProps, "style" | "id"> & {
|
|
13
|
-
style?: ViewProps["style"] | PressableProps["style"];
|
|
14
|
-
} & import("react").RefAttributes<View>, any, any>>>>;
|
|
11
|
+
declare const BoundaryRoot: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<Omit<BoundaryPrimitiveProps, "ref"> & import("react").RefAttributes<View>, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<View | import("react").Component<Omit<BoundaryPrimitiveProps, "ref"> & import("react").RefAttributes<View>, any, any>>>>;
|
|
15
12
|
declare const BoundaryView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<ViewProps, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<never>>>;
|
|
16
|
-
declare const BoundaryTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<PressableProps
|
|
13
|
+
declare const BoundaryTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<PressableProps, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<View | import("react").Component<PressableProps, any, any>>>>;
|
|
17
14
|
type BoundaryRootComponent = typeof BoundaryRoot;
|
|
18
15
|
/**
|
|
19
16
|
* Shared-boundary component with static helpers.
|
|
@@ -29,12 +26,12 @@ type BoundaryRootComponent = typeof BoundaryRoot;
|
|
|
29
26
|
*
|
|
30
27
|
* Use:
|
|
31
28
|
* - `Boundary` for passive and pressable shared elements.
|
|
32
|
-
* - `Boundary.Target` to measure
|
|
29
|
+
* - `Boundary.Target` as a direct child to measure it instead of the root.
|
|
33
30
|
* - `Boundary.Host` to make clipping-escape host placement explicit.
|
|
34
31
|
*/
|
|
35
32
|
export interface BoundaryComponent extends BoundaryRootComponent {
|
|
36
33
|
/**
|
|
37
|
-
* Optional
|
|
34
|
+
* Optional direct-child measurement override inside a boundary root.
|
|
38
35
|
*/
|
|
39
36
|
Target: typeof BoundaryTarget;
|
|
40
37
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/index.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,KAAK,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,OAAO,CAAC,GAC5D,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG;IACtC,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;CACrD,CAAC;AAYH,QAAA,MAAM,YAAY,mWAA6C,CAAC;AAChE,QAAA,MAAM,YAAY,mLAAgC,CAAC;AACnD,QAAA,MAAM,eAAe,6OAAqC,CAAC;AAO3D,KAAK,qBAAqB,GAAG,OAAO,YAAY,CAAC;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D;;OAEG;IACH,MAAM,EAAE,OAAO,cAAc,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,OAAO,IAAI,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,OAAO,YAAY,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,OAAO,eAAe,CAAC;CAChC;AAED,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,sBAAsB,CAAC,CAAC;AAE3E,eAAO,MAAM,QAAQ,EAKf,iBAAiB,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
interface UseBoundaryContentPortalAttachmentParams {
|
|
2
2
|
boundaryId: string;
|
|
3
|
-
enabled: boolean;
|
|
4
3
|
}
|
|
5
|
-
export declare const useBoundaryContentPortalAttachment: ({ boundaryId,
|
|
4
|
+
export declare const useBoundaryContentPortalAttachment: ({ boundaryId, }: UseBoundaryContentPortalAttachmentParams) => {
|
|
6
5
|
teleportProps: Partial<{
|
|
7
6
|
hostName: string | null;
|
|
8
7
|
}>;
|
|
9
|
-
visiblePortalHostName: import("react-native-reanimated").SharedValue<string | null>;
|
|
10
8
|
};
|
|
11
9
|
export {};
|
|
12
10
|
//# sourceMappingURL=use-boundary-content-portal-attachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"AAgBA,UAAU,wCAAwC;IACjD,UAAU,EAAE,MAAM,CAAC;CACnB;AAQD,eAAO,MAAM,kCAAkC,GAAI,iBAEhD,wCAAwC;;;;CAsF1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,0BAA0B,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,0BAA0B,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAkBF,eAAO,MAAM,qBAAqB,2EAI/B,0BAA0B,6UAe3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AAYtB,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AA0EF,eAAO,MAAM,IAAI,8CAA6B,eAAe,6CAE3D,CAAC;AAEH,eAAO,MAAM,kBAAkB,oFAE7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AAetB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAMrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAG5B,uBAAuB,oDAgHxB,CAAC"}
|
|
@@ -15,16 +15,7 @@ type ResolvePortalOffsetStyleParams = {
|
|
|
15
15
|
bounds: ScrollMeasuredDimensions;
|
|
16
16
|
hostKey: string;
|
|
17
17
|
placement: PortalOffsetPlacement;
|
|
18
|
-
/**
|
|
19
|
-
* Live correction applied on top of the stored source placement. Used by
|
|
20
|
-
* cross-screen hosts to keep the landing rect tracking the source screen's
|
|
21
|
-
* scroll while the source is interactive mid-flight.
|
|
22
|
-
*/
|
|
23
|
-
landingShift?: {
|
|
24
|
-
x: number;
|
|
25
|
-
y: number;
|
|
26
|
-
};
|
|
27
18
|
};
|
|
28
|
-
export declare const resolvePortalOffsetStyle: ({ bounds, hostKey, placement,
|
|
19
|
+
export declare const resolvePortalOffsetStyle: ({ bounds, hostKey, placement, }: ResolvePortalOffsetStyleParams) => StyleProps;
|
|
29
20
|
export {};
|
|
30
21
|
//# sourceMappingURL=offset-style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offset-style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,cAAc,CAAC;AAEnE,KAAK,8BAA8B,GAAG;IACrC,uEAAuE;IACvE,MAAM,EAAE,wBAAwB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"offset-style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,cAAc,CAAC;AAEnE,KAAK,8BAA8B,GAAG;IACrC,uEAAuE;IACvE,MAAM,EAAE,wBAAwB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,qBAAqB,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,iCAItC,8BAA8B,KAAG,UAyCnC,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
interface UseBoundaryPortalAttachmentParams {
|
|
2
2
|
boundaryId: string;
|
|
3
|
-
enabled: boolean;
|
|
4
3
|
}
|
|
5
|
-
export declare const useBoundaryPortalAttachment: ({ boundaryId,
|
|
4
|
+
export declare const useBoundaryPortalAttachment: ({ boundaryId, }: UseBoundaryPortalAttachmentParams) => {
|
|
6
5
|
teleportProps: Partial<{
|
|
7
6
|
hostName: string | null;
|
|
8
7
|
}>;
|
|
9
|
-
visiblePortalHostName: import("react-native-reanimated").SharedValue<string | null>;
|
|
10
8
|
};
|
|
11
9
|
export {};
|
|
12
10
|
//# sourceMappingURL=use-boundary-portal-attachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AAsBA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACnB;AAOD,eAAO,MAAM,2BAA2B,GAAI,iBAEzC,iCAAiC;;;;CA2GnC,CAAC"}
|
package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import type { View } from "react-native";
|
|
3
|
-
import type
|
|
3
|
+
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
4
|
type BoundaryPortalProps = {
|
|
5
5
|
boundaryId: string;
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
placeholderRef?: AnimatedRef<View>;
|
|
9
9
|
};
|
|
10
|
-
export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, placeholderRef, }: BoundaryPortalProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
+
export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, placeholderRef, }: BoundaryPortalProps) => 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>;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/index.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;AA0B9E,KAAK,mBAAmB,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,cAAc,2FAKxB,mBAAmB,6UAapB,CAAC"}
|
|
@@ -2,7 +2,6 @@ export type HostRegistration = {
|
|
|
2
2
|
hostKey: string;
|
|
3
3
|
screenKey: string;
|
|
4
4
|
fallback: boolean;
|
|
5
|
-
capturesScroll: boolean;
|
|
6
5
|
};
|
|
7
6
|
export declare const registerHost: (registration: HostRegistration) => void;
|
|
8
7
|
export declare const unregisterHost: (screenKey: string, hostKey: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CAClB,CAAC;AA6DF,eAAO,MAAM,YAAY,GAAI,cAAc,gBAAgB,SA0B1D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,SAoBhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,WAEjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,GAAG,IAAI,uBAMzD,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAI7B,CAAC"}
|
|
@@ -3,24 +3,15 @@ import type { LocalStyleLayers } from "../../../../../../providers/screen/styles
|
|
|
3
3
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../types/animation.types";
|
|
4
4
|
export type ActivePortalBoundaryHost = {
|
|
5
5
|
boundaryId: string;
|
|
6
|
-
escapeClipping: boolean;
|
|
7
6
|
hostKey: string;
|
|
8
7
|
localStylesMaps: SharedValue<LocalStyleLayers>;
|
|
9
8
|
pairKey: string;
|
|
10
9
|
portalHostName: string;
|
|
10
|
+
portalHostReady: SharedValue<boolean>;
|
|
11
11
|
screenKey: string;
|
|
12
12
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
13
13
|
};
|
|
14
14
|
export declare const mountPortalBoundaryHost: (host: ActivePortalBoundaryHost) => void;
|
|
15
15
|
export declare const unmountPortalBoundaryHostByName: (portalHostName: string | null | undefined) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Post-handoff GC: drop every receiver for this boundary except the one now
|
|
18
|
-
* visible (`keepPortalHostName`). Called once the new host is confirmed on
|
|
19
|
-
* screen so the superseded receivers stop rendering.
|
|
20
|
-
*/
|
|
21
|
-
export declare const dropStalePortalBoundaryHosts: ({ boundaryId, keepPortalHostName, }: {
|
|
22
|
-
boundaryId: string;
|
|
23
|
-
keepPortalHostName: string;
|
|
24
|
-
}) => void;
|
|
25
16
|
export declare const useActivePortalBoundaryHosts: (hostKey: string) => ActivePortalBoundaryHost[];
|
|
26
17
|
//# sourceMappingURL=portal-boundary-host.store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uEAAuE,CAAC;AAC9G,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAErG,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uEAAuE,CAAC;AAC9G,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAErG,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAqDF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,gBAAgB,MAAM,GAAG,IAAI,GAAG,SAAS,SAOzC,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LinkPairsState, ScreenKey, ScreenPairKey } from "../../../../stores/bounds/types";
|
|
2
|
+
type ResolveEnteringHandoffTargetParams = {
|
|
3
|
+
animationProgress: number;
|
|
4
|
+
boundaryId: string;
|
|
5
|
+
currentScreenKey: ScreenKey;
|
|
6
|
+
pairsState: LinkPairsState;
|
|
7
|
+
sourcePairKey?: ScreenPairKey;
|
|
8
|
+
};
|
|
9
|
+
/** Resolve only the immediate A -> B entering handoff. */
|
|
10
|
+
export declare const resolveEnteringHandoffTarget: ({ animationProgress, boundaryId, currentScreenKey, pairsState, sourcePairKey, }: ResolveEnteringHandoffTargetParams) => ScreenKey | null;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=handoff-target.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handoff-target.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/handoff-target.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,cAAc,EACd,SAAS,EACT,aAAa,EACb,MAAM,iCAAiC,CAAC;AAEzC,KAAK,kCAAkC,GAAG;IACzC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,SAAS,CAAC;IAC5B,UAAU,EAAE,cAAc,CAAC;IAC3B,aAAa,CAAC,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,4BAA4B,GAAI,iFAM1C,kCAAkC,KAAG,SAAS,GAAG,IAyBnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-portal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/resolve-portal.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,qBAAqB,GAAG;
|
|
1
|
+
{"version":3,"file":"resolve-portal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/resolve-portal.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC,CAAC;AAEH,KAAK,2BAA2B,GAAG;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAmBF,eAAO,MAAM,qBAAqB,GAAI,8BAGnC,2BAA2B,KAAG,qBAwBhC,CAAC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import type { BoundaryTeleportControl } from "../../../../types/animation.types";
|
|
2
2
|
export declare const isTeleportEnabled: (teleport: BoundaryTeleportControl | undefined) => boolean;
|
|
3
|
-
export declare const shouldAttachBoundaryPortal: ({ enabled, teleport, }: {
|
|
4
|
-
enabled: boolean;
|
|
5
|
-
teleport?: BoundaryTeleportControl;
|
|
6
|
-
}) => boolean;
|
|
7
3
|
//# sourceMappingURL=teleport-control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teleport-control.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/teleport-control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,eAAO,MAAM,iBAAiB,GAC7B,UAAU,uBAAuB,GAAG,SAAS,YAS7C,CAAC
|
|
1
|
+
{"version":3,"file":"teleport-control.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/teleport-control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,eAAO,MAAM,iBAAiB,GAC7B,UAAU,uBAAuB,GAAG,SAAS,YAS7C,CAAC"}
|