react-native-screen-transitions 3.9.0-beta.1 → 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/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/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/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/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
|
@@ -3,11 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.adaptNavigatorChildren = adaptNavigatorChildren;
|
|
7
|
+
exports.createTransitionScreenLayout = createTransitionScreenLayout;
|
|
6
8
|
exports.withScreenTransitions = withScreenTransitions;
|
|
7
9
|
var _react = require("react");
|
|
8
10
|
var _options = require("./options");
|
|
9
11
|
var _stackLayout = require("./stack-layout");
|
|
10
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function createTransitionScreenLayout(screenLayout) {
|
|
14
|
+
return screenLayoutArgs => /*#__PURE__*/(0, _jsxRuntime.jsx)(_stackLayout.ScreenTransitionsScreenLayout, {
|
|
15
|
+
screenLayout: screenLayout,
|
|
16
|
+
screenLayoutArgs: screenLayoutArgs
|
|
17
|
+
});
|
|
18
|
+
}
|
|
11
19
|
function adaptNavigatorChildren(children) {
|
|
12
20
|
return _react.Children.map(children, child => {
|
|
13
21
|
if (! /*#__PURE__*/(0, _react.isValidElement)(child)) {
|
|
@@ -24,6 +32,17 @@ function adaptNavigatorChildren(children) {
|
|
|
24
32
|
nextProps.screenOptions = (0, _options.adaptNativeStackTransitionOptions)(props.screenOptions);
|
|
25
33
|
changed = true;
|
|
26
34
|
}
|
|
35
|
+
|
|
36
|
+
// Screen and group layouts replace the navigator default, so each override
|
|
37
|
+
// must carry the transition screen layout with it.
|
|
38
|
+
if (typeof props.layout === "function") {
|
|
39
|
+
nextProps.layout = createTransitionScreenLayout(props.layout);
|
|
40
|
+
changed = true;
|
|
41
|
+
}
|
|
42
|
+
if (typeof props.screenLayout === "function") {
|
|
43
|
+
nextProps.screenLayout = createTransitionScreenLayout(props.screenLayout);
|
|
44
|
+
changed = true;
|
|
45
|
+
}
|
|
27
46
|
if (props.children !== undefined && typeof props.children !== "function") {
|
|
28
47
|
nextProps.children = adaptNavigatorChildren(props.children);
|
|
29
48
|
changed = true;
|
|
@@ -45,10 +64,7 @@ function withScreenTransitions(navigator) {
|
|
|
45
64
|
layout: layout,
|
|
46
65
|
layoutArgs: layoutArgs
|
|
47
66
|
}), [layout]);
|
|
48
|
-
const transitionScreenLayout = (0, _react.
|
|
49
|
-
screenLayout: screenLayout,
|
|
50
|
-
screenLayoutArgs: screenLayoutArgs
|
|
51
|
-
}), [screenLayout]);
|
|
67
|
+
const transitionScreenLayout = (0, _react.useMemo)(() => createTransitionScreenLayout(screenLayout), [screenLayout]);
|
|
52
68
|
const screenOptions = (0, _react.useMemo)(() => (0, _options.adaptNativeStackTransitionOptions)(props.screenOptions), [props.screenOptions]);
|
|
53
69
|
const children = (0, _react.useMemo)(() => adaptNavigatorChildren(props.children), [props.children]);
|
|
54
70
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(BaseNavigator, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_options","_stackLayout","_jsxRuntime","adaptNavigatorChildren","children","Children","map","child","isValidElement","props","nextProps","changed","options","adaptNativeStackTransitionOptions","screenOptions","undefined","cloneElement","withScreenTransitions","navigator","BaseNavigator","Navigator","forwardRef","ScreenTransitionsNavigator","
|
|
1
|
+
{"version":3,"names":["_react","require","_options","_stackLayout","_jsxRuntime","createTransitionScreenLayout","screenLayout","screenLayoutArgs","jsx","ScreenTransitionsScreenLayout","adaptNavigatorChildren","children","Children","map","child","isValidElement","props","nextProps","changed","options","adaptNativeStackTransitionOptions","screenOptions","layout","undefined","cloneElement","withScreenTransitions","navigator","BaseNavigator","Navigator","forwardRef","ScreenTransitionsNavigator","ref","transitionLayout","useCallback","layoutArgs","ScreenTransitionsStackLayout","transitionScreenLayout","useMemo","displayName","name"],"sourceRoot":"../../../../../src","sources":["shared/adapters/with-screen-transitions/index.tsx"],"mappings":";;;;;;;;AAKA,IAAAA,MAAA,GAAAC,OAAA;AAYA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAGwB,IAAAG,WAAA,GAAAH,OAAA;AAqBjB,SAASI,4BAA4BA,CAC3CC,YAA2B,EACZ;EACf,OAAQC,gBAAgB,iBACvB,IAAAH,WAAA,CAAAI,GAAA,EAACL,YAAA,CAAAM,6BAA6B;IAC7BH,YAAY,EAAEA,YAAa;IAC3BC,gBAAgB,EAAEA;EAAiB,CACnC,CACD;AACF;AAEO,SAASG,sBAAsBA,CAACC,QAAmB,EAAa;EACtE,OAAOC,eAAQ,CAACC,GAAG,CAACF,QAAQ,EAAGG,KAAK,IAAK;IACxC,IAAI,eAAC,IAAAC,qBAAc,EAACD,KAAK,CAAC,EAAE;MAC3B,OAAOA,KAAK;IACb;IAEA,MAAME,KAAK,GAAGF,KAAK,CAACE,KAAgC;IACpD,MAAMC,SAAkC,GAAG,CAAC,CAAC;IAC7C,IAAIC,OAAO,GAAG,KAAK;IAEnB,IAAI,SAAS,IAAIF,KAAK,EAAE;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AA,EAACL,YAAA,CAAAgC,4BAA4B;MAC5Bb,MAAM,EAAEA,MAAO;MACfY,UAAU,EAAEA;IAAW,CACvB,CACD,EACD,CAACZ,MAAM,CACR,CAAC;IAED,MAAMc,sBAAsB,GAAG,IAAAC,cAAO,EACrC,MAAMhC,4BAA4B,CAACC,YAAY,CAAC,EAChD,CAACA,YAAY,CACd,CAAC;IACD,MAAMe,aAAa,GAAG,IAAAgB,cAAO,EAC5B,MAAM,IAAAjB,0CAAiC,EAACJ,KAAK,CAACK,aAAa,CAAC,EAC5D,CAACL,KAAK,CAACK,aAAa,CACrB,CAAC;IACD,MAAMV,QAAQ,GAAG,IAAA0B,cAAO,EACvB,MAAM3B,sBAAsB,CAACM,KAAK,CAACL,QAAQ,CAAC,EAC5C,CAACK,KAAK,CAACL,QAAQ,CAChB,CAAC;IAED,oBACC,IAAAP,WAAA,CAAAI,GAAA,EAACmB,aAAa;MAAA,GACTX,KAAK;MACTK,aAAa,EAAEA,aAAc;MAC7BU,GAAG,EAAEA,GAAa;MAClBT,MAAM,EAAEU,gBAAiB;MACzB1B,YAAY,EAAE8B,sBAAuB;MAAAzB,QAAA,EAEpCA;IAAQ,CACK,CAAC;EAElB,CACD,CAAC;EAEDiB,SAAS,CAACU,WAAW,GAAG,yBACvBX,aAAa,CAACW,WAAW,IAAIX,aAAa,CAACY,IAAI,IAAI,WAAW,GAC5D;EAEH,OAAO;IACN,GAAGb,SAAS;IACZE;EACD,CAAC;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.blockTransition = blockTransition;
|
|
7
|
+
exports.unblockTransition = unblockTransition;
|
|
8
|
+
var _history = require("../stores/history.store");
|
|
9
|
+
var _system = require("../stores/system.store");
|
|
10
|
+
var _logger = require("../utils/logger");
|
|
11
|
+
const resolveTransitionRouteKey = (routeKey, actionName) => {
|
|
12
|
+
if (routeKey !== undefined) {
|
|
13
|
+
if (routeKey.length === 0) {
|
|
14
|
+
_logger.logger.warn(`${actionName}: routeKey must not be empty`);
|
|
15
|
+
return undefined;
|
|
16
|
+
}
|
|
17
|
+
return routeKey;
|
|
18
|
+
}
|
|
19
|
+
const entry = _history.HistoryStore.getMostRecent();
|
|
20
|
+
if (!entry) {
|
|
21
|
+
_logger.logger.warn(`${actionName}: No screens in history`);
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
return entry.descriptor.route.key;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Prevents a screen's pending lifecycle transition from starting.
|
|
29
|
+
*
|
|
30
|
+
* Calls are reference-counted. Every call must be paired with one
|
|
31
|
+
* {@linkcode unblockTransition} call for the same route. When `routeKey` is
|
|
32
|
+
* omitted, the most recently focused screen in navigation history is used.
|
|
33
|
+
*
|
|
34
|
+
* @param routeKey - Route key of the screen to block.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* blockTransition(route.key);
|
|
39
|
+
* // Render or prepare the destination screen.
|
|
40
|
+
* unblockTransition(route.key);
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @see {@linkcode unblockTransition}
|
|
44
|
+
*/
|
|
45
|
+
function blockTransition(routeKey) {
|
|
46
|
+
const resolvedRouteKey = resolveTransitionRouteKey(routeKey, "blockTransition");
|
|
47
|
+
if (!resolvedRouteKey) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
_system.SystemStore.getBag(resolvedRouteKey).actions.blockLifecycleStart();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Releases one lifecycle transition block for a screen.
|
|
55
|
+
*
|
|
56
|
+
* The pending transition can start when the screen's final block is released.
|
|
57
|
+
* Extra calls are safe and leave the block count at zero. When `routeKey` is
|
|
58
|
+
* omitted, the most recently focused screen in navigation history is used.
|
|
59
|
+
*
|
|
60
|
+
* @param routeKey - Route key of the screen to unblock.
|
|
61
|
+
*
|
|
62
|
+
* @see {@linkcode blockTransition}
|
|
63
|
+
*/
|
|
64
|
+
function unblockTransition(routeKey) {
|
|
65
|
+
const resolvedRouteKey = resolveTransitionRouteKey(routeKey, "unblockTransition");
|
|
66
|
+
if (!resolvedRouteKey) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
_system.SystemStore.getBag(resolvedRouteKey).actions.unblockLifecycleStart();
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=transition-blocking.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_history","require","_system","_logger","resolveTransitionRouteKey","routeKey","actionName","undefined","length","logger","warn","entry","HistoryStore","getMostRecent","descriptor","route","key","blockTransition","resolvedRouteKey","SystemStore","getBag","actions","blockLifecycleStart","unblockTransition","unblockLifecycleStart"],"sourceRoot":"../../../../src","sources":["shared/animation/transition-blocking.ts"],"mappings":";;;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AAEA,MAAMG,yBAAyB,GAAGA,CACjCC,QAA+B,EAC/BC,UAAmD,KACxB;EAC3B,IAAID,QAAQ,KAAKE,SAAS,EAAE;IAC3B,IAAIF,QAAQ,CAACG,MAAM,KAAK,CAAC,EAAE;MAC1BC,cAAM,CAACC,IAAI,CAAC,GAAGJ,UAAU,8BAA8B,CAAC;MACxD,OAAOC,SAAS;IACjB;IAEA,OAAOF,QAAQ;EAChB;EAEA,MAAMM,KAAK,GAAGC,qBAAY,CAACC,aAAa,CAAC,CAAC;EAC1C,IAAI,CAACF,KAAK,EAAE;IACXF,cAAM,CAACC,IAAI,CAAC,GAAGJ,UAAU,yBAAyB,CAAC;IACnD,OAAOC,SAAS;EACjB;EAEA,OAAOI,KAAK,CAACG,UAAU,CAACC,KAAK,CAACC,GAAG;AAClC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,eAAeA,CAACZ,QAAoB,EAAQ;EAC3D,MAAMa,gBAAgB,GAAGd,yBAAyB,CACjDC,QAAQ,EACR,iBACD,CAAC;EACD,IAAI,CAACa,gBAAgB,EAAE;IACtB;EACD;EAEAC,mBAAW,CAACC,MAAM,CAACF,gBAAgB,CAAC,CAACG,OAAO,CAACC,mBAAmB,CAAC,CAAC;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,iBAAiBA,CAAClB,QAAoB,EAAQ;EAC7D,MAAMa,gBAAgB,GAAGd,yBAAyB,CACjDC,QAAQ,EACR,mBACD,CAAC;EACD,IAAI,CAACa,gBAAgB,EAAE;IACtB;EACD;EAEAC,mBAAW,CAACC,MAAM,CAACF,gBAAgB,CAAC,CAACG,OAAO,CAACG,qBAAqB,CAAC,CAAC;AACrE","ignoreList":[]}
|
|
@@ -8,53 +8,53 @@ var _react = require("react");
|
|
|
8
8
|
var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
|
|
9
9
|
var _styles = require("../../../providers/screen/styles");
|
|
10
10
|
var _styles2 = require("../../../utils/bounds/helpers/styles/styles");
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var _useRegisterTarget = require("../hooks/use-register-target");
|
|
12
|
+
var _boundaryContentPortal = require("../portal/components/boundary-content-portal");
|
|
13
|
+
var _boundaryPortal = require("../portal/components/boundary-portal");
|
|
13
14
|
var _boundaryRoot = require("../providers/boundary-root.provider");
|
|
14
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
17
|
const BoundaryTarget = exports.BoundaryTarget = /*#__PURE__*/(0, _react.memo)(function BoundaryTarget(props) {
|
|
17
18
|
const {
|
|
19
|
+
pointerEvents,
|
|
18
20
|
style,
|
|
19
21
|
...rest
|
|
20
22
|
} = props;
|
|
21
23
|
const targetAnimatedRef = (0, _reactNativeReanimated.useAnimatedRef)();
|
|
22
|
-
const
|
|
24
|
+
const targetEscapePlaceholderRef = (0, _reactNativeReanimated.useAnimatedRef)();
|
|
23
25
|
const rootContext = (0, _boundaryRoot.useBoundaryRootContext)();
|
|
24
|
-
const
|
|
25
|
-
const unregisterTargetRef = rootContext?.unregisterTargetRef;
|
|
26
|
+
const boundaryId = rootContext?.boundTag.tag;
|
|
26
27
|
const isActiveTarget = rootContext?.activeTargetRef === targetAnimatedRef;
|
|
27
28
|
const portalRuntime = rootContext?.portalRuntime;
|
|
29
|
+
const portalPointerEvents = typeof pointerEvents === "string" ? pointerEvents : undefined;
|
|
30
|
+
const shouldEscapeTargetToScreenHost = portalRuntime?.escapeClipping === true && boundaryId !== undefined;
|
|
28
31
|
const shouldApplyAssociatedStyleInline = isActiveTarget && portalRuntime?.enabled !== true;
|
|
29
32
|
const shouldApplyPortalLayoutStyle = isActiveTarget && portalRuntime?.enabled === true;
|
|
30
33
|
const associatedTargetStyles = (0, _styles.useComposedSlotStyles)(rootContext?.boundTag.tag, style);
|
|
31
34
|
const portalLayoutStyle = (0, _styles.useSlotLayoutStyles)(rootContext?.boundTag.tag);
|
|
32
35
|
const preparedStyles = (0, _react.useMemo)(() => (0, _styles2.prepareStyleForBounds)(style), [style]);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
ref: targetAnimatedRef,
|
|
56
|
-
style: [style, shouldApplyAssociatedStyleInline ? associatedTargetStyles : undefined, shouldApplyPortalLayoutStyle ? portalLayoutStyle : undefined],
|
|
57
|
-
collapsable: false
|
|
36
|
+
const measurementRef = shouldEscapeTargetToScreenHost ? targetEscapePlaceholderRef : targetAnimatedRef;
|
|
37
|
+
(0, _useRegisterTarget.useRegisterTarget)({
|
|
38
|
+
preparedStyles,
|
|
39
|
+
measurementRef,
|
|
40
|
+
targetAnimatedRef
|
|
41
|
+
});
|
|
42
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryPortal.BoundaryPortal, {
|
|
43
|
+
boundaryId: boundaryId ?? "",
|
|
44
|
+
enabled: shouldEscapeTargetToScreenHost,
|
|
45
|
+
placeholderRef: targetEscapePlaceholderRef,
|
|
46
|
+
pointerEvents: portalPointerEvents,
|
|
47
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryContentPortal.BoundaryContentPortal, {
|
|
48
|
+
boundaryId: boundaryId,
|
|
49
|
+
enabled: portalRuntime?.handoff === true,
|
|
50
|
+
pointerEvents: portalPointerEvents,
|
|
51
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
|
|
52
|
+
...rest,
|
|
53
|
+
pointerEvents: pointerEvents,
|
|
54
|
+
ref: targetAnimatedRef,
|
|
55
|
+
style: [style, shouldApplyAssociatedStyleInline ? associatedTargetStyles : undefined, shouldApplyPortalLayoutStyle ? portalLayoutStyle : undefined],
|
|
56
|
+
collapsable: false
|
|
57
|
+
})
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
60
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNativeReanimated","_interopRequireWildcard","_styles","_styles2","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNativeReanimated","_interopRequireWildcard","_styles","_styles2","_useRegisterTarget","_boundaryContentPortal","_boundaryPortal","_boundaryRoot","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BoundaryTarget","exports","memo","props","pointerEvents","style","rest","targetAnimatedRef","useAnimatedRef","targetEscapePlaceholderRef","rootContext","useBoundaryRootContext","boundaryId","boundTag","tag","isActiveTarget","activeTargetRef","portalRuntime","portalPointerEvents","undefined","shouldEscapeTargetToScreenHost","escapeClipping","shouldApplyAssociatedStyleInline","enabled","shouldApplyPortalLayoutStyle","associatedTargetStyles","useComposedSlotStyles","portalLayoutStyle","useSlotLayoutStyles","preparedStyles","useMemo","prepareStyleForBounds","measurementRef","useRegisterTarget","jsx","BoundaryPortal","placeholderRef","children","BoundaryContentPortal","handoff","View","ref","collapsable"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/components/boundary-target.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,sBAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAIA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,sBAAA,GAAAN,OAAA;AACA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,aAAA,GAAAR,OAAA;AAA6E,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAE,wBAAAQ,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAV,uBA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B,OAAO,KAAK,IAAK;MACzCnC,aAAa,EAAEc,mBAAoB;MAAAmB,QAAA,eAEnC,IAAAzD,WAAA,CAAAsD,GAAA,EAAC9D,sBAAA,CAAAmB,OAAQ,CAACiD,IAAI;QAAA,GACTlC,IAAI;QACRF,aAAa,EAAEA,aAAc;QAC7BqC,GAAG,EAAElC,iBAAkB;QACvBF,KAAK,EAAE,CACNA,KAAK,EACLiB,gCAAgC,GAC7BG,sBAAsB,GACtBN,SAAS,EACZK,4BAA4B,GAAGG,iBAAiB,GAAGR,SAAS,CAC3D;QACFuB,WAAW,EAAE;MAAM,CACnB;IAAC,CACoB;EAAC,CACT,CAAC;AAEnB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -5,26 +5,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.createBoundaryComponent = createBoundaryComponent;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var _reactNativeReanimated =
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var _linkPairs = require("../../stores/bounds/helpers/link-pairs.helpers");
|
|
12
|
-
var _useBoundaryMeasurement = require("./hooks/use-boundary-measurement");
|
|
13
|
-
var _boundaryLocalPortalHost = require("./portal/components/boundary-local-portal-host");
|
|
14
|
-
var _portal = require("./portal/components/portal");
|
|
15
|
-
var _resolvePortal = require("./portal/utils/resolve-portal");
|
|
8
|
+
var _reactNativeReanimated = _interopRequireDefault(require("react-native-reanimated"));
|
|
9
|
+
var _boundaryContentPortal = require("./portal/components/boundary-content-portal");
|
|
10
|
+
var _boundaryPortal = require("./portal/components/boundary-portal");
|
|
16
11
|
var _boundaryRoot = require("./providers/boundary-root.provider");
|
|
17
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
function
|
|
19
|
-
const hasRenderableChildren = children => {
|
|
20
|
-
if (children === null || children === undefined || typeof children === "boolean") {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
if (Array.isArray(children)) {
|
|
24
|
-
return children.some(hasRenderableChildren);
|
|
25
|
-
}
|
|
26
|
-
return true;
|
|
27
|
-
};
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
28
14
|
function createBoundaryComponent(Wrapped, options = {}) {
|
|
29
15
|
const {
|
|
30
16
|
alreadyAnimated = false
|
|
@@ -40,93 +26,42 @@ function createBoundaryComponent(Wrapped, options = {}) {
|
|
|
40
26
|
target,
|
|
41
27
|
method,
|
|
42
28
|
style,
|
|
43
|
-
onPress,
|
|
44
29
|
handoff,
|
|
45
30
|
escapeClipping,
|
|
46
31
|
children,
|
|
47
32
|
...rest
|
|
48
33
|
} = props;
|
|
49
|
-
|
|
50
|
-
const portalRuntime = (0, _resolvePortal.resolveBoundaryPortal)({
|
|
51
|
-
handoff,
|
|
52
|
-
escapeClipping
|
|
53
|
-
});
|
|
54
|
-
const currentScreenKey = (0, _descriptors.useDescriptorsStore)(s => s.derivations.currentScreenKey);
|
|
55
|
-
const hasConfiguredInterpolator = (0, _descriptors.useDescriptorsStore)(s => s.derivations.hasConfiguredInterpolator);
|
|
56
|
-
const runtimeEnabled = enabled && hasConfiguredInterpolator;
|
|
57
|
-
// Associated slot styles attach whenever the boundary is enabled,
|
|
58
|
-
// independent of whether an interpolator is configured for this transition.
|
|
59
|
-
const shouldAttachAssociatedStyles = enabled;
|
|
60
|
-
const canPortalRoot = portalRuntime.enabled && hasRenderableChildren(children);
|
|
61
|
-
const associatedStyles = (0, _styles.useComposedSlotStyles)(boundTag.tag, style);
|
|
62
|
-
const associatedStackingStyles = (0, _styles.useSlotStackingStyles)(boundTag.tag);
|
|
63
|
-
const rootPlaceholderRef = (0, _reactNativeReanimated.useAnimatedRef)();
|
|
64
|
-
const {
|
|
65
|
-
ref,
|
|
66
|
-
contextValue,
|
|
67
|
-
measuredRef,
|
|
68
|
-
hasActiveTarget,
|
|
69
|
-
targetPreparedStyles
|
|
70
|
-
} = (0, _boundaryRoot.useBoundaryRootState)({
|
|
71
|
-
boundTag,
|
|
72
|
-
portalRuntime,
|
|
73
|
-
rootMeasurementRef: canPortalRoot ? rootPlaceholderRef : undefined
|
|
74
|
-
});
|
|
75
|
-
(0, _useBoundaryMeasurement.useBoundaryMeasurement)({
|
|
76
|
-
boundTag,
|
|
77
|
-
enabled,
|
|
78
|
-
runtimeEnabled,
|
|
79
|
-
currentScreenKey,
|
|
80
|
-
measuredRef,
|
|
81
|
-
style,
|
|
82
|
-
targetPreparedStyles,
|
|
83
|
-
handoff: portalRuntime.handoff,
|
|
84
|
-
escapeClipping: portalRuntime.escapeClipping,
|
|
34
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryRoot.BoundaryRootProvider, {
|
|
85
35
|
config: {
|
|
86
36
|
anchor,
|
|
87
37
|
scaleMode,
|
|
88
38
|
target,
|
|
89
39
|
method
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
style: [style, attachedStyle],
|
|
116
|
-
collapsable: false,
|
|
117
|
-
children: [children, canInjectLocalPortalHost ? extraChildren : null]
|
|
118
|
-
});
|
|
119
|
-
const boundaryRoot = renderBoundaryRoot(shouldPortalRoot ? undefined : localPortalHost);
|
|
120
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryRoot.BoundaryRootProvider, {
|
|
121
|
-
value: contextValue,
|
|
122
|
-
children: shouldPortalRoot ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_portal.Portal, {
|
|
123
|
-
id: boundTag.tag,
|
|
124
|
-
handoff: portalRuntime.handoff,
|
|
125
|
-
escapeClipping: portalRuntime.escapeClipping,
|
|
126
|
-
placeholderRef: rootPlaceholderRef,
|
|
127
|
-
placeholderChildren: portalRuntime.handoff ? localPortalHost : undefined,
|
|
128
|
-
children: boundaryRoot
|
|
129
|
-
}) : boundaryRoot
|
|
40
|
+
},
|
|
41
|
+
enabled: enabled,
|
|
42
|
+
escapeClipping: escapeClipping,
|
|
43
|
+
forwardedRef: forwardedRef,
|
|
44
|
+
group: group,
|
|
45
|
+
handoff: handoff,
|
|
46
|
+
id: id,
|
|
47
|
+
style: style,
|
|
48
|
+
children: root => /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryPortal.BoundaryPortal, {
|
|
49
|
+
boundaryId: root.boundTag.tag,
|
|
50
|
+
enabled: root.shouldRenderBoundaryRootThroughPortal,
|
|
51
|
+
placeholderRef: root.rootEscapePlaceholderRef,
|
|
52
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedComponent, {
|
|
53
|
+
...rest,
|
|
54
|
+
ref: root.ref,
|
|
55
|
+
style: [style, root.attachedStyle],
|
|
56
|
+
collapsable: false,
|
|
57
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryContentPortal.BoundaryContentPortalHost, {
|
|
58
|
+
boundaryId: root.boundTag.tag,
|
|
59
|
+
enabled: root.shouldRenderHandoffHost,
|
|
60
|
+
screenKey: root.currentScreenKey,
|
|
61
|
+
children: children
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
})
|
|
130
65
|
});
|
|
131
66
|
});
|
|
132
67
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNativeReanimated","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNativeReanimated","_interopRequireDefault","_boundaryContentPortal","_boundaryPortal","_boundaryRoot","_jsxRuntime","e","__esModule","default","createBoundaryComponent","Wrapped","options","alreadyAnimated","AnimatedComponent","Animated","createAnimatedComponent","Inner","forwardRef","props","forwardedRef","enabled","group","id","anchor","scaleMode","target","method","style","handoff","escapeClipping","children","rest","jsx","BoundaryRootProvider","config","root","BoundaryPortal","boundaryId","boundTag","tag","shouldRenderBoundaryRootThroughPortal","placeholderRef","rootEscapePlaceholderRef","ref","attachedStyle","collapsable","BoundaryContentPortalHost","shouldRenderHandoffHost","screenKey","currentScreenKey","memo"],"sourceRoot":"../../../../../src","sources":["shared/components/boundary/create-boundary-component.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAA0E,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOnE,SAASG,uBAAuBA,CACtCC,OAAyB,EACzBC,OAAuC,GAAG,CAAC,CAAC,EAC3C;EACD,MAAM;IAAEC,eAAe,GAAG;EAAM,CAAC,GAAGD,OAAO;EAC3C,MAAME,iBAAiB,GAAGD,eAAe,GACtCF,OAAO,GACPI,8BAAQ,CAACC,uBAAuB,CAACL,OAAO,CAAC;EAE5C,MAAMM,KAAK,gBAAG,IAAAC,iBAAU,EAGtB,CAACC,KAAK,EAAEC,YAAY,KAAK;IAC1B,MAAM;MACLC,OAAO,GAAG,IAAI;MACdC,KAAK;MACLC,EAAE;MACFC,MAAM;MACNC,SAAS;MACTC,MAAM;MACNC,MAAM;MACNC,KAAK;MACLC,OAAO;MACPC,cAAc;MACdC,QAAQ;MACR,GAAGC;IACJ,CAAC,GAAGb,KAAY;IAEhB,oBACC,IAAAb,WAAA,CAAA2B,GAAA,EAAC5B,aAAA,CAAA6B,oBAAoB;MACpBC,MAAM,EAAE;QAAEX,MAAM;QAAEC,SAAS;QAAEC,MAAM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