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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { View, ViewProps } from "react-native";
|
|
3
|
+
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
|
+
type BoundaryPortalSlotProps = {
|
|
5
|
+
id: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
animatedProps: any;
|
|
9
|
+
pointerEvents?: ViewProps["pointerEvents"];
|
|
10
|
+
placeholderRef?: AnimatedRef<View>;
|
|
11
|
+
};
|
|
12
|
+
export declare const BoundaryPortalSlot: import("react").MemoExoticComponent<({ id, children, enabled, animatedProps, pointerEvents, placeholderRef, }: BoundaryPortalSlotProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=portal-slot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAiB,EAAE,KAAK,WAAW,EAAW,MAAM,yBAAyB,CAAC;AAqB9E,KAAK,uBAAuB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,GAAG,CAAC;IACnB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,kBAAkB,iHAO5B,uBAAuB,6UAmCxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"has-local-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uEAAuE,CAAC;AAE9G,eAAO,MAAM,YAAY,GACxB,iBAAiB,gBAAgB,EACjC,QAAQ,MAAM,YAWd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-name.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,GACxC,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,UAAU,MAAM,GAAG,IAAI,WAIvB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StyleProps } from "react-native-reanimated";
|
|
2
|
-
import type { ScrollMeasuredDimensions } from "
|
|
2
|
+
import type { ScrollMeasuredDimensions } from "../../../../utils/measured-bounds";
|
|
3
3
|
/**
|
|
4
4
|
* The two portal coordinate cases we support:
|
|
5
5
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offset-style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,cAAc,CAAC;AAEnE,KAAK,8BAA8B,GAAG;IACrC,uEAAuE;IACvE,MAAM,EAAE,wBAAwB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,qBAAqB,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,+CAKtC,8BAA8B,KAAG,UAyCnC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface UseBoundaryPortalAttachmentParams {
|
|
2
|
+
boundaryId: string;
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const useBoundaryPortalAttachment: ({ boundaryId, enabled, }: UseBoundaryPortalAttachmentParams) => {
|
|
6
|
+
teleportProps: Partial<{
|
|
7
|
+
hostName: string | null;
|
|
8
|
+
}>;
|
|
9
|
+
visiblePortalHostName: import("react-native-reanimated").SharedValue<string | null>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=use-boundary-portal-attachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AA0BA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,2BAA2B,GAAI,0BAGzC,iCAAiC;;;;;CAuNnC,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
|
+
import { type SharedValue } from "react-native-reanimated";
|
|
2
3
|
type UseHostMeasurementParams = {
|
|
3
4
|
capturesScroll: boolean;
|
|
4
5
|
enabled: boolean;
|
|
5
6
|
hostKey: string;
|
|
6
7
|
screenKey: string;
|
|
8
|
+
visibilityBlocked: SharedValue<boolean>;
|
|
9
|
+
viewportHeight: number;
|
|
10
|
+
viewportWidth: number;
|
|
7
11
|
};
|
|
8
|
-
export declare const useHostMeasurement: ({ capturesScroll, enabled, hostKey, screenKey, }: UseHostMeasurementParams) => {
|
|
12
|
+
export declare const useHostMeasurement: ({ capturesScroll, enabled, hostKey, screenKey, visibilityBlocked, viewportHeight, viewportWidth, }: UseHostMeasurementParams) => {
|
|
9
13
|
canRenderHosts: boolean;
|
|
10
14
|
hostRef: import("react-native-reanimated").AnimatedRef<View>;
|
|
11
15
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAKN,KAAK,WAAW,EAMhB,MAAM,yBAAyB,CAAC;AAgBjC,KAAK,wBAAwB,GAAG;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,oGAQhC,wBAAwB;;;CAyG1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LayoutRectangle } from "react-native";
|
|
2
|
+
export declare const usePlaceholderStyles: () => {
|
|
3
|
+
placeholderStyle: {
|
|
4
|
+
readonly width: "auto";
|
|
5
|
+
readonly height: "auto";
|
|
6
|
+
} | {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
};
|
|
10
|
+
handleOnLayout: (layout: LayoutRectangle) => void;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=use-placeholder-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-placeholder-styles.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,oBAAoB;;;;;;;;6BAoBtB,eAAe;CAmBzB,CAAC"}
|
package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { View, ViewProps } from "react-native";
|
|
3
|
+
import type { AnimatedRef } from "react-native-reanimated";
|
|
4
|
+
type BoundaryPortalProps = {
|
|
5
|
+
boundaryId: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
placeholderRef?: AnimatedRef<View>;
|
|
9
|
+
pointerEvents?: ViewProps["pointerEvents"];
|
|
10
|
+
};
|
|
11
|
+
export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, placeholderRef, pointerEvents, }: BoundaryPortalProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,KAAK,mBAAmB,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACnC,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,cAAc,0GAMxB,mBAAmB,6CAiBpB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MeasuredDimensions } from "react-native-reanimated";
|
|
2
|
-
import type { ScrollMetadataState } from "
|
|
2
|
+
import type { ScrollMetadataState } from "../../../../../../types/gesture.types";
|
|
3
3
|
export type PortalHostBounds = MeasuredDimensions & {
|
|
4
4
|
scroll?: ScrollMetadataState | null;
|
|
5
5
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-bounds.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAe,MAAM,yBAAyB,CAAC;AAE/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG;IACnD,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACpC,CAAC;AAMF,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,4BAGlD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC/B,SAAS,MAAM,EACf,QAAQ,gBAAgB,SAexB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,SAAS,MAAM,SAQpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC;AA6DF,eAAO,MAAM,YAAY,GAAI,cAAc,gBAAgB,SA0B1D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,SAoBhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,WAEjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,GAAG,IAAI,uBAMzD,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAI7B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { LocalStyleLayers } from "
|
|
3
|
-
import type { NormalizedTransitionInterpolatedStyle } from "
|
|
2
|
+
import type { LocalStyleLayers } from "../../../../../../providers/screen/styles/helpers/resolve-slot-styles";
|
|
3
|
+
import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../types/animation.types";
|
|
4
4
|
export type ActivePortalBoundaryHost = {
|
|
5
5
|
boundaryId: string;
|
|
6
6
|
escapeClipping: boolean;
|
|
@@ -12,7 +12,7 @@ export type ActivePortalBoundaryHost = {
|
|
|
12
12
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
13
13
|
};
|
|
14
14
|
export declare const mountPortalBoundaryHost: (host: ActivePortalBoundaryHost) => void;
|
|
15
|
-
export declare const
|
|
15
|
+
export declare const unmountPortalBoundaryHostByName: (portalHostName: string | null | undefined) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Post-handoff GC: drop every receiver for this boundary except the one now
|
|
18
18
|
* visible (`keepPortalHostName`). Called once the new host is confirmed on
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uEAAuE,CAAC;AAC9G,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAErG,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAqDF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,gBAAgB,MAAM,GAAG,IAAI,GAAG,SAAS,SAOzC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,GAAI,qCAG1C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;CAC3B,SAwBA,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
export declare const PORTAL_HOST_NAME_RESET_VALUE: null;
|
|
2
|
-
export declare const createPortalBoundaryHostName: (hostKey: string, boundaryId: string, pairKey?: string | null) => string;
|
|
3
|
-
export declare const createBoundaryLocalPortalHostName: (screenKey: string, boundaryId: string) => string;
|
|
4
2
|
//# sourceMappingURL=naming.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/naming.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,MAAO,CAAC
|
|
1
|
+
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/naming.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,MAAO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LinkPairsState, ScreenKey, ScreenPairKey
|
|
1
|
+
import type { LinkPairsState, ScreenKey, ScreenPairKey } from "../../../../stores/bounds/types";
|
|
2
2
|
export type PortalOwnershipSignal = {
|
|
3
3
|
hostScreenKey: null;
|
|
4
4
|
ownerPairKey?: ScreenPairKey;
|
|
@@ -10,16 +10,20 @@ export type PortalOwnershipSignal = {
|
|
|
10
10
|
ownerScreenKey: ScreenKey;
|
|
11
11
|
status: "complete";
|
|
12
12
|
};
|
|
13
|
-
export declare const
|
|
14
|
-
|
|
13
|
+
export declare const isHandoffHostClosingComplete: ({ closing, progressAnimating, progressSettled, willAnimate, }: {
|
|
14
|
+
closing: number;
|
|
15
|
+
progressAnimating: number;
|
|
16
|
+
progressSettled: number;
|
|
17
|
+
willAnimate: number;
|
|
18
|
+
}) => boolean;
|
|
19
|
+
export declare const canSwitchHandoffHostImmediately: ({ hostScreenKey, ownerPairKey, previousOwnerPairKey, }: {
|
|
15
20
|
hostScreenKey: ScreenKey | null;
|
|
16
21
|
ownerPairKey?: ScreenPairKey;
|
|
17
22
|
previousOwnerPairKey?: ScreenPairKey;
|
|
18
23
|
}) => boolean;
|
|
19
|
-
export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScreenKey,
|
|
24
|
+
export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScreenKey, handoff, isSettledHostClosingComplete, isSettledHostReady, pairsState, settledHostScreenKey, sourcePairKey, }: {
|
|
20
25
|
boundaryId: string;
|
|
21
26
|
currentScreenKey: ScreenKey;
|
|
22
|
-
escapeClipping: boolean;
|
|
23
27
|
handoff: boolean;
|
|
24
28
|
isSettledHostClosingComplete?: boolean;
|
|
25
29
|
isSettledHostReady?: boolean;
|
|
@@ -27,9 +31,4 @@ export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScree
|
|
|
27
31
|
settledHostScreenKey?: ScreenKey | null;
|
|
28
32
|
sourcePairKey: ScreenPairKey;
|
|
29
33
|
}) => PortalOwnershipSignal;
|
|
30
|
-
export declare const hasHandoffEscapeContinuation: ({ linkKey, linkState, sourceScreenKey, }: {
|
|
31
|
-
linkKey: string;
|
|
32
|
-
linkState: LinkPairsState;
|
|
33
|
-
sourceScreenKey: ScreenKey;
|
|
34
|
-
}) => boolean;
|
|
35
34
|
//# sourceMappingURL=ownership.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ownership.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/ownership.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEX,cAAc,EACd,SAAS,EACT,aAAa,
|
|
1
|
+
{"version":3,"file":"ownership.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/ownership.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEX,cAAc,EACd,SAAS,EACT,aAAa,EAEb,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,qBAAqB,GAC9B;IACA,aAAa,EAAE,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3B,GACD;IACA,aAAa,EAAE,SAAS,CAAC;IACzB,YAAY,EAAE,aAAa,CAAC;IAC5B,cAAc,EAAE,SAAS,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;CAClB,CAAC;AAEL,eAAO,MAAM,4BAA4B,GAAI,+DAK1C;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACpB,YAWA,CAAC;AAsCF,eAAO,MAAM,+BAA+B,GAAI,wDAI7C;IACF,aAAa,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,oBAAoB,CAAC,EAAE,aAAa,CAAC;CACrC,YAmBA,CAAC;AA6DF,eAAO,MAAM,8BAA8B,GAAI,+IAS5C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,SAAS,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,cAAc,CAAC;IAC3B,oBAAoB,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxC,aAAa,EAAE,aAAa,CAAC;CAC7B,KAAG,qBAyHH,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import { type ForwardedRef, type ReactNode } from "react";
|
|
2
2
|
import type { View } from "react-native";
|
|
3
3
|
import type { AnimatedRef, StyleProps } from "react-native-reanimated";
|
|
4
4
|
import type { BoundTag } from "../../../stores/bounds/types";
|
|
5
|
-
import type
|
|
6
|
-
|
|
5
|
+
import { type BoundaryPortalRuntime } from "../portal/utils/resolve-portal";
|
|
6
|
+
import type { BoundaryConfigProps, BoundaryId, BoundaryOwnProps } from "../types";
|
|
7
|
+
interface BoundaryRootContextValue extends BoundaryRootRenderState {
|
|
7
8
|
registerTargetRef: (targetRef: AnimatedRef<View>, preparedStyles: StyleProps, measurementRef?: AnimatedRef<View>) => void;
|
|
8
9
|
unregisterTargetRef: (targetRef: AnimatedRef<View>) => void;
|
|
9
10
|
activeTargetRef: AnimatedRef<View> | null;
|
|
@@ -11,27 +12,26 @@ interface BoundaryRootContextValue {
|
|
|
11
12
|
portalRuntime: BoundaryPortalRuntime;
|
|
12
13
|
}
|
|
13
14
|
export declare const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside Transition.Boundary or a component created by createBoundaryComponent.";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
}
|
|
18
|
-
export declare const BoundaryRootProvider: import("react").FC<BoundaryRootProps>, useBoundaryRootContext: () => BoundaryRootContextValue | null;
|
|
19
|
-
export declare const useBoundaryRootState: (params: {
|
|
15
|
+
export type BoundaryRootRenderState = {
|
|
16
|
+
attachedStyle: unknown;
|
|
20
17
|
boundTag: BoundTag;
|
|
18
|
+
currentScreenKey: string;
|
|
21
19
|
portalRuntime: BoundaryPortalRuntime;
|
|
22
|
-
rootMeasurementRef?: AnimatedRef<View>;
|
|
23
|
-
}) => {
|
|
24
20
|
ref: AnimatedRef<View>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
rootEscapePlaceholderRef: AnimatedRef<View>;
|
|
22
|
+
shouldRenderBoundaryRootThroughPortal: boolean;
|
|
23
|
+
shouldRenderHandoffHost: boolean;
|
|
24
|
+
};
|
|
25
|
+
type BoundaryRootProviderProps = Pick<BoundaryOwnProps, "enabled" | "escapeClipping" | "group" | "handoff"> & {
|
|
26
|
+
children: (state: BoundaryRootRenderState) => ReactNode;
|
|
27
|
+
config: BoundaryConfigProps;
|
|
28
|
+
forwardedRef?: ForwardedRef<any>;
|
|
29
|
+
id: BoundaryId;
|
|
30
|
+
style?: unknown;
|
|
31
|
+
};
|
|
32
|
+
export declare const BoundaryRootProvider: import("react").FC<BoundaryRootProviderProps>, useBoundaryRootContext: () => BoundaryRootContextValue | null, useBoundaryRootStore: {
|
|
33
|
+
(): BoundaryRootContextValue | null;
|
|
34
|
+
<Selected>(selector: (value: BoundaryRootContextValue | null) => Selected): Selected;
|
|
35
35
|
};
|
|
36
36
|
export {};
|
|
37
37
|
//# sourceMappingURL=boundary-root.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"boundary-root.provider.d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CAAC;CACjC,CAAC;AAEF,KAAK,yBAAyB,GAAG,IAAI,CACpC,gBAAgB,EAChB,SAAS,GAAG,gBAAgB,GAAG,OAAO,GAAG,SAAS,CAClD,GAAG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,SAAS,CAAC;IACxD,MAAM,EAAE,mBAAmB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACjC,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MACN,oBAAoB,iDACpB,sBAAsB,yCACtB,oBAAoB;;;CAwJpB,CAAC"}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import type { LinkPairsState, ScreenPairKey } from "../../../stores/bounds/types";
|
|
2
|
-
export
|
|
2
|
+
export type InitialDestinationMeasurementAction = "wait" | "release" | "measure" | "complete";
|
|
3
|
+
export type InitialDestinationMeasurementSignal = {
|
|
4
|
+
pairKey: ScreenPairKey;
|
|
5
|
+
action: InitialDestinationMeasurementAction;
|
|
6
|
+
};
|
|
7
|
+
export declare const getInitialDestinationMeasurementSignal: (params: {
|
|
3
8
|
enabled: boolean;
|
|
4
9
|
destinationPairKey?: ScreenPairKey;
|
|
5
10
|
ancestorDestinationPairKey?: ScreenPairKey;
|
|
6
11
|
linkId: string;
|
|
7
12
|
group?: string;
|
|
13
|
+
destinationPresent: boolean;
|
|
14
|
+
sourcePresent: boolean;
|
|
8
15
|
linkState?: LinkPairsState;
|
|
9
|
-
}) =>
|
|
16
|
+
}) => InitialDestinationMeasurementSignal | null;
|
|
10
17
|
//# sourceMappingURL=destination-signals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destination-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/destination-signals.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAEtC,
|
|
1
|
+
{"version":3,"file":"destination-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/destination-signals.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,mCAAmC,GAC5C,MAAM,GACN,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AAEd,MAAM,MAAM,mCAAmC,GAAG;IACjD,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,mCAAmC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,sCAAsC,GAAI,QAAQ;IAC9D,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,0BAA0B,CAAC,EAAE,aAAa,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,mCAAmC,GAAG,IA6CzC,CAAC"}
|
|
@@ -7,6 +7,14 @@ export type ScrollMeasuredDimensions = MeasuredDimensions & {
|
|
|
7
7
|
export declare const adjustedMeasuredBoundsForOverscrollDeltas: (measured: MeasuredDimensions, scrollState: ScrollGestureState | ScrollMetadataState | null) => MeasuredDimensions;
|
|
8
8
|
export declare const normalizeMeasuredBoundsToOrigin: (measured: MeasuredDimensions, origin: MeasuredDimensions) => MeasuredDimensions;
|
|
9
9
|
export declare const isMeasurementInViewport: (measured: MeasuredDimensions, viewportWidth: number, viewportHeight: number) => boolean;
|
|
10
|
+
export declare const normalizeMeasuredBoundsWithVisibilityGate: ({ measured, origin, visibilityBlocked, visibilityBlockOffset, viewportWidth, viewportHeight, }: {
|
|
11
|
+
measured: MeasuredDimensions;
|
|
12
|
+
origin: MeasuredDimensions;
|
|
13
|
+
visibilityBlocked: boolean;
|
|
14
|
+
visibilityBlockOffset: number;
|
|
15
|
+
viewportWidth: number;
|
|
16
|
+
viewportHeight: number;
|
|
17
|
+
}) => MeasuredDimensions;
|
|
10
18
|
export declare const measureWithOverscrollAwareness: (ref: AnimatedRef<View>, scrollState: ScrollGestureState | null) => MeasuredDimensions | null;
|
|
11
19
|
export declare const attachScrollSnapshotToMeasuredBounds: (measured: MeasuredDimensions, scroll: ScrollMetadataState | null | undefined) => ScrollMeasuredDimensions;
|
|
12
20
|
//# sourceMappingURL=measured-bounds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measured-bounds.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/measured-bounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAEX,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,8BAA8B,CAAC;AAItC,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,GAAG;IAC3D,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACpC,CAAC;AAgBF,eAAO,MAAM,yCAAyC,GACrD,UAAU,kBAAkB,EAC5B,aAAa,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,KAC1D,kBAqBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,UAAU,kBAAkB,EAC5B,QAAQ,kBAAkB,KACxB,kBAOF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,kBAAkB,EAC5B,eAAe,MAAM,EACrB,gBAAgB,MAAM,KACpB,OAkBF,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAC1C,KAAK,WAAW,CAAC,IAAI,CAAC,EACtB,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAAkB,GAAG,IAMvB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAChD,UAAU,kBAAkB,EAC5B,QAAQ,mBAAmB,GAAG,IAAI,GAAG,SAAS,KAC5C,wBAOF,CAAC"}
|
|
1
|
+
{"version":3,"file":"measured-bounds.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/measured-bounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAEX,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,8BAA8B,CAAC;AAItC,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,GAAG;IAC3D,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACpC,CAAC;AAgBF,eAAO,MAAM,yCAAyC,GACrD,UAAU,kBAAkB,EAC5B,aAAa,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,KAC1D,kBAqBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,UAAU,kBAAkB,EAC5B,QAAQ,kBAAkB,KACxB,kBAOF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,kBAAkB,EAC5B,eAAe,MAAM,EACrB,gBAAgB,MAAM,KACpB,OAkBF,CAAC;AAEF,eAAO,MAAM,yCAAyC,GAAI,gGAOvD;IACF,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACvB,KAAG,kBAgCH,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAC1C,KAAK,WAAW,CAAC,IAAI,CAAC,EACtB,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAAkB,GAAG,IAMvB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAChD,UAAU,kBAAkB,EAC5B,QAAQ,mBAAmB,GAAG,IAAI,GAAG,SAAS,KAC5C,wBAOF,CAAC"}
|
|
@@ -1343,6 +1343,7 @@ export default _default;
|
|
|
1343
1343
|
export type { NativeStackAdapterOptions } from "./adapters/with-screen-transitions";
|
|
1344
1344
|
export { withScreenTransitions } from "./adapters/with-screen-transitions";
|
|
1345
1345
|
export { snapTo } from "./animation/snap-to";
|
|
1346
|
+
export { blockTransition, unblockTransition, } from "./animation/transition-blocking";
|
|
1346
1347
|
export { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID, TRANSFORM_RESET, } from "./constants";
|
|
1347
1348
|
export { useHistory } from "./hooks/navigation/use-history";
|
|
1348
1349
|
export { type ScreenState, useScreenState, } from "./hooks/navigation/use-screen-state";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAY,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,CAAC;AAC7C,OAAO,EACN,KAAK,qBAAqB,EAC1B,kBAAkB,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,KAAK,mBAAmB,EACxB,gBAAgB,GAChB,MAAM,sDAAsD,CAAC;AAE9D,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { SharedValue } from "react-native-reanimated";
|
|
1
2
|
import type { ScreenAnimationDescendantSources, ScreenAnimationSource, ScreenInterpolatorPropsRevision } from "../types";
|
|
2
|
-
|
|
3
|
+
type ScreenInterpolatorExternalDeps = Pick<SharedValue<unknown>, "get">[];
|
|
4
|
+
export declare const readScreenAnimationRevisions: (screenInterpolatorPropsRevision: ScreenInterpolatorPropsRevision, ancestorScreenAnimationSources: ScreenAnimationSource[], descendantScreenAnimationSources: ScreenAnimationDescendantSources, screenInterpolatorExternalDeps?: ScreenInterpolatorExternalDeps) => void;
|
|
5
|
+
export {};
|
|
3
6
|
//# sourceMappingURL=read-screen-animation-revisions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-screen-animation-revisions.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/read-screen-animation-revisions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,gCAAgC,EAChC,qBAAqB,EACrB,+BAA+B,EAC/B,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,4BAA4B,GACxC,iCAAiC,+BAA+B,EAChE,gCAAgC,qBAAqB,EAAE,EACvD,kCAAkC,gCAAgC,
|
|
1
|
+
{"version":3,"file":"read-screen-animation-revisions.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/read-screen-animation-revisions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EACX,gCAAgC,EAChC,qBAAqB,EACrB,+BAA+B,EAC/B,MAAM,UAAU,CAAC;AAElB,KAAK,8BAA8B,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;AAE1E,eAAO,MAAM,4BAA4B,GACxC,iCAAiC,+BAA+B,EAChE,gCAAgC,qBAAqB,EAAE,EACvD,kCAAkC,gCAAgC,EAClE,iCAAiC,8BAA8B,SAyB/D,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
+
import type { ScreenStyleInterpolator } from "../../../../types/animation.types";
|
|
3
|
+
export declare const collectInterpolatorSharedValues: (interpolators: Array<ScreenStyleInterpolator | undefined>) => SharedValue<unknown>[];
|
|
4
|
+
//# sourceMappingURL=collect-interpolator-shared-values.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collect-interpolator-shared-values.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/helpers/collect-interpolator-shared-values.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAgCjF,eAAO,MAAM,+BAA+B,GAC3C,eAAe,KAAK,CAAC,uBAAuB,GAAG,SAAS,CAAC,KACvD,WAAW,CAAC,OAAO,CAAC,EAuCtB,CAAC"}
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAmFvE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB;;;CAsJpC,CAAC"}
|
|
@@ -7,5 +7,6 @@ export declare const useMaybeBlockVisibility: (isFloatingOverlay?: boolean) => {
|
|
|
7
7
|
animatedProps: Partial<{
|
|
8
8
|
pointerEvents: "box-none" | "none";
|
|
9
9
|
}>;
|
|
10
|
+
shouldBlockVisibility: import("react-native-reanimated").SharedValue<boolean>;
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=use-maybe-block-visibility.d.ts.map
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO
|
|
1
|
+
{"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO;;;;;;;;;;CA8DlE,CAAC"}
|
|
@@ -12,6 +12,7 @@ export type ScreenSlotContextValue = {
|
|
|
12
12
|
localStylesMaps: SharedValue<LocalStyleLayers>;
|
|
13
13
|
nextInterpolatorReady: SharedValue<number>;
|
|
14
14
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
15
|
+
visibilityBlocked: SharedValue<boolean>;
|
|
15
16
|
};
|
|
16
17
|
export declare const ScreenSlotProvider: import("react").FC<Props>, ScreenSlotContext: import("react").Context<ScreenSlotContextValue>, useScreenSlots: () => ScreenSlotContextValue;
|
|
17
18
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAC;AAE7E,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAI5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAStE,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAC;AAE7E,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAI5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAStE,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;IAC7D,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MACN,kBAAkB,6BAClB,iBAAiB,mDACK,cAAc,8BAgDnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot-references.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/stores/slot-references.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAyB/D,eAAO,MAAM,mBAAmB,GAC/B,WAAW,SAAS,EACpB,OAAO,sBAAsB,
|
|
1
|
+
{"version":3,"file":"slot-references.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/stores/slot-references.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAyB/D,eAAO,MAAM,mBAAmB,GAC/B,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAc7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAQ7B,CAAC;AAUF,eAAO,MAAM,wBAAwB,GAAI,YAAY,SAAS,GAAG,IAAI,kCAMpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/system.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,oBAAY,8BAA8B;IACzC,IAAI,IAAI;IACR,IAAI,IAAI;IACR,eAAe,IAAI;IACnB,WAAW,IAAI;CACf;AAED,KAAK,gBAAgB,GAAG;IACvB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAElD;;OAEG;IACH,2BAA2B,EAAE,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAEzE;;OAEG;IACH,6BAA6B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnD;;;OAGG;IACH,+BAA+B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,0BAA0B,CACzB,IAAI,EAAE,8BAA8B,EACpC,MAAM,EAAE,MAAM,GACZ,IAAI,CAAC;IACR,+BAA+B,IAAI,IAAI,CAAC;IACxC,mBAAmB,IAAI,IAAI,CAAC;IAC5B,qBAAqB,IAAI,IAAI,CAAC;IAC9B,yBAAyB,IAAI,IAAI,CAAC;CAClC;AAED,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC/C,OAAO,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;
|
|
1
|
+
{"version":3,"file":"system.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/system.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,oBAAY,8BAA8B;IACzC,IAAI,IAAI;IACR,IAAI,IAAI;IACR,eAAe,IAAI;IACnB,WAAW,IAAI;CACf;AAED,KAAK,gBAAgB,GAAG;IACvB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAElD;;OAEG;IACH,2BAA2B,EAAE,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAEzE;;OAEG;IACH,6BAA6B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnD;;;OAGG;IACH,+BAA+B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,0BAA0B,CACzB,IAAI,EAAE,8BAA8B,EACpC,MAAM,EAAE,MAAM,GACZ,IAAI,CAAC;IACR,+BAA+B,IAAI,IAAI,CAAC;IACxC,mBAAmB,IAAI,IAAI,CAAC;IAC5B,qBAAqB,IAAI,IAAI,CAAC;IAC9B,yBAAyB,IAAI,IAAI,CAAC;CAClC;AAED,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC/C,OAAO,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;EAyDtB,CAAC"}
|
|
@@ -242,9 +242,9 @@ export type BoundaryTeleportControl = boolean | {
|
|
|
242
242
|
};
|
|
243
243
|
export type TransitionSlotProps = Record<string, unknown> & {
|
|
244
244
|
/**
|
|
245
|
-
* Controls whether a
|
|
246
|
-
* interpolator frame. `false` detaches the portal while keeping
|
|
247
|
-
* ownership internal.
|
|
245
|
+
* Controls whether a handoff or clipping-escape boundary should attach for
|
|
246
|
+
* the current interpolator frame. `false` detaches the portal while keeping
|
|
247
|
+
* hostName ownership internal.
|
|
248
248
|
*/
|
|
249
249
|
teleport?: BoundaryTeleportControl;
|
|
250
250
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MeasuredDimensions } from "react-native-reanimated";
|
|
2
2
|
import { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../constants";
|
|
3
3
|
import type { BoundsLink } from "../stores/bounds/types";
|
|
4
|
-
import type { BoundsComputeOptions, BoundsIdentityInput,
|
|
4
|
+
import type { BoundsComputeOptions, BoundsIdentityInput, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsStyleResult, BoundsValuesResult } from "../utils/bounds/types/options";
|
|
5
5
|
import type { ScreenInterpolationProps, TransitionInterpolatedStyle, TransitionSlotStyle } from "./animation.types";
|
|
6
6
|
import type { GestureProgressMode } from "./gesture.types";
|
|
7
7
|
export type { BoundsLink, BoundsLinkStatus } from "../stores/bounds/types";
|
|
@@ -255,7 +255,12 @@ type BoundsBoundNavigationAccessor = {
|
|
|
255
255
|
};
|
|
256
256
|
export type BoundsScopedAccessor = BoundsBoundNavigationAccessor & {
|
|
257
257
|
styles: (options?: BoundsComputeOptions) => BoundsStyleResult;
|
|
258
|
-
|
|
258
|
+
/** Returns numeric bounds values for custom style composition. */
|
|
259
|
+
values: <T extends BoundsComputeOptions = BoundsComputeOptions>(options?: T) => BoundsValuesResult<T>;
|
|
260
|
+
/**
|
|
261
|
+
* @deprecated Use {@linkcode values}.
|
|
262
|
+
*/
|
|
263
|
+
math: <T extends BoundsComputeOptions = BoundsComputeOptions>(options?: T) => BoundsValuesResult<T>;
|
|
259
264
|
link: (id?: BoundsIdentityInput) => BoundsLink | null;
|
|
260
265
|
};
|
|
261
266
|
export type BoundsAccessor = (options: BoundsIdentityInput) => BoundsScopedAccessor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounds.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/bounds.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EACN,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EACX,oBAAoB,EACpB,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"bounds.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/bounds.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EACN,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EACX,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,qBA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.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,wBAAwB,EACxB,oBAAoB,EACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAEX,cAAc,EAId,MAAM,kBAAkB,CAAC;AAK1B,KAAK,wBAAwB,GAAG;IAC/B,MAAM,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,EAAE,cAAc,CAAC;IACzB,KAAK,EAAE,wBAAwB,CAAC;IAChC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CACxB,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACrC,QAAQ,EAAE,MAAM,wBAAwB,CAAC;IACzC,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAC1D,CAAC;
|
|
1
|
+
{"version":3,"file":"create-bounds-accessor-core.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,wBAAwB,EACxB,oBAAoB,EACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAEX,cAAc,EAId,MAAM,kBAAkB,CAAC;AAK1B,KAAK,wBAAwB,GAAG;IAC/B,MAAM,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,EAAE,cAAc,CAAC;IACzB,KAAK,EAAE,wBAAwB,CAAC;IAChC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CACxB,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACrC,QAAQ,EAAE,MAAM,wBAAwB,CAAC;IACzC,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAC1D,CAAC;AAkFF,eAAO,MAAM,wBAAwB,GACpC,QAAQ,8BAA8B,KACpC,cAMF,CAAC"}
|
|
@@ -193,7 +193,7 @@ export type BoundsOptions = {
|
|
|
193
193
|
/**
|
|
194
194
|
* If true, the raw values will be returned instead of the computed values.
|
|
195
195
|
*
|
|
196
|
-
* @deprecated Use `bounds(id).
|
|
196
|
+
* @deprecated Use `bounds(id).values(options)` instead of passing `raw`.
|
|
197
197
|
* @default false
|
|
198
198
|
*/
|
|
199
199
|
raw?: boolean;
|
|
@@ -205,9 +205,13 @@ export type BoundsIdentity = {
|
|
|
205
205
|
export type BoundsIdentityInput = BoundId | BoundsIdentity;
|
|
206
206
|
export type BoundsComputeOptions = Omit<BoundsOptions, "group" | "id" | "raw">;
|
|
207
207
|
export type BoundsStyleResult = StyleProps;
|
|
208
|
-
export type
|
|
208
|
+
export type BoundsValuesResult<T extends BoundsComputeOptions = BoundsComputeOptions> = BoundsOptionsResult<T & {
|
|
209
209
|
id: BoundId;
|
|
210
210
|
raw: true;
|
|
211
211
|
}>;
|
|
212
|
+
/**
|
|
213
|
+
* @deprecated Use {@linkcode BoundsValuesResult}.
|
|
214
|
+
*/
|
|
215
|
+
export type BoundsMathResult<T extends BoundsComputeOptions = BoundsComputeOptions> = BoundsValuesResult<T>;
|
|
212
216
|
export {};
|
|
213
217
|
//# sourceMappingURL=options.d.ts.map
|