react-native-screen-transitions 4.0.0-alpha.5 → 4.0.0-alpha.7
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/components/boundary/components/boundary-lifecycle.js +36 -0
- package/lib/commonjs/components/boundary/components/boundary-lifecycle.js.map +1 -0
- package/lib/commonjs/components/boundary/components/boundary-target.js +1 -0
- package/lib/commonjs/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/components/boundary/create-boundary-component.js +1 -0
- package/lib/commonjs/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +1 -13
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js +9 -2
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js +3 -2
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/use-measurer.js +9 -2
- package/lib/commonjs/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js +5 -12
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +25 -43
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +13 -0
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +8 -31
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +14 -19
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +3 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +19 -48
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js +6 -2
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js +19 -17
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/components/boundary/utils/refresh-signals.js +19 -5
- package/lib/commonjs/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/commonjs/components/screen-container/layers/backdrop.js +11 -7
- package/lib/commonjs/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/components/screen-lifecycle/hooks/helpers/close-interception-rules.js +32 -0
- package/lib/commonjs/components/screen-lifecycle/hooks/helpers/close-interception-rules.js.map +1 -0
- package/lib/commonjs/components/screen-lifecycle/hooks/use-close-completion.js +27 -0
- package/lib/commonjs/components/screen-lifecycle/hooks/use-close-completion.js.map +1 -0
- package/lib/commonjs/components/screen-lifecycle/hooks/use-close-transition-intent.js +61 -86
- package/lib/commonjs/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/commonjs/components/screen-lifecycle/hooks/use-transition-start-controller.js +1 -5
- package/lib/commonjs/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/commonjs/components/screen-lifecycle/index.js +9 -6
- package/lib/commonjs/components/screen-lifecycle/index.js.map +1 -1
- package/lib/commonjs/hooks/navigation/use-navigation-helpers.js +30 -13
- package/lib/commonjs/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/commonjs/providers/helpers/measured-bounds-writes.js +1 -2
- package/lib/commonjs/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/hooks/use-screen-gesture-config.js +9 -2
- package/lib/commonjs/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-lifecycle.js +4 -5
- package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pan/behavior/use-pan-behavior.js +2 -3
- package/lib/commonjs/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +4 -5
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -3
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/shared/policy.js +9 -5
- package/lib/commonjs/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/helpers/create-interpolator-scope.js +40 -0
- package/lib/commonjs/providers/screen/styles/helpers/create-interpolator-scope.js.map +1 -0
- package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js +5 -10
- package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/providers/stack/blank-stack-state/blank-stack-controller.js +7 -9
- package/lib/commonjs/providers/stack/blank-stack-state/blank-stack-controller.js.map +1 -1
- package/lib/commonjs/stores/bounds/internals/links.js +1 -1
- package/lib/commonjs/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/stores/system.store.js +1 -2
- package/lib/commonjs/stores/system.store.js.map +1 -1
- package/lib/commonjs/utils/animation/animate-to-progress.js +0 -22
- package/lib/commonjs/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/utils/navigation/close-action-replay.js +22 -0
- package/lib/commonjs/utils/navigation/close-action-replay.js.map +1 -0
- package/lib/module/components/boundary/components/boundary-lifecycle.js +32 -0
- package/lib/module/components/boundary/components/boundary-lifecycle.js.map +1 -0
- package/lib/module/components/boundary/components/boundary-target.js +1 -0
- package/lib/module/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/components/boundary/create-boundary-component.js +1 -0
- package/lib/module/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +1 -13
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js +9 -2
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js +3 -2
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/components/boundary/hooks/use-measurer.js +9 -2
- package/lib/module/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js +5 -12
- package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +27 -45
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +8 -0
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -0
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +8 -32
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +15 -20
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +3 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +19 -48
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/index.js +6 -2
- package/lib/module/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/module/components/boundary/providers/boundary-root.provider.js +20 -18
- package/lib/module/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/components/boundary/utils/refresh-signals.js +19 -5
- package/lib/module/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/module/components/screen-container/layers/backdrop.js +12 -8
- package/lib/module/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/components/screen-lifecycle/hooks/helpers/close-interception-rules.js +26 -0
- package/lib/module/components/screen-lifecycle/hooks/helpers/close-interception-rules.js.map +1 -0
- package/lib/module/components/screen-lifecycle/hooks/use-close-completion.js +22 -0
- package/lib/module/components/screen-lifecycle/hooks/use-close-completion.js.map +1 -0
- package/lib/module/components/screen-lifecycle/hooks/use-close-transition-intent.js +61 -85
- package/lib/module/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
- package/lib/module/components/screen-lifecycle/hooks/use-transition-start-controller.js +1 -5
- package/lib/module/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/module/components/screen-lifecycle/index.js +9 -6
- package/lib/module/components/screen-lifecycle/index.js.map +1 -1
- package/lib/module/hooks/navigation/use-navigation-helpers.js +30 -13
- package/lib/module/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/module/providers/helpers/measured-bounds-writes.js +1 -2
- package/lib/module/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/module/providers/screen/gestures/hooks/use-screen-gesture-config.js +9 -2
- package/lib/module/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
- package/lib/module/providers/screen/gestures/pan/behavior/pan-lifecycle.js +4 -5
- package/lib/module/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/module/providers/screen/gestures/pan/behavior/use-pan-behavior.js +2 -3
- package/lib/module/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/module/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +4 -5
- package/lib/module/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/module/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -3
- package/lib/module/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
- package/lib/module/providers/screen/gestures/shared/policy.js +9 -5
- package/lib/module/providers/screen/gestures/shared/policy.js.map +1 -1
- package/lib/module/providers/screen/styles/helpers/create-interpolator-scope.js +35 -0
- package/lib/module/providers/screen/styles/helpers/create-interpolator-scope.js.map +1 -0
- package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js +5 -10
- package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/providers/stack/blank-stack-state/blank-stack-controller.js +7 -9
- package/lib/module/providers/stack/blank-stack-state/blank-stack-controller.js.map +1 -1
- package/lib/module/stores/bounds/internals/links.js +1 -1
- package/lib/module/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/stores/system.store.js +1 -2
- package/lib/module/stores/system.store.js.map +1 -1
- package/lib/module/utils/animation/animate-to-progress.js +0 -22
- package/lib/module/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/utils/navigation/close-action-replay.js +16 -0
- package/lib/module/utils/navigation/close-action-replay.js.map +1 -0
- package/lib/typescript/components/boundary/components/boundary-lifecycle.d.ts +18 -0
- package/lib/typescript/components/boundary/components/boundary-lifecycle.d.ts.map +1 -0
- package/lib/typescript/components/boundary/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/components/boundary/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts +1 -2
- package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts +3 -2
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/use-measurer.d.ts +3 -2
- package/lib/typescript/components/boundary/hooks/use-measurer.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts +5 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts +4 -0
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts +4 -17
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts +3 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts +3 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts +5 -9
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts +3 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +2 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -1
- package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts +2 -1
- package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/components/boundary/types.d.ts +6 -0
- package/lib/typescript/components/boundary/types.d.ts.map +1 -1
- package/lib/typescript/components/boundary/utils/refresh-signals.d.ts +1 -0
- package/lib/typescript/components/boundary/utils/refresh-signals.d.ts.map +1 -1
- package/lib/typescript/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/components/screen-lifecycle/hooks/helpers/close-interception-rules.d.ts +28 -0
- package/lib/typescript/components/screen-lifecycle/hooks/helpers/close-interception-rules.d.ts.map +1 -0
- package/lib/typescript/components/screen-lifecycle/hooks/use-close-completion.d.ts +7 -0
- package/lib/typescript/components/screen-lifecycle/hooks/use-close-completion.d.ts.map +1 -0
- package/lib/typescript/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts +2 -7
- package/lib/typescript/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -1
- package/lib/typescript/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts +1 -3
- package/lib/typescript/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -1
- package/lib/typescript/components/screen-lifecycle/index.d.ts.map +1 -1
- package/lib/typescript/hooks/navigation/use-navigation-helpers.d.ts +1 -0
- package/lib/typescript/hooks/navigation/use-navigation-helpers.d.ts.map +1 -1
- package/lib/typescript/navigators/react-navigation/index.d.ts +1 -1
- package/lib/typescript/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts +1 -1
- package/lib/typescript/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/pan/behavior/use-pan-behavior.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts +1 -1
- package/lib/typescript/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/pinch/behavior/use-pinch-behavior.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/shared/policy.d.ts +2 -1
- package/lib/typescript/providers/screen/gestures/shared/policy.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/types.d.ts +2 -0
- package/lib/typescript/providers/screen/gestures/types.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/helpers/create-interpolator-scope.d.ts +9 -0
- package/lib/typescript/providers/screen/styles/helpers/create-interpolator-scope.d.ts.map +1 -0
- package/lib/typescript/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/providers/stack/blank-stack-state/blank-stack-controller.d.ts.map +1 -1
- package/lib/typescript/stores/system.store.d.ts +1 -2
- package/lib/typescript/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/utils/animation/animate-to-progress.d.ts +1 -2
- package/lib/typescript/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/utils/navigation/close-action-replay.d.ts +4 -0
- package/lib/typescript/utils/navigation/close-action-replay.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/boundary/components/boundary-lifecycle.tsx +53 -0
- package/src/components/boundary/components/boundary-target.tsx +1 -0
- package/src/components/boundary/create-boundary-component.tsx +1 -0
- package/src/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +0 -14
- package/src/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +13 -2
- package/src/components/boundary/hooks/use-boundary-measurement.ts +7 -2
- package/src/components/boundary/hooks/use-measurer.ts +11 -1
- package/src/components/boundary/portal/components/boundary-portal/components/host.tsx +13 -11
- package/src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +44 -55
- package/src/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts +10 -0
- package/src/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts +11 -55
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +20 -24
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +6 -0
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts +20 -68
- package/src/components/boundary/portal/components/boundary-portal/index.tsx +19 -3
- package/src/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +3 -2
- package/src/components/boundary/providers/boundary-root.provider.tsx +29 -20
- package/src/components/boundary/types.ts +9 -0
- package/src/components/boundary/utils/refresh-signals.ts +39 -6
- package/src/components/screen-container/layers/backdrop.tsx +11 -7
- package/src/components/screen-lifecycle/hooks/helpers/close-interception-rules.ts +66 -0
- package/src/components/screen-lifecycle/hooks/use-close-completion.ts +25 -0
- package/src/components/screen-lifecycle/hooks/use-close-transition-intent.ts +68 -108
- package/src/components/screen-lifecycle/hooks/use-transition-start-controller.ts +0 -12
- package/src/components/screen-lifecycle/index.tsx +8 -4
- package/src/hooks/navigation/use-navigation-helpers.ts +40 -12
- package/src/providers/helpers/measured-bounds-writes.ts +1 -1
- package/src/providers/screen/gestures/hooks/use-screen-gesture-config.ts +9 -1
- package/src/providers/screen/gestures/pan/behavior/pan-lifecycle.ts +4 -6
- package/src/providers/screen/gestures/pan/behavior/use-pan-behavior.ts +1 -3
- package/src/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts +4 -6
- package/src/providers/screen/gestures/pinch/behavior/use-pinch-behavior.ts +2 -8
- package/src/providers/screen/gestures/shared/policy.ts +17 -6
- package/src/providers/screen/gestures/types.ts +2 -0
- package/src/providers/screen/styles/helpers/create-interpolator-scope.ts +45 -0
- package/src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +8 -12
- package/src/providers/stack/blank-stack-state/blank-stack-controller.ts +7 -7
- package/src/stores/bounds/internals/links.ts +1 -1
- package/src/stores/system.store.ts +1 -2
- package/src/utils/animation/animate-to-progress.ts +0 -23
- package/src/utils/navigation/close-action-replay.ts +25 -0
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/active-pair.js +0 -30
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/active-pair.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js +0 -47
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +0 -1
- package/lib/commonjs/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +0 -21
- package/lib/commonjs/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/active-pair.js +0 -25
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/active-pair.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js +0 -40
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +0 -1
- package/lib/module/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +0 -16
- package/lib/module/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/active-pair.d.ts +0 -9
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/active-pair.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts +0 -9
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts.map +0 -1
- package/lib/typescript/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.d.ts +0 -2
- package/lib/typescript/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.d.ts.map +0 -1
- package/src/components/boundary/portal/components/boundary-portal/helpers/active-pair.ts +0 -36
- package/src/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.ts +0 -45
- package/src/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.tsx +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useAnimatedReaction","useDerivedValue","useSharedValue","NO_STYLES","AnimationStore","LifecycleTransitionRequestKind","SystemStore","logger","useScreenAnimationStore","
|
|
1
|
+
{"version":3,"names":["useMemo","useAnimatedReaction","useDerivedValue","useSharedValue","NO_STYLES","AnimationStore","LifecycleTransitionRequestKind","SystemStore","logger","useScreenAnimationStore","useBuildTransitionAccessor","readScreenAnimationRevisions","syncSelectedInterpolatorOptions","useDescriptorsStore","syncScreenOptionsOverrides","useScreenOptionsStore","collectInterpolatorSharedValues","createInterpolatorScope","normalizeSlots","resolveInterpolatorStyleHandoff","selectInterpolatorFrame","stripInterpolatorOptions","hasCloseTransitionFinished","isOpenTransitionBlocked","resolveInitialDestinationStyleGate","NO_STYLE_LAYERS","normalizeRawStyleMap","rawStyleMap","stylesMap","runInterpolator","interpolator","props","selectedFrame","transition","undefined","raw","frame","_","__DEV__","warn","useInterpolatedStylesMap","enabled","visibilityBlocked","currentScreenKey","s","derivations","nextScreenKey","destinationPairKey","screenOptions","screenInterpolatorProps","screenInterpolatorPropsRevision","selectedInterpolatorOptions","nextInterpolator","currentInterpolator","ancestorScreenAnimationSources","descendantScreenAnimationSources","nextInterpolatorReady","interpolatorSharedValues","activeScreenKey","closing","activeClosing","entering","activeEntering","getBag","animationProgress","activeAnimationProgress","pendingLifecycleRequestKind","activePendingLifecycleRequestKind","pendingLifecycleStartBlockCount","activePendingLifecycleStartBlockCount","isGesturingDuringCloseAnimation","initialDestinationStylesReady","shouldPrepareInitialDestinationStyles","get","isVisibilityBlocked","styleGate","shouldPrepareStyles","stylesReady","shouldMarkStylesReady","set","localStylesMaps","current","next","isDragging","gesture","dragging","isNextClosing","isInGestureMode","isPendingOpen","Open","activeOpening","isOpeningBlocked","opening","hasCloseFinished","currentOwnsInterpolator","nextReady","interpolatorOptionsOwner","currentSelectedFrame","currentResult","initialDestinationStyleGate","shouldWithholdStyles","options","handoff","currentStylesMap","nextStylesMap","length","nextSelectedFrame","nextResult"],"sourceRoot":"../../../../../../src","sources":["providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAECC,mBAAmB,EACnBC,eAAe,EACfC,cAAc,QACR,yBAAyB;AAChC,SAASC,SAAS,QAAQ,uBAAuB;AACjD,SAASC,cAAc,QAAQ,oCAAoC;AACnE,SACCC,8BAA8B,EAC9BC,WAAW,QACL,iCAAiC;AAMxC,SAASC,MAAM,QAAQ,0BAA0B;AACjD,SAASC,uBAAuB,QAAQ,iBAAiB;AACzD,SAASC,0BAA0B,QAAQ,iEAAiE;AAE5G,SAASC,4BAA4B,QAAQ,yDAAyD;AACtG,SAASC,+BAA+B,QAAQ,uDAAuD;AACvG,SAASC,mBAAmB,QAAQ,mBAAmB;AACvD,SACCC,0BAA0B,EAC1BC,qBAAqB,QACf,eAAe;AACtB,SAASC,+BAA+B,QAAQ,+CAA+C;AAC/F,SAASC,uBAAuB,QAAQ,sCAAsC;AAC9E,SAASC,cAAc,QAAQ,4BAA4B;AAC3D,SAASC,+BAA+B,QAAQ,+CAA+C;AAE/F,SAECC,uBAAuB,QACjB,sCAAsC;AAC7C,SAASC,wBAAwB,QAAQ,uCAAuC;AAChF,SACCC,0BAA0B,EAC1BC,uBAAuB,QACjB,oCAAoC;AAC3C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9BuC,2BAA2B,EAC3B,SAAS,EACT+C,aAAa,EAAEvE,WAAW,EAAE0E,OAC7B,CAAC;MACDvF,0BAA0B,CAACoF,aAAa,EAAEvE,WAAW,EAAEqB,aAAa,CAAC;MAErE,MAAMsD,OAAO,GAAGnF,+BAA+B,CAAC;QAC/C2E,uBAAuB,EAAE,IAAI;QAC7BS,gBAAgB,EAAEL,aAAa,EAAEtE,SAAS;QAC1C4E,aAAa,EAAEtE;MAChB,CAAC,CAAC;MAEF,OAAOoE,OAAO,CAACtB,eAAe,CAACyB,MAAM,GAClCH,OAAO,CAACtB,eAAe,GACvBvD,eAAe;IACnB;IAEA,MAAMiF,iBAAiB,GAAGtF,uBAAuB,CAACW,KAAK,EAAE,KAAK,CAAC;IAC/D,MAAM4E,UAAU,GAAG9E,eAAe,CAAC;MAClCC,YAAY,EAAEsB,gBAAgB;MAC9BrB,KAAK;MACLC,aAAa,EAAE0E,iBAAiB;MAChCzE;IACD,CAAC,CAAC;IAEFrB,+BAA+B,CAC9BuC,2BAA2B,EAC3B,MAAM,EACNwD,UAAU,EAAEhF,WAAW,EAAE0E,OAC1B,CAAC;IACDvF,0BAA0B,CAACoB,SAAS,EAAEc,aAAa,CAAC;IAEpD,MAAMsD,OAAO,GAAGnF,+BAA+B,CAAC;MAC/C2E,uBAAuB,EAAE,KAAK;MAC9BS,gBAAgB,EAAEL,aAAa,EAAEtE,SAAS;MAC1C4E,aAAa,EAAEG,UAAU,EAAE/E;IAC5B,CAAC,CAAC;IAEF,OAAO0E,OAAO,CAACtB,eAAe,CAACyB,MAAM,GAClCH,OAAO,CAACtB,eAAe,GACvBvD,eAAe;EACnB,CAAC,CAAC;EAEF,OAAO;IACNuD,eAAe;IACfxB;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { StackActions } from "@react-navigation/native";
|
|
4
|
+
import { dispatchCloseAction } from "../../../utils/navigation/close-action-replay";
|
|
3
5
|
import { buildBlankStackState } from "./helpers/build-blank-stack-state";
|
|
4
6
|
import { deriveBlankStackState } from "./helpers/derive-blank-stack-state";
|
|
5
|
-
const createPopAction = () => ({
|
|
6
|
-
type: "POP",
|
|
7
|
-
payload: {
|
|
8
|
-
count: 1
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
|
|
12
7
|
/**
|
|
13
8
|
* Maintains the stack-local route snapshot used while blank stack transitions run.
|
|
14
9
|
*
|
|
@@ -68,10 +63,13 @@ export const createBlankStackController = initialProps => {
|
|
|
68
63
|
navigation
|
|
69
64
|
} = props;
|
|
70
65
|
if (state.routes.some(candidate => candidate.key === route.key)) {
|
|
71
|
-
|
|
72
|
-
...
|
|
66
|
+
const action = {
|
|
67
|
+
...StackActions.pop(),
|
|
73
68
|
source: route.key,
|
|
74
69
|
target: state.key
|
|
70
|
+
};
|
|
71
|
+
dispatchCloseAction(action, closeAction => {
|
|
72
|
+
navigation.dispatch(closeAction);
|
|
75
73
|
});
|
|
76
74
|
return;
|
|
77
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["StackActions","dispatchCloseAction","buildBlankStackState","deriveBlankStackState","createBlankStackController","initialProps","closingRouteKeys","Set","props","previousRoutesSnapshot","state","routes","snapshot","descriptors","listeners","emit","listener","subscribe","add","delete","getSnapshot","update","nextProps","lastRoutesSnapshot","nextState","current","handleCloseRoute","route","navigation","some","candidate","key","action","pop","source","target","closeAction","dispatch","routeExists","nextRoutes","filter","nextDescriptors","sourceDescriptors","previousState","requestDismiss","routeIndex","findIndex","has"],"sourceRoot":"../../../../../src","sources":["providers/stack/blank-stack-state/blank-stack-controller.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,0BAA0B;AAOvD,SAASC,mBAAmB,QAAQ,+CAA+C;AACnF,SAASC,oBAAoB,QAAQ,mCAAmC;AACxE,SAASC,qBAAqB,QAAQ,oCAAoC;A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AAa,EAAElB;MAChB,CAAC;IACF,CAAC;IACDV,IAAI,CAAC,CAAC;EACP,CAAC;EAED,MAAM6B,cAAc,GAAGA,CAAC;IAAEjB;EAAiC,CAAC,KAAc;IACzE,MAAMF,OAAO,GAAGb,QAAQ,CAACF,KAAK;IAC9B,MAAMmC,UAAU,GAAGpB,OAAO,CAACd,MAAM,CAACmC,SAAS,CACzChB,SAAS,IAAKA,SAAS,CAACC,GAAG,KAAKJ,KAAK,CAACI,GACxC,CAAC;IAED,IAAIc,UAAU,IAAI,CAAC,EAAE;MACpB,OAAO,KAAK;IACb;IAEA,IAAIvC,gBAAgB,CAACyC,GAAG,CAACpB,KAAK,CAACI,GAAG,CAAC,EAAE;MACpC,OAAO,IAAI;IACZ;IAEAzB,gBAAgB,CAACY,GAAG,CAACS,KAAK,CAACI,GAAG,CAAC;IAC/BnB,QAAQ,GAAG;MACVF,KAAK,EAAER,oBAAoB,CAAC;QAC3BM,KAAK;QACLG,MAAM,EAAEc,OAAO,CAACd,MAAM;QACtBE,WAAW,EAAEY,OAAO,CAACiB,iBAAiB;QACtCpC,gBAAgB;QAChBqC,aAAa,EAAElB;MAChB,CAAC;IACF,CAAC;IACDV,IAAI,CAAC,CAAC;IACN,OAAO,IAAI;EACZ,CAAC;EAED,OAAO;IACNE,SAAS;IACTG,WAAW;IACXC,MAAM;IACNK,gBAAgB;IAChBkB;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -154,7 +154,7 @@ const writeDestination = (state, pairKey, linkKey, screenKey, bounds, styles, gr
|
|
|
154
154
|
}
|
|
155
155
|
syncLinkStatus(link);
|
|
156
156
|
writePairLink(state, pairKey, linkKey, link);
|
|
157
|
-
if (link.group) {
|
|
157
|
+
if (link.group && !state[pairKey]?.groups?.[link.group]) {
|
|
158
158
|
writeGroup(state, pairKey, link.group, linkKey);
|
|
159
159
|
}
|
|
160
160
|
};
|
|
@@ -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":["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,K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AAKP,SAAS,EAAE;IAC1D,IACC6B,eAAe,CAACtB,OAAO,EAAEY,GAAG,CAAC,CAAC7C,IAAI,EAAEG,WAAW,IAC/C6B,KAAK,CAACC,OAAO,CAAC,EAAEgB,cAAc,GAAGf,OAAO,CAAC,EACxC;MACD,OAAOD,OAAO;IACf;EACD;EACA,OAAO,IAAI;AACZ;AAEA,SAASyB,wBAAwBA,CAChCb,GAAU,EACVnB,SAAoB,EACG;EACvB,SAAS;;EACT,MAAMM,KAAK,GAAGlC,KAAK,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":[]}
|
|
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":["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;A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oC,OAAO,CAAC,KAAKP,SAAS,EAAE;IAC1D,IACC6B,eAAe,CAACtB,OAAO,EAAEY,GAAG,CAAC,CAAC7C,IAAI,EAAEG,WAAW,IAC/C6B,KAAK,CAACC,OAAO,CAAC,EAAEgB,cAAc,GAAGf,OAAO,CAAC,EACxC;MACD,OAAOD,OAAO;IACf;EACD;EACA,OAAO,IAAI;AACZ;AAEA,SAASyB,wBAAwBA,CAChCb,GAAU,EACVnB,SAAoB,EACG;EACvB,SAAS;;EACT,MAAMM,KAAK,GAAGlC,KAAK,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":["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":["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;AAyD1C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAGF,WAAW,CAAuC;EAC5EG,SAAS,EAAEA,CAAA,MAAO;IACjBC,cAAc,EAAEL,WAAW,CAAC,CAAC,CAAC;IAC9BM,iBAAiB,EAAEN,WAAW,CAAC,CAAC,CAAC;IACjCO,qBAAqB,EAAEP,WAAW,CAAC,CAAC,CAAC,CAAC;IACtCQ,qBAAqB,EAAER,WAAW,CAAgB,IAAI,CAAC;IACvDS,2BAA2B,EAAET,WAAW,CACvCE,8BAA8B,CAACQ,IAChC,CAAC;IACDC,6BAA6B,EAAEX,WAAW,CAAS,CAAC,CAAC;IACrDY,+BAA+B,EAAEZ,WAAW,CAAS,CAAC;EACvD,CAAC,CAAC;EACFa,UAAU,EAAGC,GAAG,IAAK;IACpBf,eAAe,CAACe,GAAG,CAACT,cAAc,CAAC;IACnCN,eAAe,CAACe,GAAG,CAACR,iBAAiB,CAAC;IACtCP,eAAe,CAACe,GAAG,CAACP,qBAAqB,CAAC;IAC1CR,eAAe,CAACe,GAAG,CAACN,qBAAqB,CAAC;IAC1CT,eAAe,CAACe,GAAG,CAACL,2BAA2B,CAAC;IAChDV,eAAe,CAACe,GAAG,CAACH,6BAA6B,CAAC;IAClDZ,eAAe,CAACe,GAAG,CAACF,+BAA+B,CAAC;EACrD,CAAC;EACDG,OAAO,EAAGD,GAAG,KAAM;IAClBE,0BAA0BA,CAACC,IAAI,EAAEC,MAAM,EAAE;MACxC,SAAS;;MACTJ,GAAG,CAACH,6BAA6B,CAACQ,GAAG,CAACD,MAAM,CAAC;MAC7CJ,GAAG,CAACL,2BAA2B,CAACU,GAAG,CAACF,IAAI,CAAC;IAC1C,CAAC;IAEDG,+BAA+BA,CAAA,EAAG;MACjC,SAAS;;MACTN,GAAG,CAACL,2BAA2B,CAACU,GAAG,CAACjB,8BAA8B,CAACQ,IAAI,CAAC;MACxEI,GAAG,CAACH,6BAA6B,CAACQ,GAAG,CAAC,CAAC,CAAC;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 { scheduleOnRN } from "react-native-worklets";
|
|
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
|
-
scheduleOnRN(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
|
-
scheduleOnRN(onAnimationFinish, state.finished);
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
94
|
} else {
|
|
113
|
-
if (onAnimationFinish) {
|
|
114
|
-
scheduleOnRN(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":["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,KACjB;EACJ,SAAS;;EAET,IAAID,SAAS,EAAE;IACdD,UAAU,CAACG,OAAO,CAACC,GAAG,CAACT,IAAI,CAAC;IAC5BK,UAAU,CAACK,QAAQ,CAACD,GAAG,CAACV,KAAK,CAAC;IAC9B;EACD;EAEAM,UAAU,CAACG,OAAO,CAACC,GAAG,CAACV,KAAK,CAAC;EAE7B,IAAIQ,YAAY,EAAE;IACjBF,UAAU,CAACK,QAAQ,CAACD,GAAG,CAACT,IAAI,CAAC;EAC9B;AACD,CAAC;AAED,OAAO,MAAMW,6BAA6B,GAAGA,CAC5CC,eAAuB,EACvBC,cAAsB,KAClB;EACJ,SAAS;;EACT,OAAO;IACNC,IAAI,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,GAAG,CAAC,CAAC,EAAEL,eAAe,CAAC,CAAC;IAC/CM,EAAE,EAAEL;EACL,CAAC;AACF,CAAC;AAED,OAAO,MAAMM,iBAAiB,GAAGA,CAAC;EACjCC,MAAM;EACNC,IAAI;EACJhB,UAAU;EACVQ,cAAc;EACdS,iBAAiB;EACjBC,eAAe,GAAG,IAAI;EACtBhB,YAAY,GAAG,IAAI;EACnBiB,eAAe;EACfC;AACuB,CAAC,KAAK;EAC7B,SAAS;;EAET;EACA,MAAMnB,SAAS,GACdc,MAAM,KAAK,OAAO,IAAK,OAAOA,MAAM,KAAK,QAAQ,IAAIA,MAAM,KAAK,CAAE;EACnE,MAAMM,KAA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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":["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":[]}
|
|
@@ -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/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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAgB/C,KAAK,mBAAmB,GAAG,IAAI,CAC9B,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,EAC1C,UAAU,CACV,GAAG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAG,wBAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAgB/C,KAAK,mBAAmB,GAAG,IAAI,CAC9B,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,EAC1C,UAAU,CACV,GAAG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAG,wBAAiC,CAAC;AA4E7E,eAAO,MAAM,cAAc,EAEtB,KAAK,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../src/components/boundary/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAKlB,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGtD,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,
|
|
1
|
+
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../src/components/boundary/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAKlB,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAGtD,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,GAiFX,KAAK,CAAC,mBAAmB,CACzD,KAAK,CAAC,yBAAyB,CAC9B,sBAAsB,CAAC,CAAC,CAAC,GACxB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CACxD,CACD,CACD"}
|
package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts
CHANGED
|
@@ -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/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/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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../src/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/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/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/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/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/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/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/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,iCAE3D,CAAC;AAEH,eAAO,MAAM,kBAAkB,wEAE7B,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.Element | null>;
|
|
11
|
+
export declare const PortalBoundaryHost: import("react").MemoExoticComponent<({ host, hostBounds, hostMeasurementKey, measuredHostKey, style, }: PortalBoundaryHostProps) => import("react").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/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/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,wCA0ExB,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/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/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/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/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAIhF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAIhF,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,7 +1,9 @@
|
|
|
1
|
+
import type { BoundaryLocalMeasurementValue } from "../../../../types";
|
|
1
2
|
interface UseBoundaryPortalAttachmentParams {
|
|
2
3
|
boundaryId: string;
|
|
4
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
3
5
|
}
|
|
4
|
-
export declare const useBoundaryPortalAttachment: ({ boundaryId, }: UseBoundaryPortalAttachmentParams) => {
|
|
6
|
+
export declare const useBoundaryPortalAttachment: ({ boundaryId, localMeasurement, }: UseBoundaryPortalAttachmentParams) => {
|
|
5
7
|
teleportProps: Partial<{
|
|
6
8
|
hostName: string | null;
|
|
7
9
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/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/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAMvE,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,6BAA6B,CAAC;CAChD;AAED,eAAO,MAAM,2BAA2B,GAAI,mCAGzC,iCAAiC;;;;CA6CnC,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/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/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;;;;CAqE1B,CAAC"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import type { View } from "react-native";
|
|
3
3
|
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
|
+
import type { BoundaryLocalMeasurementValue } from "../../../types";
|
|
4
5
|
type BoundaryPortalProps = {
|
|
5
6
|
boundaryId: string;
|
|
6
7
|
children: ReactNode;
|
|
7
8
|
enabled: boolean;
|
|
9
|
+
localMeasurement?: BoundaryLocalMeasurementValue;
|
|
8
10
|
placeholderRef?: AnimatedRef<View>;
|
|
9
11
|
};
|
|
10
|
-
export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, placeholderRef, }: BoundaryPortalProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined>;
|
|
12
|
+
export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, localMeasurement, placeholderRef, }: BoundaryPortalProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined>;
|
|
11
13
|
export {};
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|