react-native-screen-transitions 4.0.0-alpha.1 → 4.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/animation/snap-to.js +2 -0
- package/lib/commonjs/animation/snap-to.js.map +1 -1
- package/lib/commonjs/components/boundary/components/boundary-target.js +19 -20
- package/lib/commonjs/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/components/boundary/create-boundary-component.js +16 -2
- package/lib/commonjs/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js +5 -0
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js +1 -3
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/index.js +4 -3
- package/lib/commonjs/components/boundary/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +47 -188
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js +21 -13
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js +1 -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 +40 -33
- 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/offset-style.js +3 -4
- 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-boundary-portal-attachment.js +46 -131
- 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/index.js +45 -9
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +2 -29
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/utils/handoff-target.js +33 -0
- package/lib/commonjs/components/boundary/portal/utils/handoff-target.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js +19 -15
- package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/utils/teleport-control.js +1 -10
- package/lib/commonjs/components/boundary/portal/utils/teleport-control.js.map +1 -1
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js +18 -36
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/components/boundary/utils/refresh-signals.js +7 -0
- package/lib/commonjs/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/commonjs/components/boundary/utils/resolve-boundary-target.js +29 -0
- package/lib/commonjs/components/boundary/utils/resolve-boundary-target.js.map +1 -0
- package/lib/commonjs/components/masked-view.js +9 -1
- package/lib/commonjs/components/masked-view.js.map +1 -1
- package/lib/commonjs/components/screen-container/layers/backdrop.js +3 -1
- package/lib/commonjs/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/components/screen-container/layers/maybe-masked-navigation-container.js +9 -1
- package/lib/commonjs/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/commonjs/components/screen-lifecycle/hooks/use-transition-start-controller.js +2 -0
- package/lib/commonjs/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/commonjs/navigators/react-navigation/index.js +7 -8
- package/lib/commonjs/navigators/react-navigation/index.js.map +1 -1
- package/lib/commonjs/providers/helpers/measured-bounds-writes.js +4 -1
- package/lib/commonjs/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/gestures.provider.js +2 -8
- package/lib/commonjs/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
- package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pinch/activation/use-pinch-activation.js +37 -3
- package/lib/commonjs/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +1 -0
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-release.js +3 -2
- package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-release.js.map +1 -1
- package/lib/commonjs/providers/screen/gestures/types.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/helpers/transition-visual-state.js +42 -0
- package/lib/commonjs/providers/screen/styles/helpers/transition-visual-state.js.map +1 -0
- package/lib/commonjs/providers/screen/styles/helpers/visibility-gate.js +11 -5
- package/lib/commonjs/providers/screen/styles/helpers/visibility-gate.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js +23 -10
- package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/hooks/use-maybe-block-visibility.js +10 -8
- package/lib/commonjs/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/commonjs/stores/bounds/internals/links.js +4 -4
- package/lib/commonjs/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/stores/scroll.store.js +20 -2
- package/lib/commonjs/stores/scroll.store.js.map +1 -1
- package/lib/commonjs/stores/system.store.js +2 -0
- package/lib/commonjs/stores/system.store.js.map +1 -1
- package/lib/commonjs/utils/animation/animate-to-progress.js +23 -1
- package/lib/commonjs/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/commonjs/utils/animation/animate.js +14 -2
- package/lib/commonjs/utils/animation/animate.js.map +1 -1
- package/lib/commonjs/utils/animation/spring/spring.js +22 -2
- package/lib/commonjs/utils/animation/spring/spring.js.map +1 -1
- package/lib/commonjs/utils/animation/spring/springUtils.js +96 -0
- package/lib/commonjs/utils/animation/spring/springUtils.js.map +1 -1
- package/lib/commonjs/utils/animation/state.js +4 -0
- package/lib/commonjs/utils/bounds/navigation/reveal/math.js +17 -5
- package/lib/commonjs/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/build.js +44 -20
- package/lib/commonjs/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/drag.js +2 -31
- package/lib/commonjs/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/helpers.js +3 -17
- package/lib/commonjs/utils/bounds/navigation/zoom/helpers.js.map +1 -1
- package/lib/module/animation/snap-to.js +2 -0
- package/lib/module/animation/snap-to.js.map +1 -1
- package/lib/module/components/boundary/components/boundary-target.js +19 -20
- package/lib/module/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/components/boundary/create-boundary-component.js +17 -3
- package/lib/module/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js +5 -0
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js +1 -3
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/components/boundary/index.js +3 -2
- package/lib/module/components/boundary/index.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +49 -190
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js +21 -13
- package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js +2 -13
- 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 +43 -36
- 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/offset-style.js +3 -4
- 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-boundary-portal-attachment.js +50 -135
- 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/index.js +44 -9
- package/lib/module/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +1 -27
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/module/components/boundary/portal/utils/handoff-target.js +28 -0
- package/lib/module/components/boundary/portal/utils/handoff-target.js.map +1 -0
- package/lib/module/components/boundary/portal/utils/resolve-portal.js +19 -15
- package/lib/module/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/module/components/boundary/portal/utils/teleport-control.js +0 -8
- package/lib/module/components/boundary/portal/utils/teleport-control.js.map +1 -1
- package/lib/module/components/boundary/providers/boundary-root.provider.js +19 -37
- package/lib/module/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/components/boundary/utils/refresh-signals.js +7 -0
- package/lib/module/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/module/components/boundary/utils/resolve-boundary-target.js +24 -0
- package/lib/module/components/boundary/utils/resolve-boundary-target.js.map +1 -0
- package/lib/module/components/masked-view.js +10 -2
- package/lib/module/components/masked-view.js.map +1 -1
- package/lib/module/components/screen-container/layers/backdrop.js +3 -1
- package/lib/module/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/components/screen-container/layers/maybe-masked-navigation-container.js +10 -2
- package/lib/module/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/module/components/screen-lifecycle/hooks/use-transition-start-controller.js +2 -0
- package/lib/module/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
- package/lib/module/navigators/react-navigation/index.js +4 -6
- package/lib/module/navigators/react-navigation/index.js.map +1 -1
- package/lib/module/providers/helpers/measured-bounds-writes.js +4 -1
- package/lib/module/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/module/providers/screen/gestures/gestures.provider.js +2 -8
- package/lib/module/providers/screen/gestures/gestures.provider.js.map +1 -1
- package/lib/module/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
- package/lib/module/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/module/providers/screen/gestures/pinch/activation/use-pinch-activation.js +35 -2
- package/lib/module/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
- package/lib/module/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +1 -0
- package/lib/module/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
- package/lib/module/providers/screen/gestures/pinch/behavior/pinch-release.js +3 -2
- package/lib/module/providers/screen/gestures/pinch/behavior/pinch-release.js.map +1 -1
- package/lib/module/providers/screen/gestures/types.js.map +1 -1
- package/lib/module/providers/screen/styles/helpers/transition-visual-state.js +35 -0
- package/lib/module/providers/screen/styles/helpers/transition-visual-state.js.map +1 -0
- package/lib/module/providers/screen/styles/helpers/visibility-gate.js +11 -5
- package/lib/module/providers/screen/styles/helpers/visibility-gate.js.map +1 -1
- package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js +23 -10
- package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/providers/screen/styles/hooks/use-maybe-block-visibility.js +10 -8
- package/lib/module/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/module/stores/bounds/internals/links.js +4 -4
- package/lib/module/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/stores/scroll.store.js +17 -0
- package/lib/module/stores/scroll.store.js.map +1 -1
- package/lib/module/stores/system.store.js +2 -0
- package/lib/module/stores/system.store.js.map +1 -1
- package/lib/module/utils/animation/animate-to-progress.js +21 -0
- package/lib/module/utils/animation/animate-to-progress.js.map +1 -1
- package/lib/module/utils/animation/animate.js +14 -2
- package/lib/module/utils/animation/animate.js.map +1 -1
- package/lib/module/utils/animation/spring/spring.js +23 -3
- package/lib/module/utils/animation/spring/spring.js.map +1 -1
- package/lib/module/utils/animation/spring/springUtils.js +95 -0
- package/lib/module/utils/animation/spring/springUtils.js.map +1 -1
- package/lib/module/utils/animation/state.js +2 -0
- package/lib/module/utils/bounds/navigation/reveal/math.js +16 -5
- package/lib/module/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/build.js +46 -22
- package/lib/module/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/drag.js +2 -30
- package/lib/module/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/helpers.js +4 -18
- package/lib/module/utils/bounds/navigation/zoom/helpers.js.map +1 -1
- package/lib/typescript/animation/snap-to.d.ts.map +1 -1
- package/lib/typescript/components/boundary/components/boundary-target.d.ts +2 -1
- 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-refresh-boundary.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts +3 -4
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/index.d.ts +6 -9
- package/lib/typescript/components/boundary/index.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts +1 -3
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/index.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.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts +1 -10
- 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-boundary-portal-attachment.d.ts +1 -3
- 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-placeholder-styles.d.ts +2 -2
- package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts +2 -2
- 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/host-registry.store.d.ts +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +1 -10
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/utils/handoff-target.d.ts +12 -0
- package/lib/typescript/components/boundary/portal/utils/handoff-target.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts +2 -3
- package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/utils/teleport-control.d.ts +0 -4
- package/lib/typescript/components/boundary/portal/utils/teleport-control.d.ts.map +1 -1
- package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts +8 -12
- package/lib/typescript/components/boundary/providers/boundary-root.provider.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/boundary/utils/resolve-boundary-target.d.ts +12 -0
- package/lib/typescript/components/boundary/utils/resolve-boundary-target.d.ts.map +1 -0
- package/lib/typescript/components/create-transition-aware-component.d.ts +5 -6
- package/lib/typescript/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/components/masked-view.d.ts.map +1 -1
- package/lib/typescript/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
- package/lib/typescript/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +650 -702
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/navigators/react-navigation/index.d.ts +6 -17
- package/lib/typescript/navigators/react-navigation/index.d.ts.map +1 -1
- package/lib/typescript/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/gestures.provider.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts +2 -1
- package/lib/typescript/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts.map +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/pinch-release.d.ts.map +1 -1
- package/lib/typescript/providers/screen/gestures/types.d.ts +1 -9
- package/lib/typescript/providers/screen/gestures/types.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/helpers/transition-visual-state.d.ts +18 -0
- package/lib/typescript/providers/screen/styles/helpers/transition-visual-state.d.ts.map +1 -0
- package/lib/typescript/providers/screen/styles/helpers/visibility-gate.d.ts +2 -2
- package/lib/typescript/providers/screen/styles/helpers/visibility-gate.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/hooks/slot-resolvers.d.ts +4 -4
- package/lib/typescript/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +2 -2
- package/lib/typescript/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
- package/lib/typescript/stores/bounds/internals/links.d.ts +1 -1
- package/lib/typescript/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/stores/scroll.store.d.ts +7 -0
- package/lib/typescript/stores/scroll.store.d.ts.map +1 -1
- package/lib/typescript/stores/system.store.d.ts +5 -0
- package/lib/typescript/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/utils/animation/animate-to-progress.d.ts +6 -1
- package/lib/typescript/utils/animation/animate-to-progress.d.ts.map +1 -1
- package/lib/typescript/utils/animation/animate.d.ts +2 -2
- package/lib/typescript/utils/animation/animate.d.ts.map +1 -1
- package/lib/typescript/utils/animation/spring/spring.d.ts +2 -2
- package/lib/typescript/utils/animation/spring/spring.d.ts.map +1 -1
- package/lib/typescript/utils/animation/spring/springUtils.d.ts +3 -0
- package/lib/typescript/utils/animation/spring/springUtils.d.ts.map +1 -1
- package/lib/typescript/utils/animation/state.d.ts +6 -0
- package/lib/typescript/utils/animation/state.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/reveal/math.d.ts +9 -0
- package/lib/typescript/utils/bounds/navigation/reveal/math.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/zoom/drag.d.ts +2 -11
- package/lib/typescript/utils/bounds/navigation/zoom/drag.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/zoom/helpers.d.ts +7 -4
- package/lib/typescript/utils/bounds/navigation/zoom/helpers.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/animation/snap-to.ts +5 -0
- package/src/components/boundary/components/boundary-target.tsx +37 -23
- package/src/components/boundary/create-boundary-component.tsx +29 -3
- package/src/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +11 -0
- package/src/components/boundary/hooks/use-boundary-measurement.ts +3 -9
- package/src/components/boundary/index.tsx +4 -8
- package/src/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +73 -276
- package/src/components/boundary/portal/components/boundary-content-portal/index.tsx +31 -12
- package/src/components/boundary/portal/components/boundary-portal/components/host.tsx +2 -12
- package/src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +64 -62
- package/src/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts +2 -9
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +73 -187
- package/src/components/boundary/portal/components/boundary-portal/index.tsx +72 -12
- package/src/components/boundary/portal/components/boundary-portal/stores/host-registry.store.ts +0 -1
- package/src/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +2 -39
- package/src/components/boundary/portal/utils/handoff-target.ts +48 -0
- package/src/components/boundary/portal/utils/resolve-portal.ts +26 -18
- package/src/components/boundary/portal/utils/teleport-control.ts +0 -12
- package/src/components/boundary/providers/boundary-root.provider.tsx +28 -80
- package/src/components/boundary/utils/refresh-signals.ts +8 -0
- package/src/components/boundary/utils/resolve-boundary-target.tsx +39 -0
- package/src/components/masked-view.tsx +20 -4
- package/src/components/screen-container/layers/backdrop.tsx +3 -1
- package/src/components/screen-container/layers/maybe-masked-navigation-container.tsx +14 -4
- package/src/components/screen-lifecycle/hooks/use-transition-start-controller.ts +2 -0
- package/src/navigators/react-navigation/index.tsx +4 -48
- package/src/providers/helpers/measured-bounds-writes.ts +1 -0
- package/src/providers/screen/gestures/gestures.provider.tsx +2 -10
- package/src/providers/screen/gestures/pan/behavior/pan-lifecycle.ts +1 -0
- package/src/providers/screen/gestures/pinch/activation/use-pinch-activation.ts +74 -3
- package/src/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts +1 -0
- package/src/providers/screen/gestures/pinch/behavior/pinch-release.ts +2 -4
- package/src/providers/screen/gestures/types.ts +0 -14
- package/src/providers/screen/styles/helpers/transition-visual-state.ts +44 -0
- package/src/providers/screen/styles/helpers/visibility-gate.ts +17 -7
- package/src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +30 -15
- package/src/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +14 -13
- package/src/stores/bounds/internals/links.ts +13 -2
- package/src/stores/scroll.store.ts +23 -0
- package/src/stores/system.store.ts +8 -0
- package/src/utils/animation/animate-to-progress.ts +59 -28
- package/src/utils/animation/animate.ts +18 -2
- package/src/utils/animation/spring/spring.ts +36 -1
- package/src/utils/animation/spring/springUtils.ts +130 -0
- package/src/utils/animation/state.ts +8 -0
- package/src/utils/bounds/navigation/reveal/math.ts +21 -5
- package/src/utils/bounds/navigation/zoom/build.ts +77 -23
- package/src/utils/bounds/navigation/zoom/drag.ts +3 -42
- package/src/utils/bounds/navigation/zoom/helpers.ts +9 -23
- package/lib/commonjs/components/boundary/hooks/use-register-target.js +0 -32
- package/lib/commonjs/components/boundary/hooks/use-register-target.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-slot.js +0 -52
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/utils/ownership.js +0 -220
- package/lib/commonjs/components/boundary/portal/utils/ownership.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/utils/shallow-equal.js +0 -29
- package/lib/commonjs/components/boundary/portal/utils/shallow-equal.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/utils/visible-host.js +0 -25
- package/lib/commonjs/components/boundary/portal/utils/visible-host.js.map +0 -1
- package/lib/commonjs/providers/screen/gestures/rotation/activation/use-rotation-activation.js +0 -64
- package/lib/commonjs/providers/screen/gestures/rotation/activation/use-rotation-activation.js.map +0 -1
- package/lib/commonjs/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js +0 -21
- package/lib/commonjs/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js.map +0 -1
- package/lib/commonjs/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js +0 -29
- package/lib/commonjs/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js.map +0 -1
- package/lib/commonjs/providers/screen/gestures/rotation/use-build-rotation-gesture.js +0 -38
- package/lib/commonjs/providers/screen/gestures/rotation/use-build-rotation-gesture.js.map +0 -1
- package/lib/commonjs/providers/screen/styles/helpers/opening-phase.js +0 -32
- package/lib/commonjs/providers/screen/styles/helpers/opening-phase.js.map +0 -1
- package/lib/module/components/boundary/hooks/use-register-target.js +0 -27
- package/lib/module/components/boundary/hooks/use-register-target.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-slot.js +0 -47
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +0 -1
- package/lib/module/components/boundary/portal/utils/ownership.js +0 -213
- package/lib/module/components/boundary/portal/utils/ownership.js.map +0 -1
- package/lib/module/components/boundary/portal/utils/shallow-equal.js +0 -24
- package/lib/module/components/boundary/portal/utils/shallow-equal.js.map +0 -1
- package/lib/module/components/boundary/portal/utils/visible-host.js +0 -20
- package/lib/module/components/boundary/portal/utils/visible-host.js.map +0 -1
- package/lib/module/providers/screen/gestures/rotation/activation/use-rotation-activation.js +0 -59
- package/lib/module/providers/screen/gestures/rotation/activation/use-rotation-activation.js.map +0 -1
- package/lib/module/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js +0 -15
- package/lib/module/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js.map +0 -1
- package/lib/module/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js +0 -24
- package/lib/module/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js.map +0 -1
- package/lib/module/providers/screen/gestures/rotation/use-build-rotation-gesture.js +0 -33
- package/lib/module/providers/screen/gestures/rotation/use-build-rotation-gesture.js.map +0 -1
- package/lib/module/providers/screen/styles/helpers/opening-phase.js +0 -26
- package/lib/module/providers/screen/styles/helpers/opening-phase.js.map +0 -1
- package/lib/typescript/components/boundary/hooks/use-register-target.d.ts +0 -10
- package/lib/typescript/components/boundary/hooks/use-register-target.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts +0 -13
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/utils/ownership.d.ts +0 -34
- package/lib/typescript/components/boundary/portal/utils/ownership.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/utils/shallow-equal.d.ts +0 -8
- package/lib/typescript/components/boundary/portal/utils/shallow-equal.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/utils/visible-host.d.ts +0 -8
- package/lib/typescript/components/boundary/portal/utils/visible-host.d.ts.map +0 -1
- package/lib/typescript/providers/screen/gestures/rotation/activation/use-rotation-activation.d.ts +0 -15
- package/lib/typescript/providers/screen/gestures/rotation/activation/use-rotation-activation.d.ts.map +0 -1
- package/lib/typescript/providers/screen/gestures/rotation/behavior/rotation-lifecycle.d.ts +0 -4
- package/lib/typescript/providers/screen/gestures/rotation/behavior/rotation-lifecycle.d.ts.map +0 -1
- package/lib/typescript/providers/screen/gestures/rotation/behavior/use-rotation-behavior.d.ts +0 -5
- package/lib/typescript/providers/screen/gestures/rotation/behavior/use-rotation-behavior.d.ts.map +0 -1
- package/lib/typescript/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts +0 -9
- package/lib/typescript/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts.map +0 -1
- package/lib/typescript/providers/screen/styles/helpers/opening-phase.d.ts +0 -16
- package/lib/typescript/providers/screen/styles/helpers/opening-phase.d.ts.map +0 -1
- package/src/components/boundary/hooks/use-register-target.ts +0 -43
- package/src/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx +0 -80
- package/src/components/boundary/portal/utils/ownership.ts +0 -319
- package/src/components/boundary/portal/utils/shallow-equal.ts +0 -25
- package/src/components/boundary/portal/utils/visible-host.ts +0 -24
- package/src/providers/screen/gestures/rotation/activation/use-rotation-activation.ts +0 -88
- package/src/providers/screen/gestures/rotation/behavior/rotation-lifecycle.ts +0 -19
- package/src/providers/screen/gestures/rotation/behavior/use-rotation-behavior.ts +0 -47
- package/src/providers/screen/gestures/rotation/use-build-rotation-gesture.ts +0 -50
- package/src/providers/screen/styles/helpers/opening-phase.ts +0 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAY,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,0BAA0B,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,q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,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,+BAA+B,EAC/B,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type
|
|
3
|
-
import
|
|
1
|
+
import { type StackActionHelpers, type StackNavigationState, type StackRouterOptions, type StandardNavigationTypeBagBase } from "@react-navigation/native";
|
|
2
|
+
import type { BlankStackNavigationEventMap, BlankStackNavigationOptions } from "../../types/blank-stack.types";
|
|
3
|
+
import { type BlankStackStandardNavigatorProps } from "../create-blank-stack-navigator";
|
|
4
4
|
interface BlankStackStandardTypeBag extends StandardNavigationTypeBagBase {
|
|
5
5
|
State: StackNavigationState<this["ParamList"]>;
|
|
6
6
|
ActionHelpers: StackActionHelpers<this["ParamList"]>;
|
|
@@ -8,21 +8,10 @@ interface BlankStackStandardTypeBag extends StandardNavigationTypeBagBase {
|
|
|
8
8
|
EventMap: BlankStackNavigationEventMap;
|
|
9
9
|
RouterOptions: StackRouterOptions;
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
ParamList:
|
|
13
|
-
NavigatorID: NavigatorID;
|
|
14
|
-
State: StackNavigationState<ParamList>;
|
|
15
|
-
ScreenOptions: BlankStackNavigationOptions;
|
|
16
|
-
EventMap: BlankStackNavigationEventMap;
|
|
17
|
-
NavigationList: {
|
|
18
|
-
[RouteName in keyof ParamList]: BlankStackNavigationProp<ParamList, RouteName, NavigatorID>;
|
|
19
|
-
};
|
|
20
|
-
Navigator: React.ComponentType<BlankStackNavigatorProps>;
|
|
21
|
-
};
|
|
22
|
-
export declare const createBlankStackScreen: import("@react-navigation/core").StaticScreenFactory<BlankStackStandardTypeBag & {
|
|
23
|
-
ParamList: ParamListBase;
|
|
11
|
+
export declare const createBlankStackNavigator: import("@react-navigation/native").StandardNavigationCreateNavigator<BlankStackStandardTypeBag, BlankStackStandardNavigatorProps>, createBlankStackScreen: import("@react-navigation/core").StaticScreenFactory<BlankStackStandardTypeBag & {
|
|
12
|
+
ParamList: import("@react-navigation/core").ParamListBase;
|
|
24
13
|
NavigatorID: string | undefined;
|
|
14
|
+
Navigator: import("react").ComponentType<BlankStackStandardNavigatorProps>;
|
|
25
15
|
}>;
|
|
26
|
-
export declare function createBlankStackNavigator<const ParamList extends ParamListBase = ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = BlankStackTypeBagFor<ParamList, NavigatorID>, const Config extends StaticConfig<TypeBag> = StaticConfig<TypeBag>>(config?: Config): TypedNavigator<TypeBag, Config>;
|
|
27
16
|
export type { BlankStackFactoryOptions, BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackOverlayProps, BlankStackScreenProps, InactiveBehavior, } from "../../types/blank-stack.types";
|
|
28
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigators/react-navigation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigators/react-navigation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EAEzB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EACX,4BAA4B,EAC5B,2BAA2B,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEN,KAAK,gCAAgC,EACrC,MAAM,iCAAiC,CAAC;AAEzC,UAAU,yBAA0B,SAAQ,6BAA6B;IACxE,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC/C,aAAa,EAAE,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IACrD,aAAa,EAAE,2BAA2B,CAAC;IAC3C,QAAQ,EAAE,4BAA4B,CAAC;IACvC,aAAa,EAAE,kBAAkB,CAAC;CAClC;AAED,eAAO,MACW,yBAAyB,qIAC5B,sBAAsB;;;;EAQlC,CAAC;AAEJ,YAAY,EACX,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,GAChB,MAAM,+BAA+B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measured-bounds-writes.d.ts","sourceRoot":"","sources":["../../../../src/providers/helpers/measured-bounds-writes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,SAAS,GACX;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,KAAK,+BAA+B,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,cAAc,EAAE,UAAU,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACrC,QAAQ,+BAA+B,
|
|
1
|
+
{"version":3,"file":"measured-bounds-writes.d.ts","sourceRoot":"","sources":["../../../../src/providers/helpers/measured-bounds-writes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,SAAS,GACX;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,KAAK,+BAA+B,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,cAAc,EAAE,UAAU,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACrC,QAAQ,+BAA+B,SA4CvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gestures.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/gestures/gestures.provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gestures.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/gestures/gestures.provider.tsx"],"names":[],"mappings":"AAUA,OAAO,EAGN,KAAK,kBAAkB,EAEvB,MAAM,SAAS,CAAC;AAEjB,UAAU,0BAA0B;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MACN,qBAAqB,kDACI,iBAAiB,iCAoEzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pan-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pan/behavior/pan-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAelE,OAAO,KAAK,EACX,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,YAAY,GAAI,SAAS,iBAAiB,SAwBtD,CAAC;AAEF,eAAO,MAAM,eAAe,GAC3B,OAAO,eAAe,EACtB,UAAU,eAAe,EACzB,UAAU,iBAAiB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,EACjD,YAAY,iBAAiB,KAC3B,aAuCF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC9B,SAAS,gBAAgB,EACzB,SAAS,iBAAiB,EAC1B,eAAe,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACxD,YAAY,iBAAiB,EAC7B,UAAU,eAAe,EACzB,iBAAiB,MAAM,IAAI,EAC3B,0BAA0B,WAAW,CAAC,uBAAuB,CAAC,
|
|
1
|
+
{"version":3,"file":"pan-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pan/behavior/pan-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAelE,OAAO,KAAK,EACX,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,YAAY,GAAI,SAAS,iBAAiB,SAwBtD,CAAC;AAEF,eAAO,MAAM,eAAe,GAC3B,OAAO,eAAe,EACtB,UAAU,eAAe,EACzB,UAAU,iBAAiB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,EACjD,YAAY,iBAAiB,KAC3B,aAuCF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC9B,SAAS,gBAAgB,EACzB,SAAS,iBAAiB,EAC1B,eAAe,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACxD,YAAY,iBAAiB,EAC7B,UAAU,eAAe,EACzB,iBAAiB,MAAM,IAAI,EAC3B,0BAA0B,WAAW,CAAC,uBAAuB,CAAC,SAuE9D,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { GestureStateManager, GestureTouchEvent } from "react-native-gesture-handler";
|
|
2
|
-
import type
|
|
2
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
3
3
|
import type { GestureStoreMap } from "../../../../../stores/gesture.store";
|
|
4
4
|
import type { ScreenOptionsContextValue } from "../../../options";
|
|
5
5
|
import type { GestureCompositionOwner, PinchGestureRuntime } from "../../types";
|
|
6
6
|
export declare const updateAbsolutePinchFocalPoint: (event: GestureTouchEvent, gestures: GestureStoreMap, captureOrigin: boolean) => void;
|
|
7
|
+
export declare const updatePinchRotation: (event: GestureTouchEvent, gestures: GestureStoreMap, lastAngle: SharedValue<number>, accumulatedRotation: SharedValue<number>, captureOrigin: boolean) => void;
|
|
7
8
|
interface UsePinchActivationProps {
|
|
8
9
|
runtime: SharedValue<PinchGestureRuntime>;
|
|
9
10
|
screenOptions: ScreenOptionsContextValue;
|
package/lib/typescript/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-pinch-activation.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pinch/activation/use-pinch-activation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"use-pinch-activation.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pinch/activation/use-pinch-activation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,KAAK,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEhF,eAAO,MAAM,6BAA6B,GACzC,OAAO,iBAAiB,EACxB,UAAU,eAAe,EACzB,eAAe,OAAO,SAoBtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC/B,OAAO,iBAAiB,EACxB,UAAU,eAAe,EACzB,WAAW,WAAW,CAAC,MAAM,CAAC,EAC9B,qBAAqB,WAAW,CAAC,MAAM,CAAC,EACxC,eAAe,OAAO,SAmCtB,CAAC;AAEF,UAAU,uBAAuB;IAChC,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC1C,aAAa,EAAE,yBAAyB,CAAC;IACzC,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,kBAAkB,GAAI,sDAIhC,uBAAuB;2BAMhB,iBAAiB,gBACV,mBAAmB,GAAG,SAAS;2BAgDtC,iBAAiB,gBAAgB,mBAAmB;CAkD7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pinch-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACX,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,cAAc,GAAI,SAAS,mBAAmB,SAuB1D,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC7B,OAAO,iBAAiB,EACxB,UAAU,iBAAiB,EAC3B,UAAU,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,KACjD,eAsBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAChC,SAAS,kBAAkB,EAC3B,SAAS,mBAAmB,EAC5B,eAAe,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACxD,iBAAiB,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"pinch-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACX,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,cAAc,GAAI,SAAS,mBAAmB,SAuB1D,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC7B,OAAO,iBAAiB,EACxB,UAAU,iBAAiB,EAC3B,UAAU,mBAAmB,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,KACjD,eAsBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAChC,SAAS,kBAAkB,EAC3B,SAAS,mBAAmB,EAC5B,eAAe,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACxD,iBAAiB,MAAM,IAAI,SAwC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pinch-release.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pinch/behavior/pinch-release.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACX,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,MAAM,aAAa,CAAC;AAgErB,eAAO,MAAM,qBAAqB,GAAI,SAAS,mBAAmB,SAGjE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC/B,OAAO,iBAAiB,EACxB,SAAS,mBAAmB,KAC1B,
|
|
1
|
+
{"version":3,"file":"pinch-release.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/gestures/pinch/behavior/pinch-release.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACX,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,MAAM,aAAa,CAAC;AAgErB,eAAO,MAAM,qBAAqB,GAAI,SAAS,mBAAmB,SAGjE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC/B,OAAO,iBAAiB,EACxB,SAAS,mBAAmB,KAC1B,kBAuCF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,OAAO,iBAAiB,EACxB,SAAS,mBAAmB,KAC1B,kBA2DF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Gesture, GestureStateChangeEvent, GestureUpdateEvent, PanGestureHandlerEventPayload, PinchGestureHandlerEventPayload
|
|
1
|
+
import type { Gesture, GestureStateChangeEvent, GestureUpdateEvent, PanGestureHandlerEventPayload, PinchGestureHandlerEventPayload } from "react-native-gesture-handler";
|
|
2
2
|
import type { SharedValue } from "react-native-reanimated";
|
|
3
3
|
import type { AnimationStoreMap } from "../../../stores/animation.store";
|
|
4
4
|
import type { GestureStoreMap } from "../../../stores/gesture.store";
|
|
@@ -10,11 +10,9 @@ import type { ScreenTransitionConfig } from "../../../types/screen.types";
|
|
|
10
10
|
import type { EffectiveSnapPointsResult } from "./shared/snap-points";
|
|
11
11
|
export type PanGesture = ReturnType<typeof Gesture.Pan>;
|
|
12
12
|
export type PinchGesture = ReturnType<typeof Gesture.Pinch>;
|
|
13
|
-
export type RotationGesture = ReturnType<typeof Gesture.Rotation>;
|
|
14
13
|
export type ComposedGesture = ReturnType<typeof Gesture.Simultaneous>;
|
|
15
14
|
export type PanGestureEvent = GestureUpdateEvent<PanGestureHandlerEventPayload> | GestureStateChangeEvent<PanGestureHandlerEventPayload>;
|
|
16
15
|
export type PinchGestureEvent = GestureUpdateEvent<PinchGestureHandlerEventPayload> | GestureStateChangeEvent<PinchGestureHandlerEventPayload>;
|
|
17
|
-
export type RotationGestureEvent = GestureUpdateEvent<RotationGestureHandlerEventPayload> | GestureStateChangeEvent<RotationGestureHandlerEventPayload>;
|
|
18
16
|
/** Gesture that owns navigation release for the current simultaneous composition. */
|
|
19
17
|
export type GestureCompositionOwner = "pan" | "pinch" | null;
|
|
20
18
|
export type { ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, };
|
|
@@ -34,7 +32,6 @@ export interface GestureContextType {
|
|
|
34
32
|
detectorGesture: ComposedGesture;
|
|
35
33
|
panGesture: PanGesture;
|
|
36
34
|
pinchGesture: PinchGesture;
|
|
37
|
-
rotationGesture: RotationGesture;
|
|
38
35
|
scrollState: SharedValue<ScrollGestureState | null>;
|
|
39
36
|
gestureContext: GestureContextType | null;
|
|
40
37
|
claimedDirections: ClaimedDirections;
|
|
@@ -96,7 +93,6 @@ export interface GestureRuntime<TPolicy extends GesturePolicy> {
|
|
|
96
93
|
}
|
|
97
94
|
export type PanGestureRuntime = GestureRuntime<PanGesturePolicy>;
|
|
98
95
|
export type PinchGestureRuntime = GestureRuntime<PinchGesturePolicy>;
|
|
99
|
-
export type RotationGestureRuntime = GestureRuntime<PinchGesturePolicy>;
|
|
100
96
|
export interface GestureDimensions {
|
|
101
97
|
width: number;
|
|
102
98
|
height: number;
|
|
@@ -153,8 +149,4 @@ export interface PinchBehavior {
|
|
|
153
149
|
onUpdate: (event: PinchGestureEvent) => void;
|
|
154
150
|
onEnd: (event: PinchGestureEvent) => void;
|
|
155
151
|
}
|
|
156
|
-
export interface RotationBehavior {
|
|
157
|
-
onStart: () => void;
|
|
158
|
-
onUpdate: (event: RotationGestureEvent) => void;
|
|
159
|
-
}
|
|
160
152
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/gestures/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,OAAO,EACP,uBAAuB,EACvB,kBAAkB,EAClB,6BAA6B,EAC7B,+BAA+B,EAC/B,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/gestures/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,OAAO,EACP,uBAAuB,EACvB,kBAAkB,EAClB,6BAA6B,EAC7B,+BAA+B,EAC/B,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EACX,eAAe,EACf,cAAc,EACd,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACX,iBAAiB,EACjB,6BAA6B,EAC7B,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,wBAAwB,EACxB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EACX,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAA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IAAI,CAAC;IAC5C,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC1C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Visual lifecycle boundaries use the internal directional clock rather than
|
|
3
|
+
* physical transition progress, which may overshoot or revisit an endpoint.
|
|
4
|
+
*/
|
|
5
|
+
export declare const hasOpenTransitionStarted: ({ pendingLifecycleStartBlockCount, animationProgress, }: {
|
|
6
|
+
pendingLifecycleStartBlockCount: number;
|
|
7
|
+
animationProgress: number;
|
|
8
|
+
}) => boolean;
|
|
9
|
+
export declare const isOpenTransitionBlocked: ({ opening, pendingLifecycleStartBlockCount, animationProgress, }: {
|
|
10
|
+
opening: boolean;
|
|
11
|
+
pendingLifecycleStartBlockCount: number;
|
|
12
|
+
animationProgress: number;
|
|
13
|
+
}) => boolean;
|
|
14
|
+
export declare const hasCloseTransitionFinished: ({ closing, animationProgress, }: {
|
|
15
|
+
closing: number;
|
|
16
|
+
animationProgress: number;
|
|
17
|
+
}) => boolean;
|
|
18
|
+
//# sourceMappingURL=transition-visual-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transition-visual-state.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/helpers/transition-visual-state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,yDAGtC;IACF,+BAA+B,EAAE,MAAM,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YAGA,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,kEAIrC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,+BAA+B,EAAE,MAAM,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YASA,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,iCAGxC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;CAC1B,YAGA,CAAC"}
|
|
@@ -4,13 +4,13 @@ type ScreenVisibilityGateState = {
|
|
|
4
4
|
hasVisibilityGateOpened: boolean;
|
|
5
5
|
pendingLifecycleStartBlockCount: number;
|
|
6
6
|
pendingLifecycleRequestKind: LifecycleTransitionRequestKind;
|
|
7
|
-
|
|
7
|
+
animationProgress: number;
|
|
8
8
|
entering: number;
|
|
9
9
|
};
|
|
10
10
|
type ScreenVisibilityGateDecision = {
|
|
11
11
|
shouldBlock: boolean;
|
|
12
12
|
shouldOpenGate: boolean;
|
|
13
13
|
};
|
|
14
|
-
export declare const resolveScreenVisibilityGate: ({ isFloatingOverlay, hasVisibilityGateOpened, pendingLifecycleStartBlockCount, pendingLifecycleRequestKind,
|
|
14
|
+
export declare const resolveScreenVisibilityGate: ({ isFloatingOverlay, hasVisibilityGateOpened, pendingLifecycleStartBlockCount, pendingLifecycleRequestKind, animationProgress, entering, }: ScreenVisibilityGateState) => ScreenVisibilityGateDecision;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=visibility-gate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibility-gate.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/helpers/visibility-gate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"visibility-gate.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/helpers/visibility-gate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAMjF,KAAK,yBAAyB,GAAG;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,uBAAuB,EAAE,OAAO,CAAC;IACjC,+BAA+B,EAAE,MAAM,CAAC;IACxC,2BAA2B,EAAE,8BAA8B,CAAC;IAC5D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,4BAA4B,GAAG;IACnC,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,4IAOzC,yBAAyB,KAAG,4BA2B9B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const useSlotStyles: (slotId: string | undefined) => import("react-native-reanimated").StyleProps
|
|
2
|
-
export declare const useComposedSlotStyles: (slotId: string | undefined, style: unknown) => import("react-native-reanimated").StyleProps
|
|
1
|
+
export declare const useSlotStyles: (slotId: string | undefined) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<import("react-native-reanimated").StyleProps>;
|
|
2
|
+
export declare const useComposedSlotStyles: (slotId: string | undefined, style: unknown) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<import("react-native-reanimated").StyleProps>;
|
|
3
3
|
/**
|
|
4
4
|
* Stacking-only slice (`zIndex`/`elevation`) of a slot's style. Returned
|
|
5
5
|
* separately so an owner can keep just its stacking context while a nested
|
|
6
6
|
* target takes the full associated style. Yields `NO_STYLES` when neither is set.
|
|
7
7
|
*/
|
|
8
|
-
export declare const useSlotStackingStyles: (slotId: string | undefined) => Readonly<{}
|
|
9
|
-
export declare const useSlotLayoutStyles: (slotId: string | undefined) => Readonly<{}
|
|
8
|
+
export declare const useSlotStackingStyles: (slotId: string | undefined) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<Readonly<{}>>;
|
|
9
|
+
export declare const useSlotLayoutStyles: (slotId: string | undefined) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<Readonly<{}>>;
|
|
10
10
|
export declare const useSlotProps: (slotId: string | undefined) => object;
|
|
11
11
|
//# sourceMappingURL=slot-resolvers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,GAAG,SAAS,wIAavD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,QAAQ,MAAM,GAAG,SAAS,EAC1B,OAAO,OAAO,wIAkBd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,GAAG,SAAS,wGAc/D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,GAAG,SAAS,wGAmC7D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,GAAG,SAAS,WAMtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAuFvE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB;;;CAkKpC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const useMaybeBlockVisibility: (isFloatingOverlay?: boolean) => {
|
|
2
|
-
animatedStyle: {
|
|
2
|
+
animatedStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
3
3
|
opacity: number;
|
|
4
4
|
transform?: undefined;
|
|
5
5
|
} | {
|
|
@@ -7,7 +7,7 @@ export declare const useMaybeBlockVisibility: (isFloatingOverlay?: boolean) => {
|
|
|
7
7
|
translateY: number;
|
|
8
8
|
}[];
|
|
9
9
|
opacity?: undefined;
|
|
10
|
-
}
|
|
10
|
+
}>;
|
|
11
11
|
animatedProps: Partial<{
|
|
12
12
|
pointerEvents: "box-none" | "none";
|
|
13
13
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO;;;;;;;;;;;;;;CA2ElE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
|
|
2
2
|
import type { BoundaryRuntimeFlags, GroupKey, LinkKey, ScreenKey, ScreenPairKey, TagID, TagLink } from "../types";
|
|
3
3
|
declare function setSource(pairKey: ScreenPairKey, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, group?: GroupKey, runtimeFlags?: BoundaryRuntimeFlags): void;
|
|
4
|
-
declare function setDestination(pairKey: ScreenPairKey, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, group?: GroupKey): void;
|
|
4
|
+
declare function setDestination(pairKey: ScreenPairKey, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, group?: GroupKey, runtimeFlags?: BoundaryRuntimeFlags): void;
|
|
5
5
|
declare function setActiveGroupId(pairKey: ScreenPairKey, group: GroupKey, tag: TagID): void;
|
|
6
6
|
declare function requestSourceMeasure(pairKey: ScreenPairKey, tag: TagID): void;
|
|
7
7
|
declare function getActiveGroupId(pairKey: ScreenPairKey, group: GroupKey): LinkKey | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../src/stores/bounds/internals/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAa9E,OAAO,KAAK,EACX,oBAAoB,EACpB,QAAQ,EACR,OAAO,EAEP,SAAS,EACT,aAAa,EAEb,KAAK,EACL,OAAO,EACP,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../src/stores/bounds/internals/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAa9E,OAAO,KAAK,EACX,oBAAoB,EACpB,QAAQ,EACR,OAAO,EAEP,SAAS,EACT,aAAa,EAEb,KAAK,EACL,OAAO,EACP,MAAM,UAAU,CAAC;AAgOlB,iBAAS,SAAS,CACjB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,KAAK,CAAC,EAAE,QAAQ,EAChB,YAAY,GAAE,oBAAyB,QAoCvC;AAED,iBAAS,cAAc,CACtB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,KAAK,CAAC,EAAE,QAAQ,EAChB,YAAY,GAAE,oBAAyB,QAmBvC;AAED,iBAAS,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,QAO5E;AAED,iBAAS,oBAAoB,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,QAe/D;AAED,iBAAS,gBAAgB,CACxB,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,QAAQ,GACb,OAAO,GAAG,IAAI,CAGhB;AAED,iBAAS,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI,CAGnE;AASD,iBAAS,eAAe,CACvB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,GACR;IAAE,GAAG,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAA;CAAE,CAiCtC;AAED,iBAAS,SAAS,CACjB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,GACR,OAAO,CAAC,QAAQ,CAAC,GAAG,IAAI,CAG1B;AAED,iBAAS,cAAc,CACtB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,GACR,OAAO,CAAC,aAAa,CAAC,GAAG,IAAI,CAG/B;AAED,OAAO,EACN,gBAAgB,EAChB,cAAc,EACd,OAAO,EACP,eAAe,EACf,SAAS,EACT,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,SAAS,GACT,CAAC"}
|
|
@@ -16,6 +16,13 @@ export declare const clampScrollAxisOffset: (axisState: ScrollGestureAxisState |
|
|
|
16
16
|
* one axis. Returns 0 when either side does not track the axis.
|
|
17
17
|
*/
|
|
18
18
|
export declare const getClampedScrollAxisDelta: (current: ScrollMetadataState | null | undefined, captured: ScrollMetadataState | null | undefined, axis: ScrollGestureAxis) => number;
|
|
19
|
+
/**
|
|
20
|
+
* Visual scroll travel from a bounds snapshot normalized to its at-rest
|
|
21
|
+
* position. The captured side is clamped because measurement removes transient
|
|
22
|
+
* rubber-band displacement; the current side stays raw so consumers can follow
|
|
23
|
+
* the position that is actually visible on iOS.
|
|
24
|
+
*/
|
|
25
|
+
export declare const getVisualScrollAxisDelta: (current: ScrollMetadataState | null | undefined, captured: ScrollMetadataState | null | undefined, axis: ScrollGestureAxis) => number;
|
|
19
26
|
export declare const ScrollStore: {
|
|
20
27
|
createMetadataWriterId: () => string;
|
|
21
28
|
claimMetadataWriter: (routeKey: ScreenKey, axis: ScrollGestureAxis, writerId: string) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll.store.d.ts","sourceRoot":"","sources":["../../../src/stores/scroll.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACX,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvD,MAAM,MAAM,cAAc,GAAG;IAC5B,YAAY,EAAE,WAAW,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IACrD,QAAQ,EAAE,WAAW,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;CAClD,CAAC;AAuDF,eAAO,MAAM,wBAAwB,GACpC,QAAQ,mBAAmB,GAAG,IAAI,GAAG,SAAS,KAC5C,mBAAmB,GAAG,IAyBxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GACjC,WAAW,sBAAsB,GAAG,IAAI,GAAG,SAAS,KAClD,MAAM,GAAG,IASX,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GACrC,SAAS,mBAAmB,GAAG,IAAI,GAAG,SAAS,EAC/C,UAAU,mBAAmB,GAAG,IAAI,GAAG,SAAS,EAChD,MAAM,iBAAiB,KACrB,MAWF,CAAC;AAkBF,eAAO,MAAM,WAAW;;
|
|
1
|
+
{"version":3,"file":"scroll.store.d.ts","sourceRoot":"","sources":["../../../src/stores/scroll.store.ts"],"names":[],"mappings":"AAAA,OAA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ress: SharedValue<number>;
|
|
11
|
+
/**
|
|
12
|
+
* Directional linear clock for the active progress animation. Increasing
|
|
13
|
+
* animations run 0 -> 1; decreasing animations run 1 -> 0.
|
|
14
|
+
*/
|
|
15
|
+
animationProgress: SharedValue<number>;
|
|
11
16
|
/**
|
|
12
17
|
* Resolved fraction (contentHeight / screenHeight) for the 'auto' snap point. -1 = not yet measured.
|
|
13
18
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.store.d.ts","sourceRoot":"","sources":["../../../src/stores/system.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,oBAAY,8BAA8B;IACzC,IAAI,IAAI;IACR,IAAI,IAAI;IACR,eAAe,IAAI;IACnB,WAAW,IAAI;CACf;AAED,KAAK,gBAAgB,GAAG;IACvB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAElD;;OAEG;IACH,2BAA2B,EAAE,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAEzE;;OAEG;IACH,6BAA6B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnD;;;OAGG;IACH,+BAA+B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,0BAA0B,CACzB,IAAI,EAAE,8BAA8B,EACpC,MAAM,EAAE,MAAM,GACZ,IAAI,CAAC;IACR,+BAA+B,IAAI,IAAI,CAAC;IACxC,mBAAmB,IAAI,IAAI,CAAC;IAC5B,qBAAqB,IAAI,IAAI,CAAC;IAC9B,yBAAyB,IAAI,IAAI,CAAC;CA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AAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;EA2DtB,CAAC"}
|
|
@@ -13,11 +13,16 @@ interface AnimateToProgressProps {
|
|
|
13
13
|
onAnimationFinish?: (finished: boolean) => void;
|
|
14
14
|
animations: AnimationStoreMap;
|
|
15
15
|
targetProgress: SharedValue<number>;
|
|
16
|
+
animationProgress: SharedValue<number>;
|
|
16
17
|
emitWillAnimate?: boolean;
|
|
17
18
|
markEntering?: boolean;
|
|
18
19
|
/** Optional initial velocity for spring-based progress (units: progress/sec). */
|
|
19
20
|
initialVelocity?: number;
|
|
20
21
|
}
|
|
21
|
-
export declare const
|
|
22
|
+
export declare const resolveAnimationProgressRange: (currentProgress: number, targetProgress: number) => {
|
|
23
|
+
from: number;
|
|
24
|
+
to: number;
|
|
25
|
+
};
|
|
26
|
+
export declare const animateToProgress: ({ target, spec, onAnimationFinish, animations, targetProgress, animationProgress, emitWillAnimate, markEntering, initialVelocity, }: AnimateToProgressProps) => void;
|
|
22
27
|
export {};
|
|
23
28
|
//# sourceMappingURL=animate-to-progress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animate-to-progress.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/animate-to-progress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAGlE,UAAU,sBAAsB;IAC/B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,UAAU,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;
|
|
1
|
+
{"version":3,"file":"animate-to-progress.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/animate-to-progress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAGlE,UAAU,sBAAsB;IAC/B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,UAAU,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAsBD,eAAO,MAAM,6BAA6B,GACzC,iBAAiB,MAAM,EACvB,gBAAgB,MAAM;;;CAOtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,qIAU/B,sBAAsB,SAyHxB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { WithTimingConfig } from "react-native-reanimated";
|
|
2
2
|
import { type SpringConfig } from "./spring";
|
|
3
|
-
import type { AnimationStateCallback } from "./state";
|
|
3
|
+
import type { AnimationProgressDriver, AnimationStateCallback } from "./state";
|
|
4
4
|
export type TimingAnimationConfig = WithTimingConfig;
|
|
5
5
|
export type SpringAnimationConfig = SpringConfig;
|
|
6
6
|
export type ScreenAnimationConfig = SpringAnimationConfig | TimingAnimationConfig;
|
|
7
7
|
export declare const isSpringAnimationConfig: (config: ScreenAnimationConfig | undefined) => config is SpringAnimationConfig;
|
|
8
|
-
export declare const animate: (toValue: number, config?: ScreenAnimationConfig, callback?: AnimationStateCallback) => number;
|
|
8
|
+
export declare const animate: (toValue: number, config?: ScreenAnimationConfig, callback?: AnimationStateCallback, animationProgress?: AnimationProgressDriver) => number;
|
|
9
9
|
//# sourceMappingURL=animate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animate.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/animate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"animate.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/animate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAE/E,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AACrD,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC;AACjD,MAAM,MAAM,qBAAqB,GAC9B,qBAAqB,GACrB,qBAAqB,CAAC;AAOzB,eAAO,MAAM,uBAAuB,GACnC,QAAQ,qBAAqB,GAAG,SAAS,KACvC,MAAM,IAAI,qBAgBZ,CAAC;AAEF,eAAO,MAAM,OAAO,GACnB,SAAS,MAAM,EACf,SAAS,qBAAqB,EAC9B,WAAW,sBAAsB,EACjC,oBAAoB,uBAAuB,WA0B3C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AnimationStateCallback } from "../state";
|
|
1
|
+
import type { AnimationProgressDriver, AnimationStateCallback } from "../state";
|
|
2
2
|
import type { SpringConfig } from "./springConfigs";
|
|
3
|
-
type withSpringType = (toValue: number, userConfig?: SpringConfig, callback?: AnimationStateCallback) => number;
|
|
3
|
+
type withSpringType = (toValue: number, userConfig?: SpringConfig, callback?: AnimationStateCallback, animationProgress?: AnimationProgressDriver) => number;
|
|
4
4
|
/**
|
|
5
5
|
* Internal numeric spring forked from Reanimated's `withSpring`.
|
|
6
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spring.d.ts","sourceRoot":"","sources":["../../../../../src/utils/animation/spring/spring.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"spring.d.ts","sourceRoot":"","sources":["../../../../../src/utils/animation/spring/spring.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AA+FpD,KAAK,cAAc,GAAG,CACrB,OAAO,EAAE,MAAM,EACf,UAAU,CAAC,EAAE,YAAY,EACzB,QAAQ,CAAC,EAAE,sBAAsB,EACjC,iBAAiB,CAAC,EAAE,uBAAuB,KACvC,MAAM,CAAC;AAEZ;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kBAAkB,EA+Pd,cAAc,CAAC"}
|
|
@@ -21,6 +21,8 @@ export interface SpringAnimation extends Animation<SpringAnimation> {
|
|
|
21
21
|
omega0: number;
|
|
22
22
|
omega1: number;
|
|
23
23
|
initialEnergy: number;
|
|
24
|
+
animationProgressElapsed: number;
|
|
25
|
+
animationProgressDuration: number;
|
|
24
26
|
}
|
|
25
27
|
export type InnerSpringAnimation = SpringAnimation;
|
|
26
28
|
export declare function checkIfConfigIsValid(config: DefaultSpringConfig): boolean;
|
|
@@ -62,6 +64,7 @@ export declare function underDampedSpringCalculations(animation: InnerSpringAnim
|
|
|
62
64
|
position: number;
|
|
63
65
|
velocity: number;
|
|
64
66
|
};
|
|
67
|
+
export declare function calculateSpringAnimationDuration(animation: InnerSpringAnimation, config: DefaultSpringConfig & SpringConfigInner): number;
|
|
65
68
|
export declare function isAnimationTerminatingCalculation(animation: InnerSpringAnimation, config: DefaultSpringConfig & SpringConfigInner): boolean;
|
|
66
69
|
export declare function isAnimationSettledCalculation(animation: InnerSpringAnimation, config: DefaultSpringConfig & SpringConfigInner): boolean;
|
|
67
70
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"springUtils.d.ts","sourceRoot":"","sources":["../../../../../src/utils/animation/spring/springUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,KAAK,SAAS,GAAG,MAAM,CAAC;AAIxB,MAAM,MAAM,mBAAmB,GAAG;KAChC,CAAC,IAAI,MAAM,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,cAAc,GAAG,OAAO,GACpE,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,GACrC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,WAAW,iBAAiB;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAgB,SAAQ,SAAS,CAAC,eAAe,CAAC;IAClE,OAAO,EAAE,MAAM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,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAkBxC;AAED,wBAAgB,6BAA6B,CAC5C,SAAS,EAAE,oBAAoB,EAC/B,mBAAmB,EAAE;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,MAAM,CAAC;CACV,GACC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAuBxC;AAMD,wBAAgB,gCAAgC,CAC/C,SAAS,EAAE,oBAAoB,EAC/B,MAAM,EAAE,mBAAmB,GAAG,iBAAiB,GAC7C,MAAM,CAuHR;AAED,wBAAgB,iCAAiC,CAChD,SAAS,EAAE,oBAAoB,EAC/B,MAAM,EAAE,mBAAmB,GAAG,iBAAiB,GAC7C,OAAO,CAsBT;AAED,wBAAgB,6BAA6B,CAC5C,SAAS,EAAE,oBAAoB,EAC/B,MAAM,EAAE,mBAAmB,GAAG,iBAAiB,GAC7C,OAAO,CAuBT"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import type { SharedValue } from "react-native-reanimated";
|
|
1
2
|
export type AnimationState = {
|
|
2
3
|
finished: boolean;
|
|
3
4
|
settled: boolean;
|
|
4
5
|
};
|
|
5
6
|
export type AnimationStateCallback = (state: AnimationState) => void;
|
|
7
|
+
export type AnimationProgressDriver = {
|
|
8
|
+
value: SharedValue<number>;
|
|
9
|
+
from: number;
|
|
10
|
+
to: number;
|
|
11
|
+
};
|
|
6
12
|
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/state.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/utils/animation/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;AAErE,MAAM,MAAM,uBAAuB,GAAG;IACrC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACX,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MeasuredDimensions } from "react-native-reanimated";
|
|
2
2
|
import type { Layout } from "../../../../types/screen.types";
|
|
3
|
+
import type { ContentTransformGeometry } from "../../types/geometry";
|
|
3
4
|
import type { BoundsAnchor } from "../../types/options";
|
|
4
5
|
export declare function mixUnit(from: number, to: number, progress: number): number;
|
|
5
6
|
export declare function interpolateClamped(value: number, inputStart: number, inputEnd: number, outputStart: number, outputEnd: number): number;
|
|
@@ -32,6 +33,14 @@ export declare function resolveAspectRatioMaskHeight({ maskWidth, maskHeight, ta
|
|
|
32
33
|
targetWidth: number;
|
|
33
34
|
targetHeight: number;
|
|
34
35
|
}): number;
|
|
36
|
+
export declare function resolveRevealContentBaseTransformFromGeometry({ progress, geometry, }: {
|
|
37
|
+
progress: number;
|
|
38
|
+
geometry: ContentTransformGeometry;
|
|
39
|
+
}): {
|
|
40
|
+
translateX: number;
|
|
41
|
+
translateY: number;
|
|
42
|
+
scale: number;
|
|
43
|
+
};
|
|
35
44
|
export declare function resolveRevealContentBaseTransform({ progress, sourceBounds, destinationBounds, screenLayout, anchor, }: {
|
|
36
45
|
progress: number;
|
|
37
46
|
sourceBounds: MeasuredDimensions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/bounds/navigation/reveal/math.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAYxD,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAGjE;AAED,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,UAQjB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,UAG7C;AAED,eAAO,MAAM,0BAA0B,GACtC,aAAa,MAAM,EACnB,WAAW,MAAM,WAejB,CAAC;AAEF,wBAAgB,iCAAiC,CAChD,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,OAAO,UAajB;AAED,wBAAgB,mBAAmB,CAAC,EACnC,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,GACjB,EAAE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;CAC1B,UAWA;AAED,wBAAgB,2BAA2B,CAAC,EAC3C,OAAO,EACP,cAAc,GACd,EAAE;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;CACvB;;;EAoBA;AAED,wBAAgB,0BAA0B,CAAC,EAC1C,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,aAAa,GACb,EAAE;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACtB,UAYA;AAED,wBAAgB,4BAA4B,CAAC,EAC5C,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,GACZ,EAAE;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACrB,UAWA;AAYD,wBAAgB,iCAAiC,CAAC,EACjD,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,MAAM,GACN,EAAE;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB;;;;
|
|
1
|
+
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/bounds/navigation/reveal/math.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAYxD,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAGjE;AAED,wBAAgB,kBAAkB,CACjC,KAAK,EAAE,MAAM,EACb,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MAAM,CAAC;IACjB,QAAQ,EAAE,wBAAwB,CAAC;CACnC;;;;EAQA;AAED,wBAAgB,iCAAiC,CAAC,EACjD,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,MAAM,GACN,EAAE;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB;;;;EAgBA;AAED,wBAAgB,oCAAoC,CAAC,EACpD,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,YAAY,GACZ,EAAE;IACF,YAAY,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACrB;;;;;EAuCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/bounds/navigation/zoom/build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/bounds/navigation/zoom/build.ts"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAE5E,wBAAgB,eAAe,CAAC,EAC/B,GAAG,EACH,KAAK,EACL,WAAW,GACX,EAAE,qBAAqB,GAAG,qBAAqB,CA0U/C"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { MeasuredDimensions } from "react-native-reanimated";
|
|
2
1
|
import type { BoundsInterpolationProps, BoundsNavigationZoomDragOptions } from "../../../../types/bounds.types";
|
|
3
2
|
import type { Layout } from "../../../../types/screen.types";
|
|
4
3
|
type ZoomGesture = BoundsInterpolationProps["active"]["gesture"];
|
|
@@ -36,20 +35,12 @@ export declare function resolveZoomCrossAxisDragTranslation({ translation, dimen
|
|
|
36
35
|
export declare function resolveZoomDragScale(normalized: number): number;
|
|
37
36
|
export declare function resolveZoomPinchScale(scale: number): number;
|
|
38
37
|
export declare function resolveZoomDismissalNorm(normalized: number, isInverted: boolean): number;
|
|
39
|
-
export declare function resolveZoomDragState({ gesture, activeTransitionProgress, screenLayout,
|
|
38
|
+
export declare function resolveZoomDragState({ gesture, activeTransitionProgress, screenLayout, collapsedContentScale, dragOptions, }: {
|
|
40
39
|
gesture: ZoomGesture;
|
|
41
40
|
activeTransitionProgress: number;
|
|
42
41
|
screenLayout: Layout;
|
|
43
|
-
|
|
44
|
-
trackingContentTarget: MeasuredDimensions;
|
|
42
|
+
collapsedContentScale: number;
|
|
45
43
|
dragOptions?: BoundsNavigationZoomDragOptions;
|
|
46
44
|
}): ZoomDragState;
|
|
47
|
-
export declare function resolveZoomTrackedGestureScale({ drag, activeTransitionProgress, screenLayout, sourceBounds, trackingContentTarget, }: {
|
|
48
|
-
drag: ZoomDragState;
|
|
49
|
-
activeTransitionProgress: number;
|
|
50
|
-
screenLayout: Layout;
|
|
51
|
-
sourceBounds: MeasuredDimensions;
|
|
52
|
-
trackingContentTarget: MeasuredDimensions;
|
|
53
|
-
}): number;
|
|
54
45
|
export {};
|
|
55
46
|
//# sourceMappingURL=drag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/bounds/navigation/zoom/drag.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drag.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/bounds/navigation/zoom/drag.ts"],"names":[],"mappings":"AACA,O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,oBAAoB,CAAC,UAAU,EAAE,MAAM,UAatD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,UAGlD;AAED,wBAAgB,wBAAwB,CACvC,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,OAAO,UAInB;AAED,wBAAgB,oBAAoB,CAAC,EACpC,OAAO,EACP,wBAAwB,EACxB,YAAY,EACZ,qBAAqB,EACrB,WAAW,GACX,EAAE;IACF,OAAO,EAAE,WAAW,CAAC;IACrB,wBAAwB,EAAE,MAAM,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,+BAA+B,CAAC;CAC9C,GAAG,aAAa,CA8GhB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MeasuredDimensions } from "react-native-reanimated";
|
|
2
2
|
import type { Layout } from "../../../../types/screen.types";
|
|
3
|
-
import type { BoundsAnchor } from "../../types/options";
|
|
4
3
|
export declare function resolveZoomBackdropOpacity({ transitionProgress, dismissalDrag, fadeEnd, maxOpacity, }: {
|
|
5
4
|
transitionProgress: number;
|
|
6
5
|
dismissalDrag: number;
|
|
@@ -18,17 +17,21 @@ export declare function resolveZoomPinchFocalOffset({ gestureScale, pinchOriginX
|
|
|
18
17
|
x: number;
|
|
19
18
|
y: number;
|
|
20
19
|
};
|
|
21
|
-
export declare function resolveZoomTrackedSourceTransform({
|
|
22
|
-
progress: number;
|
|
20
|
+
export declare function resolveZoomTrackedSourceTransform({ sourceBounds, destinationBounds, screenLayout, contentBaseTransform, collapsedContentScale, dragX, dragY, gestureScale, parentScale, rotation, }: {
|
|
23
21
|
sourceBounds: MeasuredDimensions;
|
|
24
22
|
destinationBounds: MeasuredDimensions;
|
|
25
23
|
screenLayout: Layout;
|
|
24
|
+
contentBaseTransform: {
|
|
25
|
+
translateX: number;
|
|
26
|
+
translateY: number;
|
|
27
|
+
scale: number;
|
|
28
|
+
};
|
|
29
|
+
collapsedContentScale: number;
|
|
26
30
|
dragX: number;
|
|
27
31
|
dragY: number;
|
|
28
32
|
gestureScale: number;
|
|
29
33
|
parentScale: number;
|
|
30
34
|
rotation?: number;
|
|
31
|
-
anchor?: BoundsAnchor;
|
|
32
35
|
}): {
|
|
33
36
|
scaleX: number;
|
|
34
37
|
scaleY: number;
|