react-native-screen-transitions 3.12.0 → 3.13.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/shared/components/activity/variants/activity-screen.js +1 -1
- package/lib/commonjs/shared/components/activity/variants/activity-screen.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/components/boundary-lifecycle.js +0 -3
- package/lib/commonjs/shared/components/boundary/components/boundary-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js +69 -0
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js +11 -10
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +3 -19
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +6 -16
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +27 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +26 -8
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +8 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js +19 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js +18 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +22 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +10 -10
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +18 -6
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +4 -0
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +4 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +5 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/interpolator-participation.js +9 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/interpolator-participation.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +13 -2
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js +40 -8
- package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +2 -0
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-structural-ancestor-keys.js +12 -0
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-structural-ancestor-keys.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-release.js +9 -2
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-release.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +1 -0
- package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/constants.js +2 -1
- package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-block-ownership.js +19 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-block-ownership.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +35 -15
- 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 +15 -6
- package/lib/commonjs/shared/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +11 -1
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/clear.js +6 -0
- package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/coordinator.js +298 -0
- package/lib/commonjs/shared/stores/bounds/internals/coordinator.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/internals/entries.js +0 -27
- package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +22 -32
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/screen-graph.js +45 -0
- package/lib/commonjs/shared/stores/bounds/internals/screen-graph.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/internals/state.js +4 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +7 -3
- package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +11 -0
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +6 -2
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +11 -5
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/module/shared/components/activity/variants/activity-screen.js +1 -1
- package/lib/module/shared/components/activity/variants/activity-screen.js.map +1 -1
- package/lib/module/shared/components/boundary/components/boundary-lifecycle.js +0 -3
- package/lib/module/shared/components/boundary/components/boundary-lifecycle.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js +64 -0
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js +11 -10
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +3 -19
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-measurer.js +6 -16
- package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +24 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +27 -9
- package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +8 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js +14 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js +13 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +19 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +10 -10
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +18 -6
- package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +4 -0
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js +4 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +5 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/interpolator-participation.js +4 -0
- package/lib/module/shared/providers/screen/animation/helpers/interpolator-participation.js.map +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +13 -2
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js +41 -9
- package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +2 -0
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-structural-ancestor-keys.js +7 -0
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-structural-ancestor-keys.js.map +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-release.js +9 -2
- package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-release.js.map +1 -1
- package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +1 -0
- package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/constants.js +2 -1
- package/lib/module/shared/providers/screen/styles/constants.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/visibility-block-ownership.js +14 -0
- package/lib/module/shared/providers/screen/styles/helpers/visibility-block-ownership.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +35 -15
- 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 +13 -5
- package/lib/module/shared/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +9 -0
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/clear.js +7 -1
- package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/coordinator.js +286 -0
- package/lib/module/shared/stores/bounds/internals/coordinator.js.map +1 -0
- package/lib/module/shared/stores/bounds/internals/entries.js +1 -27
- package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +24 -32
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/screen-graph.js +39 -0
- package/lib/module/shared/stores/bounds/internals/screen-graph.js.map +1 -0
- package/lib/module/shared/stores/bounds/internals/state.js +3 -0
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +7 -3
- package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +11 -0
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +6 -2
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js +11 -5
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/typescript/native-stack/views/useHeaderConfigProps.d.ts +1 -1
- package/lib/typescript/shared/components/boundary/components/boundary-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/{use-initial-source-measurement.d.ts → use-boundary-measurement-request.d.ts} +4 -3
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts +1 -3
- 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/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.d.ts +8 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.d.ts +6 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts +4 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts +2 -3
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts +2 -2
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/types.d.ts +1 -1
- package/lib/typescript/shared/components/boundary/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts +5 -6
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/hooks/use-overlay-slot.d.ts +1 -1
- package/lib/typescript/shared/index.d.ts +651 -703
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/interpolator-participation.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/interpolator-participation.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-structural-ancestor-keys.d.ts +5 -0
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-structural-ancestor-keys.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/behavior/pan-release.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/gestures/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/visibility-block-ownership.d.ts +10 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/visibility-block-ownership.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts +4 -4
- package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +10 -4
- 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/stores/bounds/helpers/link-pairs.helpers.d.ts +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/coordinator.d.ts +36 -0
- package/lib/typescript/shared/stores/bounds/internals/coordinator.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts +1 -2
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts +1 -3
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/screen-graph.d.ts +5 -0
- package/lib/typescript/shared/stores/bounds/internals/screen-graph.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts +3 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +13 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +9 -0
- package/lib/typescript/shared/types/screen.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/helpers/create-link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/components/activity/variants/activity-screen.tsx +1 -1
- package/src/shared/components/boundary/components/boundary-lifecycle.tsx +0 -6
- package/src/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.ts +102 -0
- package/src/shared/components/boundary/hooks/lifecycles/use-boundary-presence.ts +20 -11
- package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +3 -22
- package/src/shared/components/boundary/hooks/use-measurer.ts +5 -20
- package/src/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts +40 -0
- package/src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +68 -20
- package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +10 -1
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.ts +19 -0
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.ts +14 -0
- package/src/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts +36 -1
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +22 -13
- package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +26 -9
- package/src/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +1 -1
- package/src/shared/components/boundary/types.ts +1 -1
- package/src/shared/providers/helpers/measured-bounds-writes.ts +5 -0
- package/src/shared/providers/screen/animation/animation.provider.tsx +7 -1
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts +18 -3
- package/src/shared/providers/screen/animation/helpers/interpolator-participation.ts +6 -0
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +54 -32
- package/src/shared/providers/screen/descriptors/descriptors.provider.tsx +80 -14
- package/src/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +6 -0
- package/src/shared/providers/screen/descriptors/helpers/derive-structural-ancestor-keys.ts +13 -0
- package/src/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.ts +1 -0
- package/src/shared/providers/screen/gestures/pan/behavior/pan-release.ts +12 -2
- package/src/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.ts +1 -0
- package/src/shared/providers/screen/gestures/types.ts +1 -0
- package/src/shared/providers/screen/styles/constants.ts +1 -0
- package/src/shared/providers/screen/styles/helpers/visibility-block-ownership.ts +16 -0
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +40 -15
- package/src/shared/providers/screen/styles/slot.provider.tsx +19 -5
- package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +12 -0
- package/src/shared/stores/bounds/internals/clear.ts +12 -1
- package/src/shared/stores/bounds/internals/coordinator.ts +403 -0
- package/src/shared/stores/bounds/internals/entries.ts +1 -38
- package/src/shared/stores/bounds/internals/links.ts +28 -38
- package/src/shared/stores/bounds/internals/screen-graph.ts +45 -0
- package/src/shared/stores/bounds/internals/state.ts +10 -1
- package/src/shared/stores/bounds/types.ts +19 -1
- package/src/shared/types/screen.types.ts +10 -0
- package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +8 -3
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +11 -0
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +3 -2
- package/src/shared/utils/bounds/helpers/resolve-bounds-pair-key.ts +0 -1
- package/src/shared/utils/bounds/helpers/styles/compute.ts +12 -5
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +0 -177
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +0 -49
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +0 -69
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +0 -68
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +0 -97
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/utils/source-signals.js +0 -43
- package/lib/commonjs/shared/components/boundary/utils/source-signals.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +0 -29
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +0 -173
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +0 -44
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +0 -64
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +0 -1
- package/lib/module/shared/components/boundary/utils/destination-signals.js +0 -63
- package/lib/module/shared/components/boundary/utils/destination-signals.js.map +0 -1
- package/lib/module/shared/components/boundary/utils/refresh-signals.js +0 -92
- package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +0 -1
- package/lib/module/shared/components/boundary/utils/source-signals.js +0 -38
- package/lib/module/shared/components/boundary/utils/source-signals.js.map +0 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +0 -25
- package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts +0 -10
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts +0 -10
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts +0 -16
- package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts +0 -19
- package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts +0 -14
- package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts +0 -6
- package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts.map +0 -1
- package/src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +0 -267
- package/src/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts +0 -51
- package/src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +0 -90
- package/src/shared/components/boundary/utils/destination-signals.ts +0 -75
- package/src/shared/components/boundary/utils/refresh-signals.ts +0 -164
- package/src/shared/components/boundary/utils/source-signals.ts +0 -51
- package/src/shared/providers/screen/descriptors/helpers/get-ancestor-keys.ts +0 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createGroupTag","ensurePairGroups","ensurePairLinks","ensurePairSourceRequests","getDestinationScreenKeyFromPairKey","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","getSourceScreenKeyFromPairKey","pairs","syncLinkStatus","link","status","source","destination","isSharedValueLike","value","_isReanimatedSharedValue","snapshotSharedValue","snapshotTransformArrayValue","snapshot","index","length","snapshotValue","snapshotTransformEntryValue","undefined","push","Array","isArray","snapshotTransformItem","hasValue","key","snapshotTransform","snapshotStyles","styles","transform","createLinkSide","screenKey","bounds","runtimeFlags","handoff","escapeClipping","writePairLink","state","pairKey","linkKey","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","existingLink","initialDestination","setSource","tag","modify","pairLinks","initialSource","sourceRequests","setDestination","setActiveGroupId","requestSourceMeasure","get","hasSourceLink","getResolvedLink","initialLink","getPairKeyForSource","getPairKeyForDestination"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,gBAAgB,EAChBC,eAAe,EACfC,wBAAwB,EACxBC,kCAAkC,EAClCC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,EAC1BC,6BAA6B,QACvB,+BAA+B;AAYtC,SAASC,KAAK,QAAQ,SAAS;AAE/B,MAAMC,cAAc,GAAIC,IAAa,IAAK;EACzC,SAAS;;EACTA,IAAI,CAACC,MAAM,GAAGD,IAAI,CAACE,MAAM,GACtBF,IAAI,CAACG,WAAW,GACf,UAAU,GACV,wBAAwB,GACzB,mBAAmB;AACvB,CAAC;AAQD,MAAMC,iBAAiB,GAAIC,KAAc,IAA+B;EACvE,SAAS;;EACT,OACEA,KAAK,EAAsCC,wBAAwB,KACpE,IAAI;AAEN,CAAC;AAED,MAAMC,mBAAmB,GAAIF,KAAsB,IAAc;EAChE,SAA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","ensurePairLinks","ensurePairSourceRequests","getDestinationScreenKeyFromPairKey","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","screenBelongsToScope","pairs","syncLinkStatus","link","status","source","destination","isSharedValueLike","value","_isReanimatedSharedValue","snapshotSharedValue","snapshotTransformArrayValue","snapshot","index","length","snapshotValue","snapshotTransformEntryValue","undefined","push","Array","isArray","snapshotTransformItem","hasValue","key","snapshotTransform","snapshotStyles","styles","transform","createLinkSide","screenKey","bounds","runtimeFlags","handoff","escapeClipping","writePairLink","state","pairKey","linkKey","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","existingLink","initialDestination","setSource","tag","modify","pairLinks","initialSource","sourceRequests","setDestination","destinationRequests","setActiveGroupId","get","hasSourceLink","getResolvedLink","resolvedLinkKey","initialLink","getPairKeyForDestination","resolvedLink","links"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,gBAAgB,EAChBC,eAAe,EACfC,wBAAwB,EACxBC,kCAAkC,EAClCC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,QACpB,+BAA+B;AAYtC,SAASC,oBAAoB,QAAQ,gBAAgB;AACrD,SAASC,KAAK,QAAQ,SAAS;AAE/B,MAAMC,cAAc,GAAIC,IAAa,IAAK;EACzC,SAAS;;EACTA,IAAI,CAACC,MAAM,GAAGD,IAAI,CAACE,MAAM,GACtBF,IAAI,CAACG,WAAW,GACf,UAAU,GACV,wBAAwB,GACzB,mBAAmB;AACvB,CAAC;AAQD,MAAMC,iBAAiB,GAAIC,KAAc,IAA+B;EACvE,SAAS;;EACT,OACEA,KAAK,EAAsCC,wBAAwB,KACpE,IAAI;AAEN,CAAC;AAED,MAAMC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AS","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { boundsScreens } from "./state";
|
|
4
|
+
const MAX_PARENT_DEPTH = 100;
|
|
5
|
+
export function registerBoundsScreen(screenKey, node) {
|
|
6
|
+
"worklet";
|
|
7
|
+
|
|
8
|
+
boundsScreens.modify(state => {
|
|
9
|
+
"worklet";
|
|
10
|
+
|
|
11
|
+
state[screenKey] = node;
|
|
12
|
+
return state;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export function unregisterBoundsScreen(screenKey) {
|
|
16
|
+
"worklet";
|
|
17
|
+
|
|
18
|
+
boundsScreens.modify(state => {
|
|
19
|
+
"worklet";
|
|
20
|
+
|
|
21
|
+
delete state[screenKey];
|
|
22
|
+
return state;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
export function screenBelongsToScope(screenKey, scopeScreenKey) {
|
|
26
|
+
"worklet";
|
|
27
|
+
|
|
28
|
+
if (screenKey === scopeScreenKey) return true;
|
|
29
|
+
const screens = boundsScreens.get();
|
|
30
|
+
let parentScreenKey = screens[screenKey]?.parentScreenKey;
|
|
31
|
+
let depth = 0;
|
|
32
|
+
while (parentScreenKey && depth < MAX_PARENT_DEPTH) {
|
|
33
|
+
if (parentScreenKey === scopeScreenKey) return true;
|
|
34
|
+
parentScreenKey = screens[parentScreenKey]?.parentScreenKey;
|
|
35
|
+
depth += 1;
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=screen-graph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["boundsScreens","MAX_PARENT_DEPTH","registerBoundsScreen","screenKey","node","modify","state","unregisterBoundsScreen","screenBelongsToScope","scopeScreenKey","screens","get","parentScreenKey","depth"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/screen-graph.ts"],"mappings":";;AACA,SAASA,aAAa,QAAQ,SAAS;AAEvC,MAAMC,gBAAgB,GAAG,GAAG;AAE5B,OAAO,SAASC,oBAAoBA,CACnCC,SAAoB,EACpBC,IAAsB,EACrB;EACD,SAAS;;EACTJ,aAAa,CAACK,MAAM,CAA+BC,KAAQ,IAAQ;IAClE,SAAS;;IACRA,KAAK,CAAuBH,SAAS,CAAC,GAAGC,IAAI;IAC9C,OAAOE,KAAK;EACb,CAAC,CAAC;AACH;AAEA,OAAO,SAASC,sBAAsBA,CAACJ,SAAoB,EAAE;EAC5D,SAAS;;EACTH,aAAa,CAACK,MAAM,CAA+BC,KAAQ,IAAQ;IAClE,SAAS;;IACT,OAAQA,KAAK,CAAuBH,SAAS,CAAC;IAC9C,OAAOG,KAAK;EACb,CAAC,CAAC;AACH;AAEA,OAAO,SAASE,oBAAoBA,CACnCL,SAAoB,EACpBM,cAAyB,EACf;EACV,SAAS;;EACT,IAAIN,SAAS,KAAKM,cAAc,EAAE,OAAO,IAAI;EAE7C,MAAMC,OAAO,GAAGV,aAAa,CAACW,GAAG,CAAC,CAAC;EACnC,IAAIC,eAAe,GAAGF,OAAO,CAACP,SAAS,CAAC,EAAES,eAAe;EACzD,IAAIC,KAAK,GAAG,CAAC;EAEb,OAAOD,eAAe,IAAIC,KAAK,GAAGZ,gBAAgB,EAAE;IACnD,IAAIW,eAAe,KAAKH,cAAc,EAAE,OAAO,IAAI;IACnDG,eAAe,GAAGF,OAAO,CAACE,eAAe,CAAC,EAAEA,eAAe;IAC3DC,KAAK,IAAI,CAAC;EACX;EAEA,OAAO,KAAK;AACb","ignoreList":[]}
|
|
@@ -26,4 +26,7 @@ export const boundaryRegistry = makeMutable({});
|
|
|
26
26
|
* }
|
|
27
27
|
*/
|
|
28
28
|
export const pairs = makeMutable({});
|
|
29
|
+
|
|
30
|
+
/** Stable ownership graph used to match leaf boundaries to transition roots. */
|
|
31
|
+
export const boundsScreens = makeMutable({});
|
|
29
32
|
//# sourceMappingURL=state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["makeMutable","boundaryRegistry","pairs"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/state.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;
|
|
1
|
+
{"version":3,"names":["makeMutable","boundaryRegistry","pairs","boundsScreens"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/state.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AAcrD,OAAO,MAAMC,gBAAgB,GAAGD,WAAW,CAAuB,CAAC,CAAC,CAAC;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,KAAK,GAAGF,WAAW,CAAiB,CAAC,CAAC,CAAC;;AAEpD;AACA,OAAO,MAAMG,aAAa,GAAGH,WAAW,CAAoB,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -42,11 +42,14 @@ const createBoundsAccessorParts = ({
|
|
|
42
42
|
"worklet";
|
|
43
43
|
|
|
44
44
|
// Keep the component at its base layout for pre-animation refresh
|
|
45
|
-
// measurement, then remove generated styles again after settlement.
|
|
46
|
-
|
|
45
|
+
// measurement, then remove generated styles again after settlement. The
|
|
46
|
+
// pre-animation pass still has to reach the bounds coordinator so both
|
|
47
|
+
// endpoints are captured before generated transforms attach.
|
|
48
|
+
const shouldRenderStyles = !!props.active.animating;
|
|
49
|
+
if (!shouldRenderStyles && !props.active.willAnimate) {
|
|
47
50
|
return NO_STYLES;
|
|
48
51
|
}
|
|
49
|
-
|
|
52
|
+
const preparedStyles = prepareBoundStyles({
|
|
50
53
|
props,
|
|
51
54
|
options: {
|
|
52
55
|
...options,
|
|
@@ -54,6 +57,7 @@ const createBoundsAccessorParts = ({
|
|
|
54
57
|
group: normalizedIdentity.group
|
|
55
58
|
}
|
|
56
59
|
});
|
|
60
|
+
return shouldRenderStyles ? preparedStyles : NO_STYLES;
|
|
57
61
|
},
|
|
58
62
|
values: getValues,
|
|
59
63
|
math: options => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NO_STYLES","createBoundTag","normalizeBoundIdentity","createLinkAccessor","prepareBoundStyles","syncActiveGroupId","createBoundsAccessorParts","getProps","extendResult","getLink","createScopedBounds","identity","props","normalizedIdentity","tag","id","group","getValues","options","raw","scoped","styles","active","animating","values","math","link","linkIdentity","linkTag","target","createBoundsAccessorCore","params"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/create-bounds-accessor-core.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,oBAAoB;AAa9C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,oBAAoB;AAC3E,SAASC,kBAAkB,QAAQ,wBAAwB;AAC3D,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,wBAAwB;AAc9E,MAAMC,yBAAyB,GAAGA,CAAC;EAClCC,QAAQ;EACRC;AAC+B,CAAC,KAAK;EACrC,SAAS;;EAET,MAAM;IAAEC;EAAQ,CAAC,GAAGN,kBAAkB,CAACI,QAAQ,CAAC;EAEhD,MAAMG,kBAAkB,GACvBC,QAA6B,IACH;IAC1B,SAAS;;IACT,MAAMC,KAAK,GAAGL,QAAQ,CAAC,CAAC;IACxB,MAAMM,kBAAkB,GAAGX,sBAAsB,CAACS,QAAQ,CAAC;IAC3D,MAAMG,GAAG,GAAGb,cAAc,CAACY,kBAAkB,CAAC;IAC9CR,iBAAiB,CAAC;MACjBO,KAAK;MACLG,EAAE,EAAEF,kBAAkB,CAACE,EAAE;MACzBC,KAAK,EAAEH,kBAAkB,CAACG;IAC3B,CAAC,CAAC;IACF,MAAMC,SAAS,GACdC,OAAW,IACgB;MAC3B,SAAS;;MACT,OAAOd,kBAAkB,CAAC;QACzBQ,KAAK;QACLM,OAAO,EAAE;UACR,GAAGA,OAAO;UACVH,EAAE,EAAEF,kBAAkB,CAACE,EAAE;UACzBC,KAAK,EAAEH,kBAAkB,CAACG,KAAK;UAC/BG,GAAG,EAAE;QACN;MACD,CAAC,CAAC;IACH,CAAC;IAED,MAAMC,MAA4B,GAAG;MACpCC,MAAM,EAAGH,OAA8B,IAAwB;QAC9D,SAAS;;QACT;QACA;QACA,
|
|
1
|
+
{"version":3,"names":["NO_STYLES","createBoundTag","normalizeBoundIdentity","createLinkAccessor","prepareBoundStyles","syncActiveGroupId","createBoundsAccessorParts","getProps","extendResult","getLink","createScopedBounds","identity","props","normalizedIdentity","tag","id","group","getValues","options","raw","scoped","styles","shouldRenderStyles","active","animating","willAnimate","preparedStyles","values","math","link","linkIdentity","linkTag","target","createBoundsAccessorCore","params"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/create-bounds-accessor-core.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,oBAAoB;AAa9C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,oBAAoB;AAC3E,SAASC,kBAAkB,QAAQ,wBAAwB;AAC3D,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,wBAAwB;AAc9E,MAAMC,yBAAyB,GAAGA,CAAC;EAClCC,QAAQ;EACRC;AAC+B,CAAC,KAAK;EACrC,SAAS;;EAET,MAAM;IAAEC;EAAQ,CAAC,GAAGN,kBAAkB,CAACI,QAAQ,CAAC;EAEhD,MAAMG,kBAAkB,GACvBC,QAA6B,IACH;IAC1B,SAAS;;IACT,MAAMC,KAAK,GAAGL,QAAQ,CAAC,CAAC;IACxB,MAAMM,kBAAkB,GAAGX,sBAAsB,CAACS,QAAQ,CAAC;IAC3D,MAAMG,GAAG,GAAGb,cAAc,CAACY,kBAAkB,CAAC;IAC9CR,iBAAiB,CAAC;MACjBO,KAAK;MACLG,EAAE,EAAEF,kBAAkB,CAACE,EAAE;MACzBC,KAAK,EAAEH,kBAAkB,CAACG;IAC3B,CAAC,CAAC;IACF,MAAMC,SAAS,GACdC,OAAW,IACgB;MAC3B,SAAS;;MACT,OAAOd,kBAAkB,CAAC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AEF,OAAOM,MAAM;EACd,CAAoB;EAEpB,OAAO;IACNV;EACD,CAAC;AACF,CAAC;AAED,OAAO,MAAMuB,wBAAwB,GACpCC,MAAsC,IAClB;EACpB,SAAS;;EAET,MAAM;IAAExB;EAAmB,CAAC,GAAGJ,yBAAyB,CAAC4B,MAAM,CAAC;EAEhE,OAAOxB,kBAAkB;AAC1B,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { requestBoundaryMeasurements } from "../../../stores/bounds/internals/coordinator";
|
|
3
4
|
import { getPairKeyForDestination, getResolvedLink } from "../../../stores/bounds/internals/links";
|
|
5
|
+
import { resolveBoundsPairKey } from "./resolve-bounds-pair-key";
|
|
4
6
|
export const createLinkAccessor = getProps => {
|
|
5
7
|
"worklet";
|
|
6
8
|
|
|
@@ -9,6 +11,15 @@ export const createLinkAccessor = getProps => {
|
|
|
9
11
|
|
|
10
12
|
const props = getProps();
|
|
11
13
|
const stringTag = String(tag);
|
|
14
|
+
const requestedPairKey = resolveBoundsPairKey(props);
|
|
15
|
+
if (requestedPairKey) {
|
|
16
|
+
requestBoundaryMeasurements({
|
|
17
|
+
pairKey: requestedPairKey,
|
|
18
|
+
tag: stringTag,
|
|
19
|
+
destination: true,
|
|
20
|
+
refresh: !!props.active.willAnimate
|
|
21
|
+
});
|
|
22
|
+
}
|
|
12
23
|
const destinationScreenKey = props.next?.route.key ?? props.current?.route.key;
|
|
13
24
|
const pairKey = destinationScreenKey ? getPairKeyForDestination(stringTag, destinationScreenKey) : null;
|
|
14
25
|
if (!pairKey) return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getPairKeyForDestination","getResolvedLink","createLinkAccessor","getProps","getLink","tag","props","stringTag","String","destinationScreenKey","next","route","key","current","
|
|
1
|
+
{"version":3,"names":["requestBoundaryMeasurements","getPairKeyForDestination","getResolvedLink","resolveBoundsPairKey","createLinkAccessor","getProps","getLink","tag","props","stringTag","String","requestedPairKey","pairKey","destination","refresh","active","willAnimate","destinationScreenKey","next","route","key","current","resolved","link","id"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/create-link-accessor.ts"],"mappings":";;AAAA,SAASA,2BAA2B,QAAQ,8CAA8C;AAC1F,SACCC,wBAAwB,EACxBC,eAAe,QACT,wCAAwC;AAM/C,SAASC,oBAAoB,QAAQ,2BAA2B;AAQhE,OAAO,MAAMC,kBAAkB,GAAIC,QAAkB,IAAmB;EACvE,SAAS;;EAET,MAAMC,OAAO,GAAIC,GAAY,IAAwB;IACpD,SAAS;;IACT,MAAMC,KAAK,GAAGH,QAAQ,CAAC,CAAC;IACxB,MAAMI,SAAS,GAAGC,MAAM,CAACH,GAAG,CAAC;IAC7B,MAAMI,gBAAgB,GAAGR,oBAAoB,CAACK,KAAK,CAAC;IACpD,IAAIG,gBAAgB,EAAE;MACrBX,2BAA2B,CAAC;QAC3BY,OAAO,EAAED,gBAAgB;QACzBJ,GAAG,EAAEE,SAAS;QACdI,WAAW,EAAE,IAAI;QACjBC,OAAO,EAAE,CAAC,CAACN,KAAK,CAACO,MAAM,CAACC;MACzB,CAAC,CAAC;IACH;IACA,MAAMC,oBAAoB,GACzBT,KAAK,CAACU,IAAI,EAAEC,KAAK,CAACC,GAAG,IAAIZ,KAAK,CAACa,OAAO,EAAEF,KAAK,CAACC,GAAG;IAClD,MAAMR,OAAO,GAAGK,oBAAoB,GACjChB,wBAAwB,CAACQ,SAAS,EAAEQ,oBAAoB,CAAC,GACzD,IAAI;IACP,IAAI,CAACL,OAAO,EAAE,OAAO,IAAI;IAEzB,MAAMU,QAAQ,GAAGpB,eAAe,CAACU,OAAO,EAAEH,SAAS,CAAC;IACpD,OAAOa,QAAQ,CAACC,IAAI,GACjB;MACAC,EAAE,EAAEF,QAAQ,CAACf,GAAG;MAChB,GAAGe,QAAQ,CAACC;IACb,CAAC,GACA,IAAI;EACR,CAAC;EAED,OAAO;IACNjB;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -38,10 +38,14 @@ export const syncActiveGroupId = params => {
|
|
|
38
38
|
group
|
|
39
39
|
} = params;
|
|
40
40
|
if (id == null || id === "" || !group) return;
|
|
41
|
-
const
|
|
41
|
+
const tag = createBoundTag({
|
|
42
|
+
id,
|
|
43
|
+
group
|
|
44
|
+
});
|
|
45
|
+
const pairKey = tag ? resolveBoundsPairKey(props) : null;
|
|
42
46
|
if (!pairKey) return;
|
|
43
47
|
const activeId = String(id);
|
|
44
|
-
if (getActiveGroupId(pairKey, group)
|
|
48
|
+
if (getActiveGroupId(pairKey, group) !== null) return;
|
|
45
49
|
setActiveGroupId(pairKey, group, activeId);
|
|
46
50
|
};
|
|
47
51
|
export const prepareBoundStyles = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getEntry","getActiveGroupId","setActiveGroupId","DEFAULT_BOUNDS_OPTIONS","createBoundTag","resolveBoundsPairKey","computeBoundStyles","buildBoundsOptions","props","id","group","overrides","tag","currentScreenKey","current","route","key","boundaryConfig","resolved","syncActiveGroupId","params","pairKey","activeId","String","prepareBoundStyles","options","resolvedPair","previous","next","progress","dimensions","layouts","screen","interpolationProps"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/prepare-bound-styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,0CAA0C;AACnE,SACCC,gBAAgB,EAChBC,gBAAgB,QACV,wCAAwC;AAG/C,SAASC,sBAAsB,QAAQ,cAAc;AAMrD,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,kBAAkB,QAAQ,kBAAkB;AAiBrD,MAAMC,kBAAkB,GAAGA,CAAC;EAC3BC,KAAK;EACLC,EAAE;EACFC,KAAK;EACLC;AACyB,CAAC,KAAoB;EAC9C,SAAS;;EAET,MAAMC,GAAG,GAAGR,cAAc,CAAC;IAAEK,EAAE;IAAEC;EAAM,CAAC,CAAC;EACzC,MAAMG,gBAAgB,GAAGL,KAAK,CAACM,OAAO,EAAEC,KAAK,CAACC,GAAG;EAEjD,MAAMC,cAAc,GACnBL,GAAG,IAAIC,gBAAgB,GACnBb,QAAQ,CAACY,GAAG,EAAEC,gBAAgB,CAAC,EAAEI,cAAc,IAAI,IAAI,GACxD,IAAI;EAER,MAAMC,QAAQ,GAAG;IAChB,GAAGf,sBAAsB;IACzB,IAAIc,cAAc,IAAI,CAAC,CAAC,CAAC;IACzB,IAAIN,SAAS,IAAI,CAAC,CAAC,CAAC;IACpBF,EAAE,EAAEG,GAAG,IAAI,EAAE;IACbF;EACD,CAAC;EAED,OAAOQ,QAAQ;AAChB,CAAC;AAED,OAAO,MAAMC,iBAAiB,GAAIC,MAIjC,IAAK;EACL,SAAS;;EACT,MAAM;IAAEZ,KAAK;IAAEC,EAAE;IAAEC;EAAM,CAAC,GAAGU,MAAM;EACnC,IAAIX,EAAE,IAAI,IAAI,IAAIA,EAAE,KAAK,EAAE,IAAI,CAACC,KAAK,EAAE;EAEvC,MAAMW,OAAO,
|
|
1
|
+
{"version":3,"names":["getEntry","getActiveGroupId","setActiveGroupId","DEFAULT_BOUNDS_OPTIONS","createBoundTag","resolveBoundsPairKey","computeBoundStyles","buildBoundsOptions","props","id","group","overrides","tag","currentScreenKey","current","route","key","boundaryConfig","resolved","syncActiveGroupId","params","pairKey","activeId","String","prepareBoundStyles","options","resolvedPair","previous","next","progress","dimensions","layouts","screen","interpolationProps"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/prepare-bound-styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,0CAA0C;AACnE,SACCC,gBAAgB,EAChBC,gBAAgB,QACV,wCAAwC;AAG/C,SAASC,sBAAsB,QAAQ,cAAc;AAMrD,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,oBAAoB,QAAQ,2BAA2B;AAChE,SAASC,kBAAkB,QAAQ,kBAAkB;AAiBrD,MAAMC,k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,CAA0B;EAC3DhB,KAAK;EACLiB,OAAO;EACPC;AACqC,CAAC,KAA6B;EACnE,SAAS;;EAET,MAAMR,QAAQ,GAAGX,kBAAkB,CAAC;IACnCC,KAAK;IACLC,EAAE,EAAEgB,OAAO,CAAChB,EAAE;IACdC,KAAK,EAAEe,OAAO,CAACf,KAAK;IACpBC,SAAS,EAAEc;EACZ,CAAC,CAAC;EAEF,OAAOnB,kBAAkB,CACxB;IACCG,EAAE,EAAES,QAAQ,CAACT,EAAE;IACfkB,QAAQ,EAAEnB,KAAK,CAACmB,QAAQ;IACxBb,OAAO,EAAEN,KAAK,CAACM,OAAO;IACtBc,IAAI,EAAEpB,KAAK,CAACoB,IAAI;IAChBC,QAAQ,EAAEX,QAAQ,CAACW,QAAQ,IAAIrB,KAAK,CAACqB,QAAQ;IAC7CC,UAAU,EAAEtB,KAAK,CAACuB,OAAO,CAACC,MAAM;IAChCC,kBAAkB,EAAEzB;EACrB,CAAC,EACDU,QAAQ,EACRQ,YACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createScreenPairKey","resolveBoundsPairKey","props","currentScreenKey","current","route","key","previousScreenKey","previous","nextScreenKey","next"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/resolve-bounds-pair-key.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,mDAAmD;AAIvF,OAAO,MAAMC,oBAAoB,GAChCC,KAA+B,IACL;EAC1B,SAAS;;EACT,MAAMC,gBAAgB,GAAGD,KAAK,CAACE,OAAO,EAAEC,KAAK,CAACC,GAAG;EACjD,MAAMC,iBAAiB,GAAGL,KAAK,CAACM,QAAQ,EAAEH,KAAK,CAACC,GAAG;EACnD,MAAMG,aAAa,GAAGP,KAAK,CAACQ,IAAI,EAAEL,KAAK,CAACC,GAAG;
|
|
1
|
+
{"version":3,"names":["createScreenPairKey","resolveBoundsPairKey","props","currentScreenKey","current","route","key","previousScreenKey","previous","nextScreenKey","next"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/resolve-bounds-pair-key.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,mDAAmD;AAIvF,OAAO,MAAMC,oBAAoB,GAChCC,KAA+B,IACL;EAC1B,SAAS;;EACT,MAAMC,gBAAgB,GAAGD,KAAK,CAACE,OAAO,EAAEC,KAAK,CAACC,GAAG;EACjD,MAAMC,iBAAiB,GAAGL,KAAK,CAACM,QAAQ,EAAEH,KAAK,CAACC,GAAG;EACnD,MAAMG,aAAa,GAAGP,KAAK,CAACQ,IAAI,EAAEL,KAAK,CAACC,GAAG;EAC3C,IAAIG,aAAa,IAAIN,gBAAgB,EAAE;IACtC,OAAOH,mBAAmB,CAACG,gBAAgB,EAAEM,aAAa,CAAC;EAC5D;EAEA,IAAIF,iBAAiB,IAAIJ,gBAAgB,EAAE;IAC1C,OAAOH,mBAAmB,CAACO,iBAAiB,EAAEJ,gBAAgB,CAAC;EAChE;EAEA,OAAO,IAAI;AACZ,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { ENTER_RANGE, EXIT_RANGE, FULLSCREEN_DIMENSIONS, NO_STYLES } from "../../../../constants";
|
|
4
4
|
import { createScreenPairKey } from "../../../../stores/bounds/helpers/link-pairs.helpers";
|
|
5
|
-
import {
|
|
5
|
+
import { requestBoundaryMeasurements } from "../../../../stores/bounds/internals/coordinator";
|
|
6
6
|
import { resolveTransitionPair } from "../../../../stores/bounds/internals/resolver";
|
|
7
7
|
import { computeContentTransformGeometry, computeRelativeGeometry } from "../geometry";
|
|
8
8
|
import { composeContentStyle, composeSizeAbsolute, composeSizeRelative, composeTransformAbsolute, composeTransformRelative } from "./composers";
|
|
@@ -19,6 +19,14 @@ const resolveStartEnd = params => {
|
|
|
19
19
|
const previousScreenKey = params.previous?.route.key;
|
|
20
20
|
const nextScreenKey = params.next?.route.key;
|
|
21
21
|
const sourceMeasurePairKey = entering && previousScreenKey && currentScreenKey ? createScreenPairKey(previousScreenKey, currentScreenKey) : !entering && currentScreenKey && nextScreenKey ? createScreenPairKey(currentScreenKey, nextScreenKey) : null;
|
|
22
|
+
if (sourceMeasurePairKey) {
|
|
23
|
+
requestBoundaryMeasurements({
|
|
24
|
+
pairKey: sourceMeasurePairKey,
|
|
25
|
+
tag: String(params.id),
|
|
26
|
+
destination: !hasTargetOverride,
|
|
27
|
+
refresh: params.refresh
|
|
28
|
+
});
|
|
29
|
+
}
|
|
22
30
|
const resolvedPair = params.resolvedPair ?? resolveTransitionPair(String(params.id), {
|
|
23
31
|
currentScreenKey,
|
|
24
32
|
previousScreenKey,
|
|
@@ -28,9 +36,6 @@ const resolveStartEnd = params => {
|
|
|
28
36
|
const sourceBounds = resolvedPair.sourceBounds;
|
|
29
37
|
const destinationBounds = resolvedPair.destinationBounds;
|
|
30
38
|
if (!sourceBounds) {
|
|
31
|
-
if (hasTargetOverride && sourceMeasurePairKey) {
|
|
32
|
-
requestSourceMeasure(sourceMeasurePairKey, String(params.id));
|
|
33
|
-
}
|
|
34
39
|
return {
|
|
35
40
|
start: null,
|
|
36
41
|
end: null,
|
|
@@ -103,7 +108,8 @@ export const computeBoundStyles = ({
|
|
|
103
108
|
next,
|
|
104
109
|
computeOptions,
|
|
105
110
|
dimensions,
|
|
106
|
-
resolvedPair
|
|
111
|
+
resolvedPair,
|
|
112
|
+
refresh: !!interpolationProps?.active?.willAnimate
|
|
107
113
|
});
|
|
108
114
|
if (!start || !end) {
|
|
109
115
|
return NO_STYLES;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","NO_STYLES","createScreenPairKey","
|
|
1
|
+
{"version":3,"names":["ENTER_RANGE","EXIT_RANGE","FULLSCREEN_DIMENSIONS","NO_STYLES","createScreenPairKey","requestBoundaryMeasurements","resolveTransitionPair","computeContentTransformGeometry","computeRelativeGeometry","composeContentStyle","composeSizeAbsolute","composeSizeRelative","composeTransformAbsolute","composeTransformRelative","attachBoundsLocalTransform","resolveStartEnd","params","entering","next","fullscreen","dimensions","isFullscreenTarget","computeOptions","target","hasCustomTarget","hasTargetOverride","currentScreenKey","current","route","key","previousScreenKey","previous","nextScreenKey","sourceMeasurePairKey","pairKey","tag","String","id","destination","refresh","resolvedPair","sourceBounds","destinationBounds","start","end","sourceScreenKey","destinationScreenKey","customTarget","computeBoundStyles","progress","interpolationProps","active","willAnimate","ranges","method","currentOwnsSource","contentStart","contentEnd","geometry","anchor","scaleMode","common","isSize","isAbsolute","space","style","destinationStyles","sourceStyles"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/helpers/styles/compute.ts"],"mappings":";;AACA,SACCA,WAAW,EACXC,UAAU,EACVC,qBAAqB,EACrBC,SAAS,QACH,uBAAuB;AAC9B,SAASC,mBAAmB,QAAQ,sDAAsD;AAC1F,SAASC,2BAA2B,QAAQ,iDAAiD;AAC7F,SAASC,qBAAqB,QAAQ,8CAA8C;AASpF,SACCC,+BAA+B,EAC/BC,uBAAuB,QACjB,aAAa;AACpB,SACCC,mBAAmB,EACnBC,mBAAmB,EACnBC,mBAAmB,EACnBC,wBAAwB,EACxBC,wBAAwB,QAElB,aAAa;AACpB,SAASC,0BAA0B,QAAQ,mBAAmB;AAE9D,MAAMC,eAAe,GAAIC,MAUxB,IAAK;EACL,SAAS;;EAET,MAAMC,QAAQ,GAAG,CAACD,MAAM,CAACE,IAAI;EAC7B,MAAMC,UAAU,GAAGjB,qBAAqB,CAACc,MAAM,CAACI,UAAU,CAAC;EAE3D,MAAMC,kBAAkB,GAAGL,MAAM,CAACM,cAAc,CAACC,MAAM,KAAK,YAAY;EACxE,MAAMC,eAAe,GAAG,OAAOR,MAAM,CAACM,cAAc,CAACC,MAAM,KAAK,QAAQ;EACxE,MAAME,iBAAiB,GAAGJ,kBAAkB,IAAIG,eAAe;EAE/D,MAAME,gBAAgB,GAAGV,MAAM,CAACW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AAMC,KAAK,GAAGH,MAAM,GACjBC,UAAU,GACTrD,mBAAmB,CAACmD,MAAM,CAAC,GAC3BlD,mBAAmB,CAACkD,MAAM,CAAC,GAC5BE,UAAU,GACTnD,wBAAwB,CAACiD,MAAM,CAAC,GAChChD,wBAAwB,CAACgD,MAAM,CAAC;EAEpC,OAAO/C,0BAA0B,CAChCmD,KAAK,EACLhD,QAAQ,GACJuB,YAAY,EAAE0B,iBAAiB,IAAI,IAAI,GACvC1B,YAAY,EAAE2B,YAAY,IAAI,IACnC,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -17,7 +17,7 @@ export declare function useHeaderConfigProps({ headerBackImageSource, headerBack
|
|
|
17
17
|
readonly backButtonDisplayMode: import("react-native-screens").BackButtonDisplayMode | undefined;
|
|
18
18
|
readonly backTitleFontFamily: string | undefined;
|
|
19
19
|
readonly backTitleFontSize: number | undefined;
|
|
20
|
-
readonly blurEffect: import("react-native-screens").
|
|
20
|
+
readonly blurEffect: import("react-native-screens").BlurEffect | undefined;
|
|
21
21
|
readonly color: string;
|
|
22
22
|
readonly direction: import("@react-navigation/native").LocaleDirection;
|
|
23
23
|
readonly disableBackButtonMenu: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-lifecycle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"boundary-lifecycle.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-lifecycle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EACX,mBAAmB,EACnB,6BAA6B,EAC7B,MAAM,UAAU,CAAC;AAElB,UAAU,sBAAsB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB,wJAU3B,sBAAsB,UAcvB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { BoundTag } from "../../../../stores/bounds/types";
|
|
2
2
|
import type { MeasureBoundary } from "../../types";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const useBoundaryMeasurementRequest: (params: {
|
|
4
4
|
enabled: boolean;
|
|
5
|
-
measureBoundary: MeasureBoundary;
|
|
6
5
|
boundTag: BoundTag;
|
|
6
|
+
currentScreenKey: string;
|
|
7
|
+
measureBoundary: MeasureBoundary;
|
|
7
8
|
}) => void;
|
|
8
|
-
//# sourceMappingURL=use-
|
|
9
|
+
//# sourceMappingURL=use-boundary-measurement-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-boundary-measurement-request.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,KAAK,EAAE,eAAe,EAAiB,MAAM,aAAa,CAAC;AAKlE,eAAO,MAAM,6BAA6B,GAAI,QAAQ;IACrD,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;CACjC,SA4EA,CAAC"}
|
package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-presence.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-boundary-presence.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,
|
|
1
|
+
{"version":3,"file":"use-boundary-presence.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-boundary-presence.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,mBAAmB,GAAI,QAAQ;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,SAiCA,CAAC"}
|
|
@@ -6,8 +6,6 @@ interface UseBoundaryMeasurementParams {
|
|
|
6
6
|
boundTag: BoundTag;
|
|
7
7
|
/** Raw `enabled` prop — drives the measurer and the passive-source gate. */
|
|
8
8
|
enabled: boolean;
|
|
9
|
-
/** `enabled && hasConfiguredInterpolator` — gates presence + lifecycle. */
|
|
10
|
-
runtimeEnabled: boolean;
|
|
11
9
|
currentScreenKey: string;
|
|
12
10
|
/** Surface to measure: a nested target's placeholder, else the root. */
|
|
13
11
|
measuredRef: AnimatedRef<View>;
|
|
@@ -23,6 +21,6 @@ interface UseBoundaryMeasurementParams {
|
|
|
23
21
|
* registers presence, runs the initial source/destination + refresh reactions,
|
|
24
22
|
* and keeps the component itself away from the measurer.
|
|
25
23
|
*/
|
|
26
|
-
export declare const useBoundaryMeasurement: ({ boundTag, enabled,
|
|
24
|
+
export declare const useBoundaryMeasurement: ({ boundTag, enabled, currentScreenKey, measuredRef, style, handoff, escapeClipping, localMeasurement, config, }: UseBoundaryMeasurementParams) => void;
|
|
27
25
|
export {};
|
|
28
26
|
//# sourceMappingURL=use-boundary-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-boundary-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EACX,mBAAmB,EACnB,6BAA6B,EAC7B,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"use-boundary-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-boundary-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EACX,mBAAmB,EACnB,6BAA6B,EAC7B,MAAM,UAAU,CAAC;AAKlB,UAAU,4BAA4B;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,4EAA4E;IAC5E,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,iHAUpC,4BAA4B,SAmC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAG7D,OAAO,KAAK,EAAE,6BAA6B,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQ/E,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,6BAA6B,CAAC;CAChD;AAED,eAAO,MAAM,WAAW,GAAI,0HASzB,iBAAiB,KAAG,eAgFtB,CAAC"}
|
|
@@ -10,6 +10,11 @@ type ResolveActiveHandoffReceiverParams = {
|
|
|
10
10
|
routes: ReceiverRoute[];
|
|
11
11
|
scenes: ReceiverScene[];
|
|
12
12
|
};
|
|
13
|
+
export declare const hasNestedHandoffTopology: ({ inheritedSourcePair, pairDestinationScreenKey, transitionDestinationScreenKey, }: {
|
|
14
|
+
inheritedSourcePair: boolean;
|
|
15
|
+
pairDestinationScreenKey: string | null;
|
|
16
|
+
transitionDestinationScreenKey?: string;
|
|
17
|
+
}) => boolean;
|
|
13
18
|
export declare const resolveActiveHandoffReceiver: ({ focusedIndex, routes, scenes, }: ResolveActiveHandoffReceiverParams) => string | null;
|
|
14
19
|
export declare const resolvePreviousHandoffReceiver: ({ focusedIndex, routes, scenes, }: ResolveActiveHandoffReceiverParams) => string | null;
|
|
15
20
|
export declare const resolveHandoffAttachmentCandidate: ({ activeReceiverClosing, activeReceiverScreenKey, attachedReceiverScreenKey, hasActiveCloseFinished, interpolatorReady, pairChangedDuringClose, pairDestinationScreenKey, previousReceiverScreenKey, }: {
|
|
@@ -22,5 +27,12 @@ export declare const resolveHandoffAttachmentCandidate: ({ activeReceiverClosing
|
|
|
22
27
|
pairDestinationScreenKey: string | null;
|
|
23
28
|
previousReceiverScreenKey: string | null;
|
|
24
29
|
}) => string | null;
|
|
30
|
+
export declare const resolveNestedHandoffAttachmentCandidate: ({ attachedReceiverScreenKey, currentScreenKey, hasActiveCloseFinished, interpolatorReady, pairDestinationScreenKey, }: {
|
|
31
|
+
attachedReceiverScreenKey: string;
|
|
32
|
+
currentScreenKey: string;
|
|
33
|
+
hasActiveCloseFinished: boolean;
|
|
34
|
+
interpolatorReady: boolean;
|
|
35
|
+
pairDestinationScreenKey: string | null;
|
|
36
|
+
}) => string;
|
|
25
37
|
export {};
|
|
26
38
|
//# sourceMappingURL=active-handoff-receiver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"active-handoff-receiver.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,aAAa,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,KAAK,kCAAkC,GAAG;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,MAAM,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,mCAI1C,kCAAkC,KAAG,MAAM,GAAG,IAShD,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,mCAI5C,kCAAkC,KAAG,MAAM,GAAG,IAehD,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAAI,wMAS/C;IACF,qBAAqB,EAAE,OAAO,CAAC;IAC/B,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,yBAAyB,EAAE,MAAM,CAAC;IAClC,sBAAsB,EAAE,OAAO,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC,kBAiCA,CAAC"}
|
|
1
|
+
{"version":3,"file":"active-handoff-receiver.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,aAAa,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,KAAK,kCAAkC,GAAG;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,MAAM,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,oFAItC;IACF,mBAAmB,EAAE,OAAO,CAAC;IAC7B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,8BAA8B,CAAC,EAAE,MAAM,CAAC;CACxC,YAOA,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,mCAI1C,kCAAkC,KAAG,MAAM,GAAG,IAShD,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,mCAI5C,kCAAkC,KAAG,MAAM,GAAG,IAehD,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAAI,wMAS/C;IACF,qBAAqB,EAAE,OAAO,CAAC;IAC/B,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,yBAAyB,EAAE,MAAM,CAAC;IAClC,sBAAsB,EAAE,OAAO,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC,kBAiCA,CAAC;AAEF,eAAO,MAAM,uCAAuC,GAAI,uHAMrD;IACF,yBAAyB,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,OAAO,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC,WASA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"AAqBA,UAAU,wCAAwC;IACjD,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,kCAAkC,GAAI,iBAEhD,wCAAwC;;;;CAqK1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AACtB,OAAiB,EAChB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AACtB,OAAiB,EAChB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAcrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,UAAU,EAAE,WAAW,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IACnD,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,eAAe,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,0GAM5B,uBAAuB,oDAiFxB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BoundaryTeleportControl } from "../../../../../../types/animation.types";
|
|
2
|
+
export declare const shouldAttachBoundaryPortal: ({ focused, portalHostReady, slotActive, teleport, }: {
|
|
3
|
+
focused: boolean;
|
|
4
|
+
portalHostReady: boolean;
|
|
5
|
+
slotActive: boolean;
|
|
6
|
+
teleport?: BoundaryTeleportControl;
|
|
7
|
+
}) => boolean;
|
|
8
|
+
//# sourceMappingURL=attachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAGvF,eAAO,MAAM,0BAA0B,GAAI,qDAKxC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,uBAAuB,CAAC;CACnC,YAKA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-readiness.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,GAAI,4CAIxC;IACF,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CACf,kBAKA,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type { ScreenPairKey } from "../../../../../../stores/bounds/types";
|
|
1
|
+
import type { LinkPairsState, ScreenPairKey } from "../../../../../../stores/bounds/types";
|
|
2
|
+
import type { NormalizedTransitionSlotStyle } from "../../../../../../types/animation.types";
|
|
2
3
|
import type { BoundaryLocalMeasurement } from "../../../../types";
|
|
4
|
+
export declare const resolveBoundaryPortalPairKey: (measurement: BoundaryLocalMeasurement | null) => ScreenPairKey | null;
|
|
5
|
+
export declare const resolveActiveBoundaryPortalPairKey: (measurement: BoundaryLocalMeasurement | null, slot: NormalizedTransitionSlotStyle | undefined, boundaryId: string, pairsState: LinkPairsState) => ScreenPairKey | null;
|
|
3
6
|
export declare const resolveBoundaryLocalMeasurement: (measurement: BoundaryLocalMeasurement | null, pairKey: ScreenPairKey) => import("react-native-reanimated").MeasuredDimensions | null;
|
|
4
7
|
//# sourceMappingURL=local-measurement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"local-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAGlE,eAAO,MAAM,4BAA4B,GACxC,aAAa,wBAAwB,GAAG,IAAI,KAC1C,aAAa,GAAG,IAGlB,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAC9C,aAAa,wBAAwB,GAAG,IAAI,EAC5C,MAAM,6BAA6B,GAAG,SAAS,EAC/C,YAAY,MAAM,EAClB,YAAY,cAAc,KACxB,aAAa,GAAG,IAYlB,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,aAAa,wBAAwB,GAAG,IAAI,EAC5C,SAAS,aAAa,gEAItB,CAAC"}
|
|
@@ -3,13 +3,12 @@ import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../ty
|
|
|
3
3
|
import type { BoundaryLocalMeasurementValue } from "../../../../types";
|
|
4
4
|
type UseActivePortalBoundaryHostParams = {
|
|
5
5
|
boundaryId: string;
|
|
6
|
-
currentScreenKey: string;
|
|
7
6
|
escapeHostKey?: string;
|
|
8
7
|
localMeasurement: BoundaryLocalMeasurementValue;
|
|
9
8
|
portalHostName: SharedValue<string | null>;
|
|
10
|
-
portalHostReady: SharedValue<
|
|
9
|
+
portalHostReady: SharedValue<string | null>;
|
|
11
10
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
12
11
|
};
|
|
13
|
-
export declare const useActivePortalBoundaryHost: ({ boundaryId,
|
|
12
|
+
export declare const useActivePortalBoundaryHost: ({ boundaryId, escapeHostKey, localMeasurement, portalHostName, portalHostReady, slotsMap, }: UseActivePortalBoundaryHostParams) => void;
|
|
14
13
|
export {};
|
|
15
14
|
//# sourceMappingURL=use-active-portal-boundary-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,WAAW,EAEhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,WAAW,EAEhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AASvE,KAAK,iCAAiC,GAAG;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,cAAc,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,eAAe,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5C,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,6FAOzC,iCAAiC,SA6EnC,CAAC"}
|
|
@@ -1 +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":"
|
|
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":"AAYA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,2BAA2B,GAAI,iBAEzC,iCAAiC;;;;CAkEnC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { LayoutRectangle } from "react-native";
|
|
2
2
|
export declare const usePlaceholderStyles: () => {
|
|
3
|
-
placeholderStyle: {
|
|
3
|
+
placeholderStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
4
4
|
readonly width: "auto";
|
|
5
5
|
readonly height: "auto";
|
|
6
6
|
} | {
|
|
7
7
|
width: number;
|
|
8
8
|
height: number;
|
|
9
|
-
}
|
|
9
|
+
}>;
|
|
10
10
|
handleOnLayout: (layout: LayoutRectangle) => void;
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=use-placeholder-styles.d.ts.map
|
|
@@ -7,7 +7,7 @@ export type ActivePortalBoundaryHost = {
|
|
|
7
7
|
localMeasurement: BoundaryLocalMeasurementValue;
|
|
8
8
|
pairKey: string;
|
|
9
9
|
portalHostName: string;
|
|
10
|
-
portalHostReady: SharedValue<
|
|
10
|
+
portalHostReady: SharedValue<string | null>;
|
|
11
11
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
12
12
|
};
|
|
13
13
|
export declare const mountPortalBoundaryHost: (host: ActivePortalBoundaryHost) => void;
|
|
@@ -1 +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,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC,
|
|
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,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5C,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAoDF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,gBAAgB,MAAM,GAAG,IAAI,GAAG,SAAS,SAOzC,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
|
|
@@ -48,7 +48,7 @@ export type MeasureTarget = {
|
|
|
48
48
|
type: "destination";
|
|
49
49
|
pairKey: ScreenPairKey;
|
|
50
50
|
};
|
|
51
|
-
export type MeasureBoundary = (target: MeasureTarget) =>
|
|
51
|
+
export type MeasureBoundary = (target: MeasureTarget) => boolean;
|
|
52
52
|
export type BoundaryLocalMeasurement = {
|
|
53
53
|
bounds: MeasuredDimensions;
|
|
54
54
|
pairKey: ScreenPairKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,MAAM,MAAM,aAAa,GACtB;IACA,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;CACtB,GACD;IACA,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;CACtB,CAAC;AAEL,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,aAAa,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;A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