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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAY,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,0BAA0B,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAY,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;AAzEnuC,wBAgBE;AAEF,YAAY,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACN,kCAAkC,EAClC,gCAAgC,EAChC,eAAe,GACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EACN,KAAK,WAAW,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,KAAK,qBAAqB,EAC1B,kBAAkB,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,KAAK,mBAAmB,EACxB,gBAAgB,GAChB,MAAM,sDAAsD,CAAC;AAE9D,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ScreenPairKey } from "../../stores/bounds/types";
|
|
3
3
|
type LinkWrite = {
|
|
4
4
|
type: "source";
|
|
5
5
|
pairKey: ScreenPairKey;
|
|
@@ -15,8 +15,8 @@ type ApplyMeasuredBoundsWritesParams = {
|
|
|
15
15
|
measured: MeasuredDimensions;
|
|
16
16
|
preparedStyles: StyleProps;
|
|
17
17
|
linkWrite?: LinkWrite;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
handoff?: boolean;
|
|
19
|
+
escapeClipping?: boolean;
|
|
20
20
|
};
|
|
21
21
|
export declare const applyMeasuredBoundsWrites: (params: ApplyMeasuredBoundsWritesParams) => void;
|
|
22
22
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measured-bounds-writes.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/helpers/measured-bounds-writes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"measured-bounds-writes.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/helpers/measured-bounds-writes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,SAAS,GACX;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,KAAK,+BAA+B,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,cAAc,EAAE,UAAU,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACrC,QAAQ,+BAA+B,SA2CvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derivations.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/derivations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE/E,UAAU,iBAAiB;IAC1B,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC5C;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,iBAAiB,
|
|
1
|
+
{"version":3,"file":"derivations.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/derivations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE/E,UAAU,iBAAiB;IAC1B,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC5C;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,iBAAiB,SASzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/pipeline.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,KAAK,EACX,wBAAwB,EACxB,uBAAuB,EAEvB,MAAM,mCAAmC,CAAC;AAO3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAKnF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACzC,wBAAwB,EACxB,QAAQ,GAAG,YAAY,CACvB,CAAC;AAEF,UAAU,uBAAuB;IAChC,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAC9D,+BAA+B,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACtD,2BAA2B,EAAE,WAAW,CAAC,2BAA2B,CAAC,CAAC;IACtE,gBAAgB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACtD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;CACzD;
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/animation/helpers/pipeline.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,KAAK,EACX,wBAAwB,EACxB,uBAAuB,EAEvB,MAAM,mCAAmC,CAAC;AAO3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAKnF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACzC,wBAAwB,EACxB,QAAQ,GAAG,YAAY,CACvB,CAAC;AAEF,UAAU,uBAAuB;IAChC,uBAAuB,EAAE,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAC9D,+BAA+B,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACtD,2BAA2B,EAAE,WAAW,CAAC,2BAA2B,CAAC,CAAC;IACtE,gBAAgB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACtD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;CACzD;AA0OD,wBAAgB,0BAA0B,IAAI,uBAAuB,CAqFpE"}
|
|
@@ -27,7 +27,7 @@ declare const useDescriptorsStore: {
|
|
|
27
27
|
(): DescriptorStoreValue<BaseDescriptor>;
|
|
28
28
|
<Selected>(selector: (value: DescriptorStoreValue<BaseDescriptor>) => Selected): Selected;
|
|
29
29
|
};
|
|
30
|
-
export declare function DescriptorsProvider<TDescriptor extends BaseDescriptor>({ children, previous, current, next, }: DescriptorsProviderProps<TDescriptor>): import("react").JSX.Element;
|
|
30
|
+
export declare function DescriptorsProvider<TDescriptor extends BaseDescriptor>({ children, previous, current, next, }: DescriptorsProviderProps<TDescriptor>): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export declare function useDescriptors<TDescriptor extends BaseDescriptor = BaseDescriptor>(): DescriptorsContextValue<TDescriptor>;
|
|
32
32
|
export declare function useDescriptorDerivations(): DescriptorDerivationsContextValue;
|
|
33
33
|
export { useDescriptorsStore };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptors.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/descriptors/descriptors.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAIrF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD,MAAM,WAAW,uBAAuB,CACvC,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,iCAAiC,GAAG,qBAAqB,CAAC;AAEtE,UAAU,oBAAoB,CAC7B,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,WAAW,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,EAAE,iCAAiC,CAAC;CAC/C;AAED,UAAU,wBAAwB,CAAC,WAAW,SAAS,cAAc;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,QAAA,MAEC,mBAAmB;;;CAuClB,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,WAAW,SAAS,cAAc,EAAE,EACvE,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,GACJ,EAAE,wBAAwB,CAAC,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"descriptors.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/descriptors/descriptors.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAIrF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD,MAAM,WAAW,uBAAuB,CACvC,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,iCAAiC,GAAG,qBAAqB,CAAC;AAEtE,UAAU,oBAAoB,CAC7B,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,WAAW,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,EAAE,iCAAiC,CAAC;CAC/C;AAED,UAAU,wBAAwB,CAAC,WAAW,SAAS,cAAc;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,QAAA,MAEC,mBAAmB;;;CAuClB,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,WAAW,SAAS,cAAc,EAAE,EACvE,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAI,GACJ,EAAE,wBAAwB,CAAC,WAAW,CAAC,2CASvC;AAED,wBAAgB,cAAc,CAC7B,WAAW,SAAS,cAAc,GAAG,cAAc,KAI9C,uBAAuB,CAAC,WAAW,CAAC,CACzC;AAED,wBAAgB,wBAAwB,IAAI,iCAAiC,CAE5E;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -6,6 +6,6 @@ type Props<TDescriptor extends BaseDescriptor> = {
|
|
|
6
6
|
next?: TDescriptor;
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
};
|
|
9
|
-
export declare function ScreenComposer<TDescriptor extends BaseDescriptor>({ previous, current, next, children, }: Props<TDescriptor>):
|
|
9
|
+
export declare function ScreenComposer<TDescriptor extends BaseDescriptor>({ previous, current, next, children, }: Props<TDescriptor>): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=screen-composer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen-composer.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/screen/screen-composer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,eAAe,CAAC;AAKzE,KAAK,KAAK,CAAC,WAAW,SAAS,cAAc,IAAI;IAChD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,wBAAgB,cAAc,CAAC,WAAW,SAAS,cAAc,EAAE,EAClE,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,GACR,EAAE,KAAK,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"screen-composer.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/screen/screen-composer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,eAAe,CAAC;AAKzE,KAAK,KAAK,CAAC,WAAW,SAAS,cAAc,IAAI;IAChD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,wBAAgB,cAAc,CAAC,WAAW,SAAS,cAAc,EAAE,EAClE,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,GACR,EAAE,KAAK,CAAC,WAAW,CAAC,2CAgBpB"}
|
package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ interface FloatingOverlayLayerProps {
|
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
enabled?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const FloatingOverlayLayer: import("react").MemoExoticComponent<({ children, enabled, }: FloatingOverlayLayerProps) => 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>;
|
|
5
|
+
export declare const FloatingOverlayLayer: import("react").MemoExoticComponent<({ children, enabled, }: FloatingOverlayLayerProps) => 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>;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=floating-overlay-layer.d.ts.map
|
package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floating-overlay-layer.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/components/floating-overlay-layer.tsx"],"names":[],"mappings":"AAGA,UAAU,yBAAyB;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,eAAO,MAAM,oBAAoB,+DAG9B,yBAAyB,
|
|
1
|
+
{"version":3,"file":"floating-overlay-layer.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/components/floating-overlay-layer.tsx"],"names":[],"mappings":"AAGA,UAAU,yBAAyB;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,eAAO,MAAM,oBAAoB,+DAG9B,yBAAyB,6WAY1B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { StyleProps, TransformArrayItem } from "react-native-reanimated";
|
|
2
|
+
export declare const getLocalTransformForSlotComposition: (style: unknown) => TransformArrayItem[] | undefined;
|
|
3
|
+
export declare const composeSlotStyleWithLocalTransform: (slotStyle: StyleProps | undefined, localTransform: TransformArrayItem[] | undefined, boundsLocalTransform?: TransformArrayItem[]) => StyleProps;
|
|
4
|
+
//# sourceMappingURL=compose-slot-style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose-slot-style.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/helpers/compose-slot-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AA0F9E,eAAO,MAAM,mCAAmC,GAC/C,OAAO,OAAO,KACZ,kBAAkB,EAAE,GAAG,SAOzB,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAC9C,WAAW,UAAU,GAAG,SAAS,EACjC,gBAAgB,kBAAkB,EAAE,GAAG,SAAS,EAChD,uBAAuB,kBAAkB,EAAE,KACzC,UAuBF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-slots.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/helpers/normalize-slots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,qCAAqC,EAErC,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"normalize-slots.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/helpers/normalize-slots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,qCAAqC,EAErC,MAAM,mCAAmC,CAAC;AAgD3C;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC7B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACtB,qCAAqC,CAkDvC"}
|
package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,qCAAqC,EAErC,MAAM,sCAAsC,CAAC;AAI9C,OAAO,KAAK,EACX,gBAAgB,EAEhB,2BAA2B,EAC3B,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,YAAY,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,qCAAqC,EAErC,MAAM,sCAAsC,CAAC;AAI9C,OAAO,KAAK,EACX,gBAAgB,EAEhB,2BAA2B,EAC3B,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,YAAY,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AA2V7E,eAAO,MAAM,uBAAuB,GAAI,mDAGrC;IACF,iBAAiB,EAAE,qCAAqC,CAAC;IACzD,yBAAyB,EAAE,qCAAqC,CAAC;CACjE,KAAG,qCA0BH,CAAC;AA8EF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,oEAI/B;IACF,eAAe,EAAE,gBAAgB,CAAC;IAClC,iBAAiB,EAAE,qCAAqC,CAAC;IACzD,yBAAyB,EAAE,2BAA2B,CAAC;CACvD;;;CAoBA,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { NormalizedTransitionSlotStyle } from "../../../../../types/animation.types";
|
|
2
2
|
import type { ResettableStyleState } from "./types";
|
|
3
|
-
export declare const materializeResolvedSlot: ({ baseStyle, baseProps, previousState, styleKeys, propKeys, hasAnyStyleKeys, hasAnyPropKeys, hasStyleResetPatch, hasPropResetPatch, }: {
|
|
3
|
+
export declare const materializeResolvedSlot: ({ baseStyle, baseProps, boundsLocalTransform, previousState, styleKeys, propKeys, hasAnyStyleKeys, hasAnyPropKeys, hasStyleResetPatch, hasPropResetPatch, }: {
|
|
4
4
|
baseStyle: Record<string, unknown> | undefined;
|
|
5
5
|
baseProps: Record<string, unknown> | undefined;
|
|
6
|
+
boundsLocalTransform: NormalizedTransitionSlotStyle["boundsLocalTransform"];
|
|
6
7
|
previousState: ResettableStyleState | undefined;
|
|
7
8
|
styleKeys: Record<string, true> | undefined;
|
|
8
9
|
propKeys: Record<string, true> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"materialize-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAE1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA4GpD,eAAO,MAAM,uBAAuB,GAAI,
|
|
1
|
+
{"version":3,"file":"materialize-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAE1F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA4GpD,eAAO,MAAM,uBAAuB,GAAI,6JAWrC;IACF,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/C,oBAAoB,EAAE,6BAA6B,CAAC,sBAAsB,CAAC,CAAC;IAC5E,aAAa,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAChD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3C,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;CAC3B,8CA4BA,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const useSlotStyles: (slotId: string | undefined) => import("react-native-reanimated").StyleProps;
|
|
2
|
+
export declare const useComposedSlotStyles: (slotId: string | undefined, style: unknown) => import("react-native-reanimated").StyleProps;
|
|
3
|
+
/**
|
|
4
|
+
* Stacking-only slice (`zIndex`/`elevation`) of a slot's style. Returned
|
|
5
|
+
* separately so an owner can keep just its stacking context while a nested
|
|
6
|
+
* target takes the full associated style. Yields `NO_STYLES` when neither is set.
|
|
7
|
+
*/
|
|
8
|
+
export declare const useSlotStackingStyles: (slotId: string | undefined) => Readonly<{}>;
|
|
9
|
+
export declare const useSlotLayoutStyles: (slotId: string | undefined) => Readonly<{}>;
|
|
10
|
+
export declare const useSlotProps: (slotId: string | undefined) => object;
|
|
11
|
+
//# sourceMappingURL=slot-resolvers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,GAAG,SAAS,iDAavD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,QAAQ,MAAM,GAAG,SAAS,EAC1B,OAAO,OAAO,iDAkBd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,GAAG,SAAS,iBAc/D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,GAAG,SAAS,iBAmC7D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,GAAG,SAAS,WAMtD,CAAC"}
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts
CHANGED
|
@@ -19,5 +19,8 @@ import type { LocalStyleLayers } from "../helpers/resolve-slot-styles";
|
|
|
19
19
|
* downstream, where slot ids determine whether slots inherit from ancestors and
|
|
20
20
|
* where higher owner layers override lower owner layers per key.
|
|
21
21
|
*/
|
|
22
|
-
export declare const useInterpolatedStylesMap: () =>
|
|
22
|
+
export declare const useInterpolatedStylesMap: () => {
|
|
23
|
+
localStylesMaps: import("react-native-reanimated").DerivedValue<LocalStyleLayers>;
|
|
24
|
+
nextInterpolatorReady: import("react-native-reanimated").SharedValue<number>;
|
|
25
|
+
};
|
|
23
26
|
//# sourceMappingURL=use-interpolated-style-maps.d.ts.map
|
package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAmFvE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB;;;CA6IpC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const useMaybeBlockVisibility: (isFloatingOverlay?: boolean) => {
|
|
2
|
-
animatedStyle:
|
|
2
|
+
animatedStyle: {
|
|
3
3
|
transform: {
|
|
4
4
|
translateY: number;
|
|
5
5
|
}[];
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
animatedProps: Partial<{
|
|
8
8
|
pointerEvents: "none" | "box-none";
|
|
9
9
|
}>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { useComposedSlotStyles, useSlotLayoutStyles, useSlotProps, useSlotStackingStyles, useSlotStyles, } from "./hooks/slot-resolvers";
|
|
2
|
+
export { ScreenSlotContext, type ScreenSlotName, ScreenSlotProvider, useScreenSlots, } from "./slot.provider";
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,aAAa,GACb,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACN,iBAAiB,EACjB,KAAK,cAAc,EACnB,kBAAkB,EAClB,cAAc,GACd,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type SharedValue } from "react-native-reanimated";
|
|
3
|
-
import {
|
|
3
|
+
import type { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../../../constants";
|
|
4
4
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../types/animation.types";
|
|
5
|
+
import type { LocalStyleLayers } from "./helpers/resolve-slot-styles";
|
|
5
6
|
type Props = {
|
|
6
7
|
children: ReactNode;
|
|
7
8
|
isFloatingOverlay?: boolean;
|
|
8
9
|
};
|
|
9
10
|
export type ScreenSlotName = "content" | "backdrop" | "surface" | typeof NAVIGATION_MASK_CONTAINER_STYLE_ID | typeof NAVIGATION_MASK_ELEMENT_STYLE_ID;
|
|
10
|
-
type ScreenSlotContextValue = {
|
|
11
|
+
export type ScreenSlotContextValue = {
|
|
12
|
+
localStylesMaps: SharedValue<LocalStyleLayers>;
|
|
13
|
+
nextInterpolatorReady: SharedValue<number>;
|
|
11
14
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
12
15
|
};
|
|
13
16
|
export declare const ScreenSlotProvider: import("react").FC<Props>, ScreenSlotContext: import("react").Context<ScreenSlotContextValue>, useScreenSlots: () => ScreenSlotContextValue;
|
|
14
|
-
export declare const useSlotStyles: (slotId: string | undefined) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<Readonly<{}>>;
|
|
15
|
-
/**
|
|
16
|
-
* Stacking-only slice (`zIndex`/`elevation`) of a slot's style. Returned
|
|
17
|
-
* separately so an owner can keep just its stacking context while a nested
|
|
18
|
-
* target takes the full associated style. Yields `NO_STYLES` when neither is set.
|
|
19
|
-
*/
|
|
20
|
-
export declare const useSlotStackingStyles: (slotId: string | undefined) => import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<Readonly<{}>>;
|
|
21
|
-
export declare const useSlotProps: (slotId: string | undefined) => object;
|
|
22
17
|
export {};
|
|
23
18
|
//# sourceMappingURL=slot.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAC;AAE7E,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAI5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAStE,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MACN,kBAAkB,6BAClB,iBAAiB,mDACK,cAAc,8BA+CnC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ScreenKey } from "../../../../stores/bounds/types";
|
|
2
|
+
import type { ScreenSlotContextValue } from "../slot.provider";
|
|
3
|
+
export declare const registerScreenSlots: (screenKey: ScreenKey, slots: ScreenSlotContextValue) => void;
|
|
4
|
+
export declare const unregisterScreenSlots: (screenKey: ScreenKey, slots: ScreenSlotContextValue) => void;
|
|
5
|
+
export declare const useRegisteredScreenSlots: (screenKey?: ScreenKey | null) => ScreenSlotContextValue | null;
|
|
6
|
+
//# sourceMappingURL=slot-references.store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-references.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/stores/slot-references.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAyB/D,eAAO,MAAM,mBAAmB,GAC/B,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAa7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAQ7B,CAAC;AAUF,eAAO,MAAM,wBAAwB,GAAI,YAAY,SAAS,GAAG,IAAI,kCAMpE,CAAC"}
|
|
@@ -2,6 +2,7 @@ import type { BoundTag, GroupKey, LinkGroupState, LinkKey, LinkPairsState, Scree
|
|
|
2
2
|
export declare const createScreenPairKey: (sourceScreenKey: ScreenIdentifier["screenKey"], destinationScreenKey: ScreenIdentifier["screenKey"] | "") => ScreenPairKey;
|
|
3
3
|
export declare const createPendingPairKey: (sourceScreenKey: ScreenIdentifier["screenKey"]) => ScreenPairKey;
|
|
4
4
|
export declare const getSourceScreenKeyFromPairKey: (pairKey: ScreenPairKey) => ScreenIdentifier["screenKey"];
|
|
5
|
+
export declare const getDestinationScreenKeyFromPairKey: (pairKey: ScreenPairKey) => ScreenIdentifier["screenKey"] | "";
|
|
5
6
|
export declare const isScreenPairKeyForScreen: (pairKey: ScreenPairKey, screenKey: ScreenIdentifier["screenKey"]) => boolean;
|
|
6
7
|
export declare const getLinkKeyFromTag: (tag: string) => LinkKey;
|
|
7
8
|
export declare const getGroupKeyFromTag: (tag: string) => GroupKey | null;
|
|
@@ -13,6 +14,7 @@ export declare const createGroupTag: (group: GroupKey, linkKey: LinkKey) => stri
|
|
|
13
14
|
export declare const createBoundTag: (linkKey: LinkKey, group?: GroupKey) => BoundTag;
|
|
14
15
|
export declare const ensurePairLinks: (state: LinkPairsState, pairKey: ScreenPairKey) => Record<LinkKey, TagLink>;
|
|
15
16
|
export declare const ensurePairGroups: (state: LinkPairsState, pairKey: ScreenPairKey) => Record<GroupKey, LinkGroupState>;
|
|
17
|
+
export declare const ensurePairSourceRequests: (state: LinkPairsState, pairKey: ScreenPairKey) => Record<LinkKey, true>;
|
|
16
18
|
export declare const removePairLink: (state: LinkPairsState, pairKey: ScreenPairKey, linkKey: LinkKey) => void;
|
|
17
19
|
export declare const getLink: (state: LinkPairsState, pairKey: ScreenPairKey, linkKey: LinkKey) => TagLink | null;
|
|
18
20
|
export declare const getSource: (state: LinkPairsState, pairKey: ScreenPairKey, linkKey: LinkKey) => TagLink["source"] | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-pairs.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/link-pairs.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,OAAO,EAEP,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,mBAAmB,GAC/B,iBAAiB,gBAAgB,CAAC,WAAW,CAAC,EAC9C,sBAAsB,gBAAgB,CAAC,WAAW,CAAC,GAAG,EAAE,KACtD,aAGF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAChC,iBAAiB,gBAAgB,CAAC,WAAW,CAAC,KAC5C,aAGF,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACzC,SAAS,aAAa,KACpB,gBAAgB,CAAC,WAAW,CAK9B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACpC,SAAS,aAAa,EACtB,WAAW,gBAAgB,CAAC,WAAW,CAAC,KACtC,OAOF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,KAAK,MAAM,KAAG,OAK/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,KAAG,QAAQ,GAAG,IAK3D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,QAAQ,EAAE,SAAS,OAAO,KAAG,MAGlE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAC1B,SAAS,OAAO,EAChB,QAAQ,QAAQ,KACd,QAOF,CAAC;
|
|
1
|
+
{"version":3,"file":"link-pairs.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/helpers/link-pairs.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,OAAO,EAEP,cAAc,EACd,gBAAgB,EACh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AC1B,OAAO,cAAc,EACrB,SAAS,aAAa,EACtB,SAAS,OAAO,SAahB,CAAC;AAEF,eAAO,MAAM,OAAO,GACnB,OAAO,cAAc,EACrB,SAAS,aAAa,EACtB,SAAS,OAAO,KACd,OAAO,GAAG,IAGZ,CAAC;AAEF,eAAO,MAAM,SAAS,GACrB,OAAO,cAAc,EACrB,SAAS,aAAa,EACtB,SAAS,OAAO,KACd,OAAO,CAAC,QAAQ,CAAC,GAAG,IAGtB,CAAC;AAEF,eAAO,MAAM,cAAc,GAC1B,OAAO,cAAc,EACrB,SAAS,aAAa,EACtB,SAAS,OAAO,KACd,OAAO,CAAC,aAAa,CAAC,GAAG,IAG3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC5B,OAAO,cAAc,EACrB,SAAS,aAAa,EACtB,OAAO,QAAQ,KACb,OAAO,GAAG,IAGZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/entries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/entries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AA0DpE,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,GAAG,IAAI,CAG1D;AAED,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,QAQpE;AAED,iBAAS,WAAW,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,QAgBpD;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { MeasuredDimensions, StyleProps } from "react-native-reanimated";
|
|
2
|
-
import type {
|
|
3
|
-
declare function setSource(pairKey: ScreenPairKey, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, group?: GroupKey,
|
|
2
|
+
import type { BoundaryRuntimeFlags, GroupKey, LinkKey, ScreenKey, ScreenPairKey, TagID, TagLink } from "../types";
|
|
3
|
+
declare function setSource(pairKey: ScreenPairKey, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, group?: GroupKey, runtimeFlags?: BoundaryRuntimeFlags): void;
|
|
4
4
|
declare function setDestination(pairKey: ScreenPairKey, tag: TagID, screenKey: ScreenKey, bounds: MeasuredDimensions, styles?: StyleProps, group?: GroupKey): void;
|
|
5
5
|
declare function setActiveGroupId(pairKey: ScreenPairKey, group: GroupKey, tag: TagID): void;
|
|
6
|
+
declare function requestSourceMeasure(pairKey: ScreenPairKey, tag: TagID): void;
|
|
6
7
|
declare function getActiveGroupId(pairKey: ScreenPairKey, group: GroupKey): LinkKey | null;
|
|
7
8
|
declare function getLink(pairKey: ScreenPairKey, tag: TagID): TagLink | null;
|
|
8
9
|
declare function getResolvedLink(pairKey: ScreenPairKey, tag: TagID): {
|
|
@@ -11,5 +12,5 @@ declare function getResolvedLink(pairKey: ScreenPairKey, tag: TagID): {
|
|
|
11
12
|
};
|
|
12
13
|
declare function getSource(pairKey: ScreenPairKey, tag: TagID): TagLink["source"] | null;
|
|
13
14
|
declare function getDestination(pairKey: ScreenPairKey, tag: TagID): TagLink["destination"] | null;
|
|
14
|
-
export { getActiveGroupId, getDestination, getLink, getResolvedLink, getSource, setActiveGroupId, setDestination, setSource, };
|
|
15
|
+
export { getActiveGroupId, getDestination, getLink, getResolvedLink, getSource, requestSourceMeasure, setActiveGroupId, setDestination, setSource, };
|
|
15
16
|
//# sourceMappingURL=links.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAa9E,OAAO,KAAK,EACX,oBAAoB,EACpB,QAAQ,EACR,OAAO,EAEP,SAAS,EACT,aAAa,EAEb,KAAK,EACL,OAAO,EACP,MAAM,UAAU,CAAC;AA+NlB,iBAAS,SAAS,CACjB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,KAAK,CAAC,EAAE,QAAQ,EAChB,YAAY,GAAE,oBAAyB,QAoCvC;AAED,iBAAS,cAAc,CACtB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,KAAK,CAAC,EAAE,QAAQ,QAUhB;AAED,iBAAS,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,QAO5E;AAED,iBAAS,oBAAoB,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,QAe/D;AAED,iBAAS,gBAAgB,CACxB,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,QAAQ,GACb,OAAO,GAAG,IAAI,CAGhB;AAED,iBAAS,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI,CAGnE;AASD,iBAAS,eAAe,CACvB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,GACR;IAAE,GAAG,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAA;CAAE,CAiCtC;AAED,iBAAS,SAAS,CACjB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,GACR,OAAO,CAAC,QAAQ,CAAC,GAAG,IAAI,CAG1B;AAED,iBAAS,cAAc,CACtB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,GACR,OAAO,CAAC,aAAa,CAAC,GAAG,IAAI,CAG/B;AAED,OAAO,EACN,gBAAgB,EAChB,cAAc,EACd,OAAO,EACP,eAAe,EACf,SAAS,EACT,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,SAAS,GACT,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,sBAAsB,EACtB,wBAAwB,EAExB,KAAK,EACL,MAAM,UAAU,CAAC;AAoBlB,iBAAS,qBAAqB,CAC7B,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,wBAAwB,GAC/B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,sBAAsB,EACtB,wBAAwB,EAExB,KAAK,EACL,MAAM,UAAU,CAAC;AAoBlB,iBAAS,qBAAqB,CAC7B,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,wBAAwB,GAC/B,sBAAsB,CAaxB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -19,8 +19,11 @@ export interface BoundTag {
|
|
|
19
19
|
linkKey: LinkKey;
|
|
20
20
|
group?: GroupKey;
|
|
21
21
|
}
|
|
22
|
-
export type BoundsPortalAttachTarget = "current-screen" | "matched-screen";
|
|
23
22
|
export type { ScreenKey } from "../../types/screen.types";
|
|
23
|
+
export type BoundaryRuntimeFlags = {
|
|
24
|
+
handoff?: boolean;
|
|
25
|
+
escapeClipping?: boolean;
|
|
26
|
+
};
|
|
24
27
|
type BoundaryConfig = {
|
|
25
28
|
anchor?: BoundsAnchor;
|
|
26
29
|
scaleMode?: BoundsScaleMode;
|
|
@@ -31,7 +34,7 @@ export type Entry = {
|
|
|
31
34
|
bounds: MeasuredDimensions | null;
|
|
32
35
|
styles: StyleProps;
|
|
33
36
|
boundaryConfig?: BoundaryConfig;
|
|
34
|
-
};
|
|
37
|
+
} & BoundaryRuntimeFlags;
|
|
35
38
|
export type MeasuredEntry = Entry & {
|
|
36
39
|
bounds: MeasuredDimensions;
|
|
37
40
|
};
|
|
@@ -39,28 +42,15 @@ export type EntryPatch = {
|
|
|
39
42
|
bounds?: MeasuredDimensions | null;
|
|
40
43
|
styles?: StyleProps | null;
|
|
41
44
|
boundaryConfig?: BoundaryConfig | null;
|
|
45
|
+
handoff?: boolean | null;
|
|
46
|
+
escapeClipping?: boolean | null;
|
|
42
47
|
};
|
|
43
48
|
export type ScreenIdentifier = {
|
|
44
49
|
screenKey: ScreenKey;
|
|
45
50
|
};
|
|
46
51
|
export type BoundsLinkStatus = "source-incomplete" | "destination-incomplete" | "complete";
|
|
47
52
|
export type TagLinkSide = ScreenIdentifier & MeasuredEntry;
|
|
48
|
-
|
|
49
|
-
* The source screen's active portal host at measure time. Recorded only when
|
|
50
|
-
* that host captures scroll (a Transition.ScrollView scope) — matched-screen
|
|
51
|
-
* placement uses it as a coordinate space to express the source rect in the
|
|
52
|
-
* source ScrollView's live frame. The portal never attaches here.
|
|
53
|
-
*/
|
|
54
|
-
export type SourceHostRef = {
|
|
55
|
-
hostKey: string;
|
|
56
|
-
capturesScroll: boolean;
|
|
57
|
-
};
|
|
58
|
-
export type SourceTagLinkSide = TagLinkSide & {
|
|
59
|
-
/** Where this boundary's portal content renders during the transition. */
|
|
60
|
-
portalAttachTarget?: BoundsPortalAttachTarget;
|
|
61
|
-
/** Scroll-scoped host the source originated from, if any. */
|
|
62
|
-
sourceHost?: SourceHostRef;
|
|
63
|
-
};
|
|
53
|
+
export type SourceTagLinkSide = TagLinkSide;
|
|
64
54
|
type TagLinkBase = {
|
|
65
55
|
group?: GroupKey;
|
|
66
56
|
/** First captured source side exposed for public link inspection. */
|
|
@@ -103,8 +93,6 @@ export type ResolvedTransitionPair = {
|
|
|
103
93
|
destinationStyles: StyleProps | null;
|
|
104
94
|
sourceScreenKey: ScreenKey | null;
|
|
105
95
|
destinationScreenKey: ScreenKey | null;
|
|
106
|
-
sourcePortalAttachTarget?: BoundsPortalAttachTarget;
|
|
107
|
-
sourceHost?: SourceHostRef;
|
|
108
96
|
};
|
|
109
97
|
export type LinkGroupState = {
|
|
110
98
|
activeId: LinkKey;
|
|
@@ -113,6 +101,7 @@ export type LinkGroupState = {
|
|
|
113
101
|
export type LinkPairState = {
|
|
114
102
|
links: Record<LinkKey, TagLink>;
|
|
115
103
|
groups: Record<GroupKey, LinkGroupState>;
|
|
104
|
+
sourceRequests?: Record<LinkKey, true>;
|
|
116
105
|
};
|
|
117
106
|
export type LinkPairsState = Record<ScreenPairKey, LinkPairState>;
|
|
118
107
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/stores/bounds/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EACX,YAAY,EACZ,eAAe,EACf,MAA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MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC"}
|
|
@@ -35,6 +35,7 @@ export interface SystemStoreActions {
|
|
|
35
35
|
clearLifecycleTransitionRequest(): void;
|
|
36
36
|
blockLifecycleStart(): void;
|
|
37
37
|
unblockLifecycleStart(): void;
|
|
38
|
+
drainLifecycleStartBlocks(): void;
|
|
38
39
|
}
|
|
39
40
|
export type SystemStoreMap = SystemStoreState & {
|
|
40
41
|
actions: SystemStoreActions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/system.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,oBAAY,8BAA8B;IACzC,IAAI,IAAI;IACR,IAAI,IAAI;IACR,eAAe,IAAI;IACnB,WAAW,IAAI;CACf;AAED,KAAK,gBAAgB,GAAG;IACvB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAElD;;OAEG;IACH,2BAA2B,EAAE,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAEzE;;OAEG;IACH,6BAA6B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnD;;;OAGG;IACH,+BAA+B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,0BAA0B,CACzB,I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ACH,eAAO,MAAM,WAAW;;EAmDtB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TextStyle, ViewStyle } from "react-native";
|
|
2
|
-
import type { StyleProps } from "react-native-reanimated";
|
|
2
|
+
import type { StyleProps, TransformArrayItem } from "react-native-reanimated";
|
|
3
3
|
import type { EdgeInsets } from "react-native-safe-area-context";
|
|
4
4
|
import { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../constants";
|
|
5
5
|
import type { ScreenAnimationConfig } from "../utils/animation/animate";
|
|
@@ -173,6 +173,11 @@ export interface ScreenInterpolationProps {
|
|
|
173
173
|
* Combined progress of current and next screen transitions, ranging from 0-2.
|
|
174
174
|
*/
|
|
175
175
|
progress: number;
|
|
176
|
+
/**
|
|
177
|
+
* Combined transition progress of current and next screens, without live
|
|
178
|
+
* gesture contribution.
|
|
179
|
+
*/
|
|
180
|
+
transitionProgress: number;
|
|
176
181
|
/**
|
|
177
182
|
* Accumulated progress from the current screen's position onwards in the stack.
|
|
178
183
|
* Unlike `progress` (0-2), this ranges from 0-N where N is the number of screens
|
|
@@ -276,6 +281,7 @@ export type TransitionInterpolatorOptions = Omit<ScreenTransitionOptions, "navig
|
|
|
276
281
|
export type NormalizedTransitionSlotStyle = {
|
|
277
282
|
style?: StyleProps;
|
|
278
283
|
props?: TransitionSlotProps;
|
|
284
|
+
boundsLocalTransform?: TransformArrayItem[];
|
|
279
285
|
};
|
|
280
286
|
/**
|
|
281
287
|
* Normalized interpolated style map used internally.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/animation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"animation.types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ceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/helpers/styles/compute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/helpers/styles/compute.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAG9E,OAAO,KAAK,EAEX,mBAAmB,EACnB,aAAa,EACb,MAAM,qBAAqB,CAAC;AA4G7B,eAAO,MAAM,kBAAkB,GAC9B,4EAQG,mBAAmB,EACtB,iBAAgB,aAAkC,EAClD,eAAe,sBAAsB,iBA6FrC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { StyleProps, TransformArrayItem } from "react-native-reanimated";
|
|
2
|
+
export declare const BOUNDS_LOCAL_TRANSFORM_STYLE_KEY = "__screenTransitionsBoundsLocalTransform";
|
|
3
|
+
export declare const attachBoundsLocalTransform: (slotStyle: StyleProps, localStyle: StyleProps | null | undefined) => StyleProps;
|
|
4
|
+
export declare const getBoundsLocalTransform: (style: StyleProps | undefined) => TransformArrayItem[] | undefined;
|
|
5
|
+
export declare const stripBoundsLocalTransform: (style: StyleProps) => StyleProps;
|
|
6
|
+
//# sourceMappingURL=local-transform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-transform.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/helpers/styles/local-transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE9E,eAAO,MAAM,gCAAgC,4CACH,CAAC;AA2B3C,eAAO,MAAM,0BAA0B,GACtC,WAAW,UAAU,EACrB,YAAY,UAAU,GAAG,IAAI,GAAG,SAAS,KACvC,UAkBF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,OAAO,UAAU,GAAG,SAAS,KAC3B,kBAAkB,EAAE,GAAG,SAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,OAAO,UAAU,KAAG,UAqB7D,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,6 +2,10 @@ import type React from "react";
|
|
|
2
2
|
import { memo, useLayoutEffect, useMemo } from "react";
|
|
3
3
|
import type { View } from "react-native";
|
|
4
4
|
import Animated, { useAnimatedRef } from "react-native-reanimated";
|
|
5
|
+
import {
|
|
6
|
+
useComposedSlotStyles,
|
|
7
|
+
useSlotLayoutStyles,
|
|
8
|
+
} from "../../../providers/screen/styles";
|
|
5
9
|
import { prepareStyleForBounds } from "../../../utils/bounds/helpers/styles/styles";
|
|
6
10
|
import { logger } from "../../../utils/logger";
|
|
7
11
|
import { Portal } from "../portal/components/portal";
|
|
@@ -22,12 +26,20 @@ export const BoundaryTarget = memo(function BoundaryTarget(
|
|
|
22
26
|
const registerTargetRef = rootContext?.registerTargetRef;
|
|
23
27
|
const unregisterTargetRef = rootContext?.unregisterTargetRef;
|
|
24
28
|
const isActiveTarget = rootContext?.activeTargetRef === targetAnimatedRef;
|
|
29
|
+
const portalRuntime = rootContext?.portalRuntime;
|
|
30
|
+
const shouldApplyAssociatedStyleInline =
|
|
31
|
+
isActiveTarget && portalRuntime?.enabled !== true;
|
|
32
|
+
const shouldApplyPortalLayoutStyle =
|
|
33
|
+
isActiveTarget && portalRuntime?.enabled === true;
|
|
34
|
+
const associatedTargetStyles = useComposedSlotStyles(
|
|
35
|
+
rootContext?.boundTag.tag,
|
|
36
|
+
style,
|
|
37
|
+
);
|
|
38
|
+
const portalLayoutStyle = useSlotLayoutStyles(rootContext?.boundTag.tag);
|
|
25
39
|
const preparedStyles = useMemo(() => prepareStyleForBounds(style), [style]);
|
|
26
|
-
//
|
|
27
|
-
//
|
|
28
|
-
|
|
29
|
-
// the truthful measurement surface whenever a portal is configured.
|
|
30
|
-
const measurementRef = rootContext?.portal
|
|
40
|
+
// Teleported content can render outside its layout slot. The placeholder is
|
|
41
|
+
// the truthful measurement surface whenever runtime portal behavior is active.
|
|
42
|
+
const measurementRef = portalRuntime?.enabled
|
|
31
43
|
? placeholderAnimatedRef
|
|
32
44
|
: targetAnimatedRef;
|
|
33
45
|
|
|
@@ -54,7 +66,8 @@ export const BoundaryTarget = memo(function BoundaryTarget(
|
|
|
54
66
|
return (
|
|
55
67
|
<Portal
|
|
56
68
|
id={rootContext?.boundTag.tag}
|
|
57
|
-
|
|
69
|
+
handoff={portalRuntime?.handoff}
|
|
70
|
+
escapeClipping={portalRuntime?.escapeClipping}
|
|
58
71
|
placeholderRef={placeholderAnimatedRef}
|
|
59
72
|
>
|
|
60
73
|
<Animated.View
|
|
@@ -62,7 +75,8 @@ export const BoundaryTarget = memo(function BoundaryTarget(
|
|
|
62
75
|
ref={targetAnimatedRef}
|
|
63
76
|
style={[
|
|
64
77
|
style,
|
|
65
|
-
|
|
78
|
+
shouldApplyAssociatedStyleInline ? associatedTargetStyles : undefined,
|
|
79
|
+
shouldApplyPortalLayoutStyle ? portalLayoutStyle : undefined,
|
|
66
80
|
]}
|
|
67
81
|
collapsable={false}
|
|
68
82
|
/>
|