react-native-screen-transitions 4.1.0-beta.0 → 4.1.0-beta.1
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 +40 -8
- package/lib/commonjs/components/boundary/components/boundary-lifecycle.js.map +1 -1
- package/lib/commonjs/components/boundary/components/boundary-target.js +10 -17
- package/lib/commonjs/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/components/boundary/create-boundary-component.js +13 -16
- package/lib/commonjs/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/commonjs/components/boundary/helpers/presentation.js +56 -0
- package/lib/commonjs/components/boundary/helpers/presentation.js.map +1 -0
- package/lib/commonjs/components/boundary/hooks/use-boundary-presentation.js +65 -0
- package/lib/commonjs/components/boundary/hooks/use-boundary-presentation.js.map +1 -0
- package/lib/commonjs/components/boundary/hooks/use-composed-boundary-style.js +43 -0
- package/lib/commonjs/components/boundary/hooks/use-composed-boundary-style.js.map +1 -0
- package/lib/commonjs/components/boundary/index.js +2 -3
- package/lib/commonjs/components/boundary/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/portal-host.js +39 -0
- package/lib/commonjs/components/boundary/portal/components/portal-host.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/components/portal-overlay.js +170 -0
- package/lib/commonjs/components/boundary/portal/components/portal-overlay.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/components/portal.js +88 -0
- package/lib/commonjs/components/boundary/portal/components/portal.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/helpers/offset-style.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-active-portal-boundary-host.js +35 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-active-portal-boundary-host.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-host-measurement.js +83 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-portal-destination.js +58 -0
- package/lib/commonjs/components/boundary/portal/hooks/use-portal-destination.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/index.js +0 -7
- package/lib/commonjs/components/boundary/portal/index.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/{components/boundary-portal/stores → stores}/host-registry.store.js +1 -12
- package/lib/commonjs/components/boundary/portal/stores/host-registry.store.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/{components/boundary-portal/stores → stores}/portal-boundary-host.store.js +17 -17
- package/lib/commonjs/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/commonjs/components/boundary/portal/utils/naming.js +8 -1
- package/lib/commonjs/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js +7 -27
- package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js +13 -7
- package/lib/commonjs/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/components/screen/container/helpers/layer-component.js +39 -0
- package/lib/commonjs/components/screen/container/helpers/layer-component.js.map +1 -0
- package/lib/commonjs/components/screen/container/{layers/render-component.js → helpers/uses-layer-render-props.js} +1 -1
- package/lib/commonjs/components/screen/container/helpers/uses-layer-render-props.js.map +1 -0
- package/lib/commonjs/components/screen/container/layers/backdrop.js +4 -13
- package/lib/commonjs/components/screen/container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/components/screen/container/layers/clip.js +117 -0
- package/lib/commonjs/components/screen/container/layers/clip.js.map +1 -0
- package/lib/commonjs/components/screen/container/layers/content.js +17 -33
- package/lib/commonjs/components/screen/container/layers/content.js.map +1 -1
- package/lib/commonjs/components/screen/container/layers/surface.js +3 -15
- package/lib/commonjs/components/screen/container/layers/surface.js.map +1 -1
- package/lib/commonjs/components/screen/lifecycle/hooks/use-open-transition-intent.js +15 -0
- package/lib/commonjs/components/screen/lifecycle/hooks/use-open-transition-intent.js.map +1 -1
- package/lib/commonjs/constants.js +3 -1
- package/lib/commonjs/constants.js.map +1 -1
- package/lib/commonjs/hooks/navigation/use-navigation-helpers.js +16 -4
- package/lib/commonjs/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/build-screen-transition-options.js +0 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/build-screen-transition-options.js.map +1 -1
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js +3 -2
- package/lib/commonjs/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/commonjs/providers/screen/motion/options/helpers.js +1 -3
- package/lib/commonjs/providers/screen/motion/options/helpers.js.map +1 -1
- package/lib/commonjs/providers/screen/orchestrator/helpers/use-interpolator-state.js +4 -2
- package/lib/commonjs/providers/screen/orchestrator/helpers/use-interpolator-state.js.map +1 -1
- package/lib/commonjs/providers/screen/orchestrator/helpers/use-pair-presentation.js +79 -0
- package/lib/commonjs/providers/screen/orchestrator/helpers/use-pair-presentation.js.map +1 -0
- package/lib/commonjs/providers/screen/orchestrator/orchestrator.provider.js +3 -0
- package/lib/commonjs/providers/screen/orchestrator/orchestrator.provider.js.map +1 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/constants.js +1 -0
- package/lib/commonjs/providers/screen/orchestrator/styles/constants.js.map +1 -1
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/slot-resolvers.js +5 -8
- package/lib/commonjs/providers/screen/orchestrator/styles/hooks/slot-resolvers.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/build.js +28 -61
- package/lib/commonjs/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/config.js +3 -4
- package/lib/commonjs/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/math.js +8 -8
- package/lib/commonjs/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/types.js +3 -1
- package/lib/commonjs/utils/bounds/navigation/reveal/types.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/build.js +4 -6
- package/lib/commonjs/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/clip.js +64 -0
- package/lib/commonjs/utils/bounds/navigation/zoom/clip.js.map +1 -0
- package/lib/commonjs/utils/bounds/navigation/zoom/drag.js +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/types.js +3 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/types.js.map +1 -1
- package/lib/module/components/boundary/components/boundary-lifecycle.js +41 -9
- package/lib/module/components/boundary/components/boundary-lifecycle.js.map +1 -1
- package/lib/module/components/boundary/components/boundary-target.js +10 -17
- package/lib/module/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/components/boundary/create-boundary-component.js +13 -16
- package/lib/module/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/module/components/boundary/helpers/presentation.js +50 -0
- package/lib/module/components/boundary/helpers/presentation.js.map +1 -0
- package/lib/module/components/boundary/hooks/use-boundary-presentation.js +62 -0
- package/lib/module/components/boundary/hooks/use-boundary-presentation.js.map +1 -0
- package/lib/module/components/boundary/hooks/use-composed-boundary-style.js +39 -0
- package/lib/module/components/boundary/hooks/use-composed-boundary-style.js.map +1 -0
- package/lib/module/components/boundary/index.js +2 -3
- package/lib/module/components/boundary/index.js.map +1 -1
- package/lib/module/components/boundary/portal/components/portal-host.js +34 -0
- package/lib/module/components/boundary/portal/components/portal-host.js.map +1 -0
- package/lib/module/components/boundary/portal/components/portal-overlay.js +165 -0
- package/lib/module/components/boundary/portal/components/portal-overlay.js.map +1 -0
- package/lib/module/components/boundary/portal/components/portal.js +83 -0
- package/lib/module/components/boundary/portal/components/portal.js.map +1 -0
- package/lib/module/components/boundary/portal/helpers/offset-style.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-active-portal-boundary-host.js +31 -0
- package/lib/module/components/boundary/portal/hooks/use-active-portal-boundary-host.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-host-measurement.js +78 -0
- package/lib/module/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
- package/lib/module/components/boundary/portal/hooks/use-portal-destination.js +54 -0
- package/lib/module/components/boundary/portal/hooks/use-portal-destination.js.map +1 -0
- package/lib/module/components/boundary/portal/index.js +0 -1
- package/lib/module/components/boundary/portal/index.js.map +1 -1
- package/lib/module/components/boundary/portal/{components/boundary-portal/stores → stores}/host-registry.store.js +1 -12
- package/lib/module/components/boundary/portal/stores/host-registry.store.js.map +1 -0
- package/lib/module/components/boundary/portal/{components/boundary-portal/stores → stores}/portal-boundary-host.store.js +17 -17
- package/lib/module/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/module/components/boundary/portal/utils/naming.js +6 -0
- package/lib/module/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/module/components/boundary/portal/utils/resolve-portal.js +7 -27
- package/lib/module/components/boundary/portal/utils/resolve-portal.js.map +1 -1
- package/lib/module/components/boundary/providers/boundary-root.provider.js +13 -7
- package/lib/module/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/components/screen/container/helpers/layer-component.js +35 -0
- package/lib/module/components/screen/container/helpers/layer-component.js.map +1 -0
- package/lib/module/components/screen/container/{layers/render-component.js → helpers/uses-layer-render-props.js} +1 -1
- package/lib/module/components/screen/container/helpers/uses-layer-render-props.js.map +1 -0
- package/lib/module/components/screen/container/layers/backdrop.js +5 -13
- package/lib/module/components/screen/container/layers/backdrop.js.map +1 -1
- package/lib/module/components/screen/container/layers/clip.js +112 -0
- package/lib/module/components/screen/container/layers/clip.js.map +1 -0
- package/lib/module/components/screen/container/layers/content.js +18 -33
- package/lib/module/components/screen/container/layers/content.js.map +1 -1
- package/lib/module/components/screen/container/layers/surface.js +4 -15
- package/lib/module/components/screen/container/layers/surface.js.map +1 -1
- package/lib/module/components/screen/lifecycle/hooks/use-open-transition-intent.js +17 -2
- package/lib/module/components/screen/lifecycle/hooks/use-open-transition-intent.js.map +1 -1
- package/lib/module/constants.js +3 -1
- package/lib/module/constants.js.map +1 -1
- package/lib/module/hooks/navigation/use-navigation-helpers.js +16 -4
- package/lib/module/hooks/navigation/use-navigation-helpers.js.map +1 -1
- package/lib/module/providers/screen/motion/animation/helpers/build-screen-transition-options.js +0 -1
- package/lib/module/providers/screen/motion/animation/helpers/build-screen-transition-options.js.map +1 -1
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js +3 -2
- package/lib/module/providers/screen/motion/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/module/providers/screen/motion/options/helpers.js +1 -3
- package/lib/module/providers/screen/motion/options/helpers.js.map +1 -1
- package/lib/module/providers/screen/orchestrator/helpers/use-interpolator-state.js +6 -4
- package/lib/module/providers/screen/orchestrator/helpers/use-interpolator-state.js.map +1 -1
- package/lib/module/providers/screen/orchestrator/helpers/use-pair-presentation.js +73 -0
- package/lib/module/providers/screen/orchestrator/helpers/use-pair-presentation.js.map +1 -0
- package/lib/module/providers/screen/orchestrator/orchestrator.provider.js +3 -0
- package/lib/module/providers/screen/orchestrator/orchestrator.provider.js.map +1 -1
- package/lib/module/providers/screen/orchestrator/styles/constants.js +1 -0
- package/lib/module/providers/screen/orchestrator/styles/constants.js.map +1 -1
- package/lib/module/providers/screen/orchestrator/styles/hooks/slot-resolvers.js +5 -8
- package/lib/module/providers/screen/orchestrator/styles/hooks/slot-resolvers.js.map +1 -1
- package/lib/module/types/animation.types.js +3 -1
- package/lib/module/types/animation.types.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/build.js +30 -63
- package/lib/module/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/config.js +2 -3
- package/lib/module/utils/bounds/navigation/reveal/config.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/math.js +7 -7
- package/lib/module/utils/bounds/navigation/reveal/math.js.map +1 -1
- package/lib/module/utils/bounds/navigation/reveal/types.js +1 -1
- package/lib/module/utils/bounds/navigation/reveal/types.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/build.js +5 -7
- package/lib/module/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/clip.js +59 -0
- package/lib/module/utils/bounds/navigation/zoom/clip.js.map +1 -0
- package/lib/module/utils/bounds/navigation/zoom/drag.js +1 -1
- package/lib/module/utils/bounds/navigation/zoom/drag.js.map +1 -1
- package/lib/module/utils/bounds/navigation/zoom/types.js +1 -1
- package/lib/module/utils/bounds/navigation/zoom/types.js.map +1 -1
- package/lib/typescript/components/boundary/components/boundary-lifecycle.d.ts.map +1 -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/helpers/presentation.d.ts +14 -0
- package/lib/typescript/components/boundary/helpers/presentation.d.ts.map +1 -0
- package/lib/typescript/components/boundary/hooks/use-boundary-presentation.d.ts +9 -0
- package/lib/typescript/components/boundary/hooks/use-boundary-presentation.d.ts.map +1 -0
- package/lib/typescript/components/boundary/hooks/use-composed-boundary-style.d.ts +4 -0
- package/lib/typescript/components/boundary/hooks/use-composed-boundary-style.d.ts.map +1 -0
- package/lib/typescript/components/boundary/index.d.ts +3 -2
- package/lib/typescript/components/boundary/index.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/portal-host.d.ts +15 -0
- package/lib/typescript/components/boundary/portal/components/portal-host.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/components/portal-overlay.d.ts +20 -0
- package/lib/typescript/components/boundary/portal/components/portal-overlay.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/components/portal.d.ts +23 -0
- package/lib/typescript/components/boundary/portal/components/portal.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/helpers/offset-style.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-active-portal-boundary-host.d.ts +11 -0
- package/lib/typescript/components/boundary/portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-host-measurement.d.ts +13 -0
- package/lib/typescript/components/boundary/portal/hooks/use-host-measurement.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-placeholder-styles.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/hooks/use-portal-destination.d.ts +8 -0
- package/lib/typescript/components/boundary/portal/hooks/use-portal-destination.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/index.d.ts +0 -1
- package/lib/typescript/components/boundary/portal/index.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/stores/host-registry.store.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/{components/boundary-portal/stores → stores}/portal-boundary-host.store.d.ts +2 -3
- package/lib/typescript/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +1 -0
- package/lib/typescript/components/boundary/portal/utils/naming.d.ts +1 -0
- package/lib/typescript/components/boundary/portal/utils/naming.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts +2 -7
- package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -1
- package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts +5 -2
- package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/components/screen/container/helpers/layer-component.d.ts +10 -0
- package/lib/typescript/components/screen/container/helpers/layer-component.d.ts.map +1 -0
- package/lib/typescript/components/screen/container/{layers/render-component.d.ts → helpers/uses-layer-render-props.d.ts} +1 -1
- package/lib/typescript/components/screen/container/helpers/uses-layer-render-props.d.ts.map +1 -0
- package/lib/typescript/components/screen/container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/components/screen/container/layers/clip.d.ts +7 -0
- package/lib/typescript/components/screen/container/layers/clip.d.ts.map +1 -0
- package/lib/typescript/components/screen/container/layers/content.d.ts.map +1 -1
- package/lib/typescript/components/screen/container/layers/surface.d.ts.map +1 -1
- package/lib/typescript/components/screen/lifecycle/hooks/use-open-transition-intent.d.ts.map +1 -1
- package/lib/typescript/constants.d.ts +3 -1
- package/lib/typescript/constants.d.ts.map +1 -1
- package/lib/typescript/hooks/navigation/use-navigation-helpers.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/build-screen-transition-options.d.ts.map +1 -1
- package/lib/typescript/providers/screen/motion/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -1
- package/lib/typescript/providers/screen/motion/options/helpers.d.ts.map +1 -1
- package/lib/typescript/providers/screen/motion/options/types.d.ts +0 -1
- package/lib/typescript/providers/screen/motion/options/types.d.ts.map +1 -1
- package/lib/typescript/providers/screen/orchestrator/helpers/use-interpolator-state.d.ts.map +1 -1
- package/lib/typescript/providers/screen/orchestrator/helpers/use-pair-presentation.d.ts +21 -0
- package/lib/typescript/providers/screen/orchestrator/helpers/use-pair-presentation.d.ts.map +1 -0
- package/lib/typescript/providers/screen/orchestrator/orchestrator.provider.d.ts +2 -0
- package/lib/typescript/providers/screen/orchestrator/orchestrator.provider.d.ts.map +1 -1
- package/lib/typescript/providers/screen/orchestrator/styles/constants.d.ts.map +1 -1
- package/lib/typescript/providers/screen/orchestrator/styles/hooks/slot-resolvers.d.ts +1 -1
- package/lib/typescript/providers/screen/orchestrator/styles/hooks/slot-resolvers.d.ts.map +1 -1
- package/lib/typescript/providers/screen/orchestrator/styles/types.d.ts +1 -1
- package/lib/typescript/providers/screen/orchestrator/styles/types.d.ts.map +1 -1
- package/lib/typescript/types/animation.types.d.ts +16 -4
- package/lib/typescript/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/types/bounds.types.d.ts +7 -15
- package/lib/typescript/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/types/index.d.ts +1 -1
- package/lib/typescript/types/index.d.ts.map +1 -1
- package/lib/typescript/types/screen.types.d.ts +1 -8
- package/lib/typescript/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/reveal/build.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/reveal/config.d.ts +2 -3
- package/lib/typescript/utils/bounds/navigation/reveal/config.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/navigation/reveal/math.d.ts +3 -3
- package/lib/typescript/utils/bounds/navigation/reveal/types.d.ts +1 -5
- package/lib/typescript/utils/bounds/navigation/reveal/types.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/{mask.d.ts → clip.d.ts} +5 -5
- package/lib/typescript/utils/bounds/navigation/zoom/clip.d.ts.map +1 -0
- package/lib/typescript/utils/bounds/navigation/zoom/drag.d.ts +1 -1
- package/lib/typescript/utils/bounds/navigation/zoom/types.d.ts +1 -5
- package/lib/typescript/utils/bounds/navigation/zoom/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/boundary/components/boundary-lifecycle.tsx +44 -8
- package/src/components/boundary/components/boundary-target.tsx +14 -36
- package/src/components/boundary/create-boundary-component.tsx +16 -17
- package/src/components/boundary/helpers/presentation.ts +88 -0
- package/src/components/boundary/hooks/use-boundary-presentation.ts +82 -0
- package/src/components/boundary/hooks/use-composed-boundary-style.ts +58 -0
- package/src/components/boundary/index.tsx +10 -5
- package/src/components/boundary/portal/components/portal-host.tsx +36 -0
- package/src/components/boundary/portal/components/portal-overlay.tsx +223 -0
- package/src/components/boundary/portal/components/portal.tsx +124 -0
- package/src/components/boundary/portal/hooks/use-active-portal-boundary-host.ts +52 -0
- package/src/components/boundary/portal/hooks/use-host-measurement.ts +101 -0
- package/src/components/boundary/portal/hooks/use-portal-destination.ts +53 -0
- package/src/components/boundary/portal/index.ts +0 -1
- package/src/components/boundary/portal/{components/boundary-portal/stores → stores}/host-registry.store.ts +1 -20
- package/src/components/boundary/portal/{components/boundary-portal/stores → stores}/portal-boundary-host.store.ts +19 -26
- package/src/components/boundary/portal/utils/naming.ts +10 -0
- package/src/components/boundary/portal/utils/resolve-portal.ts +9 -48
- package/src/components/boundary/providers/boundary-root.provider.tsx +34 -22
- package/src/components/screen/container/helpers/layer-component.tsx +38 -0
- package/src/components/screen/container/layers/backdrop.tsx +8 -31
- package/src/components/screen/container/layers/clip.tsx +124 -0
- package/src/components/screen/container/layers/content.tsx +21 -62
- package/src/components/screen/container/layers/surface.tsx +5 -23
- package/src/components/screen/lifecycle/hooks/use-open-transition-intent.ts +26 -2
- package/src/constants.ts +3 -1
- package/src/hooks/navigation/use-navigation-helpers.ts +13 -7
- package/src/index.ts +1 -0
- package/src/providers/screen/motion/animation/helpers/build-screen-transition-options.ts +0 -1
- package/src/providers/screen/motion/animation/helpers/hydrate-transition-state/index.ts +3 -2
- package/src/providers/screen/motion/options/helpers.ts +0 -6
- package/src/providers/screen/motion/options/types.ts +0 -1
- package/src/providers/screen/orchestrator/helpers/use-interpolator-state.ts +13 -8
- package/src/providers/screen/orchestrator/helpers/use-pair-presentation.ts +103 -0
- package/src/providers/screen/orchestrator/orchestrator.provider.tsx +4 -0
- package/src/providers/screen/orchestrator/styles/constants.ts +1 -0
- package/src/providers/screen/orchestrator/styles/hooks/slot-resolvers.tsx +8 -11
- package/src/providers/screen/orchestrator/styles/types.ts +1 -0
- package/src/types/animation.types.ts +35 -4
- package/src/types/bounds.types.ts +7 -15
- package/src/types/index.ts +1 -0
- package/src/types/screen.types.ts +1 -8
- package/src/utils/bounds/navigation/reveal/build.ts +46 -80
- package/src/utils/bounds/navigation/reveal/config.ts +2 -4
- package/src/utils/bounds/navigation/reveal/math.ts +9 -9
- package/src/utils/bounds/navigation/reveal/types.ts +1 -8
- package/src/utils/bounds/navigation/zoom/build.ts +16 -26
- package/src/utils/bounds/navigation/zoom/{mask.ts → clip.ts} +42 -48
- package/src/utils/bounds/navigation/zoom/drag.ts +2 -2
- package/src/utils/bounds/navigation/zoom/types.ts +1 -8
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js +0 -83
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/components/host.js +0 -45
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/components/host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +0 -119
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js +0 -20
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +0 -14
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +0 -136
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js +0 -53
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js +0 -99
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +0 -104
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +0 -13
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +0 -82
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +0 -58
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +0 -67
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js +0 -68
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +0 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +0 -1
- package/lib/commonjs/components/screen/container/layers/maybe-masked-navigation-container.js +0 -83
- package/lib/commonjs/components/screen/container/layers/maybe-masked-navigation-container.js.map +0 -1
- package/lib/commonjs/components/screen/container/layers/render-component.js.map +0 -1
- package/lib/commonjs/utils/bounds/navigation/zoom/mask.js +0 -73
- package/lib/commonjs/utils/bounds/navigation/zoom/mask.js.map +0 -1
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js +0 -78
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/components/host.js +0 -40
- package/lib/module/components/boundary/portal/components/boundary-content-portal/components/host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +0 -110
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js +0 -16
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +0 -9
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +0 -131
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js +0 -42
- package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js +0 -94
- package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +0 -99
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +0 -8
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +0 -76
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +0 -53
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +0 -62
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/index.js +0 -63
- package/lib/module/components/boundary/portal/components/boundary-portal/index.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +0 -1
- package/lib/module/components/screen/container/layers/maybe-masked-navigation-container.js +0 -78
- package/lib/module/components/screen/container/layers/maybe-masked-navigation-container.js.map +0 -1
- package/lib/module/components/screen/container/layers/render-component.js.map +0 -1
- package/lib/module/utils/bounds/navigation/zoom/mask.js +0 -68
- package/lib/module/utils/bounds/navigation/zoom/mask.js.map +0 -1
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts +0 -28
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/components/host.d.ts +0 -10
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/components/host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts +0 -45
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.d.ts +0 -8
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts +0 -2
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts +0 -10
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/index.d.ts +0 -9
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/index.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/host.d.ts +0 -7
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts +0 -13
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts +0 -4
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts +0 -21
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts +0 -10
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts +0 -12
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts +0 -12
- package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/layers/maybe-masked-navigation-container.d.ts +0 -9
- package/lib/typescript/components/screen/container/layers/maybe-masked-navigation-container.d.ts.map +0 -1
- package/lib/typescript/components/screen/container/layers/render-component.d.ts.map +0 -1
- package/lib/typescript/utils/bounds/navigation/zoom/mask.d.ts.map +0 -1
- package/src/components/boundary/hooks/use-boundary-measurement.ts +0 -98
- package/src/components/boundary/portal/components/boundary-content-portal/components/host.tsx +0 -56
- package/src/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts +0 -192
- package/src/components/boundary/portal/components/boundary-content-portal/helpers/handoff-visibility.ts +0 -23
- package/src/components/boundary/portal/components/boundary-content-portal/helpers/host-name.ts +0 -9
- package/src/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +0 -252
- package/src/components/boundary/portal/components/boundary-content-portal/index.tsx +0 -81
- package/src/components/boundary/portal/components/boundary-portal/components/host.tsx +0 -119
- package/src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +0 -139
- package/src/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts +0 -10
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +0 -118
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +0 -64
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts +0 -90
- package/src/components/boundary/portal/components/boundary-portal/index.tsx +0 -97
- package/src/components/screen/container/layers/maybe-masked-navigation-container.tsx +0 -113
- /package/lib/commonjs/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.js +0 -0
- /package/lib/commonjs/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.js +0 -0
- /package/lib/module/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.js +0 -0
- /package/lib/module/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.js +0 -0
- /package/lib/typescript/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.d.ts +0 -0
- /package/lib/typescript/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.d.ts +0 -0
- /package/lib/typescript/components/boundary/portal/{components/boundary-portal/stores → stores}/host-registry.store.d.ts +0 -0
- /package/src/components/boundary/portal/{components/boundary-portal/helpers → helpers}/offset-style.ts +0 -0
- /package/src/components/boundary/portal/{components/boundary-portal/hooks → hooks}/use-placeholder-styles.ts +0 -0
- /package/src/components/screen/container/{layers/render-component.ts → helpers/uses-layer-render-props.ts} +0 -0
|
@@ -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;
|
|
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;AAQf,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,GAwFX,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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DerivedValue } from "react-native-reanimated";
|
|
2
|
+
import type { boundaryRegistry, pairs } from "../../../stores/bounds/internals/state";
|
|
3
|
+
import type { BoundaryHandoffTarget } from "../../../types/animation.types";
|
|
4
|
+
export type { BoundaryPairPresentation } from "../../../providers/screen/orchestrator/helpers/use-pair-presentation";
|
|
5
|
+
import type { BoundaryPairPresentation } from "../../../providers/screen/orchestrator/helpers/use-pair-presentation";
|
|
6
|
+
export type BoundaryPresentationState = {
|
|
7
|
+
presentations: readonly (DerivedValue<BoundaryPairPresentation | undefined> | null | undefined)[];
|
|
8
|
+
pairs: ReturnType<typeof pairs.get>;
|
|
9
|
+
entries: ReturnType<typeof boundaryRegistry.get>;
|
|
10
|
+
};
|
|
11
|
+
export declare function resolveBoundaryPresentation(screenKey: string, boundaryId: string, state: BoundaryPresentationState): BoundaryPairPresentation | undefined;
|
|
12
|
+
export declare function resolveBoundaryReceiver(presentation: BoundaryPairPresentation | undefined, target: BoundaryHandoffTarget | undefined, screenKey: string): string;
|
|
13
|
+
export declare function resolveBoundaryHandoff(screenKey: string, boundaryId: string, state: BoundaryPresentationState): string;
|
|
14
|
+
//# sourceMappingURL=presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentation.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/helpers/presentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,KAAK,EACX,gBAAgB,EAChB,KAAK,EACL,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,YAAY,EAAE,wBAAwB,EAAE,MAAM,sEAAsE,CAAC;AAErH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sEAAsE,CAAC;AAErH,MAAM,MAAM,yBAAyB,GAAG;IACvC,aAAa,EAAE,SAAS,CACrB,YAAY,CAAC,wBAAwB,GAAG,SAAS,CAAC,GAClD,IAAI,GACJ,SAAS,CACX,EAAE,CAAC;IACJ,KAAK,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,GAAG,CAAC,CAAC;CACjD,CAAC;AAEF,wBAAgB,2BAA2B,CAC1C,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,yBAAyB,wCAqBhC;AAED,wBAAgB,uBAAuB,CACtC,YAAY,EAAE,wBAAwB,GAAG,SAAS,EAClD,MAAM,EAAE,qBAAqB,GAAG,SAAS,EACzC,SAAS,EAAE,MAAM,UAOjB;AAED,wBAAgB,sBAAsB,CACrC,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,yBAAyB,UAwBhC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function useBoundaryPresentation(boundaryId: string, enabled?: boolean): {
|
|
2
|
+
presentation: import("react-native-reanimated").DerivedValue<{
|
|
3
|
+
owner: import("../helpers/presentation").BoundaryPairPresentation | undefined;
|
|
4
|
+
receiver: string;
|
|
5
|
+
slots: import("../../../types/animation.types").NormalizedTransitionInterpolatedStyle;
|
|
6
|
+
}>;
|
|
7
|
+
slotsMap: import("react-native-reanimated").DerivedValue<import("../../../types/animation.types").NormalizedTransitionInterpolatedStyle>;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=use-boundary-presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-boundary-presentation.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/hooks/use-boundary-presentation.ts"],"names":[],"mappings":"AA2BA,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,UAAO;;;;;;;EAsDzE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type SharedValue, type StyleProps } from "react-native-reanimated";
|
|
2
|
+
import type { NormalizedTransitionInterpolatedStyle } from "../../../types/animation.types";
|
|
3
|
+
export declare function useComposedBoundaryStyle(slots: SharedValue<NormalizedTransitionInterpolatedStyle> | undefined, id: string | undefined, style?: unknown, kind?: "full" | "stacking" | "layout"): import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<StyleProps>;
|
|
4
|
+
//# sourceMappingURL=use-composed-boundary-style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-composed-boundary-style.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/hooks/use-composed-boundary-style.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,UAAU,EAEf,MAAM,yBAAyB,CAAC;AAMjC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAE5F,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,WAAW,CAAC,qCAAqC,CAAC,GAAG,SAAS,EACrE,EAAE,EAAE,MAAM,GAAG,SAAS,EACtB,KAAK,CAAC,EAAE,OAAO,EACf,IAAI,GAAE,MAAM,GAAG,UAAU,GAAG,QAAiB,qGAwC7C"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type ComponentProps, type NamedExoticComponent } from "react";
|
|
1
2
|
import { View, type ViewProps } from "react-native";
|
|
2
3
|
import { type PressableProps } from "react-native-gesture-handler";
|
|
3
4
|
import { BoundaryTarget } from "./components/boundary-target";
|
|
4
5
|
import { createBoundaryComponent } from "./create-boundary-component";
|
|
5
|
-
import {
|
|
6
|
+
import { PortalOverlay } from "./portal/components/portal-overlay";
|
|
6
7
|
import type { BoundaryComponentProps } from "./types";
|
|
7
8
|
export { createBoundaryComponent };
|
|
8
9
|
type BoundaryPrimitiveProps = Omit<ViewProps, "id" | "style"> & Omit<PressableProps, "id" | "style"> & {
|
|
@@ -35,7 +36,7 @@ export interface BoundaryComponent extends BoundaryRootComponent {
|
|
|
35
36
|
/**
|
|
36
37
|
* Explicit host for clipping-escape placement.
|
|
37
38
|
*/
|
|
38
|
-
Host: typeof
|
|
39
|
+
Host: NamedExoticComponent<Omit<ComponentProps<typeof PortalOverlay>, "fallback">>;
|
|
39
40
|
}
|
|
40
41
|
export type BoundaryProps = BoundaryComponentProps<BoundaryPrimitiveProps>;
|
|
41
42
|
export declare const Boundary: BoundaryComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/boundary/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/boundary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,cAAc,EAEnB,KAAK,oBAAoB,EACzB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,KAAK,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,OAAO,CAAC,GAC5D,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG;IACtC,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;CACrD,CAAC;AAYH,QAAA,MAAM,YAAY,mWAA6C,CAAC;AAIhE,KAAK,qBAAqB,GAAG,OAAO,YAAY,CAAC;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D;;OAEG;IACH,MAAM,EAAE,OAAO,cAAc,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,oBAAoB,CACzB,IAAI,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,EAAE,UAAU,CAAC,CACtD,CAAC;CACF;AAED,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,sBAAsB,CAAC,CAAC;AAE3E,eAAO,MAAM,QAAQ,EAGf,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ComponentProps } from "react";
|
|
2
|
+
import Animated from "react-native-reanimated";
|
|
3
|
+
/**
|
|
4
|
+
* The native receiving point for a Portal whose destination matches `name`.
|
|
5
|
+
*
|
|
6
|
+
* Handoff places this inside a boundary, filling its local frame. Escape-clipping
|
|
7
|
+
* places it inside a PortalOverlay, which supplies
|
|
8
|
+
* the boundary's size, offset, and animated styles. This component only renders
|
|
9
|
+
* the receiver; destination selection and measurement belong to its callers.
|
|
10
|
+
*/
|
|
11
|
+
export declare const PortalHost: import("react").MemoExoticComponent<({ name, style, }: {
|
|
12
|
+
name: string;
|
|
13
|
+
style?: ComponentProps<typeof Animated.View>["style"];
|
|
14
|
+
}) => import("react").JSX.Element | null>;
|
|
15
|
+
//# sourceMappingURL=portal-host.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal-host.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/components/portal-host.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,OAAO,CAAC;AAElD,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAO/C;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,yDAGpB;IACF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;CACtD,wCAQC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
|
+
type PortalOverlayProps = {
|
|
3
|
+
style?: StyleProp<ViewStyle>;
|
|
4
|
+
fallback?: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* A screen-sized overlay containing the receivers for escaped boundary frames.
|
|
8
|
+
*
|
|
9
|
+
* Registers this overlay as an available placement, measures its origin, and
|
|
10
|
+
* renders one positioned PortalHost per boundary assigned to it. An overlay can
|
|
11
|
+
* contain many hosts; each host receives one named portal.
|
|
12
|
+
*
|
|
13
|
+
* Boundary.Host uses this directly; screens render it with `fallback` for
|
|
14
|
+
* their automatic overlay. Explicit overlays take priority over the fallback.
|
|
15
|
+
* Handoff between screens uses receivers inside boundaries, so it does not
|
|
16
|
+
* need this overlay unless escapeClipping is also enabled.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PortalOverlay: import("react").MemoExoticComponent<({ fallback, style, }: PortalOverlayProps) => import("react").JSX.Element>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=portal-overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/components/portal-overlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AAoBtB,KAAK,kBAAkB,GAAG;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,6DAGvB,kBAAkB,iCA8DnB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type View } from "react-native";
|
|
3
|
+
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
|
+
import { type PortalMode } from "../hooks/use-portal-destination";
|
|
5
|
+
type PortalProps = {
|
|
6
|
+
boundaryId?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
mode: PortalMode;
|
|
10
|
+
placeholderRef?: AnimatedRef<View>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Sends its children to a named PortalHost chosen on the UI thread.
|
|
14
|
+
*
|
|
15
|
+
* `handoff` moves the boundary's content between screens and creates a local
|
|
16
|
+
* receiver inside this boundary. `escapeClipping` moves the whole boundary
|
|
17
|
+
* frame into a PortalOverlay, leaving a sized placeholder at its original spot.
|
|
18
|
+
* When both are enabled, the handoff portal lives inside the escaped frame.
|
|
19
|
+
* Disabled portals, or apps without Teleport, render their children inline.
|
|
20
|
+
*/
|
|
21
|
+
export declare const Portal: import("react").MemoExoticComponent<(props: PortalProps) => 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>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=portal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/components/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AACrD,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EACN,KAAK,UAAU,EAEf,MAAM,iCAAiC,CAAC;AAqBzC,KAAK,WAAW,GAAG;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,8CAA+B,WAAW,iUAW3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offset-style.d.ts","sourceRoot":"","sources":["../../../../../../src/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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
+
import type { NormalizedTransitionInterpolatedStyle } from "../../../../types/animation.types";
|
|
3
|
+
import type { BoundaryLocalMeasurementValue } from "../../types";
|
|
4
|
+
export declare const useActivePortalBoundaryHost: ({ boundaryId, escapeHostKey, localMeasurement, portalHostReady, slotsMap, }: {
|
|
5
|
+
boundaryId: string;
|
|
6
|
+
escapeHostKey?: string;
|
|
7
|
+
localMeasurement: BoundaryLocalMeasurementValue;
|
|
8
|
+
portalHostReady: SharedValue<boolean>;
|
|
9
|
+
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
10
|
+
}) => string | null;
|
|
11
|
+
//# sourceMappingURL=use-active-portal-boundary-host.d.ts.map
|
package/lib/typescript/components/boundary/portal/hooks/use-active-portal-boundary-host.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AASjE,eAAO,MAAM,2BAA2B,GAAI,6EAMzC;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,kBA2BA,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { View } from "react-native";
|
|
2
|
+
import { type MeasuredDimensions } from "react-native-reanimated";
|
|
3
|
+
import type { BoundaryLocalMeasurementValue } from "../../types";
|
|
4
|
+
type UseHostMeasurementParams = {
|
|
5
|
+
measurementKey: string | null;
|
|
6
|
+
boundaryMeasurements: BoundaryLocalMeasurementValue[];
|
|
7
|
+
};
|
|
8
|
+
export declare const useHostMeasurement: ({ measurementKey, boundaryMeasurements, }: UseHostMeasurementParams) => {
|
|
9
|
+
hostBounds: import("react-native-reanimated").DerivedValue<MeasuredDimensions | null>;
|
|
10
|
+
hostRef: import("react-native-reanimated").AnimatedRef<View>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=use-host-measurement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAEN,KAAK,kBAAkB,EAQvB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAKjE,KAAK,wBAAwB,GAAG;IAC/B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,oBAAoB,EAAE,6BAA6B,EAAE,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,2CAGhC,wBAAwB;;;CA0E1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-placeholder-styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/hooks/use-placeholder-styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,oBAAoB;;;;;;;;6BAoBtB,eAAe;CAmBzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type PortalMode = "handoff" | "escapeClipping";
|
|
2
|
+
export declare function usePortalDestination(boundaryId: string, mode: PortalMode): {
|
|
3
|
+
teleportProps: Partial<{
|
|
4
|
+
hostName: string | null;
|
|
5
|
+
}>;
|
|
6
|
+
localHostName: string;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=use-portal-destination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-portal-destination.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/hooks/use-portal-destination.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;AAEtD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU;;;;;EAyCxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CAClB,CAAC;AA2CF,eAAO,MAAM,YAAY,GAAI,cAAc,gBAAgB,SA0B1D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,SAoBhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,WAEjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,GAAG,IAAI,uBAMzD,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAG7B,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { NormalizedTransitionInterpolatedStyle } from "
|
|
3
|
-
import type { BoundaryLocalMeasurementValue } from "
|
|
2
|
+
import type { NormalizedTransitionInterpolatedStyle } from "../../../../types/animation.types";
|
|
3
|
+
import type { BoundaryLocalMeasurementValue } from "../../types";
|
|
4
4
|
export type ActivePortalBoundaryHost = {
|
|
5
5
|
boundaryId: string;
|
|
6
6
|
hostKey: string;
|
|
7
7
|
localMeasurement: BoundaryLocalMeasurementValue;
|
|
8
|
-
pairKey: string;
|
|
9
8
|
portalHostName: string;
|
|
10
9
|
portalHostReady: SharedValue<boolean>;
|
|
11
10
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAEjE,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AA0CF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,gBAAgB,MAAM,GAAG,IAAI,GAAG,SAAS,SAWzC,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const createBoundaryPortalHostName: (hostKey: string, boundaryId: string, pairKey?: string | null) => string;
|
|
2
2
|
export declare const PORTAL_HOST_NAME_RESET_VALUE: null;
|
|
3
|
+
export declare const createHandoffHostName: (screenKey: string, boundaryId: string) => string;
|
|
3
4
|
//# sourceMappingURL=naming.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/utils/naming.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,GACxC,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,UAAU,MAAM,GAAG,IAAI,WAIvB,CAAC;AAEF,eAAO,MAAM,4BAA4B,MAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/utils/naming.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,GACxC,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,UAAU,MAAM,GAAG,IAAI,WAIvB,CAAC;AAEF,eAAO,MAAM,4BAA4B,MAAO,CAAC;AAIjD,eAAO,MAAM,qBAAqB,GACjC,WAAW,MAAM,EACjB,YAAY,MAAM,WAIlB,CAAC"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import type { BoundaryRuntimeFlags } from "../../../../stores/bounds/types";
|
|
2
|
+
export declare const resolveBoundaryPortal: ({ handoff, escapeClipping, }: BoundaryRuntimeFlags) => {
|
|
2
3
|
handoff: boolean;
|
|
3
4
|
escapeClipping: boolean;
|
|
4
|
-
}>;
|
|
5
|
-
type ResolveBoundaryPortalParams = {
|
|
6
|
-
handoff?: boolean;
|
|
7
|
-
escapeClipping?: boolean;
|
|
8
5
|
};
|
|
9
|
-
export declare const resolveBoundaryPortal: ({ handoff, escapeClipping, }: ResolveBoundaryPortalParams) => BoundaryPortalRuntime;
|
|
10
|
-
export {};
|
|
11
6
|
//# sourceMappingURL=resolve-portal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-portal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/utils/resolve-portal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolve-portal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/portal/utils/resolve-portal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAI5E,eAAO,MAAM,qBAAqB,GAAI,8BAGnC,oBAAoB;;;CAWtB,CAAC"}
|
|
@@ -2,17 +2,20 @@ import { type ForwardedRef, type ReactNode } from "react";
|
|
|
2
2
|
import type { View } from "react-native";
|
|
3
3
|
import type { AnimatedRef } from "react-native-reanimated";
|
|
4
4
|
import type { BoundTag } from "../../../stores/bounds/types";
|
|
5
|
-
import {
|
|
5
|
+
import { useBoundaryPresentation } from "../hooks/use-boundary-presentation";
|
|
6
|
+
import { resolveBoundaryPortal } from "../portal/utils/resolve-portal";
|
|
6
7
|
import type { BoundaryConfigProps, BoundaryId, BoundaryLocalMeasurementValue, BoundaryOwnProps } from "../types";
|
|
7
8
|
export declare const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside Transition.Boundary or a component created by createBoundaryComponent.";
|
|
8
9
|
export type BoundaryRootRenderState = {
|
|
10
|
+
boundaryPresentation: ReturnType<typeof useBoundaryPresentation>["presentation"];
|
|
11
|
+
slotsMap: ReturnType<typeof useBoundaryPresentation>["slotsMap"];
|
|
9
12
|
attachedStyle: unknown;
|
|
10
13
|
boundTag: BoundTag;
|
|
11
14
|
currentScreenKey: string;
|
|
12
15
|
handoffEnabled: boolean;
|
|
13
16
|
localMeasurement: BoundaryLocalMeasurementValue;
|
|
14
17
|
measurementRef: AnimatedRef<View>;
|
|
15
|
-
portalRuntime:
|
|
18
|
+
portalRuntime: ReturnType<typeof resolveBoundaryPortal>;
|
|
16
19
|
ref: AnimatedRef<View>;
|
|
17
20
|
shouldRenderBoundaryRootThroughPortal: boolean;
|
|
18
21
|
shouldRenderHandoffHost: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC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IACnB,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MACN,oBAAoB,iDACpB,oBAAoB;;;GACpB,4BAA4B;;;CAwJ5B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
+
import type { ViewProps } from "react-native";
|
|
3
|
+
import type { ScreenLayerComponentProps } from "../../../../types";
|
|
4
|
+
/** Adapts the two supported custom layer APIs without changing component identity. */
|
|
5
|
+
export declare function LayerComponent({ component, styles, props, pointerEvents, children, collapsable, }: ScreenLayerComponentProps & {
|
|
6
|
+
component?: ComponentType<any>;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
collapsable?: ViewProps["collapsable"];
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=layer-component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layer-component.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/helpers/layer-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAGnE,sFAAsF;AACtF,wBAAgB,cAAc,CAAC,EAC9B,SAAS,EACT,MAAM,EACN,KAAK,EACL,aAAa,EACb,QAAQ,EACR,WAAW,GACX,EAAE,yBAAyB,GAAG;IAC9B,SAAS,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;CACvC,+BAmBA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ComponentType } from "react";
|
|
2
2
|
export declare function usesLayerRenderProps(component: ComponentType<any>): component is ComponentType<Record<string, unknown>>;
|
|
3
|
-
//# sourceMappingURL=render-
|
|
3
|
+
//# sourceMappingURL=uses-layer-render-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uses-layer-render-props.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/helpers/uses-layer-render-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,wBAAgB,oBAAoB,CACnC,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,GAC3B,SAAS,IAAI,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAIrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/layers/backdrop.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/layers/backdrop.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACX,gBAAgB,EAEhB,MAAM,gCAAgC,CAAC;AAKxC,eAAO,MAAM,aAAa,kGAIvB;IACF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,iCAiHC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ViewProps } from "react-native";
|
|
2
|
+
/** Stable layout host: changing the viewport must never resize the screen. */
|
|
3
|
+
export declare const Clip: import("react").MemoExoticComponent<({ children, pointerEvents, }: {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
pointerEvents: ViewProps["pointerEvents"];
|
|
6
|
+
}) => import("react").JSX.Element>;
|
|
7
|
+
//# sourceMappingURL=clip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/layers/clip.tsx"],"names":[],"mappings":"AACA,OAAO,EAKN,KAAK,SAAS,EAEd,MAAM,cAAc,CAAC;AAStB,8EAA8E;AAC9E,eAAO,MAAM,IAAI,qEAIb;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC1C,iCAmFD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/layers/content.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/layers/content.tsx"],"names":[],"mappings":"AAeA,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC;IACtC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,YAAY,sFACwB,KAAK,iCA2CrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/layers/surface.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/container/layers/surface.tsx"],"names":[],"mappings":"AAUA,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,YAAY,oEAAsC,KAAK,iWA4BlE,CAAC"}
|
package/lib/typescript/components/screen/lifecycle/hooks/use-open-transition-intent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-open-transition-intent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/lifecycle/hooks/use-open-transition-intent.ts"],"names":[],"mappings":"AAKA,OAAO,EACN,KAAK,cAAc,EAEnB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEN,KAAK,sBAAsB,EAC3B,MAAM,iEAAiE,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AA0BvF;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,qBAAqB,EACjC,MAAM,EAAE,sBAAsB,EAC9B,UAAU,CAAC,EAAE,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"use-open-transition-intent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/screen/lifecycle/hooks/use-open-transition-intent.ts"],"names":[],"mappings":"AAKA,OAAO,EACN,KAAK,cAAc,EAEnB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEN,KAAK,sBAAsB,EAC3B,MAAM,iEAAiE,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AA0BvF;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,OAAO,EAAE,cAAc,EACvB,UAAU,EAAE,qBAAqB,EACjC,MAAM,EAAE,sBAAsB,EAC9B,UAAU,CAAC,EAAE,MAAM,IAAI,QAyFvB"}
|
|
@@ -4,9 +4,11 @@ import type { ActivationArea } from "./types/gesture.types";
|
|
|
4
4
|
import type { GestureTracking, Layout, SheetScrollGestureBehavior, SheetSnapBehavior } from "./types/screen.types";
|
|
5
5
|
import type { BaseStackRoute } from "./types/stack.types";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Legacy navigation mask identifiers (ignored).
|
|
8
8
|
*/
|
|
9
|
+
/** @deprecated Ignored. Return `clip` geometry from the interpolator instead. */
|
|
9
10
|
export declare const NAVIGATION_MASK_ELEMENT_STYLE_ID = "NAVIGATION_MASK_ELEMENT_STYLE_ID";
|
|
11
|
+
/** @deprecated Ignored. Return `clip` geometry from the interpolator instead. */
|
|
10
12
|
export declare const NAVIGATION_MASK_CONTAINER_STYLE_ID = "NAVIGATION_MASK_CONTAINER_STYLE_ID";
|
|
11
13
|
/**
|
|
12
14
|
* Styles
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EACX,uBAAuB,EACvB,qBAAqB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EACX,eAAe,EACf,MAAM,EACN,0BAA0B,EAC1B,iBAAiB,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,gCAAgC,qCACV,CAAC;AACpC,eAAO,MAAM,kCAAkC,uCACV,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,SAAS,cAAoB,CAAC;AAC3C,eAAO,MAAM,aAAa;;EAAgC,CAAC;AAC3D,eAAO,MAAM,QAAQ,cAAoB,CAAC;AAgD1C,eAAO,MAAM,iCAAiC,EAAE,uBAC9B,CAAC;AAEnB;;GAEG;AACH,eAAO,MAAM,2BAA2B,GACvC,OAAO,cAAc,EACrB,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,UAAS,uBAA2D,KAClE,qBAoBD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,qBAoB3C,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;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KAAK,IAAI,CAAC;AAEvB,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,OAAO,UAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-navigation-helpers.d.ts","sourceRoot":"","sources":["../../../../src/hooks/navigation/use-navigation-helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-navigation-helpers.d.ts","sourceRoot":"","sources":["../../../../src/hooks/navigation/use-navigation-helpers.ts"],"names":[],"mappings":"AAQA,wBAAgB,oBAAoB;yBASG,OAAO;0BAoBN,OAAO;EA2B9C"}
|
|
@@ -1293,5 +1293,5 @@ export { type ScreenAnimationTarget, useScreenAnimation, } from "./providers/scr
|
|
|
1293
1293
|
export { type ScreenGestureTarget, useScreenGesture, } from "./providers/screen/motion/gestures/ownership/hooks/use-screen-gesture";
|
|
1294
1294
|
export { MotionProvider, type MotionProviderProps, useMotionStore, } from "./providers/screen/motion/motion.provider";
|
|
1295
1295
|
export { OrchestratorProvider, type OrchestratorProviderProps, } from "./providers/screen/orchestrator/orchestrator.provider";
|
|
1296
|
-
export type { AnimatedViewStyle, AnimationConfig, BoundaryHandoffTarget, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomAxisResponse, BoundsNavigationZoomDragOptions, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, GestureHandoffValues, InactiveBehavior, OverlayComponent, OverlayProps, RawGestureValues, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenInterpolationProps, ScreenLayerComponentProps, ScreenStyleInterpolator, ScreenSurfaceComponent, ScreenSurfaceComponentProps, ScreenTransitionConfig, ScreenTransitionDepthTarget, ScreenTransitionTarget, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, SheetSnapBehavior, TransitionInterpolatedStyle, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1296
|
+
export type { AnimatedViewStyle, AnimationConfig, BoundaryHandoffTarget, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomAxisResponse, BoundsNavigationZoomDragOptions, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, GestureHandoffValues, InactiveBehavior, OverlayComponent, OverlayProps, RawGestureValues, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenInterpolationProps, ScreenLayerComponentProps, ScreenStyleInterpolator, ScreenSurfaceComponent, ScreenSurfaceComponentProps, ScreenTransitionConfig, ScreenTransitionDepthTarget, ScreenTransitionTarget, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, SheetSnapBehavior, TransitionClip, TransitionInterpolatedStyle, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1297
1297
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-screen-transition-options.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/motion/animation/helpers/build-screen-transition-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,4BAA4B,GACxC,SAAS,sBAAsB,KAC7B,
|
|
1
|
+
{"version":3,"file":"build-screen-transition-options.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/motion/animation/helpers/build-screen-transition-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,4BAA4B,GACxC,SAAS,sBAAsB,KAC7B,uBAcF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/providers/screen/motion/animation/helpers/hydrate-transition-state/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,6BAA6B,EAC7B,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAOnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/providers/screen/motion/animation/helpers/hydrate-transition-state/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,6BAA6B,EAC7B,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAOnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAkC1C,eAAO,MAAM,sBAAsB,GAClC,GAAG,UAAU,EACb,YAAY,MAAM,EAClB,mBAAmB,6BAA6B,4DAqLhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/motion/options/helpers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAIX,sBAAsB,EACtB,2BAA2B,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAEX,yBAAyB,EACzB,qBAAqB,EAErB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/motion/options/helpers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAIX,sBAAsB,EACtB,2BAA2B,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAEX,yBAAyB,EACzB,qBAAqB,EAErB,MAAM,SAAS,CAAC;AAsMjB,eAAO,MAAM,wBAAwB,GACpC,SAAS,sBAAsB,KAC7B,qBA6CF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,eAAe,yBAAyB,EACxC,MAAM,qBAAqB,SAW3B,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACtC,KAAK,2BAA2B,GAAG,SAAS,EAC5C,eAAe,yBAAyB,SAuDxC,CAAC"}
|
|
@@ -4,7 +4,6 @@ export type RuntimeOption<T> = SharedValue<T>;
|
|
|
4
4
|
export type RequiredScreenOption<K extends keyof ScreenTransitionConfig> = NonNullable<ScreenTransitionConfig[K]>;
|
|
5
5
|
export type OptionalScreenOption<K extends keyof ScreenTransitionConfig> = ScreenTransitionConfig[K];
|
|
6
6
|
export type ScreenOptionsSnapshot = {
|
|
7
|
-
navigationMaskEnabled: OptionalScreenOption<"navigationMaskEnabled">;
|
|
8
7
|
gestureEnabled: OptionalScreenOption<"gestureEnabled">;
|
|
9
8
|
gestureTracking: RequiredScreenOption<"gestureTracking">;
|
|
10
9
|
gestureDirection: RequiredScreenOption<"gestureDirection">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/motion/options/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;AAC9C,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,sBAAsB,IACtE,WAAW,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;AACxC,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,sBAAsB,IACtE,sBAAsB,CAAC,CAAC,CAAC,CAAC;AAE3B,MAAM,MAAM,qBAAqB,GAAG;IACnC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/motion/options/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;AAC9C,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,sBAAsB,IACtE,WAAW,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;AACxC,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,sBAAsB,IACtE,sBAAsB,CAAC,CAAC,CAAC,CAAC;AAE3B,MAAM,MAAM,qBAAqB,GAAG;IACnC,cAAc,EAAE,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;IACvD,eAAe,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IACzD,gBAAgB,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,CAAC;IAC3D,kBAAkB,EAAE,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;IAC/D,qBAAqB,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,CAAC;IACrE,yBAAyB,EAAE,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;IAC7E,2BAA2B,EAAE,oBAAoB,CAAC,6BAA6B,CAAC,CAAC;IACjF,iBAAiB,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;IAC7D,iBAAiB,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;IAC7D,0BAA0B,EAAE,oBAAoB,CAAC,4BAA4B,CAAC,CAAC;IAC/E,gBAAgB,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,CAAC;IAC3D,cAAc,EAAE,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,GAAG;IACxD,WAAW,EAAE,qBAAqB,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAAC"}
|
package/lib/typescript/providers/screen/orchestrator/helpers/use-interpolator-state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-interpolator-state.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/orchestrator/helpers/use-interpolator-state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-interpolator-state.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/orchestrator/helpers/use-interpolator-state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACX,UAAU,EACV,oBAAoB,EACpB,MAAM,+DAA+D,CAAC;AAIvE,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,oBAAoB,GAAG,IAAI,GACjC,UAAU,GAAG,SAAS,CAoBxB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { NormalizedTransitionInterpolatedStyle, ScreenStyleInterpolator } from "../../../../types/animation.types";
|
|
2
|
+
import type { ScreenAnimationPipeline, ScreenInterpolatorFrame } from "./pipeline";
|
|
3
|
+
export type BoundaryPairPresentation = {
|
|
4
|
+
pairKey: string;
|
|
5
|
+
sourceKey: string;
|
|
6
|
+
destinationKey: string;
|
|
7
|
+
ready: boolean;
|
|
8
|
+
source: NormalizedTransitionInterpolatedStyle;
|
|
9
|
+
destination: NormalizedTransitionInterpolatedStyle;
|
|
10
|
+
};
|
|
11
|
+
export declare function boundarySourceFrame(frame: ScreenInterpolatorFrame): ScreenInterpolatorFrame | undefined;
|
|
12
|
+
export declare function runBoundaryInterpolator(interpolator: ScreenStyleInterpolator, frame: ScreenInterpolatorFrame, side: "source" | "destination"): Readonly<{}>;
|
|
13
|
+
export declare function usePairPresentation({ screenInterpolatorProps, currentInterpolator, }: ScreenAnimationPipeline): import("react-native-reanimated").DerivedValue<{
|
|
14
|
+
pairKey: string;
|
|
15
|
+
sourceKey: string;
|
|
16
|
+
destinationKey: string;
|
|
17
|
+
ready: boolean;
|
|
18
|
+
source: Readonly<{}>;
|
|
19
|
+
destination: Readonly<{}>;
|
|
20
|
+
} | undefined>;
|
|
21
|
+
//# sourceMappingURL=use-pair-presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-pair-presentation.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/orchestrator/helpers/use-pair-presentation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACX,qCAAqC,EACrC,uBAAuB,EACvB,MAAM,mCAAmC,CAAC;AAQ3C,OAAO,KAAK,EACX,uBAAuB,EACvB,uBAAuB,EACvB,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,wBAAwB,GAAG;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,qCAAqC,CAAC;IAC9C,WAAW,EAAE,qCAAqC,CAAC;CACnD,CAAC;AAEF,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,uBAAuB,GAC5B,uBAAuB,GAAG,SAAS,CAYrC;AAED,wBAAgB,uBAAuB,CACtC,YAAY,EAAE,uBAAuB,EACrC,KAAK,EAAE,uBAAuB,EAC9B,IAAI,EAAE,QAAQ,GAAG,aAAa,gBAY9B;AAID,wBAAgB,mBAAmB,CAAC,EACnC,uBAAuB,EACvB,mBAAmB,GACnB,EAAE,uBAAuB;;;;;;;eAoCzB"}
|
|
@@ -3,6 +3,7 @@ import type { SharedValue } from "react-native-reanimated";
|
|
|
3
3
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../types/animation.types";
|
|
4
4
|
import type { BoundsAccessor } from "../../../types/bounds.types";
|
|
5
5
|
import { useScreenAnimationPipeline } from "./helpers/pipeline";
|
|
6
|
+
import { usePairPresentation } from "./helpers/use-pair-presentation";
|
|
6
7
|
export type OrchestratorProviderProps = {
|
|
7
8
|
children: ReactNode;
|
|
8
9
|
/** Reuse an existing screen’s orchestration without rebuilding it. */
|
|
@@ -10,6 +11,7 @@ export type OrchestratorProviderProps = {
|
|
|
10
11
|
};
|
|
11
12
|
export type OrchestratorState = ReturnType<typeof useScreenAnimationPipeline> & {
|
|
12
13
|
boundsAccessor: BoundsAccessor;
|
|
14
|
+
pairPresentation: ReturnType<typeof usePairPresentation>;
|
|
13
15
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
14
16
|
};
|
|
15
17
|
export declare const OrchestratorProvider: import("react").FC<OrchestratorProviderProps | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/orchestrator/orchestrator.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAKlE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"orchestrator.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/orchestrator/orchestrator.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAKlE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAKtE,MAAM,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CACzC,OAAO,0BAA0B,CACjC,GAAG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B,gBAAgB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IACzD,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MACN,oBAAoB;;;IACpB,4BAA4B;;;;;;;;GAC5B,oBAAoB;;;;;;;;CAyCnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/orchestrator/styles/constants.ts"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAqCtD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAGrD,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/orchestrator/styles/constants.ts"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAqCtD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAGrD,CAAC;AAYF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,YAIjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,YAG/C,CAAC"}
|
|
@@ -7,5 +7,5 @@ export declare const useComposedSlotStyles: (slotId: string | undefined, style:
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const useSlotStackingStyles: (slotId: string | undefined) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<Readonly<{}>>;
|
|
9
9
|
export declare const useSlotLayoutStyles: (slotId: string | undefined) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<Readonly<{}>>;
|
|
10
|
-
export declare const useSlotProps: (slotId: string | undefined) =>
|
|
10
|
+
export declare const useSlotProps: (slotId: string | undefined) => any;
|
|
11
11
|
//# sourceMappingURL=slot-resolvers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/orchestrator/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../../src/providers/screen/orchestrator/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,KAMhD,GACN,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../../../../constants";
|
|
2
|
-
export type ScreenSlotName = "overlay" | "content" | "surface" | "backdrop" | typeof NAVIGATION_MASK_CONTAINER_STYLE_ID | typeof NAVIGATION_MASK_ELEMENT_STYLE_ID;
|
|
2
|
+
export type ScreenSlotName = "overlay" | "content" | "surface" | "backdrop" | "clip" | typeof NAVIGATION_MASK_CONTAINER_STYLE_ID | typeof NAVIGATION_MASK_ELEMENT_STYLE_ID;
|
|
3
3
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/orchestrator/styles/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/orchestrator/styles/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,MAAM,GACN,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC"}
|