react-native-screen-transitions 3.9.0-beta.0 → 3.9.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/shared/adapters/with-screen-transitions/index.js +20 -4
- package/lib/commonjs/shared/adapters/with-screen-transitions/index.js.map +1 -1
- package/lib/commonjs/shared/animation/transition-blocking.js +71 -0
- package/lib/commonjs/shared/animation/transition-blocking.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js +30 -30
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/create-boundary-component.js +30 -95
- package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +68 -51
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +14 -2
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-register-target.js +32 -0
- package/lib/commonjs/shared/components/boundary/hooks/use-register-target.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/index.js +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/components/host.js +40 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +14 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +194 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js +44 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/{host.js → boundary-portal/components/host.js} +17 -16
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/{portal-boundary-host.js → boundary-portal/components/portal-boundary-host.js} +11 -11
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +52 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js +14 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.js +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +184 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.js +23 -5
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-placeholder-styles.js +3 -6
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js +33 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.js +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.js +7 -12
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/index.js +1 -8
- package/lib/commonjs/shared/components/boundary/portal/index.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/teleport.js +2 -2
- package/lib/commonjs/shared/components/boundary/portal/utils/naming.js +1 -15
- package/lib/commonjs/shared/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js +19 -56
- package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +77 -23
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +41 -12
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/measured-bounds.js +36 -1
- package/lib/commonjs/shared/components/boundary/utils/measured-bounds.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +1 -1
- package/lib/commonjs/shared/configs/presets.js +2 -2
- package/lib/commonjs/shared/configs/presets.js.map +1 -1
- package/lib/commonjs/shared/index.js +13 -0
- package/lib/commonjs/shared/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js +6 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.js +50 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +7 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/slot.provider.js +5 -3
- package/lib/commonjs/shared/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js +1 -1
- package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -1
- package/lib/commonjs/shared/stores/system.store.js +10 -2
- package/lib/commonjs/shared/stores/system.store.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +15 -9
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +2 -2
- package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +3 -3
- package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/module/shared/adapters/with-screen-transitions/index.js +19 -5
- package/lib/module/shared/adapters/with-screen-transitions/index.js.map +1 -1
- package/lib/module/shared/animation/transition-blocking.js +66 -0
- package/lib/module/shared/animation/transition-blocking.js.map +1 -0
- package/lib/module/shared/components/boundary/components/boundary-target.js +32 -32
- package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/shared/components/boundary/create-boundary-component.js +32 -97
- package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +72 -55
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +1 -0
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-measurer.js +15 -3
- package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-register-target.js +27 -0
- package/lib/module/shared/components/boundary/hooks/use-register-target.js.map +1 -0
- package/lib/module/shared/components/boundary/index.js +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/components/host.js +35 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +9 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +189 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js +33 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/{host.js → boundary-portal/components/host.js} +17 -16
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/{portal-boundary-host.js → boundary-portal/components/portal-boundary-host.js} +11 -11
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +47 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js +9 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.js +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +179 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.js +23 -5
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-placeholder-styles.js +3 -6
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js +29 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.js +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.js +5 -10
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/index.js +1 -2
- package/lib/module/shared/components/boundary/portal/index.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/teleport.js +2 -2
- package/lib/module/shared/components/boundary/portal/utils/naming.js +0 -12
- package/lib/module/shared/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/utils/ownership.js +16 -52
- package/lib/module/shared/components/boundary/portal/utils/ownership.js.map +1 -1
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +74 -20
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/destination-signals.js +39 -10
- package/lib/module/shared/components/boundary/utils/destination-signals.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/measured-bounds.js +34 -0
- package/lib/module/shared/components/boundary/utils/measured-bounds.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/configs/presets.js +2 -2
- package/lib/module/shared/configs/presets.js.map +1 -1
- package/lib/module/shared/index.js +1 -0
- package/lib/module/shared/index.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js +6 -1
- package/lib/module/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.js +45 -0
- package/lib/module/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +7 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/slot.provider.js +5 -3
- package/lib/module/shared/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js +1 -1
- package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -1
- package/lib/module/shared/stores/system.store.js +10 -2
- package/lib/module/shared/stores/system.store.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +15 -9
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js +2 -2
- package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js +3 -3
- package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
- package/lib/typescript/shared/adapters/with-screen-transitions/index.d.ts +4 -1
- package/lib/typescript/shared/adapters/with-screen-transitions/index.d.ts.map +1 -1
- package/lib/typescript/shared/animation/transition-blocking.d.ts +33 -0
- package/lib/typescript/shared/animation/transition-blocking.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts +2 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/use-register-target.d.ts +10 -0
- package/lib/typescript/shared/components/boundary/hooks/use-register-target.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/index.d.ts +2 -2
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/components/host.d.ts +10 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/components/host.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts +2 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/index.d.ts +11 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/index.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts +14 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts +3 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.d.ts +2 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.d.ts +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.d.ts +5 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts +13 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.d.ts +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.d.ts +3 -3
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/index.d.ts +1 -2
- package/lib/typescript/shared/components/boundary/portal/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts +0 -2
- package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts +9 -10
- package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +21 -21
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts +9 -2
- package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts +8 -0
- package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +1 -0
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/read-screen-animation-revisions.d.ts +4 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/read-screen-animation-revisions.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +3 -3
- package/lib/typescript/shared/types/bounds.types.d.ts +7 -2
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/types/options.d.ts +6 -2
- package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/adapters/with-screen-transitions/index.tsx +30 -9
- package/src/shared/animation/transition-blocking.ts +79 -0
- package/src/shared/components/boundary/components/boundary-target.tsx +43 -50
- package/src/shared/components/boundary/create-boundary-component.tsx +35 -150
- package/src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +103 -81
- package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +1 -0
- package/src/shared/components/boundary/hooks/use-measurer.ts +12 -4
- package/src/shared/components/boundary/hooks/use-register-target.ts +43 -0
- package/src/shared/components/boundary/index.tsx +2 -2
- package/src/shared/components/boundary/portal/components/boundary-content-portal/components/host.tsx +48 -0
- package/src/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.ts +9 -0
- package/src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +274 -0
- package/src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx +59 -0
- package/src/shared/components/boundary/portal/components/{host.tsx → boundary-portal/components/host.tsx} +14 -15
- package/src/shared/components/boundary/portal/components/{portal-boundary-host.tsx → boundary-portal/components/portal-boundary-host.tsx} +12 -12
- package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx +80 -0
- package/src/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/has-local-slot.ts +1 -1
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.ts +10 -0
- package/src/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.ts +2 -2
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +250 -0
- package/src/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.ts +38 -8
- package/src/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-placeholder-styles.ts +4 -15
- package/src/shared/components/boundary/portal/components/boundary-portal/index.tsx +38 -0
- package/src/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.ts +2 -2
- package/src/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.ts +10 -15
- package/src/shared/components/boundary/portal/index.ts +1 -2
- package/src/shared/components/boundary/portal/teleport.ts +2 -2
- package/src/shared/components/boundary/portal/utils/naming.ts +0 -19
- package/src/shared/components/boundary/portal/utils/ownership.ts +32 -88
- package/src/shared/components/boundary/providers/boundary-root.provider.tsx +198 -78
- package/src/shared/components/boundary/utils/destination-signals.ts +38 -14
- package/src/shared/components/boundary/utils/measured-bounds.ts +48 -0
- package/src/shared/components/screen-container/layers/content.tsx +1 -1
- package/src/shared/configs/presets.ts +2 -2
- package/src/shared/index.ts +4 -0
- package/src/shared/providers/screen/animation/helpers/read-screen-animation-revisions.ts +14 -0
- package/src/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.ts +75 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +11 -0
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +1 -0
- package/src/shared/providers/screen/styles/slot.provider.tsx +4 -2
- package/src/shared/providers/screen/styles/stores/slot-references.store.ts +2 -1
- package/src/shared/stores/system.store.ts +10 -4
- package/src/shared/types/animation.types.ts +3 -3
- package/src/shared/types/bounds.types.ts +9 -2
- package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +18 -11
- package/src/shared/utils/bounds/navigation/reveal/build.ts +2 -2
- package/src/shared/utils/bounds/navigation/zoom/build.ts +3 -3
- package/src/shared/utils/bounds/types/options.ts +9 -2
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js +0 -58
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/components/host.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/components/portal.js +0 -272
- package/lib/commonjs/shared/components/boundary/portal/components/portal.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/stores/host-bounds.store.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js +0 -53
- package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/components/host.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/components/portal.js +0 -267
- package/lib/module/shared/components/boundary/portal/components/portal.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/stores/host-bounds.store.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/utils/offset-style.js.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts +0 -8
- package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/host.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts +0 -20
- package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts +0 -17
- package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/stores/host-bounds.store.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts +0 -3
- package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts.map +0 -1
- package/src/shared/components/boundary/portal/components/boundary-local-portal-host.tsx +0 -66
- package/src/shared/components/boundary/portal/components/portal.tsx +0 -412
- /package/lib/commonjs/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/has-local-slot.js +0 -0
- /package/lib/commonjs/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.js +0 -0
- /package/lib/module/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/has-local-slot.js +0 -0
- /package/lib/module/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.js +0 -0
- /package/lib/typescript/shared/components/boundary/portal/components/{host.d.ts → boundary-portal/components/host.d.ts} +0 -0
- /package/lib/typescript/shared/components/boundary/portal/components/{portal-boundary-host.d.ts → boundary-portal/components/portal-boundary-host.d.ts} +0 -0
- /package/lib/typescript/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.d.ts +0 -0
- /package/src/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.ts +0 -0
|
@@ -1,25 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { useCallback, useMemo, useState } from "react";
|
|
3
|
+
import { useCallback, useImperativeHandle, useMemo, useState } from "react";
|
|
4
4
|
import { useAnimatedRef } from "react-native-reanimated";
|
|
5
|
+
import { useDescriptorsStore } from "../../../providers/screen/descriptors";
|
|
6
|
+
import { useComposedSlotStyles, useSlotStackingStyles } from "../../../providers/screen/styles";
|
|
7
|
+
import { createBoundTag } from "../../../stores/bounds/helpers/link-pairs.helpers";
|
|
5
8
|
import createProvider from "../../../utils/create-provider";
|
|
6
9
|
import { logger } from "../../../utils/logger";
|
|
10
|
+
import { useBoundaryMeasurement } from "../hooks/use-boundary-measurement";
|
|
11
|
+
import { resolveBoundaryPortal } from "../portal/utils/resolve-portal";
|
|
7
12
|
// logger.warn prepends the library prefix.
|
|
8
13
|
const MULTIPLE_TARGETS_WARNING = "Multiple Boundary.Target elements were rendered under the same boundary root. The first registered target will be measured.";
|
|
9
14
|
export const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside Transition.Boundary or a component created by createBoundaryComponent.";
|
|
10
15
|
export const {
|
|
11
16
|
BoundaryRootProvider,
|
|
12
|
-
useBoundaryRootContext
|
|
17
|
+
useBoundaryRootContext,
|
|
18
|
+
useBoundaryRootStore
|
|
13
19
|
} = createProvider("BoundaryRoot", {
|
|
14
20
|
guarded: false
|
|
15
|
-
})(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
})(({
|
|
22
|
+
children,
|
|
23
|
+
config,
|
|
24
|
+
enabled = true,
|
|
25
|
+
escapeClipping,
|
|
26
|
+
forwardedRef,
|
|
27
|
+
group,
|
|
28
|
+
handoff,
|
|
29
|
+
id,
|
|
30
|
+
style
|
|
31
|
+
}) => {
|
|
32
|
+
const boundTag = useMemo(() => createBoundTag(String(id), group), [id, group]);
|
|
33
|
+
const portalRuntime = resolveBoundaryPortal({
|
|
34
|
+
handoff,
|
|
35
|
+
escapeClipping
|
|
36
|
+
});
|
|
37
|
+
const currentScreenKey = useDescriptorsStore(s => s.derivations.currentScreenKey);
|
|
38
|
+
const hasConfiguredInterpolator = useDescriptorsStore(s => s.derivations.hasConfiguredInterpolator);
|
|
39
|
+
const runtimeEnabled = enabled && hasConfiguredInterpolator;
|
|
40
|
+
// Associated slot styles attach whenever the boundary is enabled,
|
|
41
|
+
// independent of whether an interpolator is configured for this transition.
|
|
42
|
+
const shouldAttachAssociatedStyles = enabled;
|
|
43
|
+
const shouldEscapeBoundaryRootToScreenHost = portalRuntime.escapeClipping;
|
|
44
|
+
const associatedStyles = useComposedSlotStyles(boundTag.tag, style);
|
|
45
|
+
const associatedStackingStyles = useSlotStackingStyles(boundTag.tag);
|
|
22
46
|
const rootRef = useAnimatedRef();
|
|
47
|
+
const rootEscapePlaceholderRef = useAnimatedRef();
|
|
23
48
|
const [targetEntry, setTargetEntry] = useState(null);
|
|
24
49
|
const registerTargetRef = useCallback((targetRef, preparedStyles, measurementRef) => {
|
|
25
50
|
setTargetEntry(prev => {
|
|
@@ -39,19 +64,48 @@ export const useBoundaryRootState = params => {
|
|
|
39
64
|
const unregisterTargetRef = useCallback(targetRef => {
|
|
40
65
|
setTargetEntry(prev => prev?.ref === targetRef ? null : prev);
|
|
41
66
|
}, []);
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
67
|
+
const rootMeasurementRef = shouldEscapeBoundaryRootToScreenHost ? rootEscapePlaceholderRef : rootRef;
|
|
68
|
+
const measuredRef = targetEntry?.measurementRef ?? rootMeasurementRef;
|
|
69
|
+
const hasActiveTarget = targetEntry !== null;
|
|
70
|
+
const targetPreparedStyles = targetEntry?.preparedStyles;
|
|
71
|
+
useImperativeHandle(forwardedRef, () => rootRef.current, [rootRef]);
|
|
72
|
+
useBoundaryMeasurement({
|
|
73
|
+
boundTag,
|
|
74
|
+
enabled,
|
|
75
|
+
runtimeEnabled,
|
|
76
|
+
currentScreenKey,
|
|
77
|
+
measuredRef,
|
|
78
|
+
style,
|
|
79
|
+
targetPreparedStyles,
|
|
80
|
+
handoff: portalRuntime.handoff,
|
|
81
|
+
escapeClipping: portalRuntime.escapeClipping,
|
|
82
|
+
config
|
|
83
|
+
});
|
|
84
|
+
const shouldRenderBoundaryRootThroughPortal = shouldEscapeBoundaryRootToScreenHost && !hasActiveTarget;
|
|
85
|
+
// A nested active target takes the full associated style, so the root keeps
|
|
86
|
+
// only its stacking context. Root-owned escape-clipping moves the root
|
|
87
|
+
// through a screen host, so its associated style is applied through the
|
|
88
|
+
// host instead of inline on the escaped element.
|
|
89
|
+
// Host-only handoff receivers still need the associated style: their
|
|
90
|
+
// handoff host is absolute-filled inside this root, so the root is the
|
|
91
|
+
// visual frame that animates the received payload.
|
|
92
|
+
const attachedStyle = shouldAttachAssociatedStyles ? hasActiveTarget ? associatedStackingStyles : shouldRenderBoundaryRootThroughPortal ? undefined : associatedStyles : undefined;
|
|
93
|
+
const value = useMemo(() => ({
|
|
94
|
+
attachedStyle,
|
|
45
95
|
activeTargetRef: targetEntry?.ref ?? null,
|
|
46
96
|
boundTag,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
97
|
+
currentScreenKey,
|
|
98
|
+
portalRuntime,
|
|
99
|
+
registerTargetRef,
|
|
50
100
|
ref: rootRef,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
101
|
+
rootEscapePlaceholderRef,
|
|
102
|
+
shouldRenderBoundaryRootThroughPortal,
|
|
103
|
+
shouldRenderHandoffHost: enabled && portalRuntime.handoff,
|
|
104
|
+
unregisterTargetRef
|
|
105
|
+
}), [attachedStyle, boundTag, currentScreenKey, enabled, portalRuntime, registerTargetRef, rootRef, rootEscapePlaceholderRef, shouldRenderBoundaryRootThroughPortal, targetEntry, unregisterTargetRef]);
|
|
106
|
+
return {
|
|
107
|
+
value,
|
|
108
|
+
children: children(value)
|
|
55
109
|
};
|
|
56
|
-
};
|
|
110
|
+
});
|
|
57
111
|
//# sourceMappingURL=boundary-root.provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useMemo","useState","useAnimatedRef","createProvider","logger","MULTIPLE_TARGETS_WARNING","TARGET_OUTSIDE_ROOT_WARNING","BoundaryRootProvider","useBoundaryRootContext","guarded","
|
|
1
|
+
{"version":3,"names":["useCallback","useImperativeHandle","useMemo","useState","useAnimatedRef","useDescriptorsStore","useComposedSlotStyles","useSlotStackingStyles","createBoundTag","createProvider","logger","useBoundaryMeasurement","resolveBoundaryPortal","MULTIPLE_TARGETS_WARNING","TARGET_OUTSIDE_ROOT_WARNING","BoundaryRootProvider","useBoundaryRootContext","useBoundaryRootStore","guarded","children","config","enabled","escapeClipping","forwardedRef","group","handoff","id","style","boundTag","String","portalRuntime","currentScreenKey","s","derivations","hasConfiguredInterpolator","runtimeEnabled","shouldAttachAssociatedStyles","shouldEscapeBoundaryRootToScreenHost","associatedStyles","tag","associatedStackingStyles","rootRef","rootEscapePlaceholderRef","targetEntry","setTargetEntry","registerTargetRef","targetRef","preparedStyles","measurementRef","prev","ref","__DEV__","warnOnce","unregisterTargetRef","rootMeasurementRef","measuredRef","hasActiveTarget","targetPreparedStyles","current","shouldRenderBoundaryRootThroughPortal","attachedStyle","undefined","value","activeTargetRef","shouldRenderHandoffHost"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/providers/boundary-root.provider.tsx"],"mappings":";;AAAA,SAGCA,WAAW,EACXC,mBAAmB,EACnBC,OAAO,EACPC,QAAQ,QACF,OAAO;AAGd,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,mBAAmB,QAAQ,uCAAuC;AAC3E,SACCC,qBAAqB,EACrBC,qBAAqB,QACf,kCAAkC;AACzC,SAASC,cAAc,QAAQ,mDAAmD;AAElF,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,sBAAsB,QAAQ,mCAAmC;AAC1E,SAECC,qBAAqB,QACf,gCAAgC;AA0BvC;AACA,MAAMC,wBAAwB,GAC7B,6HAA6H;AAE9H,OAAO,MAAMC,2BAA2B,GACvC,gHAAgH;AAwBjH,OAAO,MAAM;EACZC,oBAAoB;EACpBC,sBAAsB;EACtBC;AACD,CAAC,GAAGR,cAAc,CAAC,cAAc,EAAE;EAAES,OAAO,EAAE;AAAM,CAAC,CAAC,CAIrD,CAAC;EACAC,QAAQ;EACRC,MAAM;EACNC,OAAO,GAAG,IAAI;EACdC,cAAc;EACdC,YAAY;EACZC,KAAK;EACLC,OAAO;EACPC,EAAE;EACFC;AACD,CAAC,KAAK;EACL,MAAMC,QAAQ,GAAG1B,OAAO,CACvB,MAAMM,cAAc,CAACqB,MAAM,CAACH,EAAE,CAAC,EAAEF,KAAK,CAAC,EACvC,CAACE,EAAE,EAAEF,KAAK,CACX,CAAC;EACD,MAAMM,aAAa,GAAGlB,qBAAqB,CAAC;IAC3Ca,OAAO;IACPH;EACD,CAAC,CAAC;EAEF,MAAMS,gBAAg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e,iBAAiB,EACjBJ,OAAO,EACPC,wBAAwB,EACxBiB,qCAAqC,EACrChB,WAAW,EACXU,mBAAmB,CAErB,CAAC;EAED,OAAO;IACNS,KAAK;IACL3C,QAAQ,EAAEA,QAAQ,CAAC2C,KAAK;EACzB,CAAC;AACF,CACD,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { getActiveGroupId, getLinkKeyFromTag } from "../../../stores/bounds/helpers/link-pairs.helpers";
|
|
4
|
-
export const
|
|
4
|
+
export const getInitialDestinationMeasurementSignal = params => {
|
|
5
5
|
"worklet";
|
|
6
6
|
|
|
7
7
|
const {
|
|
@@ -10,21 +10,50 @@ export const getInitialDestinationMeasurePairKey = params => {
|
|
|
10
10
|
ancestorDestinationPairKey,
|
|
11
11
|
linkId,
|
|
12
12
|
group,
|
|
13
|
+
destinationPresent,
|
|
14
|
+
sourcePresent,
|
|
13
15
|
linkState
|
|
14
16
|
} = params;
|
|
15
|
-
const
|
|
16
|
-
if (!enabled || !
|
|
17
|
+
const pairKey = destinationPairKey ?? ancestorDestinationPairKey;
|
|
18
|
+
if (!enabled || !pairKey) {
|
|
17
19
|
return null;
|
|
18
20
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
if (!destinationPresent) {
|
|
22
|
+
return {
|
|
23
|
+
pairKey,
|
|
24
|
+
action: "wait"
|
|
25
|
+
};
|
|
23
26
|
}
|
|
24
|
-
|
|
27
|
+
if (!sourcePresent) {
|
|
28
|
+
return {
|
|
29
|
+
pairKey,
|
|
30
|
+
action: "release"
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const linkKey = getLinkKeyFromTag(linkId);
|
|
34
|
+
const activeGroupId = group && linkState ? getActiveGroupId(linkState, pairKey, group) : null;
|
|
25
35
|
if (activeGroupId && activeGroupId !== linkKey) {
|
|
26
|
-
return
|
|
36
|
+
return {
|
|
37
|
+
pairKey,
|
|
38
|
+
action: "release"
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const link = linkState?.[pairKey]?.links?.[linkKey];
|
|
42
|
+
if (!link?.destination) {
|
|
43
|
+
return {
|
|
44
|
+
pairKey,
|
|
45
|
+
action: "measure"
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
if (!link.source) {
|
|
49
|
+
return {
|
|
50
|
+
pairKey,
|
|
51
|
+
action: "wait"
|
|
52
|
+
};
|
|
27
53
|
}
|
|
28
|
-
return
|
|
54
|
+
return {
|
|
55
|
+
pairKey,
|
|
56
|
+
action: "complete"
|
|
57
|
+
};
|
|
29
58
|
};
|
|
30
59
|
//# sourceMappingURL=destination-signals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getActiveGroupId","getLinkKeyFromTag","
|
|
1
|
+
{"version":3,"names":["getActiveGroupId","getLinkKeyFromTag","getInitialDestinationMeasurementSignal","params","enabled","destinationPairKey","ancestorDestinationPairKey","linkId","group","destinationPresent","sourcePresent","linkState","pairKey","action","linkKey","activeGroupId","link","links","destination","source"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/destination-signals.ts"],"mappings":";;AAAA,SACCA,gBAAgB,EAChBC,iBAAiB,QACX,mDAAmD;AAiB1D,OAAO,MAAMC,sCAAsC,GAAIC,MAStD,IAAiD;EACjD,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,kBAAkB;IAClBC,0BAA0B;IAC1BC,MAAM;IACNC,KAAK;IACLC,kBAAkB;IAClBC,aAAa;IACbC;EACD,CAAC,GAAGR,MAAM;EACV,MAAMS,OAAO,GAAGP,kBAAkB,IAAIC,0BAA0B;EAEhE,IAAI,CAACF,OAAO,IAAI,CAACQ,OAAO,EAAE;IACzB,OAAO,IAAI;EACZ;EAEA,IAAI,CAACH,kBAAkB,EAAE;IACxB,OAAO;MAAEG,OAAO;MAAEC,MAAM,EAAE;IAAO,CAAC;EACnC;EAEA,IAAI,CAACH,aAAa,EAAE;IACnB,OAAO;MAAEE,OAAO;MAAEC,MAAM,EAAE;IAAU,CAAC;EACtC;EAEA,MAAMC,OAAO,GAAGb,iBAAiB,CAACM,MAAM,CAAC;EACzC,MAAMQ,aAAa,GAClBP,KAAK,IAAIG,SAAS,GAAGX,gBAAgB,CAACW,SAAS,EAAEC,OAAO,EAAEJ,KAAK,CAAC,GAAG,IAAI;EAExE,IAAIO,aAAa,IAAIA,aAAa,KAAKD,OAAO,EAAE;IAC/C,OAAO;MAAEF,OAAO;MAAEC,MAAM,EAAE;IAAU,CAAC;EACtC;EAEA,MAAMG,IAAI,GAAGL,SAAS,GAAGC,OAAO,CAAC,EAAEK,KAAK,GAAGH,OAAO,CAAC;EAEnD,IAAI,CAACE,IAAI,EAAEE,WAAW,EAAE;IACvB,OAAO;MAAEN,OAAO;MAAEC,MAAM,EAAE;IAAU,CAAC;EACtC;EAEA,IAAI,CAACG,IAAI,CAACG,MAAM,EAAE;IACjB,OAAO;MAAEP,OAAO;MAAEC,MAAM,EAAE;IAAO,CAAC;EACnC;EAEA,OAAO;IAAED,OAAO;IAAEC,MAAM,EAAE;EAAW,CAAC;AACvC,CAAC","ignoreList":[]}
|
|
@@ -53,6 +53,40 @@ export const isMeasurementInViewport = (measured, viewportWidth, viewportHeight)
|
|
|
53
53
|
const centerY = measured.pageY + measured.height / 2;
|
|
54
54
|
return centerX >= -toleranceX && centerX <= viewportWidth + toleranceX && centerY >= -toleranceY && centerY <= viewportHeight + toleranceY;
|
|
55
55
|
};
|
|
56
|
+
export const normalizeMeasuredBoundsWithVisibilityGate = ({
|
|
57
|
+
measured,
|
|
58
|
+
origin,
|
|
59
|
+
visibilityBlocked,
|
|
60
|
+
visibilityBlockOffset,
|
|
61
|
+
viewportWidth,
|
|
62
|
+
viewportHeight
|
|
63
|
+
}) => {
|
|
64
|
+
"worklet";
|
|
65
|
+
|
|
66
|
+
const normalized = normalizeMeasuredBoundsToOrigin(measured, origin);
|
|
67
|
+
if (!visibilityBlocked || visibilityBlockOffset <= 0 || isMeasurementInViewport(normalized, viewportWidth, viewportHeight)) {
|
|
68
|
+
return normalized;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Fabric can expose the visibility transform to one native measurement one
|
|
72
|
+
// frame before the other. Prefer normal origin-relative coordinates, then
|
|
73
|
+
// test either side of that known frame skew while the gate is active.
|
|
74
|
+
const measuredAhead = {
|
|
75
|
+
...normalized,
|
|
76
|
+
pageY: normalized.pageY - visibilityBlockOffset
|
|
77
|
+
};
|
|
78
|
+
if (isMeasurementInViewport(measuredAhead, viewportWidth, viewportHeight)) {
|
|
79
|
+
return measuredAhead;
|
|
80
|
+
}
|
|
81
|
+
const originAhead = {
|
|
82
|
+
...normalized,
|
|
83
|
+
pageY: normalized.pageY + visibilityBlockOffset
|
|
84
|
+
};
|
|
85
|
+
if (isMeasurementInViewport(originAhead, viewportWidth, viewportHeight)) {
|
|
86
|
+
return originAhead;
|
|
87
|
+
}
|
|
88
|
+
return normalized;
|
|
89
|
+
};
|
|
56
90
|
export const measureWithOverscrollAwareness = (ref, scrollState) => {
|
|
57
91
|
"worklet";
|
|
58
92
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["measure","clampScrollAxisOffset","cloneScrollMetadataState","SCROLL_MEASUREMENT_EPSILON","getOverscrollDelta","axisState","clampedOffset","delta","offset","Math","abs","adjustedMeasuredBoundsForOverscrollDeltas","measured","scrollState","deltaX","horizontal","deltaY","vertical","x","y","pageX","pageY","normalizeMeasuredBoundsToOrigin","origin","isMeasurementInViewport","viewportWidth","viewportHeight","width","height","toleranceX","toleranceY","centerX","centerY","measureWithOverscrollAwareness","ref","attachScrollSnapshotToMeasuredBounds","scroll"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/measured-bounds.ts"],"mappings":";;AACA,SAGCA,OAAO,QACD,yBAAyB;AAChC,SACCC,qBAAqB,EACrBC,wBAAwB,QAClB,8BAA8B;AAOrC,MAA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ChC,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,uBAAuB,GAAGA,CACtCZ,QAA4B,EAC5Ba,aAAqB,EACrBC,cAAsB,KACT;EACb,SAAS;;EAET,IAAId,QAAQ,CAACe,KAAK,IAAI,CAAC,IAAIf,QAAQ,CAACgB,MAAM,IAAI,CAAC,EAAE;IAChD,OAAO,KAAK;EACb;EAEA,MAAMC,UAAU,GAAGJ,aAAa,GAAG,IAAI;EACvC,MAAMK,UAAU,GAAGJ,cAAc,GAAG,IAAI;EACxC,MAAMK,OAAO,GAAGnB,QAAQ,CAACQ,KAAK,GAAGR,QAAQ,CAACe,KAAK,GAAG,CAAC;EACnD,MAAMK,OAAO,GAAGpB,QAAQ,CAACS,KAAK,GAAGT,QAAQ,CAACgB,MAAM,GAAG,CAAC;EAEpD,OACCG,OAAO,IAAI,CAACF,UAAU,IACtBE,OAAO,IAAIN,aAAa,GAAGI,UAAU,IACrCG,OAAO,IAAI,CAACF,UAAU,IACtBE,OAAO,IAAIN,cAAc,GAAGI,UAAU;AAExC,CAAC;AAED,OAAO,MAAMG,8BAA8B,GAAGA,CAC7CC,GAAsB,
|
|
1
|
+
{"version":3,"names":["measure","clampScrollAxisOffset","cloneScrollMetadataState","SCROLL_MEASUREMENT_EPSILON","getOverscrollDelta","axisState","clampedOffset","delta","offset","Math","abs","adjustedMeasuredBoundsForOverscrollDeltas","measured","scrollState","deltaX","horizontal","deltaY","vertical","x","y","pageX","pageY","normalizeMeasuredBoundsToOrigin","origin","isMeasurementInViewport","viewportWidth","viewportHeight","width","height","toleranceX","toleranceY","centerX","centerY","normalizeMeasuredBoundsWithVisibilityGate","visibilityBlocked","visibilityBlockOffset","normalized","measuredAhead","originAhead","measureWithOverscrollAwareness","ref","attachScrollSnapshotToMeasuredBounds","scroll"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/measured-bounds.ts"],"mappings":";;AACA,SAGCA,OAAO,QACD,yBAAyB;AAChC,SACCC,qBAAqB,EACrBC,wBA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E;IAC1E,OAAOW,aAAa;EACrB;EAEA,MAAMC,WAAW,GAAG;IACnB,GAAGF,UAAU;IACbf,KAAK,EAAEe,UAAU,CAACf,KAAK,GAAGc;EAC3B,CAAC;EACD,IAAIX,uBAAuB,CAACc,WAAW,EAAEb,aAAa,EAAEC,cAAc,CAAC,EAAE;IACxE,OAAOY,WAAW;EACnB;EAEA,OAAOF,UAAU;AAClB,CAAC;AAED,OAAO,MAAMG,8BAA8B,GAAGA,CAC7CC,GAAsB,EACtB3B,WAAsC,KACP;EAC/B,SAAS;;EACT,MAAMD,QAAQ,GAAGZ,OAAO,CAACwC,GAAG,CAAC;EAC7B,IAAI,CAAC5B,QAAQ,EAAE,OAAO,IAAI;EAE1B,OAAOD,yCAAyC,CAACC,QAAQ,EAAEC,WAAW,CAAC;AACxE,CAAC;AAED,OAAO,MAAM4B,oCAAoC,GAAGA,CACnD7B,QAA4B,EAC5B8B,MAA8C,KAChB;EAC9B,SAAS;;EAET,OAAO;IACN,GAAG9B,QAAQ;IACX8B,MAAM,EAAExC,wBAAwB,CAACwC,MAAM;EACxC,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -9,7 +9,7 @@ import { useDescriptors } from "../../../providers/screen/descriptors";
|
|
|
9
9
|
import { useGestureContext } from "../../../providers/screen/gestures";
|
|
10
10
|
import { OriginProvider } from "../../../providers/screen/origin.provider";
|
|
11
11
|
import { useSlotProps, useSlotStyles } from "../../../providers/screen/styles";
|
|
12
|
-
import { ScreenFallbackHost } from "../../boundary/portal/components/host";
|
|
12
|
+
import { ScreenFallbackHost } from "../../boundary/portal/components/boundary-portal/components/host";
|
|
13
13
|
import { useContentLayout } from "../hooks/use-content-layout";
|
|
14
14
|
import { MaybeMaskedNavigationContainer } from "./maybe-masked-navigation-container";
|
|
15
15
|
import { usesLayerRenderProps } from "./render-component";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["memo","useMemo","StyleSheet","View","GestureDetector","Animated","useDescriptors","useGestureContext","OriginProvider","useSlotProps","useSlotStyles","ScreenFallbackHost","useContentLayout","MaybeMaskedNavigationContainer","usesLayerRenderProps","SurfaceContainer","jsx","_jsx","jsxs","_jsxs","ContentLayer","children","pointerEvents","isBackdropActive","current","gestureContext","ContentComponent","options","contentComponent","isNavigationMaskEnabled","navigationMaskEnabled","contentPointerEvents","AnimatedContentComponent","createAnimatedComponent","hasAutoSnapPoint","snapPoints","includes","handleContentLayout","animatedContentStyle","animatedContentProps","contentStyles","styles","content","contentProps","contentChildren","enabled","collapsable","onLayout","gesture","detectorGesture","style","animatedProps","props","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/content.tsx"],"mappings":";;AAAA;AACA,SAA6BA,IAAI,EAAEC,OAAO,QAAQ,OAAO;AACzD,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,eAAe,QAAQ,8BAA8B;AAC9D,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,cAAc,QAAQ,uCAAuC;AACtE,SAASC,iBAAiB,QAAQ,oCAAoC;AACtE,SAASC,cAAc,QAAQ,2CAA2C;AAC1E,SAASC,YAAY,EAAEC,aAAa,QAAQ,kCAAkC;AAE9E,SAASC,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["memo","useMemo","StyleSheet","View","GestureDetector","Animated","useDescriptors","useGestureContext","OriginProvider","useSlotProps","useSlotStyles","ScreenFallbackHost","useContentLayout","MaybeMaskedNavigationContainer","usesLayerRenderProps","SurfaceContainer","jsx","_jsx","jsxs","_jsxs","ContentLayer","children","pointerEvents","isBackdropActive","current","gestureContext","ContentComponent","options","contentComponent","isNavigationMaskEnabled","navigationMaskEnabled","contentPointerEvents","AnimatedContentComponent","createAnimatedComponent","hasAutoSnapPoint","snapPoints","includes","handleContentLayout","animatedContentStyle","animatedContentProps","contentStyles","styles","content","contentProps","contentChildren","enabled","collapsable","onLayout","gesture","detectorGesture","style","animatedProps","props","create","flex"],"sourceRoot":"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AES,oBAAqB;MAAAV,QAAA,EAEnCuB;IAAe,CACC,CAAC,gBAEnB3B,IAAA,CAACZ,QAAQ,CAACF,IAAI;MACb+C,KAAK,EAAEV,aAAc;MACrBW,aAAa,EAAEZ,oBAAqB;MACpCjB,aAAa,EAAES,oBAAqB;MAAAV,QAAA,EAEnCuB;IAAe,CACF;EACf,CACe,CAAC;AAEpB,CACD,CAAC;AAED,MAAMH,MAAM,GAAGvC,UAAU,CAACmD,MAAM,CAAC;EAChCX,OAAO,EAAE;IACRY,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -381,7 +381,7 @@ export const SharedAppleMusic = ({
|
|
|
381
381
|
const dragYScale = interpolate(normY, [0, 1], yScaleOuput);
|
|
382
382
|
const boundValues = bounds({
|
|
383
383
|
id: sharedBoundTag
|
|
384
|
-
}).
|
|
384
|
+
}).values({
|
|
385
385
|
method: focused ? "content" : "transform",
|
|
386
386
|
anchor: "top",
|
|
387
387
|
scaleMode: "uniform"
|
|
@@ -396,7 +396,7 @@ export const SharedAppleMusic = ({
|
|
|
396
396
|
if (focused) {
|
|
397
397
|
const maskedValues = bounds({
|
|
398
398
|
id: sharedBoundTag
|
|
399
|
-
}).
|
|
399
|
+
}).values({
|
|
400
400
|
space: "absolute",
|
|
401
401
|
method: "size",
|
|
402
402
|
target: "fullscreen"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","Extrapolation","interpolate","interpolateColor","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","normalizeInterpolatedStyle","DefaultSpec","platform","OS","SlideFromTop","config","enableTransitions","gestureEnabled","gestureDirection","screenStyleInterpolator","progress","layouts","screen","height","y","content","style","transform","translateY","transitionSpec","open","close","ZoomIn","scale","CLAMP","opacity","SlideFromBottom","DraggableCard","current","gesture","normY","translateX","normX","width","overshootClamping","ElasticCard","elasticFactor","next","maxElasticityX","maxElasticityY","overlayColor","backdrop","backgroundColor","SharedIGImage","sharedBoundTag","bounds","focused","active","handoff","dragX","dragY","dragXScale","dragYScale","navigationStyles","id","navigation","zoom","sourceStyle","containerStyle","maskStyle","normalizedNav","result","undefined","borderRadius","pointerEvents","dismissing","stiffness","damping","mass","restSpeedThreshold","SharedAppleMusic","initialGesture","direction","xResistance","yResistance","xScaleOuput","yScaleOuput","boundValues","math","method","anchor","scaleMode","maskedValues","space","target","dragMagnitude","Math","max","abs","shadowOpacity","shadowRadius","shadowOffsetY","elevation","IOSShadowStyle","shadowColor","shadowOffset","AndroidShadowStyle","animating","_ROOT_CONTAINER","_ROOT_MASKED","scaledBoundTranslateX","scaledBoundTranslateY","scaledBoundScaleX","scaleX","scaledBoundScaleY","scaleY","contentScale","zIndex","position","restDisplacementThreshold","SharedXImage","contentY","overlayClr"],"sourceRoot":"../../../../src","sources":["shared/configs/presets.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SACCC,aAAa,EACbC,WAAW,EACXC,gBAAgB,QACV,yBAAyB;AAChC,SACCC,kCAAkC,EAClCC,gCAAgC,QAC1B,cAAc;AAErB,SAASC,0BAA0B,QAAQ,uCAAuC;AAClF,SAASC,WAAW,QAAQ,SAAS;AAErC,MAAMC,QAAQ,GAAGR,QAAQ,CAACS,EAAE;AAE5B,OAAO,MAAMC,YAAY,GAAGA,CAC3BC,MAAuC,GAAG,CAAC,CAAC,KAChB;EAC5B,OAAO;IACN;IACAC,iBAAiB,EAAE,IAAI;IACvBC,cAAc,EAAE,IAAI;IACpBC,gBAAgB,EAAE,mBAAmB;IACrCC,uBAAuB,EAAEA,CAAC;MACzBC,QAAQ;MACRC,OAAO,EAAE;QACRC,MAAM,EAAE;UAAEC;QAAO;MAClB;IACD,CAAC,KAAK;MACL,SAAS;;MAET,MAAMC,CAAC,GAAGlB,WAAW,CAACc,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAACG,MAAM,EAAE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EC,UAAU,EAAE6F;YAAS,CAAC,EAAE;cAAE7F,UAAU,EAAEgC;YAAM,CAAC,CAAC;YAC5Dc,aAAa,EAAEpC,OAAO,CAACqE,SAAS,GAAG,MAAM,GAAG;UAC7C;QACD,CAAC;QACDxD,QAAQ,EAAE;UACTzB,KAAK,EAAE;YACN0B,eAAe,EAAEsE;UAClB;QACD;MACD,CAAC;IACF,CAAC;IACD7F,cAAc,EAAE;MACfC,IAAI,EAAEnB,WAAW;MACjBoB,KAAK,EAAEpB;IACR,CAAC;IACD,GAAGI;EACJ,CAAC;AACF,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["Platform","Extrapolation","interpolate","interpolateColor","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","normalizeInterpolatedStyle","DefaultSpec","platform","OS","SlideFromTop","config","enableTransitions","gestureEnabled","gestureDirection","screenStyleInterpolator","progress","layouts","screen","height","y","content","style","transform","translateY","transitionSpec","open","close","ZoomIn","scale","CLAMP","opacity","SlideFromBottom","DraggableCard","current","gesture","normY","translateX","normX","width","overshootClamping","ElasticCard","elasticFactor","next","maxElasticityX","maxElasticityY","overlayColor","backdrop","backgroundColor","SharedIGImage","sharedBoundTag","bounds","focused","active","handoff","dragX","dragY","dragXScale","dragYScale","navigationStyles","id","navigation","zoom","sourceStyle","containerStyle","maskStyle","normalizedNav","result","undefined","borderRadius","pointerEvents","dismissing","stiffness","damping","mass","restSpeedThreshold","SharedAppleMusic","initialGesture","direction","xResistance","yResistance","xScaleOuput","yScaleOuput","boundValues","values","method","anchor","scaleMode","maskedValues","space","target","dragMagnitude","Math","max","abs","shadowOpacity","shadowRadius","shadowOffsetY","elevation","IOSShadowStyle","shadowColor","shadowOffset","AndroidShadowStyle","animating","_ROOT_CONTAINER","_ROOT_MASKED","scaledBoundTranslateX","scaledBoundTranslateY","scaledBoundScaleX","scaleX","scaledBoundScaleY","scaleY","contentScale","zIndex","position","restDisplacementThreshold","SharedXImage","contentY","overlayClr"],"sourceRoot":"../../../../src","sources":["shared/configs/presets.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SACCC,aAAa,EACbC,WAAW,EACXC,gBAAgB,QACV,yBAAyB;AAChC,SACCC,kCAAkC,EAClCC,gCAAgC,QAC1B,cAAc;AAErB,SAASC,0BAA0B,QAAQ,uCAAuC;AAClF,SAASC,WAAW,QAAQ,SAAS;AAErC,MAAMC,QAAQ,GAAGR,QAAQ,CAACS,EAAE;AAE5B,OAAO,MAAMC,YAAY,GAAGA,CAC3BC,MAAuC,GAAG,CAAC,CAAC,KAChB;EAC5B,OAAO;IACN;IACAC,iBAAiB,EAAE,IAAI;IACvBC,cAAc,EAAE,IAAI;IACpBC,gBAAgB,EAAE,mBAAmB;IACrCC,uBAAuB,EAAEA,CAAC;MACzBC,QAAQ;MACRC,OAAO,EAAE;QACRC,MAAM,EAAE;UAAEC;QAAO;MAClB;IACD,CAAC,KAAK;MACL,SAAS;;MAET,MAAMC,CAAC,GAAGlB,WAAW,CAACc,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAACG,MAAM,EAAE,CAAC,EAAEA,MAAM,CAAC,CAAC;MAEhE,OAAO;QACNE,OAAO,EAAE;UACRC,KAAK,EAAE;YACNC,SAAS,EAAE,CAAC;cAAEC,UAAU,EAAEJ;YAAE,CAAC;UAC9B;QACD;MACD,CAAC;IACF,CAAC;IACDK,cAAc,EAAE;MACfC,IAAI,EAAEnB,WAAW;MACjBoB,KAAK,EAAEpB;IACR,CAAC;IAED,GAAGI;EACJ,CAAC;AACF,CAAC;AAED,OAAO,MAAMiB,MAAM,GAAGA,CACrBjB,MAAuC,GAAG,CAAC,CAAC,KAChB;EAC5B,OAAO;IACN;IACAC,iBAAiB,EAAE,IAAI;IACvBC,cAAc,EAAE,KAAK;IACrBE,uBAAuB,EAAEA,CAAC;MAAEC;IAAS,CAAC,KAAK;MAC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,GAAGnH,WAAW,CAC3Bc,QAAQ,EACR,CAAC,CAAC,EAAE,CAAC,CAAC,EACN,CAACwC,KAAK,IAAI,CAAC,GAAGtC,MAAM,CAACC,MAAM,GAAG,CAACD,MAAM,CAACC,MAAM,EAAE,CAAC,CAChD,CAAC;MAED,MAAMmG,UAAU,GAAGnH,gBAAgB,CAClC+B,OAAO,CAAClB,QAAQ,GAAG4E,IAAI,CAACE,GAAG,CAAC5D,OAAO,CAACC,OAAO,CAACC,KAAK,CAAC,EAClD,CAAC,CAAC,EAAE,CAAC,CAAC,EACN,CAAC,eAAe,EAAE,eAAe,CAClC,CAAC;MAED,MAAMiC,YAAY,GAAGnE,WAAW,CAACgC,OAAO,CAAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;MAEnE,OAAO;QACN,GAAGkD,aAAa;QAChB,CAAC7D,gCAAgC,GAAG4D,SAAS,GAC1C;UACA3C,KAAK,EAAE;YACN,GAAG2C,SAAS;YACZI;UACD;QACD,CAAC,GACAD,SAAS;QACZ/C,OAAO,EAAE;UACRC,KAAK,EAAE;YACNC,SAAS,EAAE,CAAC;cAAEC,UAAU,EAAE6F;YAAS,CAAC,EAAE;cAAE7F,UAAU,EAAEgC;YAAM,CAAC,CAAC;YAC5Dc,aAAa,EAAEpC,OAAO,CAACqE,SAAS,GAAG,MAAM,GAAG;UAC7C;QACD,CAAC;QACDxD,QAAQ,EAAE;UACTzB,KAAK,EAAE;YACN0B,eAAe,EAAEsE;UAClB;QACD;MACD,CAAC;IACF,CAAC;IACD7F,cAAc,EAAE;MACfC,IAAI,EAAEnB,WAAW;MACjBoB,KAAK,EAAEpB;IACR,CAAC;IACD,GAAGI;EACJ,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
};
|
|
30
30
|
export { withScreenTransitions } from "./adapters/with-screen-transitions";
|
|
31
31
|
export { snapTo } from "./animation/snap-to";
|
|
32
|
+
export { blockTransition, unblockTransition } from "./animation/transition-blocking";
|
|
32
33
|
export { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID, TRANSFORM_RESET } from "./constants";
|
|
33
34
|
export { useHistory } from "./hooks/navigation/use-history";
|
|
34
35
|
export { useScreenState } from "./hooks/navigation/use-screen-state";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FlatList","Pressable","ScrollView","View","withScreenTransitions","Boundary","createBoundaryComponent","createTransitionAwareComponent","MaskedView","Presets","Specs","isScrollable","snapTo","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","TRANSFORM_RESET","useHistory","useScreenState","useScreenAnimation","useScreenGesture"],"sourceRoot":"../../../src","sources":["shared/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACpE,SAASC,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASC,QAAQ,EAAEC,uBAAuB,QAAQ,uBAAuB;AACzE,SAASC,8BAA8B,QAAQ,gDAAgD;AAC/F,OAAOC,UAAU,MAAM,0BAA0B;AACjD,SAASC,OAAO,EAAEC,KAAK,QAAQ,WAAW;AAE1C,eAAe;EACdH,8BAA8B;EAC9BD,uBAAuB;EACvBF,qBAAqB;EACrBC,QAAQ;EACRF,IAAI,EAAEI,8BAA8B,CAACJ,IAAI,CAAC;EAC1CF,SAAS,EAAEM,8BAA8B,CAACN,SAAS,CAAC;EACpDC,UAAU,EAAEK,8BAA8B,CAACL,UAAU,EAAE;IACtDS,YAAY,EAAE;EACf,CAAC,CAAC;EACFX,QAAQ,EAAEO,8BAA8B,CAACP,QAAQ,EAAE;IAClDW,YAAY,EAAE;EACf,CAAC,CAAC;EACF;AACD;AACA;AACA;EACCH,UAAU,EAAEA,UAAU;EACtBC,OAAO;EACPC;AACD,CAAC;AAGD,SAASN,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASQ,MAAM,QAAQ,qBAAqB;AAC5C,SACCC,kCAAkC,EAClCC,gCAAgC,EAChCC,eAAe,QACT,aAAa;AACpB,SAASC,UAAU,QAAQ,gCAAgC;AAC3D,SAECC,cAAc,QACR,qCAAqC;AAC5C,SAECC,kBAAkB,QACZ,8BAA8B;AACrC,SAECC,gBAAgB,QACV,sDAAsD","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["FlatList","Pressable","ScrollView","View","withScreenTransitions","Boundary","createBoundaryComponent","createTransitionAwareComponent","MaskedView","Presets","Specs","isScrollable","snapTo","blockTransition","unblockTransition","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","TRANSFORM_RESET","useHistory","useScreenState","useScreenAnimation","useScreenGesture"],"sourceRoot":"../../../src","sources":["shared/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACpE,SAASC,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASC,QAAQ,EAAEC,uBAAuB,QAAQ,uBAAuB;AACzE,SAASC,8BAA8B,QAAQ,gDAAgD;AAC/F,OAAOC,UAAU,MAAM,0BAA0B;AACjD,SAASC,OAAO,EAAEC,KAAK,QAAQ,WAAW;AAE1C,eAAe;EACdH,8BAA8B;EAC9BD,uBAAuB;EACvBF,qBAAqB;EACrBC,QAAQ;EACRF,IAAI,EAAEI,8BAA8B,CAACJ,IAAI,CAAC;EAC1CF,SAAS,EAAEM,8BAA8B,CAACN,SAAS,CAAC;EACpDC,UAAU,EAAEK,8BAA8B,CAACL,UAAU,EAAE;IACtDS,YAAY,EAAE;EACf,CAAC,CAAC;EACFX,QAAQ,EAAEO,8BAA8B,CAACP,QAAQ,EAAE;IAClDW,YAAY,EAAE;EACf,CAAC,CAAC;EACF;AACD;AACA;AACA;EACCH,UAAU,EAAEA,UAAU;EACtBC,OAAO;EACPC;AACD,CAAC;AAGD,SAASN,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASQ,MAAM,QAAQ,qBAAqB;AAC5C,SACCC,eAAe,EACfC,iBAAiB,QACX,iCAAiC;AACxC,SACCC,kCAAkC,EAClCC,gCAAgC,EAChCC,eAAe,QACT,aAAa;AACpB,SAASC,UAAU,QAAQ,gCAAgC;AAC3D,SAECC,cAAc,QACR,qCAAqC;AAC5C,SAECC,kBAAkB,QACZ,8BAA8B;AACrC,SAECC,gBAAgB,QACV,sDAAsD","ignoreList":[]}
|
package/lib/module/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
export const readScreenAnimationRevisions = (screenInterpolatorPropsRevision, ancestorScreenAnimationSources, descendantScreenAnimationSources) => {
|
|
3
|
+
export const readScreenAnimationRevisions = (screenInterpolatorPropsRevision, ancestorScreenAnimationSources, descendantScreenAnimationSources, screenInterpolatorExternalDeps) => {
|
|
4
4
|
"worklet";
|
|
5
5
|
|
|
6
6
|
screenInterpolatorPropsRevision.get();
|
|
@@ -11,5 +11,10 @@ export const readScreenAnimationRevisions = (screenInterpolatorPropsRevision, an
|
|
|
11
11
|
for (let index = 0; index < descendantSources.length; index++) {
|
|
12
12
|
descendantSources[index]?.source.screenInterpolatorPropsRevision.get();
|
|
13
13
|
}
|
|
14
|
+
if (screenInterpolatorExternalDeps) {
|
|
15
|
+
for (let index = 0; index < screenInterpolatorExternalDeps.length; index++) {
|
|
16
|
+
screenInterpolatorExternalDeps[index]?.get();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
14
19
|
};
|
|
15
20
|
//# sourceMappingURL=read-screen-animation-revisions.js.map
|
package/lib/module/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["readScreenAnimationRevisions","screenInterpolatorPropsRevision","ancestorScreenAnimationSources","descendantScreenAnimationSources","get","index","length","descendantSources","source"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/animation/helpers/read-screen-animation-revisions.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["readScreenAnimationRevisions","screenInterpolatorPropsRevision","ancestorScreenAnimationSources","descendantScreenAnimationSources","screenInterpolatorExternalDeps","get","index","length","descendantSources","source"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/animation/helpers/read-screen-animation-revisions.ts"],"mappings":";;AASA,OAAO,MAAMA,4BAA4B,GAAGA,CAC3CC,+BAAgE,EAChEC,8BAAuD,EACvDC,gCAAkE,EAClEC,8BAA+D,KAC3D;EACJ,SAAS;;EACTH,+BAA+B,CAACI,GAAG,CAAC,CAAC;EAErC,KAAK,IAAIC,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGJ,8BAA8B,CAACK,MAAM,EAAED,KAAK,EAAE,EAAE;IAC3EJ,8BAA8B,CAC7BI,KAAK,CACL,EAAEL,+BAA+B,CAACI,GAAG,CAAC,CAAC;EACzC;EAEA,MAAMG,iBAAiB,GAAGL,gCAAgC,CAACE,GAAG,CAAC,CAAC;EAChE,KAAK,IAAIC,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGE,iBAAiB,CAACD,MAAM,EAAED,KAAK,EAAE,EAAE;IAC9DE,iBAAiB,CAACF,KAAK,CAAC,EAAEG,MAAM,CAACR,+BAA+B,CAACI,GAAG,CAAC,CAAC;EACvE;EAEA,IAAID,8BAA8B,EAAE;IACnC,KACC,IAAIE,KAAK,GAAG,CAAC,EACbA,KAAK,GAAGF,8BAA8B,CAACG,MAAM,EAC7CD,KAAK,EAAE,EACN;MACDF,8BAA8B,CAACE,KAAK,CAAC,EAAED,GAAG,CAAC,CAAC;IAC7C;EACD;AACD,CAAC","ignoreList":[]}
|
package/lib/module/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const isSharedValueLike = value => value?._isReanimatedSharedValue === true;
|
|
4
|
+
const getWorkletClosure = value => {
|
|
5
|
+
if (value === null || typeof value !== "object" && typeof value !== "function") {
|
|
6
|
+
return undefined;
|
|
7
|
+
}
|
|
8
|
+
const closure = value.__closure;
|
|
9
|
+
return closure && typeof closure === "object" ? closure : undefined;
|
|
10
|
+
};
|
|
11
|
+
const isPlainObject = value => value !== null && typeof value === "object" && Object.getPrototypeOf(value) === Object.prototype;
|
|
12
|
+
export const collectInterpolatorSharedValues = interpolators => {
|
|
13
|
+
const sharedValues = [];
|
|
14
|
+
const seen = new Set();
|
|
15
|
+
const visit = value => {
|
|
16
|
+
if (value === null || value === undefined || seen.has(value)) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
seen.add(value);
|
|
20
|
+
if (isSharedValueLike(value)) {
|
|
21
|
+
sharedValues.push(value);
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
if (typeof value === "function") {
|
|
25
|
+
visit(getWorkletClosure(value));
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (Array.isArray(value)) {
|
|
29
|
+
for (let index = 0; index < value.length; index++) {
|
|
30
|
+
visit(value[index]);
|
|
31
|
+
}
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (isPlainObject(value)) {
|
|
35
|
+
for (const item of Object.values(value)) {
|
|
36
|
+
visit(item);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
for (let index = 0; index < interpolators.length; index++) {
|
|
41
|
+
visit(getWorkletClosure(interpolators[index]));
|
|
42
|
+
}
|
|
43
|
+
return sharedValues;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=collect-interpolator-shared-values.js.map
|
package/lib/module/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isSharedValueLike","value","_isReanimatedSharedValue","getWorkletClosure","undefined","closure","__closure","isPlainObject","Object","getPrototypeOf","prototype","collectInterpolatorSharedValues","interpolators","sharedValues","seen","Set","visit","has","add","push","Array","isArray","index","length","item","values"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/helpers/collect-interpolator-shared-values.ts"],"mappings":";;AAaA,MAAMA,iBAAiB,GAAIC,KAAc,IACvCA,KAAK,EAAsCC,wBAAwB,KAAK,IAAI;AAE9E,MAAMC,iBAAiB,GAAIF,KAAc,IAAiC;EACzE,IACCA,KAAK,KAAK,IAAI,IACb,OAAOA,KAAK,KAAK,QAAQ,IAAI,OAAOA,KAAK,KAAK,UAAW,EACzD;IACD,OAAOG,SAAS;EACjB;EAEA,MAAMC,OAAO,GAAIJ,KAAK,CAA6BK,SAAS;EAC5D,OAAOD,OAAO,IAAI,OAAOA,OAAO,KAAK,QAAQ,GAAGA,OAAO,GAAGD,SAAS;AACpE,CAAC;AAED,MAAMG,aAAa,GAAIN,KAAc,IACpCA,KAAK,KAAK,IAAI,IACd,OAAOA,KAAK,KAAK,QAAQ,IACzBO,MAAM,CAACC,cAAc,CAACR,KAAK,CAAC,KAAKO,MAAM,CAACE,SAAS;AAElD,OAAO,MAAMC,+BAA+B,GAC3CC,aAAyD,IAC7B;EAC5B,MAAMC,YAAoC,GAAG,EAAE;EAC/C,MAAMC,IAAI,GAAG,IAAIC,GAAG,CAAU,CAAC;EAE/B,MAAMC,KAAK,GAAIf,KAAc,IAAK;IACjC,IAAIA,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAKG,SAAS,IAAIU,IAAI,CAACG,GAAG,CAAChB,KAAK,CAAC,EAAE;MAC7D;IACD;IACAa,IAAI,CAACI,GAAG,CAACjB,KAAK,CAAC;IAEf,IAAID,iBAAiB,CAACC,KAAK,CAAC,EAAE;MAC7BY,YAAY,CAACM,IAAI,CAAClB,KAAK,CAAC;MACxB;IACD;IAEA,IAAI,OAAOA,KAAK,KAAK,UAAU,EAAE;MAChCe,KAAK,CAACb,iBAAiB,CAACF,KAAK,CAAC,CAAC;MAC/B;IACD;IAEA,IAAImB,KAAK,CAACC,OAAO,CAACpB,KAAK,CAAC,EAAE;MACzB,KAAK,IAAIqB,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGrB,KAAK,CAACsB,MAAM,EAAED,KAAK,EAAE,EAAE;QAClDN,KAAK,CAACf,KAAK,CAACqB,KAAK,CAAC,CAAC;MACpB;MACA;IACD;IAEA,IAAIf,aAAa,CAACN,KAAK,CAAC,EAAE;MACzB,KAAK,MAAMuB,IAAI,IAAIhB,MAAM,CAACiB,MAAM,CAACxB,KAAK,CAAC,EAAE;QACxCe,KAAK,CAACQ,IAAI,CAAC;MACZ;IACD;EACD,CAAC;EAED,KAAK,IAAIF,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGV,aAAa,CAACW,MAAM,EAAED,KAAK,EAAE,EAAE;IAC1DN,KAAK,CAACb,iBAAiB,CAACS,aAAa,CAACU,KAAK,CAAC,CAAC,CAAC;EAC/C;EAEA,OAAOT,YAAY;AACpB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { useMemo } from "react";
|
|
3
4
|
import { useDerivedValue, useSharedValue } from "react-native-reanimated";
|
|
4
5
|
import { NO_STYLES } from "../../../../constants";
|
|
5
6
|
import { AnimationStore } from "../../../../stores/animation.store";
|
|
@@ -12,6 +13,7 @@ import { readScreenAnimationRevisions } from "../../animation/helpers/read-scree
|
|
|
12
13
|
import { syncSelectedInterpolatorOptions } from "../../animation/helpers/selected-interpolator-options";
|
|
13
14
|
import { useDescriptorsStore } from "../../descriptors";
|
|
14
15
|
import { syncScreenOptionsOverrides, useScreenOptionsContext } from "../../options";
|
|
16
|
+
import { collectInterpolatorSharedValues } from "../helpers/collect-interpolator-shared-values";
|
|
15
17
|
import { normalizeSlots } from "../helpers/normalize-slots";
|
|
16
18
|
import { isOpeningBeforeStart } from "../helpers/opening-phase";
|
|
17
19
|
import { stripInterpolatorOptions } from "../helpers/strip-interpolator-options";
|
|
@@ -102,6 +104,10 @@ export const useInterpolatedStylesMap = () => {
|
|
|
102
104
|
const boundsAccessor = useBuildBoundsAccessor();
|
|
103
105
|
const transition = useBuildTransitionAccessor();
|
|
104
106
|
const nextInterpolatorReady = useSharedValue(0);
|
|
107
|
+
|
|
108
|
+
// In some cases, a user may want to use external shared values to drive animations in the interpoaltor.
|
|
109
|
+
// We can now support this by collecting those shared values and reading them here to trigger an update.
|
|
110
|
+
const interpolatorSharedValues = useMemo(() => collectInterpolatorSharedValues([currentInterpolator, nextInterpolator]), [currentInterpolator, nextInterpolator]);
|
|
105
111
|
const activeScreenKey = nextScreenKey ?? currentScreenKey;
|
|
106
112
|
const {
|
|
107
113
|
entering: activeEntering,
|
|
@@ -114,7 +120,7 @@ export const useInterpolatedStylesMap = () => {
|
|
|
114
120
|
const localStylesMaps = useDerivedValue(() => {
|
|
115
121
|
"worklet";
|
|
116
122
|
|
|
117
|
-
readScreenAnimationRevisions(screenInterpolatorPropsRevision, ancestorScreenAnimationSources, descendantScreenAnimationSources);
|
|
123
|
+
readScreenAnimationRevisions(screenInterpolatorPropsRevision, ancestorScreenAnimationSources, descendantScreenAnimationSources, interpolatorSharedValues);
|
|
118
124
|
const props = screenInterpolatorProps.get();
|
|
119
125
|
const {
|
|
120
126
|
current,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useDerivedValue","useSharedValue","NO_STYLES","AnimationStore","LifecycleTransitionRequestKind","SystemStore","logger","useScreenAnimationContext","useBuildBoundsAccessor","useBuildTransitionAccessor","readScreenAnimationRevisions","syncSelectedInterpolatorOptions","useDescriptorsStore","syncScreenOptionsOverrides","useScreenOptionsContext","normalizeSlots","isOpeningBeforeStart","stripInterpolatorOptions","NO_STYLE_LAYERS","normalizeRawStyleMap","rawStyleMap","stylesMap","runInterpolator","interpolator","props","progress","next","bounds","transition","undefined","raw","_","__DEV__","warn","appendLayer","layers","result","push","useInterpolatedStylesMap","currentScreenKey","s","derivations","nextScreenKey","screenOptions","screenInterpolatorProps","screenInterpolatorPropsRevision","selectedInterpolatorOptions","nextInterpolator","currentInterpolator","ancestorScreenAnimationSources","descendantScreenAnimationSources","boundsAccessor","nextInterpolatorReady","activeScreenKey","entering","activeEntering","transitionProgress","activeTransitionProgress","getBag","pendingLifecycleRequestKind","activePendingLifecycleRequestKind","isGesturingDuringCloseAnimation","localStylesMaps","get","current","isDragging","gesture","dragging","isNextClosing","closing","set","isInGestureMode","isPendingOpen","Open","activeOpening","currentOwnsInterpolator","interpolatorOptionsOwner","selectedProgress","selectedNext","currentResult","options","nextResult","length"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"mappings":";;AAAA,SAASA,eAAe,EAAEC,cAAc,QAAQ,yBAAyB;AACzE,SAASC,SAAS,QAAQ,uBAAuB;AACjD,SAASC,cAAc,QAAQ,oCAAoC;AACnE,SACCC,8BAA8B,EAC9BC,WAAW,QACL,iCAAiC;AAMxC,SAASC,MAAM,QAAQ,0BAA0B;AACjD,SAASC,yBAAyB,QAAQ,iBAAiB;AAC3D,SAASC,sBAAsB,QAAQ,6DAA6D;AACpG,SAASC,0BAA0B,QAAQ,iEAAiE;AAE5G,SAASC,4BAA4B,QAAQ,yDAAyD;AACtG,SAASC,+BAA+B,QAAQ,uDAAuD;AACvG,SAASC,mBAAmB,QAAQ,mBAAmB;AACvD,SACCC,0BAA0B,EAC1BC,uBAAuB,QACjB,eAAe;AACtB,SAASC,cAAc,QAAQ,4BAA4B;AAC3D,SAASC,oBAAoB,QAAQ,0BAA0B;AAE/D,SAASC,wBAAwB,QAAQ,uCAAuC;AAEhF,MAAMC,eAAiC,GAAG,EAAE;AAgB5C,MAAMC,oBAAoB,GACzBC,WAAoD,IAChD;EACJ,SAAS;;EAET,IAAI,CAACA,WAAW,EAAE;IACjB,
|
|
1
|
+
{"version":3,"names":["useMemo","useDerivedValue","useSharedValue","NO_STYLES","AnimationStore","LifecycleTransitionRequestKind","SystemStore","logger","useScreenAnimationContext","useBuildBoundsAccessor","useBuildTransitionAccessor","readScreenAnimationRevisions","syncSelectedInterpolatorOptions","useDescriptorsStore","syncScreenOptionsOverrides","useScreenOptionsContext","collectInterpolatorSharedValues","normalizeSlots","isOpeningBeforeStart","stripInterpolatorOptions","NO_STYLE_LAYERS","normalizeRawStyleMap","rawStyleMap","stylesMap","runInterpolator","interpolator","props","progress","next","bounds","transition","undefined","raw","_","__DEV__","warn","appendLayer","layers","result","push","useInterpolatedStylesMap","currentScreenKey","s","derivations","nextScreenKey","screenOptions","screenInterpolatorProps","screenInterpolatorPropsRevision","selectedInterpolatorOptions","nextInterpolator","currentInterpolator","ancestorScreenAnimationSources","descendantScreenAnimationSources","boundsAccessor","nextInterpolatorReady","interpolatorSharedValues","activeScreenKey","entering","activeEntering","transitionProgress","activeTransitionProgress","getBag","pendingLifecycleRequestKind","activePendingLifecycleRequestKind","isGesturingDuringCloseAnimation","localStylesMaps","get","current","isDragging","gesture","dragging","isNextClosing","closing","set","isInGestureMode","isPendingOpen","Open","activeOpening","currentOwnsInterpolator","interpolatorOptionsOwner","selectedProgress","selectedNext","currentResult","options","nextResult","length"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,eAAe,EAAEC,cAAc,QAAQ,yBAAyB;AACzE,SAASC,SAAS,QAAQ,uBAAuB;AACjD,SAASC,cAAc,QAAQ,oCAAoC;AACnE,SACCC,8BAA8B,EAC9BC,WAAW,QACL,iCAAiC;AAMxC,SAASC,MAAM,QAAQ,0BAA0B;AACjD,SAASC,yBAAyB,QAAQ,iBAAiB;AAC3D,SAASC,sBAAsB,QAAQ,6DAA6D;AACpG,SAASC,0BAA0B,QAAQ,iEAAiE;AAE5G,SAASC,4BAA4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