react-native-screen-transitions 3.6.0-alpha.1 → 3.6.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/component-stack/components/component-screen.js +1 -7
- package/lib/commonjs/component-stack/components/component-screen.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +27 -34
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js +4 -4
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +17 -19
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +27 -7
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +23 -51
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +33 -40
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js +3 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js +75 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.js → utils/measured-bounds.js} +15 -2
- package/lib/commonjs/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js +103 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js +52 -0
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js.map +1 -0
- package/lib/commonjs/shared/components/native-screen.js +2 -13
- package/lib/commonjs/shared/components/native-screen.js.map +1 -1
- package/lib/commonjs/shared/constants.js +2 -7
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +35 -0
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -0
- package/lib/commonjs/shared/providers/register-bounds.provider.js +48 -55
- package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +1 -10
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +1 -6
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-lifecycle.js +9 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-release.js +19 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-release.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-reset.js +2 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/pan-reset.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/use-pan-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-activation.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-activation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-lifecycle.js +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pinch/pinch-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/use-pinch-behavior.js +2 -2
- package/lib/commonjs/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/physics.js +18 -2
- package/lib/commonjs/shared/providers/screen/gestures/shared/physics.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js +1 -5
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +1 -4
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +125 -0
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/index.js +6 -12
- package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/clear.js +13 -21
- package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/entries.js +49 -9
- package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +143 -82
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +17 -43
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js +26 -3
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/stores/gesture.store.js +2 -0
- package/lib/commonjs/shared/stores/gesture.store.js.map +1 -1
- package/lib/commonjs/shared/types/gesture.types.js +2 -2
- package/lib/commonjs/shared/types/gesture.types.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +2 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +6 -5
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +21 -8
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js +23 -0
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -0
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +91 -199
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js +15 -2
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js +155 -14
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js +20 -19
- package/lib/commonjs/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/module/component-stack/components/component-screen.js +2 -8
- package/lib/module/component-stack/components/component-screen.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +27 -34
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +4 -4
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +18 -20
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js +28 -8
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +22 -50
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js +33 -40
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/index.js +3 -1
- package/lib/module/shared/components/create-boundary-component/index.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js +70 -0
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.js → utils/measured-bounds.js} +13 -1
- package/lib/module/shared/components/create-boundary-component/utils/measured-bounds.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js +98 -0
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js +47 -0
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js.map +1 -0
- package/lib/module/shared/components/native-screen.js +3 -14
- package/lib/module/shared/components/native-screen.js.map +1 -1
- package/lib/module/shared/constants.js +1 -6
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +30 -0
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -0
- package/lib/module/shared/providers/register-bounds.provider.js +48 -55
- package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +1 -10
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation.js +2 -2
- package/lib/module/shared/providers/screen/gestures/pan/pan-activation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-lifecycle.js +10 -3
- package/lib/module/shared/providers/screen/gestures/pan/pan-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-release.js +20 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-release.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/pan-reset.js +2 -0
- package/lib/module/shared/providers/screen/gestures/pan/pan-reset.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/use-pan-behavior.js +3 -3
- package/lib/module/shared/providers/screen/gestures/pan/use-pan-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-activation.js +3 -3
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-activation.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-lifecycle.js +1 -0
- package/lib/module/shared/providers/screen/gestures/pinch/pinch-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/use-pinch-behavior.js +3 -3
- package/lib/module/shared/providers/screen/gestures/pinch/use-pinch-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/physics.js +15 -0
- package/lib/module/shared/providers/screen/gestures/shared/physics.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/policy.js +3 -3
- package/lib/module/shared/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +1 -4
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +105 -0
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -0
- package/lib/module/shared/stores/bounds/index.js +7 -13
- package/lib/module/shared/stores/bounds/index.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/clear.js +14 -22
- package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/entries.js +49 -9
- package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +139 -80
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +17 -43
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/state.js +25 -2
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/stores/gesture.store.js +2 -0
- package/lib/module/shared/stores/gesture.store.js.map +1 -1
- package/lib/module/shared/types/animation.types.js +0 -4
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/types/gesture.types.js +0 -1
- package/lib/module/shared/types/gesture.types.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +2 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +6 -5
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +21 -8
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js +18 -0
- package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -0
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js +90 -198
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js +14 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js +144 -12
- package/lib/module/shared/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js +20 -19
- package/lib/module/shared/utils/navigation/resolve-scene-neighbors.js.map +1 -1
- package/lib/typescript/component-stack/components/component-screen.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts +1 -0
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts +5 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts +6 -2
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts +5 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts +7 -7
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +11 -7
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts +10 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.d.ts → utils/measured-bounds.d.ts} +3 -2
- package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts +22 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts +16 -0
- package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/native-screen.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts +0 -5
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +1 -1
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +21 -0
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -0
- package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts +0 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-activation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-release.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-reset.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/pan-reset.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/use-pan-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-activation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/pinch-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/use-pinch-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/physics.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/gestures/shared/physics.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts +0 -10
- package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts +2 -0
- package/lib/typescript/shared/providers/screen/gestures/types.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/stores/bounds/helpers/link-pairs.helpers.d.ts +18 -0
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/index.d.ts +6 -12
- package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts +13 -10
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts +26 -5
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +14 -7
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/gesture.store.d.ts +1 -0
- package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +0 -18
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/gesture.types.d.ts +8 -1
- package/lib/typescript/shared/types/gesture.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +1 -1
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts +4 -0
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts.map +1 -0
- package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts +14 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/config.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts +48 -7
- package/lib/typescript/shared/utils/bounds/navigation/reveal/math.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +2 -3
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts +3 -2
- package/lib/typescript/shared/utils/navigation/resolve-scene-neighbors.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/component-stack/components/component-screen.tsx +3 -11
- package/src/shared/components/create-boundary-component/create-boundary-component.tsx +30 -27
- package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +5 -5
- package/src/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts +25 -24
- package/src/shared/components/create-boundary-component/hooks/use-initial-source-measurement.ts +41 -11
- package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +49 -64
- package/src/shared/components/create-boundary-component/hooks/use-refresh-boundary.ts +44 -83
- package/src/shared/components/create-boundary-component/index.tsx +3 -1
- package/src/shared/components/create-boundary-component/types.ts +13 -11
- package/src/shared/components/create-boundary-component/utils/destination-signals.ts +129 -0
- package/src/shared/components/create-boundary-component/{hooks/helpers/scroll-measurement.ts → utils/measured-bounds.ts} +25 -1
- package/src/shared/components/create-boundary-component/utils/refresh-signals.ts +164 -0
- package/src/shared/components/create-boundary-component/utils/source-signals.ts +72 -0
- package/src/shared/components/native-screen.tsx +3 -12
- package/src/shared/constants.ts +1 -6
- package/src/shared/index.ts +0 -3
- package/src/shared/providers/helpers/measured-bounds-writes.ts +67 -0
- package/src/shared/providers/register-bounds.provider.tsx +68 -91
- package/src/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts +0 -14
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts +1 -2
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +1 -4
- package/src/shared/providers/screen/gestures/pan/pan-activation.ts +4 -1
- package/src/shared/providers/screen/gestures/pan/pan-lifecycle.ts +18 -2
- package/src/shared/providers/screen/gestures/pan/pan-release.ts +33 -0
- package/src/shared/providers/screen/gestures/pan/pan-reset.ts +3 -0
- package/src/shared/providers/screen/gestures/pan/use-pan-behavior.ts +9 -6
- package/src/shared/providers/screen/gestures/pinch/pinch-activation.ts +5 -2
- package/src/shared/providers/screen/gestures/pinch/pinch-lifecycle.ts +1 -0
- package/src/shared/providers/screen/gestures/pinch/use-pinch-behavior.ts +9 -6
- package/src/shared/providers/screen/gestures/shared/physics.ts +25 -0
- package/src/shared/providers/screen/gestures/shared/policy.ts +3 -5
- package/src/shared/providers/screen/gestures/types.ts +2 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +0 -3
- package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +161 -0
- package/src/shared/stores/bounds/index.ts +10 -20
- package/src/shared/stores/bounds/internals/clear.ts +17 -41
- package/src/shared/stores/bounds/internals/entries.ts +56 -13
- package/src/shared/stores/bounds/internals/links.ts +222 -113
- package/src/shared/stores/bounds/internals/resolver.ts +23 -87
- package/src/shared/stores/bounds/internals/state.ts +27 -5
- package/src/shared/stores/bounds/types.ts +17 -7
- package/src/shared/stores/gesture.store.ts +3 -0
- package/src/shared/types/animation.types.ts +0 -23
- package/src/shared/types/gesture.types.ts +8 -2
- package/src/shared/types/index.ts +0 -4
- package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +1 -0
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +6 -6
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +20 -11
- package/src/shared/utils/bounds/helpers/resolve-bounds-pair-key.ts +22 -0
- package/src/shared/utils/bounds/navigation/reveal/build.ts +153 -297
- package/src/shared/utils/bounds/navigation/reveal/config.ts +20 -1
- package/src/shared/utils/bounds/navigation/reveal/math.ts +234 -18
- package/src/shared/utils/bounds/types/options.ts +2 -3
- package/src/shared/utils/navigation/resolve-scene-neighbors.ts +36 -23
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js +0 -43
- package/lib/commonjs/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +0 -17
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +0 -28
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +0 -75
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js +0 -20
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js +0 -16
- package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +0 -1
- package/lib/commonjs/shared/providers/layout-anchor.provider.js +0 -86
- package/lib/commonjs/shared/providers/layout-anchor.provider.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js +0 -49
- package/lib/commonjs/shared/stores/bounds/helpers/entries.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js +0 -25
- package/lib/commonjs/shared/stores/bounds/helpers/find-latest.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js +0 -30
- package/lib/commonjs/shared/stores/bounds/helpers/groups.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js +0 -79
- package/lib/commonjs/shared/stores/bounds/helpers/link.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/matching.js +0 -13
- package/lib/commonjs/shared/stores/bounds/helpers/matching.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js +0 -30
- package/lib/commonjs/shared/stores/bounds/helpers/tag-state.helpers.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/internals/groups.js +0 -102
- package/lib/commonjs/shared/stores/bounds/internals/groups.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js +0 -38
- package/lib/module/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +0 -12
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js +0 -23
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +0 -68
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js +0 -15
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js +0 -12
- package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +0 -1
- package/lib/module/shared/providers/layout-anchor.provider.js +0 -80
- package/lib/module/shared/providers/layout-anchor.provider.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js +0 -42
- package/lib/module/shared/stores/bounds/helpers/entries.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/find-latest.js +0 -19
- package/lib/module/shared/stores/bounds/helpers/find-latest.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js +0 -23
- package/lib/module/shared/stores/bounds/helpers/groups.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js +0 -69
- package/lib/module/shared/stores/bounds/helpers/link.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/matching.js +0 -9
- package/lib/module/shared/stores/bounds/helpers/matching.js.map +0 -1
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js +0 -24
- package/lib/module/shared/stores/bounds/helpers/tag-state.helpers.js.map +0 -1
- package/lib/module/shared/stores/bounds/internals/groups.js +0 -95
- package/lib/module/shared/stores/bounds/internals/groups.js.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.d.ts +0 -15
- package/lib/typescript/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts +0 -2
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts +0 -22
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +0 -29
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts +0 -3
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/scroll-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts +0 -8
- package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts.map +0 -1
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts +0 -39
- package/lib/typescript/shared/providers/layout-anchor.provider.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/entries.helpers.d.ts +0 -5
- package/lib/typescript/shared/stores/bounds/helpers/entries.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts +0 -3
- package/lib/typescript/shared/stores/bounds/helpers/find-latest.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts +0 -10
- package/lib/typescript/shared/stores/bounds/helpers/groups.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts +0 -14
- package/lib/typescript/shared/stores/bounds/helpers/link.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/matching.d.ts +0 -3
- package/lib/typescript/shared/stores/bounds/helpers/matching.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts +0 -5
- package/lib/typescript/shared/stores/bounds/helpers/tag-state.helpers.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts +0 -16
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts.map +0 -1
- package/src/shared/components/create-boundary-component/helpers/apply-measured-bounds-writes.ts +0 -83
- package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +0 -20
- package/src/shared/components/create-boundary-component/hooks/helpers/boundary-link-context.ts +0 -48
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +0 -101
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement.ts +0 -25
- package/src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts +0 -14
- package/src/shared/providers/layout-anchor.provider.tsx +0 -112
- package/src/shared/stores/bounds/helpers/entries.helpers.ts +0 -55
- package/src/shared/stores/bounds/helpers/find-latest.ts +0 -22
- package/src/shared/stores/bounds/helpers/groups.helpers.ts +0 -27
- package/src/shared/stores/bounds/helpers/link.helpers.ts +0 -131
- package/src/shared/stores/bounds/helpers/matching.ts +0 -11
- package/src/shared/stores/bounds/helpers/tag-state.helpers.ts +0 -24
- package/src/shared/stores/bounds/internals/groups.ts +0 -116
package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js
CHANGED
|
@@ -6,60 +6,53 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useRefreshBoundary = void 0;
|
|
7
7
|
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
8
|
var _animation = require("../../../stores/animation.store");
|
|
9
|
-
var
|
|
10
|
-
var
|
|
9
|
+
var _state = require("../../../stores/bounds/internals/state");
|
|
10
|
+
var _refreshSignals = require("../utils/refresh-signals");
|
|
11
11
|
const useRefreshBoundary = ({
|
|
12
12
|
enabled,
|
|
13
|
-
sharedBoundTag,
|
|
14
|
-
id,
|
|
15
|
-
group,
|
|
16
13
|
currentScreenKey,
|
|
14
|
+
preferredSourceScreenKey,
|
|
17
15
|
nextScreenKey,
|
|
18
|
-
|
|
16
|
+
linkId,
|
|
17
|
+
group,
|
|
18
|
+
ancestorScreenKeys,
|
|
19
19
|
measureBoundary
|
|
20
20
|
}) => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
21
|
+
// Source-side boundaries refresh from the next screen's lifecycle pulse.
|
|
22
|
+
// Destination-side boundaries have no next screen, so they refresh from self.
|
|
23
|
+
const refreshScreenKey = nextScreenKey ?? currentScreenKey;
|
|
24
|
+
const refreshWillAnimate = _animation.AnimationStore.getValue(refreshScreenKey, "willAnimate");
|
|
25
|
+
const refreshClosing = _animation.AnimationStore.getValue(refreshScreenKey, "closing");
|
|
26
|
+
const refreshEntering = _animation.AnimationStore.getValue(refreshScreenKey, "entering");
|
|
27
|
+
const refreshAnimating = _animation.AnimationStore.getValue(refreshScreenKey, "progressAnimating");
|
|
28
|
+
const refreshProgress = _animation.AnimationStore.getValue(refreshScreenKey, "progress");
|
|
29
29
|
(0, _reactNativeReanimated.useAnimatedReaction)(() => {
|
|
30
30
|
"worklet";
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
32
|
+
return (0, _refreshSignals.getRefreshBoundarySignal)({
|
|
33
|
+
enabled,
|
|
34
|
+
currentScreenKey,
|
|
35
|
+
preferredSourceScreenKey,
|
|
36
|
+
nextScreenKey,
|
|
37
|
+
linkId,
|
|
38
|
+
group,
|
|
39
|
+
ancestorScreenKeys,
|
|
40
|
+
shouldRefresh: !!refreshWillAnimate.get(),
|
|
41
|
+
closing: !!refreshClosing.get(),
|
|
42
|
+
entering: !!refreshEntering.get(),
|
|
43
|
+
animating: !!refreshAnimating.get(),
|
|
44
|
+
progress: refreshProgress.get(),
|
|
45
|
+
linkState: group || ancestorScreenKeys.length ? _state.pairs.get() : undefined
|
|
46
|
+
});
|
|
47
|
+
}, (refreshSignal, prevRefreshSignal) => {
|
|
45
48
|
"worklet";
|
|
46
49
|
|
|
47
|
-
if (!
|
|
48
|
-
const currentGroupActiveId = group ? (0, _groups.getGroupActiveId)(group) : null;
|
|
49
|
-
if (group && currentGroupActiveId !== String(id)) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
if (hasNextScreen) {
|
|
53
|
-
if (!nextScreenKey || !(0, _links.hasSourceLink)(sharedBoundTag, currentScreenKey) || !(0, _links.hasDestinationLink)(sharedBoundTag, nextScreenKey)) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
measureBoundary({
|
|
57
|
-
intent: "refresh-source"
|
|
58
|
-
});
|
|
50
|
+
if (!refreshSignal || refreshSignal.signal === prevRefreshSignal?.signal) {
|
|
59
51
|
return;
|
|
60
52
|
}
|
|
61
53
|
measureBoundary({
|
|
62
|
-
|
|
54
|
+
type: refreshSignal.type,
|
|
55
|
+
pairKey: refreshSignal.pairKey
|
|
63
56
|
});
|
|
64
57
|
});
|
|
65
58
|
};
|
package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeReanimated","require","_animation","
|
|
1
|
+
{"version":3,"names":["_reactNativeReanimated","require","_animation","_state","_refreshSignals","useRefreshBoundary","enabled","currentScreenKey","preferredSourceScreenKey","nextScreenKey","linkId","group","ancestorScreenKeys","measureBoundary","refreshScreenKey","refreshWillAnimate","AnimationStore","getValue","refreshClosing","refreshEntering","refreshAnimating","refreshProgress","useAnimatedReaction","getRefreshBoundarySignal","shouldRefresh","get","closing","entering","animating","progress","linkState","length","pairs","undefined","refreshSignal","prevRefreshSignal","signal","type","pairKey","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-refresh-boundary.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAA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AC/D,CAAC,CAAC;EACH,CAAC,EACD,CAACC,aAAa,EAAEC,iBAAiB,KAAK;IACrC,SAAS;;IAET,IACC,CAACD,aAAa,IACdA,aAAa,CAACE,MAAM,KAAKD,iBAAiB,EAAEC,MAAM,EACjD;MACD;IACD;IAEAvB,eAAe,CAAC;MACfwB,IAAI,EAAEH,aAAa,CAACG,IAAI;MACxBC,OAAO,EAAEJ,aAAa,CAACI;IACxB,CAAC,CAAC;EACH,CACD,CAAC;AACF,CAAC;AAACC,OAAA,CAAAlC,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -13,7 +13,9 @@ Object.defineProperty(exports, "createBoundaryComponent", {
|
|
|
13
13
|
var _reactNative = require("react-native");
|
|
14
14
|
var _boundaryTarget = require("./components/boundary-target");
|
|
15
15
|
var _createBoundaryComponent = require("./create-boundary-component");
|
|
16
|
-
const BoundaryView = (0, _createBoundaryComponent.createBoundaryComponent)(_reactNative.View
|
|
16
|
+
const BoundaryView = (0, _createBoundaryComponent.createBoundaryComponent)(_reactNative.View, {
|
|
17
|
+
shouldAutoMeasure: true
|
|
18
|
+
});
|
|
17
19
|
const BoundaryTrigger = (0, _createBoundaryComponent.createBoundaryComponent)(_reactNative.Pressable);
|
|
18
20
|
BoundaryView.displayName = "Transition.Boundary.View";
|
|
19
21
|
BoundaryTrigger.displayName = "Transition.Boundary.Trigger";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_boundaryTarget","_createBoundaryComponent","BoundaryView","createBoundaryComponent","View","BoundaryTrigger","Pressable","displayName","BoundaryTarget","Boundary","exports","Trigger","Target"],"sourceRoot":"../../../../../src","sources":["shared/components/create-boundary-component/index.tsx"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AAIA,MAAMG,YAAY,GAAG,IAAAC,gDAAuB,EAACC,iBAAI,CAAC;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_boundaryTarget","_createBoundaryComponent","BoundaryView","createBoundaryComponent","View","shouldAutoMeasure","BoundaryTrigger","Pressable","displayName","BoundaryTarget","Boundary","exports","Trigger","Target"],"sourceRoot":"../../../../../src","sources":["shared/components/create-boundary-component/index.tsx"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AAIA,MAAMG,YAAY,GAAG,IAAAC,gDAAuB,EAACC,iBAAI,EAAE;EAClDC,iBAAiB,EAAE;AACpB,CAAC,CAAC;AACF,MAAMC,eAAe,GAAG,IAAAH,gDAAuB,EAACI,sBAAS,CAAC;AAC1DL,YAAY,CAACM,WAAW,GAAG,0BAA0B;AACrDF,eAAe,CAACE,WAAW,GAAG,6BAA6B;AAC3DC,8BAAc,CAACD,WAAW,GAAG,4BAA4B;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAME,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG;EACvB;AACD;AACA;EACCN,IAAI,EAAEF,YAAY;EAClB;AACD;AACA;EACCU,OAAO,EAAEN,eAAe;EACxB;AACD;AACA;EACCO,MAAM,EAAEJ;AACT,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getInitialDestinationMeasurePairKey = void 0;
|
|
7
|
+
var _linkPairs = require("../../../stores/bounds/helpers/link-pairs.helpers");
|
|
8
|
+
var _links = require("../../../stores/bounds/internals/links");
|
|
9
|
+
const findPendingSourcePairKey = (linkState, linkId) => {
|
|
10
|
+
"worklet";
|
|
11
|
+
|
|
12
|
+
if (!linkState) return null;
|
|
13
|
+
for (const pairKey in linkState) {
|
|
14
|
+
const sourceScreenKey = (0, _linkPairs.getSourceScreenKeyFromPairKey)(pairKey);
|
|
15
|
+
if (pairKey !== (0, _linkPairs.createPendingPairKey)(sourceScreenKey)) {
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
18
|
+
if (linkState[pairKey]?.links?.[linkId]?.source) {
|
|
19
|
+
return pairKey;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return null;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// Passive Boundary.View sources in nested routes can already live in the final
|
|
26
|
+
// ancestor pair, even before the destination side has attached.
|
|
27
|
+
const findAncestorSourcePairKey = (linkState, linkId, destinationScreenKey) => {
|
|
28
|
+
"worklet";
|
|
29
|
+
|
|
30
|
+
if (!linkState || !destinationScreenKey) return null;
|
|
31
|
+
for (const pairKey in linkState) {
|
|
32
|
+
if ((0, _linkPairs.getDestinationScreenKeyFromPairKey)(pairKey) !== destinationScreenKey) {
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
if (linkState[pairKey]?.links?.[linkId]?.source) {
|
|
36
|
+
return pairKey;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
};
|
|
41
|
+
const getInitialDestinationMeasurePairKey = params => {
|
|
42
|
+
"worklet";
|
|
43
|
+
|
|
44
|
+
const {
|
|
45
|
+
enabled,
|
|
46
|
+
currentScreenKey,
|
|
47
|
+
preferredSourceScreenKey,
|
|
48
|
+
ancestorScreenKeys,
|
|
49
|
+
linkId,
|
|
50
|
+
linkState
|
|
51
|
+
} = params;
|
|
52
|
+
if (!enabled) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Initial screens inside nested navigators measure concrete child views, but
|
|
57
|
+
// the transition pair belongs to the nearest animated ancestor route.
|
|
58
|
+
const ancestorPairKey = findAncestorSourcePairKey(linkState, linkId, ancestorScreenKeys?.[0]);
|
|
59
|
+
|
|
60
|
+
// Trigger sources start as pending screen<> links. Boundary.View sources may
|
|
61
|
+
// already be in the ancestor pair, so only scan pending when needed.
|
|
62
|
+
const pendingSourcePairKey = preferredSourceScreenKey ? (0, _linkPairs.createPendingPairKey)(preferredSourceScreenKey) : ancestorPairKey ? null : findPendingSourcePairKey(linkState, linkId);
|
|
63
|
+
const sourceScreenKey = preferredSourceScreenKey ? preferredSourceScreenKey : (0, _linkPairs.getSourceScreenKeyFromPairKey)(ancestorPairKey ?? pendingSourcePairKey ?? "");
|
|
64
|
+
if (!sourceScreenKey) return null;
|
|
65
|
+
|
|
66
|
+
// Non-nested destinations attach to their own route. Nested initial screens
|
|
67
|
+
// attach to the animated ancestor route unless that pair already exists.
|
|
68
|
+
const destinationScreenKey = ancestorPairKey || preferredSourceScreenKey || !ancestorScreenKeys?.[0] ? currentScreenKey : ancestorScreenKeys[0];
|
|
69
|
+
const destinationPairKey = ancestorPairKey ?? (0, _linkPairs.createScreenPairKey)(sourceScreenKey, destinationScreenKey);
|
|
70
|
+
const hasDestinationLink = (0, _links.getDestination)(destinationPairKey, linkId) !== null;
|
|
71
|
+
const hasAttachableSourceLink = (0, _links.getSource)(destinationPairKey, linkId) !== null || !!pendingSourcePairKey && (0, _links.getSource)(pendingSourcePairKey, linkId) !== null;
|
|
72
|
+
return hasAttachableSourceLink && !hasDestinationLink ? destinationPairKey : null;
|
|
73
|
+
};
|
|
74
|
+
exports.getInitialDestinationMeasurePairKey = getInitialDestinationMeasurePairKey;
|
|
75
|
+
//# sourceMappingURL=destination-signals.js.map
|
package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_linkPairs","require","_links","findPendingSourcePairKey","linkState","linkId","pairKey","sourceScreenKey","getSourceScreenKeyFromPairKey","createPendingPairKey","links","source","findAncestorSourcePairKey","destinationScreenKey","getDestinationScreenKeyFromPairKey","getInitialDestinationMeasurePairKey","params","enabled","currentScreenKey","preferredSourceScreenKey","ancestorScreenKeys","ancestorPairKey","pendingSourcePairKey","destinationPairKey","createScreenPairKey","hasDestinationLink","getDestination","hasAttachableSourceLink","getSource","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/destination-signals.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAMA,IAAAC,MAAA,GAAAD,OAAA;AASA,MAAME,wBAAwB,GAAGA,CAChCC,SAAqC,EACrCC,MAAc,KACY;EAC1B,SAAS;;EACT,IAAI,CAACD,SAAS,EAAE,OAAO,IAAI;EAE3B,KAAK,MAAME,OAAO,IAAIF,SAAS,EAAE;IAChC,MAAMG,eAAe,GAAG,IAAAC,wCAA6B,EAACF,OAAO,CAAC;IAE9D,IAAIA,OAAO,KAAK,IAAAG,+BAAoB,EAACF,eAAe,CAAC,EAAE;MACtD;IACD;IAEA,IAAIH,SAAS,CAACE,OAAO,CAAC,EAAEI,KAAK,GAAGL,MAAM,CAAC,EAAEM,MAAM,EAAE;MAChD,OAAOL,OAAO;IACf;EACD;EAEA,OAAO,IAAI;AACZ,CAAC;;AAED;AACA;AACA,MAAMM,yBAAyB,GAAGA,CACjCR,SAAqC,EACrCC,MAAc,EACdQ,oBAAwC,KACd;EAC1B,SAAS;;EACT,IAAI,CAACT,SAAS,IAAI,CAACS,oBAAoB,EAAE,OAAO,IAAI;EAEpD,KAAK,MAAMP,OAAO,IAAIF,SAAS,EAAE;IAChC,IAAI,IAAAU,6CAAkC,EAACR,OAAO,CAAC,KAAKO,oBAAoB,EAAE;MACzE;IACD;IAEA,IAAIT,SAAS,CAACE,OAAO,CAAC,EAAEI,KAAK,GAAGL,MAAM,CAAC,EAAEM,MAAM,EAAE;MAChD,OAAOL,OAAO;IACf;EACD;EAEA,OAAO,IAAI;AACZ,CAAC;AAEM,MAAMS,mCAAmC,GAAIC,MAOnD,IAA2B;EAC3B,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,g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 -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.measureWithOverscrollAwareness = exports.adjustedMeasuredBoundsForOverscrollDeltas = void 0;
|
|
6
|
+
exports.measureWithOverscrollAwareness = exports.isMeasurementInViewport = exports.adjustedMeasuredBoundsForOverscrollDeltas = void 0;
|
|
7
7
|
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
8
|
const SCROLL_MEASUREMENT_EPSILON = 1;
|
|
9
9
|
const getOverscrollDelta = axisState => {
|
|
@@ -34,6 +34,19 @@ const adjustedMeasuredBoundsForOverscrollDeltas = (measured, scrollState) => {
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
exports.adjustedMeasuredBoundsForOverscrollDeltas = adjustedMeasuredBoundsForOverscrollDeltas;
|
|
37
|
+
const isMeasurementInViewport = (measured, viewportWidth, viewportHeight) => {
|
|
38
|
+
"worklet";
|
|
39
|
+
|
|
40
|
+
if (measured.width <= 0 || measured.height <= 0) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
const toleranceX = viewportWidth * 0.15;
|
|
44
|
+
const toleranceY = viewportHeight * 0.15;
|
|
45
|
+
const centerX = measured.pageX + measured.width / 2;
|
|
46
|
+
const centerY = measured.pageY + measured.height / 2;
|
|
47
|
+
return centerX >= -toleranceX && centerX <= viewportWidth + toleranceX && centerY >= -toleranceY && centerY <= viewportHeight + toleranceY;
|
|
48
|
+
};
|
|
49
|
+
exports.isMeasurementInViewport = isMeasurementInViewport;
|
|
37
50
|
const measureWithOverscrollAwareness = (ref, scrollState) => {
|
|
38
51
|
"worklet";
|
|
39
52
|
|
|
@@ -42,4 +55,4 @@ const measureWithOverscrollAwareness = (ref, scrollState) => {
|
|
|
42
55
|
return adjustedMeasuredBoundsForOverscrollDeltas(measured, scrollState);
|
|
43
56
|
};
|
|
44
57
|
exports.measureWithOverscrollAwareness = measureWithOverscrollAwareness;
|
|
45
|
-
//# sourceMappingURL=
|
|
58
|
+
//# sourceMappingURL=measured-bounds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNativeReanimated","require","SCROLL_MEASUREMENT_EPSILON","getOverscrollDelta","axisState","maxOffset","Math","max","contentSize","layoutSize","clampedOffset","min","offset","delta","abs","adjustedMeasuredBoundsForOverscrollDeltas","measured","scrollState","deltaX","horizontal","deltaY","vertical","x","y","pageX","pageY","exports","isMeasurementInViewport","viewportWidth","viewportHeight","width","height","toleranceX","toleranceY","centerX","centerY","measureWithOverscrollAwareness","ref","measure"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/measured-bounds.ts"],"mappings":";;;;;;AACA,IAAAA,sBAAA,GAAAC,OAAA;AAUA,MAAMC,0BAA0B,GAAG,CAAC;AAEpC,MAAMC,kBAAkB,GAAIC,SAAiC,IAAa;EACzE,SAAS;;EACT,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEH,SAAS,CAACI,WAAW,GAAGJ,SAAS,CAACK,UAAU,CAAC;EAC3E,MAAMC,aAAa,GAAGJ,IAAI,CAACK,GAAG,CAACL,IAAI,CAACC,GAAG,CAACH,SAAS,CAACQ,MAAM,EAAE,CAAC,CAAC,EAAEP,SAAS,CAAC;EACxE,MAAMQ,KAAK,GAAGT,SAAS,CAACQ,MAAM,GAAGF,aAAa;EAE9C,OAAOJ,IAAI,CAACQ,GAAG,CAACD,KAAK,CAAC,GAAGX,0BAA0B,GAAGW,KAAK,GAAG,CAAC;AAChE,CAAC;AAEM,MAAME,yCAAyC,GAAGA,CACxDC,QAA4B,EAC5BC,WAAsC,KACd;EACxB,SAAS;;EAET,IAAI,CAACA,WAAW,EAAE;IACjB,OAAOD,QAAQ;EAChB;EAEA,MAAME,MAAM,GAAGf,kBAAkB,CAACc,WAAW,CAACE,UAAU,CAAC;EACzD,MAAMC,MAAM,GAAGjB,kBAAkB,CAACc,WAA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ACrB,QAAQ,EAAE,OAAO,IAAI;EAE1B,OAAOD,yCAAyC,CAACC,QAAQ,EAAEC,WAAW,CAAC;AACxE,CAAC;AAACS,OAAA,CAAAU,8BAAA,GAAAA,8BAAA","ignoreList":[]}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getRefreshBoundarySignal = void 0;
|
|
7
|
+
var _linkPairs = require("../../../stores/bounds/helpers/link-pairs.helpers");
|
|
8
|
+
const SOURCE_SIGNAL_PREFIX = "source|";
|
|
9
|
+
const DESTINATION_SIGNAL_PREFIX = "destination|";
|
|
10
|
+
const findNestedDestinationPairKey = (linkState, linkId, ancestorScreenKeys) => {
|
|
11
|
+
"worklet";
|
|
12
|
+
|
|
13
|
+
const destinationScreenKey = ancestorScreenKeys?.[0];
|
|
14
|
+
if (!linkState || !destinationScreenKey) return null;
|
|
15
|
+
for (const pairKey in linkState) {
|
|
16
|
+
if ((0, _linkPairs.getDestinationScreenKeyFromPairKey)(pairKey) !== destinationScreenKey) {
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
if (linkState[pairKey]?.links?.[linkId]?.destination) {
|
|
20
|
+
return pairKey;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return null;
|
|
24
|
+
};
|
|
25
|
+
const buildRefreshSignal = (type, pairKey, key) => {
|
|
26
|
+
"worklet";
|
|
27
|
+
|
|
28
|
+
const prefix = type === "source" ? SOURCE_SIGNAL_PREFIX : DESTINATION_SIGNAL_PREFIX;
|
|
29
|
+
return {
|
|
30
|
+
type,
|
|
31
|
+
pairKey,
|
|
32
|
+
signal: `${prefix}${pairKey}|${key}`
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const getRefreshBoundarySignal = params => {
|
|
36
|
+
"worklet";
|
|
37
|
+
|
|
38
|
+
const {
|
|
39
|
+
enabled,
|
|
40
|
+
currentScreenKey,
|
|
41
|
+
preferredSourceScreenKey,
|
|
42
|
+
nextScreenKey,
|
|
43
|
+
linkId,
|
|
44
|
+
group,
|
|
45
|
+
ancestorScreenKeys,
|
|
46
|
+
shouldRefresh,
|
|
47
|
+
closing,
|
|
48
|
+
entering,
|
|
49
|
+
animating,
|
|
50
|
+
progress,
|
|
51
|
+
linkState
|
|
52
|
+
} = params;
|
|
53
|
+
if (!enabled) return null;
|
|
54
|
+
const canRefreshPreCloseDestination = shouldRefresh && closing && !entering && !animating && progress >= 1;
|
|
55
|
+
const canRefreshSettledDestination = shouldRefresh && !closing && !entering;
|
|
56
|
+
if (!canRefreshPreCloseDestination && !canRefreshSettledDestination) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Non-group refresh only rewrites destination bounds. Source refresh is a
|
|
61
|
+
// grouped-only fallback for active ids that do not have source bounds yet.
|
|
62
|
+
if (!group) {
|
|
63
|
+
if (nextScreenKey) {
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Nested initial screens have no previous screen in their own navigator,
|
|
68
|
+
// so recover the pair by looking for a destination on the ancestor route.
|
|
69
|
+
const pairKey = preferredSourceScreenKey ? (0, _linkPairs.createScreenPairKey)(preferredSourceScreenKey, currentScreenKey) : findNestedDestinationPairKey(linkState, linkId, ancestorScreenKeys);
|
|
70
|
+
if (!pairKey) return null;
|
|
71
|
+
return buildRefreshSignal("destination", pairKey, [currentScreenKey, closing ? "closing" : "settled"].join("|"));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Source-side grouped refresh: a new active id may not have source bounds yet,
|
|
75
|
+
// so the next screen's lifecycle pulse gives that source one chance to capture.
|
|
76
|
+
if (nextScreenKey) {
|
|
77
|
+
const pairKey = (0, _linkPairs.createScreenPairKey)(currentScreenKey, nextScreenKey);
|
|
78
|
+
const pendingPairKey = (0, _linkPairs.createPendingPairKey)(currentScreenKey);
|
|
79
|
+
const activeId = linkState?.[pairKey]?.groups?.[group]?.activeId;
|
|
80
|
+
const hasSource = !!linkState?.[pairKey]?.links?.[linkId]?.source || !!linkState?.[pendingPairKey]?.links?.[linkId]?.source;
|
|
81
|
+
if (activeId !== linkId || hasSource) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
return buildRefreshSignal("source", pairKey, [group, linkId, closing ? "closing" : "settled"].join("|"));
|
|
85
|
+
}
|
|
86
|
+
if (!preferredSourceScreenKey) return null;
|
|
87
|
+
|
|
88
|
+
// Destination-side grouped refresh: only the active member rewrites the
|
|
89
|
+
// destination side, keeping inactive grouped members from stealing the link.
|
|
90
|
+
const pairKey = (0, _linkPairs.createScreenPairKey)(preferredSourceScreenKey, currentScreenKey);
|
|
91
|
+
const activeId = linkState?.[pairKey]?.groups?.[group]?.activeId;
|
|
92
|
+
const hasSource = !!linkState?.[pairKey]?.links?.[linkId]?.source;
|
|
93
|
+
const hasDestination = !!linkState?.[pairKey]?.links?.[linkId]?.destination;
|
|
94
|
+
|
|
95
|
+
// Destination retargeting should only measure a concrete member that already
|
|
96
|
+
// participates in the pair. Missing members fall back to initialId at resolve.
|
|
97
|
+
if (activeId !== linkId || !hasSource && !hasDestination) {
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
return buildRefreshSignal("destination", pairKey, [group, linkId, closing ? "closing" : "settled"].join("|"));
|
|
101
|
+
};
|
|
102
|
+
exports.getRefreshBoundarySignal = getRefreshBoundarySignal;
|
|
103
|
+
//# sourceMappingURL=refresh-signals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_linkPairs","require","SOURCE_SIGNAL_PREFIX","DESTINATION_SIGNAL_PREFIX","findNestedDestinationPairKey","linkState","linkId","ancestorScreenKeys","destinationScreenKey","pairKey","getDestinationScreenKeyFromPairKey","links","destination","buildRefreshSignal","type","key","prefix","signal","getRefreshBoundarySignal","params","enabled","currentScreenKey","preferredSourceScreenKey","nextScreenKey","group","shouldRefresh","closing","entering","animating","progress","canRefreshPreCloseDestination","canRefreshSettledDestination","createScreenPairKey","join","pendingPairKey","createPendingPairKey","activeId","groups","hasSource","source","hasDestination","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/refresh-signals.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAWA,MAAMC,oBAAoB,GAAG,SAAS;AACtC,MAAMC,yBAAyB,GAAG,cAAc;AAMhD,MAAMC,4BAA4B,GAAGA,CACpCC,SAAqC,EACrCC,MAAc,EACdC,kBAAiD,KACvB;EAC1B,SAAS;;EACT,MAAMC,oBAAoB,GAAGD,kBAAkB,GAAG,CAAC,CAAC;EACpD,IAAI,CAACF,SAAS,IAAI,CAACG,oBAAoB,EAAE,OAAO,IAAI;EAEpD,KAAK,MAAMC,OAAO,IAAIJ,SAAS,EAAE;IAChC,IAAI,IAAAK,6CAAkC,EAACD,OAAO,CAAC,KAAKD,oBAAoB,EAAE;MACzE;IACD;IAEA,IAAIH,SAAS,CAACI,OAAO,CAAC,EAAEE,KAAK,GAAGL,MAAM,CAAC,EAAEM,WAAW,EAAE;MACrD,OAAOH,OAAO;IACf;EACD;EAEA,OAAO,IAAI;AACZ,CAAC;AAED,MAAMI,kBAAkB,GAAGA,CAC1BC,IAA2B,EAC3BL,OAAsB,EACtBM,GAAW,KACgB;EAC3B,SAAS;;EACT,MAAMC,MAAM,GACXF,IAAI,KAAK,QAAQ,GAAGZ,oBAAoB,GAAGC,yBAAyB;EACrE,OAAO;IACNW,IAAI;IACJL,OAAO;IACPQ,MAAM,EAAE,GAAGD,MAAM,GAAGP,OAAO,IAAIM,GAAG;EACnC,CAAC;AACF,CAAC;AAEM,MAAMG,wBAAwB,GAAIC,MAcxC,IAAmC;EACnC,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,gBAAgB;IAChBC,wBAAwB;IACxBC,aAAa;IACbjB,MAAM;IACNkB,KAAK;IACLjB,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exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getInitialSourceCaptureSignal = void 0;
|
|
7
|
+
var _linkPairs = require("../../../stores/bounds/helpers/link-pairs.helpers");
|
|
8
|
+
const SOURCE_SIGNAL_PREFIX = "source|";
|
|
9
|
+
const buildSourceSignal = (pairKey, key) => {
|
|
10
|
+
"worklet";
|
|
11
|
+
|
|
12
|
+
return {
|
|
13
|
+
pairKey,
|
|
14
|
+
signal: `${SOURCE_SIGNAL_PREFIX}${pairKey}|${key}`
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
const getInitialSourceCaptureSignal = params => {
|
|
18
|
+
"worklet";
|
|
19
|
+
|
|
20
|
+
const {
|
|
21
|
+
enabled,
|
|
22
|
+
nextScreenKey,
|
|
23
|
+
currentScreenKey,
|
|
24
|
+
linkId,
|
|
25
|
+
group,
|
|
26
|
+
shouldAutoMeasure,
|
|
27
|
+
linkState
|
|
28
|
+
} = params;
|
|
29
|
+
if (!enabled || !nextScreenKey || !currentScreenKey) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Trigger components capture on press. This passive path is for Boundary.View
|
|
34
|
+
// slots that need a source before navigation starts.
|
|
35
|
+
if (!shouldAutoMeasure) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
const pairKey = (0, _linkPairs.createScreenPairKey)(currentScreenKey, nextScreenKey);
|
|
39
|
+
if (group) {
|
|
40
|
+
const activeId = linkState?.[pairKey]?.groups?.[group]?.activeId;
|
|
41
|
+
|
|
42
|
+
// Passive grouped sources should not measure every mounted item. Once a
|
|
43
|
+
// group has an active id, only that concrete member can auto-capture.
|
|
44
|
+
if (activeId && activeId !== linkId) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const signalParts = group ? [currentScreenKey, nextScreenKey, group, linkId] : [currentScreenKey, nextScreenKey, linkId];
|
|
49
|
+
return buildSourceSignal(pairKey, signalParts.join("|"));
|
|
50
|
+
};
|
|
51
|
+
exports.getInitialSourceCaptureSignal = getInitialSourceCaptureSignal;
|
|
52
|
+
//# sourceMappingURL=source-signals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_linkPairs","require","SOURCE_SIGNAL_PREFIX","buildSourceSignal","pairKey","key","signal","getInitialSourceCaptureSignal","params","enabled","nextScreenKey","currentScreenKey","linkId","group","shouldAutoMeasure","linkState","createScreenPairKey","activeId","groups","signalParts","join","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/source-signals.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAMA,MAAMC,oBAAoB,GAAG,SAAS;AAOtC,MAAMC,iBAAiB,GAAGA,CACzBC,OAAsB,EACtBC,GAAW,KACc;EACzB,SAAS;;EACT,OAAO;IACND,OAAO;IACPE,MAAM,EAAE,GAAGJ,oBAAoB,GAAGE,OAAO,IAAIC,GAAG;EACjD,CAAC;AACF,CAAC;AAEM,MAAME,6BAA6B,GAAIC,MAQ7C,IAAiC;EACjC,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,aAAa;IACbC,gBAAgB;IAChBC,MAAM;IACNC,KAAK;IACLC,iBAAiB;IACjBC;EACD,CAAC,GAAGP,MAAM;EAEV,IAAI,CAACC,OAAO,IAAI,CAACC,aAAa,IAAI,CAACC,gBAAgB,EAAE;IACpD,OAAO,IAAI;EACZ;;EAEA;EACA;EACA,IAAI,CAACG,iBAAiB,EAAE;IACvB,OAAO,IAAI;EACZ;EAEA,MAAMV,OAAO,GAAG,IAAAY,8BAAmB,EAACL,gBAAgB,EAAED,aAAa,CAAC;EAEpE,IAAIG,KAAK,EAAE;IACV,MAAMI,QAAQ,GAAGF,SAAS,GAAGX,OAAO,CAAC,EAAEc,MAAM,GAAGL,KAAK,CAAC,EAAEI,QAAQ;;IAEhE;IACA;IACA,IAAIA,QAAQ,IAAIA,QAAQ,KAAKL,MAAM,EAAE;MACpC,OAAO,IAAI;IACZ;EACD;EAEA,MAAMO,WAAW,GAAGN,KAAK,GACtB,CAACF,gBAAgB,EAAED,aAAa,EAAEG,KAAK,EAAED,MAAM,CAAC,GAChD,CAACD,gBAAgB,EAAED,aAAa,EAAEE,MAAM,CAAC;EAE5C,OAAOT,iBAAiB,CAACC,OAAO,EAAEe,WAAW,CAACC,IAAI,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC;AAACC,OAAA,CAAAd,6BAAA,GAAAA,6BAAA","ignoreList":[]}
|
|
@@ -9,7 +9,6 @@ var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reani
|
|
|
9
9
|
var _reactNativeScreens = require("react-native-screens");
|
|
10
10
|
var _constants = require("../constants");
|
|
11
11
|
var _useStack = require("../hooks/navigation/use-stack");
|
|
12
|
-
var _layoutAnchor = require("../providers/layout-anchor.provider");
|
|
13
12
|
var _managed = require("../providers/stack/managed.provider");
|
|
14
13
|
var _animation = require("../stores/animation.store");
|
|
15
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -46,7 +45,6 @@ const NativeScreen = ({
|
|
|
46
45
|
const routesLength = routes.length;
|
|
47
46
|
const topIndex = routesLength - 1;
|
|
48
47
|
const topRouteKey = routes[topIndex]?.key ?? routeKey;
|
|
49
|
-
const screenRef = (0, _reactNativeReanimated.useAnimatedRef)();
|
|
50
48
|
const sceneClosing = _animation.AnimationStore.getValue(routeKey, "closing");
|
|
51
49
|
const topSceneProgress = _animation.AnimationStore.getValue(topRouteKey, "progress");
|
|
52
50
|
const topSceneClosing = _animation.AnimationStore.getValue(topRouteKey, "closing");
|
|
@@ -107,29 +105,20 @@ const NativeScreen = ({
|
|
|
107
105
|
});
|
|
108
106
|
if (DISABLE_NATIVE_SCREENS) {
|
|
109
107
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
|
|
110
|
-
ref: screenRef
|
|
111
108
|
// Keep a native boundary per screen when falling back to plain views.
|
|
112
109
|
// Android release builds can otherwise flatten sibling screens together.
|
|
113
|
-
,
|
|
114
110
|
collapsable: false,
|
|
115
111
|
style: _reactNative.StyleSheet.absoluteFill,
|
|
116
112
|
animatedProps: animatedProps,
|
|
117
|
-
children:
|
|
118
|
-
anchorRef: screenRef,
|
|
119
|
-
children: children
|
|
120
|
-
})
|
|
113
|
+
children: children
|
|
121
114
|
});
|
|
122
115
|
}
|
|
123
116
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedNativeScreen, {
|
|
124
117
|
enabled: true,
|
|
125
|
-
ref: screenRef,
|
|
126
118
|
style: _reactNative.StyleSheet.absoluteFill,
|
|
127
119
|
freezeOnBlur: freezeOnBlur,
|
|
128
120
|
animatedProps: animatedProps,
|
|
129
|
-
children:
|
|
130
|
-
anchorRef: screenRef,
|
|
131
|
-
children: children
|
|
132
|
-
})
|
|
121
|
+
children: children
|
|
133
122
|
});
|
|
134
123
|
};
|
|
135
124
|
exports.NativeScreen = NativeScreen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_reactNativeReanimated","_interopRequireWildcard","_reactNativeScreens","_constants","_useStack","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_reactNativeReanimated","_interopRequireWildcard","_reactNativeScreens","_constants","_useStack","_managed","_animation","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","PASSTHROUGH","ScreenActivity","POINT_NONE","POINT_BOX_NONE","AnimatedNativeScreen","Animated","createAnimatedComponent","RNSScreen","NativeScreen","routeKey","index","isPreloaded","children","freezeOnBlur","shouldFreeze","flags","DISABLE_NATIVE_SCREENS","routes","optimisticFocusedIndex","useStack","activeScreensLimit","backdropBehaviors","useManagedStackContext","routesLength","length","topIndex","topRouteKey","key","sceneClosing","AnimationStore","getValue","topSceneProgress","topSceneClosing","screenActivity","useSharedValue","TRANSITIONING_OR_BELOW_TOP","useDerivedValue","INACTIVE","focusedIndex","topIsClosing","postCloseActiveStart","Math","max","next","ON_TOP","outputValue","v","interpolate","EPSILON","Extrapolation","CLAMP","trunc","animatedProps","useAnimatedProps","activity","isClosing","activeIndex","isActive","activeBackdrop","activeAllowsPassthrough","isAllowedPassthroughBelow","pointerEvents","activityState","jsx","View","collapsable","style","StyleSheet","absoluteFill","enabled","exports"],"sourceRoot":"../../../../src","sources":["shared/components/native-screen.tsx"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAC,uBAAA,CAAAF,OAAA;AAOA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAA2D,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAE,wBAAAO,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAT,uBAAA,YAAAA,CAAAO,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM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AAQ;QACvBxC,YAAY,EAAEwC,QAAQ,KAAKrD,cAAc,CAACoC,QAAQ,IAAIvB,YAAY;QAClE+C;MACD,CAAC;IACF;IAEA,OAAO;MACNA;IACD,CAAC;EACF,CAAC,CAAC;EAEF,IAAI7C,sBAAsB,EAAE;IAC3B,oBACC,IAAApC,WAAA,CAAAmF,GAAA,EAAC1F,sBAAA,CAAAkB,OAAQ,CAACyE,IAAI;MACb;MACA;MACAC,WAAW,EAAE,KAAM;MACnBC,KAAK,EAAEC,uBAAU,CAACC,YAAa;MAC/BhB,aAAa,EAAEA,aAAc;MAAAxC,QAAA,EAE5BA;IAAQ,CACK,CAAC;EAElB;EAEA,oBACC,IAAAhC,WAAA,CAAAmF,GAAA,EAAC3D,oBAAoB;IACpBiE,OAAO;IACPH,KAAK,EAAEC,uBAAU,CAACC,YAAa;IAC/BvD,YAAY,EAAEA,YAAa;IAC3BuC,aAAa,EAAEA,aAAc;IAAAxC,QAAA,EAE5BA;EAAQ,CACY,CAAC;AAEzB,CAAC;AAAC0D,OAAA,CAAA9D,YAAA,GAAAA,YAAA","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.createScreenTransitionState = exports.VISIBLE_STYLE = exports.TRUE = exports.TRANSFORM_RESET = exports.NO_STYLES = exports.NO_PROPS = exports.NAVIGATION_MASK_ELEMENT_STYLE_ID = exports.NAVIGATION_MASK_CONTAINER_STYLE_ID = exports.MASK_STYLE_ID = exports.LOGICAL_SETTLE_REQUIRED_FRAMES = exports.LOGICAL_SETTLE_PROGRESS_THRESHOLD = exports.IS_WEB = exports.FULLSCREEN_DIMENSIONS = exports.FALSE = exports.EXIT_RANGE = exports.EPSILON = exports.ENTER_RANGE = exports.DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR = exports.DEFAULT_SCREEN_TRANSITION_STATE = exports.DEFAULT_SCREEN_TRANSITION_OPTIONS = exports.DEFAULT_GESTURE_VELOCITY_IMPACT = exports.DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT = exports.DEFAULT_GESTURE_SNAP_LOCKED = exports.DEFAULT_GESTURE_SENSITIVITY = exports.DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE = exports.DEFAULT_GESTURE_PROGRESS_MODE = exports.DEFAULT_GESTURE_DIRECTION = exports.DEFAULT_GESTURE_ACTIVATION_AREA = exports.CONTAINER_STYLE_ID =
|
|
6
|
+
exports.createScreenTransitionState = exports.VISIBLE_STYLE = exports.TRUE = exports.TRANSFORM_RESET = exports.NO_STYLES = exports.NO_PROPS = exports.NAVIGATION_MASK_ELEMENT_STYLE_ID = exports.NAVIGATION_MASK_CONTAINER_STYLE_ID = exports.MASK_STYLE_ID = exports.LOGICAL_SETTLE_REQUIRED_FRAMES = exports.LOGICAL_SETTLE_PROGRESS_THRESHOLD = exports.IS_WEB = exports.FULLSCREEN_DIMENSIONS = exports.FALSE = exports.EXIT_RANGE = exports.EPSILON = exports.ENTER_RANGE = exports.DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR = exports.DEFAULT_SCREEN_TRANSITION_STATE = exports.DEFAULT_SCREEN_TRANSITION_OPTIONS = exports.DEFAULT_GESTURE_VELOCITY_IMPACT = exports.DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT = exports.DEFAULT_GESTURE_SNAP_LOCKED = exports.DEFAULT_GESTURE_SENSITIVITY = exports.DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE = exports.DEFAULT_GESTURE_PROGRESS_MODE = exports.DEFAULT_GESTURE_DIRECTION = exports.DEFAULT_GESTURE_ACTIVATION_AREA = exports.CONTAINER_STYLE_ID = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
/**
|
|
9
9
|
* Masked view integration
|
|
@@ -40,6 +40,7 @@ const DEFAULT_RAW_GESTURE_VALUES = {
|
|
|
40
40
|
};
|
|
41
41
|
const DEFAULT_GESTURE_VALUES = {
|
|
42
42
|
...DEFAULT_RAW_GESTURE_VALUES,
|
|
43
|
+
velocity: 0,
|
|
43
44
|
focalX: 0,
|
|
44
45
|
focalY: 0,
|
|
45
46
|
raw: DEFAULT_RAW_GESTURE_VALUES,
|
|
@@ -163,12 +164,6 @@ const FALSE = exports.FALSE = 0;
|
|
|
163
164
|
*/
|
|
164
165
|
const EPSILON = exports.EPSILON = 1e-5;
|
|
165
166
|
|
|
166
|
-
/**
|
|
167
|
-
* Threshold for snapping animations to target when "close enough" (1% of range).
|
|
168
|
-
* Prevents micro-jitter/oscillation near animation endpoints.
|
|
169
|
-
*/
|
|
170
|
-
const ANIMATION_SNAP_THRESHOLD = exports.ANIMATION_SNAP_THRESHOLD = 0.01;
|
|
171
|
-
|
|
172
167
|
/**
|
|
173
168
|
* Number of consecutive frames progress must remain near its target before it
|
|
174
169
|
* is treated as logically settled.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","MASK_STYLE_ID","exports","CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","NAVIGATION_MASK_CONTAINER_STYLE_ID","NO_STYLES","Object","freeze","VISIBLE_STYLE","opacity","NO_PROPS","DEFAULT_RAW_GESTURE_VALUES","x","y","normX","normY","scale","normScale","DEFAULT_GESTURE_VALUES","focalX","focalY","raw","dismissing","dragging","settling","active","direction","normalizedX","normalizedY","isDismissing","isDragging","createDefaultGestureValues","DEFAULT_SCREEN_TRANSITION_OPTIONS","createScreenTransitionState","route","meta","navigationMaskEnabled","options","progress","closing","animating","willAnimate","settled","logicallySettled","entering","gesture","layouts","screen","width","height","animatedSnapIndex","snapIndex","DEFAULT_SCREEN_TRANSITION_STATE","TRANSFORM_RESET","transform","translateX","translateY","scaleX","scaleY","ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","dimensions","pageX","pageY","DEFAULT_GESTURE_VELOCITY_IMPACT","DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT","DEFAULT_GESTURE_SENSITIVITY","DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE","DEFAULT_GESTURE_DIRECTION","DEFAULT_GESTURE_PROGRESS_MODE","DEFAULT_GESTURE_SNAP_LOCKED","DEFAULT_GESTURE_ACTIVATION_AREA","DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR","IS_WEB","Platform","OS","TRUE","FALSE","EPSILON","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","MASK_STYLE_ID","exports","CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","NAVIGATION_MASK_CONTAINER_STYLE_ID","NO_STYLES","Object","freeze","VISIBLE_STYLE","opacity","NO_PROPS","DEFAULT_RAW_GESTURE_VALUES","x","y","normX","normY","scale","normScale","DEFAULT_GESTURE_VALUES","velocity","focalX","focalY","raw","dismissing","dragging","settling","active","direction","normalizedX","normalizedY","isDismissing","isDragging","createDefaultGestureValues","DEFAULT_SCREEN_TRANSITION_OPTIONS","createScreenTransitionState","route","meta","navigationMaskEnabled","options","progress","closing","animating","willAnimate","settled","logicallySettled","entering","gesture","layouts","screen","width","height","animatedSnapIndex","snapIndex","DEFAULT_SCREEN_TRANSITION_STATE","TRANSFORM_RESET","transform","translateX","translateY","scaleX","scaleY","ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","dimensions","pageX","pageY","DEFAULT_GESTURE_VELOCITY_IMPACT","DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT","DEFAULT_GESTURE_SENSITIVITY","DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE","DEFAULT_GESTURE_DIRECTION","DEFAULT_GESTURE_PROGRESS_MODE","DEFAULT_GESTURE_SNAP_LOCKED","DEFAULT_GESTURE_ACTIVATION_AREA","DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR","IS_WEB","Platform","OS","TRUE","FALSE","EPSILON","LOGICAL_SETTLE_REQUIRED_FRAMES","LOGICAL_SETTLE_PROGR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