react-native-screen-transitions 3.4.0 → 3.5.0
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/README.md +5 -2
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +21 -32
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +2 -2
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +5 -5
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js +27 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js +7 -2
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +110 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +40 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +79 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/{use-pre-transition-measurement.js → use-refresh-boundary.js} +26 -27
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/create-transition-aware-component.js +4 -13
- package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/variations/float-overlay.js +1 -0
- package/lib/commonjs/shared/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js +7 -10
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +3 -3
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +4 -5
- package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +4 -3
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js +3 -3
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +28 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/history/navigator-route-registry.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/{use-screen-events.js → history/use-screen-history.js} +17 -11
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/history/use-screen-history.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +140 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/{use-open-transition.js → use-open-transition-intent.js} +14 -24
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +53 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/index.js +17 -14
- package/lib/commonjs/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/commonjs/shared/constants.js +6 -17
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/register-bounds.provider.js +6 -9
- package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +26 -44
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js +19 -35
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +64 -38
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -2
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/types.js +4 -0
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +19 -5
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -0
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js +29 -0
- package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js +36 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js +49 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles.js +137 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +75 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +49 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +31 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/styles.provider.js +33 -107
- package/lib/commonjs/shared/providers/screen/styles/styles.provider.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +13 -7
- package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/keys.js +10 -0
- package/lib/commonjs/shared/stores/bounds/helpers/keys.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/index.js +26 -25
- package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/clear.js +13 -51
- package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/groups.js +27 -0
- package/lib/commonjs/shared/stores/bounds/internals/groups.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/internals/registry.js +210 -185
- package/lib/commonjs/shared/stores/bounds/internals/registry.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +2 -6
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js +2 -3
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/stores/system.store.js +44 -11
- package/lib/commonjs/shared/stores/system.store.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js +4 -0
- package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js +6 -6
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +9 -3
- 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 +5 -8
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +2 -8
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/index.js +7 -5
- package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/zoom/build.js +44 -144
- package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -1
- package/lib/commonjs/shared/utils/create-store.js +13 -4
- package/lib/commonjs/shared/utils/create-store.js.map +1 -1
- package/lib/commonjs/shared/utils/platform.js +1 -0
- package/lib/commonjs/shared/utils/platform.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +21 -32
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +2 -2
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +2 -2
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js +21 -0
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +7 -2
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +105 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +35 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +74 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/{use-pre-transition-measurement.js → use-refresh-boundary.js} +24 -25
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -0
- package/lib/module/shared/components/create-transition-aware-component.js +4 -13
- package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/shared/components/overlay/variations/float-overlay.js +1 -0
- package/lib/module/shared/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js +8 -11
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +3 -3
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +4 -5
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +4 -3
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/surface-container.js +3 -3
- package/lib/module/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +24 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/history/navigator-route-registry.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/{use-screen-events.js → history/use-screen-history.js} +16 -10
- package/lib/module/shared/components/screen-lifecycle/hooks/history/use-screen-history.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +134 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/{use-open-transition.js → use-open-transition-intent.js} +13 -24
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +48 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/index.js +18 -15
- package/lib/module/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/module/shared/constants.js +5 -16
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/register-bounds.provider.js +6 -9
- package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js +22 -43
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js +19 -35
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +65 -39
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -2
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/types.js +2 -0
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js +19 -5
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -0
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js +25 -0
- package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/constants.js +31 -0
- package/lib/module/shared/providers/screen/styles/constants.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js +45 -0
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles.js +132 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +70 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +44 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +26 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/styles.provider.js +34 -108
- package/lib/module/shared/providers/screen/styles/styles.provider.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +13 -7
- package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/keys.js +8 -0
- package/lib/module/shared/stores/bounds/helpers/keys.js.map +1 -1
- package/lib/module/shared/stores/bounds/index.js +27 -26
- package/lib/module/shared/stores/bounds/index.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/clear.js +14 -52
- package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/groups.js +23 -0
- package/lib/module/shared/stores/bounds/internals/groups.js.map +1 -0
- package/lib/module/shared/stores/bounds/internals/registry.js +204 -178
- package/lib/module/shared/stores/bounds/internals/registry.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +2 -6
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/state.js +1 -2
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/stores/system.store.js +43 -10
- package/lib/module/shared/stores/system.store.js.map +1 -1
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js +4 -0
- package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +6 -6
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +9 -3
- 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 +5 -8
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js +3 -9
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/module/shared/utils/bounds/index.js +7 -5
- package/lib/module/shared/utils/bounds/index.js.map +1 -1
- package/lib/module/shared/utils/bounds/zoom/build.js +46 -146
- package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -1
- package/lib/module/shared/utils/create-store.js +13 -4
- package/lib/module/shared/utils/create-store.js.map +1 -1
- package/lib/module/shared/utils/platform.js +1 -0
- package/lib/module/shared/utils/platform.js.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts +4 -4
- package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +8 -8
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts +5 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts +13 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts +10 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/{use-boundary-measure-and-store.d.ts → use-measurer.d.ts} +6 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts +14 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/index.d.ts +2 -2
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +6 -3
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/hooks/use-content-layout.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +2 -2
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts +2 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/history/navigator-route-registry.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/history/use-screen-history.d.ts +7 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/history/use-screen-history.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts +11 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition-intent.d.ts +8 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition-intent.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts +11 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/index.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts +1 -14
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +4 -4
- package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +7 -8
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts +0 -8
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts +3 -3
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts +4 -6
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/types.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/animation/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts +23 -0
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles.d.ts +17 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +9 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.d.ts +9 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts +2 -2
- package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts.map +1 -1
- package/lib/typescript/shared/stores/animation.store.d.ts +1 -7
- package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/apply-measured-bounds-writes.d.ts +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/apply-measured-bounds-writes.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/keys.d.ts +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/keys.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/index.d.ts +28 -27
- package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts +4 -0
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/internals/registry.d.ts +12 -11
- package/lib/typescript/shared/stores/bounds/internals/registry.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 +1 -2
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +21 -19
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/gesture.store.d.ts +1 -7
- package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/system.store.d.ts +33 -8
- package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +5 -25
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +7 -5
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +20 -0
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts +6 -2
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +3 -2
- 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 +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/create-store.d.ts +13 -8
- package/lib/typescript/shared/utils/create-store.d.ts.map +1 -1
- package/lib/typescript/shared/utils/platform.d.ts +0 -3
- package/lib/typescript/shared/utils/platform.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/components/create-boundary-component/create-boundary-component.tsx +21 -39
- package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +3 -6
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +12 -12
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement.ts +43 -0
- package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +3 -8
- package/src/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.ts +149 -0
- package/src/shared/components/create-boundary-component/hooks/use-capture-source-boundary.ts +42 -0
- package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +144 -0
- package/src/shared/components/create-boundary-component/hooks/{use-pre-transition-measurement.ts → use-refresh-boundary.ts} +35 -30
- package/src/shared/components/create-boundary-component/types.ts +7 -3
- package/src/shared/components/create-transition-aware-component.tsx +4 -13
- package/src/shared/components/overlay/variations/float-overlay.tsx +1 -1
- package/src/shared/components/screen-container/hooks/use-content-layout.ts +14 -11
- package/src/shared/components/screen-container/layers/backdrop.tsx +3 -3
- package/src/shared/components/screen-container/layers/content.tsx +4 -7
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +4 -5
- package/src/shared/components/screen-container/layers/surface-container.tsx +3 -3
- package/src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts +29 -0
- package/src/shared/components/screen-lifecycle/hooks/{use-screen-events.ts → history/use-screen-history.ts} +25 -9
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +160 -0
- package/src/shared/components/screen-lifecycle/hooks/{use-open-transition.ts → use-open-transition-intent.ts} +19 -23
- package/src/shared/components/screen-lifecycle/hooks/use-transition-start-controller.ts +71 -0
- package/src/shared/components/screen-lifecycle/index.tsx +17 -17
- package/src/shared/constants.ts +3 -11
- package/src/shared/providers/register-bounds.provider.tsx +7 -12
- package/src/shared/providers/screen/animation/animation.provider.tsx +30 -68
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state.ts +20 -33
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +96 -69
- package/src/shared/providers/screen/animation/helpers/resolve-screen-animation-target.ts +5 -7
- package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +14 -2
- package/src/shared/providers/screen/animation/types.ts +9 -0
- package/src/shared/providers/screen/animation/use-screen-animation.tsx +25 -7
- package/src/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +2 -0
- package/src/shared/providers/screen/styles/components/maybe-floating-container.tsx +29 -0
- package/src/shared/providers/screen/styles/constants.ts +34 -0
- package/src/shared/providers/screen/styles/helpers/normalize-slots.ts +61 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles.ts +190 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +85 -0
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +51 -0
- package/src/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.tsx +40 -0
- package/src/shared/providers/screen/styles/styles.provider.tsx +42 -146
- package/src/shared/stores/bounds/helpers/apply-measured-bounds-writes.ts +15 -13
- package/src/shared/stores/bounds/helpers/keys.ts +8 -0
- package/src/shared/stores/bounds/index.ts +37 -44
- package/src/shared/stores/bounds/internals/clear.ts +22 -86
- package/src/shared/stores/bounds/internals/groups.ts +20 -0
- package/src/shared/stores/bounds/internals/registry.ts +280 -234
- package/src/shared/stores/bounds/internals/resolver.ts +1 -5
- package/src/shared/stores/bounds/internals/state.ts +2 -3
- package/src/shared/stores/bounds/types.ts +23 -21
- package/src/shared/stores/system.store.ts +77 -9
- package/src/shared/types/animation.types.ts +5 -25
- package/src/shared/types/bounds.types.ts +7 -8
- package/src/shared/types/screen.types.ts +21 -0
- package/src/shared/utils/bounds/helpers/create-bound-tag.ts +6 -2
- package/src/shared/utils/bounds/helpers/create-interpolators.ts +10 -7
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +12 -5
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +4 -7
- package/src/shared/utils/bounds/helpers/styles/compute.ts +2 -10
- package/src/shared/utils/bounds/index.ts +7 -6
- package/src/shared/utils/bounds/zoom/build.ts +53 -162
- package/src/shared/utils/bounds/zoom/types.ts +1 -1
- package/src/shared/utils/create-store.ts +39 -13
- package/src/shared/utils/platform.ts +2 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +0 -44
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +0 -84
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +0 -149
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/navigator-route-registry.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js +0 -29
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js +0 -47
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/index.js +0 -158
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js +0 -36
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-screen-events.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/build-resolved-style-map.js +0 -144
- package/lib/commonjs/shared/providers/screen/styles/helpers/build-resolved-style-map.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js +0 -28
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/split-normalized-style-maps.js +0 -39
- package/lib/commonjs/shared/providers/screen/styles/helpers/split-normalized-style-maps.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/internals/presence.js +0 -125
- package/lib/commonjs/shared/stores/bounds/internals/presence.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +0 -39
- package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +0 -78
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +0 -145
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/navigator-route-registry.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js +0 -24
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js +0 -42
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js +0 -153
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js +0 -30
- package/lib/module/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-screen-events.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/build-resolved-style-map.js +0 -139
- package/lib/module/shared/providers/screen/styles/helpers/build-resolved-style-map.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js +0 -23
- package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/split-normalized-style-maps.js +0 -34
- package/lib/module/shared/providers/screen/styles/helpers/split-normalized-style-maps.js.map +0 -1
- package/lib/module/shared/stores/bounds/internals/presence.js +0 -115
- package/lib/module/shared/stores/bounds/internals/presence.js.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts +0 -10
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts +0 -27
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.d.ts +0 -12
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/navigator-route-registry.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.d.ts +0 -2
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.d.ts +0 -2
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts +0 -8
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.d.ts +0 -13
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts +0 -12
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-screen-events.d.ts +0 -7
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-screen-events.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/build-resolved-style-map.d.ts +0 -11
- package/lib/typescript/shared/providers/screen/styles/helpers/build-resolved-style-map.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.d.ts +0 -7
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/split-normalized-style-maps.d.ts +0 -6
- package/lib/typescript/shared/providers/screen/styles/helpers/split-normalized-style-maps.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/internals/presence.d.ts +0 -12
- package/lib/typescript/shared/stores/bounds/internals/presence.d.ts.map +0 -1
- package/src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts +0 -56
- package/src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts +0 -154
- package/src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts +0 -223
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.ts +0 -29
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.ts +0 -58
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/index.ts +0 -183
- package/src/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.ts +0 -34
- package/src/shared/providers/screen/styles/helpers/build-resolved-style-map.ts +0 -185
- package/src/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.ts +0 -31
- package/src/shared/providers/screen/styles/helpers/split-normalized-style-maps.ts +0 -44
- package/src/shared/stores/bounds/internals/presence.ts +0 -145
- /package/lib/commonjs/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.js +0 -0
- /package/lib/module/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.js +0 -0
- /package/lib/typescript/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.d.ts +0 -0
- /package/src/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.ts +0 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useCloseTransitionIntent = useCloseTransitionIntent;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNativeReanimated = require("react-native-reanimated");
|
|
9
|
+
var _useStableCallback = _interopRequireDefault(require("../../../hooks/use-stable-callback"));
|
|
10
|
+
var _descriptors = require("../../../providers/screen/descriptors");
|
|
11
|
+
var _core = require("../../../providers/stack/core.provider");
|
|
12
|
+
var _managed = require("../../../providers/stack/managed.provider");
|
|
13
|
+
var _gesture = require("../../../stores/gesture.store");
|
|
14
|
+
var _system = require("../../../stores/system.store");
|
|
15
|
+
var _stack = require("../../../types/stack.types");
|
|
16
|
+
var _resetStoresForScreen = require("./helpers/reset-stores-for-screen");
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
/** biome-ignore-all lint/correctness/useHookAtTopLevel: STACK_TYPE is stable per navigator */
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Managed close - reacts to closingRouteKeysShared from ManagedStackContext.
|
|
22
|
+
* Used by blank-stack and component-stack.
|
|
23
|
+
*/
|
|
24
|
+
const useManagedClose = ({
|
|
25
|
+
current,
|
|
26
|
+
requestLifecycleTransition,
|
|
27
|
+
resetStores
|
|
28
|
+
}) => {
|
|
29
|
+
const {
|
|
30
|
+
handleCloseRoute,
|
|
31
|
+
closingRouteKeysShared
|
|
32
|
+
} = (0, _managed.useManagedStackContext)();
|
|
33
|
+
const routeKey = current.route.key;
|
|
34
|
+
const handleManagedCloseEnd = (0, _useStableCallback.default)(finished => {
|
|
35
|
+
if (!finished) return;
|
|
36
|
+
handleCloseRoute({
|
|
37
|
+
route: current.route
|
|
38
|
+
});
|
|
39
|
+
requestAnimationFrame(() => {
|
|
40
|
+
resetStores();
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
(0, _reactNativeReanimated.useAnimatedReaction)(() => {
|
|
44
|
+
const keys = closingRouteKeysShared.value;
|
|
45
|
+
return keys?.includes(routeKey) ?? false;
|
|
46
|
+
}, (isClosing, wasClosing) => {
|
|
47
|
+
if (!isClosing || wasClosing) return;
|
|
48
|
+
requestLifecycleTransition(_system.LifecycleTransitionRequestKind.ManagedClose, 0);
|
|
49
|
+
});
|
|
50
|
+
return {
|
|
51
|
+
handleManagedCloseEnd
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Native stack close - listens to beforeRemove navigation event.
|
|
57
|
+
*/
|
|
58
|
+
const useNativeStackClose = ({
|
|
59
|
+
current,
|
|
60
|
+
animations,
|
|
61
|
+
requestLifecycleTransition,
|
|
62
|
+
resetStores
|
|
63
|
+
}) => {
|
|
64
|
+
const {
|
|
65
|
+
parentScreenKey
|
|
66
|
+
} = (0, _descriptors.useDescriptorDerivations)();
|
|
67
|
+
const pendingActionRef = (0, _react.useRef)(null);
|
|
68
|
+
const nearestAncestorDismissing = (0, _react.useMemo)(() => {
|
|
69
|
+
if (!parentScreenKey) return null;
|
|
70
|
+
return _gesture.GestureStore.peekBag(parentScreenKey)?.dismissing ?? null;
|
|
71
|
+
}, [parentScreenKey]);
|
|
72
|
+
const handleNativeCloseEnd = (0, _useStableCallback.default)(finished => {
|
|
73
|
+
if (!finished || !pendingActionRef.current) {
|
|
74
|
+
pendingActionRef.current = null;
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
current.navigation.dispatch(pendingActionRef.current);
|
|
78
|
+
pendingActionRef.current = null;
|
|
79
|
+
requestAnimationFrame(() => {
|
|
80
|
+
resetStores();
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
const handleBeforeRemove = (0, _useStableCallback.default)(e => {
|
|
84
|
+
const options = current.options;
|
|
85
|
+
const isEnabled = options.enableTransitions;
|
|
86
|
+
const navigation = current.navigation;
|
|
87
|
+
const routeKey = current.route.key;
|
|
88
|
+
const state = navigation.getState();
|
|
89
|
+
const routeIndex = state.routes.findIndex(route => route.key === routeKey);
|
|
90
|
+
const isFirstScreen = routeIndex <= 0;
|
|
91
|
+
if (!isEnabled || nearestAncestorDismissing?.get() || isFirstScreen) {
|
|
92
|
+
animations.closing.set(1);
|
|
93
|
+
resetStores();
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
e.preventDefault();
|
|
97
|
+
pendingActionRef.current = e.data.action;
|
|
98
|
+
requestLifecycleTransition(_system.LifecycleTransitionRequestKind.NativeClose, 0);
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: navigation listener should only rebind when the navigator instance changes
|
|
102
|
+
(0, _react.useLayoutEffect)(() => {
|
|
103
|
+
return current.navigation.addListener?.("beforeRemove", handleBeforeRemove);
|
|
104
|
+
}, [current.navigation]);
|
|
105
|
+
return {
|
|
106
|
+
handleNativeCloseEnd
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Handles close transition intent and returns finish callbacks for cleanup.
|
|
112
|
+
*/
|
|
113
|
+
function useCloseTransitionIntent(current, animations, system) {
|
|
114
|
+
const routeKey = current.route.key;
|
|
115
|
+
const {
|
|
116
|
+
flags
|
|
117
|
+
} = (0, _core.useStackCoreContext)();
|
|
118
|
+
const {
|
|
119
|
+
isBranchScreen,
|
|
120
|
+
branchNavigatorKey
|
|
121
|
+
} = (0, _descriptors.useDescriptorDerivations)();
|
|
122
|
+
const isNativeStack = flags.STACK_TYPE === _stack.StackType.NATIVE;
|
|
123
|
+
const {
|
|
124
|
+
requestLifecycleTransition
|
|
125
|
+
} = system.actions;
|
|
126
|
+
const resetStores = (0, _useStableCallback.default)(() => {
|
|
127
|
+
(0, _resetStoresForScreen.resetStoresForScreen)(routeKey, isBranchScreen, branchNavigatorKey);
|
|
128
|
+
});
|
|
129
|
+
const closeParams = {
|
|
130
|
+
current,
|
|
131
|
+
animations,
|
|
132
|
+
requestLifecycleTransition,
|
|
133
|
+
resetStores
|
|
134
|
+
};
|
|
135
|
+
if (isNativeStack) {
|
|
136
|
+
return useNativeStackClose(closeParams);
|
|
137
|
+
}
|
|
138
|
+
return useManagedClose(closeParams);
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=use-close-transition-intent.js.map
|
package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNativeReanimated","_useStableCallback","_interopRequireDefault","_descriptors","_core","_managed","_gesture","_system","_stack","_resetStoresForScreen","e","__esModule","default","useManagedClose","current","requestLifecycleTransition","resetStores","handleCloseRoute","closingRouteKeysShared","useManagedStackContext","routeKey","route","key","handleManagedCloseEnd","useStableCallback","finished","requestAnimationFrame","useAnimatedReaction","keys","value","includes","isClosing","wasClosing","LifecycleTransitionRequestKind","ManagedClose","useNativeStackClose","animations","parentScreenKey","useDescriptorDerivations","pendingActionRef","useRef","nearestAncestorDismissing","useMemo","GestureStore","peekBag","dismissing","handleNativeCloseEnd","navigation","dispatch","handleBeforeRemove","options","isEnabled","enableTransitions","state","getState","routeIndex","routes","findIndex","isFirstScreen","get","closing","set","preventDefault","data","action","NativeClose","useLayoutEffect","addListener","useCloseTransitionIntent","system","flags","useStackCoreContext","isBranchScreen","branchNavigatorKey","isNativeStack","STACK_TYPE","StackType","NATIVE","actions","resetStoresForScreen","closeParams"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAIA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AAEA,IAAAO,QAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AAKA,IAAAS,MAAA,GAAAT,OAAA;AACA,IAAAU,qBAAA,GAAAV,OAAA;AAAyE,SAAAG,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAlBzE;;AA2BA;AACA;AACA;AACA;AACA,MAAMG,eAAe,GAAGA,CAAC;EACxBC,OAAO;EACPC,0BAA0B;EAC1BC;AACgB,CAAC,KAAK;EACtB,MAAM;IAAEC,gBAAgB;IAAEC;EAAuB,CAAC,GAAG,IAAAC,+BAAsB,EAAC,CAAC;EAC7E,MAAMC,QAAQ,GAAGN,OAAO,CAACO,KAAK,CAACC,GAAG;EAElC,MAAMC,qBAAqB,GAAG,IAAAC,0BAAiB,EAAEC,QAAiB,IAAK;IACtE,IAAI,CAACA,QAAQ,EAAE;IACfR,gBAAgB,CAAC;MAAEI,KAAK,EAAEP,OAAO,CAACO;IAAM,CAAC,CAAC;IAC1CK,qBAAqB,CAAC,MAAM;MAC3BV,WAAW,CAAC,CAAC;IACd,CAAC,CAAC;EACH,CAAC,CAAC;EAEF,IAAAW,0CAAmB,EAClB,MA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mB,EAAC,CAAC;EACvC,MAAM;IAAEC,cAAc;IAAEC;EAAmB,CAAC,GAAG,IAAAnC,qCAAwB,EAAC,CAAC;EACzE,MAAMoC,aAAa,GAAGJ,KAAK,CAACK,UAAU,KAAKC,gBAAS,CAACC,MAAM;EAC3D,MAAM;IAAE9D;EAA2B,CAAC,GAAGsD,MAAM,CAACS,OAAO;EAErD,MAAM9D,WAAW,GAAG,IAAAQ,0BAAiB,EAAC,MAAM;IAC3C,IAAAuD,0CAAoB,EAAC3D,QAAQ,EAAEoD,cAAc,EAAEC,kBAAkB,CAAC;EACnE,CAAC,CAAC;EAEF,MAAMO,WAA4B,GAAG;IACpClE,OAAO;IACPsB,UAAU;IACVrB,0BAA0B;IAC1BC;EACD,CAAC;EAED,IAAI0D,aAAa,EAAE;IAClB,OAAOvC,mBAAmB,CAAC6C,WAAW,CAAC;EACxC;EAEA,OAAOnE,eAAe,CAACmE,WAAW,CAAC;AACpC","ignoreList":[]}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.useOpenTransitionIntent = useOpenTransitionIntent;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var
|
|
9
|
-
var
|
|
8
|
+
var _descriptors = require("../../../providers/screen/descriptors");
|
|
9
|
+
var _system = require("../../../stores/system.store");
|
|
10
10
|
/**
|
|
11
11
|
* Calculates the initial progress value based on snap points configuration.
|
|
12
12
|
* Returns `'auto'` if the initial snap point is the `'auto'` keyword
|
|
@@ -24,14 +24,15 @@ function getInitialProgress({
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Handles opening
|
|
28
|
-
* Returns activate/deactivate functions for high refresh rate.
|
|
27
|
+
* Handles opening transition intent on mount.
|
|
29
28
|
*/
|
|
30
|
-
function
|
|
29
|
+
function useOpenTransitionIntent(current, animations, system) {
|
|
31
30
|
const {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
isFirstKey
|
|
32
|
+
} = (0, _descriptors.useDescriptorDerivations)();
|
|
33
|
+
const {
|
|
34
|
+
requestLifecycleTransition
|
|
35
|
+
} = system.actions;
|
|
35
36
|
|
|
36
37
|
// biome-ignore lint/correctness/useExhaustiveDependencies: Must only run once on mount
|
|
37
38
|
(0, _react.useLayoutEffect)(() => {
|
|
@@ -46,11 +47,11 @@ function useOpenTransition(current, animations, targetProgressValue, isFirstKey)
|
|
|
46
47
|
});
|
|
47
48
|
if (isFirstKey && !experimental_animateOnInitialMount) {
|
|
48
49
|
if (initialProgress === "auto") {
|
|
49
|
-
|
|
50
|
+
system.targetProgress.set(0);
|
|
50
51
|
animations.progress.set(0);
|
|
51
52
|
} else {
|
|
52
53
|
const target = initialProgress ?? 1;
|
|
53
|
-
|
|
54
|
+
system.targetProgress.set(target);
|
|
54
55
|
animations.progress.set(target);
|
|
55
56
|
}
|
|
56
57
|
animations.animating.set(0);
|
|
@@ -64,18 +65,7 @@ function useOpenTransition(current, animations, targetProgressValue, isFirstKey)
|
|
|
64
65
|
if (initialProgress === "auto") {
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
67
|
-
|
|
68
|
-
(0, _animateToProgress.animateToProgress)({
|
|
69
|
-
target: initialProgress ?? "open",
|
|
70
|
-
spec: current.options.transitionSpec,
|
|
71
|
-
animations,
|
|
72
|
-
targetProgress: targetProgressValue,
|
|
73
|
-
onAnimationFinish: deactivateHighRefreshRate
|
|
74
|
-
});
|
|
68
|
+
requestLifecycleTransition(_system.LifecycleTransitionRequestKind.Open, initialProgress ?? 1);
|
|
75
69
|
}, []);
|
|
76
|
-
return {
|
|
77
|
-
activateHighRefreshRate,
|
|
78
|
-
deactivateHighRefreshRate
|
|
79
|
-
};
|
|
80
70
|
}
|
|
81
|
-
//# sourceMappingURL=use-open-transition.js.map
|
|
71
|
+
//# sourceMappingURL=use-open-transition-intent.js.map
|
package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_descriptors","_system","getInitialProgress","snapPoints","initialSnapIndex","undefined","clampedIndex","Math","min","max","length","useOpenTransitionIntent","current","animations","system","isFirstKey","useDescriptorDerivations","requestLifecycleTransition","actions","useLayoutEffect","experimental_animateOnInitialMount","options","initialProgress","targetProgress","set","progress","target","animating","closing","entering","LifecycleTransitionRequestKind","Open"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-lifecycle/hooks/use-open-transition-intent.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAKA,IAAAE,OAAA,GAAAF,OAAA;AAMA;AACA;AACA;AACA;AACA;AACA,SAASG,kBAAkBA,CAAC;EAC3BC,UAAU;EACVC;AAID,CAAC,EAA+B;EAC/B,IAAI,CAACD,UAAU,EAAE;IAChB,OAAOE,SAAS;EACjB;EAEA,MAAMC,YAAY,GAAGC,IAAI,CAACC,GAAG,CAC5BD,IAAI,CAACE,GAAG,CAAC,CAAC,EAAEL,gBAAgB,CAAC,EAC7BD,UAAU,CAACO,MAAM,GAAG,CACrB,CAAC;EACD,OAAOP,UAAU,CAACG,YAAY,CAAC;AAChC;;AAEA;AACA;AACA;AACO,SAASK,uBAAuBA,CACtCC,OAAuB,EACvBC,UAA6B,EAC7BC,MAAsB,EACrB;EACD,MAAM;IAAEC;EAAW,CAAC,GAAG,IAAAC,qCAAwB,EAAC,CAAC;EACjD,MAAM;IAAEC;EAA2B,CAAC,GAAGH,MAAM,CAACI,OAAO;;EAErD;EACA,IAAAC,sBAAe,EAAC,MAAM;IACrB,MAAM;MACLhB,UAAU;MACVC,gBAAgB,GAAG,CAAC;MACpBgB;IACD,CAAC,GAAGR,OAAO,CAACS,OAAO;IAEnB,MAAMC,eAAe,GAAGpB,kBAAkB,CAAC;MAC1CC,UAAU;MACVC;IACD,CAAC,CAAC;IAEF,IAAIW,UAAU,IAAI,CAACK,kCAAkC,EAAE;MACtD,IAAIE,eAAe,KAAK,MAAM,EAAE;QAC/BR,MAAM,CAACS,cAAc,CAACC,GAAG,CAAC,CAAC,CAAC;QAC5BX,UAAU,CAACY,QAAQ,CAACD,GAAG,CAAC,CAAC,CAAC;MAC3B,CAAC,MAAM;QACN,MAAME,MAAM,GAAGJ,eAAe,IAAI,CAAC;QACnCR,MAAM,CAACS,cAAc,CAACC,GAAG,CAACE,MAAM,CAAC;QACjCb,UAAU,CAACY,QAAQ,CAACD,GAAG,CAACE,MAAM,CAAC;MAChC;MACAb,UAAU,CAACc,SAAS,CAACH,GAAG,CAAC,CAAC,CAAC;MAC3BX,UAAU,CAACe,OAAO,CAACJ,GAAG,CAAC,CAAC,CAAC;MACzBX,UAAU,CAACgB,QAAQ,CAACL,GAAG,CAAC,CAAC,CAAC;MAC1B;IACD;;IAEA;IACA;IACA,IAAIF,eAAe,KAAK,MAAM,EAAE;MAC/B;IACD;IAEAL,0BAA0B,CACzBa,sCAA8B,CAACC,IAAI,EACnCT,eAAe,IAAI,CACpB,CAAC;EACF,CAAC,EAAE,EAAE,CAAC;AACP","ignoreList":[]}
|
package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useTransitionStartController = void 0;
|
|
7
|
+
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
|
+
var _system = require("../../../stores/system.store");
|
|
9
|
+
var _animateToProgress = require("../../../utils/animation/animate-to-progress");
|
|
10
|
+
const useTransitionStartController = ({
|
|
11
|
+
current,
|
|
12
|
+
animations,
|
|
13
|
+
system,
|
|
14
|
+
onManagedCloseFinish,
|
|
15
|
+
onNativeCloseFinish
|
|
16
|
+
}) => {
|
|
17
|
+
const {
|
|
18
|
+
targetProgress,
|
|
19
|
+
pendingLifecycleRequestKind,
|
|
20
|
+
pendingLifecycleRequestTarget,
|
|
21
|
+
pendingLifecycleStartBlockCount
|
|
22
|
+
} = system;
|
|
23
|
+
const {
|
|
24
|
+
clearLifecycleTransitionRequest
|
|
25
|
+
} = system.actions;
|
|
26
|
+
const transitionSpec = current.options.transitionSpec;
|
|
27
|
+
(0, _reactNativeReanimated.useAnimatedReaction)(() => {
|
|
28
|
+
"worklet";
|
|
29
|
+
|
|
30
|
+
return [pendingLifecycleRequestKind.get(), pendingLifecycleRequestTarget.get(), pendingLifecycleStartBlockCount.get()];
|
|
31
|
+
}, next => {
|
|
32
|
+
"worklet";
|
|
33
|
+
|
|
34
|
+
const [kind, target, blockCount] = next;
|
|
35
|
+
if (kind === _system.LifecycleTransitionRequestKind.None) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (blockCount > 0) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const onAnimationFinish = kind === _system.LifecycleTransitionRequestKind.ManagedClose ? onManagedCloseFinish : kind === _system.LifecycleTransitionRequestKind.NativeClose ? onNativeCloseFinish : undefined;
|
|
42
|
+
(0, _animateToProgress.animateToProgress)({
|
|
43
|
+
target,
|
|
44
|
+
spec: transitionSpec,
|
|
45
|
+
animations,
|
|
46
|
+
targetProgress,
|
|
47
|
+
onAnimationFinish
|
|
48
|
+
});
|
|
49
|
+
clearLifecycleTransitionRequest();
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.useTransitionStartController = useTransitionStartController;
|
|
53
|
+
//# sourceMappingURL=use-transition-start-controller.js.map
|
package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNativeReanimated","require","_system","_animateToProgress","useTransitionStartController","current","animations","system","onManagedCloseFinish","onNativeCloseFinish","targetProgress","pendingLifecycleRequestKind","pendingLifecycleRequestTarget","pendingLifecycleStartBlockCount","clearLifecycleTransitionRequest","actions","transitionSpec","options","useAnimatedReaction","get","next","kind","target","blockCount","LifecycleTransitionRequestKind","None","onAnimationFinish","ManagedClose","NativeClose","undefined","animateToProgress","spec","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-lifecycle/hooks/use-transition-start-controller.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAGA,IAAAC,OAAA,GAAAD,OAAA;AAIA,IAAAE,kBAAA,GAAAF,OAAA;AAEO,MAAMG,4BAA4B,GAAGA,CAAC;EAC5CC,OAAO;EACPC,UAAU;EACVC,MAAM;EACNC,oBAAoB;EACpBC;AAOD,CAAC,KAAK;EACL,MAAM;IACLC,cAAc;IACdC,2BAA2B;IAC3BC,6BAA6B;IAC7BC;EACD,CAAC,GAAGN,MAAM;EACV,MAAM;IAAEO;EAAgC,CAAC,GAAGP,MAAM,CAACQ,OAAO;EAC1D,MAAMC,cAAc,GAAGX,OAAO,CAACY,OAAO,CAACD,cAAc;EAErD,IAAAE,0CAAmB,EAClB,MAAM;IACL,SAAS;;IACT,OAAO,CACNP,2BAA2B,CAACQ,GAAG,CAAC,CAAC,EACjCP,6BAA6B,CAACO,GAAG,CAAC,CAAC,EACnCN,+BAA+B,CAACM,GAAG,CAAC,CAAC,CACrC;EACF,CAAC,EACAC,IAAI,IAAK;IACT,SAAS;;IACT,MAAM,CAACC,IAAI,EAAEC,MAAM,EAAEC,UAAU,CAAC,GAAGH,IAAI;IAEvC,IAAIC,IAAI,KAAKG,sCAA8B,CAACC,IAAI,EAAE;MACjD;IACD;IAEA,IAAIF,UAAU,GAAG,CAAC,EAAE;MACnB;IACD;IAEA,MAAMG,iBAAiB,GACtBL,IAAI,KAAKG,sCAA8B,CAACG,YAAY,GACjDnB,oBAAoB,GACpBa,IAAI,KAAKG,sCAA8B,CAACI,WAAW,GAClDnB,mBAAmB,GACnBoB,SAAS;IAEd,IAAAC,oCAAiB,EAAC;MACjBR,MAAM;MACNS,IAAI,EAAEf,cAAc;MACpBV,UAAU;MACVI,cAAc;MACdgB;IACD,CAAC,CAAC;IAEFZ,+BAA+B,CAAC,CAAC;EAClC,CACD,CAAC;AACF,CAAC;AAACkB,OAAA,CAAA5B,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
|
@@ -7,9 +7,10 @@ exports.ScreenLifecycle = void 0;
|
|
|
7
7
|
var _descriptors = require("../../providers/screen/descriptors");
|
|
8
8
|
var _animation = require("../../stores/animation.store");
|
|
9
9
|
var _system = require("../../stores/system.store");
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
10
|
+
var _useScreenHistory = require("./hooks/history/use-screen-history");
|
|
11
|
+
var _useCloseTransitionIntent = require("./hooks/use-close-transition-intent");
|
|
12
|
+
var _useOpenTransitionIntent = require("./hooks/use-open-transition-intent");
|
|
13
|
+
var _useTransitionStartController = require("./hooks/use-transition-start-controller");
|
|
13
14
|
/**
|
|
14
15
|
* Unified lifecycle controller for all stack types.
|
|
15
16
|
* Reads current/previous descriptors from DescriptorsProvider context.
|
|
@@ -21,19 +22,21 @@ const ScreenLifecycle = ({
|
|
|
21
22
|
current,
|
|
22
23
|
previous
|
|
23
24
|
} = (0, _descriptors.useDescriptors)();
|
|
24
|
-
const {
|
|
25
|
-
isFirstKey
|
|
26
|
-
} = (0, _descriptors.useDescriptorDerivations)();
|
|
27
25
|
const animations = _animation.AnimationStore.getBag(current.route.key);
|
|
26
|
+
const system = _system.SystemStore.getBag(current.route.key);
|
|
28
27
|
const {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
handleManagedCloseEnd,
|
|
29
|
+
handleNativeCloseEnd
|
|
30
|
+
} = (0, _useCloseTransitionIntent.useCloseTransitionIntent)(current, animations, system);
|
|
31
|
+
(0, _useOpenTransitionIntent.useOpenTransitionIntent)(current, animations, system);
|
|
32
|
+
(0, _useTransitionStartController.useTransitionStartController)({
|
|
33
|
+
current,
|
|
34
|
+
animations,
|
|
35
|
+
system,
|
|
36
|
+
onManagedCloseFinish: handleManagedCloseEnd,
|
|
37
|
+
onNativeCloseFinish: handleNativeCloseEnd
|
|
38
|
+
});
|
|
39
|
+
(0, _useScreenHistory.useScreenHistory)(current, previous, animations);
|
|
37
40
|
return children;
|
|
38
41
|
};
|
|
39
42
|
exports.ScreenLifecycle = ScreenLifecycle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_descriptors","require","_animation","_system","
|
|
1
|
+
{"version":3,"names":["_descriptors","require","_animation","_system","_useScreenHistory","_useCloseTransitionIntent","_useOpenTransitionIntent","_useTransitionStartController","ScreenLifecycle","children","current","previous","useDescriptors","animations","AnimationStore","getBag","route","key","system","SystemStore","handleManagedCloseEnd","handleNativeCloseEnd","useCloseTransitionIntent","useOpenTransitionIntent","useTransitionStartController","onManagedCloseFinish","onNativeCloseFinish","useScreenHistory","exports"],"sourceRoot":"../../../../../src","sources":["shared/components/screen-lifecycle/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,yBAAA,GAAAJ,OAAA;AACA,IAAAK,wBAAA,GAAAL,OAAA;AACA,IAAAM,6BAAA,GAAAN,OAAA;AAMA;AACA;AACA;AACA;AACO,MAAMO,eAAe,GAAGA,CAAC;EAAEC;AAAgB,CAAC,KAAK;EACvD,MAAM;IAAEC,OAAO;IAAEC;EAAS,CAAC,GAAG,IAAAC,2BAAc,EAAC,CAAC;EAE9C,MAAMC,UAAU,GAAGC,yBAAc,CAACC,MAAM,CAACL,OAAO,CAACM,KAAK,CAACC,GAAG,CAAC;EAC3D,MAAMC,MAAM,GAAGC,mBAAW,CAACJ,MAAM,CAACL,OAAO,CAACM,KAAK,CAACC,GAAG,CAAC;EAEpD,MAAM;IAAEG,qBAAqB;IAAEC;EAAqB,CAAC,GACpD,IAAAC,kDAAwB,EAACZ,OAAO,EAAEG,UAAU,EAAEK,MAAM,CAAC;EAEtD,IAAAK,gDAAuB,EAACb,OAAO,EAAEG,UAAU,EAAEK,MAAM,CAAC;EAEpD,IAAAM,0DAA4B,EAAC;IAC5Bd,OAAO;IACPG,UAAU;IACVK,MAAM;IACNO,oBAAoB,EAAEL,qBAAqB;IAC3CM,mBAAmB,EAAEL;EACtB,CAAC,CAAC;EAEF,IAAAM,kCAAgB,EAACjB,OAAO,EAAEC,QAAQ,EAAEE,UAAU,CAAC;EAE/C,OAAOJ,QAAQ;AAChB,CAAC;AAACmB,OAAA,CAAApB,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.createScreenTransitionState = exports.VISIBLE_STYLE = exports.TRUE = exports.TRANSFORM_RESET = exports.NO_STYLES = exports.NO_PROPS = exports.NAVIGATION_MASK_ELEMENT_STYLE_ID = exports.NAVIGATION_MASK_CONTAINER_STYLE_ID = exports.MASK_STYLE_ID = exports.IS_WEB = exports.
|
|
6
|
+
exports.createScreenTransitionState = exports.VISIBLE_STYLE = exports.TRUE = exports.TRANSFORM_RESET = exports.NO_STYLES = exports.NO_PROPS = exports.NAVIGATION_MASK_ELEMENT_STYLE_ID = exports.NAVIGATION_MASK_CONTAINER_STYLE_ID = exports.MASK_STYLE_ID = exports.IS_WEB = exports.FULLSCREEN_DIMENSIONS = exports.FALSE = exports.EXIT_RANGE = exports.EPSILON = exports.ENTER_RANGE = exports.DEFAULT_SCREEN_TRANSITION_STATE = exports.DEFAULT_GESTURE_VELOCITY_IMPACT = exports.DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT = exports.DEFAULT_GESTURE_SNAP_LOCKED = exports.DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE = exports.DEFAULT_GESTURE_RELEASE_VELOCITY_MAX = exports.DEFAULT_GESTURE_DRIVES_PROGRESS = exports.DEFAULT_GESTURE_DIRECTION = exports.DEFAULT_GESTURE_ACTIVATION_AREA = exports.CONTAINER_STYLE_ID = exports.ANIMATION_SNAP_THRESHOLD = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
/**
|
|
9
9
|
* Masked view integration
|
|
@@ -22,9 +22,6 @@ const NAVIGATION_MASK_CONTAINER_STYLE_ID = exports.NAVIGATION_MASK_CONTAINER_STY
|
|
|
22
22
|
* Styles
|
|
23
23
|
*/
|
|
24
24
|
const NO_STYLES = exports.NO_STYLES = Object.freeze({});
|
|
25
|
-
const HIDDEN_STYLE = exports.HIDDEN_STYLE = Object.freeze({
|
|
26
|
-
opacity: 0
|
|
27
|
-
});
|
|
28
25
|
const VISIBLE_STYLE = exports.VISIBLE_STYLE = Object.freeze({
|
|
29
26
|
opacity: 1
|
|
30
27
|
});
|
|
@@ -51,7 +48,7 @@ const DEFAULT_GESTURE_VALUES = {
|
|
|
51
48
|
/**
|
|
52
49
|
* Creates a new screen transition state object
|
|
53
50
|
*/
|
|
54
|
-
const createScreenTransitionState = (route, meta) => ({
|
|
51
|
+
const createScreenTransitionState = (route, meta, navigationMaskEnabled = false) => ({
|
|
55
52
|
progress: 0,
|
|
56
53
|
closing: 0,
|
|
57
54
|
animating: 0,
|
|
@@ -68,7 +65,8 @@ const createScreenTransitionState = (route, meta) => ({
|
|
|
68
65
|
screen: {
|
|
69
66
|
width: 0,
|
|
70
67
|
height: 0
|
|
71
|
-
}
|
|
68
|
+
},
|
|
69
|
+
navigationMaskEnabled
|
|
72
70
|
},
|
|
73
71
|
snapIndex: -1
|
|
74
72
|
});
|
|
@@ -91,7 +89,8 @@ const DEFAULT_SCREEN_TRANSITION_STATE = exports.DEFAULT_SCREEN_TRANSITION_STATE
|
|
|
91
89
|
screen: {
|
|
92
90
|
width: 0,
|
|
93
91
|
height: 0
|
|
94
|
-
}
|
|
92
|
+
},
|
|
93
|
+
navigationMaskEnabled: false
|
|
95
94
|
},
|
|
96
95
|
snapIndex: -1
|
|
97
96
|
});
|
|
@@ -99,16 +98,6 @@ const DEFAULT_SCREEN_TRANSITION_STATE = exports.DEFAULT_SCREEN_TRANSITION_STATE
|
|
|
99
98
|
/**
|
|
100
99
|
* Bounds API Defaults
|
|
101
100
|
*/
|
|
102
|
-
const EMPTY_BOUND_HELPER_RESULT = exports.EMPTY_BOUND_HELPER_RESULT = Object.freeze({});
|
|
103
|
-
const EMPTY_BOUND_HELPER_RESULT_RAW = exports.EMPTY_BOUND_HELPER_RESULT_RAW = Object.freeze({
|
|
104
|
-
scaleX: 1,
|
|
105
|
-
scaleY: 1,
|
|
106
|
-
scale: 1,
|
|
107
|
-
translateX: 0,
|
|
108
|
-
translateY: 0,
|
|
109
|
-
width: 0,
|
|
110
|
-
height: 0
|
|
111
|
-
});
|
|
112
101
|
const TRANSFORM_RESET = exports.TRANSFORM_RESET = Object.freeze({
|
|
113
102
|
transform: [{
|
|
114
103
|
translateX: 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","MASK_STYLE_ID","exports","CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","NAVIGATION_MASK_CONTAINER_STYLE_ID","NO_STYLES","Object","freeze","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","MASK_STYLE_ID","exports","CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","NAVIGATION_MASK_CONTAINER_STYLE_ID","NO_STYLES","Object","freeze","VISIBLE_STYLE","opacity","NO_PROPS","DEFAULT_GESTURE_VALUES","x","y","normX","normY","dismissing","dragging","direction","normalizedX","normalizedY","isDismissing","isDragging","createScreenTransitionState","route","meta","navigationMaskEnabled","progress","closing","animating","willAnimate","settled","logicallySettled","entering","gesture","layouts","screen","width","height","snapIndex","DEFAULT_SCREEN_TRANSITION_STATE","TRANSFORM_RESET","transform","translateX","translateY","scale","scaleX","scaleY","ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","dimensions","pageX","pageY","DEFAULT_GESTURE_VELOCITY_IMPACT","DEFAULT_GESTURE_SNAP_VELOCITY_IMPACT","DEFAULT_GESTURE_RELEASE_VELOCITY_MAX","DEFAULT_GESTURE_RELEASE_VELOCITY_SCALE","DEFAULT_GESTURE_DIRECTION","DEFAULT_GESTURE_DRIVES_PROGRESS","DEFAULT_GESTURE_SNAP_LOCKED","DEFAULT_GESTURE_ACTIVATION_AREA","IS_WEB","Platform","OS","TRUE","FALSE","EPSILON","ANIMATION_SNAP_THRESHOLD"],"sourceRoot":"../../../src","sources":["shared/constants.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAOA;AACA;AACA;AACA;AACO,MAAMC,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,cAAc;AACpC,MAAME,kBAAkB,GAAAD,OAAA,CAAAC,kBAAA,GAAG,iBAAiB;;AAEnD;AACA;AACA;AACO,MAAMC,gCAAgC,GAAAF,OAAA,CAAAE,gCAAA,GAC5C,kCAAkC;AAC5B,MAAMC,kCAAkC,GAAAH,OAAA,CAAAG,kCAAA,GAC9C,oCAAoC;;AAErC;AACA;AACA;AACO,MAAMC,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,CAAC;AACnC,MAAMC,aAAa,GAAAP,OAAA,CAAAO,aAAA,GAAGF,MAAM,CAACC,MAAM,CAAC;EAAEE,OAAO,EAAE;AAAE,CAAC,CAAC;AACnD,MAAMC,QAAQ,GAAAT,OAAA,CAAAS,QAAA,GAAGJ,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,CAAC;;AAEzC;AACA;AACA;AACA,MAAMI,sBAAsB,GAAG;EAC9BC,CAAC,EAAE,CAAC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,GAAG,IAAI;AAC5C,MAAMC,2BAA2B,GAAA3D,OAAA,CAAA2D,2BAAA,GAAG,KAAK;AACzC,MAAMC,+BAA+C,GAAA5D,OAAA,CAAA4D,+BAAA,GAAG,QAAQ;AAEhE,MAAMC,MAAM,GAAA7D,OAAA,CAAA6D,MAAA,GAAGC,qBAAQ,CAACC,EAAE,KAAK,KAAK;AAEpC,MAAMC,IAAI,GAAAhE,OAAA,CAAAgE,IAAA,GAAG,CAAC;AACd,MAAMC,KAAK,GAAAjE,OAAA,CAAAiE,KAAA,GAAG,CAAC;;AAEtB;AACA;AACA;AACO,MAAMC,OAAO,GAAAlE,OAAA,CAAAkE,OAAA,GAAG,IAAI;;AAE3B;AACA;AACA;AACA;AACO,MAAMC,wBAAwB,GAAAnE,OAAA,CAAAmE,wBAAA,GAAG,IAAI","ignoreList":[]}
|
|
@@ -14,7 +14,6 @@ var _bounds = require("../stores/bounds");
|
|
|
14
14
|
var _applyMeasuredBoundsWrites = require("../stores/bounds/helpers/apply-measured-bounds-writes");
|
|
15
15
|
var _styles = require("../utils/bounds/helpers/styles/styles");
|
|
16
16
|
var _createProvider = _interopRequireDefault(require("../utils/create-provider"));
|
|
17
|
-
var _layoutAnchor = require("./layout-anchor.provider");
|
|
18
17
|
var _descriptors = require("./screen/descriptors");
|
|
19
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
19
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -174,7 +173,6 @@ const registerBoundsBundle = (0, _createProvider.default)("RegisterBounds", {
|
|
|
174
173
|
} = (0, _descriptors.useDescriptorDerivations)();
|
|
175
174
|
const currentScreenKey = current.route.key;
|
|
176
175
|
const selectedNextRouteId = getRouteParamId(next?.route);
|
|
177
|
-
const layoutAnchor = (0, _layoutAnchor.useLayoutAnchorContext)();
|
|
178
176
|
|
|
179
177
|
// Context & signals
|
|
180
178
|
const parentContext = useRegisterBoundsContext();
|
|
@@ -201,7 +199,7 @@ const registerBoundsBundle = (0, _createProvider.default)("RegisterBounds", {
|
|
|
201
199
|
return;
|
|
202
200
|
}
|
|
203
201
|
if (shouldSetSource && isAnimating.get()) {
|
|
204
|
-
const existing = _bounds.BoundStore.
|
|
202
|
+
const existing = _bounds.BoundStore.entry.getMeasured(sharedBoundTag, currentScreenKey);
|
|
205
203
|
if (existing) {
|
|
206
204
|
(0, _applyMeasuredBoundsWrites.applyMeasuredBoundsWrites)({
|
|
207
205
|
sharedBoundTag,
|
|
@@ -217,9 +215,9 @@ const registerBoundsBundle = (0, _createProvider.default)("RegisterBounds", {
|
|
|
217
215
|
if (onPress) (0, _reactNativeReanimated.runOnJS)(onPress)();
|
|
218
216
|
return;
|
|
219
217
|
}
|
|
220
|
-
const hasPendingLink = _bounds.BoundStore.
|
|
221
|
-
const hasSourceLink = _bounds.BoundStore.
|
|
222
|
-
const hasDestinationLink = _bounds.BoundStore.
|
|
218
|
+
const hasPendingLink = _bounds.BoundStore.link.getPending(sharedBoundTag) !== null;
|
|
219
|
+
const hasSourceLink = _bounds.BoundStore.link.hasSource(sharedBoundTag, currentScreenKey);
|
|
220
|
+
const hasDestinationLink = _bounds.BoundStore.link.hasDestination(sharedBoundTag, currentScreenKey);
|
|
223
221
|
const wantsSetSource = !!shouldSetSource;
|
|
224
222
|
const wantsSetDestination = !!shouldSetDestination;
|
|
225
223
|
const wantsUpdateSource = !!shouldUpdateSource;
|
|
@@ -237,17 +235,16 @@ const registerBoundsBundle = (0, _createProvider.default)("RegisterBounds", {
|
|
|
237
235
|
if (onPress) (0, _reactNativeReanimated.runOnJS)(onPress)();
|
|
238
236
|
return;
|
|
239
237
|
}
|
|
240
|
-
const correctedMeasured = layoutAnchor ? layoutAnchor.correctMeasurement(measured) : measured;
|
|
241
238
|
emitUpdate();
|
|
242
239
|
(0, _applyMeasuredBoundsWrites.applyMeasuredBoundsWrites)({
|
|
243
240
|
sharedBoundTag,
|
|
244
241
|
currentScreenKey,
|
|
245
|
-
measured
|
|
242
|
+
measured,
|
|
246
243
|
preparedStyles,
|
|
247
244
|
ancestorKeys,
|
|
248
245
|
navigatorKey,
|
|
249
246
|
ancestorNavigatorKeys,
|
|
250
|
-
|
|
247
|
+
shouldWriteEntry: true,
|
|
251
248
|
shouldSetSource: canSetSource,
|
|
252
249
|
shouldUpdateSource: canUpdateSource,
|
|
253
250
|
shouldSetDestination: canSetDestination
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_native","require","_react","_reactNativeReanimated","_useStableCallback","_interopRequireDefault","_useStableCallbackValue","_animation","_bounds","_applyMeasuredBoundsWrites","_styles","_createProvider","_layoutAnchor","_descriptors","_jsxRuntime","e","__esModule","default","getRouteParamId","route","params","rawId","id","matchesSelectionTag","tag","selectedId","endsWith","useInitialLayoutHandler","sharedBoundTag","currentScreenKey","ancestorKeys","maybeMeasureAndStore","isAnimating","AnimationStore","getValue","ancestorAnimations","map","key","hasMeasuredOnLayout","useSharedValue","useCallback","get","isAnyAnimating","i","length","shouldSetSource","shouldSetDestination","set","useBlurMeasurement","current","useDescriptors","enabled","selectedRouteId","hasCapturedSource","useRef","ancestorClosing","maybeMeasureOnBlur","useStableCallbackValue","closing","useFocusEffect","runOnUI","markSourceCaptured","useParentSyncReaction","parentContext","useAnimatedReaction","updateSignal","value","undefined","CloseRemeasureReactionEffect","remeasureOnFocus","nextClosing","prevClosing","shouldUpdateSource","useRegisterBoundsContext","registerBoundsBundle","createProvider","guarded","style","onPress","animatedRef","children","next","navigatorKey","ancestorNavigatorKeys","useDescriptorDerivations","selectedNextRouteId","layoutAnchor","useLayoutAnchorContext","ownSignal","preparedStyles","useMemo","prepareStyleForBounds","emitUpdate","isRoot","runOnJS","existing","BoundStore","getSnapshot","applyMeasuredBoundsWrites","measured","bounds","hasPendingLink","hasSourceLink","hasDestinationLink","wantsSetSource","wantsSetDestination","wantsUpdateSource","wantsSnapshotOnly","canSetSource","canSetDestination","canUpdateSource","canSnapshotOnly","measure","correctedMeasured","correctMeasurement","shouldRegisterSnapshot","handleInitialLayout","nextScreenKey","captureActiveOnPress","useStableCallback","jsxs","Fragment","jsx","RegisterBoundsProvider","exports"],"sourceRoot":"../../../../src","sources":["shared/providers/register-bounds.provider.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,sBAAA,GAAAF,OAAA;AAUA,IAAAG,kBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,0BAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAN,sBAAA,CAAAJ,OAAA;AACA,IAAAW,aAAA,GAAAX,OAAA;AACA,IAAAY,YAAA,GAAAZ,OAAA;AAAgF,IAAAa,WAAA,GAAAb,OAAA;AAAA,SAAAI,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA2BhF,MAAMG,eAAe,GACpBC,KAAsC,IACnB;EACnB,MAAMC,MAAM,GAAGD,KAAK,EAAEC,MAA6C;EACnE,MAAMC,KAAK,GAAGD,MAAM,EAAEE,EAAE;EACxB,OAAO,OAAOD,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAG,IAAI;AAChD,CAAC;AAED,MAAME,mBAAmB,GAAGA,CAC3BC,GAAuB,EACvBC,UAAyB,KACZ;EACb,SAAS;;EACT,IAAI,CAACD,GAAG,IAAI,CAACC,UAAU,EAAE,OAAO,KAAK;EACrC,IAAID,GAAG,KAAKC,UAAU,EAAE,OAAO,IAAI;EACnC,IAAID,GAAG,CAACE,QAAQ,CAAC,IAAID,UAAU,EAAE,CAAC,EAAE,OAAO,IAAI;EAC/C,IAAID,GAAG,CAACE,QAAQ,CAA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AAE;MACpBkD,OAAO,GAAG,CAAC;MACX;IACD;IACA,IAAAlB,8BAAO,EAAC7B,oBAAoB,CAAC,CAAC;MAAE+C,OAAO;MAAEjC,eAAe,EAAE;IAAK,CAAC,CAAC;IACjEgB,kBAAkB,CAAC,CAAC;EACrB,CAAC,CAAC;EAEF,OAAO;IACNK,KAAK,EAAE;MAAED;IAAa,CAAC;IACvBe,QAAQ,eACP,IAAAlE,WAAA,CAAA0G,IAAA,EAAA1G,WAAA,CAAA2G,QAAA;MAAAzC,QAAA,GACEpD,cAAc,IAAIyC,gBAAgB,IAAIC,WAAW,gBACjD,IAAAxD,WAAA,CAAA4G,GAAA,EAACtD,4BAA4B;QAC5BxC,cAAc,EAAEA,cAAe;QAC/ByC,gBAAgB,EAAEA,gBAAiB;QACnCC,WAAW,EAAEA,WAAY;QACzBvC,oBAAoB,EAAEA;MAAqB,CAC3C,CAAC,GACC,IAAI,EACPiD,QAAQ,CAAC;QAAEoC,mBAAmB;QAAEE;MAAqB,CAAC,CAAC;IAAA,CACvD;EAEJ,CAAC;AACF,CACD,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMK,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,GAAGjD,oBAAoB,CAACiD,sBAAsB;AAC1ElD,wBAAwB,GAAGC,oBAAoB,CAACD,wBAAwB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_native","require","_react","_reactNativeReanimated","_useStableCallback","_interopRequireDefault","_useStableCallbackValue","_animation","_bounds","_applyMeasuredBoundsWrites","_styles","_createProvider","_descriptors","_jsxRuntime","e","__esModule","default","getRouteParamId","route","params","rawId","id","matchesSelectionTag","tag","selectedId","endsWith","useInitialLayoutHandler","sharedBoundTag","currentScreenKey","ancestorKeys","maybeMeasureAndStore","isAnimating","AnimationStore","getValue","ancestorAnimations","map","key","hasMeasuredOnLayout","useSharedValue","useCallback","get","isAnyAnimating","i","length","shouldSetSource","shouldSetDestination","set","useBlurMeasurement","current","useDescriptors","enabled","selectedRouteId","hasCapturedSource","useRef","ancestorClosing","maybeMeasureOnBlur","useStableCallbackValue","closing","useFocusEffect","runOnUI","markSourceCaptured","useParentSyncReaction","parentContext","useAnimatedReaction","updateSignal","value","undefined","CloseRemeasureReactionEffect","remeasureOnFocus","nextClosing","prevClosing","shouldUpdateSource","useRegisterBoundsContext","registerBoundsBundle","createProvider","guarded","style","onPress","animatedRef","children","next","navigatorKey","ancestorNavigatorKeys","useDescriptorDerivations","selectedNextRouteId","ownSignal","preparedStyles","useMemo","prepareStyleForBounds","emitUpdate","isRoot","runOnJS","existing","BoundStore","entry","getMeasured","applyMeasuredBoundsWrites","measured","bounds","hasPendingLink","link","getPending","hasSourceLink","hasSource","hasDestinationLink","hasDestination","wantsSetSource","wantsSetDestination","wantsUpdateSource","wantsSnapshotOnly","canSetSource","canSetDestination","canUpdateSource","canSnapshotOnly","measure","shouldWriteEntry","handleInitialLayout","nextScreenKey","captureActiveOnPress","useStableCallback","jsxs","Fragment","jsx","RegisterBoundsProvider","exports"],"sourceRoot":"../../../../src","sources":["shared/providers/register-bounds.provider.tsx"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,sBAAA,GAAAF,OAAA;AAUA,IAAAG,kBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,0BAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAN,sBAAA,CAAAJ,OAAA;AACA,IAAAW,YAAA,GAAAX,OAAA;AAAgF,IAAAY,WAAA,GAAAZ,OAAA;AAAA,SAAAI,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OA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