react-native-screen-transitions 3.11.1 → 3.11.3
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/native-stack/views/NativeStackView.native.js +1 -1
- package/lib/commonjs/native-stack/views/NativeStackView.native.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/components/boundary-lifecycle.js +36 -0
- package/lib/commonjs/shared/components/boundary/components/boundary-lifecycle.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +1 -13
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +9 -2
- 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 +3 -2
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +9 -2
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/host.js +5 -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 +25 -43
- 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/local-measurement.js +13 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +8 -31
- 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-active-portal-boundary-host.js +14 -19
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +8 -0
- 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/hooks/use-host-measurement.js +19 -47
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
- 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/portal-boundary-host.store.js +1 -1
- 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/providers/boundary-root.provider.js +19 -17
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +19 -5
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +11 -7
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.js +31 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-completion.js +26 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-completion.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +60 -86
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +1 -5
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/index.js +9 -6
- package/lib/commonjs/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/commonjs/shared/hooks/navigation/use-navigation-helpers.js +28 -6
- package/lib/commonjs/shared/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +1 -2
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +9 -2
- package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +4 -5
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +2 -3
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +4 -5
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -3
- package/lib/commonjs/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js +9 -5
- package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/create-interpolator-scope.js +40 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/create-interpolator-scope.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +5 -10
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/providers/stack/blank-stack-state/blank-stack-controller.js +5 -1
- package/lib/commonjs/shared/providers/stack/blank-stack-state/blank-stack-controller.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/system.store.js +1 -2
- package/lib/commonjs/shared/stores/system.store.js.map +1 -1
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js +0 -22
- package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/shared/utils/navigation/close-action-replay.js +22 -0
- package/lib/commonjs/shared/utils/navigation/close-action-replay.js.map +1 -0
- package/lib/module/native-stack/views/NativeStackView.native.js +1 -1
- package/lib/module/native-stack/views/NativeStackView.native.js.map +1 -1
- package/lib/module/shared/components/boundary/components/boundary-lifecycle.js +32 -0
- package/lib/module/shared/components/boundary/components/boundary-lifecycle.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +1 -13
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +9 -2
- 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 +3 -2
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-measurer.js +9 -2
- package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/host.js +5 -12
- 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 +27 -45
- 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/local-measurement.js +8 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +8 -32
- 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-active-portal-boundary-host.js +15 -20
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +8 -0
- 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/hooks/use-host-measurement.js +20 -48
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
- 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/portal-boundary-host.store.js +1 -1
- 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/providers/boundary-root.provider.js +20 -18
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/refresh-signals.js +19 -5
- package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +12 -8
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.js +25 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-completion.js +21 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-completion.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +60 -85
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +1 -5
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/index.js +9 -6
- package/lib/module/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/module/shared/hooks/navigation/use-navigation-helpers.js +29 -7
- package/lib/module/shared/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +1 -2
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +9 -2
- package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +4 -5
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +2 -3
- package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +4 -5
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -3
- package/lib/module/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/shared/policy.js +9 -5
- package/lib/module/shared/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/create-interpolator-scope.js +35 -0
- package/lib/module/shared/providers/screen/styles/helpers/create-interpolator-scope.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +5 -10
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/providers/stack/blank-stack-state/blank-stack-controller.js +5 -1
- package/lib/module/shared/providers/stack/blank-stack-state/blank-stack-controller.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/system.store.js +1 -2
- package/lib/module/shared/stores/system.store.js.map +1 -1
- package/lib/module/shared/utils/animation/animate-to-progress.js +0 -22
- package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/shared/utils/navigation/close-action-replay.js +16 -0
- package/lib/module/shared/utils/navigation/close-action-replay.js.map +1 -0
- package/lib/typescript/native-stack/views/NativeStackView.native.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/components/boundary-lifecycle.d.ts +18 -0
- package/lib/typescript/shared/components/boundary/components/boundary-lifecycle.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts +1 -2
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.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 -2
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts +3 -2
- package/lib/typescript/shared/components/boundary/hooks/use-measurer.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 +5 -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/local-measurement.d.ts +4 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts +4 -17
- 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-active-portal-boundary-host.d.ts +3 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -1
- 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/hooks/use-host-measurement.d.ts +5 -9
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +2 -1
- 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/providers/boundary-root.provider.d.ts +2 -1
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/types.d.ts +6 -0
- package/lib/typescript/shared/components/boundary/types.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/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.d.ts +27 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-completion.d.ts +7 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-completion.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts +2 -7
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts +1 -3
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/index.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/navigation/use-navigation-helpers.d.ts +1 -0
- package/lib/typescript/shared/hooks/navigation/use-navigation-helpers.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts +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/pan/behavior/use-pan-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts +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/use-pinch-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts +2 -1
- 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/helpers/create-interpolator-scope.d.ts +9 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/create-interpolator-scope.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/shared/providers/stack/blank-stack-state/blank-stack-controller.d.ts.map +1 -1
- package/lib/typescript/shared/stores/system.store.d.ts +1 -2
- package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts +2 -3
- package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/shared/utils/navigation/close-action-replay.d.ts +4 -0
- package/lib/typescript/shared/utils/navigation/close-action-replay.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/native-stack/views/NativeStackView.native.tsx +3 -1
- package/src/shared/components/boundary/components/boundary-lifecycle.tsx +53 -0
- package/src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +0 -14
- package/src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +13 -2
- package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +7 -2
- package/src/shared/components/boundary/hooks/use-measurer.ts +11 -1
- package/src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx +13 -11
- package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +44 -55
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts +10 -0
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts +11 -55
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +20 -24
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +11 -0
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts +20 -67
- package/src/shared/components/boundary/portal/components/boundary-portal/index.tsx +1 -0
- package/src/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +3 -2
- package/src/shared/components/boundary/providers/boundary-root.provider.tsx +29 -20
- package/src/shared/components/boundary/types.ts +9 -0
- package/src/shared/components/boundary/utils/refresh-signals.ts +39 -6
- package/src/shared/components/screen-container/layers/backdrop.tsx +11 -7
- package/src/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.ts +64 -0
- package/src/shared/components/screen-lifecycle/hooks/use-close-completion.ts +28 -0
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +67 -108
- package/src/shared/components/screen-lifecycle/hooks/use-transition-start-controller.ts +0 -12
- package/src/shared/components/screen-lifecycle/index.tsx +8 -4
- package/src/shared/hooks/navigation/use-navigation-helpers.ts +39 -7
- package/src/shared/providers/helpers/measured-bounds-writes.ts +1 -1
- package/src/shared/providers/screen/gestures/hooks/use-screen-gesture-config.ts +9 -1
- package/src/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.ts +4 -6
- package/src/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.ts +1 -3
- package/src/shared/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts +4 -6
- package/src/shared/providers/screen/gestures/pinch/behavior/use-pinch-behavior.ts +2 -8
- package/src/shared/providers/screen/gestures/shared/policy.ts +17 -6
- package/src/shared/providers/screen/gestures/types.ts +2 -0
- package/src/shared/providers/screen/styles/helpers/create-interpolator-scope.ts +45 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +8 -12
- package/src/shared/providers/stack/blank-stack-state/blank-stack-controller.ts +5 -1
- package/src/shared/stores/bounds/internals/links.ts +1 -1
- package/src/shared/stores/system.store.ts +1 -2
- package/src/shared/utils/animation/animate-to-progress.ts +1 -22
- package/src/shared/utils/navigation/close-action-replay.ts +25 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/active-pair.js +0 -30
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/active-pair.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js +0 -47
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +0 -21
- package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/active-pair.js +0 -25
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/active-pair.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js +0 -40
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +0 -1
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +0 -16
- package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/active-pair.d.ts +0 -9
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/active-pair.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts +0 -9
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.d.ts +0 -2
- package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.d.ts.map +0 -1
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/active-pair.ts +0 -36
- package/src/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.ts +0 -45
- package/src/shared/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.tsx +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createGroupTag","ensurePairGroups","ensurePairLinks","ensurePairSourceRequests","getDestinationScreenKeyFromPairKey","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","getSourceScreenKeyFromPairKey","pairs","syncLinkStatus","link","status","source","destination","isSharedValueLike","value","_isReanimatedSharedValue","snapshotSharedValue","snapshotTransformArrayValue","snapshot","index","length","snapshotValue","snapshotTransformEntryValue","undefined","push","Array","isArray","snapshotTransformItem","hasValue","key","snapshotTransform","snapshotStyles","styles","transform","createLinkSide","screenKey","bounds","runtimeFlags","handoff","escapeClipping","writePairLink","state","pairKey","linkKey","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","existingLink","initialDestination","setSource","tag","modify","pairLinks","initialSource","sourceRequests","setDestination","setActiveGroupId","requestSourceMeasure","get","hasSourceLink","getResolvedLink","initialLink","getPairKeyForSource","getPairKeyForDestination"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,gBAAgB,EAChBC,eAAe,EACfC,wBAAwB,EACxBC,kCAAkC,EAClCC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,EAC1BC,6BAA6B,QACvB,+BAA+B;AAYtC,SAASC,KAAK,QAAQ,SAAS;AAE/B,MAAMC,cAAc,GAAIC,IAAa,IAAK;EACzC,SAAS;;EACTA,IAAI,CAACC,MAAM,GAAGD,IAAI,CAACE,MAAM,GACtBF,IAAI,CAACG,WAAW,GACf,UAAU,GACV,wBAAwB,GACzB,mBAAmB;AACvB,CAAC;AAQD,MAAMC,iBAAiB,GAAIC,KAAc,IAA+B;EACvE,SAAS;;EACT,OACEA,KAAK,EAAsCC,wBAAwB,KACpE,IAAI;AAEN,CAAC;AAED,MAAMC,mBAAmB,GAAIF,KAAsB,IAAc;EAChE,SAAS;;EACT,OAAOA,KAAK,CAACA,KAAK;AACnB,CAAC;AAED,MAAMG,2BAA2B,GAChCH,KAAgB,IACW;EAC3B,SAAS;;EACT,MAAMI,QAAmB,GAAG,EAAE;EAE9B,KAAK,IAAIC,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGL,KAAK,CAACM,MAAM,EAAED,KAAK,EAAE,EAAE;IAClD,MAAME,aAAa,GAAGC,2BAA2B,CAACR,KAAK,CAACK,KAAK,CAAC,CAAC;IAC/D,IAAIE,aA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C,CAAC;EACzB,KAAK,MAAMpB,OAAO,IAAID,KAAK,EAAE;IAC5B,IAAI9C,kCAAkC,CAAC+C,OAAO,CAAC,KAAKP,SAAS,EAAE;IAC/D,IAAI6B,eAAe,CAACtB,OAAO,EAAEY,GAAG,CAAC,CAAC7C,IAAI,EAAE,OAAOiC,OAAO;EACvD;EACA,OAAO,IAAI;AACZ;AAEA,SAAStC,SAASA,CACjBsC,OAAsB,EACtBY,GAAU,EACiB;EAC3B,SAAS;;EACT,OAAOjD,aAAa,CAACE,KAAK,CAACuD,GAAG,CAAC,CAAC,EAAEpB,OAAO,EAAE7C,iBAAiB,CAACyD,GAAG,CAAC,CAAC;AACnE;AAEA,SAAStD,cAAcA,CACtB0C,OAAsB,EACtBY,GAAU,EACsB;EAChC,SAAS;;EACT,OAAOrD,kBAAkB,CAACM,KAAK,CAACuD,GAAG,CAAC,CAAC,EAAEpB,OAAO,EAAE7C,iBAAiB,CAACyD,GAAG,CAAC,CAAC;AACxE;AAEA,SACCxD,gBAAgB,EAChBE,cAAc,EACdE,OAAO,EACPiE,wBAAwB,EACxBD,mBAAmB,EACnBF,eAAe,EACf5D,SAAS,EACTyD,oBAAoB,EACpBD,gBAAgB,EAChBD,cAAc,EACdN,SAAS","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["createGroupTag","ensurePairGroups","ensurePairLinks","ensurePairSourceRequests","getDestinationScreenKeyFromPairKey","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","getSourceScreenKeyFromPairKey","pairs","syncLinkStatus","link","status","source","destination","isSharedValueLike","value","_isReanimatedSharedValue","snapshotSharedValue","snapshotTransformArrayValue","snapshot","index","length","snapshotValue","snapshotTransformEntryValue","undefined","push","Array","isArray","snapshotTransformItem","hasValue","key","snapshotTransform","snapshotStyles","styles","transform","createLinkSide","screenKey","bounds","runtimeFlags","handoff","escapeClipping","writePairLink","state","pairKey","linkKey","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","existingLink","initialDestination","setSource","tag","modify","pairLinks","initialSource","sourceRequests","setDestination","setActiveGroupId","requestSourceMeasure","get","hasSourceLink","getResolvedLink","initialLink","getPairKeyForSource","getPairKeyForDestination"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,gBAAgB,EAChBC,eAAe,EACfC,wBAAwB,EACxBC,kCAAkC,EAClCC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,EAC1BC,6BAA6B,QACvB,+BAA+B;AAYtC,SAASC,KAAK,QAAQ,SAAS;AAE/B,MAAMC,cAAc,GAAIC,IAAa,IAAK;EACzC,SAAS;;EACTA,IAAI,CAACC,MAAM,GAAGD,IAAI,CAACE,MAAM,GACtBF,IAAI,CAACG,WAAW,GACf,UAAU,GACV,wBAAwB,GACzB,mBAAmB;AACvB,CAAC;AAQD,MAAMC,iBAAiB,GAAIC,KAAc,IAA+B;EACvE,SAAS;;EACT,OACEA,KAAK,EAAsCC,wBAAwB,KACpE,IAAI;AAEN,CAAC;AAED,MAAMC,mBAAmB,GAAIF,KAAsB,IAAc;EAChE,SAAS;;EACT,OAAOA,KAAK,CAACA,KAAK;AACnB,CAAC;AAED,MAAMG,2BAA2B,GAChCH,KAAgB,IACW;EAC3B,SAAS;;EACT,MAAMI,QAAmB,GAAG,EAAE;EAE9B,KAAK,IAAIC,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGL,KAAK,CAACM,MAAM,EAAED,KAAK,EAAE,EAAE;IAClD,MAAME,aAAa,GAAGC,2BAA2B,CAACR,KAAK,CAACK,KAAK,CAAC,CAAC;IAC/D,IAAIE,aAAa,KAAKE,SAAS,EAAE;MAChCL,QAAQ,CAACM,IAAI,CAACH,aAAa,CA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AAK,CAACuD,GAAG,CAAC,CAAC;EACzB,KAAK,MAAMpB,OAAO,IAAID,KAAK,EAAE;IAC5B,IAAI9C,kCAAkC,CAAC+C,OAAO,CAAC,KAAKP,SAAS,EAAE;IAC/D,IAAI6B,eAAe,CAACtB,OAAO,EAAEY,GAAG,CAAC,CAAC7C,IAAI,EAAE,OAAOiC,OAAO;EACvD;EACA,OAAO,IAAI;AACZ;AAEA,SAAStC,SAASA,CACjBsC,OAAsB,EACtBY,GAAU,EACiB;EAC3B,SAAS;;EACT,OAAOjD,aAAa,CAACE,KAAK,CAACuD,GAAG,CAAC,CAAC,EAAEpB,OAAO,EAAE7C,iBAAiB,CAACyD,GAAG,CAAC,CAAC;AACnE;AAEA,SAAStD,cAAcA,CACtB0C,OAAsB,EACtBY,GAAU,EACsB;EAChC,SAAS;;EACT,OAAOrD,kBAAkB,CAACM,KAAK,CAACuD,GAAG,CAAC,CAAC,EAAEpB,OAAO,EAAE7C,iBAAiB,CAACyD,GAAG,CAAC,CAAC;AACxE;AAEA,SACCxD,gBAAgB,EAChBE,cAAc,EACdE,OAAO,EACPiE,wBAAwB,EACxBD,mBAAmB,EACnBF,eAAe,EACf5D,SAAS,EACTyD,oBAAoB,EACpBD,gBAAgB,EAChBD,cAAc,EACdN,SAAS","ignoreList":[]}
|
|
@@ -5,8 +5,7 @@ import { createStore } from "../utils/create-store";
|
|
|
5
5
|
export let LifecycleTransitionRequestKind = /*#__PURE__*/function (LifecycleTransitionRequestKind) {
|
|
6
6
|
LifecycleTransitionRequestKind[LifecycleTransitionRequestKind["None"] = 0] = "None";
|
|
7
7
|
LifecycleTransitionRequestKind[LifecycleTransitionRequestKind["Open"] = 1] = "Open";
|
|
8
|
-
LifecycleTransitionRequestKind[LifecycleTransitionRequestKind["
|
|
9
|
-
LifecycleTransitionRequestKind[LifecycleTransitionRequestKind["NativeClose"] = 3] = "NativeClose";
|
|
8
|
+
LifecycleTransitionRequestKind[LifecycleTransitionRequestKind["Close"] = 2] = "Close";
|
|
10
9
|
return LifecycleTransitionRequestKind;
|
|
11
10
|
}({});
|
|
12
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["cancelAnimation","makeMutable","createStore","LifecycleTransitionRequestKind","SystemStore","createBag","targetProgress","animationProgress","resolvedAutoSnapPoint","measuredContentLayout","pendingLifecycleRequestKind","None","pendingLifecycleRequestTarget","pendingLifecycleStartBlockCount","disposeBag","bag","actions","requestLifecycleTransition","kind","target","set","clearLifecycleTransitionRequest","blockLifecycleStart","modify","count","unblockLifecycleStart","Math","max","drainLifecycleStartBlocks"],"sourceRoot":"../../../../src","sources":["shared/stores/system.store.ts"],"mappings":";;AAAA,SACCA,eAAe,EACfC,WAAW,QAEL,yBAAyB;AAEhC,SAASC,WAAW,QAAQ,uBAAuB;AAEnD,WAAYC,8BAA8B,0BAA9BA,8BAA8B;EAA9BA,8BAA8B,CAA9BA,8BAA8B;EAA9BA,8BAA8B,CAA9BA,8BAA8B;EAA9BA,8BAA8B,CAA9BA,8BAA8B;
|
|
1
|
+
{"version":3,"names":["cancelAnimation","makeMutable","createStore","LifecycleTransitionRequestKind","SystemStore","createBag","targetProgress","animationProgress","resolvedAutoSnapPoint","measuredContentLayout","pendingLifecycleRequestKind","None","pendingLifecycleRequestTarget","pendingLifecycleStartBlockCount","disposeBag","bag","actions","requestLifecycleTransition","kind","target","set","clearLifecycleTransitionRequest","blockLifecycleStart","modify","count","unblockLifecycleStart","Math","max","drainLifecycleStartBlocks"],"sourceRoot":"../../../../src","sources":["shared/stores/system.store.ts"],"mappings":";;AAAA,SACCA,eAAe,EACfC,WAAW,QAEL,yBAAyB;AAEhC,SAASC,WAAW,QAAQ,uBAAuB;AAEnD,WAAYC,8BAA8B,0BAA9BA,8BAA8B;EAA9BA,8BAA8B,CAA9BA,8BAA8B;EAA9BA,8BAA8B,CAA9BA,8BAA8B;EAA9BA,8BAA8B,CAA9BA,8BAA8B;EAAA,OAA9BA,8BAA8B;AAAA;AAyD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IACzC,CAAC;IAEDE,mBAAmBA,CAAA,EAAG;MACrB,SAAS;;MACTP,GAAG,CAACF,+BAA+B,CAACU,MAAM,CACtBC,KAAQ,IAAQ;QAClC,SAAS;;QACT,OAAQA,KAAK,GAAG,CAAC;MAClB,CACD,CAAC;IACF,CAAC;IAEDC,qBAAqBA,CAAA,EAAG;MACvB,SAAS;;MACTV,GAAG,CAACF,+BAA+B,CAACU,MAAM,CACtBC,KAAQ,IAAQ;QAClC,SAAS;;QACT,OAAOE,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEH,KAAK,GAAG,CAAC,CAAC;MAC9B,CACD,CAAC;IACF,CAAC;IAEDI,yBAAyBA,CAAA,EAAG;MAC3B,SAAS;;MACTb,GAAG,CAACF,+BAA+B,CAACO,GAAG,CAAC,CAAC,CAAC;IAC3C;EACD,CAAC;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { runOnJS } from "react-native-reanimated";
|
|
4
3
|
import { FALSE, TRUE } from "../../constants";
|
|
5
4
|
import { emitMotionStart } from "../../stores/animation.store";
|
|
6
5
|
import { animate, isSpringAnimationConfig } from "./animate";
|
|
@@ -28,7 +27,6 @@ export const resolveAnimationProgressRange = (currentProgress, targetProgress) =
|
|
|
28
27
|
export const animateToProgress = ({
|
|
29
28
|
target,
|
|
30
29
|
spec,
|
|
31
|
-
onAnimationFinish,
|
|
32
30
|
animations,
|
|
33
31
|
targetProgress,
|
|
34
32
|
animationProgress,
|
|
@@ -75,9 +73,6 @@ export const animateToProgress = ({
|
|
|
75
73
|
if (shouldClearEnteringOnFinish) {
|
|
76
74
|
entering.set(FALSE);
|
|
77
75
|
}
|
|
78
|
-
if (onAnimationFinish) {
|
|
79
|
-
runOnJS(onAnimationFinish)(true);
|
|
80
|
-
}
|
|
81
76
|
return;
|
|
82
77
|
}
|
|
83
78
|
if (activateMotion) {
|
|
@@ -96,24 +91,7 @@ export const animateToProgress = ({
|
|
|
96
91
|
}
|
|
97
92
|
if (isClosing) {
|
|
98
93
|
progressAnimating.set(FALSE);
|
|
99
|
-
if (onAnimationFinish) {
|
|
100
|
-
// Paint the terminal UI-thread host/style state before React
|
|
101
|
-
// removes the closing route and its native portal host.
|
|
102
|
-
requestAnimationFrame(() => {
|
|
103
|
-
"worklet";
|
|
104
|
-
|
|
105
|
-
requestAnimationFrame(() => {
|
|
106
|
-
"worklet";
|
|
107
|
-
|
|
108
|
-
runOnJS(onAnimationFinish)(state.finished);
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
94
|
} else {
|
|
113
|
-
if (onAnimationFinish) {
|
|
114
|
-
runOnJS(onAnimationFinish)(state.finished);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
95
|
// Delay clearing progress animation by one frame to ensure final frame is painted
|
|
118
96
|
requestAnimationFrame(() => {
|
|
119
97
|
progressAnimating.set(FALSE);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["FALSE","TRUE","emitMotionStart","animate","isSpringAnimationConfig","setTransitionLifecycleFlags","animations","isClosing","markEntering","closing","set","entering","resolveAnimationProgressRange","currentProgress","targetProgress","from","Math","min","max","to","animateToProgress","target","spec","animationProgress","emitWillAnimate","initialVelocity","isDragging","value","config","close","open","isSpringConfig","effectiveConfig","velocity","transitionProgress","progressAnimating","progressSettled","startAnimation","activateMotion","animationProgressFrom","animationProgressTo","get","shouldClearEnteringOnFinish","state","finished","requestAnimationFrame"],"sourceRoot":"../../../../../src","sources":["shared/utils/animation/animate-to-progress.ts"],"mappings":";;AACA,SAASA,KAAK,EAAEC,IAAI,QAAQ,iBAAiB;AAC7C,SAECC,eAAe,QACT,8BAA8B;AAErC,SAASC,OAAO,EAAEC,uBAAuB,QAAQ,WAAW;AAqB5D,MAAMC,2BAA2B,GAAGA,CACnCC,UAA6B,EAC7BC,SAAkB,EAClBC,YAAqB,KACj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,GAAG,CAAC,CAAC,EAAE;MAEvBL,eAAe,CAAC1B,GAAG,CAACT,IAAI,CAAC;MAEzBsB,iBAAiB,CAACb,GAAG,CAAC8B,mBAAmB,CAAC;MAE1C,IAAIE,2BAA2B,EAAE;QAChC/B,QAAQ,CAACD,GAAG,CAACV,KAAK,CAAC;MACpB;MAEA,IAAIO,SAAS,EAAE;QACd4B,iBAAiB,CAACzB,GAAG,CAACV,KAAK,CAAC;MAC7B,CAAC,MAAM;QACN;QACA6C,qBAAqB,CAAC,MAAM;UAC3BV,iBAAiB,CAACzB,GAAG,CAACV,KAAK,CAAC;QAC7B,CAAC,CAAC;MACH;IACD,CAAC,EACD;MACC2B,KAAK,EAAEJ,iBAAiB;MACxBR,IAAI,EAAEwB,qBAAqB;MAC3BpB,EAAE,EAAEqB;IACL,CACD,CACD,CAAC;EACF,CAAC;EAED,IAAIhB,eAAe,EAAE;IACpBnB,2BAA2B,CAACC,UAAU,EAAEC,SAAS,EAAEC,YAAY,CAAC;IAEhEN,eAAe,CAACI,UAAU,CAAC;IAC3BuC,qBAAqB,CAAC,MAAM;MAC3B,SAAS;;MACTR,cAAc,CAAC,KAAK,CAAC;IACtB,CAAC,CAAC;IACF;EACD;EAEAA,cAAc,CAAC,IAAI,CAAC;AACrB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const CLOSE_ACTION_REPLAY = Symbol("screen-transition-close-action-replay");
|
|
4
|
+
export const isCloseActionReplay = action => typeof action === "object" && action !== null && action[CLOSE_ACTION_REPLAY] === true;
|
|
5
|
+
|
|
6
|
+
/** Carries the terminal-removal bypass through React Navigation's action clones. */
|
|
7
|
+
export const dispatchCloseAction = (action, dispatch) => {
|
|
8
|
+
const markedAction = action;
|
|
9
|
+
markedAction[CLOSE_ACTION_REPLAY] = true;
|
|
10
|
+
try {
|
|
11
|
+
dispatch(action);
|
|
12
|
+
} finally {
|
|
13
|
+
delete markedAction[CLOSE_ACTION_REPLAY];
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=close-action-replay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CLOSE_ACTION_REPLAY","Symbol","isCloseActionReplay","action","dispatchCloseAction","dispatch","markedAction"],"sourceRoot":"../../../../../src","sources":["shared/utils/navigation/close-action-replay.ts"],"mappings":";;AAAA,MAAMA,mBAAmB,GAAGC,MAAM,CAAC,uCAAuC,CAAC;AAM3E,OAAO,MAAMC,mBAAmB,GAAIC,MAAe,IAClD,OAAOA,MAAM,KAAK,QAAQ,IAC1BA,MAAM,KAAK,IAAI,IACdA,MAAM,CAAuBH,mBAAmB,CAAC,KAAK,IAAI;;AAE5D;AACA,OAAO,MAAMI,mBAAmB,GAAGA,CAClCD,MAAe,EACfE,QAAmC,KAC/B;EACJ,MAAMC,YAAY,GAAGH,MAAqC;EAC1DG,YAAY,CAACN,mBAAmB,CAAC,GAAG,IAAI;EAExC,IAAI;IACHK,QAAQ,CAACF,MAAM,CAAC;EACjB,CAAC,SAAS;IACT,OAAOG,YAAY,CAACN,mBAAmB,CAAC;EACzC;AACD,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeStackView.native.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/views/NativeStackView.native.tsx"],"names":[],"mappings":"AAiCA,OAAO,EACN,KAAK,gBAAgB,EAGrB,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeStackView.native.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/views/NativeStackView.native.tsx"],"names":[],"mappings":"AAiCA,OAAO,EACN,KAAK,gBAAgB,EAGrB,MAAM,8CAA8C,CAAC;AA4jBtD,wBAAgB,eAAe,CAAC,KAAK,EAAE,gBAAgB,2CAUtD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { View } from "react-native";
|
|
2
|
+
import type { AnimatedRef } from "react-native-reanimated";
|
|
3
|
+
import type { BoundTag } from "../../../stores/bounds/types";
|
|
4
|
+
import type { BoundaryConfigProps, BoundaryLocalMeasurementValue } from "../types";
|
|
5
|
+
interface BoundaryLifecycleProps {
|
|
6
|
+
boundTag: BoundTag;
|
|
7
|
+
config: BoundaryConfigProps;
|
|
8
|
+
currentScreenKey: string;
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
escapeClipping: boolean;
|
|
11
|
+
handoff: boolean;
|
|
12
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
13
|
+
measuredRef: AnimatedRef<View>;
|
|
14
|
+
style?: unknown;
|
|
15
|
+
}
|
|
16
|
+
export declare const BoundaryLifecycle: import("react").MemoExoticComponent<({ boundTag, config, currentScreenKey, enabled, escapeClipping, handoff, localMeasurement, measuredRef, style, }: BoundaryLifecycleProps) => null>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=boundary-lifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boundary-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-lifecycle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EACX,mBAAmB,EACnB,6BAA6B,EAC7B,MAAM,UAAU,CAAC;AAElB,UAAU,sBAAsB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB,wJAU3B,sBAAsB,UAmBvB,CAAC"}
|
|
@@ -3,9 +3,8 @@ import type { MeasureBoundary } from "../../types";
|
|
|
3
3
|
interface UseInitialDestinationMeasurementParams {
|
|
4
4
|
boundTag: BoundTag;
|
|
5
5
|
enabled: boolean;
|
|
6
|
-
escapeClipping: boolean;
|
|
7
6
|
measureBoundary: MeasureBoundary;
|
|
8
7
|
}
|
|
9
|
-
export declare const useInitialDestinationMeasurement: ({ boundTag, enabled,
|
|
8
|
+
export declare const useInitialDestinationMeasurement: ({ boundTag, enabled, measureBoundary, }: UseInitialDestinationMeasurementParams) => void;
|
|
10
9
|
export {};
|
|
11
10
|
//# sourceMappingURL=use-initial-destination-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAanD,UAAU,sCAAsC;IAC/C,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,
|
|
1
|
+
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAanD,UAAU,sCAAsC;IAC/C,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,gCAAgC,GAAI,yCAI9C,sCAAsC,SA0NxC,CAAC"}
|
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":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,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,
|
|
1
|
+
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,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,SAmE1B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
2
|
import type { AnimatedRef } from "react-native-reanimated";
|
|
3
3
|
import type { BoundTag } from "../../../stores/bounds/types";
|
|
4
|
-
import type { BoundaryConfigProps } from "../types";
|
|
4
|
+
import type { BoundaryConfigProps, BoundaryLocalMeasurementValue } from "../types";
|
|
5
5
|
interface UseBoundaryMeasurementParams {
|
|
6
6
|
boundTag: BoundTag;
|
|
7
7
|
/** Raw `enabled` prop — drives the measurer and the passive-source gate. */
|
|
@@ -15,6 +15,7 @@ interface UseBoundaryMeasurementParams {
|
|
|
15
15
|
style?: unknown;
|
|
16
16
|
handoff: boolean;
|
|
17
17
|
escapeClipping: boolean;
|
|
18
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
18
19
|
config: BoundaryConfigProps;
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
@@ -22,6 +23,6 @@ interface UseBoundaryMeasurementParams {
|
|
|
22
23
|
* registers presence, runs the initial source/destination + refresh reactions,
|
|
23
24
|
* and keeps the component itself away from the measurer.
|
|
24
25
|
*/
|
|
25
|
-
export declare const useBoundaryMeasurement: ({ boundTag, enabled, runtimeEnabled, currentScreenKey, measuredRef, style, handoff, escapeClipping, config, }: UseBoundaryMeasurementParams) => void;
|
|
26
|
+
export declare const useBoundaryMeasurement: ({ boundTag, enabled, runtimeEnabled, currentScreenKey, measuredRef, style, handoff, escapeClipping, localMeasurement, config, }: UseBoundaryMeasurementParams) => void;
|
|
26
27
|
export {};
|
|
27
28
|
//# 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,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,
|
|
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,EACX,mBAAmB,EACnB,6BAA6B,EAC7B,MAAM,UAAU,CAAC;AAOlB,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,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,iIAWpC,4BAA4B,SAiD9B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
2
|
import type { AnimatedRef, StyleProps } from "react-native-reanimated";
|
|
3
3
|
import type { BoundTag } from "../../../stores/bounds/types";
|
|
4
|
-
import type { MeasureBoundary } from "../types";
|
|
4
|
+
import type { BoundaryLocalMeasurementValue, MeasureBoundary } from "../types";
|
|
5
5
|
interface UseMeasurerParams {
|
|
6
6
|
enabled: boolean;
|
|
7
7
|
boundTag: BoundTag;
|
|
@@ -10,7 +10,8 @@ interface UseMeasurerParams {
|
|
|
10
10
|
measuredAnimatedRef: AnimatedRef<View>;
|
|
11
11
|
handoff: boolean;
|
|
12
12
|
escapeClipping: boolean;
|
|
13
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
13
14
|
}
|
|
14
|
-
export declare const useMeasurer: ({ enabled, boundTag, currentScreenKey, preparedStyles, measuredAnimatedRef, handoff, escapeClipping, }: UseMeasurerParams) => MeasureBoundary;
|
|
15
|
+
export declare const useMeasurer: ({ enabled, boundTag, currentScreenKey, preparedStyles, measuredAnimatedRef, handoff, escapeClipping, localMeasurement, }: UseMeasurerParams) => MeasureBoundary;
|
|
15
16
|
export {};
|
|
16
17
|
//# sourceMappingURL=use-measurer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,OAAO,KAAK,EAAE,6BAA6B,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQ/E,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,6BAA6B,CAAC;CAChD;AAED,eAAO,MAAM,WAAW,GAAI,0HASzB,iBAAiB,KAAG,eA8FtB,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;AAWtB,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AA2EF,eAAO,MAAM,IAAI,8CAA6B,eAAe,6CAE3D,CAAC;AAEH,eAAO,MAAM,kBAAkB,oFAE7B,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
|
+
import { type MeasuredDimensions, type SharedValue } from "react-native-reanimated";
|
|
2
3
|
import type { ActivePortalBoundaryHost } from "../stores/portal-boundary-host.store";
|
|
3
4
|
type PortalBoundaryHostProps = {
|
|
4
5
|
host: ActivePortalBoundaryHost;
|
|
6
|
+
hostBounds: SharedValue<MeasuredDimensions | null>;
|
|
7
|
+
hostMeasurementKey: string | null;
|
|
8
|
+
measuredHostKey: SharedValue<string | null>;
|
|
5
9
|
style?: StyleProp<ViewStyle>;
|
|
6
10
|
};
|
|
7
|
-
export declare const PortalBoundaryHost: import("react").MemoExoticComponent<({ host, style, }: PortalBoundaryHostProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
11
|
+
export declare const PortalBoundaryHost: import("react").MemoExoticComponent<({ host, hostBounds, hostMeasurementKey, measuredHostKey, style, }: PortalBoundaryHostProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
8
12
|
export {};
|
|
9
13
|
//# sourceMappingURL=portal-boundary-host.d.ts.map
|
|
@@ -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,EAEN,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;
|
|
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;AACtB,OAAiB,EAChB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAMjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAcrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,UAAU,EAAE,WAAW,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IACnD,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,eAAe,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,0GAM5B,uBAAuB,oDA0ExB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScreenPairKey } from "../../../../../../stores/bounds/types";
|
|
2
|
+
import type { BoundaryLocalMeasurement } from "../../../../types";
|
|
3
|
+
export declare const resolveBoundaryLocalMeasurement: (measurement: BoundaryLocalMeasurement | null, pairKey: ScreenPairKey) => import("react-native-reanimated").MeasuredDimensions | null;
|
|
4
|
+
//# sourceMappingURL=local-measurement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAElE,eAAO,MAAM,+BAA+B,GAC3C,aAAa,wBAAwB,GAAG,IAAI,EAC5C,SAAS,aAAa,gEAItB,CAAC"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
import type { StyleProps } from "react-native-reanimated";
|
|
2
|
-
import type { ScrollMeasuredDimensions } from "../../../../utils/measured-bounds";
|
|
3
|
-
/**
|
|
4
|
-
* The two portal coordinate cases we support:
|
|
5
|
-
*
|
|
6
|
-
* - same-screen: source and host live on the same screen; re-base the stored
|
|
7
|
-
* host frame onto the source measurement's scroll snapshot.
|
|
8
|
-
* - cross-screen: source and host live on different screens; the host is the
|
|
9
|
-
* replacement coordinate space, so destination scroll is inherited naturally
|
|
10
|
-
* from host placement instead of manually propagated.
|
|
11
|
-
*/
|
|
12
|
-
export type PortalOffsetPlacement = "same-screen" | "cross-screen";
|
|
1
|
+
import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
|
|
13
2
|
type ResolvePortalOffsetStyleParams = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
hostKey: string;
|
|
17
|
-
placement: PortalOffsetPlacement;
|
|
3
|
+
bounds: MeasuredDimensions;
|
|
4
|
+
hostBounds: MeasuredDimensions | null;
|
|
18
5
|
};
|
|
19
|
-
export declare const resolvePortalOffsetStyle: ({ bounds,
|
|
6
|
+
export declare const resolvePortalOffsetStyle: ({ bounds, hostBounds, }: ResolvePortalOffsetStyleParams) => StyleProps;
|
|
20
7
|
export {};
|
|
21
8
|
//# 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,
|
|
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,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE9E,KAAK,8BAA8B,GAAG;IACrC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,yBAGtC,8BAA8B,KAAG,UAcnC,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { type SharedValue } from "react-native-reanimated";
|
|
2
2
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../types/animation.types";
|
|
3
|
+
import type { BoundaryLocalMeasurementValue } from "../../../../types";
|
|
3
4
|
type UseActivePortalBoundaryHostParams = {
|
|
4
5
|
boundaryId: string;
|
|
5
6
|
currentScreenKey: string;
|
|
6
7
|
escapeHostKey?: string;
|
|
8
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
7
9
|
portalHostName: SharedValue<string | null>;
|
|
8
10
|
portalHostReady: SharedValue<boolean>;
|
|
9
11
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
10
12
|
};
|
|
11
|
-
export declare const useActivePortalBoundaryHost: ({ boundaryId, currentScreenKey, escapeHostKey, portalHostName, portalHostReady, slotsMap, }: UseActivePortalBoundaryHostParams) => void;
|
|
13
|
+
export declare const useActivePortalBoundaryHost: ({ boundaryId, currentScreenKey, escapeHostKey, localMeasurement, portalHostName, portalHostReady, slotsMap, }: UseActivePortalBoundaryHostParams) => void;
|
|
12
14
|
export {};
|
|
13
15
|
//# sourceMappingURL=use-active-portal-boundary-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,WAAW,EAEhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,WAAW,EAEhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAOvE,KAAK,iCAAiC,GAAG;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,cAAc,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,+GAQzC,iCAAiC,SAoEnC,CAAC"}
|
|
@@ -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":"AASA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,2BAA2B,GAAI,iBAEzC,iCAAiC;;;;CAoDnC,CAAC"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
|
-
import { type
|
|
2
|
+
import { type MeasuredDimensions } from "react-native-reanimated";
|
|
3
3
|
type UseHostMeasurementParams = {
|
|
4
|
-
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
hostKey: string;
|
|
7
|
-
screenKey: string;
|
|
8
|
-
visibilityBlocked: SharedValue<boolean>;
|
|
9
|
-
viewportHeight: number;
|
|
10
|
-
viewportWidth: number;
|
|
4
|
+
measurementKey: string | null;
|
|
11
5
|
};
|
|
12
|
-
export declare const useHostMeasurement: ({
|
|
6
|
+
export declare const useHostMeasurement: ({ measurementKey, }: UseHostMeasurementParams) => {
|
|
7
|
+
hostBounds: import("react-native-reanimated").SharedValue<MeasuredDimensions | null>;
|
|
13
8
|
hostRef: import("react-native-reanimated").AnimatedRef<View>;
|
|
9
|
+
measuredKey: import("react-native-reanimated").SharedValue<string | null>;
|
|
14
10
|
};
|
|
15
11
|
export {};
|
|
16
12
|
//# sourceMappingURL=use-host-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAEN,KAAK,kBAAkB,EAOvB,MAAM,yBAAyB,CAAC;AAIjC,KAAK,wBAAwB,GAAG;IAC/B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,qBAEhC,wBAAwB;;;;CAsE1B,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { SharedValue } from "react-native-reanimated";
|
|
2
2
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../types/animation.types";
|
|
3
|
+
import type { BoundaryLocalMeasurementValue } from "../../../../types";
|
|
3
4
|
export type ActivePortalBoundaryHost = {
|
|
4
5
|
boundaryId: string;
|
|
5
6
|
hostKey: string;
|
|
7
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
6
8
|
pairKey: string;
|
|
7
9
|
portalHostName: string;
|
|
8
10
|
portalHostReady: SharedValue<boolean>;
|
|
9
|
-
screenKey: string;
|
|
10
11
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
11
12
|
};
|
|
12
13
|
export declare const mountPortalBoundaryHost: (host: ActivePortalBoundaryHost) => void;
|
|
@@ -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,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;
|
|
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,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAoDF,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"}
|
|
@@ -3,13 +3,14 @@ import type { View } from "react-native";
|
|
|
3
3
|
import type { AnimatedRef } from "react-native-reanimated";
|
|
4
4
|
import type { BoundTag } from "../../../stores/bounds/types";
|
|
5
5
|
import { type BoundaryPortalRuntime } from "../portal/utils/resolve-portal";
|
|
6
|
-
import type { BoundaryConfigProps, BoundaryId, BoundaryOwnProps } from "../types";
|
|
6
|
+
import type { BoundaryConfigProps, BoundaryId, BoundaryLocalMeasurementValue, BoundaryOwnProps } from "../types";
|
|
7
7
|
export declare const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside Transition.Boundary or a component created by createBoundaryComponent.";
|
|
8
8
|
export type BoundaryRootRenderState = {
|
|
9
9
|
attachedStyle: unknown;
|
|
10
10
|
boundTag: BoundTag;
|
|
11
11
|
currentScreenKey: string;
|
|
12
12
|
handoffEnabled: boolean;
|
|
13
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
13
14
|
measurementRef: AnimatedRef<View>;
|
|
14
15
|
portalRuntime: BoundaryPortalRuntime;
|
|
15
16
|
ref: AnimatedRef<View>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAS3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,OAAO,EACN,KAAK,qBAAqB,EAE1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACX,mBAAmB,EACnB,UAAU,
|
|
1
|
+
{"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAS3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,OAAO,EACN,KAAK,qBAAqB,EAE1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACX,mBAAmB,EACnB,UAAU,EAEV,6BAA6B,EAC7B,gBAAgB,EAChB,MAAM,UAAU,CAAC;AAQlB,eAAO,MAAM,2BAA2B,mHACyE,CAAC;AAElH,MAAM,MAAM,uBAAuB,GAAG;IACrC,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,cAAc,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAClC,aAAa,EAAE,qBAAqB,CAAC;IACrC,GAAG,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvB,qCAAqC,EAAE,OAAO,CAAC;IAC/C,uBAAuB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,KAAK,yBAAyB,GAAG,IAAI,CACpC,gBAAgB,EAChB,SAAS,GAAG,gBAAgB,GAAG,OAAO,GAAG,SAAS,CAClD,GAAG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,SAAS,CAAC;IACxD,MAAM,EAAE,mBAAmB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAQ,oBAAoB,iDAAE,oBAAoB;;;CA0IxD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MeasuredDimensions, SharedValue } from "react-native-reanimated";
|
|
1
2
|
import type { ScreenPairKey } from "../../stores/bounds/types";
|
|
2
3
|
import type { BoundsOptions } from "../../utils/bounds/types/options";
|
|
3
4
|
export type BoundaryId = string | number;
|
|
@@ -48,4 +49,9 @@ export type MeasureTarget = {
|
|
|
48
49
|
pairKey: ScreenPairKey;
|
|
49
50
|
};
|
|
50
51
|
export type MeasureBoundary = (target: MeasureTarget) => void;
|
|
52
|
+
export type BoundaryLocalMeasurement = {
|
|
53
|
+
bounds: MeasuredDimensions;
|
|
54
|
+
pairKey: ScreenPairKey;
|
|
55
|
+
};
|
|
56
|
+
export type BoundaryLocalMeasurementValue = SharedValue<BoundaryLocalMeasurement | null>;
|
|
51
57
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,MAAM,MAAM,aAAa,GACtB;IACA,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;CACtB,GACD;IACA,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;CACtB,CAAC;AAEL,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refresh-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/refresh-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAiBF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,qBAAqB,GAAG,
|
|
1
|
+
{"version":3,"file":"refresh-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/refresh-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAiBF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,qBAAqB,GAAG,IA4H3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACX,gBAAgB,EAEhB,MAAM,6BAA6B,CAAC;AAKrC,eAAO,MAAM,aAAa,gFAGvB;IACF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACX,gBAAgB,EAEhB,MAAM,6BAA6B,CAAC;AAKrC,eAAO,MAAM,aAAa,gFAGvB;IACF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,6CA+IC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
interface CloseInterceptionState {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
ownsAction: boolean;
|
|
4
|
+
ancestorDismissing: boolean;
|
|
5
|
+
routeIndex: number;
|
|
6
|
+
focusedIndex: number;
|
|
7
|
+
}
|
|
8
|
+
interface NavigationRouteLike {
|
|
9
|
+
key: string;
|
|
10
|
+
state?: NavigationStateLike;
|
|
11
|
+
}
|
|
12
|
+
interface NavigationStateLike {
|
|
13
|
+
key?: string;
|
|
14
|
+
routes: NavigationRouteLike[];
|
|
15
|
+
}
|
|
16
|
+
interface NavigationActionLike {
|
|
17
|
+
source?: unknown;
|
|
18
|
+
target?: unknown;
|
|
19
|
+
}
|
|
20
|
+
export declare const doesNavigatorOwnCloseAction: ({ state, action, }: {
|
|
21
|
+
state: NavigationStateLike;
|
|
22
|
+
action: NavigationActionLike;
|
|
23
|
+
}) => boolean;
|
|
24
|
+
/** Only the focused removable route owns a stack close transition. */
|
|
25
|
+
export declare const shouldInterceptClose: ({ enabled, ownsAction, ancestorDismissing, routeIndex, focusedIndex, }: CloseInterceptionState) => boolean;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=close-interception-rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-interception-rules.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/screen-lifecycle/hooks/helpers/close-interception-rules.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,mBAAmB;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC5B;AAED,UAAU,mBAAmB;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC9B;AAED,UAAU,oBAAoB;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAYD,eAAO,MAAM,2BAA2B,GAAI,oBAGzC;IACF,KAAK,EAAE,mBAAmB,CAAC;IAC3B,MAAM,EAAE,oBAAoB,CAAC;CAC7B,KAAG,OAUH,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,GAAI,wEAMlC,sBAAsB,YAKG,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
|
+
export declare const useCloseCompletion: ({ closing, animationProgress, onComplete, }: {
|
|
3
|
+
closing: SharedValue<number>;
|
|
4
|
+
animationProgress: SharedValue<number>;
|
|
5
|
+
onComplete: () => void;
|
|
6
|
+
}) => void;
|
|
7
|
+
//# sourceMappingURL=use-close-completion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-close-completion.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-completion.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,WAAW,EAEhB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,kBAAkB,GAAI,6CAIhC;IACF,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,UAAU,EAAE,MAAM,IAAI,CAAC;CACvB,SAaA,CAAC"}
|
package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { type BaseDescriptor } from "../../../providers/screen/descriptors";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Handles close transition intent and returns finish callbacks for cleanup.
|
|
5
|
-
*/
|
|
6
|
-
export declare function useCloseTransitionIntent(current: BaseDescriptor, system: SystemStoreMap): {
|
|
7
|
-
handleBlankStackCloseEnd?: (finished: boolean) => void;
|
|
8
|
-
handleNativeCloseEnd?: (finished: boolean) => void;
|
|
2
|
+
export declare function useCloseTransitionIntent(current: BaseDescriptor): {
|
|
3
|
+
completeClose: () => void;
|
|
9
4
|
};
|
|
10
5
|
//# sourceMappingURL=use-close-transition-intent.d.ts.map
|