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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createBoundTag","
|
|
1
|
+
{"version":3,"names":["createBoundTag","normalizeBoundIdentity","createLinkAccessor","prepareBoundStyles","syncActiveGroupId","createBoundsAccessorParts","getProps","extendResult","getLink","createScopedBounds","identity","props","normalizedIdentity","tag","id","group","scoped","styles","options","math","raw","link","linkIdentity","linkTag","target","createBoundsAccessorCore","params"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/create-bounds-accessor-core.ts"],"mappings":";;AAYA,SAASA,cAAc,EAAEC,sBAAsB,QAAQ,oBAAoB;AAC3E,SAASC,kBAAkB,QAAQ,wBAAwB;AAC3D,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,wBAAwB;AAc9E,MAAMC,yBAAyB,GAAGA,CAAC;EAClCC,QAAQ;EACRC;AAC+B,CAAC,KAAK;EACrC,SAAS;;EAET,MAAM;IAAEC;EAAQ,CAAC,GAAGN,kBAAkB,CAACI,QAAQ,CAAC;EAEhD,MAAMG,kBAAkB,GACvBC,QAA6B,IACH;IAC1B,SAAS;;IACT,MAAMC,KAAK,GAAGL,QAAQ,CAAC,CAAC;IACxB,MAAMM,kBAAkB,GAAGX,sBAAsB,CAACS,QAAQ,CAAC;IAC3D,MAAMG,GAAG,GAAGb,cAAc,CAACY,kBAAkB,CAAC;IAC9CR,iBAAiB,CAAC;MACjBO,KAAK;MACLG,EAAE,EAAEF,kBAAkB,CAACE,EAAE;MACzBC,KAAK,EAAEH,kBAAkB,CAACG;IAC3B,CAAC,CAAC;IAEF,MAAMC,MAA4B,GAAG;MACpCC,MAAM,EAAGC,OAA8B,IAAwB;QAC9D,SAAS;;QACT,OAAOf,kBAAkB,CAAC;UACzBQ,KAAK;UACLO,OAAO,EAAE;YACR,GAAGA,OAAO;YACVJ,EAAE,EAAEF,kBAAkB,CAACE,EAAE;YACzBC,KAAK,EAAEH,kBAAkB,CAACG;UAC3B;QACD,CAAC,CAAC;MACH,CAAC;MACDI,IAAI,EACHD,OAAW,IACc;QACzB,SAAS;;QACT,OAAOf,kBAAkB,CAAC;UACzBQ,KAAK;UACLO,OAAO,EAAE;YACR,GAAGA,OAAO;YACVJ,EAAE,EAAEF,kBAAkB,CAACE,EAAE;YACzBC,KAAK,EAAEH,kBAAkB,CAACG,KAAK;YAC/BK,GAAG,EAAE;UACN;QACD,CAAC,CAAC;MACH,CAAC;MACDC,IAAI,EAAGP,EAAwB,IAAK;QACnC,SAAS;;QACT,MAAMQ,YAAY,GACjBR,EAAE,IAAI,IAAI,GACPF,kBAAkB,GAClBX,sBAAsB,CAACa,EAAE,EAAEF,kBAAkB,CAACG,KAAK,CAAC;QACxD,MAAMQ,OAAO,GAAGvB,cAAc,CAACsB,YAAY,CAAC;QAC5C,OAAOd,OAAO,CAACe,OAAO,IAAI,EAAE,CAAC;MAC9B;IACD,CAAyB;IAEzBhB,YAAY,GAAG;MACdiB,MAAM,EAAER,MAAM;MACdN,QAAQ,EAAEE,kBAAkB;MAC5BD,KAAK;MACLE;IACD,CAAC,CAAC;IAEF,OAAOG,MAAM;EACd,CAAoB;EAEpB,OAAO;IACNP;EACD,CAAC;AACF,CAAC;AAED,OAAO,MAAMgB,wBAAwB,GACpCC,MAAsC,IAClB;EACpB,SAAS;;EAET,MAAM;IAAEjB;EAAmB,CAAC,GAAGJ,yBAAyB,CAACqB,MAAM,CAAC;EAEhE,OAAOjB,kBAAkB;AAC1B,CAAC","ignoreList":[]}
|
|
@@ -1,85 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { getEntry } from "../../../stores/bounds/internals/entries";
|
|
4
3
|
import { getResolvedLink } from "../../../stores/bounds/internals/links";
|
|
5
|
-
import { prepareBoundStyles } from "./prepare-bound-styles";
|
|
6
4
|
import { resolveBoundsPairKey } from "./resolve-bounds-pair-key";
|
|
7
|
-
const toResolvedPair = link => {
|
|
8
|
-
"worklet";
|
|
9
|
-
|
|
10
|
-
return {
|
|
11
|
-
sourceBounds: link.source.bounds,
|
|
12
|
-
destinationBounds: link.destination?.bounds ?? null,
|
|
13
|
-
sourceStyles: link.source.styles,
|
|
14
|
-
destinationStyles: link.destination?.styles ?? null,
|
|
15
|
-
sourceScreenKey: link.source.screenKey,
|
|
16
|
-
destinationScreenKey: link.destination?.screenKey ?? null
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
5
|
export const createLinkAccessor = getProps => {
|
|
20
6
|
"worklet";
|
|
21
7
|
|
|
22
|
-
const getMeasured = (tag, key) => {
|
|
23
|
-
"worklet";
|
|
24
|
-
|
|
25
|
-
if (!key) return null;
|
|
26
|
-
const entry = getEntry(String(tag), key);
|
|
27
|
-
return entry?.bounds ? entry : null;
|
|
28
|
-
};
|
|
29
|
-
const getSnapshot = (tag, key) => {
|
|
30
|
-
"worklet";
|
|
31
|
-
|
|
32
|
-
return getMeasured(tag, key);
|
|
33
|
-
};
|
|
34
8
|
const getLink = tag => {
|
|
35
9
|
"worklet";
|
|
36
10
|
|
|
37
11
|
const props = getProps();
|
|
38
12
|
const stringTag = String(tag);
|
|
39
13
|
const pairKey = resolveBoundsPairKey(props);
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (!link) return null;
|
|
47
|
-
const resolvedPair = toResolvedPair(link);
|
|
48
|
-
return {
|
|
49
|
-
id: selectedTag,
|
|
50
|
-
source: link.source ? {
|
|
51
|
-
bounds: link.source.bounds,
|
|
52
|
-
styles: link.source.styles
|
|
53
|
-
} : null,
|
|
54
|
-
destination: link.destination ? {
|
|
55
|
-
bounds: link.destination.bounds,
|
|
56
|
-
styles: link.destination.styles
|
|
57
|
-
} : null,
|
|
58
|
-
initialSource: link.initialSource ? {
|
|
59
|
-
bounds: link.initialSource.bounds,
|
|
60
|
-
styles: link.initialSource.styles
|
|
61
|
-
} : null,
|
|
62
|
-
initialDestination: link.initialDestination ? {
|
|
63
|
-
bounds: link.initialDestination.bounds,
|
|
64
|
-
styles: link.initialDestination.styles
|
|
65
|
-
} : null,
|
|
66
|
-
compute: computeOptions => {
|
|
67
|
-
"worklet";
|
|
68
|
-
|
|
69
|
-
return prepareBoundStyles({
|
|
70
|
-
props,
|
|
71
|
-
options: {
|
|
72
|
-
...computeOptions,
|
|
73
|
-
id: selectedTag
|
|
74
|
-
},
|
|
75
|
-
resolvedPair
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
};
|
|
14
|
+
if (!pairKey) return null;
|
|
15
|
+
const resolved = getResolvedLink(pairKey, stringTag);
|
|
16
|
+
return resolved.link ? {
|
|
17
|
+
id: resolved.tag,
|
|
18
|
+
...resolved.link
|
|
19
|
+
} : null;
|
|
79
20
|
};
|
|
80
21
|
return {
|
|
81
|
-
getMeasured,
|
|
82
|
-
getSnapshot,
|
|
83
22
|
getLink
|
|
84
23
|
};
|
|
85
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["getResolvedLink","resolveBoundsPairKey","createLinkAccessor","getProps","getLink","tag","props","stringTag","String","pairKey","resolved","link","id"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/create-link-accessor.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,wCAAwC;AAMxE,SAASC,oBAAoB,QAAQ,2BAA2B;AAQhE,OAAO,MAAMC,kBAAkB,GAAIC,QAAkB,IAAmB;EACvE,SAAS;;EAET,MAAMC,OAAO,GAAIC,GAAY,IAAwB;IACpD,SAAS;;IACT,MAAMC,KAAK,GAAGH,QAAQ,CAAC,CAAC;IACxB,MAAMI,SAAS,GAAGC,MAAM,CAACH,GAAG,CAAC;IAC7B,MAAMI,OAAO,GAAGR,oBAAoB,CAACK,KAAK,CAAC;IAC3C,IAAI,CAACG,OAAO,EAAE,OAAO,IAAI;IAEzB,MAAMC,QAAQ,GAAGV,eAAe,CAACS,OAAO,EAAEF,SAAS,CAAC;IACpD,OAAOG,QAAQ,CAACC,IAAI,GACjB;MACAC,EAAE,EAAEF,QAAQ,CAACL,GAAG;MAChB,GAAGK,QAAQ,CAACC;IACb,CAAC,GACA,IAAI;EACR,CAAC;EAED,OAAO;IACNP;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { getEntry } from "../../../stores/bounds/internals/entries";
|
|
4
|
-
import { setActiveGroupId } from "../../../stores/bounds/internals/links";
|
|
4
|
+
import { getActiveGroupId, setActiveGroupId } from "../../../stores/bounds/internals/links";
|
|
5
5
|
import { DEFAULT_BOUNDS_OPTIONS } from "../constants";
|
|
6
6
|
import { createBoundTag } from "./create-bound-tag";
|
|
7
7
|
import { resolveBoundsPairKey } from "./resolve-bounds-pair-key";
|
|
@@ -29,7 +29,7 @@ const buildBoundsOptions = ({
|
|
|
29
29
|
};
|
|
30
30
|
return resolved;
|
|
31
31
|
};
|
|
32
|
-
const syncActiveGroupId = params => {
|
|
32
|
+
export const syncActiveGroupId = params => {
|
|
33
33
|
"worklet";
|
|
34
34
|
|
|
35
35
|
const {
|
|
@@ -40,23 +40,17 @@ const syncActiveGroupId = params => {
|
|
|
40
40
|
if (id == null || id === "" || !group) return;
|
|
41
41
|
const pairKey = resolveBoundsPairKey(props);
|
|
42
42
|
if (!pairKey) return;
|
|
43
|
-
|
|
43
|
+
const activeId = String(id);
|
|
44
|
+
if (getActiveGroupId(pairKey, group) === activeId) return;
|
|
45
|
+
setActiveGroupId(pairKey, group, activeId);
|
|
44
46
|
};
|
|
45
47
|
export const prepareBoundStyles = ({
|
|
46
48
|
props,
|
|
47
49
|
options,
|
|
48
|
-
resolvedPair
|
|
49
|
-
syncGroupActiveId = false
|
|
50
|
+
resolvedPair
|
|
50
51
|
}) => {
|
|
51
52
|
"worklet";
|
|
52
53
|
|
|
53
|
-
if (syncGroupActiveId) {
|
|
54
|
-
syncActiveGroupId({
|
|
55
|
-
props,
|
|
56
|
-
id: options.id,
|
|
57
|
-
group: options.group
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
54
|
const resolved = buildBoundsOptions({
|
|
61
55
|
props,
|
|
62
56
|
id: options.id,
|
|
@@ -69,7 +63,8 @@ export const prepareBoundStyles = ({
|
|
|
69
63
|
current: props.current,
|
|
70
64
|
next: props.next,
|
|
71
65
|
progress: resolved.progress ?? props.progress,
|
|
72
|
-
dimensions: props.layouts.screen
|
|
66
|
+
dimensions: props.layouts.screen,
|
|
67
|
+
interpolationProps: props
|
|
73
68
|
}, resolved, resolvedPair);
|
|
74
69
|
};
|
|
75
70
|
//# sourceMappingURL=prepare-bound-styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getEntry","setActiveGroupId","DEFAULT_BOUNDS_OPTIONS","createBoundTag","resolveBoundsPairKey","computeBoundStyles","buildBoundsOptions","props","id","group","overrides","tag","currentScreenKey","current","route","key","boundaryConfig","resolved","syncActiveGroupId","params","pairKey","String","prepareBoundStyles","options","resolvedPair","
|
|
1
|
+
{"version":3,"names":["getEntry","getActiveGroupId","setActiveGroupId","DEFAULT_BOUNDS_OPTIONS","createBoundTag","resolveBoundsPairKey","computeBoundStyles","buildBoundsOptions","props","id","group","overrides","tag","currentScreenKey","current","route","key","boundaryConfig","resolved","syncActiveGroupId","params","pairKey","activeId","String","prepareBoundStyles","options","resolvedPair","previous","next","progress","dimensions","layouts","screen","interpolationProps"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/prepare-bound-styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,0CAA0C;AACnE,SACCC,gBAAgB,EAChBC,gBAAgB,QACV,wCAAwC;AAG/C,SAASC,sBAAsB,QAAQ,cAAc;AAMrD,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,kBAAkB,QAAQ,kBAAkB;AAiBrD,MAAMC,kBAAkB,GAAGA,CAAC;EAC3BC,KAAK;EACLC,EAAE;EACFC,KAAK;EACLC;AACyB,CAAC,KAAoB;EAC9C,SAAS;;EAET,MAAMC,GAAG,GAAGR,cAAc,CAAC;IAAEK,EAAE;IAAEC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,OAAOnB,kBAAkB,CACxB;IACCG,EAAE,EAAES,QAAQ,CAACT,EAAE;IACfkB,QAAQ,EAAEnB,KAAK,CAACmB,QAAQ;IACxBb,OAAO,EAAEN,KAAK,CAACM,OAAO;IACtBc,IAAI,EAAEpB,KAAK,CAACoB,IAAI;IAChBC,QAAQ,EAAEX,QAAQ,CAACW,QAAQ,IAAIrB,KAAK,CAACqB,QAAQ;IAC7CC,UAAU,EAAEtB,KAAK,CAACuB,OAAO,CAACC,MAAM;IAChCC,kBAAkB,EAAEzB;EACrB,CAAC,EACDU,QAAQ,EACRQ,YACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { Extrapolation, interpolate } from "react-native-reanimated";
|
|
4
|
-
import {
|
|
4
|
+
import { EPSILON } from "../../../../constants";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Element-level (relative) params shared by size/transform composers.
|
|
@@ -130,6 +130,101 @@ const getAnchorOffset = ({
|
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
|
+
const clampUnit = value => {
|
|
134
|
+
"worklet";
|
|
135
|
+
|
|
136
|
+
return Math.min(1, Math.max(0, value));
|
|
137
|
+
};
|
|
138
|
+
const normalizeRangeProgress = (progress, ranges) => {
|
|
139
|
+
"worklet";
|
|
140
|
+
|
|
141
|
+
const distance = ranges[1] - ranges[0];
|
|
142
|
+
if (Math.abs(distance) <= EPSILON) {
|
|
143
|
+
return 1;
|
|
144
|
+
}
|
|
145
|
+
return clampUnit((progress - ranges[0]) / distance);
|
|
146
|
+
};
|
|
147
|
+
const getUniformScale = (scaleX, scaleY) => {
|
|
148
|
+
"worklet";
|
|
149
|
+
|
|
150
|
+
if (Math.abs(scaleX - scaleY) <= EPSILON) {
|
|
151
|
+
return scaleX;
|
|
152
|
+
}
|
|
153
|
+
return Math.sqrt(Math.abs(scaleX * scaleY));
|
|
154
|
+
};
|
|
155
|
+
const getScaleRatio = (resolvedScale, currentScale) => {
|
|
156
|
+
"worklet";
|
|
157
|
+
|
|
158
|
+
const safeCurrentScale = Math.abs(currentScale) > EPSILON ? currentScale : 1;
|
|
159
|
+
return resolvedScale / safeCurrentScale;
|
|
160
|
+
};
|
|
161
|
+
const resolveMotionTransform = ({
|
|
162
|
+
computeOptions,
|
|
163
|
+
interpolationProps,
|
|
164
|
+
progress,
|
|
165
|
+
ranges,
|
|
166
|
+
start,
|
|
167
|
+
end,
|
|
168
|
+
current
|
|
169
|
+
}) => {
|
|
170
|
+
"worklet";
|
|
171
|
+
|
|
172
|
+
if (!computeOptions.motion) {
|
|
173
|
+
return current;
|
|
174
|
+
}
|
|
175
|
+
return computeOptions.motion({
|
|
176
|
+
progress: normalizeRangeProgress(progress, ranges),
|
|
177
|
+
current,
|
|
178
|
+
start,
|
|
179
|
+
end,
|
|
180
|
+
props: interpolationProps
|
|
181
|
+
});
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Builds the rendered transform stack for a resolved motion: optional
|
|
185
|
+
* perspective first (so rotations project in 3D), translates, optional
|
|
186
|
+
* rotations, then the composer's scale entries — rotation happens in
|
|
187
|
+
* unscaled space around the element center.
|
|
188
|
+
*/
|
|
189
|
+
const composeMotionTransform = (motion, scaleTransforms) => {
|
|
190
|
+
"worklet";
|
|
191
|
+
|
|
192
|
+
const transform = [];
|
|
193
|
+
const rotate = motion.rotate ?? 0;
|
|
194
|
+
const rotateX = motion.rotateX ?? 0;
|
|
195
|
+
const rotateY = motion.rotateY ?? 0;
|
|
196
|
+
if (rotate !== 0 || rotateX !== 0 || rotateY !== 0 || motion.perspective !== undefined) {
|
|
197
|
+
transform.push({
|
|
198
|
+
perspective: motion.perspective ?? 1000
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
transform.push({
|
|
202
|
+
translateX: motion.x
|
|
203
|
+
}, {
|
|
204
|
+
translateY: motion.y
|
|
205
|
+
});
|
|
206
|
+
if (rotateX !== 0) {
|
|
207
|
+
transform.push({
|
|
208
|
+
rotateX: `${rotateX}deg`
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
if (rotateY !== 0) {
|
|
212
|
+
transform.push({
|
|
213
|
+
rotateY: `${rotateY}deg`
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
if (rotate !== 0) {
|
|
217
|
+
transform.push({
|
|
218
|
+
rotate: `${rotate}deg`
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
if (scaleTransforms) {
|
|
222
|
+
for (const entry of scaleTransforms) {
|
|
223
|
+
transform.push(entry);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return transform;
|
|
227
|
+
};
|
|
133
228
|
export function composeSizeAbsolute(params) {
|
|
134
229
|
"worklet";
|
|
135
230
|
|
|
@@ -154,24 +249,38 @@ export function composeSizeAbsolute(params) {
|
|
|
154
249
|
});
|
|
155
250
|
const translateX = anchorX - anchorOffset.x;
|
|
156
251
|
const translateY = anchorY - anchorOffset.y;
|
|
252
|
+
const motion = resolveMotionTransform({
|
|
253
|
+
computeOptions,
|
|
254
|
+
interpolationProps: params.interpolationProps,
|
|
255
|
+
progress,
|
|
256
|
+
ranges,
|
|
257
|
+
start,
|
|
258
|
+
end,
|
|
259
|
+
current: {
|
|
260
|
+
x: translateX,
|
|
261
|
+
y: translateY,
|
|
262
|
+
scale: 1
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
const resolvedWidth = width * motion.scale;
|
|
266
|
+
const resolvedHeight = height * motion.scale;
|
|
157
267
|
if (computeOptions.raw) {
|
|
158
268
|
return {
|
|
159
|
-
width,
|
|
160
|
-
height,
|
|
161
|
-
translateX,
|
|
162
|
-
translateY,
|
|
163
|
-
|
|
269
|
+
width: resolvedWidth,
|
|
270
|
+
height: resolvedHeight,
|
|
271
|
+
translateX: motion.x,
|
|
272
|
+
translateY: motion.y,
|
|
273
|
+
rotate: motion.rotate ?? 0,
|
|
274
|
+
rotateX: motion.rotateX ?? 0,
|
|
275
|
+
rotateY: motion.rotateY ?? 0,
|
|
276
|
+
transformOrigin: motion.transformOrigin
|
|
164
277
|
};
|
|
165
278
|
}
|
|
166
279
|
return {
|
|
167
|
-
width,
|
|
168
|
-
height,
|
|
169
|
-
transform:
|
|
170
|
-
|
|
171
|
-
}, {
|
|
172
|
-
translateY
|
|
173
|
-
}],
|
|
174
|
-
...VISIBLE_STYLE
|
|
280
|
+
width: resolvedWidth,
|
|
281
|
+
height: resolvedHeight,
|
|
282
|
+
transform: composeMotionTransform(motion),
|
|
283
|
+
transformOrigin: motion.transformOrigin
|
|
175
284
|
};
|
|
176
285
|
}
|
|
177
286
|
export function composeSizeRelative(params) {
|
|
@@ -201,24 +310,38 @@ export function composeSizeRelative(params) {
|
|
|
201
310
|
});
|
|
202
311
|
const translateX = anchorX - (baseX + anchorOffset.x);
|
|
203
312
|
const translateY = anchorY - (baseY + anchorOffset.y);
|
|
313
|
+
const motion = resolveMotionTransform({
|
|
314
|
+
computeOptions,
|
|
315
|
+
interpolationProps: params.interpolationProps,
|
|
316
|
+
progress,
|
|
317
|
+
ranges,
|
|
318
|
+
start,
|
|
319
|
+
end,
|
|
320
|
+
current: {
|
|
321
|
+
x: translateX,
|
|
322
|
+
y: translateY,
|
|
323
|
+
scale: 1
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
const resolvedWidth = width * motion.scale;
|
|
327
|
+
const resolvedHeight = height * motion.scale;
|
|
204
328
|
if (computeOptions.raw) {
|
|
205
329
|
return {
|
|
206
|
-
translateX,
|
|
207
|
-
translateY,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
330
|
+
translateX: motion.x,
|
|
331
|
+
translateY: motion.y,
|
|
332
|
+
rotate: motion.rotate ?? 0,
|
|
333
|
+
rotateX: motion.rotateX ?? 0,
|
|
334
|
+
rotateY: motion.rotateY ?? 0,
|
|
335
|
+
transformOrigin: motion.transformOrigin,
|
|
336
|
+
width: resolvedWidth,
|
|
337
|
+
height: resolvedHeight
|
|
211
338
|
};
|
|
212
339
|
}
|
|
213
340
|
return {
|
|
214
|
-
transform:
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}],
|
|
219
|
-
width,
|
|
220
|
-
height,
|
|
221
|
-
...VISIBLE_STYLE
|
|
341
|
+
transform: composeMotionTransform(motion),
|
|
342
|
+
transformOrigin: motion.transformOrigin,
|
|
343
|
+
width: resolvedWidth,
|
|
344
|
+
height: resolvedHeight
|
|
222
345
|
};
|
|
223
346
|
}
|
|
224
347
|
export function composeTransformAbsolute(params) {
|
|
@@ -236,26 +359,42 @@ export function composeTransformAbsolute(params) {
|
|
|
236
359
|
const translateY = geometry.entering ? interpolate(progress, ranges, [start.pageY, end.pageY], Extrapolation.CLAMP) : interpolate(progress, ranges, [end.pageY, start.pageY], Extrapolation.CLAMP);
|
|
237
360
|
const scaleX = geometry.entering ? interpolate(progress, ranges, [geometry.scaleX, 1], Extrapolation.CLAMP) : interpolate(progress, ranges, [1, 1 / geometry.scaleX], Extrapolation.CLAMP);
|
|
238
361
|
const scaleY = geometry.entering ? interpolate(progress, ranges, [geometry.scaleY, 1], Extrapolation.CLAMP) : interpolate(progress, ranges, [1, 1 / geometry.scaleY], Extrapolation.CLAMP);
|
|
362
|
+
const currentScale = getUniformScale(scaleX, scaleY);
|
|
363
|
+
const motion = resolveMotionTransform({
|
|
364
|
+
computeOptions,
|
|
365
|
+
interpolationProps: params.interpolationProps,
|
|
366
|
+
progress,
|
|
367
|
+
ranges,
|
|
368
|
+
start,
|
|
369
|
+
end,
|
|
370
|
+
current: {
|
|
371
|
+
x: translateX,
|
|
372
|
+
y: translateY,
|
|
373
|
+
scale: currentScale
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
const scaleRatio = getScaleRatio(motion.scale, currentScale);
|
|
377
|
+
const resolvedScaleX = scaleX * scaleRatio;
|
|
378
|
+
const resolvedScaleY = scaleY * scaleRatio;
|
|
239
379
|
if (computeOptions.raw) {
|
|
240
380
|
return {
|
|
241
|
-
translateX,
|
|
242
|
-
translateY,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
381
|
+
translateX: motion.x,
|
|
382
|
+
translateY: motion.y,
|
|
383
|
+
rotate: motion.rotate ?? 0,
|
|
384
|
+
rotateX: motion.rotateX ?? 0,
|
|
385
|
+
rotateY: motion.rotateY ?? 0,
|
|
386
|
+
transformOrigin: motion.transformOrigin,
|
|
387
|
+
scaleX: resolvedScaleX,
|
|
388
|
+
scaleY: resolvedScaleY
|
|
246
389
|
};
|
|
247
390
|
}
|
|
248
391
|
return {
|
|
249
|
-
transform: [{
|
|
250
|
-
|
|
251
|
-
}, {
|
|
252
|
-
translateY
|
|
253
|
-
}, {
|
|
254
|
-
scaleX
|
|
392
|
+
transform: composeMotionTransform(motion, [{
|
|
393
|
+
scaleX: resolvedScaleX
|
|
255
394
|
}, {
|
|
256
|
-
scaleY
|
|
257
|
-
}],
|
|
258
|
-
|
|
395
|
+
scaleY: resolvedScaleY
|
|
396
|
+
}]),
|
|
397
|
+
transformOrigin: motion.transformOrigin
|
|
259
398
|
};
|
|
260
399
|
}
|
|
261
400
|
export function composeTransformRelative(params) {
|
|
@@ -271,32 +410,48 @@ export function composeTransformRelative(params) {
|
|
|
271
410
|
const translateY = geometry.entering ? interpolate(progress, ranges, [geometry.dy, 0], Extrapolation.CLAMP) : interpolate(progress, ranges, [0, -geometry.dy], Extrapolation.CLAMP);
|
|
272
411
|
const scaleX = geometry.entering ? interpolate(progress, ranges, [geometry.scaleX, 1], Extrapolation.CLAMP) : interpolate(progress, ranges, [1, 1 / geometry.scaleX], Extrapolation.CLAMP);
|
|
273
412
|
const scaleY = geometry.entering ? interpolate(progress, ranges, [geometry.scaleY, 1], Extrapolation.CLAMP) : interpolate(progress, ranges, [1, 1 / geometry.scaleY], Extrapolation.CLAMP);
|
|
413
|
+
const offsetX = computeOptions.offset?.x ?? computeOptions.gestures?.x ?? 0;
|
|
414
|
+
const offsetY = computeOptions.offset?.y ?? computeOptions.gestures?.y ?? 0;
|
|
415
|
+
const currentScale = getUniformScale(scaleX, scaleY);
|
|
416
|
+
const motion = resolveMotionTransform({
|
|
417
|
+
computeOptions,
|
|
418
|
+
interpolationProps: params.interpolationProps,
|
|
419
|
+
progress,
|
|
420
|
+
ranges,
|
|
421
|
+
start: params.start,
|
|
422
|
+
end: params.end,
|
|
423
|
+
current: {
|
|
424
|
+
x: translateX,
|
|
425
|
+
y: translateY,
|
|
426
|
+
scale: currentScale
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
const scaleRatio = getScaleRatio(motion.scale, currentScale);
|
|
430
|
+
const resolvedScaleX = scaleX * scaleRatio;
|
|
431
|
+
const resolvedScaleY = scaleY * scaleRatio;
|
|
274
432
|
if (computeOptions.raw) {
|
|
275
433
|
return {
|
|
276
|
-
translateX,
|
|
277
|
-
translateY,
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
434
|
+
translateX: motion.x,
|
|
435
|
+
translateY: motion.y,
|
|
436
|
+
rotate: motion.rotate ?? 0,
|
|
437
|
+
rotateX: motion.rotateX ?? 0,
|
|
438
|
+
rotateY: motion.rotateY ?? 0,
|
|
439
|
+
transformOrigin: motion.transformOrigin,
|
|
440
|
+
scaleX: resolvedScaleX,
|
|
441
|
+
scaleY: resolvedScaleY
|
|
281
442
|
};
|
|
282
443
|
}
|
|
283
|
-
const offsetX = computeOptions.offset?.x ?? computeOptions.gestures?.x ?? 0;
|
|
284
|
-
const offsetY = computeOptions.offset?.y ?? computeOptions.gestures?.y ?? 0;
|
|
285
444
|
return {
|
|
286
445
|
transform: [{
|
|
287
446
|
translateX: offsetX
|
|
288
447
|
}, {
|
|
289
448
|
translateY: offsetY
|
|
449
|
+
}, ...composeMotionTransform(motion, [{
|
|
450
|
+
scaleX: resolvedScaleX
|
|
290
451
|
}, {
|
|
291
|
-
|
|
292
|
-
},
|
|
293
|
-
|
|
294
|
-
}, {
|
|
295
|
-
scaleX
|
|
296
|
-
}, {
|
|
297
|
-
scaleY
|
|
298
|
-
}],
|
|
299
|
-
...VISIBLE_STYLE
|
|
452
|
+
scaleY: resolvedScaleY
|
|
453
|
+
}])],
|
|
454
|
+
transformOrigin: motion.transformOrigin
|
|
300
455
|
};
|
|
301
456
|
}
|
|
302
457
|
export function composeContentStyle(params) {
|
|
@@ -319,23 +474,35 @@ export function composeContentStyle(params) {
|
|
|
319
474
|
const translateX = entering ? interpolate(progress, ranges, [tx, 0], Extrapolation.CLAMP) : interpolate(progress, ranges, [0, tx], Extrapolation.CLAMP);
|
|
320
475
|
const translateY = entering ? interpolate(progress, ranges, [ty, 0], Extrapolation.CLAMP) : interpolate(progress, ranges, [0, ty], Extrapolation.CLAMP);
|
|
321
476
|
const scale = entering ? interpolate(progress, ranges, [s, 1], Extrapolation.CLAMP) : interpolate(progress, ranges, [1, s], Extrapolation.CLAMP);
|
|
477
|
+
const motion = resolveMotionTransform({
|
|
478
|
+
computeOptions: params.computeOptions,
|
|
479
|
+
interpolationProps: params.interpolationProps,
|
|
480
|
+
progress,
|
|
481
|
+
ranges,
|
|
482
|
+
start: params.start,
|
|
483
|
+
end: params.end,
|
|
484
|
+
current: {
|
|
485
|
+
x: translateX,
|
|
486
|
+
y: translateY,
|
|
487
|
+
scale
|
|
488
|
+
}
|
|
489
|
+
});
|
|
322
490
|
if (raw) {
|
|
323
491
|
return {
|
|
324
|
-
translateX,
|
|
325
|
-
translateY,
|
|
326
|
-
|
|
327
|
-
|
|
492
|
+
translateX: motion.x,
|
|
493
|
+
translateY: motion.y,
|
|
494
|
+
rotate: motion.rotate ?? 0,
|
|
495
|
+
rotateX: motion.rotateX ?? 0,
|
|
496
|
+
rotateY: motion.rotateY ?? 0,
|
|
497
|
+
transformOrigin: motion.transformOrigin,
|
|
498
|
+
scale: motion.scale
|
|
328
499
|
};
|
|
329
500
|
}
|
|
330
501
|
return {
|
|
331
|
-
transform: [{
|
|
332
|
-
|
|
333
|
-
},
|
|
334
|
-
|
|
335
|
-
}, {
|
|
336
|
-
scale
|
|
337
|
-
}],
|
|
338
|
-
...VISIBLE_STYLE
|
|
502
|
+
transform: composeMotionTransform(motion, [{
|
|
503
|
+
scale: motion.scale
|
|
504
|
+
}]),
|
|
505
|
+
transformOrigin: motion.transformOrigin
|
|
339
506
|
};
|
|
340
507
|
}
|
|
341
508
|
//# sourceMappingURL=composers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Extrapolation","interpolate","VISIBLE_STYLE","getAnchorPoint","bounds","anchor","pageX","pageY","width","height","x","y","getAnchorOffset","composeSizeAbsolute","params","start","end","progress","ranges","computeOptions","startAnchor","endAnchor","CLAMP","anchorX","anchorY","anchorOffset","translateX","translateY","raw","transform","composeSizeRelative","geometry","baseX","entering","baseY","composeTransformAbsolute","scaleX","scaleY","composeTransformRelative","dx","dy","offsetX","offset","gestures","offsetY","composeContentStyle","s","tx","ty","scale"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/helpers/styles/composers.ts"],"mappings":";;AAAA,SACCA,aAAa,EACbC,WAAW,QAGL,yBAAyB;AAChC,SAASC,aAAa,QAAQ,uBAAuB;;AAOrD;AACA;AACA;AACA;AACA;AACA;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;;AAUA,MAAMC,cAAc,GAAGA,CACtBC,MAA0B,EAC1BC,MAAoB,GAAG,QAAQ,KACD;EAC9B,SAAS;;EAET,MAAM;IAAEC,KAAK;IAAEC,KAAK;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGL,MAAM;EAE9C,QAAQC,MAAM;IACb,KAAK,YAAY;MAChB,OAAO;QAAEK,CAAC,EAAEJ,KAAK;QAAEK,CAAC,EAAEJ;MAAM,CAAC;IAC9B,KAAK,KAAK;MACT,OAAO;QAAEG,CAAC,EAAEJ,KAAK,GAAGE,KAAK,GAAG,CAAC;QAAEG,CAAC,EAAEJ;MAAM,CAAC;IAC1C,KAAK,aAAa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AC;MAAEH;IAAW,CAAC,EAAE;MAAEC;IAAW,CAAC,EAAE;MAAEsB;IAAM,CAAC,CAAC;IACtD,GAAG/C;EACJ,CAAC;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["Extrapolation","interpolate","EPSILON","getAnchorPoint","bounds","anchor","pageX","pageY","width","height","x","y","getAnchorOffset","clampUnit","value","Math","min","max","normalizeRangeProgress","progress","ranges","distance","abs","getUniformScale","scaleX","scaleY","sqrt","getScaleRatio","resolvedScale","currentScale","safeCurrentScale","resolveMotionTransform","computeOptions","interpolationProps","start","end","current","motion","props","composeMotionTransform","scaleTransforms","transform","rotate","rotateX","rotateY","perspective","undefined","push","translateX","translateY","entry","composeSizeAbsolute","params","startAnchor","endAnchor","CLAMP","anchorX","anchorY","anchorOffset","scale","resolvedWidth","resolvedHeight","raw","transformOrigin","composeSizeRelative","geometry","baseX","entering","baseY","composeTransformAbsolute","scaleRatio","resolvedScaleX","resolvedScaleY","composeTransformRelative","dx","dy","offsetX","offset","gestures","offsetY","composeContentStyle","s","tx","ty"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/helpers/styles/composers.ts"],"mappings":";;AACA,SACCA,aAAa,EACbC,WAAW,QAGL,yBAAyB;AAChC,SAASC,OAAO,QAAQ,uBAAuB;;AAY/C;AACA;AACA;AACA;AACA;AACA;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;;AAWA,MAAMC,cAAc,GAAGA,CACtBC,MAA0B,EAC1BC,MAAoB,GAAG,QAAQ,KACD;EAC9B,SAAS;;EAET,MAAM;IAAEC,KAAK;IAAEC,KAAK;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGL,MAAM;EAE9C,QAAQC,MAAM;IACb,KAAK,YAAY;MAChB,OAAO;QAAEK,CAAC,EAAEJ,KAAK;QAAEK,CAAC,EAAEJ;MAAM,CAAC;IAC9B,KAAK,KAAK;MACT,OAAO;QAAEG,CAAC,EAAEJ,KAAK,GAAGE,KAAK,GAAG,CA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