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
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.createInterpolators = void 0;
|
|
7
|
-
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
|
-
var _constants = require("../../../constants");
|
|
9
|
-
var _entries = require("../../../stores/bounds/internals/entries");
|
|
10
|
-
var _interpolateLinkStyle = require("./styles/interpolate-link-style");
|
|
11
|
-
const createInterpolators = ({
|
|
12
|
-
getProps,
|
|
13
|
-
getLink
|
|
14
|
-
}) => {
|
|
15
|
-
"worklet";
|
|
16
|
-
|
|
17
|
-
const interpolateStyle = (tag, property, fallback) => {
|
|
18
|
-
"worklet";
|
|
19
|
-
|
|
20
|
-
const props = getProps();
|
|
21
|
-
const link = getLink(tag);
|
|
22
|
-
const entering = !props.next;
|
|
23
|
-
return (0, _interpolateLinkStyle.interpolateLinkStyle)(link, property, props.progress, entering, {
|
|
24
|
-
fallback
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
const interpolateBoundsFromMeasuredEntry = (tag, property, targetKey, fallback) => {
|
|
28
|
-
"worklet";
|
|
29
|
-
|
|
30
|
-
const props = getProps();
|
|
31
|
-
const entering = !props.next;
|
|
32
|
-
const range = entering ? _constants.ENTER_RANGE : _constants.EXIT_RANGE;
|
|
33
|
-
const currentKey = props.current?.route?.key;
|
|
34
|
-
const fb = fallback ?? 0;
|
|
35
|
-
const normalizedTag = String(tag);
|
|
36
|
-
const currentEntry = currentKey ? (0, _entries.getEntry)(normalizedTag, currentKey) : null;
|
|
37
|
-
const targetEntry = (0, _entries.getEntry)(normalizedTag, targetKey);
|
|
38
|
-
const currentValue = currentEntry?.bounds?.[property] ?? fb;
|
|
39
|
-
const targetValue = targetEntry?.bounds?.[property] ?? fb;
|
|
40
|
-
return (0, _reactNativeReanimated.interpolate)(props.progress, range, [targetValue, currentValue], _reactNativeReanimated.Extrapolation.CLAMP);
|
|
41
|
-
};
|
|
42
|
-
const interpolateBoundsFromLink = (tag, property, fallback) => {
|
|
43
|
-
"worklet";
|
|
44
|
-
|
|
45
|
-
const props = getProps();
|
|
46
|
-
const entering = !props.next;
|
|
47
|
-
const range = entering ? _constants.ENTER_RANGE : _constants.EXIT_RANGE;
|
|
48
|
-
const link = getLink(tag);
|
|
49
|
-
const fb = fallback ?? 0;
|
|
50
|
-
const sourceValue = link?.source?.bounds?.[property] ?? fb;
|
|
51
|
-
const destinationValue = link?.destination?.bounds?.[property] ?? fb;
|
|
52
|
-
return (0, _reactNativeReanimated.interpolate)(props.progress, range, [sourceValue, destinationValue], _reactNativeReanimated.Extrapolation.CLAMP);
|
|
53
|
-
};
|
|
54
|
-
const interpolateBounds = (tag, property, fallbackOrTargetKey, fallback) => {
|
|
55
|
-
"worklet";
|
|
56
|
-
|
|
57
|
-
if (typeof fallbackOrTargetKey === "string") {
|
|
58
|
-
return interpolateBoundsFromMeasuredEntry(tag, property, fallbackOrTargetKey, fallback);
|
|
59
|
-
}
|
|
60
|
-
return interpolateBoundsFromLink(tag, property, fallbackOrTargetKey);
|
|
61
|
-
};
|
|
62
|
-
return {
|
|
63
|
-
interpolateStyle,
|
|
64
|
-
interpolateBounds
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
exports.createInterpolators = createInterpolators;
|
|
68
|
-
//# sourceMappingURL=create-interpolators.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeReanimated","require","_constants","_entries","_interpolateLinkStyle","createInterpolators","getProps","getLink","interpolateStyle","tag","property","fallback","props","link","entering","next","interpolateLinkStyle","progress","interpolateBoundsFromMeasuredEntry","targetKey","range","ENTER_RANGE","EXIT_RANGE","currentKey","current","route","key","fb","normalizedTag","String","currentEntry","getEntry","targetEntry","currentValue","bounds","targetValue","interpolate","Extrapolation","CLAMP","interpolateBoundsFromLink","sourceValue","source","destinationValue","destination","interpolateBounds","fallbackOrTargetKey","exports"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/create-interpolators.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAKA,IAAAC,U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,CAAC;EACrE,CAAC;EAED,OAAO;IACNrC,gBAAgB;IAChBoC;EACD,CAAC;AACF,CAAC;AAACE,OAAA,CAAAzC,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.interpolateLinkStyle = interpolateLinkStyle;
|
|
7
|
-
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
|
-
var _constants = require("../../../../constants");
|
|
9
|
-
/**
|
|
10
|
-
* Interpolates a numeric style property between source and destination bounds.
|
|
11
|
-
*
|
|
12
|
-
* @param link - The bounds link containing source and destination styles
|
|
13
|
-
* @param property - The style property to interpolate (e.g., "borderRadius", "opacity")
|
|
14
|
-
* @param progress - Animation progress value
|
|
15
|
-
* @param entering - Whether the screen is entering (focused) or exiting (unfocused)
|
|
16
|
-
* @param options - Optional configuration
|
|
17
|
-
* @returns The interpolated value
|
|
18
|
-
*/
|
|
19
|
-
function interpolateLinkStyle(link, property, progress, entering, options = {}) {
|
|
20
|
-
"worklet";
|
|
21
|
-
|
|
22
|
-
const {
|
|
23
|
-
fallback = 0
|
|
24
|
-
} = options;
|
|
25
|
-
const sourceValue = link?.source?.styles?.[property] ?? fallback;
|
|
26
|
-
const destValue = link?.destination?.styles?.[property] ?? fallback;
|
|
27
|
-
const range = entering ? _constants.ENTER_RANGE : _constants.EXIT_RANGE;
|
|
28
|
-
return (0, _reactNativeReanimated.interpolate)(progress, range, [sourceValue, destValue], _reactNativeReanimated.Extrapolation.CLAMP);
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=interpolate-link-style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeReanimated","require","_constants","interpolateLinkStyle","link","property","progress","entering","options","fallback","sourceValue","source","styles","destValue","destination","range","ENTER_RANGE","EXIT_RANGE","interpolate","Extrapolation","CLAMP"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/helpers/styles/interpolate-link-style.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,oBAAoBA,CACnCC,IAAuB,EACvBC,QAAgB,EAChBC,QAAgB,EAChBC,QAAiB,EACjBC,OAAgC,GAAG,CAAC,CAAC,EAC5B;EACT,SAAS;;EAET,MAAM;IAAEC,QAAQ,GAAG;EAAE,CAAC,GAAGD,OAAO;EAEhC,MAAME,WAAW,GACfN,IAAI,EAAEO,MAAM,EAAEC,MAAM,GAAGP,QAAQ,CAAC,IAA2BI,QAAQ;EACrE,MAAMI,SAAS,GACbT,IAAI,EAAEU,WAAW,EAAEF,MAAM,GAAGP,QAAQ,CAAC,IAA2BI,QAAQ;EAE1E,MAAMM,KAAK,GAAGR,QAAQ,GAAGS,sBAAW,GAAGC,qBAAU;EAEjD,OAAO,IAAAC,kCAAW,EACjBZ,QAAQ,EACRS,KAAK,EACL,CAACL,WAAW,EAAEG,SAAS,CAAC,EACxBM,oCAAa,CAACC,KACf,CAAC;AACF","ignoreList":[]}
|
package/lib/module/shared/components/create-boundary-component/components/boundary-target.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["memo","useLayoutEffect","useMemo","Animated","useAnimatedRef","prepareStyleForBounds","TARGET_OUTSIDE_OWNER_WARNING","useBoundaryOwnerContext","jsx","_jsx","BoundaryTarget","props","style","rest","targetAnimatedRef","ownerContext","registerTargetRef","unregisterTargetRef","isActiveTarget","activeTargetRef","preparedStyles","__DEV__","console","warn","View","ref","associatedTargetStyles","undefined","collapsable"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/components/boundary-target.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,eAAe,EAAEC,OAAO,QAA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AC/D;IACFC,WAAW,EAAE;EAAM,CACnB,CAAC;AAEJ,CAAC,CAAC","ignoreList":[]}
|
package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["forwardRef","memo","useCallback","useImperativeHandle","useMemo","Animated","runOnUI","useAnimatedRef","useAnimatedStyle","NO_STYLES","useDescriptorDerivations","useScreenStyles","createPendingPairKey","prepareStyleForBounds","useBoundaryPresence","useInitialDestinationMeasurement","useInitialSourceMeasurement","useMeasurer","useRefreshBoundary","BoundaryOwnerProvider","useBoundaryOwner","jsx","_jsx","createBoundaryComponent","Wrapped","options","alreadyAnimated","shouldAutoMeasure","AnimatedComponent","createAnimatedComponent","Inner","props","forwardedRef","ownerRef","enabled","group","id","anchor","scaleMode","target","method","style","onPress","rest","linkId","String","entryTag","previousScreenKey","preferredSourceScreenKey","currentScreenKey","nextScreenKey","ancestorKeys","hasConfiguredInterpolator","runtimeEnabled","hasNextScreen","boundaryConfig","undefined","ownerPreparedStyles","stylesMap","associatedStyles","get","associatedStackingStyles","baseStyle","zIndex","elevation","contextValue","measuredRef","hasActiveTarget","targetPreparedStyles","associatedTargetStyles","preparedStyles","measureBoundary","measuredAnimatedRef","shouldRunDestinationEffects","shouldPassivelyMeasureSource","ancestorScreenKeys","handlePress","args","type","pairKey","resolvedOnPress","current","value","children","ref","collapsable"],"sourceRoot":"../../../../../src","sources":["shared/components/create-boundary-component/create-boundary-component.tsx"],"mappings":";;AAAA,SAECA,UAAU,EACVC,IAAI,EACJC,WAAW,EACXC,mBAAmB,EACnBC,OAAO,QACD,OAAO;AAEd,OAAOC,QAAQ,IACdC,OAAO,EACPC,cAAc,EACdC,gBAAgB,QACV,yBAAyB;AAChC,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,wBAAwB,QAAQ,oCAAoC;AAC7E,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,oBAAoB,QAAQ,gDAAgD;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AAU,EAAE;QAClCA,OAAO,CAAC,GAAGmC,IAAI,CAAC;MACjB;IACD,CAAC,EACD,CAACN,eAAe,EAAE7B,OAAO,EAAEO,gBAAgB,CAC5C,CAAC;IAED,MAAM+B,eAAe,GACpB,OAAOtC,OAAO,KAAK,UAAU,GAAGkC,WAAW,GAAGpB,SAAS;IAExDrD,mBAAmB,CAAC6B,YAAY,EAAE,MAAMC,QAAQ,CAACgD,OAAc,EAAE,CAChEhD,QAAQ,CACR,CAAC;IAEF,oBACCX,IAAA,CAACH,qBAAqB;MAAC+D,KAAK,EAAEjB,YAAa;MAAAkB,QAAA,eAC1C7D,IAAA,CAACM,iBAAiB;QAAA,GACbe,IAAI;QACRyC,GAAG,EAAEnD,QAAS;QACdQ,KAAK,EAAE,CACNA,KAAK,EACLY,cAAc,GACXc,eAAe,GACdN,wBAAwB,GACxBF,gBAAgB,GACjBH,SAAS,CACX;QACFd,OAAO,EAAEsC,eAAgB;QACzBK,WAAW,EAAE;MAAM,CACnB;IAAC,CACoB,CAAC;EAE1B,CAAC,CAAC;EAEF,oBAAOpF,IAAI,CACVI,QAAQ,CAACwB,uBAAuB,CAACC,KAAK,CACvC,CAAC;AAMF","ignoreList":[]}
|
package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useLayoutEffect","runOnUI","removeEntry","setEntry","useBoundaryPresence","params","enabled","entryTag","currentScreenKey","boundaryConfig"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-boundary-presence.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,OAAO;AACvC,SAASC,OAAO,QAAQ,yBAAyB;AACjD,SACCC,WAAW,EACXC,QAAQ,QACF,0CAA0C;AAGjD,OAAO,MAAMC,mBAAmB,GAAIC,MAKnC,IAAK;EACL,MAAM;IAAEC,OAAO;IAAEC,QAAQ;IAAEC,gBAAgB;IAAEC;EAAe,CAAC,GAAGJ,MAAM;EAEtEL,eAAe,CAAC,MAAM;IACrB,IAAI,CAACM,OAAO,EAAE;IAEdL,OAAO,CAACE,QAAQ,CAAC,CAACI,QAAQ,EAAEC,gBAAgB,EAAE;MAC7CC;IACD,CAAC,CAAC;IAEF,OAAO,MAAM;MACZR,OAAO,CAACC,WAAW,CAAC,CAACK,QAAQ,EAAEC,gBAAgB,CAAC;IACjD,CAAC;EACF,CAAC,EAAE,CAACF,OAAO,EAAEC,QAAQ,EAAEC,gBAAgB,EAAEC,cAAc,CAAC,CAAC;AAC1D,CAAC","ignoreList":[]}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { cancelAnimation, useAnimatedReaction, useSharedValue, withDelay, withTiming } from "react-native-reanimated";
|
|
4
|
-
import { AnimationStore } from "../../../stores/animation.store";
|
|
5
|
-
import { getDestination } from "../../../stores/bounds/internals/links";
|
|
6
|
-
import { pairs } from "../../../stores/bounds/internals/state";
|
|
7
|
-
import { LifecycleTransitionRequestKind, SystemStore } from "../../../stores/system.store";
|
|
8
|
-
import { getInitialDestinationMeasurePairKey } from "../utils/destination-signals";
|
|
9
|
-
const VIEWPORT_RETRY_DELAY_MS = 16;
|
|
10
|
-
export const useInitialDestinationMeasurement = ({
|
|
11
|
-
linkId,
|
|
12
|
-
enabled,
|
|
13
|
-
currentScreenKey,
|
|
14
|
-
preferredSourceScreenKey,
|
|
15
|
-
ancestorScreenKeys,
|
|
16
|
-
measureBoundary
|
|
17
|
-
}) => {
|
|
18
|
-
const transitionProgress = AnimationStore.getValue(currentScreenKey, "transitionProgress");
|
|
19
|
-
const system = SystemStore.getBag(currentScreenKey);
|
|
20
|
-
const {
|
|
21
|
-
pendingLifecycleRequestKind
|
|
22
|
-
} = system;
|
|
23
|
-
const {
|
|
24
|
-
blockLifecycleStart,
|
|
25
|
-
unblockLifecycleStart
|
|
26
|
-
} = system.actions;
|
|
27
|
-
const isBlockingLifecycleStart = useSharedValue(0);
|
|
28
|
-
const retryToken = useSharedValue(0);
|
|
29
|
-
const ensureLifecycleStartBlocked = () => {
|
|
30
|
-
"worklet";
|
|
31
|
-
|
|
32
|
-
if (isBlockingLifecycleStart.get()) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
blockLifecycleStart();
|
|
36
|
-
isBlockingLifecycleStart.set(1);
|
|
37
|
-
};
|
|
38
|
-
const releaseLifecycleStartBlock = () => {
|
|
39
|
-
"worklet";
|
|
40
|
-
|
|
41
|
-
cancelAnimation(retryToken);
|
|
42
|
-
if (!isBlockingLifecycleStart.get()) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
unblockLifecycleStart();
|
|
46
|
-
isBlockingLifecycleStart.set(0);
|
|
47
|
-
};
|
|
48
|
-
const scheduleViewportRetry = () => {
|
|
49
|
-
"worklet";
|
|
50
|
-
|
|
51
|
-
cancelAnimation(retryToken);
|
|
52
|
-
retryToken.set(withDelay(VIEWPORT_RETRY_DELAY_MS, withTiming(retryToken.get() + 1, {
|
|
53
|
-
duration: 0
|
|
54
|
-
})));
|
|
55
|
-
};
|
|
56
|
-
useAnimatedReaction(() => {
|
|
57
|
-
"worklet";
|
|
58
|
-
|
|
59
|
-
const retryTick = retryToken.get();
|
|
60
|
-
const hasPendingOpenRequest = pendingLifecycleRequestKind.get() === LifecycleTransitionRequestKind.Open;
|
|
61
|
-
const isWaitingForOpenToStart = transitionProgress.get() <= 0;
|
|
62
|
-
if (!hasPendingOpenRequest || !isWaitingForOpenToStart) {
|
|
63
|
-
return [0, retryTick];
|
|
64
|
-
}
|
|
65
|
-
const destinationPairKey = getInitialDestinationMeasurePairKey({
|
|
66
|
-
enabled,
|
|
67
|
-
currentScreenKey,
|
|
68
|
-
preferredSourceScreenKey,
|
|
69
|
-
ancestorScreenKeys,
|
|
70
|
-
linkId,
|
|
71
|
-
linkState: ancestorScreenKeys.length ? pairs.get() : undefined
|
|
72
|
-
});
|
|
73
|
-
return [destinationPairKey, retryTick];
|
|
74
|
-
}, ([destinationPairKey]) => {
|
|
75
|
-
"worklet";
|
|
76
|
-
|
|
77
|
-
if (!destinationPairKey) {
|
|
78
|
-
releaseLifecycleStartBlock();
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
ensureLifecycleStartBlocked();
|
|
82
|
-
measureBoundary({
|
|
83
|
-
type: "destination",
|
|
84
|
-
pairKey: destinationPairKey
|
|
85
|
-
});
|
|
86
|
-
const destinationAttached = getDestination(destinationPairKey, linkId) !== null;
|
|
87
|
-
if (destinationAttached) {
|
|
88
|
-
releaseLifecycleStartBlock();
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
scheduleViewportRetry();
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
//# sourceMappingURL=use-initial-destination-measurement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["cancelAnimation","useAnimatedReaction","useSharedValue","withDelay","withTiming","AnimationStore","getDestination","pairs","LifecycleTransitionRequestKind","SystemStore","getInitialDestinationMeasurePairKey","VIEWPORT_RETRY_DELAY_MS","useInitialDestinationMeasurement","linkId","enabled","currentScreenKey","preferredSourceScreenKey","ancestorScreenKeys","measureBoundary","transitionProgress","getValue","system","getBag","pendingLifecycleRequestKind","blockLifecycleStart","unblockLifecycleStart","actions","isBlockingLifecycleStart","retryToken","ensureLifecycleStartBlocked","get","set","releaseLifecycleStartBlock","scheduleViewportRetry","duration","retryTick","hasPendingOpenRequest","Open","isWaitingForOpenToStart","destinationPairKey","linkState","length","undefined","type","pairKey","destinationAttached"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts"],"mappings":";;AAAA,SACCA,eAAe,EACfC,mBAAmB,EACnBC,cAAc,EACdC,SAAS,EACTC,UAAU,QACJ,yBAAyB;AAChC,SAASC,cAAc,QAAQ,iCAAiC;AAChE,SAASC,cAAc,QAAQ,wCAAwC;AACvE,SAASC,KAAK,QAAQ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[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useAnimatedReaction","useSharedValue","pairs","getInitialSourceCaptureSignal","useInitialSourceMeasurement","params","enabled","nextScreenKey","measureBoundary","linkId","currentScreenKey","group","shouldAutoMeasure","lastSourceCaptureSignal","linkState","get","undefined","captureSignal","set","signal","type","pairKey"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-initial-source-measurement.ts"],"mappings":";;AAAA,SAASA,mBAAmB,EAAEC,cAAc,QAAQ,yBAAyB;AAC7E,SAASC,KAAK,QAAQ,wCAAwC;AAE9D,SAASC,6BAA6B,QAAQ,yBAAyB;AAEvE,OAAO,MAAMC,2BAA2B,GAAIC,MAQ3C,IAAK;EACL,MAAM;IACLC,OAAO;IACPC,aAAa;IACbC,eAAe;IACfC,MAAM;IACNC,gBAAgB;IAChBC,KAAK;IACLC;EACD,CAAC,GAAGP,MAAM;EACV,MAAMQ,uBAAuB,GAAGZ,cAAc,CAAgB,IAAI,CAAC;EAEnED,mBAAmB,CAClB,MAAM;IACL,SAAS;;IACT,OAAOG,6BAA6B,CAAC;MACpCG,OAAO;MACPC,aAAa;MACbG,gBAAgB;MAChBD,MAAM;MACNE,KAAK;MACLC,iBAAiB;MACjBE,SAAS,EAAEH,KAAK,GAAGT,KAAK,CAACa,GAAG,CAAC,CAAC,GAAGC;IAClC,CAAC,CAAC;EACH,CAAC,EACAC,aAAa,IAAK;IAClB,SAAS;;IACT,IAAI,CAACX,OAAO,IAAI,CAACW,aAAa,EAAE;MAC/BJ,uBAAuB,CAACK,GAAG,CAAC,IAAI,CAAC;MACjC;IACD;IAEA,IAAIL,uBAAuB,CAACE,GAAG,CAAC,CAAC,KAAKE,aAAa,CAACE,MAAM,EAAE;MAC3D;IACD;IAEAN,uBAAuB,CAACK,GAAG,CAACD,aAAa,CAACE,MAAM,CAAC;IACjDX,eAAe,CAAC;MACfY,IAAI,EAAE,QAAQ;MACdC,OAAO,EAAEJ,aAAa,CAACI;IACxB,CAAC,CAAC;EACH,CACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useWindowDimensions","setEntry","setDestination","setSource","ScrollStore","SystemStore","getVisibilityBlockOffset","applyVisibilityBlockOffset","isMeasurementInViewport","measureWithOverscrollAwareness","useMeasurer","enabled","entryTag","linkId","group","currentScreenKey","preparedStyles","measuredAnimatedRef","width","viewportWidth","height","viewportHeight","scrollState","getValue","pendingLifecycleStartBlockCount","target","measured","get","shouldAdjustBlockedDestination","type","normalizedMeasured","shouldGuardDestinationViewport","viewportAllowsDestinationWrite","bounds","pairKey"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-measurer.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,OAAO;AAEnC,SAASC,mBAAmB,QAAQ,cAAc;AAElD,SAASC,QAAQ,QAAQ,0CAA0C;AACnE,SACCC,cAAc,EACdC,SAAS,QACH,wCAAwC;AAC/C,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,WAAW,QAAQ,8BAA8B;AAC1D,SAASC,wBAAwB,QAAQ,wCAAwC;AAEjF,SACCC,0BAA0B,EAC1BC,uBAAuB,EACvBC,8BAA8B,QACxB,0BAA0B;AAYjC,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAC3BC,OAAO;EACPC,QAAQ;EACRC,MAAM;EACNC,KAAK;EACLC,gBAAgB;EAChBC,cAAc;EACdC;AACkB,CAAC,KAAsB;EACzC,MAAM;IAAEC,KAAK,EAAEC,aAAa;IAAEC,MAAM,EAAEC;EAAe,CAAC,GACrDrB,mBAAmB,CAAC,CAAC;EAEtB,MAAMsB,WAAW,GAAGlB,WAAW,CAACmB,QAAQ,CAACR,gBAAgB,EAAE,cAAc,CAAC;EAC1E,MAAMS,+BAA+B,GAAGnB,WAAW,CAACkB,QAAQ,CAC3DR,gBAAgB,EAChB,iCACD,CAAC;EAED,OAAOh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,EACRC,MAAM,EACNC,KAAK,EACLC,gBAAgB,EAChBC,cAAc,EACdC,mBAAmB,EACnBE,aAAa,EACbE,cAAc,EACdC,WAAW,EACXE,+BAA+B,CAEjC,CAAC;AACF,CAAC","ignoreList":[]}
|
package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useAnimatedReaction","AnimationStore","pairs","getRefreshBoundarySignal","useRefreshBoundary","enabled","currentScreenKey","preferredSourceScreenKey","nextScreenKey","linkId","group","ancestorScreenKeys","measureBoundary","refreshScreenKey","refreshWillAnimate","getValue","refreshClosing","refreshEntering","refreshAnimating","refreshProgress","shouldRefresh","get","closing","entering","animating","progress","linkState","length","undefined","refreshSignal","prevRefreshSignal","signal","type","pairKey"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/hooks/use-refresh-boundary.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,yBAAyB;AAC7D,SAASC,cAAc,QAAQ,iCAAiC;AAChE,SAASC,KAAK,QAAQ,wCAAwC;AAE9D,SAASC,wBAAwB,QAAQ,0BAA0B;AAanE,OAAO,MAAMC,kBAAkB,GAAGA,CAAC;EAClCC,OAAO;EACPC,gBAAgB;EAChBC,wBAAwB;EACxBC,aAAa;EACbC,MAAM;EACNC,KAAK;EACLC,kBAAkB;EAClBC;AACyB,CAAC,KAAK;EAC/B;EACA;EACA,MAAMC,gBAAgB,GAAGL,aAAa,IAAIF,gBAAgB;EAC1D,MAAMQ,kBAAkB,GAAGb,cAAc,CAACc,QAAQ,CACjDF,gBAAgB,EAChB,aACD,CAAC;EACD,MAAMG,cAAc,GAAGf,cAAc,CAACc,QAAQ,CAACF,gBAAgB,EAAE,SAAS,CAAC;EAC3E,MAAMI,eAAe,GAAGhB,cAAc,CAACc,QAAQ,CAACF,gBAAgB,EAAE,UAAU,CAAC;EAC7E,MAAMK,gBAAgB,GAAGjB,cAAc,CAACc,QAAQ,CAC/CF,gBAAgB,EAChB,mBACD,CAAC;EACD,MAAMM,eAAe,GAAGlB,cAAc,CAACc,QAAQ,CAC9CF,gBAAgB,EAChB,oBACD,CAAC;EAEDb,mBAAmB,CAClB,MAAM;IACL,SAAS;;IACT,OAAOG,wBAAwB,CAAC;MAC/BE,OAAO;MACPC,gBAAgB;MAChBC,wBAAwB;MACxBC,aAAa;MACbC,MAAM;MACNC,KAAK;MACLC,kBAAkB;MAClBS,aAAa,EAAE,CAAC,CAACN,kBAAkB,CAACO,GAAG,CAAC,CAAC;MACzCC,OAAO,EAAE,CAAC,CAACN,cAAc,CAACK,GAAG,CAAC,CAAC;MAC/BE,QAAQ,EAAE,CAAC,CAACN,eAAe,CAACI,GAAG,CAAC,CAAC;MACjCG,SAAS,EAAE,CAAC,CAACN,gBAAgB,CAACG,GAAG,CAAC,CAAC;MACnCI,QAAQ,EAAEN,eAAe,CAACE,GAAG,CAAC,CAAC;MAC/BK,SAAS,EAAEhB,KAAK,IAAIC,kBAAkB,CAACgB,MAAM,GAAGzB,KAAK,CAACmB,GAAG,CAAC,CAAC,GAAGO;IAC/D,CAAC,CAAC;EACH,CAAC,EACD,CAACC,aAAa,EAAEC,iBAAiB,KAAK;IACrC,SAAS;;IAET,IACC,CAACD,aAAa,IACdA,aAAa,CAACE,MAAM,KAAKD,iBAAiB,EAAEC,MAAM,EACjD;MACD;IACD;IAEAnB,eAAe,CAAC;MACfoB,IAAI,EAAEH,aAAa,CAACG,IAAI;MACxBC,OAAO,EAAEJ,aAAa,CAACI;IACxB,CAAC,CAAC;EACH,CACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Pressable","View","BoundaryTarget","createBoundaryComponent","BoundaryView","shouldAutoMeasure","BoundaryTrigger","displayName","Boundary","Trigger","Target"],"sourceRoot":"../../../../../src","sources":["shared/components/create-boundary-component/index.tsx"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,IAAI,QAAQ,cAAc;AAC9C,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,uBAAuB,QAAQ,6BAA6B;AAErE,SAASA,uBAAuB;AAEhC,MAAMC,YAAY,GAAGD,uBAAuB,CAACF,IAAI,EAAE;EAClDI,iBAAiB,EAAE;AACpB,CAAC,CAAC;AACF,MAAMC,eAAe,GAAGH,uBAAuB,CAACH,SAAS,CAAC;AAC1DI,YAAY,CAACG,WAAW,GAAG,0BAA0B;AACrDD,eAAe,CAACC,WAAW,GAAG,6BAA6B;AAC3DL,cAAc,CAACK,WAAW,GAAG,4BAA4B;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,QAAQ,GAAG;EACvB;AACD;AACA;EACCP,IAAI,EAAEG,YAAY;EAClB;AACD;AACA;EACCK,OAAO,EAAEH,eAAe;EACxB;AACD;AACA;EACCI,MAAM,EAAER;AACT,CAAC","ignoreList":[]}
|
package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createContext, useCallback, useContext, useMemo, useRef, useState } from "react";
|
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
const BoundaryOwnerContext = /*#__PURE__*/createContext(null);
|
|
6
|
-
const MULTIPLE_TARGETS_WARNING = "[react-native-screen-transitions] Multiple Boundary.Target elements were rendered under the same boundary owner. The first registered target will be measured.";
|
|
7
|
-
export const TARGET_OUTSIDE_OWNER_WARNING = "[react-native-screen-transitions] Boundary.Target must be rendered inside a Boundary owner (Boundary.View, Boundary.Trigger, or a component created by createBoundaryComponent).";
|
|
8
|
-
export const BoundaryOwnerProvider = props => {
|
|
9
|
-
const {
|
|
10
|
-
value,
|
|
11
|
-
children
|
|
12
|
-
} = props;
|
|
13
|
-
return /*#__PURE__*/_jsx(BoundaryOwnerContext.Provider, {
|
|
14
|
-
value: value,
|
|
15
|
-
children: children
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
export const useBoundaryOwnerContext = () => {
|
|
19
|
-
return useContext(BoundaryOwnerContext);
|
|
20
|
-
};
|
|
21
|
-
export const useBoundaryOwner = params => {
|
|
22
|
-
const {
|
|
23
|
-
ownerRef,
|
|
24
|
-
associatedTargetStyles
|
|
25
|
-
} = params;
|
|
26
|
-
const warnedAboutMultipleTargetsRef = useRef(false);
|
|
27
|
-
const [targetEntry, setTargetEntry] = useState(null);
|
|
28
|
-
const registerTargetRef = useCallback((targetRef, preparedStyles) => {
|
|
29
|
-
setTargetEntry(prev => {
|
|
30
|
-
if (prev?.ref === targetRef) {
|
|
31
|
-
return prev;
|
|
32
|
-
}
|
|
33
|
-
if (__DEV__ && prev !== null && !warnedAboutMultipleTargetsRef.current) {
|
|
34
|
-
warnedAboutMultipleTargetsRef.current = true;
|
|
35
|
-
console.warn(MULTIPLE_TARGETS_WARNING);
|
|
36
|
-
}
|
|
37
|
-
return prev ?? {
|
|
38
|
-
ref: targetRef,
|
|
39
|
-
preparedStyles
|
|
40
|
-
};
|
|
41
|
-
});
|
|
42
|
-
}, []);
|
|
43
|
-
const unregisterTargetRef = useCallback(targetRef => {
|
|
44
|
-
setTargetEntry(prev => prev?.ref === targetRef ? null : prev);
|
|
45
|
-
}, []);
|
|
46
|
-
const contextValue = useMemo(() => ({
|
|
47
|
-
ownerRef,
|
|
48
|
-
registerTargetRef,
|
|
49
|
-
unregisterTargetRef,
|
|
50
|
-
activeTargetRef: targetEntry?.ref ?? null,
|
|
51
|
-
associatedTargetStyles
|
|
52
|
-
}), [ownerRef, registerTargetRef, unregisterTargetRef, targetEntry, associatedTargetStyles]);
|
|
53
|
-
return {
|
|
54
|
-
contextValue,
|
|
55
|
-
hasActiveTarget: targetEntry !== null,
|
|
56
|
-
measuredRef: targetEntry?.ref ?? ownerRef,
|
|
57
|
-
targetPreparedStyles: targetEntry?.preparedStyles
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=boundary-owner.provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useCallback","useContext","useMemo","useRef","useState","jsx","_jsx","BoundaryOwnerContext","MULTIPLE_TARGETS_WARNING","TARGET_OUTSIDE_OWNER_WARNING","BoundaryOwnerProvider","props","value","children","Provider","useBoundaryOwnerContext","useBoundaryOwner","params","ownerRef","associatedTargetStyles","warnedAboutMultipleTargetsRef","targetEntry","setTargetEntry","registerTargetRef","targetRef","preparedStyles","prev","ref","__DEV__","current","console","warn","unregisterTargetRef","contextValue","activeTargetRef","hasActiveTarget","measuredRef","targetPreparedStyles"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/providers/boundary-owner.provider.tsx"],"mappings":";;AACA,SACCA,aAAa,EAEbC,WAAW,EACXC,UAAU,EACVC,OAAO,EACPC,MAAM,EACNC,QAAQ,QACF,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAyBf,MAAMC,oBAAoB,gBAAGR,aAAa,CACzC,IACD,CAAC;AAED,MAAMS,wBAAwB,GAC7B,gKAAgK;AAEjK,OAAO,MAAMC,4BAA4B,GACxC,kLAAkL;AAEnL,OAAO,MAAMC,qBAAqB,GAAIC,KAGrC,IAAK;EACL,MAAM;IAAEC,KAAK;IAAEC;EAAS,CAAC,GAAGF,KAAK;EAEjC,oBACCL,IAAA,CAACC,oBAAoB,CAACO,QAAQ;IAACF,KAAK,EAAEA,KAAM;IAAAC,QAAA,EAC1CA;EAAQ,CACqB,CAAC;AAElC,CAAC;AAED,OAAO,MAAME,uBAAuB,GAAGA,CAAA,KAAM;EAC5C,OAAOd,UAAU,CAACM,oBAAoB,CAAC;AACxC,CAAC;AAED,OAAO,MAAMS,gBAAgB,GAAIC,MAGhC,IAAK;EACL,MAAM;IAAEC,QAAQ;IAAEC;EAAuB,CAAC,GAAGF,MAAM;EAC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}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["shared/components/create-boundary-component/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createPendingPairKey, createScreenPairKey, getDestinationScreenKeyFromPairKey, getSourceScreenKeyFromPairKey } from "../../../stores/bounds/helpers/link-pairs.helpers";
|
|
4
|
-
import { getDestination, getSource } from "../../../stores/bounds/internals/links";
|
|
5
|
-
const findPendingSourcePairKey = (linkState, linkId) => {
|
|
6
|
-
"worklet";
|
|
7
|
-
|
|
8
|
-
if (!linkState) return null;
|
|
9
|
-
for (const pairKey in linkState) {
|
|
10
|
-
const sourceScreenKey = getSourceScreenKeyFromPairKey(pairKey);
|
|
11
|
-
if (pairKey !== createPendingPairKey(sourceScreenKey)) {
|
|
12
|
-
continue;
|
|
13
|
-
}
|
|
14
|
-
if (linkState[pairKey]?.links?.[linkId]?.source) {
|
|
15
|
-
return pairKey;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return null;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
// Passive Boundary.View sources in nested routes can already live in the final
|
|
22
|
-
// ancestor pair, even before the destination side has attached.
|
|
23
|
-
const findAncestorSourcePairKey = (linkState, linkId, destinationScreenKey) => {
|
|
24
|
-
"worklet";
|
|
25
|
-
|
|
26
|
-
if (!linkState || !destinationScreenKey) return null;
|
|
27
|
-
for (const pairKey in linkState) {
|
|
28
|
-
if (getDestinationScreenKeyFromPairKey(pairKey) !== destinationScreenKey) {
|
|
29
|
-
continue;
|
|
30
|
-
}
|
|
31
|
-
if (linkState[pairKey]?.links?.[linkId]?.source) {
|
|
32
|
-
return pairKey;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return null;
|
|
36
|
-
};
|
|
37
|
-
export const getInitialDestinationMeasurePairKey = params => {
|
|
38
|
-
"worklet";
|
|
39
|
-
|
|
40
|
-
const {
|
|
41
|
-
enabled,
|
|
42
|
-
currentScreenKey,
|
|
43
|
-
preferredSourceScreenKey,
|
|
44
|
-
ancestorScreenKeys,
|
|
45
|
-
linkId,
|
|
46
|
-
linkState
|
|
47
|
-
} = params;
|
|
48
|
-
if (!enabled) {
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Initial screens inside nested navigators measure concrete child views, but
|
|
53
|
-
// the transition pair belongs to the nearest animated ancestor route.
|
|
54
|
-
const ancestorPairKey = findAncestorSourcePairKey(linkState, linkId, ancestorScreenKeys?.[0]);
|
|
55
|
-
|
|
56
|
-
// Trigger sources start as pending screen<> links. Boundary.View sources may
|
|
57
|
-
// already be in the ancestor pair, so only scan pending when needed.
|
|
58
|
-
const pendingSourcePairKey = preferredSourceScreenKey ? createPendingPairKey(preferredSourceScreenKey) : ancestorPairKey ? null : findPendingSourcePairKey(linkState, linkId);
|
|
59
|
-
const sourceScreenKey = preferredSourceScreenKey ? preferredSourceScreenKey : getSourceScreenKeyFromPairKey(ancestorPairKey ?? pendingSourcePairKey ?? "");
|
|
60
|
-
if (!sourceScreenKey) return null;
|
|
61
|
-
|
|
62
|
-
// Non-nested destinations attach to their own route. Nested initial screens
|
|
63
|
-
// attach to the animated ancestor route unless that pair already exists.
|
|
64
|
-
const destinationScreenKey = ancestorPairKey || preferredSourceScreenKey || !ancestorScreenKeys?.[0] ? currentScreenKey : ancestorScreenKeys[0];
|
|
65
|
-
const destinationPairKey = ancestorPairKey ?? createScreenPairKey(sourceScreenKey, destinationScreenKey);
|
|
66
|
-
const hasDestinationLink = getDestination(destinationPairKey, linkId) !== null;
|
|
67
|
-
const hasAttachableSourceLink = getSource(destinationPairKey, linkId) !== null || !!pendingSourcePairKey && getSource(pendingSourcePairKey, linkId) !== null;
|
|
68
|
-
return hasAttachableSourceLink && !hasDestinationLink ? destinationPairKey : null;
|
|
69
|
-
};
|
|
70
|
-
//# sourceMappingURL=destination-signals.js.map
|
package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createPendingPairKey","createScreenPairKey","getDestinationScreenKeyFromPairKey","getSourceScreenKeyFromPairKey","getDestination","getSource","findPendingSourcePairKey","linkState","linkId","pairKey","sourceScreenKey","links","source","findAncestorSourcePairKey","destinationScreenKey","getInitialDestinationMeasurePairKey","params","enabled","currentScreenKey","preferredSourceScreenKey","ancestorScreenKeys","ancestorPairKey","pendingSourcePairKey","destinationPairKey","hasDestinationLink","hasAttachableSourceLink"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/destination-signals.ts"],"mappings":";;AAAA,SACCA,oBAAoB,EACpBC,mBAAmB,EACnBC,kCAAkC,EAClCC,6BAA6B,QACvB,mDAAmD;AAC1D,SACCC,cAAc,EACdC,SAAS,QACH,wCAAwC;AAM/C,MAAMC,wBAAwB,GAAGA,CAChCC,SAAqC,EACrCC,MAAc,KACY;EAC1B,SAAS;;EACT,IAAI,CAACD,SAAS,EAAE,OAAO,IAAI;EAE3B,KAAK,MAAME,OAAO,IAAIF,SAAS,EAAE;IAChC,MAAMG,eAAe,GAAGP,6BAA6B,CAACM,OAAO,CAAC;IAE9D,IAAIA,OAAO,KAAKT,oBAAoB,CAACU,eAAe,CAAC,EAAE;MACtD;IACD;IAEA,IAAIH,SAAS,CAACE,OAAO,CAAC,EAAEE,KAAK,GAAGH,MAAM,CAAC,EAAEI,MAAM,EAAE;MAChD,OAAOH,OAAO;IACf;EACD;EAEA,OAAO,IAAI;AACZ,CAAC;;AAED;AACA;AACA,MAAMI,yBAAyB,GAAGA,CACjCN,SAAqC,EACrCC,MAAc,EACdM,oBAAwC,KACd;EAC1B,SAAS;;EACT,IAAI,CAACP,SAAS,IAAI,CAACO,oBAAoB,EAAE,OAAO,IAAI;EAEpD,KAAK,MAAML,OAAO,IAAIF,SAAS,EAAE;IAChC,IAAIL,kCAAkC,CA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,MAAM,CAAC,KAAK,IAAI,IAC7C,CAAC,CAACc,oBAAoB,IACtBjB,SAAS,CAACiB,oBAAoB,EAAEd,MAAM,CAAC,KAAK,IAAK;EAEnD,OAAOiB,uBAAuB,IAAI,CAACD,kBAAkB,GAClDD,kBAAkB,GAClB,IAAI;AACR,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["measure","SCROLL_MEASUREMENT_EPSILON","getOverscrollDelta","axisState","maxOffset","Math","max","contentSize","layoutSize","clampedOffset","min","offset","delta","abs","adjustedMeasuredBoundsForOverscrollDeltas","measured","scrollState","deltaX","horizontal","deltaY","vertical","x","y","pageX","pageY","applyVisibilityBlockOffset","isMeasurementInViewport","viewportWidth","viewportHeight","width","height","toleranceX","toleranceY","centerX","centerY","measureWithOverscrollAwareness","ref"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/measured-bounds.ts"],"mappings":";;AACA,SAGCA,OAAO,QACD,yBAAyB;AAMhC,MAAMC,0BAA0B,GAAG,CAAC;AAEpC,MAAMC,kBAAkB,GAAIC,SAAiC,IAAa;EACzE,SAAS;;EACT,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEH,SAAS,CAACI,WAAW,GAAGJ,SAAS,CAACK,UAAU,CAAC;EAC3E,MAAMC,aAAa,GAAGJ,IAAI,CAACK,GAAG,CAACL,IAAI,CAACC,GAAG,CAACH,SAAS,CAACQ,MAAM,EAAE,CAAC,CAAC,EAAEP,SAAS,CAAC;EACxE,MAAMQ,KAAK,GAAGT,SAAS,CAACQ,MAAM,GAAGF,aAAa;EAE9C,OAAOJ,IAAI,CAACQ,GAAG,CAACD,KAAK,CAAC,GAAGX,0BAA0B,GAAGW,KAAK,GAAG,CAAC;AAChE,CAAC;AAED,OAAO,MAAME,yCAAyC,GAAGA,CACxDC,QAA4B,EAC5BC,WAAsC,KACd;EACxB,SAAS;;EAET,IAAI,CAACA,WAAW,EA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ACCG,OAAO,IAAI,CAACF,UAAU,IACtBE,OAAO,IAAIN,aAAa,GAAGI,UAAU,IACrCG,OAAO,IAAI,CAACF,UAAU,IACtBE,OAAO,IAAIN,cAAc,GAAGI,UAAU;AAExC,CAAC;AAED,OAAO,MAAMG,8BAA8B,GAAGA,CAC7CC,GAAsB,EACtBpB,WAAsC,KACP;EAC/B,SAAS;;EACT,MAAMD,QAAQ,GAAGf,OAAO,CAACoC,GAAG,CAAC;EAC7B,IAAI,CAACrB,QAAQ,EAAE,OAAO,IAAI;EAE1B,OAAOD,yCAAyC,CAACC,QAAQ,EAAEC,WAAW,CAAC;AACxE,CAAC","ignoreList":[]}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createPendingPairKey, createScreenPairKey, getDestinationScreenKeyFromPairKey } from "../../../stores/bounds/helpers/link-pairs.helpers";
|
|
4
|
-
const SOURCE_SIGNAL_PREFIX = "source|";
|
|
5
|
-
const DESTINATION_SIGNAL_PREFIX = "destination|";
|
|
6
|
-
const findNestedDestinationPairKey = (linkState, linkId, ancestorScreenKeys) => {
|
|
7
|
-
"worklet";
|
|
8
|
-
|
|
9
|
-
const destinationScreenKey = ancestorScreenKeys?.[0];
|
|
10
|
-
if (!linkState || !destinationScreenKey) return null;
|
|
11
|
-
for (const pairKey in linkState) {
|
|
12
|
-
if (getDestinationScreenKeyFromPairKey(pairKey) !== destinationScreenKey) {
|
|
13
|
-
continue;
|
|
14
|
-
}
|
|
15
|
-
if (linkState[pairKey]?.links?.[linkId]?.destination) {
|
|
16
|
-
return pairKey;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return null;
|
|
20
|
-
};
|
|
21
|
-
const buildRefreshSignal = (type, pairKey, key) => {
|
|
22
|
-
"worklet";
|
|
23
|
-
|
|
24
|
-
const prefix = type === "source" ? SOURCE_SIGNAL_PREFIX : DESTINATION_SIGNAL_PREFIX;
|
|
25
|
-
return {
|
|
26
|
-
type,
|
|
27
|
-
pairKey,
|
|
28
|
-
signal: `${prefix}${pairKey}|${key}`
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export const getRefreshBoundarySignal = params => {
|
|
32
|
-
"worklet";
|
|
33
|
-
|
|
34
|
-
const {
|
|
35
|
-
enabled,
|
|
36
|
-
currentScreenKey,
|
|
37
|
-
preferredSourceScreenKey,
|
|
38
|
-
nextScreenKey,
|
|
39
|
-
linkId,
|
|
40
|
-
group,
|
|
41
|
-
ancestorScreenKeys,
|
|
42
|
-
shouldRefresh,
|
|
43
|
-
closing,
|
|
44
|
-
entering,
|
|
45
|
-
animating,
|
|
46
|
-
progress,
|
|
47
|
-
linkState
|
|
48
|
-
} = params;
|
|
49
|
-
if (!enabled) return null;
|
|
50
|
-
const canRefreshPreCloseDestination = shouldRefresh && closing && !entering && !animating && progress >= 1;
|
|
51
|
-
const canRefreshSettledDestination = shouldRefresh && !closing && !entering;
|
|
52
|
-
if (!canRefreshPreCloseDestination && !canRefreshSettledDestination) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// Non-group refresh only rewrites destination bounds. Source refresh is a
|
|
57
|
-
// grouped-only fallback for active ids that do not have source bounds yet.
|
|
58
|
-
if (!group) {
|
|
59
|
-
if (nextScreenKey) {
|
|
60
|
-
return null;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Nested initial screens have no previous screen in their own navigator,
|
|
64
|
-
// so recover the pair by looking for a destination on the ancestor route.
|
|
65
|
-
const pairKey = preferredSourceScreenKey ? createScreenPairKey(preferredSourceScreenKey, currentScreenKey) : findNestedDestinationPairKey(linkState, linkId, ancestorScreenKeys);
|
|
66
|
-
if (!pairKey) return null;
|
|
67
|
-
return buildRefreshSignal("destination", pairKey, [currentScreenKey, closing ? "closing" : "settled"].join("|"));
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// Source-side grouped refresh: a new active id may not have source bounds yet,
|
|
71
|
-
// so the next screen's lifecycle pulse gives that source one chance to capture.
|
|
72
|
-
if (nextScreenKey) {
|
|
73
|
-
const pairKey = createScreenPairKey(currentScreenKey, nextScreenKey);
|
|
74
|
-
const pendingPairKey = createPendingPairKey(currentScreenKey);
|
|
75
|
-
const activeId = linkState?.[pairKey]?.groups?.[group]?.activeId;
|
|
76
|
-
const hasSource = !!linkState?.[pairKey]?.links?.[linkId]?.source || !!linkState?.[pendingPairKey]?.links?.[linkId]?.source;
|
|
77
|
-
if (activeId !== linkId || hasSource) {
|
|
78
|
-
return null;
|
|
79
|
-
}
|
|
80
|
-
return buildRefreshSignal("source", pairKey, [group, linkId, closing ? "closing" : "settled"].join("|"));
|
|
81
|
-
}
|
|
82
|
-
if (!preferredSourceScreenKey) return null;
|
|
83
|
-
|
|
84
|
-
// Destination-side grouped refresh: only the active member rewrites the
|
|
85
|
-
// destination side, keeping inactive grouped members from stealing the link.
|
|
86
|
-
const pairKey = createScreenPairKey(preferredSourceScreenKey, currentScreenKey);
|
|
87
|
-
const activeId = linkState?.[pairKey]?.groups?.[group]?.activeId;
|
|
88
|
-
const hasSource = !!linkState?.[pairKey]?.links?.[linkId]?.source;
|
|
89
|
-
const hasDestination = !!linkState?.[pairKey]?.links?.[linkId]?.destination;
|
|
90
|
-
|
|
91
|
-
// Destination retargeting should only measure a concrete member that already
|
|
92
|
-
// participates in the pair. Missing members fall back to initialId at resolve.
|
|
93
|
-
if (activeId !== linkId || !hasSource && !hasDestination) {
|
|
94
|
-
return null;
|
|
95
|
-
}
|
|
96
|
-
return buildRefreshSignal("destination", pairKey, [group, linkId, closing ? "closing" : "settled"].join("|"));
|
|
97
|
-
};
|
|
98
|
-
//# sourceMappingURL=refresh-signals.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createPendingPairKey","createScreenPairKey","getDestinationScreenKeyFromPairKey","SOURCE_SIGNAL_PREFIX","DESTINATION_SIGNAL_PREFIX","findNestedDestinationPairKey","linkState","linkId","ancestorScreenKeys","destinationScreenKey","pairKey","links","destination","buildRefreshSignal","type","key","prefix","signal","getRefreshBoundarySignal","params","enabled","currentScreenKey","preferredSourceScreenKey","nextScreenKey","group","shouldRefresh","closing","entering","animating","progress","canRefreshPreCloseDestination","canRefreshSettledDestination","join","pendingPairKey","activeId","groups","hasSource","source","hasDestination"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/refresh-signals.ts"],"mappings":";;AAAA,SACCA,oBAAoB,EACpBC,mBAAmB,EACnBC,kCAAkC,QAC5B,mDAAmD;AAO1D,MAAMC,oBAAoB,GAAG,SAAS;AACtC,MAAMC,yBAAyB,GAAG,cAAc;AAMhD,MAAMC,4BAA4B,GAAGA,CACpCC,SAAqC,EACrCC,MAAc,EACdC,kBAAiD,KACvB;EAC1B,SAAS;;EACT,MAAMC,oBAAoB,GAAGD,kBAAkB,GAAG,CAAC,CAAC;EACpD,IAAI,CAACF,SAAS,IAAI,CAACG,oBAAoB,EAAE,OAAO,IAAI;EAEpD,KAAK,MAAMC,OAAO,IAAIJ,SAAS,EAAE;IAChC,IAAIJ,kCAAkC,CAACQ,OAAO,CAAC,KAAKD,oBAAoB,EAAE;MACzE;IACD;IAEA,IAAIH,SAAS,CAACI,OAAO,CAAC,EAAEC,KAAK,GAAGJ,MAAM,CAAC,EAAEK,WAAW,EAAE;MACrD,OAAOF,OAAO;IACf;EACD;EAEA,OAAO,IAAI;AACZ,CAAC;AAED,MAAMG,kBAAkB,GAAGA,CAC1BC,IAA2B,EAC3BJ,OAAsB,EACtBK,GAAW,KACgB;EAC3B,SAAS;;EACT,MAAMC,MAAM,GACXF,IAAI,KAAK,QAAQ,GAAGX,oBAAoB,GAAGC,yBAAyB;EACrE,OAAO;IACNU,IAAI;IACJJ,OAAO;IACPO,MAAM,EAAE,GAAGD,MAAM,GAAGN,OAAO,IAAIK,GAAG;EACnC,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,wBAAwB,GAAIC,MAcxC,IAAmC;EACnC,SAAS;;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|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { createScreenPairKey } from "../../../stores/bounds/helpers/link-pairs.helpers";
|
|
4
|
-
const SOURCE_SIGNAL_PREFIX = "source|";
|
|
5
|
-
const buildSourceSignal = (pairKey, key) => {
|
|
6
|
-
"worklet";
|
|
7
|
-
|
|
8
|
-
return {
|
|
9
|
-
pairKey,
|
|
10
|
-
signal: `${SOURCE_SIGNAL_PREFIX}${pairKey}|${key}`
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export const getInitialSourceCaptureSignal = params => {
|
|
14
|
-
"worklet";
|
|
15
|
-
|
|
16
|
-
const {
|
|
17
|
-
enabled,
|
|
18
|
-
nextScreenKey,
|
|
19
|
-
currentScreenKey,
|
|
20
|
-
linkId,
|
|
21
|
-
group,
|
|
22
|
-
shouldAutoMeasure,
|
|
23
|
-
linkState
|
|
24
|
-
} = params;
|
|
25
|
-
if (!enabled || !nextScreenKey || !currentScreenKey) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Trigger components capture on press. This passive path is for Boundary.View
|
|
30
|
-
// slots that need a source before navigation starts.
|
|
31
|
-
if (!shouldAutoMeasure) {
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
const pairKey = createScreenPairKey(currentScreenKey, nextScreenKey);
|
|
35
|
-
if (group) {
|
|
36
|
-
const activeId = linkState?.[pairKey]?.groups?.[group]?.activeId;
|
|
37
|
-
|
|
38
|
-
// Passive grouped sources should not measure every mounted item. Once a
|
|
39
|
-
// group has an active id, only that concrete member can auto-capture.
|
|
40
|
-
if (activeId && activeId !== linkId) {
|
|
41
|
-
return null;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
const signalParts = group ? [currentScreenKey, nextScreenKey, group, linkId] : [currentScreenKey, nextScreenKey, linkId];
|
|
45
|
-
return buildSourceSignal(pairKey, signalParts.join("|"));
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=source-signals.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createScreenPairKey","SOURCE_SIGNAL_PREFIX","buildSourceSignal","pairKey","key","signal","getInitialSourceCaptureSignal","params","enabled","nextScreenKey","currentScreenKey","linkId","group","shouldAutoMeasure","linkState","activeId","groups","signalParts","join"],"sourceRoot":"../../../../../../src","sources":["shared/components/create-boundary-component/utils/source-signals.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,mDAAmD;AAMvF,MAAMC,oBAAoB,GAAG,SAAS;AAOtC,MAAMC,iBAAiB,GAAGA,CACzBC,OAAsB,EACtBC,GAAW,KACc;EACzB,SAAS;;EACT,OAAO;IACND,OAAO;IACPE,MAAM,EAAE,GAAGJ,oBAAoB,GAAGE,OAAO,IAAIC,GAAG;EACjD,CAAC;AACF,CAAC;AAED,OAAO,MAAME,6BAA6B,GAAIC,MAQ7C,IAAiC;EACjC,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,aAAa;IACbC,gBAAgB;IAChBC,MAAM;IACNC,KAAK;IACLC,iBAAiB;IACjBC;EACD,CAAC,GAAGP,MAAM;EAEV,IAAI,CAACC,OAAO,IAAI,CAACC,aAAa,IAAI,CAACC,gBAAgB,EAAE;IACpD,OAAO,IAAI;EACZ;;EAEA;EACA;EACA,IAAI,CAACG,iBAAiB,EAAE;IACvB,OAAO,IAAI;EACZ;EAEA,MAAMV,OAAO,GAAGH,mBAAmB,CAACU,gBAAgB,EAAED,aAAa,CAAC;EAEpE,IAAIG,KAAK,EAAE;IACV,MAAMG,QAAQ,GAAGD,SAAS,GAAGX,OAAO,CAAC,EAAEa,MAAM,GAAGJ,KAAK,CAAC,EAAEG,QAAQ;;IAEhE;IACA;IACA,IAAIA,QAAQ,IAAIA,QAAQ,KAAKJ,MAAM,EAAE;MACpC,OAAO,IAAI;IACZ;EACD;EAEA,MAAMM,WAAW,GAAGL,KAAK,GACtB,CAACF,gBAAgB,EAAED,aAAa,EAAEG,KAAK,EAAED,MAAM,CAAC,GAChD,CAACD,gBAAgB,EAAED,aAAa,EAAEE,MAAM,CAAC;EAE5C,OAAOT,iBAAiB,CAACC,OAAO,EAAEc,WAAW,CAACC,IAAI,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","View","CONTAINER_STYLE_ID","MASK_STYLE_ID","createTransitionAwareComponent","jsx","_jsx","TransitionView","LazyMaskedView","require","default","_","MaskedView","children","style","userStyles","styles","root","maskElement","styleId","rootMask","rootContainer","create","flex","backgroundColor"],"sourceRoot":"../../../../../src","sources":["shared/components/integrations/masked-view.tsx"],"mappings":";;AAAA,SAAyBA,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/E,SAASC,kBAAkB,EAAEC,aAAa,QAAQ,iBAAiB;AACnE,SAASC,8BAA8B,QAAQ,sCAAsC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtF,MAAMC,cAAc,GAAGH,8BAA8B,CAACH,IAAI,CAAC;AAE3D,IAAIO,cAAc,GAAGP,IAAI;AAEzB,IAAI;EACHO,cAAc,GAAGC,OAAO,CAAC,uCAAuC,CAAC,CAACC,OAAO;AAC1E,CAAC,CAAC,OAAOC,CAAC,EAAE;EACX;AAAA;AAGD,eAAe,SAASC,UAAUA,CAAC;EAClCC,QAAQ;EACRC,KAAK,EAAEC,UAAU,GAAG,CAAC;AAItB,CAAC,EAAE;EACF,IAAIP,cAAc,KAAKP,IAAI,EAAE;IAC5B,OAAOY,QAAQ;EAChB;EAEA,oBACCP,IAAA,CAACE,cAAc;IACdM,KAAK,EAAEE,MAAM,CAACC;IACd;IAAA;IACAC,WAAW,eACVZ,IAAA,CAACC,cAAc;MAACY,OAAO,EAAEhB,aAAc;MAACW,KAAK,EAAEE,MAAM,CAACI;IAAS,CAAE,CACjE;IAAAP,QAAA,eAEDP,IAAA,CAACC,cAAc;MACdY,OAAO,EAAEjB,kBAAmB;MAC5BY,KAAK,EAAE,CAACE,MAAM,CAACK,aAAa,EAAEN,UAAU,CAAE;MAAAF,QAAA,EAEzCA;IAAQ,CACM;EAAC,CACF,CAAC;AAEnB;AAEA,MAAMG,MAAM,GAAGhB,UAAU,CAACsB,MAAM,CAAC;EAChCL,IAAI,EAAE;IACLM,IAAI,EAAE;EACP,CAAC;EACDH,QAAQ,EAAE;IACTI,eAAe,EAAE;EAClB,CAAC;EACDH,aAAa,EAAE;IACdE,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
|