react-native-screen-transitions 3.9.0-alpha.2 → 3.9.0-alpha.3
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/boundary/components/boundary-target.js +14 -9
- package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/create-boundary-component.js +66 -28
- package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/{use-boundary-presence.js → lifecycles/use-boundary-presence.js} +8 -4
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/{use-initial-destination-measurement.js → lifecycles/use-initial-destination-measurement.js} +27 -10
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/{use-initial-source-measurement.js → lifecycles/use-initial-source-measurement.js} +5 -7
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/{use-refresh-boundary.js → lifecycles/use-refresh-boundary.js} +4 -4
- package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +14 -35
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +5 -6
- package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/index.js +26 -29
- package/lib/commonjs/shared/components/boundary/index.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js +58 -0
- package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/components/host.js +20 -4
- package/lib/commonjs/shared/components/boundary/portal/components/host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js +53 -32
- package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/components/portal.js +206 -96
- package/lib/commonjs/shared/components/boundary/portal/components/portal.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js +14 -2
- package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js +5 -44
- package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js +37 -5
- package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/teleport.js +15 -2
- package/lib/commonjs/shared/components/boundary/portal/teleport.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js +18 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/naming.js +10 -3
- package/lib/commonjs/shared/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js +28 -49
- package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js +254 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js +38 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js +29 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js +10 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js +25 -0
- package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js.map +1 -0
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +6 -7
- package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +1 -22
- package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +0 -21
- package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/commonjs/shared/components/boundary/utils/source-signals.js +4 -9
- package/lib/commonjs/shared/components/boundary/utils/source-signals.js.map +1 -1
- package/lib/commonjs/shared/index.js.map +1 -1
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +6 -3
- package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +1 -0
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/compose-slot-style.js +95 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/compose-slot-style.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js +30 -9
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +9 -3
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +2 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js +96 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +16 -3
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/index.js +16 -3
- package/lib/commonjs/shared/providers/screen/styles/index.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/slot.provider.js +22 -51
- 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 +53 -0
- package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +22 -2
- package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/entries.js +11 -4
- package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/links.js +134 -51
- package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +1 -3
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/system.store.js +5 -0
- package/lib/commonjs/shared/stores/system.store.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +10 -69
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/local-transform.js +59 -0
- package/lib/commonjs/shared/utils/bounds/helpers/styles/local-transform.js.map +1 -0
- package/lib/module/shared/components/boundary/components/boundary-target.js +12 -7
- package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
- package/lib/module/shared/components/boundary/create-boundary-component.js +67 -29
- package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/{use-boundary-presence.js → lifecycles/use-boundary-presence.js} +8 -4
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/{use-initial-destination-measurement.js → lifecycles/use-initial-destination-measurement.js} +27 -10
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/{use-initial-source-measurement.js → lifecycles/use-initial-source-measurement.js} +5 -7
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/{use-refresh-boundary.js → lifecycles/use-refresh-boundary.js} +4 -4
- package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -0
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +15 -36
- package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/hooks/use-measurer.js +5 -6
- package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
- package/lib/module/shared/components/boundary/index.js +26 -29
- package/lib/module/shared/components/boundary/index.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js +53 -0
- package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/components/host.js +21 -5
- package/lib/module/shared/components/boundary/portal/components/host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js +53 -32
- package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/components/portal.js +212 -102
- package/lib/module/shared/components/boundary/portal/components/portal.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js +15 -3
- package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js +4 -41
- package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js +35 -4
- package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/teleport.js +16 -2
- package/lib/module/shared/components/boundary/portal/teleport.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js +13 -0
- package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/naming.js +8 -2
- package/lib/module/shared/components/boundary/portal/utils/naming.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/utils/offset-style.js +29 -49
- package/lib/module/shared/components/boundary/portal/utils/offset-style.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/utils/ownership.js +246 -0
- package/lib/module/shared/components/boundary/portal/utils/ownership.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js +33 -0
- package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js +24 -0
- package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js.map +1 -0
- package/lib/module/shared/components/boundary/portal/utils/teleport-control.js +8 -0
- package/lib/module/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
- package/lib/module/shared/components/boundary/portal/utils/visible-host.js +20 -0
- package/lib/module/shared/components/boundary/portal/utils/visible-host.js.map +1 -0
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +6 -7
- package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/destination-signals.js +2 -23
- package/lib/module/shared/components/boundary/utils/destination-signals.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/refresh-signals.js +0 -21
- package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/module/shared/components/boundary/utils/source-signals.js +4 -9
- package/lib/module/shared/components/boundary/utils/source-signals.js.map +1 -1
- package/lib/module/shared/index.js.map +1 -1
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js +6 -3
- package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +1 -0
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/compose-slot-style.js +89 -0
- package/lib/module/shared/providers/screen/styles/helpers/compose-slot-style.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js +30 -9
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +9 -3
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +2 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js +87 -0
- package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +16 -3
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/index.js +2 -1
- package/lib/module/shared/providers/screen/styles/index.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/slot.provider.js +22 -47
- 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 +47 -0
- package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -0
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +19 -1
- package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/entries.js +11 -4
- package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/links.js +135 -53
- package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +1 -3
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/system.store.js +5 -0
- package/lib/module/shared/stores/system.store.js.map +1 -1
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js +10 -69
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/local-transform.js +52 -0
- package/lib/module/shared/utils/bounds/helpers/styles/local-transform.js.map +1 -0
- package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts +1 -2
- package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts.map +1 -1
- package/lib/typescript/component-stack/components/component-screen.d.ts +1 -1
- package/lib/typescript/component-stack/components/component-screen.d.ts.map +1 -1
- package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +1 -2
- package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts.map +1 -1
- package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts +1 -1
- package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts.map +1 -1
- package/lib/typescript/native-stack/views/NativeStackView.d.ts +1 -2
- package/lib/typescript/native-stack/views/NativeStackView.d.ts.map +1 -1
- package/lib/typescript/native-stack/views/useHeaderConfigProps.d.ts +2 -2
- package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts +1 -1
- package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts.map +1 -1
- package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts +1 -1
- package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts.map +1 -1
- package/lib/typescript/shared/components/activity/variants/activity-container.d.ts +1 -1
- package/lib/typescript/shared/components/activity/variants/activity-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts +1 -1
- package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts +1 -1
- 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 +0 -1
- package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts +11 -0
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/{use-initial-destination-measurement.d.ts → lifecycles/use-initial-destination-measurement.d.ts} +2 -2
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts +8 -0
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/{use-refresh-boundary.d.ts → lifecycles/use-refresh-boundary.d.ts} +2 -2
- package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts +5 -9
- 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 +4 -3
- package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/index.d.ts +35 -24
- package/lib/typescript/shared/components/boundary/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts +8 -0
- package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/components/host.d.ts +2 -2
- package/lib/typescript/shared/components/boundary/portal/components/host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts +2 -2
- package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts +4 -3
- package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts +0 -7
- package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts +16 -1
- package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/teleport.d.ts +1 -1
- package/lib/typescript/shared/components/boundary/portal/teleport.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts +3 -0
- package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts +2 -1
- package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts +16 -32
- package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts +35 -0
- package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts +12 -0
- package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts +8 -0
- package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts +4 -0
- package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts +8 -0
- package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts.map +1 -0
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +7 -12
- package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/types.d.ts +9 -36
- package/lib/typescript/shared/components/boundary/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +1 -1
- package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts +0 -1
- package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts +6 -5
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/masked-view.d.ts +1 -1
- package/lib/typescript/shared/components/masked-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts +1 -1
- package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts.map +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -1
- package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts +1 -1
- package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/index.d.ts +1 -1
- package/lib/typescript/shared/components/screen-container/index.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +1 -1
- package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts +1 -1
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/surface-container.d.ts +1 -1
- package/lib/typescript/shared/components/screen-container/layers/surface-container.d.ts.map +1 -1
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +1 -1
- package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
- package/lib/typescript/shared/index.d.ts +711 -667
- package/lib/typescript/shared/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +3 -3
- package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts.map +1 -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 +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/screen-composer.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/screen-composer.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/compose-slot-style.d.ts +4 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/compose-slot-style.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts +11 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +4 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +2 -2
- package/lib/typescript/shared/providers/screen/styles/index.d.ts +2 -1
- package/lib/typescript/shared/providers/screen/styles/index.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts +5 -10
- 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 +6 -0
- package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +2 -0
- package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts +4 -3
- package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +9 -20
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/system.store.d.ts +1 -0
- package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +7 -1
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/local-transform.d.ts +6 -0
- package/lib/typescript/shared/utils/bounds/helpers/styles/local-transform.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/shared/components/boundary/components/boundary-target.tsx +21 -7
- package/src/shared/components/boundary/create-boundary-component.tsx +92 -28
- package/src/shared/components/boundary/hooks/{use-boundary-presence.ts → lifecycles/use-boundary-presence.ts} +16 -5
- package/src/shared/components/boundary/hooks/{use-initial-destination-measurement.ts → lifecycles/use-initial-destination-measurement.ts} +40 -13
- package/src/shared/components/boundary/hooks/{use-initial-source-measurement.ts → lifecycles/use-initial-source-measurement.ts} +7 -9
- package/src/shared/components/boundary/hooks/{use-refresh-boundary.ts → lifecycles/use-refresh-boundary.ts} +6 -6
- package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +15 -45
- package/src/shared/components/boundary/hooks/use-measurer.ts +9 -14
- package/src/shared/components/boundary/index.tsx +55 -29
- package/src/shared/components/boundary/portal/components/boundary-local-portal-host.tsx +66 -0
- package/src/shared/components/boundary/portal/components/host.tsx +20 -5
- package/src/shared/components/boundary/portal/components/portal-boundary-host.tsx +67 -52
- package/src/shared/components/boundary/portal/components/portal.tsx +280 -119
- package/src/shared/components/boundary/portal/hooks/use-host-measurement.ts +23 -2
- package/src/shared/components/boundary/portal/stores/host-registry.store.ts +4 -51
- package/src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts +59 -6
- package/src/shared/components/boundary/portal/teleport.ts +28 -3
- package/src/shared/components/boundary/portal/utils/has-local-slot.ts +16 -0
- package/src/shared/components/boundary/portal/utils/naming.ts +11 -1
- package/src/shared/components/boundary/portal/utils/offset-style.ts +37 -139
- package/src/shared/components/boundary/portal/utils/ownership.ts +371 -0
- package/src/shared/components/boundary/portal/utils/resolve-portal.ts +50 -0
- package/src/shared/components/boundary/portal/utils/shallow-equal.ts +25 -0
- package/src/shared/components/boundary/portal/utils/teleport-control.ts +12 -0
- package/src/shared/components/boundary/portal/utils/visible-host.ts +24 -0
- package/src/shared/components/boundary/providers/boundary-root.provider.tsx +9 -18
- package/src/shared/components/boundary/types.ts +9 -39
- package/src/shared/components/boundary/utils/destination-signals.ts +1 -32
- package/src/shared/components/boundary/utils/refresh-signals.ts +0 -41
- package/src/shared/components/boundary/utils/source-signals.ts +5 -17
- package/src/shared/index.ts +0 -5
- package/src/shared/providers/helpers/measured-bounds-writes.ts +6 -11
- package/src/shared/providers/screen/animation/helpers/derivations.ts +3 -0
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +1 -0
- package/src/shared/providers/screen/styles/helpers/compose-slot-style.ts +129 -0
- package/src/shared/providers/screen/styles/helpers/normalize-slots.ts +45 -8
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +14 -2
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.ts +3 -0
- package/src/shared/providers/screen/styles/hooks/slot-resolvers.tsx +111 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +21 -3
- package/src/shared/providers/screen/styles/index.tsx +8 -3
- package/src/shared/providers/screen/styles/slot.provider.tsx +36 -54
- package/src/shared/providers/screen/styles/stores/slot-references.store.ts +71 -0
- package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +24 -1
- package/src/shared/stores/bounds/internals/entries.ts +13 -5
- package/src/shared/stores/bounds/internals/links.ts +167 -85
- package/src/shared/stores/bounds/internals/resolver.ts +0 -2
- package/src/shared/stores/bounds/types.ts +10 -22
- package/src/shared/stores/system.store.ts +6 -0
- package/src/shared/types/animation.types.ts +8 -1
- package/src/shared/utils/bounds/helpers/styles/compute.ts +22 -124
- package/src/shared/utils/bounds/helpers/styles/local-transform.ts +86 -0
- package/lib/commonjs/shared/components/boundary/hooks/use-boundary-presence.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-initial-source-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/hooks/use-refresh-boundary.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/resolve-portal.js +0 -36
- package/lib/commonjs/shared/components/boundary/portal/resolve-portal.js.map +0 -1
- package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js +0 -40
- package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/use-boundary-presence.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/use-initial-source-measurement.js.map +0 -1
- package/lib/module/shared/components/boundary/hooks/use-refresh-boundary.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/resolve-portal.js +0 -31
- package/lib/module/shared/components/boundary/portal/resolve-portal.js.map +0 -1
- package/lib/module/shared/components/boundary/portal/utils/attachment.js +0 -35
- package/lib/module/shared/components/boundary/portal/utils/attachment.js.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts +0 -9
- package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/use-initial-destination-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts +0 -9
- package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/hooks/use-refresh-boundary.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/resolve-portal.d.ts +0 -14
- package/lib/typescript/shared/components/boundary/portal/resolve-portal.d.ts.map +0 -1
- package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts +0 -21
- package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts.map +0 -1
- package/src/shared/components/boundary/portal/resolve-portal.ts +0 -40
- package/src/shared/components/boundary/portal/utils/attachment.ts +0 -48
|
@@ -3,6 +3,6 @@ interface ScreenProps {
|
|
|
3
3
|
routeKey: string;
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const ComponentScreen: ({ routeKey, children }: ScreenProps) =>
|
|
6
|
+
export declare const ComponentScreen: ({ routeKey, children }: ScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=component-screen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-screen.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/components/component-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,UAAU,WAAW;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAID,eAAO,MAAM,eAAe,GAAI,wBAAwB,WAAW,
|
|
1
|
+
{"version":3,"file":"component-screen.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/components/component-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,UAAU,WAAW;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAID,eAAO,MAAM,eAAe,GAAI,wBAAwB,WAAW,4CAmBlE,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type NavigatorTypeBagBase, type ParamListBase, type StackNavigationState, type StaticConfig, type TypedNavigator } from "@react-navigation/native";
|
|
2
|
-
import * as React from "react";
|
|
3
2
|
import type { ComponentStackNavigationEventMap, ComponentStackNavigationOptions, ComponentStackNavigationProp, ComponentStackNavigatorProps } from "../types";
|
|
4
3
|
/**
|
|
5
4
|
* ComponentStackNavigator conditionally wraps in NavigationIndependentTree.
|
|
@@ -8,7 +7,7 @@ import type { ComponentStackNavigationEventMap, ComponentStackNavigationOptions,
|
|
|
8
7
|
* - If top-level, wrap in NavigationIndependentTree + NavigationContainer
|
|
9
8
|
* to isolate from Expo Router / React Navigation.
|
|
10
9
|
*/
|
|
11
|
-
declare function IsolatedComponentStackNavigator(props: ComponentStackNavigatorProps):
|
|
10
|
+
declare function IsolatedComponentStackNavigator(props: ComponentStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
/**
|
|
13
12
|
* @deprecated Component stack was originally introduced for independent,
|
|
14
13
|
* embedded navigation flows. Blank stack now supports that use case directly
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-component-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/navigators/create-component-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"create-component-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/navigators/create-component-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACX,gCAAgC,EAChC,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,MAAM,UAAU,CAAC;AAmDlB;;;;;;GAMG;AACH,iBAAS,+BAA+B,CAAC,KAAK,EAAE,4BAA4B,2CAgB3E;AAED;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC5C,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG;IAC5C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACvC,aAAa,EAAE,+BAA+B,CAAC;IAC/C,QAAQ,EAAE,gCAAgC,CAAC;IAC3C,cAAc,EAAE;SACd,SAAS,IAAI,MAAM,SAAS,GAAG,4BAA4B,CAC3D,SAAS,EACT,SAAS,EACT,WAAW,CACX;KACD,CAAC;IACF,SAAS,EAAE,OAAO,+BAA+B,CAAC;CAClD,EACD,KAAK,CAAC,MAAM,SAAS,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,EACjE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAElD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type NavigatorTypeBagBase, type ParamListBase, type StackNavigationState, type StaticConfig, type TypedNavigator } from "@react-navigation/native";
|
|
2
2
|
import type { NativeStackNavigationEventMap, NativeStackNavigationOptions, NativeStackNavigationProp, NativeStackNavigatorProps } from "../types";
|
|
3
|
-
declare function NativeStackNavigator({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout, ...rest }: NativeStackNavigatorProps): import("react").JSX.Element;
|
|
3
|
+
declare function NativeStackNavigator({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout, ...rest }: NativeStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated The bundled native-stack integration is deprecated and will be removed in a future major release.
|
|
6
6
|
* Use `@react-navigation/native-stack` or Expo Router's native stack with
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNativeStackNavigator.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/navigators/createNativeStackNavigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,MAAM,UAAU,CAAC;AAGlB,iBAAS,oBAAoB,CAAC,EAC7B,EAAE,EACF,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,eAAe,EACf,aAAa,EACb,YAAY,EACZ,GAAG,IAAI,EACP,EAAE,yBAAyB
|
|
1
|
+
{"version":3,"file":"createNativeStackNavigator.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/navigators/createNativeStackNavigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,MAAM,UAAU,CAAC;AAGlB,iBAAS,oBAAoB,CAAC,EAC7B,EAAE,EACF,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,eAAe,EACf,aAAa,EACb,YAAY,EACZ,GAAG,IAAI,EACP,EAAE,yBAAyB,2CA+B3B;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACzC,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG;IAC5C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACvC,aAAa,EAAE,4BAA4B,CAAC;IAC5C,QAAQ,EAAE,6BAA6B,CAAC;IACxC,cAAc,EAAE;SACd,SAAS,IAAI,MAAM,SAAS,GAAG,yBAAyB,CACxD,SAAS,EACT,SAAS,EACT,WAAW,CACX;KACD,CAAC;IACF,SAAS,EAAE,OAAO,oBAAoB,CAAC;CACvC,EACD,KAAK,CAAC,MAAM,SAAS,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,EACjE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAElD"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type ParamListBase, type RouteProp, type StackNavigationState } from "@react-navigation/native";
|
|
2
|
-
import * as React from "react";
|
|
3
2
|
import type { NativeStackDescriptor, NativeStackDescriptorMap, NativeStackNavigationHelpers } from "../types";
|
|
4
3
|
type Props = {
|
|
5
4
|
state: StackNavigationState<ParamListBase>;
|
|
@@ -7,6 +6,6 @@ type Props = {
|
|
|
7
6
|
descriptors: NativeStackDescriptorMap;
|
|
8
7
|
describe: (route: RouteProp<ParamListBase>, placeholder: boolean) => NativeStackDescriptor;
|
|
9
8
|
};
|
|
10
|
-
export declare function NativeStackView({ state, descriptors, describe }: Props):
|
|
9
|
+
export declare function NativeStackView({ state, descriptors, describe }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
12
11
|
//# sourceMappingURL=NativeStackView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeStackView.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/views/NativeStackView.tsx"],"names":[],"mappings":"AASA,OAAO,EACN,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,oBAAoB,EAEzB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeStackView.d.ts","sourceRoot":"","sources":["../../../../src/native-stack/views/NativeStackView.tsx"],"names":[],"mappings":"AASA,OAAO,EACN,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,oBAAoB,EAEzB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,KAAK,EACX,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,MAAM,UAAU,CAAC;AAGlB,KAAK,KAAK,GAAG;IACZ,KAAK,EAAE,oBAAoB,CAAC,aAAa,CAAC,CAAC;IAE3C,UAAU,EAAE,4BAA4B,CAAC;IACzC,WAAW,EAAE,wBAAwB,CAAC;IACtC,QAAQ,EAAE,CACT,KAAK,EAAE,SAAS,CAAC,aAAa,CAAC,EAC/B,WAAW,EAAE,OAAO,KAChB,qBAAqB,CAAC;CAC3B,CAAC;AAOF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,KAAK,2CA4ItE"}
|
|
@@ -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").BlurEffectTypes | undefined;
|
|
21
21
|
readonly color: string;
|
|
22
22
|
readonly direction: import("@react-navigation/native").LocaleDirection;
|
|
23
23
|
readonly disableBackButtonMenu: boolean;
|
|
@@ -38,7 +38,7 @@ export declare function useHeaderConfigProps({ headerBackImageSource, headerBack
|
|
|
38
38
|
readonly titleFontWeight: string;
|
|
39
39
|
readonly topInsetEnabled: boolean;
|
|
40
40
|
readonly translucent: boolean;
|
|
41
|
-
readonly children: import("react").JSX.Element;
|
|
41
|
+
readonly children: import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
};
|
|
43
43
|
export {};
|
|
44
44
|
//# sourceMappingURL=useHeaderConfigProps.d.ts.map
|
|
@@ -10,6 +10,6 @@ export interface ScreenTransitionsAdapterContextValue {
|
|
|
10
10
|
export declare function ScreenTransitionsAdapterProvider({ children, value, }: {
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
value: ScreenTransitionsAdapterContextValue;
|
|
13
|
-
}): import("react").JSX.Element;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export declare function useScreenTransitionsAdapterContext(): ScreenTransitionsAdapterContextValue;
|
|
15
15
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEvE,MAAM,MAAM,6BAA6B,GACxC,cAAc,CAAC,mBAAmB,CAAC,GAAG;IACrC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACrC,CAAC;AAEH,MAAM,WAAW,oCAAoC;IACpD,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,MAAM,EAAE,6BAA6B,EAAE,CAAC;CACxC;AAOD,wBAAgB,gCAAgC,CAAC,EAChD,QAAQ,EACR,KAAK,GACL,EAAE;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,oCAAoC,CAAC;CAC5C
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEvE,MAAM,MAAM,6BAA6B,GACxC,cAAc,CAAC,mBAAmB,CAAC,GAAG;IACrC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACrC,CAAC;AAEH,MAAM,WAAW,oCAAoC;IACpD,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,MAAM,EAAE,6BAA6B,EAAE,CAAC;CACxC;AAOD,wBAAgB,gCAAgC,CAAC,EAChD,QAAQ,EACR,KAAK,GACL,EAAE;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,oCAAoC,CAAC;CAC5C,2CAMA;AAED,wBAAgB,kCAAkC,yCAQjD"}
|
|
@@ -7,6 +7,6 @@ export declare const ScreenTransitionsStackLayout: import("react").FC<ScreenTran
|
|
|
7
7
|
export declare function ScreenTransitionsScreenLayout({ screenLayout, screenLayoutArgs, }: {
|
|
8
8
|
screenLayout?: ScreenLayout;
|
|
9
9
|
screenLayoutArgs: ScreenLayoutArgs;
|
|
10
|
-
}): import("react").JSX.Element;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=stack-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-layout.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/stack-layout.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACX,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,MAAM,SAAS,CAAC;AAqGjB,KAAK,kCAAkC,GAAG;IACzC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAoDF,eAAO,MAAM,4BAA4B,wHAGxC,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,EAC7C,YAAY,EACZ,gBAAgB,GAChB,EAAE;IACF,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gBAAgB,EAAE,gBAAgB,CAAC;CACnC
|
|
1
|
+
{"version":3,"file":"stack-layout.d.ts","sourceRoot":"","sources":["../../../../../src/shared/adapters/with-screen-transitions/stack-layout.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACX,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,MAAM,SAAS,CAAC;AAqGjB,KAAK,kCAAkC,GAAG;IACzC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAoDF,eAAO,MAAM,4BAA4B,wHAGxC,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,EAC7C,YAAY,EACZ,gBAAgB,GAChB,EAAE;IACF,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gBAAgB,EAAE,gBAAgB,CAAC;CACnC,2CAsBA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
}
|
|
4
|
-
export declare const ActivityContainer: ({ children }: Props) => import("react").JSX.Element;
|
|
4
|
+
export declare const ActivityContainer: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=activity-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-container.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/activity/variants/activity-container.tsx"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,cAAc,KAAK,
|
|
1
|
+
{"version":3,"file":"activity-container.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/activity/variants/activity-container.tsx"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,cAAc,KAAK,4CAQpD,CAAC"}
|
|
@@ -8,6 +8,6 @@ interface ActivityScreenProps {
|
|
|
8
8
|
paintDriverRouteKey?: string;
|
|
9
9
|
hasNestedState?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const ActivityScreen: React.MemoExoticComponent<({ activity, children, inactiveBehavior, paintDriverRouteKey, hasNestedState, }: ActivityScreenProps) =>
|
|
11
|
+
export declare const ActivityScreen: React.MemoExoticComponent<({ activity, children, inactiveBehavior, paintDriverRouteKey, hasNestedState, }: ActivityScreenProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=activity-screen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-screen.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/activity/variants/activity-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AASpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAiB9E,UAAU,mBAAmB;IAC5B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,cAAc,6GAMxB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"activity-screen.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/activity/variants/activity-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AASpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAiB9E,UAAU,mBAAmB;IAC5B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,cAAc,6GAMxB,mBAAmB,oDAsFpB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import Animated from "react-native-reanimated";
|
|
3
3
|
type BoundaryTargetProps = React.ComponentProps<typeof Animated.View>;
|
|
4
|
-
export declare const BoundaryTarget: React.MemoExoticComponent<(props: BoundaryTargetProps) =>
|
|
4
|
+
export declare const BoundaryTarget: React.MemoExoticComponent<(props: BoundaryTargetProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=boundary-target.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,QAA4B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"boundary-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/components/boundary-target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,QAA4B,MAAM,yBAAyB,CAAC;AAanE,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;AAEtE,eAAO,MAAM,cAAc,oCACnB,mBAAmB,6CAiEzB,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { type ComponentType } from "react";
|
|
|
2
2
|
import type { BoundaryComponentProps } from "./types";
|
|
3
3
|
interface CreateBoundaryComponentOptions {
|
|
4
4
|
alreadyAnimated?: boolean;
|
|
5
|
-
shouldAutoMeasure?: boolean;
|
|
6
5
|
}
|
|
7
6
|
export declare function createBoundaryComponent<P extends object>(Wrapped: ComponentType<P>, options?: CreateBoundaryComponentOptions): React.MemoExoticComponent<React.ForwardRefExoticComponent<BoundaryComponentProps<P> & React.RefAttributes<React.ComponentRef<typeof Wrapped>>>>;
|
|
8
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"create-boundary-component.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/create-boundary-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAMlB,MAAM,OAAO,CAAC;AAiBf,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAkBD,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,GAiJX,KAAK,CAAC,mBAAmB,CACzD,KAAK,CAAC,yBAAyB,CAC9B,sBAAsB,CAAC,CAAC,CAAC,GACxB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CACxD,CACD,CACD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BoundTag } from "../../../../stores/bounds/types";
|
|
2
|
+
import type { BoundaryConfigProps } from "../../types";
|
|
3
|
+
export declare const useBoundaryPresence: (params: {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
boundTag: BoundTag;
|
|
6
|
+
currentScreenKey: string;
|
|
7
|
+
boundaryConfig?: BoundaryConfigProps;
|
|
8
|
+
handoff?: boolean;
|
|
9
|
+
escapeClipping?: boolean;
|
|
10
|
+
}) => void;
|
|
11
|
+
//# sourceMappingURL=use-boundary-presence.d.ts.map
|
package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts.map
ADDED
|
@@ -0,0 +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,SAwBA,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BoundTag } from "
|
|
2
|
-
import type { MeasureBoundary } from "
|
|
1
|
+
import type { BoundTag } from "../../../../stores/bounds/types";
|
|
2
|
+
import type { MeasureBoundary } from "../../types";
|
|
3
3
|
interface UseInitialDestinationMeasurementParams {
|
|
4
4
|
boundTag: BoundTag;
|
|
5
5
|
enabled: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAUhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAWnD,UAAU,sCAAsC;IAC/C,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,gCAAgC,GAAI,yCAI9C,sCAAsC,SAuJxC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BoundTag } from "../../../../stores/bounds/types";
|
|
2
|
+
import type { MeasureBoundary } from "../../types";
|
|
3
|
+
export declare const useInitialSourceMeasurement: (params: {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
measureBoundary: MeasureBoundary;
|
|
6
|
+
boundTag: BoundTag;
|
|
7
|
+
}) => void;
|
|
8
|
+
//# sourceMappingURL=use-initial-source-measurement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-initial-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,QAAQ,CAAC;CACnB,SAkCA,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BoundTag } from "
|
|
2
|
-
import type { MeasureBoundary } from "
|
|
1
|
+
import type { BoundTag } from "../../../../stores/bounds/types";
|
|
2
|
+
import type { MeasureBoundary } from "../../types";
|
|
3
3
|
interface UseRefreshBoundaryParams {
|
|
4
4
|
enabled: boolean;
|
|
5
5
|
boundTag: BoundTag;
|
package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,UAAU,wBAAwB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,kBAAkB,GAAI,yCAIhC,wBAAwB,SAmE1B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
2
|
import type { AnimatedRef, StyleProps } from "react-native-reanimated";
|
|
3
3
|
import type { BoundTag } from "../../../stores/bounds/types";
|
|
4
|
-
import type { BoundaryConfigProps
|
|
4
|
+
import type { BoundaryConfigProps } from "../types";
|
|
5
5
|
interface UseBoundaryMeasurementParams {
|
|
6
6
|
boundTag: BoundTag;
|
|
7
7
|
/** Raw `enabled` prop — drives the measurer and the passive-source gate. */
|
|
@@ -14,19 +14,15 @@ interface UseBoundaryMeasurementParams {
|
|
|
14
14
|
/** Root's own style; ignored when a nested target supplies its own. */
|
|
15
15
|
style?: unknown;
|
|
16
16
|
targetPreparedStyles?: StyleProps;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
handoff: boolean;
|
|
18
|
+
escapeClipping: boolean;
|
|
19
19
|
config: BoundaryConfigProps;
|
|
20
|
-
onPress?: (...args: unknown[]) => void;
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* Owns the full measurement lifecycle for a boundary: builds the measurer,
|
|
24
23
|
* registers presence, runs the initial source/destination + refresh reactions,
|
|
25
|
-
* and
|
|
26
|
-
* measurer itself.
|
|
24
|
+
* and keeps the component itself away from the measurer.
|
|
27
25
|
*/
|
|
28
|
-
export declare const useBoundaryMeasurement: ({ boundTag, enabled, runtimeEnabled, currentScreenKey, measuredRef, style, targetPreparedStyles,
|
|
29
|
-
onPress: ((...args: unknown[]) => void) | undefined;
|
|
30
|
-
};
|
|
26
|
+
export declare const useBoundaryMeasurement: ({ boundTag, enabled, runtimeEnabled, currentScreenKey, measuredRef, style, targetPreparedStyles, handoff, escapeClipping, config, }: UseBoundaryMeasurementParams) => void;
|
|
31
27
|
export {};
|
|
32
28
|
//# 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,UAAU,EAAE,MAAM,yBAAyB,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,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAOpD,UAAU,4BAA4B;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,4EAA4E;IAC5E,OAAO,EAAE,OAAO,CAAC;IACjB,2EAA2E;IAC3E,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,qIAWpC,4BAA4B,SAmD9B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { View } from "react-native";
|
|
2
2
|
import { type AnimatedRef, type StyleProps } from "react-native-reanimated";
|
|
3
|
-
import type {
|
|
3
|
+
import type { BoundTag } from "../../../stores/bounds/types";
|
|
4
4
|
import type { MeasureBoundary } from "../types";
|
|
5
5
|
interface UseMeasurerParams {
|
|
6
6
|
enabled: boolean;
|
|
@@ -8,8 +8,9 @@ interface UseMeasurerParams {
|
|
|
8
8
|
currentScreenKey: string;
|
|
9
9
|
preparedStyles: StyleProps;
|
|
10
10
|
measuredAnimatedRef: AnimatedRef<View>;
|
|
11
|
-
|
|
11
|
+
handoff: boolean;
|
|
12
|
+
escapeClipping: boolean;
|
|
12
13
|
}
|
|
13
|
-
export declare const useMeasurer: ({ enabled, boundTag, currentScreenKey, preparedStyles, measuredAnimatedRef,
|
|
14
|
+
export declare const useMeasurer: ({ enabled, boundTag, currentScreenKey, preparedStyles, measuredAnimatedRef, handoff, escapeClipping, }: UseMeasurerParams) => MeasureBoundary;
|
|
14
15
|
export {};
|
|
15
16
|
//# sourceMappingURL=use-measurer.d.ts.map
|
|
@@ -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,EACN,KAAK,WAAW,EAEhB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,
|
|
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,EACN,KAAK,WAAW,EAEhB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQhD,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;CACxB;AAED,eAAO,MAAM,WAAW,GAAI,wGAQzB,iBAAiB,KAAG,eAoFtB,CAAC"}
|
|
@@ -1,44 +1,55 @@
|
|
|
1
|
-
import { View } from "react-native";
|
|
1
|
+
import { type PressableProps, View, type ViewProps } from "react-native";
|
|
2
|
+
import { BoundaryTarget } from "./components/boundary-target";
|
|
2
3
|
import { createBoundaryComponent } from "./create-boundary-component";
|
|
3
|
-
|
|
4
|
+
import { Host } from "./portal";
|
|
5
|
+
import type { BoundaryComponentProps } from "./types";
|
|
4
6
|
export { createBoundaryComponent };
|
|
7
|
+
type BoundaryPrimitiveProps = Omit<ViewProps, "id" | "style"> & Omit<PressableProps, "id" | "style"> & {
|
|
8
|
+
style?: ViewProps["style"] | PressableProps["style"];
|
|
9
|
+
};
|
|
10
|
+
declare const BoundaryRoot: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<Omit<ViewProps, "style" | "id"> & Omit<PressableProps, "style" | "id"> & {
|
|
11
|
+
style?: ViewProps["style"] | PressableProps["style"];
|
|
12
|
+
} & import("react").RefAttributes<View>, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<View | import("react").Component<Omit<ViewProps, "style" | "id"> & Omit<PressableProps, "style" | "id"> & {
|
|
13
|
+
style?: ViewProps["style"] | PressableProps["style"];
|
|
14
|
+
} & import("react").RefAttributes<View>, any, any>>>>;
|
|
15
|
+
declare const BoundaryView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<ViewProps, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<never>>>;
|
|
16
|
+
declare const BoundaryTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<PressableProps & import("react").RefAttributes<View>, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<View | import("react").Component<PressableProps & import("react").RefAttributes<View>, any, any>>>>;
|
|
17
|
+
type BoundaryRootComponent = typeof BoundaryRoot;
|
|
5
18
|
/**
|
|
6
|
-
* Shared-boundary
|
|
19
|
+
* Shared-boundary component with static helpers.
|
|
7
20
|
*
|
|
8
21
|
* How measurement works:
|
|
9
|
-
* 1.
|
|
10
|
-
* 2.
|
|
11
|
-
* 3. The link is updated as layout changes
|
|
22
|
+
* 1. Destination screen captures bounds for a tag.
|
|
23
|
+
* 2. Source screen captures bounds for the same concrete pair.
|
|
24
|
+
* 3. The link is updated as layout changes.
|
|
12
25
|
*
|
|
13
|
-
*
|
|
14
|
-
* -
|
|
15
|
-
*
|
|
16
|
-
* fresh source geometry on the first frame.
|
|
26
|
+
* Runtime primitive:
|
|
27
|
+
* - With an `onPress` handler, the root renders as a Pressable.
|
|
28
|
+
* - Without an `onPress` handler, the root renders as a View.
|
|
17
29
|
*
|
|
18
30
|
* Use:
|
|
19
|
-
* - `Boundary
|
|
20
|
-
* - `Boundary.Trigger` for tappable elements that start navigation.
|
|
31
|
+
* - `Boundary` for passive and pressable shared elements.
|
|
21
32
|
* - `Boundary.Target` to measure a nested descendant instead of the root.
|
|
22
33
|
* - `Boundary.Host` to make nested portal placement explicit.
|
|
23
34
|
*/
|
|
24
|
-
export
|
|
35
|
+
export interface BoundaryComponent extends BoundaryRootComponent {
|
|
25
36
|
/**
|
|
26
|
-
*
|
|
37
|
+
* Optional nested measurement override inside a boundary root.
|
|
27
38
|
*/
|
|
28
|
-
|
|
39
|
+
Target: typeof BoundaryTarget;
|
|
29
40
|
/**
|
|
30
|
-
*
|
|
41
|
+
* Explicit portal host for scrollable or otherwise clipped coordinate spaces.
|
|
31
42
|
*/
|
|
32
|
-
|
|
43
|
+
Host: typeof Host;
|
|
33
44
|
/**
|
|
34
|
-
*
|
|
45
|
+
* @deprecated Use `Transition.Boundary` without `onPress`.
|
|
35
46
|
*/
|
|
36
|
-
|
|
37
|
-
ref?: (import("react").Ref<View> | import("react-native-reanimated").AnimatedRef | import("react-native-reanimated").AnimatedRef<typeof View>) | undefined;
|
|
38
|
-
}) => import("react").JSX.Element>;
|
|
47
|
+
View: typeof BoundaryView;
|
|
39
48
|
/**
|
|
40
|
-
*
|
|
49
|
+
* @deprecated Use `Transition.Boundary` with `onPress`.
|
|
41
50
|
*/
|
|
42
|
-
|
|
43
|
-
}
|
|
51
|
+
Trigger: typeof BoundaryTrigger;
|
|
52
|
+
}
|
|
53
|
+
export type BoundaryProps = BoundaryComponentProps<BoundaryPrimitiveProps>;
|
|
54
|
+
export declare const Boundary: BoundaryComponent;
|
|
44
55
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,cAAc,EACnB,IAAI,EACJ,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,KAAK,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,OAAO,CAAC,GAC5D,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG;IACtC,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;CACrD,CAAC;AAYH,QAAA,MAAM,YAAY;YAbR,SAAS,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC;;YAA5C,SAAS,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC;qDAaS,CAAC;AAChE,QAAA,MAAM,YAAY,mLAAgC,CAAC;AACnD,QAAA,MAAM,eAAe,yTAAqC,CAAC;AAO3D,KAAK,qBAAqB,GAAG,OAAO,YAAY,CAAC;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC/D;;OAEG;IACH,MAAM,EAAE,OAAO,cAAc,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,OAAO,IAAI,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,OAAO,YAAY,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,OAAO,eAAe,CAAC;CAChC;AAED,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,sBAAsB,CAAC,CAAC;AAE3E,eAAO,MAAM,QAAQ,EAKf,iBAAiB,CAAC"}
|
package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type BoundaryLocalPortalHostProps = {
|
|
2
|
+
boundaryId: string;
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
screenKey: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const BoundaryLocalPortalHost: import("react").MemoExoticComponent<({ boundaryId, enabled, screenKey, }: BoundaryLocalPortalHostProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=boundary-local-portal-host.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boundary-local-portal-host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/boundary-local-portal-host.tsx"],"names":[],"mappings":"AAWA,KAAK,4BAA4B,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,uBAAuB,4EAIjC,4BAA4B,oDAiC7B,CAAC"}
|
|
@@ -2,6 +2,6 @@ import { type StyleProp, type ViewStyle } from "react-native";
|
|
|
2
2
|
export type PublicHostProps = {
|
|
3
3
|
style?: StyleProp<ViewStyle>;
|
|
4
4
|
};
|
|
5
|
-
export declare const Host: import("react").MemoExoticComponent<(props: PublicHostProps) => import("react").JSX.Element>;
|
|
6
|
-
export declare const ScreenFallbackHost: import("react").MemoExoticComponent<() => import("react").JSX.Element>;
|
|
5
|
+
export declare const Host: import("react").MemoExoticComponent<(props: PublicHostProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export declare const ScreenFallbackHost: import("react").MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
//# sourceMappingURL=host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AAWtB,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAqFF,eAAO,MAAM,IAAI,8CAA6B,eAAe,6CAE3D,CAAC;AAEH,eAAO,MAAM,kBAAkB,oFAE7B,CAAC"}
|
package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
2
|
import type { ActivePortalBoundaryHost } from "../stores/portal-boundary-host.store";
|
|
3
3
|
type PortalBoundaryHostProps = {
|
|
4
4
|
host: ActivePortalBoundaryHost;
|
|
5
5
|
style?: StyleProp<ViewStyle>;
|
|
6
6
|
};
|
|
7
|
-
export declare const PortalBoundaryHost: import("react").MemoExoticComponent<({ host, style, }: PortalBoundaryHostProps) => import("react").JSX.Element | null>;
|
|
7
|
+
export declare const PortalBoundaryHost: import("react").MemoExoticComponent<({ host, style, }: PortalBoundaryHostProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=portal-boundary-host.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AASrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAG5B,uBAAuB,oDA+ExB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PortalProvider: import("react").MemoExoticComponent<({ children, }: {
|
|
2
2
|
children: React.ReactNode;
|
|
3
|
-
}) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined>;
|
|
3
|
+
}) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
4
4
|
//# sourceMappingURL=portal-provider.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal-provider.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,sDAExB;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,
|
|
1
|
+
{"version":3,"file":"portal-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal-provider.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,sDAExB;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,6WAMC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import type { View } from "react-native";
|
|
3
3
|
import { type AnimatedRef } from "react-native-reanimated";
|
|
4
|
-
import type { BoundaryPortal } from "../../types";
|
|
5
4
|
interface PortalProps {
|
|
6
5
|
id?: string;
|
|
7
6
|
children: ReactNode;
|
|
8
|
-
|
|
7
|
+
handoff?: boolean;
|
|
8
|
+
escapeClipping?: boolean;
|
|
9
9
|
/**
|
|
10
10
|
* Ref to the layout-preserving placeholder wrapper. Boundaries measure
|
|
11
11
|
* this instead of teleported content — the placeholder keeps the source
|
|
@@ -13,7 +13,8 @@ interface PortalProps {
|
|
|
13
13
|
* host.
|
|
14
14
|
*/
|
|
15
15
|
placeholderRef?: AnimatedRef<View>;
|
|
16
|
+
placeholderChildren?: ReactNode;
|
|
16
17
|
}
|
|
17
|
-
export declare const Portal: import("react").MemoExoticComponent<({ id, children,
|
|
18
|
+
export declare const Portal: import("react").MemoExoticComponent<({ id, children, handoff, escapeClipping, placeholderRef, placeholderChildren, }: PortalProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
|
|
18
19
|
export {};
|
|
19
20
|
//# sourceMappingURL=portal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EAId,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/components/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EAId,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAmB,IAAI,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAiB,EAChB,KAAK,WAAW,EAOhB,MAAM,yBAAyB,CAAC;AA0CjC,UAAU,WAAW;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACnC,mBAAmB,CAAC,EAAE,SAAS,CAAC;CAChC;AAED,eAAO,MAAM,MAAM,wHAOhB,WAAW,6UAyWZ,CAAC"}
|
package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAyBzC,KAAK,wBAAwB,GAAG;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,kDAKhC,wBAAwB;;;CAoF1B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SourceHostRef } from "../../../../stores/bounds/types";
|
|
2
1
|
export type HostRegistration = {
|
|
3
2
|
hostKey: string;
|
|
4
3
|
screenKey: string;
|
|
@@ -8,12 +7,6 @@ export type HostRegistration = {
|
|
|
8
7
|
export declare const registerHost: (registration: HostRegistration) => void;
|
|
9
8
|
export declare const unregisterHost: (screenKey: string, hostKey: string) => void;
|
|
10
9
|
export declare const getActiveHostKey: (screenKey: string) => string;
|
|
11
|
-
/**
|
|
12
|
-
* The screen's active host, if it captures scroll. Worklet-safe: measurement
|
|
13
|
-
* code calls this on the UI thread while writing source bounds.
|
|
14
|
-
*/
|
|
15
|
-
export declare const getActiveScrollHost: (screenKey: string) => SourceHostRef | null;
|
|
16
|
-
export declare const getHostCapturesScroll: (hostKey: string) => boolean;
|
|
17
10
|
export declare const useActiveHostKey: (screenKey?: string | null) => string | undefined;
|
|
18
11
|
export declare const resetHostRegistry: () => void;
|
|
19
12
|
//# sourceMappingURL=host-registry.store.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC;AA6DF,eAAO,MAAM,YAAY,GAAI,cAAc,gBAAgB,SA0B1D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,SAoBhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,WAEjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,GAAG,IAAI,uBAMzD,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAI7B,CAAC"}
|
package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
|
+
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
+
import type { LocalStyleLayers } from "../../../../providers/screen/styles/helpers/resolve-slot-styles";
|
|
3
|
+
import type { NormalizedTransitionInterpolatedStyle } from "../../../../types/animation.types";
|
|
1
4
|
export type ActivePortalBoundaryHost = {
|
|
2
5
|
boundaryId: string;
|
|
3
|
-
|
|
6
|
+
escapeClipping: boolean;
|
|
4
7
|
hostKey: string;
|
|
8
|
+
localStylesMaps: SharedValue<LocalStyleLayers>;
|
|
5
9
|
pairKey: string;
|
|
10
|
+
portalHostName: string;
|
|
6
11
|
screenKey: string;
|
|
12
|
+
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
7
13
|
};
|
|
8
14
|
export declare const mountPortalBoundaryHost: (host: ActivePortalBoundaryHost) => void;
|
|
9
15
|
export declare const unmountPortalBoundaryHost: (boundaryId: string) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Post-handoff GC: drop every receiver for this boundary except the one now
|
|
18
|
+
* visible (`keepPortalHostName`). Called once the new host is confirmed on
|
|
19
|
+
* screen so the superseded receivers stop rendering.
|
|
20
|
+
*/
|
|
21
|
+
export declare const dropStalePortalBoundaryHosts: ({ boundaryId, keepPortalHostName, }: {
|
|
22
|
+
boundaryId: string;
|
|
23
|
+
keepPortalHostName: string;
|
|
24
|
+
}) => void;
|
|
10
25
|
export declare const useActivePortalBoundaryHosts: (hostKey: string) => ActivePortalBoundaryHost[];
|
|
11
26
|
//# sourceMappingURL=portal-boundary-host.store.d.ts.map
|
package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iEAAiE,CAAC;AACxG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAE/F,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAqDF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,YAAY,MAAM,SAiB3D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,GAAI,qCAG1C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;CAC3B,SAoBA,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
|