react-native-screen-transitions 3.8.0 → 3.9.0-alpha.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/blank-stack/components/stack-view.js +2 -1
- package/lib/commonjs/blank-stack/components/stack-view.js.map +1 -1
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/components/boundary-target.js +21 -8
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -0
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/create-boundary-component.js +18 -24
- package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-presence.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/use-initial-destination-measurement.js +115 -0
- package/lib/commonjs/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.js +4 -5
- package/lib/commonjs/shared/components/boundary/hooks/use-initial-source-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.js +26 -22
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -0
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-refresh-boundary.js +10 -7
- package/lib/commonjs/shared/components/boundary/hooks/use-refresh-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/index.js +8 -1
- package/lib/commonjs/shared/components/boundary/index.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/host.js +99 -0
- package/lib/commonjs/shared/components/boundary/portal/components/host.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js +74 -0
- package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/portal-provider.js +20 -0
- package/lib/commonjs/shared/components/boundary/portal/components/portal-provider.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/portal.js +198 -0
- package/lib/commonjs/shared/components/boundary/portal/components/portal.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js +74 -0
- package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/index.js +27 -0
- package/lib/commonjs/shared/components/boundary/portal/index.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/stores/host-bounds.store.js +47 -0
- package/lib/commonjs/shared/components/boundary/portal/stores/host-bounds.store.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js +137 -0
- package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js +60 -0
- package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/teleport.js +23 -0
- package/lib/commonjs/shared/components/boundary/portal/teleport.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js +40 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/naming.js +15 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/naming.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js +71 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js +16 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js.map +1 -0
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/providers/boundary-owner.provider.js +26 -25
- package/lib/commonjs/shared/components/boundary/providers/boundary-owner.provider.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/types.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +25 -0
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +1 -0
- package/lib/commonjs/shared/components/{create-boundary-component → boundary}/utils/measured-bounds.js +19 -9
- package/lib/commonjs/shared/components/boundary/utils/measured-bounds.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +105 -0
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/utils/source-signals.js +48 -0
- package/lib/commonjs/shared/components/boundary/utils/source-signals.js.map +1 -0
- package/lib/commonjs/shared/components/create-transition-aware-component.js +8 -3
- package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/shared/components/{integrations/masked-view.js → masked-view.js} +2 -2
- package/lib/commonjs/shared/components/masked-view.js.map +1 -0
- package/lib/commonjs/shared/components/screen-container/layers/content.js +9 -5
- package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/shared/configs/presets.js +6 -6
- package/lib/commonjs/shared/configs/presets.js.map +1 -1
- package/lib/commonjs/shared/hooks/navigation/use-stack.js +17 -2
- package/lib/commonjs/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/commonjs/shared/index.js +4 -4
- package/lib/commonjs/shared/index.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +4 -2
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +4 -13
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/stack-progress.js +23 -12
- package/lib/commonjs/shared/providers/screen/animation/helpers/stack-progress.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js +7 -3
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +8 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +21 -6
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/origin.provider.js +41 -0
- package/lib/commonjs/shared/providers/screen/origin.provider.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js +2 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js +58 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +7 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/styles.provider.js +7 -5
- package/lib/commonjs/shared/providers/screen/styles/styles.provider.js.map +1 -1
- package/lib/commonjs/shared/stores/animation.store.js +2 -0
- package/lib/commonjs/shared/stores/animation.store.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +1 -10
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +36 -19
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +6 -4
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/stores/scroll.store.js +54 -1
- package/lib/commonjs/shared/stores/scroll.store.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js +38 -4
- package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +40 -87
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +6 -67
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +8 -12
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/composers.js +235 -68
- package/lib/commonjs/shared/utils/bounds/helpers/styles/composers.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +74 -4
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +5 -9
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +5 -10
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/blank-stack/components/stack-view.js +3 -2
- package/lib/module/blank-stack/components/stack-view.js.map +1 -1
- package/lib/module/shared/components/{create-boundary-component → boundary}/components/boundary-target.js +21 -8
- package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -0
- package/lib/module/shared/components/{create-boundary-component → boundary}/create-boundary-component.js +20 -26
- package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/use-boundary-presence.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/use-initial-destination-measurement.js +110 -0
- package/lib/module/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +1 -0
- package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.js +4 -5
- package/lib/module/shared/components/boundary/hooks/use-initial-source-measurement.js.map +1 -0
- package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.js +27 -23
- package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -0
- package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-refresh-boundary.js +10 -7
- package/lib/module/shared/components/boundary/hooks/use-refresh-boundary.js.map +1 -0
- package/lib/module/shared/components/{create-boundary-component → boundary}/index.js +8 -1
- package/lib/module/shared/components/boundary/index.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/host.js +94 -0
- package/lib/module/shared/components/boundary/portal/components/host.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js +69 -0
- package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/portal-provider.js +16 -0
- package/lib/module/shared/components/boundary/portal/components/portal-provider.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/portal.js +193 -0
- package/lib/module/shared/components/boundary/portal/components/portal.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js +69 -0
- package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/index.js +6 -0
- package/lib/module/shared/components/boundary/portal/index.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/stores/host-bounds.store.js +40 -0
- package/lib/module/shared/components/boundary/portal/stores/host-bounds.store.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js +126 -0
- package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js +53 -0
- package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/teleport.js +19 -0
- package/lib/module/shared/components/boundary/portal/teleport.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/attachment.js +35 -0
- package/lib/module/shared/components/boundary/portal/utils/attachment.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/naming.js +10 -0
- package/lib/module/shared/components/boundary/portal/utils/naming.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/offset-style.js +66 -0
- package/lib/module/shared/components/boundary/portal/utils/offset-style.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/teleport-control.js +11 -0
- package/lib/module/shared/components/boundary/portal/utils/teleport-control.js.map +1 -0
- package/lib/module/shared/components/boundary/providers/boundary-owner.provider.js +60 -0
- package/lib/module/shared/components/boundary/providers/boundary-owner.provider.js.map +1 -0
- package/lib/module/shared/components/boundary/types.js.map +1 -0
- package/lib/module/shared/components/boundary/utils/destination-signals.js +20 -0
- package/lib/module/shared/components/boundary/utils/destination-signals.js.map +1 -0
- package/lib/module/shared/components/{create-boundary-component → boundary}/utils/measured-bounds.js +16 -7
- package/lib/module/shared/components/boundary/utils/measured-bounds.js.map +1 -0
- package/lib/module/shared/components/boundary/utils/refresh-signals.js +100 -0
- package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +1 -0
- package/lib/module/shared/components/boundary/utils/source-signals.js +43 -0
- package/lib/module/shared/components/boundary/utils/source-signals.js.map +1 -0
- package/lib/module/shared/components/create-transition-aware-component.js +8 -3
- package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/shared/components/{integrations/masked-view.js → masked-view.js} +2 -2
- package/lib/module/shared/components/masked-view.js.map +1 -0
- package/lib/module/shared/components/screen-container/layers/content.js +10 -6
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/configs/presets.js +6 -6
- package/lib/module/shared/configs/presets.js.map +1 -1
- package/lib/module/shared/hooks/navigation/use-stack.js +19 -4
- package/lib/module/shared/hooks/navigation/use-stack.js.map +1 -1
- package/lib/module/shared/index.js +2 -2
- package/lib/module/shared/index.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +4 -2
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +5 -14
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/stack-progress.js +20 -10
- package/lib/module/shared/providers/screen/animation/helpers/stack-progress.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js +8 -4
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +8 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +20 -6
- package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +1 -1
- package/lib/module/shared/providers/screen/origin.provider.js +33 -0
- package/lib/module/shared/providers/screen/origin.provider.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/constants.js +2 -0
- package/lib/module/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js +53 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/styles.provider.js +7 -5
- package/lib/module/shared/providers/screen/styles/styles.provider.js.map +1 -1
- package/lib/module/shared/stores/animation.store.js +2 -0
- package/lib/module/shared/stores/animation.store.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +1 -8
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
- package/lib/module/shared/stores/bounds/index.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +36 -19
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +6 -4
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/stores/scroll.store.js +50 -0
- package/lib/module/shared/stores/scroll.store.js.map +1 -1
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/types/bounds.types.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js +36 -3
- package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +42 -89
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +6 -67
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +8 -13
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/composers.js +236 -69
- package/lib/module/shared/utils/bounds/helpers/styles/composers.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js +74 -4
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js +5 -9
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js +5 -10
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/typescript/blank-stack/components/stack-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-initial-destination-measurement.d.ts +1 -4
- package/lib/typescript/shared/components/boundary/hooks/use-initial-destination-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.d.ts +0 -2
- package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.d.ts +4 -2
- package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/use-refresh-boundary.d.ts +10 -0
- package/lib/typescript/shared/components/boundary/hooks/use-refresh-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/index.d.ts +8 -2
- package/lib/typescript/shared/components/boundary/index.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/host.d.ts +7 -0
- package/lib/typescript/shared/components/boundary/portal/components/host.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts +9 -0
- package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts +4 -0
- package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts +19 -0
- package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts +13 -0
- package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/index.d.ts +4 -0
- package/lib/typescript/shared/components/boundary/portal/index.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/stores/host-bounds.store.d.ts +9 -0
- package/lib/typescript/shared/components/boundary/portal/stores/host-bounds.store.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts +19 -0
- package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts +11 -0
- package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/teleport.d.ts +6 -0
- package/lib/typescript/shared/components/boundary/portal/teleport.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts +21 -0
- package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts +3 -0
- package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts +37 -0
- package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts +3 -0
- package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/providers/boundary-owner.provider.d.ts +14 -6
- package/lib/typescript/shared/components/boundary/providers/boundary-owner.provider.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/types.d.ts +78 -0
- package/lib/typescript/shared/components/boundary/types.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/utils/destination-signals.d.ts +2 -3
- package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/utils/refresh-signals.d.ts +4 -3
- package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/{create-boundary-component → boundary}/utils/source-signals.d.ts +1 -2
- package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/masked-view.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/shared/configs/presets.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +19 -17
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +3 -1
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/stack-progress.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/stack-progress.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +6 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts +9 -3
- package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/origin.provider.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/origin.provider.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts.map +1 -1
- package/lib/typescript/shared/stores/animation.store.d.ts +1 -0
- package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +1 -3
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/index.d.ts +1 -1
- package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts +2 -2
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts +2 -2
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts +4 -2
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +47 -12
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/scroll.store.d.ts +12 -1
- package/lib/typescript/shared/stores/scroll.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +13 -2
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +10 -40
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/index.d.ts +2 -2
- package/lib/typescript/shared/types/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts +2 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts +7 -11
- package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +0 -3
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +7 -3
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/composers.d.ts +3 -0
- package/lib/typescript/shared/utils/bounds/helpers/styles/composers.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +93 -6
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/package.json +8 -2
- package/src/blank-stack/components/stack-view.tsx +4 -3
- package/src/shared/components/{create-boundary-component → boundary}/components/boundary-target.tsx +28 -11
- package/src/shared/components/{create-boundary-component → boundary}/create-boundary-component.tsx +33 -31
- package/src/shared/components/boundary/hooks/use-initial-destination-measurement.ts +156 -0
- package/src/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.ts +5 -14
- package/src/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.ts +42 -46
- package/src/shared/components/{create-boundary-component → boundary}/hooks/use-refresh-boundary.ts +16 -11
- package/src/shared/components/{create-boundary-component → boundary}/index.tsx +12 -0
- package/src/shared/components/boundary/portal/components/host.tsx +114 -0
- package/src/shared/components/boundary/portal/components/portal-boundary-host.tsx +97 -0
- package/src/shared/components/boundary/portal/components/portal-provider.tsx +14 -0
- package/src/shared/components/boundary/portal/components/portal.tsx +283 -0
- package/src/shared/components/boundary/portal/hooks/use-host-measurement.ts +102 -0
- package/src/shared/components/boundary/portal/index.ts +3 -0
- package/src/shared/components/boundary/portal/stores/host-bounds.store.ts +45 -0
- package/src/shared/components/boundary/portal/stores/host-registry.store.ts +182 -0
- package/src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts +91 -0
- package/src/shared/components/boundary/portal/teleport.ts +21 -0
- package/src/shared/components/boundary/portal/utils/attachment.ts +48 -0
- package/src/shared/components/boundary/portal/utils/naming.ts +10 -0
- package/src/shared/components/boundary/portal/utils/offset-style.ts +171 -0
- package/src/shared/components/boundary/portal/utils/teleport-control.ts +13 -0
- package/src/shared/components/{create-boundary-component → boundary}/providers/boundary-owner.provider.tsx +41 -33
- package/src/shared/components/boundary/types.ts +92 -0
- package/src/shared/components/boundary/utils/destination-signals.ts +31 -0
- package/src/shared/components/{create-boundary-component → boundary}/utils/measured-bounds.ts +34 -11
- package/src/shared/components/boundary/utils/refresh-signals.ts +175 -0
- package/src/shared/components/boundary/utils/source-signals.ts +63 -0
- package/src/shared/components/create-transition-aware-component.tsx +8 -3
- package/src/shared/components/{integrations/masked-view.tsx → masked-view.tsx} +2 -2
- package/src/shared/components/screen-container/layers/content.tsx +12 -7
- package/src/shared/configs/presets.ts +2 -6
- package/src/shared/hooks/navigation/use-stack.tsx +32 -1
- package/src/shared/index.ts +13 -5
- package/src/shared/providers/helpers/measured-bounds-writes.ts +11 -1
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/types.ts +1 -0
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +13 -19
- package/src/shared/providers/screen/animation/helpers/stack-progress.ts +31 -16
- package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +2 -0
- package/src/shared/providers/screen/descriptors/descriptors.provider.tsx +7 -3
- package/src/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +16 -0
- package/src/shared/providers/screen/descriptors/helpers/get-ancestor-keys.ts +31 -6
- package/src/shared/providers/screen/origin.provider.tsx +38 -0
- package/src/shared/providers/screen/styles/constants.ts +2 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.ts +74 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +1 -0
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +1 -0
- package/src/shared/providers/screen/styles/styles.provider.tsx +5 -3
- package/src/shared/stores/animation.store.ts +3 -0
- package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +1 -10
- package/src/shared/stores/bounds/index.ts +2 -4
- package/src/shared/stores/bounds/internals/entries.ts +4 -4
- package/src/shared/stores/bounds/internals/links.ts +52 -18
- package/src/shared/stores/bounds/internals/resolver.ts +5 -3
- package/src/shared/stores/bounds/internals/state.ts +5 -2
- package/src/shared/stores/bounds/types.ts +59 -15
- package/src/shared/stores/scroll.store.ts +68 -0
- package/src/shared/types/animation.types.ts +17 -2
- package/src/shared/types/bounds.types.ts +22 -60
- package/src/shared/types/index.ts +5 -0
- package/src/shared/utils/bounds/helpers/create-bound-tag.ts +46 -4
- package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +65 -116
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +10 -80
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +10 -13
- package/src/shared/utils/bounds/helpers/styles/composers.ts +269 -46
- package/src/shared/utils/bounds/helpers/styles/compute.ts +134 -2
- package/src/shared/utils/bounds/navigation/reveal/build.ts +5 -7
- package/src/shared/utils/bounds/navigation/zoom/build.ts +5 -8
- package/src/shared/utils/bounds/types/options.ts +105 -6
- package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +0 -99
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/index.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/types.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js +0 -75
- package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/measured-bounds.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js +0 -103
- package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js +0 -52
- package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js.map +0 -1
- package/lib/commonjs/shared/components/integrations/masked-view.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js +0 -68
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +0 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/interpolate-link-style.js +0 -30
- package/lib/commonjs/shared/utils/bounds/helpers/styles/interpolate-link-style.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/components/boundary-target.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +0 -94
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/index.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js +0 -60
- package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/types.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js +0 -70
- package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/utils/measured-bounds.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js +0 -98
- package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js +0 -47
- package/lib/module/shared/components/create-boundary-component/utils/source-signals.js.map +0 -1
- package/lib/module/shared/components/integrations/masked-view.js.map +0 -1
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +0 -63
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +0 -1
- package/lib/module/shared/utils/bounds/helpers/styles/interpolate-link-style.js +0 -26
- package/lib/module/shared/utils/bounds/helpers/styles/interpolate-link-style.js.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts +0 -14
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/providers/boundary-owner.provider.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +0 -37
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts +0 -8
- package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts.map +0 -1
- package/lib/typescript/shared/components/integrations/masked-view.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts +0 -14
- package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +0 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/interpolate-link-style.d.ts +0 -17
- package/lib/typescript/shared/utils/bounds/helpers/styles/interpolate-link-style.d.ts.map +0 -1
- package/src/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts +0 -130
- package/src/shared/components/create-boundary-component/types.ts +0 -48
- package/src/shared/components/create-boundary-component/utils/destination-signals.ts +0 -129
- package/src/shared/components/create-boundary-component/utils/refresh-signals.ts +0 -164
- package/src/shared/components/create-boundary-component/utils/source-signals.ts +0 -72
- package/src/shared/utils/bounds/helpers/create-interpolators.ts +0 -117
- package/src/shared/utils/bounds/helpers/styles/interpolate-link-style.ts +0 -43
- /package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.js +0 -0
- /package/lib/commonjs/shared/components/{create-boundary-component → boundary}/types.js +0 -0
- /package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.js +0 -0
- /package/lib/module/shared/components/{create-boundary-component → boundary}/types.js +0 -0
- /package/lib/typescript/shared/components/{create-boundary-component → boundary}/components/boundary-target.d.ts +0 -0
- /package/lib/typescript/shared/components/{create-boundary-component → boundary}/create-boundary-component.d.ts +0 -0
- /package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.d.ts +0 -0
- /package/lib/typescript/shared/components/{integrations/masked-view.d.ts → masked-view.d.ts} +0 -0
- /package/src/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.ts +0 -0
|
@@ -2,8 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
import { ENTER_RANGE, EXIT_RANGE, FULLSCREEN_DIMENSIONS, NO_STYLES } from "../../../../constants";
|
|
4
4
|
import { resolveTransitionPair } from "../../../../stores/bounds/internals/resolver";
|
|
5
|
+
import { getClampedScrollAxisDelta } from "../../../../stores/scroll.store";
|
|
5
6
|
import { computeContentTransformGeometry, computeRelativeGeometry } from "../geometry";
|
|
6
7
|
import { composeContentStyle, composeSizeAbsolute, composeSizeRelative, composeTransformAbsolute, composeTransformRelative } from "./composers";
|
|
8
|
+
const getBoundsScrollSnapshot = bounds => {
|
|
9
|
+
"worklet";
|
|
10
|
+
|
|
11
|
+
return bounds?.scroll ?? null;
|
|
12
|
+
};
|
|
13
|
+
const getScreenScrollMetadata = (screenKey, previous, current, next) => {
|
|
14
|
+
"worklet";
|
|
15
|
+
|
|
16
|
+
if (!screenKey) return null;
|
|
17
|
+
if (previous?.route.key === screenKey) return previous.layouts?.scroll ?? null;
|
|
18
|
+
if (current?.route.key === screenKey) return current.layouts?.scroll ?? null;
|
|
19
|
+
if (next?.route.key === screenKey) return next.layouts?.scroll ?? null;
|
|
20
|
+
return null;
|
|
21
|
+
};
|
|
22
|
+
const shiftBounds = (bounds, dx, dy) => {
|
|
23
|
+
"worklet";
|
|
24
|
+
|
|
25
|
+
if (dx === 0 && dy === 0) {
|
|
26
|
+
return bounds;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
...bounds,
|
|
30
|
+
x: bounds.x + dx,
|
|
31
|
+
y: bounds.y + dy,
|
|
32
|
+
pageX: bounds.pageX + dx,
|
|
33
|
+
pageY: bounds.pageY + dy
|
|
34
|
+
};
|
|
35
|
+
};
|
|
7
36
|
const resolveStartEnd = params => {
|
|
8
37
|
"worklet";
|
|
9
38
|
|
|
@@ -47,7 +76,42 @@ const resolveStartEnd = params => {
|
|
|
47
76
|
hasTargetOverride
|
|
48
77
|
};
|
|
49
78
|
}
|
|
50
|
-
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Teleport continuity: this screen's source content physically renders
|
|
82
|
+
* inside the matched screen's portal host, which travels with that screen's
|
|
83
|
+
* ScrollView. Screen-fixed rects (the source, fullscreen/custom targets)
|
|
84
|
+
* must be expressed in the host's frame by the clamped scroll travel since
|
|
85
|
+
* the destination capture. The destination rect rides with the host, so it
|
|
86
|
+
* stays untouched. Classic two-component links never set a portal host and
|
|
87
|
+
* skip this entirely.
|
|
88
|
+
*/
|
|
89
|
+
const isTeleportedSourceElement = resolvedPair.sourcePortalAttachTarget === "matched-screen" && !!currentScreenKey && currentScreenKey === resolvedPair.sourceScreenKey && !!resolvedPair.destinationScreenKey && currentScreenKey !== resolvedPair.destinationScreenKey && params.computeOptions.method !== "content";
|
|
90
|
+
let teleportShiftX = 0;
|
|
91
|
+
let teleportShiftY = 0;
|
|
92
|
+
let sourceScrollShiftX = 0;
|
|
93
|
+
let sourceScrollShiftY = 0;
|
|
94
|
+
if (isTeleportedSourceElement) {
|
|
95
|
+
const capturedScroll = getBoundsScrollSnapshot(destinationBounds);
|
|
96
|
+
const liveScroll = getScreenScrollMetadata(resolvedPair.destinationScreenKey, params.previous, params.current, params.next);
|
|
97
|
+
teleportShiftX = getClampedScrollAxisDelta(liveScroll, capturedScroll, "horizontal");
|
|
98
|
+
teleportShiftY = getClampedScrollAxisDelta(liveScroll, capturedScroll, "vertical");
|
|
99
|
+
|
|
100
|
+
// A source that lives inside its own scroll host travels with that
|
|
101
|
+
// ScrollView in page space. Shifting the start rect by the clamped source
|
|
102
|
+
// scroll travel keeps it aligned with the live placeholder; the host
|
|
103
|
+
// placement applies the identical shift, so the shifts cancel at full
|
|
104
|
+
// progress and the open frame is untouched. Screen-fixed rects (the
|
|
105
|
+
// fullscreen/custom end targets below) are not inside the scroll content
|
|
106
|
+
// and keep only the destination shift.
|
|
107
|
+
if (resolvedPair.sourceHost?.capturesScroll) {
|
|
108
|
+
const capturedSourceScroll = getBoundsScrollSnapshot(sourceBounds);
|
|
109
|
+
const liveSourceScroll = getScreenScrollMetadata(resolvedPair.sourceScreenKey, params.previous, params.current, params.next);
|
|
110
|
+
sourceScrollShiftX = getClampedScrollAxisDelta(liveSourceScroll, capturedSourceScroll, "horizontal");
|
|
111
|
+
sourceScrollShiftY = getClampedScrollAxisDelta(liveSourceScroll, capturedSourceScroll, "vertical");
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const start = shiftBounds(sourceBounds, teleportShiftX - sourceScrollShiftX, teleportShiftY - sourceScrollShiftY);
|
|
51
115
|
let end = destinationBounds ?? fullscreen;
|
|
52
116
|
if (isFullscreenTarget) {
|
|
53
117
|
end = fullscreen;
|
|
@@ -56,6 +120,9 @@ const resolveStartEnd = params => {
|
|
|
56
120
|
if (typeof customTarget === "object") {
|
|
57
121
|
end = customTarget;
|
|
58
122
|
}
|
|
123
|
+
if (hasTargetOverride) {
|
|
124
|
+
end = shiftBounds(end, teleportShiftX, teleportShiftY);
|
|
125
|
+
}
|
|
59
126
|
return {
|
|
60
127
|
start,
|
|
61
128
|
end,
|
|
@@ -72,7 +139,8 @@ export const computeBoundStyles = ({
|
|
|
72
139
|
current,
|
|
73
140
|
next,
|
|
74
141
|
progress,
|
|
75
|
-
dimensions
|
|
142
|
+
dimensions,
|
|
143
|
+
interpolationProps
|
|
76
144
|
}, computeOptions = {
|
|
77
145
|
id: "bound-id"
|
|
78
146
|
}, resolvedPair) => {
|
|
@@ -119,7 +187,8 @@ export const computeBoundStyles = ({
|
|
|
119
187
|
ranges,
|
|
120
188
|
end: contentEnd,
|
|
121
189
|
geometry,
|
|
122
|
-
computeOptions
|
|
190
|
+
computeOptions,
|
|
191
|
+
interpolationProps
|
|
123
192
|
});
|
|
124
193
|
}
|
|
125
194
|
const geometry = computeRelativeGeometry({
|
|
@@ -135,7 +204,8 @@ export const computeBoundStyles = ({
|
|
|
135
204
|
progress,
|
|
136
205
|
ranges,
|
|
137
206
|
geometry,
|
|
138
|
-
computeOptions
|
|
207
|
+
computeOptions,
|
|
208
|
+
interpolationProps
|
|
139
209
|
};
|
|
140
210
|
const isSize = computeOptions.method === "size";
|
|
141
211
|
const isAbsolute = computeOptions.space === "absolute";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","NO_STYLES","resolveTransitionPair","computeContentTransformGeometry","computeRelativeGeometry","composeContentStyle","composeSizeAbsolute","composeSizeRelative","composeTransformAbsolute","composeTransformRelative","
|
|
1
|
+
{"version":3,"names":["ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","NO_STYLES","resolveTransitionPair","getClampedScrollAxisDelta","computeContentTransformGeometry","computeRelativeGeometry","composeContentStyle","composeSizeAbsolute","composeSizeRelative","composeTransformAbsolute","composeTransformRelative","getBoundsScrollSnapshot","bounds","scroll","getScreenScrollMetadata","screenKey","previous","current","next","route","key","layouts","shiftBounds","dx","dy","x","y","pageX","pageY","resolveStartEnd","params","entering","fullscreen","dimensions","isFullscreenTarget","computeOptions","target","hasCustomTarget","hasTargetOverride","currentScreenKey","previousScreenKey","nextScreenKey","resolvedPair","String","id","sourceBounds","destinationBounds","start","end","sourceScreenKey","destinationScreenKey","isTeleportedSourceElement","sourcePortalAttachTarget","method","teleportShiftX","teleportShiftY","sourceScrollShiftX","sourceScrollShiftY","capturedScroll","liveScroll","sourceHost","capturesScroll","capturedSourceScroll","liveSourceScroll","customTarget","computeBoundStyles","progress","interpolationProps","ranges","currentOwnsSource","contentStart","contentEnd","geometry","anchor","scaleMode","common","isSize","isAbsolute","space"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/helpers/styles/compute.ts"],"mappings":";;AACA,SACCA,WAAW,EACXC,UAAU,EACVC,qBAAqB,EACrBC,SAAS,QACH,uBAAuB;AAC9B,SAASC,qBAAqB,QAAQ,8CAA8C;AAEpF,SAASC,yBAAyB,QAAQ,iCAAiC;AAS3E,SACCC,+BAA+B,EAC/BC,uBAAuB,QACjB,aAAa;AACpB,SACCC,mBAAmB,EACnBC,mBAAmB,EACnBC,mBAAmB,EACnBC,wBAAwB,EACxBC,wBAAwB,QAElB,aAAa;AAE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AAC,GAC3BnE,mBAAmB,CAACmE,MAAM,CAAC,GAC5BE,UAAU,GACTpE,wBAAwB,CAACkE,MAAM,CAAC,GAChCjE,wBAAwB,CAACiE,MAAM,CAAC;AACrC,CAAC","ignoreList":[]}
|
|
@@ -43,11 +43,9 @@ export function buildRevealStyles({
|
|
|
43
43
|
const bounds = createBoundsAccessorCore({
|
|
44
44
|
getProps: () => props
|
|
45
45
|
});
|
|
46
|
-
const scopedBounds = bounds(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
const link = scopedBounds.getLink();
|
|
50
|
-
if (!link?.source?.bounds || !link.destination?.bounds) {
|
|
46
|
+
const scopedBounds = bounds(tag);
|
|
47
|
+
const link = scopedBounds.link();
|
|
48
|
+
if (link?.status !== "complete") {
|
|
51
49
|
return {};
|
|
52
50
|
}
|
|
53
51
|
const sourceBorderRadius = getSourceBorderRadius(link);
|
|
@@ -70,15 +68,13 @@ export function buildRevealStyles({
|
|
|
70
68
|
/* ----------------------------- Focused Screen ----------------------------- */
|
|
71
69
|
|
|
72
70
|
if (focused) {
|
|
73
|
-
const contentRaw =
|
|
74
|
-
raw: true,
|
|
71
|
+
const contentRaw = scopedBounds.math({
|
|
75
72
|
scaleMode: "uniform",
|
|
76
73
|
method: "content",
|
|
77
74
|
target: initialDestinationTarget,
|
|
78
75
|
progress: transitionProgress
|
|
79
76
|
});
|
|
80
|
-
const maskRaw =
|
|
81
|
-
raw: true,
|
|
77
|
+
const maskRaw = scopedBounds.math({
|
|
82
78
|
scaleMode: "uniform",
|
|
83
79
|
method: "size",
|
|
84
80
|
space: "absolute",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["interpolate","NAVIGATION_MASK_ELEMENT_STYLE_ID","createBoundsAccessorCore","getSourceBorderRadius","CLOSE_SOURCE_HANDOFF_PROGRESS","CONTENT_CLOSING_OPACITY_OUTPUT","CONTENT_CLOSING_OPACITY_RANGE","CONTENT_ENTERING_OPACITY_OUTPUT","CONTENT_ENTERING_OPACITY_RANGE","CONTENT_SHADOW_OPACITY_OUTPUT","DISMISS_SCALE_ORBIT_DEPTH","DRAG_MASK_HEIGHT_COLLAPSE_END","HORIZONTAL_DRAG_MASK_COLLAPSE_SCALE","IDENTITY_DRAG_SCALE_OUTPUT","REVEAL_BACKGROUND_SCALE","REVEAL_BORDER_RADIUS","REVEAL_SHADOW_OFFSET","REVEAL_USES_TRANSFORM_MASK","UNFOCUSED_ELEMENT_OPACITY_OUTPUT","ZERO_TO_ONE_RANGE","interpolateClamped","mixUnit","resolveAspectRatioMaskHeight","resolveDismissScaleHandoff","resolveRevealContentBaseTransform","resolveRevealDirectionalDragScale","resolveRevealGestureHandoff","resolveSafeScale","resolveTrackedSourceElementTransform","resolveUniformScale","resolveUnitDragTranslation","buildRevealStyles","tag","props","revealOptions","focused","layouts","screen","screenLayout","transitionProgress","current","next","activeTransitionProgress","active","borderRadius","borderContinuous","maxSensitivity","velocityDepth","disablePointerEventsTillElementTransition","maskSizingMode","backgroundScale","shouldBackgroundScaleResetOnSettled","usesTransformMask","bounds","getProps","scopedBounds","id","link","getLink","source","destination","sourceBorderRadius","liveGesture","gesture","gestureHandoff","handoff","initialGesture","direction","isHorizontalDismiss","isVerticalDismiss","rawDrag","Math","abs","raw","normX","normY","dragX","x","width","dragY","y","height","dragXScale","dragYScale","dragScale","initialDestinationTarget","closing","initialDestination","undefined","contentRaw","compute","scaleMode","method","target","progress","maskRaw","space","maskBorderRadius","maskBorderCurve","maskSizeMultiplier","maskWidth","max","maskHeight","contentBaseScale","scale","safeContentBaseScale","contentScale","dismissing","contentTargetBounds","sourceContentScale","sourceWidth","sourceHeight","destinationWidth","destinationHeight","releaseScale","targetScale","velocity","contentTranslateX","translateX","contentTranslateY","translateY","liveHorizontalDismissDrag","liveVerticalDismissDrag","dismissProgressDrag","maskHeightCollapseDrag","maskAspectBounds","initialSource","minMaskHeight","targetWidth","targetHeight","renderedMaskHeight","maskCenterX","maskCenterY","maskCenteringOffsetX","maskCenteringOffsetY","verticalCollapseOffsetY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","maskBaseWidth","maskBaseHeight","maskScaleX","maskScaleY","transformMaskTranslateX","transformMaskTranslateY","maskElementStyle","settled","borderCurve","transform","scaleX","scaleY","elementOffsetX","pageX","elementOffsetY","pageY","elementTX","elementY","gestureSensitivity","gestureReleaseVelocityScale","options","content","style","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","opacity","entering","unfocusedScale","unfocusedContentScale","trackingContentTarget","trackingContentBaseTransform","sourceBounds","destinationBounds","trackingContentScale","trackingTargetScale","trackingContentTranslateX","trackingContentTranslateY","trackedSourceElement","parentScale","screenWidth","screenHeight","pointerEvents","zIndex"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/reveal/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SAASC,gCAAgC,QAAQ,uBAAuB;AACxE,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,qBAAqB,QAAQ,YAAY;AAClD,SACCC,6BAA6B,EAC7BC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,+BAA+B,EAC/BC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,yBAAyB,EACzBC,6BAA6B,EAC7BC,mCAAmC,EACnCC,0BAA0B,EAC1BC,uBAAuB,EACvBC,oBAAoB,EACpBC,oBAAoB,EACpBC,0BAA0B,EAC1BC,gCAAgC,EAChCC,iBAAiB,QACX,UAAU;AACjB,SACCC,kBAAkB,EAClBC,OAAO,EACPC,4BAA4B,EAC5BC,0BAA0B,EAC1BC,iCAAiC,EACjCC,iCAAiC,EACjCC,2BAA2B,EAC3BC,gBAAgB,EAChBC,oCAAoC,EACpCC,mBAAmB,EACnBC,0BAA0B,QACpB,QAAQ;AAGf;AACA;AACA;;AAEA,OAAO,SAASC,iBAAiBA,CAAC;EACjCC,GAAG;EACHC,KAAK;EACLC;AACwB,CAAC,EAA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AAK,EAAE;QACNM,OAAO,EAAExI,KAAK,CAACU,MAAM,CAAC2C,OAAO,GAC1B,CAAC,GACDtF,WAAW,CACX0C,wBAAwB,EACxBvB,iBAAiB,EACjBD,gCACD,CAAC;QACHwK,MAAM,EAAE,IAAI;QACZlB,SAAS,EAAE,IAAI;QACflB,SAAS,EAAE,CACV;UACChC,UAAU,EAAErF,KAAK,CAACU,MAAM,CAACyG,OAAO,GAC7B,CAAC,GACDiC,oBAAoB,CAAC/D;QACzB,CAAC,EACD;UACCE,UAAU,EAAEvF,KAAK,CAACU,MAAM,CAACyG,OAAO,GAC7B,CAAC,GACDiC,oBAAoB,CAAC7D;QACzB,CAAC,EACD;UACC+B,MAAM,EAAEtH,KAAK,CAACU,MAAM,CAACyG,OAAO,GAAG,CAAC,GAAGiC,oBAAoB,CAAC9B;QACzD,CAAC,EACD;UACCC,MAAM,EAAEvH,KAAK,CAACU,MAAM,CAACyG,OAAO,GAAG,CAAC,GAAGiC,oBAAoB,CAAC7B;QACzD,CAAC;MAEH;IACD;EACD,CAAC;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["interpolate","NAVIGATION_MASK_ELEMENT_STYLE_ID","createBoundsAccessorCore","getSourceBorderRadius","CLOSE_SOURCE_HANDOFF_PROGRESS","CONTENT_CLOSING_OPACITY_OUTPUT","CONTENT_CLOSING_OPACITY_RANGE","CONTENT_ENTERING_OPACITY_OUTPUT","CONTENT_ENTERING_OPACITY_RANGE","CONTENT_SHADOW_OPACITY_OUTPUT","DISMISS_SCALE_ORBIT_DEPTH","DRAG_MASK_HEIGHT_COLLAPSE_END","HORIZONTAL_DRAG_MASK_COLLAPSE_SCALE","IDENTITY_DRAG_SCALE_OUTPUT","REVEAL_BACKGROUND_SCALE","REVEAL_BORDER_RADIUS","REVEAL_SHADOW_OFFSET","REVEAL_USES_TRANSFORM_MASK","UNFOCUSED_ELEMENT_OPACITY_OUTPUT","ZERO_TO_ONE_RANGE","interpolateClamped","mixUnit","resolveAspectRatioMaskHeight","resolveDismissScaleHandoff","resolveRevealContentBaseTransform","resolveRevealDirectionalDragScale","resolveRevealGestureHandoff","resolveSafeScale","resolveTrackedSourceElementTransform","resolveUniformScale","resolveUnitDragTranslation","buildRevealStyles","tag","props","revealOptions","focused","layouts","screen","screenLayout","transitionProgress","current","next","activeTransitionProgress","active","borderRadius","borderContinuous","maxSensitivity","velocityDepth","disablePointerEventsTillElementTransition","maskSizingMode","backgroundScale","shouldBackgroundScaleResetOnSettled","usesTransformMask","bounds","getProps","scopedBounds","link","status","sourceBorderRadius","liveGesture","gesture","gestureHandoff","handoff","initialGesture","direction","isHorizontalDismiss","isVerticalDismiss","rawDrag","Math","abs","raw","normX","normY","dragX","x","width","dragY","y","height","dragXScale","dragYScale","dragScale","initialDestinationTarget","closing","initialDestination","undefined","contentRaw","math","scaleMode","method","target","progress","maskRaw","space","maskBorderRadius","maskBorderCurve","maskSizeMultiplier","maskWidth","max","maskHeight","contentBaseScale","scale","safeContentBaseScale","contentScale","dismissing","contentTargetBounds","destination","sourceContentScale","sourceWidth","source","sourceHeight","destinationWidth","destinationHeight","releaseScale","targetScale","velocity","contentTranslateX","translateX","contentTranslateY","translateY","liveHorizontalDismissDrag","liveVerticalDismissDrag","dismissProgressDrag","maskHeightCollapseDrag","maskAspectBounds","initialSource","minMaskHeight","targetWidth","targetHeight","renderedMaskHeight","maskCenterX","maskCenterY","maskCenteringOffsetX","maskCenteringOffsetY","verticalCollapseOffsetY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","maskBaseWidth","maskBaseHeight","maskScaleX","maskScaleY","transformMaskTranslateX","transformMaskTranslateY","maskElementStyle","settled","borderCurve","transform","scaleX","scaleY","elementOffsetX","pageX","elementOffsetY","pageY","elementTX","elementY","gestureSensitivity","gestureReleaseVelocityScale","options","content","style","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","opacity","entering","id","unfocusedScale","unfocusedContentScale","trackingContentTarget","trackingContentBaseTransform","sourceBounds","destinationBounds","trackingContentScale","trackingTargetScale","trackingContentTranslateX","trackingContentTranslateY","trackedSourceElement","parentScale","screenWidth","screenHeight","pointerEvents","zIndex"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/reveal/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SAASC,gCAAgC,QAAQ,uBAAuB;AACxE,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,qBAAqB,QAAQ,YAAY;AAClD,SACCC,6BAA6B,EAC7BC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,+BAA+B,EAC/BC,8BAA8B,EAC9BC,6BAA6B,EAC7BC,yBAAyB,EACzBC,6BAA6B,EAC7BC,mCAAmC,EACnCC,0BAA0B,EAC1BC,uBAAuB,EACvBC,oBAAoB,EACpBC,oBAAoB,EACpBC,0BAA0B,EAC1BC,gCAAgC,EAChCC,iBAAiB,QACX,UAAU;AACjB,SACCC,kBAAkB,EAClBC,OAAO,EACPC,4BAA4B,EAC5BC,0BAA0B,EAC1BC,iCAAiC,EACjCC,iCAAiC,EACjCC,2BAA2B,EAC3BC,gBAAgB,EAChBC,oCAAoC,EACpCC,mBAAmB,EACnBC,0BAA0B,QACpB,QAAQ;AAGf;AACA;AACA;;AAEA,OAAO,SAASC,iBAAiBA,CAAC;EACjCC,GAAG;EACHC,KAAK;EACLC;AACwB,CAAC,EAA2B;EACpD,SAAS;;EAET,IAAI,CAACF,GAAG,EAAE;IACT,OAAO,CAAC,CAAC;EACV;;EAEA;;EAEA,MAAM;IACLG,OAAO;IACPC,OAAO,EAAE;MAAEC,MAAM,EAAEC;IAAa;EACjC,CAAC,GAAGL,KAAK;EACT,MAAMM,kBAAkB,GACvBN,KAAK,CAACO,OAAO,CAACD,kBAAkB,IAAIN,KAAK,CAACQ,IAAI,EAAEF,kBAAkB,IAAI,CAAC,CAAC;EACzE,MAAMG,wBAAwB,GAAGT,KAAK,CAACU,MAAM,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AACU,MAAM,CAACwG,OAAO,GAAG,CAAC,GAAGkC,oBAAoB,CAAC/B;QACzD,CAAC,EACD;UACCC,MAAM,EAAEtH,KAAK,CAACU,MAAM,CAACwG,OAAO,GAAG,CAAC,GAAGkC,oBAAoB,CAAC9B;QACzD,CAAC;MAEH;IACD;EACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -59,10 +59,8 @@ export function buildZoomStyles({
|
|
|
59
59
|
const bounds = createBoundsAccessorCore({
|
|
60
60
|
getProps: () => props
|
|
61
61
|
});
|
|
62
|
-
const scopedBounds = bounds(
|
|
63
|
-
|
|
64
|
-
});
|
|
65
|
-
const link = scopedBounds.getLink();
|
|
62
|
+
const scopedBounds = bounds(tag);
|
|
63
|
+
const link = scopedBounds.link();
|
|
66
64
|
if (!link) return {};
|
|
67
65
|
const baseRawOptions = {
|
|
68
66
|
scaleMode: ZOOM_SHARED_OPTIONS.scaleMode
|
|
@@ -164,17 +162,15 @@ export function buildZoomStyles({
|
|
|
164
162
|
anchor: ZOOM_SHARED_OPTIONS.anchor,
|
|
165
163
|
link
|
|
166
164
|
});
|
|
167
|
-
const contentRaw =
|
|
165
|
+
const contentRaw = scopedBounds.math({
|
|
168
166
|
...baseRawOptions,
|
|
169
|
-
raw: true,
|
|
170
167
|
anchor: zoomAnchor,
|
|
171
168
|
method: "content",
|
|
172
169
|
target: focusedContentTarget,
|
|
173
170
|
progress: transitionProgress
|
|
174
171
|
});
|
|
175
|
-
const maskRaw =
|
|
172
|
+
const maskRaw = scopedBounds.math({
|
|
176
173
|
...baseRawOptions,
|
|
177
|
-
raw: true,
|
|
178
174
|
anchor: ZOOM_SHARED_OPTIONS.anchor,
|
|
179
175
|
method: "size",
|
|
180
176
|
space: "absolute",
|
|
@@ -279,9 +275,8 @@ export function buildZoomStyles({
|
|
|
279
275
|
anchor: ZOOM_SHARED_OPTIONS.anchor,
|
|
280
276
|
link
|
|
281
277
|
});
|
|
282
|
-
const elementRaw =
|
|
278
|
+
const elementRaw = scopedBounds.math({
|
|
283
279
|
...baseRawOptions,
|
|
284
|
-
raw: true,
|
|
285
280
|
anchor: zoomAnchor,
|
|
286
281
|
method: "transform",
|
|
287
282
|
space: "relative",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["interpolate","EPSILON","NAVIGATION_MASK_ELEMENT_STYLE_ID","VISIBLE_STYLE","createBoundsAccessorCore","getSourceBorderRadius","toNumber","combineScales","composeCompensatedTranslation","computeCenterScaleShift","resolveDirectionalDragScale","resolveOpacityRangeTuple","resolveDismissScaleHandoff","resolveRevealGestureHandoff","ZOOM_DISMISS_SCALE_ORBIT_DEPTH","ZOOM_FOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_FOCUSED_ELEMENT_OPEN_OPACITY_RANGE","ZOOM_MASK_OUTSET","ZOOM_SHARED_OPTIONS","ZOOM_UNFOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_UNFOCUSED_ELEMENT_OPEN_OPACITY_RANGE","getZoomContentTarget","interpolateOpacityRange","resolveBackgroundScale","resolveDragScaleTuple","resolveDragTranslationTuple","resolveDirectionalDragTranslation","IDENTITY_DRAG_SCALE_OUTPUT","resolveZoomGestureOptions","rawDrag","maxSensitivity","gestureSensitivity","gestureReleaseVelocityScale","buildZoomStyles","tag","zoomOptions","props","target","focused","layouts","screen","screenLayout","transitionProgress","current","next","activeTransitionProgress","active","zoomAnchor","anchor","bounds","getProps","scopedBounds","id","link","getLink","baseRawOptions","scaleMode","buildEffectiveTag","sourceBorderRadius","targetBorderRadius","borderRadius","focusedElementOpacity","open","value","fallback","close","unfocusedElementOpacity","sourceVisibilityStyle","style","navigationMaskEnabled","options","velocityDepth","liveGesture","gesture","gestureHandoff","handoff","normX","normY","initialGesture","direction","isHorizontalDismiss","isVerticalDismiss","Math","abs","raw","horizontalDragTranslation","verticalDragTranslation","dragX","translation","x","dimension","width","negativeMax","positiveMax","exponent","dragY","y","height","horizontalDragScale","verticalDragScale","backgroundScale","dragXScale","normalized","dismissDirection","shrinkMin","growMax","dragYScale","dragScale","handoffDragScale","dismissing","progress","releaseScale","targetScale","velocity","zoomGestureOptions","focusedContentTarget","explicitTarget","contentRaw","compute","method","maskRaw","space","focusedFade","closing","range","shouldRemoveClipping","animating","focusedMaskBorderRadius","top","right","bottom","left","maskWidth","max","maskHeight","contentBaseTranslateX","translateX","contentBaseTranslateY","translateY","contentBaseScale","scale","safeContentBaseScale","contentTranslateX","contentTranslateY","contentScale","maskBaseTranslateX","maskBaseTranslateY","maskCenterX","maskCenterY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","focusedContentStyle","opacity","debug","transform","overflow","focusedStyles","content","unfocusedFade","unfocusedScale","didSourceComponentVisiblyHide","shouldHideUnfocusedElement","unfocusedElementTarget","elementRaw","boundTargetCenterX","destination","pageX","undefined","boundTargetCenterY","pageY","elementCenterX","elementCenterY","unfocusedContentScale","settled","shouldTrackGestureTranslation","shouldTrackGestureScale","elementGestureScale","elementGestureX","elementGestureY","safeUnfocusedContentScale","shouldElevateUnfocusedElement","scaleShiftX","center","containerCenter","scaleShiftY","compensatedGestureX","parentScale","centerShift","epsilon","compensatedGestureY","elementTranslateX","elementTranslateY","elementScaleX","scaleX","elementScaleY","scaleY","resolvedElementStyle","zIndex","elevation"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SACCC,OAAO,EACPC,gCAAgC,EAChCC,aAAa,QACP,uBAAuB;AAE9B,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,qBAAqB,EAAEC,QAAQ,QAAQ,YAAY;AAC5D,SACCC,aAAa,EACbC,6BAA6B,EAC7BC,uBAAuB,EACvBC,2BAA2B,EAC3BC,wBAAwB,QAClB,SAAS;AAChB,SACCC,0BAA0B,EAC1BC,2BAA2B,QACrB,gBAAgB;AACvB,SACCC,8BAA8B,E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yB;EAC1B,MAAMe,aAAa,GACjB/L,QAAQ,CAACgK,UAAU,CAACgC,MAAM,EAAE,CAAC,CAAC,GAAGnB,mBAAmB,GACrDG,yBAAyB;EAE1B,MAAMiB,oBAAoB,GAAGnC,0BAA0B,GACpD;IACAP,SAAS,EAAE,CACV;MAAErB,UAAU,EAAE;IAAE,CAAC,EACjB;MAAEE,UAAU,EAAE;IAAE,CAAC,EACjB;MAAE0D,MAAM,EAAE;IAAE,CAAC,EACb;MAAEE,MAAM,EAAE;IAAE,CAAC,CACb;IACD3C,OAAO,EAAExH,WAAW,EAAEyH,KAAK,GAAG,CAAC,GAAG,CAAC;IACnC4C,MAAM,EAAE,CAAC;IACTC,SAAS,EAAE;EACZ,CAAC,GACA;IACA5C,SAAS,EAAE,CACV;MACCrB,UAAU,EAAEyD;IACb,CAAC,EACD;MACCvD,UAAU,EAAEwD;IACb,CAAC,EACD;MACCE,MAAM,EAAED;IACT,CAAC,EACD;MACCG,MAAM,EAAED;IACT,CAAC,CACD;IACD1C,OAAO,EAAExH,WAAW,EAAEyH,KAAK,GAAG,CAAC,GAAGK,aAAa;IAC/CuC,MAAM,EAAEjB,6BAA6B,GAAG,IAAI,GAAG,CAAC;IAChDkB,SAAS,EAAElB,6BAA6B,GAAG,IAAI,GAAG;EACnD,CAAC;EAEH,OAAO;IACNjH,OAAO,EAAE4C,kBAAkB;IAC3B8C,OAAO,EAAE;MACR5F,KAAK,EAAE;QACNyF,SAAS,EAAE,CAAC;UAAEjB,KAAK,EAAEmC;QAAsB,CAAC;MAC7C;IACD,CAAC;IACD,CAACtH,iBAAiB,GAAG;MACpBW,KAAK,EAAEmI;IACR;EACD,CAAC;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["interpolate","EPSILON","NAVIGATION_MASK_ELEMENT_STYLE_ID","VISIBLE_STYLE","createBoundsAccessorCore","getSourceBorderRadius","toNumber","combineScales","composeCompensatedTranslation","computeCenterScaleShift","resolveDirectionalDragScale","resolveOpacityRangeTuple","resolveDismissScaleHandoff","resolveRevealGestureHandoff","ZOOM_DISMISS_SCALE_ORBIT_DEPTH","ZOOM_FOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_FOCUSED_ELEMENT_OPEN_OPACITY_RANGE","ZOOM_MASK_OUTSET","ZOOM_SHARED_OPTIONS","ZOOM_UNFOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","ZOOM_UNFOCUSED_ELEMENT_OPEN_OPACITY_RANGE","getZoomContentTarget","interpolateOpacityRange","resolveBackgroundScale","resolveDragScaleTuple","resolveDragTranslationTuple","resolveDirectionalDragTranslation","IDENTITY_DRAG_SCALE_OUTPUT","resolveZoomGestureOptions","rawDrag","maxSensitivity","gestureSensitivity","gestureReleaseVelocityScale","buildZoomStyles","tag","zoomOptions","props","target","focused","layouts","screen","screenLayout","transitionProgress","current","next","activeTransitionProgress","active","zoomAnchor","anchor","bounds","getProps","scopedBounds","link","baseRawOptions","scaleMode","buildEffectiveTag","id","sourceBorderRadius","targetBorderRadius","borderRadius","focusedElementOpacity","open","value","fallback","close","unfocusedElementOpacity","sourceVisibilityStyle","style","navigationMaskEnabled","options","velocityDepth","liveGesture","gesture","gestureHandoff","handoff","normX","normY","initialGesture","direction","isHorizontalDismiss","isVerticalDismiss","Math","abs","raw","horizontalDragTranslation","verticalDragTranslation","dragX","translation","x","dimension","width","negativeMax","positiveMax","exponent","dragY","y","height","horizontalDragScale","verticalDragScale","backgroundScale","dragXScale","normalized","dismissDirection","shrinkMin","growMax","dragYScale","dragScale","handoffDragScale","dismissing","progress","releaseScale","targetScale","velocity","zoomGestureOptions","focusedContentTarget","explicitTarget","contentRaw","math","method","maskRaw","space","focusedFade","closing","range","shouldRemoveClipping","animating","focusedMaskBorderRadius","top","right","bottom","left","maskWidth","max","maskHeight","contentBaseTranslateX","translateX","contentBaseTranslateY","translateY","contentBaseScale","scale","safeContentBaseScale","contentTranslateX","contentTranslateY","contentScale","maskBaseTranslateX","maskBaseTranslateY","maskCenterX","maskCenterY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","focusedContentStyle","opacity","debug","transform","overflow","focusedStyles","content","unfocusedFade","unfocusedScale","didSourceComponentVisiblyHide","shouldHideUnfocusedElement","unfocusedElementTarget","elementRaw","boundTargetCenterX","destination","pageX","undefined","boundTargetCenterY","pageY","elementCenterX","elementCenterY","unfocusedContentScale","settled","shouldTrackGestureTranslation","shouldTrackGestureScale","elementGestureScale","elementGestureX","elementGestureY","safeUnfocusedContentScale","shouldElevateUnfocusedElement","scaleShiftX","center","containerCenter","scaleShiftY","compensatedGestureX","parentScale","centerShift","epsilon","compensatedGestureY","elementTranslateX","elementTranslateY","elementScaleX","scaleX","elementScaleY","scaleY","resolvedElementStyle","zIndex","elevation"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/build.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SACCC,OAAO,EACPC,gCAAgC,EAChCC,aAAa,QACP,uBAAuB;AAE9B,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,qBAAqB,EAAEC,QAAQ,QAAQ,YAAY;AAC5D,SACCC,aAAa,EACbC,6BAA6B,EAC7BC,uBAAuB,EACvBC,2BAA2B,EAC3BC,wBAAwB,QAClB,SAAS;AAChB,SACCC,0BAA0B,EAC1BC,2BAA2B,QACrB,gBAAgB;AACvB,SACCC,8BAA8B,EAC9BC,wCAAwC,EACxCC,uCAAuC,EACvCC,gBAAgB,EAChBC,mBAAmB,EACnBC,0CAA0C,EAC1CC,yCAAyC,QACnC,UAAU;AACjB,SACCC,oBAAoB,EACpBC,uBAAuB,EACvBC,sBAAsB,EACtBC,qBAAqB,EACrBC,2BAA2B,QACrB,WAAW;AAClB,SAASC,iCAAiC,QAAQ,QAAQ;AAG1D,MAAMC,0BAA0B,GAAG,CAAC,CAAC,EAAE,CAAC,CAAU;AAElD,SAASC,yBAAyBA,CAAC;EAClCC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S,EAAE;EACZ,CAAC,GACA;IACA5C,SAAS,EAAE,CACV;MACCrB,UAAU,EAAEyD;IACb,CAAC,EACD;MACCvD,UAAU,EAAEwD;IACb,CAAC,EACD;MACCE,MAAM,EAAED;IACT,CAAC,EACD;MACCG,MAAM,EAAED;IACT,CAAC,CACD;IACD1C,OAAO,EAAEvH,WAAW,EAAEwH,KAAK,GAAG,CAAC,GAAGK,aAAa;IAC/CuC,MAAM,EAAEjB,6BAA6B,GAAG,IAAI,GAAG,CAAC;IAChDkB,SAAS,EAAElB,6BAA6B,GAAG,IAAI,GAAG;EACnD,CAAC;EAEH,OAAO;IACNjH,OAAO,EAAE4C,kBAAkB;IAC3B8C,OAAO,EAAE;MACR5F,KAAK,EAAE;QACNyF,SAAS,EAAE,CAAC;UAAEjB,KAAK,EAAEmC;QAAsB,CAAC;MAC7C;IACD,CAAC;IACD,CAACvH,iBAAiB,GAAG;MACpBY,KAAK,EAAEmI;IACR;EACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-view.d.ts","sourceRoot":"","sources":["../../../../src/blank-stack/components/stack-view.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stack-view.d.ts","sourceRoot":"","sources":["../../../../src/blank-stack/components/stack-view.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACX,oBAAoB,EACpB,2BAA2B,EAC3B,MAAM,UAAU,CAAC;AAoClB,eAAO,MAAM,SAAS,yOA0BrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,QAA4B,MAAM,yBAAyB,CAAC;AASnE,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;AAEtE,eAAO,MAAM,cAAc,oCACnB,mBAAmB,6CAuDzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAOlB,MAAM,OAAO,CAAC;AAuBf,OAAO,KAAK,EAAE,sBAAsB,EAAuB,MAAM,SAAS,CAAC;AAE3E,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,GAyL5B,KAAK,CAAC,mBAAmB,CACxC,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 @@
|
|
|
1
|
+
{"version":3,"file":"use-boundary-presence.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-boundary-presence.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACrC,SAcA,CAAC"}
|
|
@@ -2,11 +2,8 @@ import type { MeasureBoundary } from "../types";
|
|
|
2
2
|
interface UseInitialDestinationMeasurementParams {
|
|
3
3
|
linkId: string;
|
|
4
4
|
enabled: boolean;
|
|
5
|
-
currentScreenKey: string;
|
|
6
|
-
preferredSourceScreenKey?: string;
|
|
7
|
-
ancestorScreenKeys: string[];
|
|
8
5
|
measureBoundary: MeasureBoundary;
|
|
9
6
|
}
|
|
10
|
-
export declare const useInitialDestinationMeasurement: ({ linkId, enabled,
|
|
7
|
+
export declare const useInitialDestinationMeasurement: ({ linkId, enabled, measureBoundary, }: UseInitialDestinationMeasurementParams) => void;
|
|
11
8
|
export {};
|
|
12
9
|
//# sourceMappingURL=use-initial-destination-measurement.d.ts.map
|
package/lib/typescript/shared/components/boundary/hooks/use-initial-destination-measurement.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-initial-destination-measurement.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAWhD,UAAU,sCAAsC;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,gCAAgC,GAAI,uCAI9C,sCAAsC,SAsHxC,CAAC"}
|
package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-initial-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-initial-source-measurement.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAC;CAC3B,SAmCA,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
|
-
import type
|
|
2
|
+
import { type AnimatedRef, type StyleProps } from "react-native-reanimated";
|
|
3
|
+
import type { BoundsPortalAttachTarget } from "../../../stores/bounds/types";
|
|
3
4
|
import type { MeasureBoundary } from "../types";
|
|
4
5
|
interface UseMeasurerParams {
|
|
5
6
|
enabled: boolean;
|
|
@@ -9,7 +10,8 @@ interface UseMeasurerParams {
|
|
|
9
10
|
currentScreenKey: string;
|
|
10
11
|
preparedStyles: StyleProps;
|
|
11
12
|
measuredAnimatedRef: AnimatedRef<View>;
|
|
13
|
+
portalHost?: BoundsPortalAttachTarget;
|
|
12
14
|
}
|
|
13
|
-
export declare const useMeasurer: ({ enabled, entryTag, linkId, group, currentScreenKey, preparedStyles, measuredAnimatedRef, }: UseMeasurerParams) => MeasureBoundary;
|
|
15
|
+
export declare const useMeasurer: ({ enabled, entryTag, linkId, group, currentScreenKey, preparedStyles, measuredAnimatedRef, portalHost, }: UseMeasurerParams) => MeasureBoundary;
|
|
14
16
|
export {};
|
|
15
17
|
//# sourceMappingURL=use-measurer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EACN,KAAK,WAAW,EAEhB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAI7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQhD,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACtC;AAED,eAAO,MAAM,WAAW,GAAI,0GASzB,iBAAiB,KAAG,eAyFtB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MeasureBoundary } from "../types";
|
|
2
|
+
interface UseRefreshBoundaryParams {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
linkId: string;
|
|
5
|
+
group?: string;
|
|
6
|
+
measureBoundary: MeasureBoundary;
|
|
7
|
+
}
|
|
8
|
+
export declare const useRefreshBoundary: ({ enabled, linkId, group, measureBoundary, }: UseRefreshBoundaryParams) => void;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=use-refresh-boundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-refresh-boundary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,UAAU,wBAAwB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,kBAAkB,GAAI,8CAKhC,wBAAwB,SAkE1B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { View } from "react-native";
|
|
2
2
|
import { createBoundaryComponent } from "./create-boundary-component";
|
|
3
|
+
export type { BoundaryPortal, BoundaryPortalAttachTarget, BoundaryPortalOptions, } from "./types";
|
|
3
4
|
export { createBoundaryComponent };
|
|
4
5
|
/**
|
|
5
6
|
* Shared-boundary components.
|
|
@@ -18,6 +19,7 @@ export { createBoundaryComponent };
|
|
|
18
19
|
* - `Boundary.View` for passive/shared elements.
|
|
19
20
|
* - `Boundary.Trigger` for tappable elements that start navigation.
|
|
20
21
|
* - `Boundary.Target` to measure a nested descendant instead of the owner.
|
|
22
|
+
* - `Boundary.Host` to make nested portal placement explicit.
|
|
21
23
|
*/
|
|
22
24
|
export declare const Boundary: {
|
|
23
25
|
/**
|
|
@@ -33,8 +35,8 @@ export declare const Boundary: {
|
|
|
33
35
|
*/
|
|
34
36
|
Target: import("react").MemoExoticComponent<(props: {
|
|
35
37
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
36
|
-
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
37
38
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
39
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
38
40
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
39
41
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
40
42
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -136,8 +138,8 @@ export declare const Boundary: {
|
|
|
136
138
|
} & {
|
|
137
139
|
animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{
|
|
138
140
|
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
139
|
-
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
140
141
|
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
142
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
141
143
|
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
142
144
|
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
143
145
|
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
@@ -238,5 +240,9 @@ export declare const Boundary: {
|
|
|
238
240
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
239
241
|
}> | import("react-native-reanimated").CSSStyle<import("react-native").ViewProps>> | undefined;
|
|
240
242
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
243
|
+
/**
|
|
244
|
+
* Explicit portal host for scrollable or otherwise clipped coordinate spaces.
|
|
245
|
+
*/
|
|
246
|
+
Host: import("react").MemoExoticComponent<(props: import("./portal/components/host").PublicHostProps) => import("react/jsx-runtime").JSX.Element>;
|
|
241
247
|
};
|
|
242
248
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,YAAY,EACX,cAAc,EACd,0BAA0B,EAC1B,qBAAqB,GACrB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAWnC;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,QAAQ;IACpB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;OAEG;;CAEH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
|
+
export type PublicHostProps = {
|
|
3
|
+
style?: StyleProp<ViewStyle>;
|
|
4
|
+
};
|
|
5
|
+
export declare const Host: import("react").MemoExoticComponent<(props: PublicHostProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export declare const ScreenFallbackHost: import("react").MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
//# sourceMappingURL=host.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AAUtB,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAuEF,eAAO,MAAM,IAAI,8CAA6B,eAAe,6CAE3D,CAAC;AAEH,eAAO,MAAM,kBAAkB,oFAE7B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StyleProp, ViewStyle } from "react-native";
|
|
2
|
+
import type { ActivePortalBoundaryHost } from "../stores/portal-boundary-host.store";
|
|
3
|
+
type PortalBoundaryHostProps = {
|
|
4
|
+
host: ActivePortalBoundaryHost;
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
};
|
|
7
|
+
export declare const PortalBoundaryHost: import("react").MemoExoticComponent<({ host, style, }: PortalBoundaryHostProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=portal-boundary-host.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAYrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAG5B,uBAAuB,oDAmExB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const PortalProvider: import("react").MemoExoticComponent<({ children, }: {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
}) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
4
|
+
//# sourceMappingURL=portal-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal-provider.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,sDAExB;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,6WAMC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { View } from "react-native";
|
|
3
|
+
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
|
+
import type { BoundaryPortal } from "../../types";
|
|
5
|
+
interface PortalProps {
|
|
6
|
+
id?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
mode?: BoundaryPortal;
|
|
9
|
+
/**
|
|
10
|
+
* Ref to the layout-preserving placeholder wrapper. Boundaries measure
|
|
11
|
+
* this instead of teleported content — the placeholder keeps the source
|
|
12
|
+
* slot at home while the content may physically live in another screen's
|
|
13
|
+
* host.
|
|
14
|
+
*/
|
|
15
|
+
placeholderRef?: AnimatedRef<View>;
|
|
16
|
+
}
|
|
17
|
+
export declare const Portal: import("react").MemoExoticComponent<({ id, children, mode, placeholderRef, }: 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-runtime").JSX.Element | null | undefined>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=portal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EAId,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAiB,EAChB,KAAK,WAAW,EAMhB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,KAAK,EAAE,cAAc,EAA8B,MAAM,aAAa,CAAC;AAiC9E,UAAU,WAAW;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,MAAM,gFAKhB,WAAW,6UA8MZ,CAAC"}
|