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
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useLayoutEffect } from "react";
|
|
4
|
-
import { runOnJS, useAnimatedReaction, useDerivedValue } from "react-native-reanimated";
|
|
5
|
-
import { useStack } from "../../../../hooks/navigation/use-stack";
|
|
6
|
-
import { useSharedValueState } from "../../../../hooks/reanimated/use-shared-value-state";
|
|
7
|
-
import useStableCallback from "../../../../hooks/use-stable-callback";
|
|
8
|
-
import { useGestureContext } from "../../../../providers/gestures";
|
|
9
|
-
import { useDescriptorDerivations } from "../../../../providers/screen/descriptors";
|
|
10
|
-
import { useStackCoreContext } from "../../../../providers/stack/core.provider";
|
|
11
|
-
import { useManagedStackContext } from "../../../../providers/stack/managed.provider";
|
|
12
|
-
import { StackType } from "../../../../types/stack.types";
|
|
13
|
-
import { animateToProgress } from "../../../../utils/animation/animate-to-progress";
|
|
14
|
-
import { resetStoresForScreen } from "./helpers/reset-stores-for-screen";
|
|
15
|
-
import { useNavigatorHistoryRegistry } from "./helpers/use-navigator-history-registry";
|
|
16
|
-
/**
|
|
17
|
-
* Managed close - reacts to closingRouteKeysShared from ManagedStackContext.
|
|
18
|
-
* Used by blank-stack and component-stack.
|
|
19
|
-
*/
|
|
20
|
-
const useManagedClose = ({
|
|
21
|
-
current,
|
|
22
|
-
animations,
|
|
23
|
-
targetProgress,
|
|
24
|
-
activate,
|
|
25
|
-
deactivate,
|
|
26
|
-
resetStores
|
|
27
|
-
}) => {
|
|
28
|
-
const {
|
|
29
|
-
handleCloseRoute,
|
|
30
|
-
closingRouteKeysShared
|
|
31
|
-
} = useManagedStackContext();
|
|
32
|
-
const routeKey = current.route.key;
|
|
33
|
-
const handleCloseEnd = useStableCallback(finished => {
|
|
34
|
-
if (!finished) return;
|
|
35
|
-
handleCloseRoute({
|
|
36
|
-
route: current.route
|
|
37
|
-
});
|
|
38
|
-
requestAnimationFrame(() => {
|
|
39
|
-
deactivate();
|
|
40
|
-
resetStores();
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
const transitionSpec = current.options.transitionSpec;
|
|
44
|
-
useAnimatedReaction(() => {
|
|
45
|
-
const keys = closingRouteKeysShared.value;
|
|
46
|
-
return keys?.includes(routeKey) ?? false;
|
|
47
|
-
}, (isClosing, wasClosing) => {
|
|
48
|
-
if (!isClosing || wasClosing) return;
|
|
49
|
-
runOnJS(activate)();
|
|
50
|
-
animateToProgress({
|
|
51
|
-
target: "close",
|
|
52
|
-
spec: transitionSpec,
|
|
53
|
-
animations,
|
|
54
|
-
targetProgress,
|
|
55
|
-
onAnimationFinish: handleCloseEnd
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Native stack close - listens to beforeRemove navigation event.
|
|
62
|
-
*/
|
|
63
|
-
const useNativeStackClose = ({
|
|
64
|
-
current,
|
|
65
|
-
animations,
|
|
66
|
-
targetProgress,
|
|
67
|
-
activate,
|
|
68
|
-
deactivate,
|
|
69
|
-
resetStores
|
|
70
|
-
}) => {
|
|
71
|
-
const gestureCtx = useGestureContext();
|
|
72
|
-
const isAncestorDismissingViaGesture = useSharedValueState(useDerivedValue(() => {
|
|
73
|
-
"worklet";
|
|
74
|
-
|
|
75
|
-
return gestureCtx?.ancestorContext?.gestureAnimationValues.dismissing?.value ?? false;
|
|
76
|
-
}));
|
|
77
|
-
const handleBeforeRemove = useStableCallback(e => {
|
|
78
|
-
const options = current.options;
|
|
79
|
-
const isEnabled = options.enableTransitions;
|
|
80
|
-
const navigation = current.navigation;
|
|
81
|
-
const routeKey = current.route.key;
|
|
82
|
-
const state = navigation.getState();
|
|
83
|
-
const routeIndex = state.routes.findIndex(route => route.key === routeKey);
|
|
84
|
-
const isFirstScreen = routeIndex <= 0;
|
|
85
|
-
|
|
86
|
-
// If transitions are disabled, ancestor is dismissing, or first screen - let native handle it
|
|
87
|
-
if (!isEnabled || isAncestorDismissingViaGesture || isFirstScreen) {
|
|
88
|
-
animations.closing.set(1);
|
|
89
|
-
resetStores();
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
e.preventDefault();
|
|
93
|
-
activate();
|
|
94
|
-
animateToProgress({
|
|
95
|
-
target: "close",
|
|
96
|
-
spec: current.options.transitionSpec,
|
|
97
|
-
animations,
|
|
98
|
-
targetProgress,
|
|
99
|
-
onAnimationFinish: finished => {
|
|
100
|
-
deactivate();
|
|
101
|
-
if (finished) {
|
|
102
|
-
navigation.dispatch(e.data.action);
|
|
103
|
-
requestAnimationFrame(() => {
|
|
104
|
-
resetStores();
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
// biome-ignore lint/correctness/useExhaustiveDependencies: Only re-subscribe when navigation changes
|
|
112
|
-
useLayoutEffect(() => {
|
|
113
|
-
return current.navigation.addListener?.("beforeRemove", handleBeforeRemove);
|
|
114
|
-
}, [current.navigation]);
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Unified close handler that branches on stack type.
|
|
119
|
-
*/
|
|
120
|
-
export function useCloseTransition(current, animations, targetProgress, activate, deactivate) {
|
|
121
|
-
const routeKey = current.route.key;
|
|
122
|
-
const {
|
|
123
|
-
navigatorKey
|
|
124
|
-
} = useStack();
|
|
125
|
-
const {
|
|
126
|
-
flags
|
|
127
|
-
} = useStackCoreContext();
|
|
128
|
-
const {
|
|
129
|
-
isBranchScreen,
|
|
130
|
-
branchNavigatorKey
|
|
131
|
-
} = useDescriptorDerivations();
|
|
132
|
-
const isNativeStack = flags.STACK_TYPE === StackType.NATIVE;
|
|
133
|
-
const resetStores = useStableCallback(() => {
|
|
134
|
-
resetStoresForScreen(routeKey, isBranchScreen, branchNavigatorKey);
|
|
135
|
-
});
|
|
136
|
-
const closeParams = {
|
|
137
|
-
current,
|
|
138
|
-
animations,
|
|
139
|
-
targetProgress,
|
|
140
|
-
activate,
|
|
141
|
-
deactivate,
|
|
142
|
-
resetStores
|
|
143
|
-
};
|
|
144
|
-
useNavigatorHistoryRegistry(navigatorKey, routeKey);
|
|
145
|
-
if (isNativeStack) {
|
|
146
|
-
// biome-ignore lint/correctness/useHookAtTopLevel: STACK_TYPE is stable per screen instance
|
|
147
|
-
useNativeStackClose(closeParams);
|
|
148
|
-
} else {
|
|
149
|
-
// biome-ignore lint/correctness/useHookAtTopLevel: STACK_TYPE is stable per screen instance
|
|
150
|
-
useManagedClose(closeParams);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
//# sourceMappingURL=index.js.map
|
package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useLayoutEffect","runOnJS","useAnimatedReaction","useDerivedValue","useStack","useSharedValueState","useStableCallback","useGestureContext","useDescriptorDerivations","useStackCoreContext","useManagedStackContext","StackType","animateToProgress","resetStoresForScreen","useNavigatorHistoryRegistry","useManagedClose","current","animations","targetProgress","activate","deactivate","resetStores","handleCloseRoute","closingRouteKeysShared","routeKey","route","key","handleCloseEnd","finished","requestAnimationFrame","transitionSpec","options","keys","value","includes","isClosing","wasClosing","target","spec","onAnimationFinish","useNativeStackClose","gestureCtx","isAncestorDismissingViaGesture","ancestorContext","gestureAnimationValues","dismissing","handleBeforeRemove","e","isEnabled","enableTransitions","navigation","state","getState","routeIndex","routes","findIndex","isFirstScreen","closing","set","preventDefault","dispatch","data","action","addListener","useCloseTransition","navigatorKey","flags","isBranchScreen","branchNavigatorKey","isNativeStack","STACK_TYPE","NATIVE","closeParams"],"sourceRoot":"../../../../../../../src","sources":["shared/components/screen-lifecycle/hooks/use-close-transition/index.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,OAAO;AACvC,SACCC,OAAO,EAEPC,mBAAmB,EACnBC,eAAe,QACT,yBAAyB;AAChC,SAASC,QAAQ,QAAQ,wCAAwC;AACjE,SAASC,mBAAmB,QAAQ,qDAAqD;AACzF,OAAOC,iBAAiB,MAAM,uCAAuC;AACrE,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAECC,wBAAwB,QAClB,0CAA0C;AACjD,SAASC,mBAAmB,QAAQ,2CAA2C;AAC/E,SAASC,sBAAsB,QAAQ,8CAA8C;AAErF,SAASC,SAAS,QAAQ,+BAA+B;AACzD,SAASC,iBAAiB,QAAQ,iDAAiD;AACnF,SAASC,oBAAoB,QAAQ,mCAAmC;AACxE,SAASC,2BAA2B,QAAQ,0CAA0C;AAWtF;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAGA,CAAC;EACxBC,OAAO;EACPC,UAAU;EACVC,cAAc;EACdC,QAAQ;EACRC,UAAU;EACVC;AACgB,CAAC,KAAK;EACtB,MAAM;IAAEC,gBAAgB;IAAEC;EAAuB,CAAC,GAAGb,sBAAsB,CAAC,CAAC;EAC7E,MAAMc,QAAQ,GAAGR,OAAO,CAACS,KAAK,CAACC,GAAG;EAElC,MAAMC,cAAc,GAAGrB,iBAAiB,CAAEsB,QAAiB,IAAK;IAC/D,IAAI,CAACA,QAAQ,EAAE;IACfN,gBAAgB,CAAC;MAAEG,KAAK,EAAET,OAAO,CAACS;IAAM,CAAC,CAAC;IAC1CI,qBAAqB,CAAC,MAAM;M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D,QAAQ,CAAC,CAAC;EACnC,MAAM;IAAE8D;EAAM,CAAC,GAAGzD,mBAAmB,CAAC,CAAC;EACvC,MAAM;IAAE0D,cAAc;IAAEC;EAAmB,CAAC,GAAG5D,wBAAwB,CAAC,CAAC;EACzE,MAAM6D,aAAa,GAAGH,KAAK,CAACI,UAAU,KAAK3D,SAAS,CAAC4D,MAAM;EAE3D,MAAMlD,WAAW,GAAGf,iBAAiB,CAAC,MAAM;IAC3CO,oBAAoB,CAACW,QAAQ,EAAE2C,cAAc,EAAEC,kBAAkB,CAAC;EACnE,CAAC,CAAC;EAEF,MAAMI,WAA4B,GAAG;IACpCxD,OAAO;IACPC,UAAU;IACVC,cAAc;IACdC,QAAQ;IACRC,UAAU;IACVC;EACD,CAAC;EAEDP,2BAA2B,CAACmD,YAAY,EAAEzC,QAAQ,CAAC;EACnD,IAAI6C,aAAa,EAAE;IAClB;IACA7B,mBAAmB,CAACgC,WAAW,CAAC;EACjC,CAAC,MAAM;IACN;IACAzD,eAAe,CAACyD,WAAW,CAAC;EAC7B;AACD","ignoreList":[]}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useFrameCallback } from "react-native-reanimated";
|
|
4
|
-
import useStableCallback from "../../../hooks/use-stable-callback";
|
|
5
|
-
/**
|
|
6
|
-
* Maintainer Notes:
|
|
7
|
-
* Marking as experimental for now since, I'll be honest, I'm not sure if this does much. This was taken
|
|
8
|
-
* right from this https://github.com/software-mansion/react-native-reanimated/issues/4738
|
|
9
|
-
*
|
|
10
|
-
* Not noticing much of a difference in prod.
|
|
11
|
-
*/
|
|
12
|
-
export const useHighRefreshRate = current => {
|
|
13
|
-
const enableHighRefreshRate = current.options.experimental_enableHighRefreshRate ?? false;
|
|
14
|
-
const frameCallback = useFrameCallback(() => {}, false);
|
|
15
|
-
const activateHighRefreshRate = useStableCallback(() => {
|
|
16
|
-
if (enableHighRefreshRate) {
|
|
17
|
-
frameCallback.setActive(true);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const deactivateHighRefreshRate = useStableCallback(() => {
|
|
21
|
-
if (enableHighRefreshRate) {
|
|
22
|
-
frameCallback.setActive(false);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
return {
|
|
26
|
-
activateHighRefreshRate,
|
|
27
|
-
deactivateHighRefreshRate
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=use-high-refresh-rate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useFrameCallback","useStableCallback","useHighRefreshRate","current","enableHighRefreshRate","options","experimental_enableHighRefreshRate","frameCallback","activateHighRefreshRate","setActive","deactivateHighRefreshRate"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-lifecycle/hooks/use-high-refresh-rate.ts"],"mappings":";;AAAA,SAASA,gBAAgB,QAAQ,yBAAyB;AAC1D,OAAOC,iBAAiB,MAAM,oCAAoC;AAGlE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAIC,OAAuB,IAAK;EAC9D,MAAMC,qBAAqB,GAC1BD,OAAO,CAACE,OAAO,CAACC,kCAAkC,IAAI,KAAK;EAE5D,MAAMC,aAAa,GAAGP,gBAAgB,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,CAAC;EAEvD,MAAMQ,uBAAuB,GAAGP,iBAAiB,CAAC,MAAM;IACvD,IAAIG,qBAAqB,EAAE;MAC1BG,aAAa,CAACE,SAAS,CAAC,IAAI,CAAC;IAC9B;EACD,CAAC,CAAC;EAEF,MAAMC,yBAAyB,GAAGT,iBAAiB,CAAC,MAAM;IACzD,IAAIG,qBAAqB,EAAE;MAC1BG,aAAa,CAACE,SAAS,CAAC,KAAK,CAAC;IAC/B;EACD,CAAC,CAAC;EAEF,OAAO;IACND,uBAAuB;IACvBE;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useLayoutEffect","animateToProgress","useHighRefreshRate","getInitialProgress","snapPoints","initialSnapIndex","undefined","clampedIndex","Math","min","max","length","useOpenTransition","current","animations","targetProgressValue","isFirstKey","activateHighRefreshRate","deactivateHighRefreshRate","experimental_animateOnInitialMount","options","initialProgress","set","progress","target","animating","closing","entering","spec","transitionSpec","targetProgress","onAnimationFinish"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-lifecycle/hooks/use-open-transition.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,OAAO;AAKvC,SAASC,iBAAiB,QAAQ,8CAA8C;AAChF,SAASC,kBAAkB,QAAQ,yBAAyB;;AAE5D;AACA;AACA;AACA;AACA;AACA,SAASC,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;AACA;AACA,OAAO,SAASK,iBAAiBA,CAChCC,OAAuB,EACvBC,UAA6B,EAC7BC,mBAAwC,EACxCC,UAAmB,EAClB;EACD,MAAM;IAAEC,uBAAuB;IAAEC;EAA0B,CAAC,GAC3DhB,kBAAkB,CAACW,OAAO,CAAC;;EAE5B;EACAb,eAAe,CAAC,MAAM;IACrB,MAAM;MACLI,UAAU;MACVC,gBAAgB,GAAG,CAAC;MACpBc;IACD,CAAC,GAAGN,OAAO,CAACO,OAAO;IAEnB,MAAMC,eAAe,GAAGlB,kBAAkB,CAAC;MAC1CC,UAAU;MACVC;IACD,CAAC,CAAC;IAEF,IAAIW,UAAU,IAAI,CAACG,kCAAkC,EAAE;MACtD,IAAIE,eAAe,KAAK,MAAM,EAAE;QAC/BN,mBAAmB,CAACO,GAAG,CAAC,CAAC,CAAC;QAC1BR,UAAU,CAACS,QAAQ,CAACD,GAAG,CAAC,CAAC,CAAC;MAC3B,CAAC,MAAM;QACN,MAAME,MAAM,GAAGH,eAAe,IAAI,CAAC;QACnCN,mBAAmB,CAACO,GAAG,CAACE,MAAM,CAAC;QAC/BV,UAAU,CAACS,QAAQ,CAACD,GAAG,CAACE,MAAM,CAAC;MAChC;MACAV,UAAU,CAACW,SAAS,CAACH,GAAG,CAAC,CAAC,CAAC;MAC3BR,UAAU,CAACY,OAAO,CAACJ,GAAG,CAAC,CAAC,CAAC;MACzBR,UAAU,CAACa,QAAQ,CAACL,GAAG,CAAC,CAAC,CAAC;MAC1B;IACD;;IAEA;IACA;IACA,IAAID,eAAe,KAAK,MAAM,EAAE;MAC/B;IACD;IAEAJ,uBAAuB,CAAC,CAAC;IACzBhB,iBAAiB,CAAC;MACjBuB,MAAM,EAAEH,eAAe,IAAI,MAAM;MACjCO,IAAI,EAAEf,OAAO,CAACO,OAAO,CAACS,cAAc;MACpCf,UAAU;MACVgB,cAAc,EAAEf,mBAAmB;MACnCgB,iBAAiB,EAAEb;IACpB,CAAC,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,OAAO;IAAED,uBAAuB;IAAEC;EAA0B,CAAC;AAC9D","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","runOnJS","useAnimatedReaction","useStableCallback","HistoryStore","hasSnapPoints","descriptor","snapPoints","options","Boolean","length","isLeafScreen","navigation","state","getState","index","currentRoute","routes","shouldTrackInHistory","useScreenEvents","current","previous","animations","navigatorKey","key","focus","unsubscribe","addListener","handleBlur","prevNavigatorKey","closing","get","prevClosing"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-lifecycle/hooks/use-screen-events.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAASC,OAAO,EAAEC,mBA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AAK,CAACL,OAAO,EAAEG,YAAY,CAAC;MAC1C;IACD,CAAC,CAAC;IAEF,OAAO,MAAMG,WAAW,GAAG,CAAC;EAC7B,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA,MAAME,UAAU,GAAGzB,iBAAiB,CAAC,MAAM;IAC1C,IAAIkB,QAAQ,IAAIH,oBAAoB,CAACG,QAAQ,CAAC,EAAE;MAC/C,MAAMQ,gBAAgB,GAAGR,QAAQ,CAACT,UAAU,CAACE,QAAQ,CAAC,CAAC,EAAEU,GAAG,IAAI,EAAE;MAClEpB,YAAY,CAACqB,KAAK,CAACJ,QAAQ,EAAEQ,gBAAgB,CAAC;IAC/C;EACD,CAAC,CAAC;EAEF3B,mBAAmB,CAClB,MAAMoB,UAAU,CAACQ,OAAO,CAACC,GAAG,CAAC,CAAC,EAC9B,CAACD,OAAO,EAAEE,WAAW,KAAK;IACzB,IAAIF,OAAO,IAAI,CAACE,WAAW,EAAE;MAC5B/B,OAAO,CAAC2B,UAAU,CAAC,CAAC,CAAC;IACtB;EACD,CACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { NO_STYLES } from "../../../../constants";
|
|
4
|
-
const IDENTITY_TRANSFORM = [{
|
|
5
|
-
translateX: 0
|
|
6
|
-
}, {
|
|
7
|
-
translateY: 0
|
|
8
|
-
}, {
|
|
9
|
-
scaleX: 1
|
|
10
|
-
}, {
|
|
11
|
-
scaleY: 1
|
|
12
|
-
}];
|
|
13
|
-
const ALWAYS_RESET_STYLE_VALUES = {
|
|
14
|
-
zIndex: 0,
|
|
15
|
-
elevation: 0
|
|
16
|
-
};
|
|
17
|
-
const hasAnyKeys = record => {
|
|
18
|
-
"worklet";
|
|
19
|
-
|
|
20
|
-
for (const _key in record) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
return false;
|
|
24
|
-
};
|
|
25
|
-
const collectStyleKeyMeta = record => {
|
|
26
|
-
"worklet";
|
|
27
|
-
|
|
28
|
-
const keys = {};
|
|
29
|
-
let hasAny = false;
|
|
30
|
-
if (!record) {
|
|
31
|
-
return {
|
|
32
|
-
keys,
|
|
33
|
-
hasAny
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
for (const key in record) {
|
|
37
|
-
keys[key] = true;
|
|
38
|
-
hasAny = true;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
keys,
|
|
42
|
-
hasAny
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
const collectRelevantSlotIds = ({
|
|
46
|
-
currentStylesMap,
|
|
47
|
-
fallbackStylesMap,
|
|
48
|
-
previousStyleKeysBySlot
|
|
49
|
-
}) => {
|
|
50
|
-
"worklet";
|
|
51
|
-
|
|
52
|
-
const slotIds = {};
|
|
53
|
-
for (const slotId in currentStylesMap) {
|
|
54
|
-
slotIds[slotId] = true;
|
|
55
|
-
}
|
|
56
|
-
for (const slotId in fallbackStylesMap) {
|
|
57
|
-
slotIds[slotId] = true;
|
|
58
|
-
}
|
|
59
|
-
for (const slotId in previousStyleKeysBySlot) {
|
|
60
|
-
slotIds[slotId] = true;
|
|
61
|
-
}
|
|
62
|
-
return slotIds;
|
|
63
|
-
};
|
|
64
|
-
const buildUnsetPatch = ({
|
|
65
|
-
previousKeys,
|
|
66
|
-
currentKeys
|
|
67
|
-
}) => {
|
|
68
|
-
"worklet";
|
|
69
|
-
|
|
70
|
-
const unsetPatch = {};
|
|
71
|
-
for (const key in previousKeys) {
|
|
72
|
-
if (currentKeys[key]) continue;
|
|
73
|
-
if (key === "transform") {
|
|
74
|
-
unsetPatch.transform = IDENTITY_TRANSFORM;
|
|
75
|
-
continue;
|
|
76
|
-
}
|
|
77
|
-
if (key in ALWAYS_RESET_STYLE_VALUES) {
|
|
78
|
-
unsetPatch[key] = ALWAYS_RESET_STYLE_VALUES[key];
|
|
79
|
-
continue;
|
|
80
|
-
}
|
|
81
|
-
unsetPatch[key] = undefined;
|
|
82
|
-
}
|
|
83
|
-
return unsetPatch;
|
|
84
|
-
};
|
|
85
|
-
export const buildResolvedStyleMap = ({
|
|
86
|
-
currentStylesMap,
|
|
87
|
-
fallbackStylesMap,
|
|
88
|
-
previousStyleKeysBySlot
|
|
89
|
-
}) => {
|
|
90
|
-
"worklet";
|
|
91
|
-
|
|
92
|
-
const resolvedStylesMap = {};
|
|
93
|
-
const nextPreviousStyleKeysBySlot = {};
|
|
94
|
-
const slotIds = collectRelevantSlotIds({
|
|
95
|
-
currentStylesMap,
|
|
96
|
-
fallbackStylesMap,
|
|
97
|
-
previousStyleKeysBySlot
|
|
98
|
-
});
|
|
99
|
-
for (const slotId in slotIds) {
|
|
100
|
-
const slot = currentStylesMap[slotId] ?? fallbackStylesMap[slotId];
|
|
101
|
-
const baseStyle = slot?.style;
|
|
102
|
-
const {
|
|
103
|
-
keys: currentKeys,
|
|
104
|
-
hasAny: hasCurrentStyleKeys
|
|
105
|
-
} = collectStyleKeyMeta(baseStyle);
|
|
106
|
-
const unsetPatch = buildUnsetPatch({
|
|
107
|
-
previousKeys: previousStyleKeysBySlot[slotId] ?? {},
|
|
108
|
-
currentKeys
|
|
109
|
-
});
|
|
110
|
-
const hasUnsetPatch = hasAnyKeys(unsetPatch);
|
|
111
|
-
const hasProps = slot?.props !== undefined;
|
|
112
|
-
if (!slot && !hasUnsetPatch) {
|
|
113
|
-
continue;
|
|
114
|
-
}
|
|
115
|
-
const resolvedStyle = hasCurrentStyleKeys || hasUnsetPatch ? {
|
|
116
|
-
...unsetPatch,
|
|
117
|
-
...(slot?.style ?? NO_STYLES)
|
|
118
|
-
} : undefined;
|
|
119
|
-
if (resolvedStyle === undefined && !hasProps) {
|
|
120
|
-
continue;
|
|
121
|
-
}
|
|
122
|
-
const resolvedSlot = {};
|
|
123
|
-
if (resolvedStyle !== undefined) {
|
|
124
|
-
resolvedSlot.style = resolvedStyle;
|
|
125
|
-
}
|
|
126
|
-
if (hasProps) {
|
|
127
|
-
resolvedSlot.props = slot?.props;
|
|
128
|
-
}
|
|
129
|
-
resolvedStylesMap[slotId] = resolvedSlot;
|
|
130
|
-
if (hasCurrentStyleKeys) {
|
|
131
|
-
nextPreviousStyleKeysBySlot[slotId] = currentKeys;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return {
|
|
135
|
-
resolvedStylesMap,
|
|
136
|
-
nextPreviousStyleKeysBySlot
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
//# sourceMappingURL=build-resolved-style-map.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NO_STYLES","IDENTITY_TRANSFORM","translateX","translateY","scaleX","scaleY","ALWAYS_RESET_STYLE_VALUES","zIndex","elevation","hasAnyKeys","record","_key","collectStyleKeyMeta","keys","hasAny","key","collectRelevantSlotIds","currentStylesMap","fallbackStylesMap","previousStyleKeysBySlot","slotIds","slotId","buildUnsetPatch","previousKeys","currentKeys","unsetPatch","transform","undefined","buildResolvedStyleMap","resolvedStylesMap","nextPreviousStyleKeysBySlot","slot","baseStyle","style","hasCurrentStyleKeys","hasUnsetPatch","hasProps","props","resolvedStyle","resolvedSlot"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/helpers/build-resolved-style-map.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,uBAAuB;AAajD,MAAMC,kBAAkB,GAAG,CAC1B;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,MAAM,EAAE;AAAE,CAAC,EACb;EAAEC,MAAM,EAAE;AAAE,CAAC,CACJ;AAEV,MAAMC,yBAAyB,GAAG;EACjCC,MAAM,EAAE,CAAC;EACTC,SAAS,EAAE;AACZ,CAAU;AAEV,MAAMC,UAAU,GAAIC,MAA+B,IAAK;EACvD,SAAS;;EACT,KAAK,MAAMC,IAAI,IAAID,MAAM,EAAE;IAC1B,OAAO,IAAI;EACZ;EACA,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,YAAY,GAAG,CAAC,CAAkC;IAExD,IAAID,aAAa,KAAKX,SAAS,EAAE;MAChCY,YAAY,CAACN,KAAK,GAAGK,aAAa;IACnC;IAEA,IAAIF,QAAQ,EAAE;MACbG,YAAY,CAACF,KAAK,GAAGN,IAAI,EAAEM,KAAK;IACjC;IAEAR,iBAAiB,CAACR,MAAM,CAAC,GAAGkB,YAAY;IAExC,IAAIL,mBAAmB,EAAE;MACxBJ,2BAA2B,CAACT,MAAM,CAAC,GAAGG,WAAW;IAClD;EACD;EAEA,OAAO;IACNK,iBAAiB;IACjBC;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { NO_STYLES } from "../../../../constants";
|
|
4
|
-
import { normalizeInterpolatedStyle } from "../../../../utils/normalize-interpolated-style";
|
|
5
|
-
export const resolveInterpolatedStyleOutput = raw => {
|
|
6
|
-
"worklet";
|
|
7
|
-
|
|
8
|
-
if (raw == null || typeof raw !== "object") {
|
|
9
|
-
return {
|
|
10
|
-
stylesMap: NO_STYLES,
|
|
11
|
-
wasLegacy: false
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
const {
|
|
15
|
-
result,
|
|
16
|
-
wasLegacy
|
|
17
|
-
} = normalizeInterpolatedStyle(raw);
|
|
18
|
-
return {
|
|
19
|
-
stylesMap: result,
|
|
20
|
-
wasLegacy
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=resolve-interpolated-style-output.js.map
|
package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NO_STYLES","normalizeInterpolatedStyle","resolveInterpolatedStyleOutput","raw","stylesMap","wasLegacy","result"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/helpers/resolve-interpolated-style-output.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,uBAAuB;AAKjD,SAASC,0BAA0B,QAAQ,gDAAgD;AAO3F,OAAO,MAAMC,8BAA8B,GAC1CC,GAAmD,IACd;EACrC,SAAS;;EAET,IAAIA,GAAG,IAAI,IAAI,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IAC3C,OAAO;MACNC,SAAS,EAAEJ,SAAS;MACpBK,SAAS,EAAE;IACZ,CAAC;EACF;EAEA,MAAM;IAAEC,MAAM;IAAED;EAAU,CAAC,GAAGJ,0BAA0B,CAACE,GAAG,CAAC;EAE7D,OAAO;IACNC,SAAS,EAAEE,MAAM;IACjBD;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../../../../constants";
|
|
4
|
-
const LAYER_STYLE_SLOT_IDS = {
|
|
5
|
-
content: true,
|
|
6
|
-
backdrop: true,
|
|
7
|
-
surface: true,
|
|
8
|
-
[NAVIGATION_MASK_ELEMENT_STYLE_ID]: true,
|
|
9
|
-
[NAVIGATION_MASK_CONTAINER_STYLE_ID]: true
|
|
10
|
-
};
|
|
11
|
-
const isLayerStyleSlotId = slotId => {
|
|
12
|
-
"worklet";
|
|
13
|
-
|
|
14
|
-
// biome-ignore lint/suspicious/noPrototypeBuiltins: <Typescript lib target is ES2020>
|
|
15
|
-
return Object.prototype.hasOwnProperty.call(LAYER_STYLE_SLOT_IDS, slotId);
|
|
16
|
-
};
|
|
17
|
-
export const splitNormalizedStyleMaps = stylesMap => {
|
|
18
|
-
"worklet";
|
|
19
|
-
|
|
20
|
-
const layerStylesMap = {};
|
|
21
|
-
const elementStylesMap = {};
|
|
22
|
-
for (const slotId in stylesMap) {
|
|
23
|
-
if (isLayerStyleSlotId(slotId)) {
|
|
24
|
-
layerStylesMap[slotId] = stylesMap[slotId];
|
|
25
|
-
continue;
|
|
26
|
-
}
|
|
27
|
-
elementStylesMap[slotId] = stylesMap[slotId];
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
layerStylesMap,
|
|
31
|
-
elementStylesMap
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=split-normalized-style-maps.js.map
|
package/lib/module/shared/providers/screen/styles/helpers/split-normalized-style-maps.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","LAYER_STYLE_SLOT_IDS","content","backdrop","surface","isLayerStyleSlotId","slotId","Object","prototype","hasOwnProperty","call","splitNormalizedStyleMaps","stylesMap","layerStylesMap","elementStylesMap"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/helpers/split-normalized-style-maps.ts"],"mappings":";;AAAA,SACCA,kCAAkC,EAClCC,gCAAgC,QAC1B,uBAAuB;AAG9B,MAAMC,oBAAoB,GAAG;EAC5BC,OAAO,EAAE,IAAI;EACbC,QAAQ,EAAE,IAAI;EACdC,OAAO,EAAE,IAAI;EACb,CAACJ,gCAAgC,GAAG,IAAI;EACxC,CAACD,kCAAkC,GAAG;AACvC,CAAU;AAEV,MAAMM,kBAAkB,GAAIC,MAAc,IAAK;EAC9C,SAAS;;EACT;EACA,OAAOC,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACT,oBAAoB,EAAEK,MAAM,CAAC;AAC1E,CAAC;AAED,OAAO,MAAMK,wBAAwB,GACpCC,SAAgD,IAI5C;EACJ,SAAS;;EACT,MAAMC,cAAqD,GAAG,CAAC,CAAC;EAChE,MAAMC,gBAAuD,GAAG,CAAC,CAAC;EAElE,KAAK,MAAMR,MAAM,IAAIM,SAAS,EAAE;IAC/B,IAAIP,kBAAkB,CAACC,MAAM,CAAC,EAAE;MAC/BO,cAAc,CAACP,MAAM,CAAC,GAAGM,SAAS,CAACN,MAAM,CAAC;MAC1C;IACD;IAEAQ,gBAAgB,CAACR,MAAM,CAAC,GAAGM,SAAS,CAACN,MAAM,CAAC;EAC7C;EAEA,OAAO;IACNO,cAAc;IACdC;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { groups, presence } from "./state";
|
|
4
|
-
function registerBoundaryPresence(tag, screenKey, ancestorKeys, boundaryConfig, navigatorKey, ancestorNavigatorKeys) {
|
|
5
|
-
"worklet";
|
|
6
|
-
|
|
7
|
-
presence.modify(state => {
|
|
8
|
-
"worklet";
|
|
9
|
-
|
|
10
|
-
const mutableState = state;
|
|
11
|
-
let tagEntries = mutableState[tag];
|
|
12
|
-
if (!tagEntries) {
|
|
13
|
-
tagEntries = {};
|
|
14
|
-
mutableState[tag] = tagEntries;
|
|
15
|
-
}
|
|
16
|
-
const currentEntry = tagEntries[screenKey];
|
|
17
|
-
tagEntries[screenKey] = {
|
|
18
|
-
count: (currentEntry?.count ?? 0) + 1,
|
|
19
|
-
ancestorKeys: ancestorKeys ?? currentEntry?.ancestorKeys,
|
|
20
|
-
boundaryConfig: boundaryConfig ?? currentEntry?.boundaryConfig,
|
|
21
|
-
navigatorKey: navigatorKey ?? currentEntry?.navigatorKey,
|
|
22
|
-
ancestorNavigatorKeys: ancestorNavigatorKeys ?? currentEntry?.ancestorNavigatorKeys
|
|
23
|
-
};
|
|
24
|
-
return state;
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function unregisterBoundaryPresence(tag, screenKey) {
|
|
28
|
-
"worklet";
|
|
29
|
-
|
|
30
|
-
const tagEntries = presence.value[tag];
|
|
31
|
-
if (!tagEntries) return;
|
|
32
|
-
const currentEntry = tagEntries[screenKey];
|
|
33
|
-
if (!currentEntry) return;
|
|
34
|
-
presence.modify(state => {
|
|
35
|
-
"worklet";
|
|
36
|
-
|
|
37
|
-
const mutableTagEntries = state[tag];
|
|
38
|
-
const mutableEntry = mutableTagEntries?.[screenKey];
|
|
39
|
-
if (!mutableTagEntries || !mutableEntry) return state;
|
|
40
|
-
const nextCount = mutableEntry.count - 1;
|
|
41
|
-
if (nextCount > 0) {
|
|
42
|
-
mutableEntry.count = nextCount;
|
|
43
|
-
return state;
|
|
44
|
-
}
|
|
45
|
-
delete mutableTagEntries[screenKey];
|
|
46
|
-
for (const _remainingKey in mutableTagEntries) {
|
|
47
|
-
return state;
|
|
48
|
-
}
|
|
49
|
-
delete state[tag];
|
|
50
|
-
return state;
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
function hasBoundaryPresence(tag, screenKey) {
|
|
54
|
-
"worklet";
|
|
55
|
-
|
|
56
|
-
const tagEntries = presence.value[tag];
|
|
57
|
-
if (!tagEntries) return false;
|
|
58
|
-
const direct = tagEntries[screenKey];
|
|
59
|
-
if (direct && direct.count > 0) return true;
|
|
60
|
-
for (const entryScreenKey in tagEntries) {
|
|
61
|
-
const entry = tagEntries[entryScreenKey];
|
|
62
|
-
if (entry.ancestorKeys?.includes(screenKey)) {
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
68
|
-
function getBoundaryPresence() {
|
|
69
|
-
"worklet";
|
|
70
|
-
|
|
71
|
-
return presence;
|
|
72
|
-
}
|
|
73
|
-
function getBoundaryConfig(tag, screenKey) {
|
|
74
|
-
"worklet";
|
|
75
|
-
|
|
76
|
-
const tagEntries = presence.value[tag];
|
|
77
|
-
if (!tagEntries) return null;
|
|
78
|
-
const direct = tagEntries[screenKey];
|
|
79
|
-
if (direct && direct.count > 0) {
|
|
80
|
-
return direct.boundaryConfig ?? null;
|
|
81
|
-
}
|
|
82
|
-
for (const entryScreenKey in tagEntries) {
|
|
83
|
-
const entry = tagEntries[entryScreenKey];
|
|
84
|
-
if (entry.count <= 0) continue;
|
|
85
|
-
if (entry.ancestorKeys?.includes(screenKey)) {
|
|
86
|
-
return entry.boundaryConfig ?? null;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
return null;
|
|
90
|
-
}
|
|
91
|
-
function setGroupActiveId(group, id) {
|
|
92
|
-
"worklet";
|
|
93
|
-
|
|
94
|
-
groups.modify(state => {
|
|
95
|
-
"worklet";
|
|
96
|
-
|
|
97
|
-
const mutableState = state;
|
|
98
|
-
mutableState[group] = {
|
|
99
|
-
activeId: id
|
|
100
|
-
};
|
|
101
|
-
return state;
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
function getGroupActiveId(group) {
|
|
105
|
-
"worklet";
|
|
106
|
-
|
|
107
|
-
return groups.value[group]?.activeId ?? null;
|
|
108
|
-
}
|
|
109
|
-
function getGroups() {
|
|
110
|
-
"worklet";
|
|
111
|
-
|
|
112
|
-
return groups;
|
|
113
|
-
}
|
|
114
|
-
export { registerBoundaryPresence, unregisterBoundaryPresence, hasBoundaryPresence, getBoundaryPresence, getBoundaryConfig, setGroupActiveId, getGroupActiveId, getGroups };
|
|
115
|
-
//# sourceMappingURL=presence.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["groups","presence","registerBoundaryPresence","tag","screenKey","ancestorKeys","boundaryConfig","navigatorKey","ancestorNavigatorKeys","modify","state","mutableState","tagEntries","currentEntry","count","unregisterBoundaryPresence","value","mutableTagEntries","mutableEntry","nextCount","_remainingKey","hasBoundaryPresence","direct","entryScreenKey","entry","includes","getBoundaryPresence","getBoundaryConfig","setGroupActiveId","group","id","activeId","getGroupActiveId","getGroups"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/presence.ts"],"mappings":";;AACA,SAA2BA,MAAM,EAAEC,QAAQ,QAAQ,SAAS;AAE5D,SAASC,wBAAwBA,CAChCC,GAAU,EACVC,SAAoB,EACpBC,YAA0B,EAC1BC,cAA+B,EAC/BC,YAAqB,EACrBC,qBAAgC,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I,IAAI;EACrC;EAEA,KAAK,MAAMiB,cAAc,IAAIX,UAAU,EAAE;IACxC,MAAMY,KAAK,GAAGZ,UAAU,CAACW,cAAc,CAAC;IACxC,IAAIC,KAAK,CAACV,KAAK,IAAI,CAAC,EAAE;IACtB,IAAIU,KAAK,CAACnB,YAAY,EAAEoB,QAAQ,CAACrB,SAAS,CAAC,EAAE;MAC5C,OAAOoB,KAAK,CAAClB,cAAc,IAAI,IAAI;IACpC;EACD;EAEA,OAAO,IAAI;AACZ;AAEA,SAASsB,gBAAgBA,CAACC,KAAa,EAAEC,EAAU,EAAE;EACpD,SAAS;;EACT9B,MAAM,CAACS,MAAM,CAAyBC,KAAQ,IAAQ;IACrD,SAAS;;IACT,MAAMC,YAAY,GAAGD,KAAoB;IACzCC,YAAY,CAACkB,KAAK,CAAC,GAAG;MACrBE,QAAQ,EAAED;IACX,CAAC;IACD,OAAOpB,KAAK;EACb,CAAC,CAAC;AACH;AAEA,SAASsB,gBAAgBA,CAACH,KAAa,EAAiB;EACvD,SAAS;;EACT,OAAO7B,MAAM,CAACgB,KAAK,CAACa,KAAK,CAAC,EAAEE,QAAQ,IAAI,IAAI;AAC7C;AAEA,SAASE,SAASA,CAAA,EAAG;EACpB,SAAS;;EACT,OAAOjC,MAAM;AACd;AAEA,SACCE,wBAAwB,EACxBa,0BAA0B,EAC1BM,mBAAmB,EACnBK,mBAAmB,EACnBC,iBAAiB,EACjBC,gBAAgB,EAChBI,gBAAgB,EAChBC,SAAS","ignoreList":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
|
|
2
|
-
export declare const useAutoSourceMeasurement: (params: {
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
sharedBoundTag: string;
|
|
5
|
-
id: BoundaryId;
|
|
6
|
-
group?: string;
|
|
7
|
-
nextScreenKey?: string;
|
|
8
|
-
maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
|
|
9
|
-
}) => void;
|
|
10
|
-
//# sourceMappingURL=use-auto-source-measurement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-auto-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAGvE,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SA2CA,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-measure-and-store.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAGhB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAMjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAwB3D,eAAO,MAAM,0BAA0B,GAAI,QAAQ;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACvC,8DA2GA,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
|
|
3
|
-
/**
|
|
4
|
-
* The current v3.4 behavior intentionally favors correctness over efficiency:
|
|
5
|
-
* when destination layout races transition start, this hook may re-measure
|
|
6
|
-
* multiple times to recover a usable pair for `navigation.zoom()`.
|
|
7
|
-
*
|
|
8
|
-
* This works well enough for now, but it is not the ideal architecture. A more
|
|
9
|
-
* complete v4 solution should allow open-animation deferral and broader
|
|
10
|
-
* readiness coordination so we can avoid repeated measurement work while still
|
|
11
|
-
* handling multiple transition scenarios correctly. Until that system exists,
|
|
12
|
-
* `navigation.zoom()` remains fast in practice, just not as performant as it
|
|
13
|
-
* could be.
|
|
14
|
-
*
|
|
15
|
-
* For now, you may notice a slight stutter towards the end of the animation.
|
|
16
|
-
*/
|
|
17
|
-
export declare const usePendingDestinationMeasurement: (params: {
|
|
18
|
-
sharedBoundTag: string;
|
|
19
|
-
enabled: boolean;
|
|
20
|
-
id: BoundaryId;
|
|
21
|
-
group?: string;
|
|
22
|
-
currentScreenKey: string;
|
|
23
|
-
expectedSourceScreenKey?: string;
|
|
24
|
-
animating: SharedValue<number>;
|
|
25
|
-
maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
|
|
26
|
-
}) => void;
|
|
27
|
-
//# sourceMappingURL=use-pending-destination-measurement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-pending-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMvE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gCAAgC,GAAI,QAAQ;IACxD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAuLA,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
|
|
2
|
-
export declare const usePreTransitionMeasurement: (params: {
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
sharedBoundTag: string;
|
|
5
|
-
id: BoundaryId;
|
|
6
|
-
group?: string;
|
|
7
|
-
currentScreenKey: string;
|
|
8
|
-
nextScreenKey?: string;
|
|
9
|
-
hasNextScreen: boolean;
|
|
10
|
-
maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
|
|
11
|
-
}) => void;
|
|
12
|
-
//# sourceMappingURL=use-pre-transition-measurement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-pre-transition-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMvE,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SA0FA,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigator-route-registry.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/navigator-route-registry.ts"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB,CACnC,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,GACd,IAAI,CAUN;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACrC,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,GACd,OAAO,CAcT;AAED;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAEnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset-stores-for-screen.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB,GAChC,UAAU,MAAM,EAChB,gBAAgB,OAAO,EACvB,qBAAqB,MAAM,SAmB3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-navigator-history-registry.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,2BAA2B,GACvC,cAAc,MAAM,EACpB,UAAU,MAAM,SAehB,CAAC"}
|