react-native-screen-transitions 4.0.0-alpha.0 → 4.0.0-alpha.10

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.
Files changed (1427) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/adapters/with-screen-transitions/context.js.map +1 -1
  3. package/lib/commonjs/adapters/with-screen-transitions/options.js +1 -12
  4. package/lib/commonjs/adapters/with-screen-transitions/options.js.map +1 -1
  5. package/lib/commonjs/adapters/with-screen-transitions/stack-layout.js +30 -23
  6. package/lib/commonjs/adapters/with-screen-transitions/stack-layout.js.map +1 -1
  7. package/lib/commonjs/animation/snap-to.js +3 -0
  8. package/lib/commonjs/animation/snap-to.js.map +1 -1
  9. package/lib/commonjs/components/activity/activity-view.js +77 -0
  10. package/lib/commonjs/components/activity/activity-view.js.map +1 -0
  11. package/lib/commonjs/components/activity/activity-view.web.js +84 -0
  12. package/lib/commonjs/components/activity/activity-view.web.js.map +1 -0
  13. package/lib/commonjs/components/activity/variants/activity-container.js +2 -12
  14. package/lib/commonjs/components/activity/variants/activity-container.js.map +1 -1
  15. package/lib/commonjs/components/activity/variants/activity-screen.js +28 -63
  16. package/lib/commonjs/components/activity/variants/activity-screen.js.map +1 -1
  17. package/lib/commonjs/components/boundary/components/boundary-lifecycle.js +36 -0
  18. package/lib/commonjs/components/boundary/components/boundary-lifecycle.js.map +1 -0
  19. package/lib/commonjs/components/boundary/components/boundary-target.js +20 -21
  20. package/lib/commonjs/components/boundary/components/boundary-target.js.map +1 -1
  21. package/lib/commonjs/components/boundary/create-boundary-component.js +20 -2
  22. package/lib/commonjs/components/boundary/create-boundary-component.js.map +1 -1
  23. package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +41 -30
  24. package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
  25. package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +3 -1
  26. package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -1
  27. package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js +15 -12
  28. package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
  29. package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js +9 -9
  30. package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  31. package/lib/commonjs/components/boundary/hooks/use-measurer.js +15 -17
  32. package/lib/commonjs/components/boundary/hooks/use-measurer.js.map +1 -1
  33. package/lib/commonjs/components/boundary/index.js +4 -9
  34. package/lib/commonjs/components/boundary/index.js.map +1 -1
  35. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/components/host.js +5 -1
  36. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -1
  37. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +67 -0
  38. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -0
  39. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +56 -189
  40. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
  41. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js +21 -13
  42. package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
  43. package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js +8 -26
  44. package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
  45. package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +38 -60
  46. package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
  47. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +13 -0
  48. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -0
  49. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +8 -32
  50. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -1
  51. package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +82 -0
  52. package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -0
  53. package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +24 -151
  54. package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
  55. package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +20 -58
  56. package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
  57. package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js +46 -9
  58. package/lib/commonjs/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
  59. package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -1
  60. package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +2 -29
  61. package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
  62. package/lib/commonjs/components/boundary/portal/teleport.js +1 -13
  63. package/lib/commonjs/components/boundary/portal/teleport.js.map +1 -1
  64. package/lib/commonjs/components/boundary/portal/utils/naming.js +8 -1
  65. package/lib/commonjs/components/boundary/portal/utils/naming.js.map +1 -1
  66. package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js +19 -15
  67. package/lib/commonjs/components/boundary/portal/utils/resolve-portal.js.map +1 -1
  68. package/lib/commonjs/components/boundary/portal/utils/teleport-control.js +1 -10
  69. package/lib/commonjs/components/boundary/portal/utils/teleport-control.js.map +1 -1
  70. package/lib/commonjs/components/boundary/providers/boundary-root.provider.js +42 -59
  71. package/lib/commonjs/components/boundary/providers/boundary-root.provider.js.map +1 -1
  72. package/lib/commonjs/components/boundary/utils/destination-signals.js +8 -4
  73. package/lib/commonjs/components/boundary/utils/destination-signals.js.map +1 -1
  74. package/lib/commonjs/components/boundary/utils/measured-bounds.js +19 -31
  75. package/lib/commonjs/components/boundary/utils/measured-bounds.js.map +1 -1
  76. package/lib/commonjs/components/boundary/utils/refresh-signals.js +34 -21
  77. package/lib/commonjs/components/boundary/utils/refresh-signals.js.map +1 -1
  78. package/lib/commonjs/components/boundary/utils/resolve-boundary-target.js +29 -0
  79. package/lib/commonjs/components/boundary/utils/resolve-boundary-target.js.map +1 -0
  80. package/lib/commonjs/components/create-transition-aware-component.js +9 -30
  81. package/lib/commonjs/components/create-transition-aware-component.js.map +1 -1
  82. package/lib/commonjs/components/overlay/helpers/create-overlay-interpolator-frame.js +36 -0
  83. package/lib/commonjs/components/overlay/helpers/create-overlay-interpolator-frame.js.map +1 -0
  84. package/lib/commonjs/components/overlay/helpers/get-active-overlay.js +52 -22
  85. package/lib/commonjs/components/overlay/helpers/get-active-overlay.js.map +1 -1
  86. package/lib/commonjs/components/overlay/helpers/retain-ready-overlay-resources.js +21 -0
  87. package/lib/commonjs/components/overlay/helpers/retain-ready-overlay-resources.js.map +1 -0
  88. package/lib/commonjs/components/overlay/helpers/run-overlay-slot-interpolator.js +41 -0
  89. package/lib/commonjs/components/overlay/helpers/run-overlay-slot-interpolator.js.map +1 -0
  90. package/lib/commonjs/components/overlay/hooks/use-overlay-slot.js +90 -0
  91. package/lib/commonjs/components/overlay/hooks/use-overlay-slot.js.map +1 -0
  92. package/lib/commonjs/components/overlay/variations/float-overlay.js +17 -69
  93. package/lib/commonjs/components/overlay/variations/float-overlay.js.map +1 -1
  94. package/lib/commonjs/components/overlay/variations/overlay-host.js +90 -16
  95. package/lib/commonjs/components/overlay/variations/overlay-host.js.map +1 -1
  96. package/lib/commonjs/components/screen-container/hooks/use-backdrop-pointer-events.js +4 -13
  97. package/lib/commonjs/components/screen-container/hooks/use-backdrop-pointer-events.js.map +1 -1
  98. package/lib/commonjs/components/screen-container/hooks/use-content-layout.js +3 -8
  99. package/lib/commonjs/components/screen-container/hooks/use-content-layout.js.map +1 -1
  100. package/lib/commonjs/components/screen-container/layers/backdrop.js +16 -14
  101. package/lib/commonjs/components/screen-container/layers/backdrop.js.map +1 -1
  102. package/lib/commonjs/components/screen-container/layers/content.js +14 -21
  103. package/lib/commonjs/components/screen-container/layers/content.js.map +1 -1
  104. package/lib/commonjs/components/screen-container/layers/maybe-masked-navigation-container.js +9 -1
  105. package/lib/commonjs/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
  106. package/lib/commonjs/components/screen-container/layers/surface.js +50 -0
  107. package/lib/commonjs/components/screen-container/layers/surface.js.map +1 -0
  108. package/lib/commonjs/components/screen-lifecycle/hooks/helpers/close-interception-rules.js +31 -0
  109. package/lib/commonjs/components/screen-lifecycle/hooks/helpers/close-interception-rules.js.map +1 -0
  110. package/lib/commonjs/components/screen-lifecycle/hooks/use-close-completion.js +27 -0
  111. package/lib/commonjs/components/screen-lifecycle/hooks/use-close-completion.js.map +1 -0
  112. package/lib/commonjs/components/screen-lifecycle/hooks/use-close-transition-intent.js +62 -92
  113. package/lib/commonjs/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
  114. package/lib/commonjs/components/screen-lifecycle/hooks/use-open-transition-intent.js +2 -3
  115. package/lib/commonjs/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -1
  116. package/lib/commonjs/components/screen-lifecycle/hooks/use-transition-start-controller.js +7 -5
  117. package/lib/commonjs/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
  118. package/lib/commonjs/components/screen-lifecycle/index.js +11 -10
  119. package/lib/commonjs/components/screen-lifecycle/index.js.map +1 -1
  120. package/lib/commonjs/components/stack-view.js +59 -34
  121. package/lib/commonjs/components/stack-view.js.map +1 -1
  122. package/lib/commonjs/configs/presets.js +14 -18
  123. package/lib/commonjs/configs/presets.js.map +1 -1
  124. package/lib/commonjs/constants.js +4 -19
  125. package/lib/commonjs/constants.js.map +1 -1
  126. package/lib/commonjs/factories/screen-topology/create-screen-topology.js +147 -0
  127. package/lib/commonjs/factories/screen-topology/create-screen-topology.js.map +1 -0
  128. package/lib/commonjs/factories/screen-topology/index.js +45 -0
  129. package/lib/commonjs/factories/screen-topology/index.js.map +1 -0
  130. package/lib/commonjs/factories/screen-topology/types.js +2 -0
  131. package/lib/commonjs/factories/screen-topology/types.js.map +1 -0
  132. package/lib/commonjs/factories/screen-topology/use-screen-relationships.js +15 -0
  133. package/lib/commonjs/factories/screen-topology/use-screen-relationships.js.map +1 -0
  134. package/lib/commonjs/factories/screen-topology/worklet.js +55 -0
  135. package/lib/commonjs/factories/screen-topology/worklet.js.map +1 -0
  136. package/lib/commonjs/hooks/navigation/use-navigation-helpers.js +34 -20
  137. package/lib/commonjs/hooks/navigation/use-navigation-helpers.js.map +1 -1
  138. package/lib/commonjs/hooks/navigation/use-screen-state.js +3 -5
  139. package/lib/commonjs/hooks/navigation/use-screen-state.js.map +1 -1
  140. package/lib/commonjs/hooks/reanimated/use-shared-value-ref.js +2 -3
  141. package/lib/commonjs/hooks/reanimated/use-shared-value-ref.js.map +1 -1
  142. package/lib/commonjs/index.js +0 -7
  143. package/lib/commonjs/index.js.map +1 -1
  144. package/lib/commonjs/navigators/create-blank-stack-navigator.js +1 -5
  145. package/lib/commonjs/navigators/create-blank-stack-navigator.js.map +1 -1
  146. package/lib/commonjs/navigators/react-navigation/index.js +7 -8
  147. package/lib/commonjs/navigators/react-navigation/index.js.map +1 -1
  148. package/lib/commonjs/providers/helpers/measured-bounds-writes.js +3 -1
  149. package/lib/commonjs/providers/helpers/measured-bounds-writes.js.map +1 -1
  150. package/lib/commonjs/providers/navigation/navigation-host.provider.js +17 -4
  151. package/lib/commonjs/providers/navigation/navigation-host.provider.js.map +1 -1
  152. package/lib/commonjs/providers/screen/animation/animation.provider.js +34 -97
  153. package/lib/commonjs/providers/screen/animation/animation.provider.js.map +1 -1
  154. package/lib/commonjs/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +8 -56
  155. package/lib/commonjs/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
  156. package/lib/commonjs/providers/screen/animation/helpers/build-screen-transition-options.js +2 -6
  157. package/lib/commonjs/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -1
  158. package/lib/commonjs/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js +22 -7
  159. package/lib/commonjs/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js.map +1 -1
  160. package/lib/commonjs/providers/screen/animation/helpers/hydrate-transition-state/index.js +20 -23
  161. package/lib/commonjs/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
  162. package/lib/commonjs/providers/screen/animation/helpers/pipeline.js +25 -25
  163. package/lib/commonjs/providers/screen/animation/helpers/pipeline.js.map +1 -1
  164. package/lib/commonjs/providers/screen/animation/helpers/read-screen-animation-revisions.js +4 -13
  165. package/lib/commonjs/providers/screen/animation/helpers/read-screen-animation-revisions.js.map +1 -1
  166. package/lib/commonjs/providers/screen/animation/helpers/selected-interpolator-options.js +1 -10
  167. package/lib/commonjs/providers/screen/animation/helpers/selected-interpolator-options.js.map +1 -1
  168. package/lib/commonjs/providers/screen/animation/helpers/stack-progress.js +10 -26
  169. package/lib/commonjs/providers/screen/animation/helpers/stack-progress.js.map +1 -1
  170. package/lib/commonjs/providers/screen/animation/helpers/use-build-transition-state.js +0 -1
  171. package/lib/commonjs/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
  172. package/lib/commonjs/providers/screen/animation/index.js +8 -2
  173. package/lib/commonjs/providers/screen/animation/index.js.map +1 -1
  174. package/lib/commonjs/providers/screen/animation/use-screen-animation.js +13 -42
  175. package/lib/commonjs/providers/screen/animation/use-screen-animation.js.map +1 -1
  176. package/lib/commonjs/providers/screen/descriptors/descriptors.provider.js +61 -52
  177. package/lib/commonjs/providers/screen/descriptors/descriptors.provider.js.map +1 -1
  178. package/lib/commonjs/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -6
  179. package/lib/commonjs/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
  180. package/lib/commonjs/providers/screen/descriptors/index.js +0 -12
  181. package/lib/commonjs/providers/screen/descriptors/index.js.map +1 -1
  182. package/lib/commonjs/providers/screen/gestures/gestures.provider.js +33 -30
  183. package/lib/commonjs/providers/screen/gestures/gestures.provider.js.map +1 -1
  184. package/lib/commonjs/providers/screen/gestures/hooks/use-screen-gesture-config.js +5 -13
  185. package/lib/commonjs/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
  186. package/lib/commonjs/providers/screen/gestures/hooks/use-screen-gesture.js +2 -3
  187. package/lib/commonjs/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -1
  188. package/lib/commonjs/providers/screen/gestures/hooks/use-stable-runtime-config.js +1 -3
  189. package/lib/commonjs/providers/screen/gestures/hooks/use-stable-runtime-config.js.map +1 -1
  190. package/lib/commonjs/providers/screen/gestures/index.js +8 -2
  191. package/lib/commonjs/providers/screen/gestures/index.js.map +1 -1
  192. package/lib/commonjs/providers/screen/gestures/ownership/{use-walk-up-and-register-shadowing-claims.js → gesture-ownership-bridge.js} +38 -64
  193. package/lib/commonjs/providers/screen/gestures/ownership/gesture-ownership-bridge.js.map +1 -0
  194. package/lib/commonjs/providers/screen/gestures/ownership/resolve-ownership.js +5 -7
  195. package/lib/commonjs/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
  196. package/lib/commonjs/providers/screen/gestures/ownership/shadowing-claims.js +2 -2
  197. package/lib/commonjs/providers/screen/gestures/ownership/shadowing-claims.js.map +1 -1
  198. package/lib/commonjs/providers/screen/gestures/pan/activation/pan-activation-decision.js +1 -2
  199. package/lib/commonjs/providers/screen/gestures/pan/activation/pan-activation-decision.js.map +1 -1
  200. package/lib/commonjs/providers/screen/gestures/pan/activation/pan-activation-rules.js +5 -6
  201. package/lib/commonjs/providers/screen/gestures/pan/activation/pan-activation-rules.js.map +1 -1
  202. package/lib/commonjs/providers/screen/gestures/pan/activation/use-pan-activation.js +3 -2
  203. package/lib/commonjs/providers/screen/gestures/pan/activation/use-pan-activation.js.map +1 -1
  204. package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-lifecycle.js +10 -13
  205. package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
  206. package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-release.js +30 -8
  207. package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-release.js.map +1 -1
  208. package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-reset.js +11 -2
  209. package/lib/commonjs/providers/screen/gestures/pan/behavior/pan-reset.js.map +1 -1
  210. package/lib/commonjs/providers/screen/gestures/pan/behavior/use-pan-behavior.js +3 -5
  211. package/lib/commonjs/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
  212. package/lib/commonjs/providers/screen/gestures/pan/use-build-pan-gesture.js +1 -1
  213. package/lib/commonjs/providers/screen/gestures/pan/use-build-pan-gesture.js.map +1 -1
  214. package/lib/commonjs/providers/screen/gestures/pinch/activation/use-pinch-activation.js +37 -3
  215. package/lib/commonjs/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
  216. package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +15 -14
  217. package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
  218. package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-release.js +29 -8
  219. package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-release.js.map +1 -1
  220. package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-reset.js +8 -2
  221. package/lib/commonjs/providers/screen/gestures/pinch/behavior/pinch-reset.js.map +1 -1
  222. package/lib/commonjs/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -3
  223. package/lib/commonjs/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
  224. package/lib/commonjs/providers/screen/gestures/pinch/use-build-pinch-gesture.js +1 -1
  225. package/lib/commonjs/providers/screen/gestures/pinch/use-build-pinch-gesture.js.map +1 -1
  226. package/lib/commonjs/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js +5 -8
  227. package/lib/commonjs/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js.map +1 -1
  228. package/lib/commonjs/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js +5 -4
  229. package/lib/commonjs/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -1
  230. package/lib/commonjs/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js +1 -3
  231. package/lib/commonjs/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js.map +1 -1
  232. package/lib/commonjs/providers/screen/gestures/shared/policy.js +10 -18
  233. package/lib/commonjs/providers/screen/gestures/shared/policy.js.map +1 -1
  234. package/lib/commonjs/providers/screen/gestures/shared/snap-points.js +71 -1
  235. package/lib/commonjs/providers/screen/gestures/shared/snap-points.js.map +1 -1
  236. package/lib/commonjs/providers/screen/gestures/shared/snapshot.js +1 -2
  237. package/lib/commonjs/providers/screen/gestures/shared/snapshot.js.map +1 -1
  238. package/lib/commonjs/providers/screen/gestures/types.js.map +1 -1
  239. package/lib/commonjs/providers/screen/options/helpers.js +7 -31
  240. package/lib/commonjs/providers/screen/options/helpers.js.map +1 -1
  241. package/lib/commonjs/providers/screen/options/index.js +2 -2
  242. package/lib/commonjs/providers/screen/options/options.provider.js +4 -8
  243. package/lib/commonjs/providers/screen/options/options.provider.js.map +1 -1
  244. package/lib/commonjs/providers/screen/screen-composer.js +2 -0
  245. package/lib/commonjs/providers/screen/screen-composer.js.map +1 -1
  246. package/lib/commonjs/providers/screen/styles/constants.js +15 -5
  247. package/lib/commonjs/providers/screen/styles/constants.js.map +1 -1
  248. package/lib/commonjs/providers/screen/styles/helpers/create-interpolator-scope.js +40 -0
  249. package/lib/commonjs/providers/screen/styles/helpers/create-interpolator-scope.js.map +1 -0
  250. package/lib/commonjs/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js +94 -0
  251. package/lib/commonjs/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js.map +1 -0
  252. package/lib/commonjs/providers/screen/styles/helpers/resolve-slot-styles/index.js +48 -5
  253. package/lib/commonjs/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  254. package/lib/commonjs/providers/screen/styles/helpers/select-interpolator-frame.js +30 -0
  255. package/lib/commonjs/providers/screen/styles/helpers/select-interpolator-frame.js.map +1 -0
  256. package/lib/commonjs/providers/screen/styles/helpers/transition-visual-state.js +61 -0
  257. package/lib/commonjs/providers/screen/styles/helpers/transition-visual-state.js.map +1 -0
  258. package/lib/commonjs/providers/screen/styles/helpers/visibility-block-ownership.js +19 -0
  259. package/lib/commonjs/providers/screen/styles/helpers/visibility-block-ownership.js.map +1 -0
  260. package/lib/commonjs/providers/screen/styles/helpers/visibility-gate.js +25 -6
  261. package/lib/commonjs/providers/screen/styles/helpers/visibility-gate.js.map +1 -1
  262. package/lib/commonjs/providers/screen/styles/hooks/slot-resolvers.js +16 -15
  263. package/lib/commonjs/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
  264. package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js +123 -71
  265. package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  266. package/lib/commonjs/providers/screen/styles/hooks/use-maybe-block-visibility.js +45 -25
  267. package/lib/commonjs/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  268. package/lib/commonjs/providers/screen/styles/index.js +8 -8
  269. package/lib/commonjs/providers/screen/styles/slot.provider.js +41 -41
  270. package/lib/commonjs/providers/screen/styles/slot.provider.js.map +1 -1
  271. package/lib/commonjs/providers/screen/use-current-screen-relationships.js +14 -0
  272. package/lib/commonjs/providers/screen/use-current-screen-relationships.js.map +1 -0
  273. package/lib/commonjs/providers/stack/blank-stack-state/blank-stack-controller.js +9 -9
  274. package/lib/commonjs/providers/stack/blank-stack-state/blank-stack-controller.js.map +1 -1
  275. package/lib/commonjs/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js +3 -11
  276. package/lib/commonjs/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js.map +1 -1
  277. package/lib/commonjs/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js.map +1 -1
  278. package/lib/commonjs/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js.map +1 -1
  279. package/lib/commonjs/providers/stack/blank-stack-state/helpers/resolve-presented-index.js +18 -0
  280. package/lib/commonjs/providers/stack/blank-stack-state/helpers/resolve-presented-index.js.map +1 -0
  281. package/lib/commonjs/providers/stack/blank-stack-state/helpers/state-equality.js.map +1 -1
  282. package/lib/commonjs/providers/stack/blank-stack-state/index.js.map +1 -1
  283. package/lib/commonjs/providers/stack/blank-stack.provider.js +51 -62
  284. package/lib/commonjs/providers/stack/blank-stack.provider.js.map +1 -1
  285. package/lib/commonjs/providers/stack/core.provider.js +25 -58
  286. package/lib/commonjs/providers/stack/core.provider.js.map +1 -1
  287. package/lib/commonjs/stores/animation.store.js +19 -3
  288. package/lib/commonjs/stores/animation.store.js.map +1 -1
  289. package/lib/commonjs/stores/bounds/internals/entries.js +27 -0
  290. package/lib/commonjs/stores/bounds/internals/entries.js.map +1 -1
  291. package/lib/commonjs/stores/bounds/internals/links.js +36 -5
  292. package/lib/commonjs/stores/bounds/internals/links.js.map +1 -1
  293. package/lib/commonjs/stores/bounds/internals/resolver.js +2 -12
  294. package/lib/commonjs/stores/bounds/internals/resolver.js.map +1 -1
  295. package/lib/commonjs/stores/gesture.store.js +4 -13
  296. package/lib/commonjs/stores/gesture.store.js.map +1 -1
  297. package/lib/commonjs/stores/scroll.store.js +20 -2
  298. package/lib/commonjs/stores/scroll.store.js.map +1 -1
  299. package/lib/commonjs/stores/system.store.js +3 -2
  300. package/lib/commonjs/stores/system.store.js.map +1 -1
  301. package/lib/commonjs/types/gesture.types.js.map +1 -1
  302. package/lib/commonjs/types/stack.types.js +0 -35
  303. package/lib/commonjs/types/stack.types.js.map +1 -1
  304. package/lib/commonjs/utils/animation/animate-to-progress.js +35 -34
  305. package/lib/commonjs/utils/animation/animate-to-progress.js.map +1 -1
  306. package/lib/commonjs/utils/animation/animate.js +14 -2
  307. package/lib/commonjs/utils/animation/animate.js.map +1 -1
  308. package/lib/commonjs/utils/animation/spring/spring.js +22 -2
  309. package/lib/commonjs/utils/animation/spring/spring.js.map +1 -1
  310. package/lib/commonjs/utils/animation/spring/springUtils.js +96 -0
  311. package/lib/commonjs/utils/animation/spring/springUtils.js.map +1 -1
  312. package/lib/commonjs/utils/animation/state.js +4 -0
  313. package/lib/commonjs/utils/bounds/constants.js.map +1 -1
  314. package/lib/commonjs/utils/bounds/helpers/create-bounds-accessor-core.js +6 -5
  315. package/lib/commonjs/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  316. package/lib/commonjs/utils/bounds/helpers/create-link-accessor.js +2 -2
  317. package/lib/commonjs/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  318. package/lib/commonjs/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  319. package/lib/commonjs/utils/bounds/helpers/styles/composers.js +2 -2
  320. package/lib/commonjs/utils/bounds/helpers/styles/composers.js.map +1 -1
  321. package/lib/commonjs/utils/bounds/helpers/styles/compute.js.map +1 -1
  322. package/lib/commonjs/utils/bounds/navigation/reveal/build.js +1 -1
  323. package/lib/commonjs/utils/bounds/navigation/reveal/build.js.map +1 -1
  324. package/lib/commonjs/utils/bounds/navigation/reveal/math.js +17 -5
  325. package/lib/commonjs/utils/bounds/navigation/reveal/math.js.map +1 -1
  326. package/lib/commonjs/utils/bounds/navigation/zoom/build.js +44 -20
  327. package/lib/commonjs/utils/bounds/navigation/zoom/build.js.map +1 -1
  328. package/lib/commonjs/utils/bounds/navigation/zoom/drag.js +2 -31
  329. package/lib/commonjs/utils/bounds/navigation/zoom/drag.js.map +1 -1
  330. package/lib/commonjs/utils/bounds/navigation/zoom/helpers.js +3 -17
  331. package/lib/commonjs/utils/bounds/navigation/zoom/helpers.js.map +1 -1
  332. package/lib/commonjs/utils/create-provider.js +153 -84
  333. package/lib/commonjs/utils/create-provider.js.map +1 -1
  334. package/lib/commonjs/utils/navigation/close-action-replay.js +22 -0
  335. package/lib/commonjs/utils/navigation/close-action-replay.js.map +1 -0
  336. package/lib/commonjs/utils/normalize-interpolated-style.js +2 -40
  337. package/lib/commonjs/utils/normalize-interpolated-style.js.map +1 -1
  338. package/lib/commonjs/utils/resolve-screen-transition-options.js +1 -7
  339. package/lib/commonjs/utils/resolve-screen-transition-options.js.map +1 -1
  340. package/lib/module/adapters/with-screen-transitions/context.js.map +1 -1
  341. package/lib/module/adapters/with-screen-transitions/options.js +1 -12
  342. package/lib/module/adapters/with-screen-transitions/options.js.map +1 -1
  343. package/lib/module/adapters/with-screen-transitions/stack-layout.js +30 -23
  344. package/lib/module/adapters/with-screen-transitions/stack-layout.js.map +1 -1
  345. package/lib/module/animation/snap-to.js +3 -0
  346. package/lib/module/animation/snap-to.js.map +1 -1
  347. package/lib/module/components/activity/activity-view.js +73 -0
  348. package/lib/module/components/activity/activity-view.js.map +1 -0
  349. package/lib/module/components/activity/activity-view.web.js +80 -0
  350. package/lib/module/components/activity/activity-view.web.js.map +1 -0
  351. package/lib/module/components/activity/variants/activity-container.js +2 -12
  352. package/lib/module/components/activity/variants/activity-container.js.map +1 -1
  353. package/lib/module/components/activity/variants/activity-screen.js +28 -63
  354. package/lib/module/components/activity/variants/activity-screen.js.map +1 -1
  355. package/lib/module/components/boundary/components/boundary-lifecycle.js +32 -0
  356. package/lib/module/components/boundary/components/boundary-lifecycle.js.map +1 -0
  357. package/lib/module/components/boundary/components/boundary-target.js +20 -21
  358. package/lib/module/components/boundary/components/boundary-target.js.map +1 -1
  359. package/lib/module/components/boundary/create-boundary-component.js +22 -4
  360. package/lib/module/components/boundary/create-boundary-component.js.map +1 -1
  361. package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +45 -33
  362. package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
  363. package/lib/module/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +3 -1
  364. package/lib/module/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -1
  365. package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js +15 -12
  366. package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
  367. package/lib/module/components/boundary/hooks/use-boundary-measurement.js +9 -9
  368. package/lib/module/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  369. package/lib/module/components/boundary/hooks/use-measurer.js +17 -19
  370. package/lib/module/components/boundary/hooks/use-measurer.js.map +1 -1
  371. package/lib/module/components/boundary/index.js +4 -9
  372. package/lib/module/components/boundary/index.js.map +1 -1
  373. package/lib/module/components/boundary/portal/components/boundary-content-portal/components/host.js +5 -1
  374. package/lib/module/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -1
  375. package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +60 -0
  376. package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -0
  377. package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +60 -193
  378. package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
  379. package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js +21 -13
  380. package/lib/module/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -1
  381. package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js +9 -27
  382. package/lib/module/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -1
  383. package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +40 -62
  384. package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
  385. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +8 -0
  386. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -0
  387. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/offset-style.js +8 -33
  388. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -1
  389. package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +76 -0
  390. package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -0
  391. package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +27 -154
  392. package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
  393. package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +20 -58
  394. package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
  395. package/lib/module/components/boundary/portal/components/boundary-portal/index.js +45 -9
  396. package/lib/module/components/boundary/portal/components/boundary-portal/index.js.map +1 -1
  397. package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -1
  398. package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +1 -27
  399. package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
  400. package/lib/module/components/boundary/portal/teleport.js +1 -14
  401. package/lib/module/components/boundary/portal/teleport.js.map +1 -1
  402. package/lib/module/components/boundary/portal/utils/naming.js +6 -0
  403. package/lib/module/components/boundary/portal/utils/naming.js.map +1 -1
  404. package/lib/module/components/boundary/portal/utils/resolve-portal.js +19 -15
  405. package/lib/module/components/boundary/portal/utils/resolve-portal.js.map +1 -1
  406. package/lib/module/components/boundary/portal/utils/teleport-control.js +0 -8
  407. package/lib/module/components/boundary/portal/utils/teleport-control.js.map +1 -1
  408. package/lib/module/components/boundary/providers/boundary-root.provider.js +42 -59
  409. package/lib/module/components/boundary/providers/boundary-root.provider.js.map +1 -1
  410. package/lib/module/components/boundary/utils/destination-signals.js +8 -4
  411. package/lib/module/components/boundary/utils/destination-signals.js.map +1 -1
  412. package/lib/module/components/boundary/utils/measured-bounds.js +17 -28
  413. package/lib/module/components/boundary/utils/measured-bounds.js.map +1 -1
  414. package/lib/module/components/boundary/utils/refresh-signals.js +34 -21
  415. package/lib/module/components/boundary/utils/refresh-signals.js.map +1 -1
  416. package/lib/module/components/boundary/utils/resolve-boundary-target.js +24 -0
  417. package/lib/module/components/boundary/utils/resolve-boundary-target.js.map +1 -0
  418. package/lib/module/components/create-transition-aware-component.js +10 -31
  419. package/lib/module/components/create-transition-aware-component.js.map +1 -1
  420. package/lib/module/components/overlay/helpers/create-overlay-interpolator-frame.js +30 -0
  421. package/lib/module/components/overlay/helpers/create-overlay-interpolator-frame.js.map +1 -0
  422. package/lib/module/components/overlay/helpers/get-active-overlay.js +49 -21
  423. package/lib/module/components/overlay/helpers/get-active-overlay.js.map +1 -1
  424. package/lib/module/components/overlay/helpers/retain-ready-overlay-resources.js +17 -0
  425. package/lib/module/components/overlay/helpers/retain-ready-overlay-resources.js.map +1 -0
  426. package/lib/module/components/overlay/helpers/run-overlay-slot-interpolator.js +36 -0
  427. package/lib/module/components/overlay/helpers/run-overlay-slot-interpolator.js.map +1 -0
  428. package/lib/module/components/overlay/hooks/use-overlay-slot.js +85 -0
  429. package/lib/module/components/overlay/hooks/use-overlay-slot.js.map +1 -0
  430. package/lib/module/components/overlay/variations/float-overlay.js +18 -70
  431. package/lib/module/components/overlay/variations/float-overlay.js.map +1 -1
  432. package/lib/module/components/overlay/variations/overlay-host.js +91 -18
  433. package/lib/module/components/overlay/variations/overlay-host.js.map +1 -1
  434. package/lib/module/components/screen-container/hooks/use-backdrop-pointer-events.js +6 -15
  435. package/lib/module/components/screen-container/hooks/use-backdrop-pointer-events.js.map +1 -1
  436. package/lib/module/components/screen-container/hooks/use-content-layout.js +4 -9
  437. package/lib/module/components/screen-container/hooks/use-content-layout.js.map +1 -1
  438. package/lib/module/components/screen-container/layers/backdrop.js +18 -16
  439. package/lib/module/components/screen-container/layers/backdrop.js.map +1 -1
  440. package/lib/module/components/screen-container/layers/content.js +16 -22
  441. package/lib/module/components/screen-container/layers/content.js.map +1 -1
  442. package/lib/module/components/screen-container/layers/maybe-masked-navigation-container.js +10 -2
  443. package/lib/module/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
  444. package/lib/module/components/screen-container/layers/surface.js +45 -0
  445. package/lib/module/components/screen-container/layers/surface.js.map +1 -0
  446. package/lib/module/components/screen-lifecycle/hooks/helpers/close-interception-rules.js +25 -0
  447. package/lib/module/components/screen-lifecycle/hooks/helpers/close-interception-rules.js.map +1 -0
  448. package/lib/module/components/screen-lifecycle/hooks/use-close-completion.js +22 -0
  449. package/lib/module/components/screen-lifecycle/hooks/use-close-completion.js.map +1 -0
  450. package/lib/module/components/screen-lifecycle/hooks/use-close-transition-intent.js +64 -93
  451. package/lib/module/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
  452. package/lib/module/components/screen-lifecycle/hooks/use-open-transition-intent.js +3 -4
  453. package/lib/module/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -1
  454. package/lib/module/components/screen-lifecycle/hooks/use-transition-start-controller.js +7 -5
  455. package/lib/module/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -1
  456. package/lib/module/components/screen-lifecycle/index.js +12 -11
  457. package/lib/module/components/screen-lifecycle/index.js.map +1 -1
  458. package/lib/module/components/stack-view.js +61 -36
  459. package/lib/module/components/stack-view.js.map +1 -1
  460. package/lib/module/configs/presets.js +14 -18
  461. package/lib/module/configs/presets.js.map +1 -1
  462. package/lib/module/constants.js +3 -18
  463. package/lib/module/constants.js.map +1 -1
  464. package/lib/module/factories/screen-topology/create-screen-topology.js +142 -0
  465. package/lib/module/factories/screen-topology/create-screen-topology.js.map +1 -0
  466. package/lib/module/factories/screen-topology/index.js +6 -0
  467. package/lib/module/factories/screen-topology/index.js.map +1 -0
  468. package/lib/module/factories/screen-topology/types.js +2 -0
  469. package/lib/module/factories/screen-topology/types.js.map +1 -0
  470. package/lib/module/factories/screen-topology/use-screen-relationships.js +10 -0
  471. package/lib/module/factories/screen-topology/use-screen-relationships.js.map +1 -0
  472. package/lib/module/factories/screen-topology/worklet.js +48 -0
  473. package/lib/module/factories/screen-topology/worklet.js.map +1 -0
  474. package/lib/module/hooks/navigation/use-navigation-helpers.js +34 -20
  475. package/lib/module/hooks/navigation/use-navigation-helpers.js.map +1 -1
  476. package/lib/module/hooks/navigation/use-screen-state.js +4 -6
  477. package/lib/module/hooks/navigation/use-screen-state.js.map +1 -1
  478. package/lib/module/hooks/reanimated/use-shared-value-ref.js +3 -4
  479. package/lib/module/hooks/reanimated/use-shared-value-ref.js.map +1 -1
  480. package/lib/module/index.js +0 -6
  481. package/lib/module/index.js.map +1 -1
  482. package/lib/module/navigators/create-blank-stack-navigator.js +1 -5
  483. package/lib/module/navigators/create-blank-stack-navigator.js.map +1 -1
  484. package/lib/module/navigators/react-navigation/index.js +4 -6
  485. package/lib/module/navigators/react-navigation/index.js.map +1 -1
  486. package/lib/module/providers/helpers/measured-bounds-writes.js +3 -1
  487. package/lib/module/providers/helpers/measured-bounds-writes.js.map +1 -1
  488. package/lib/module/providers/navigation/navigation-host.provider.js +16 -4
  489. package/lib/module/providers/navigation/navigation-host.provider.js.map +1 -1
  490. package/lib/module/providers/screen/animation/animation.provider.js +32 -95
  491. package/lib/module/providers/screen/animation/animation.provider.js.map +1 -1
  492. package/lib/module/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +8 -56
  493. package/lib/module/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
  494. package/lib/module/providers/screen/animation/helpers/build-screen-transition-options.js +2 -6
  495. package/lib/module/providers/screen/animation/helpers/build-screen-transition-options.js.map +1 -1
  496. package/lib/module/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js +22 -7
  497. package/lib/module/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.js.map +1 -1
  498. package/lib/module/providers/screen/animation/helpers/hydrate-transition-state/index.js +20 -23
  499. package/lib/module/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
  500. package/lib/module/providers/screen/animation/helpers/pipeline.js +27 -27
  501. package/lib/module/providers/screen/animation/helpers/pipeline.js.map +1 -1
  502. package/lib/module/providers/screen/animation/helpers/read-screen-animation-revisions.js +4 -13
  503. package/lib/module/providers/screen/animation/helpers/read-screen-animation-revisions.js.map +1 -1
  504. package/lib/module/providers/screen/animation/helpers/selected-interpolator-options.js +1 -10
  505. package/lib/module/providers/screen/animation/helpers/selected-interpolator-options.js.map +1 -1
  506. package/lib/module/providers/screen/animation/helpers/stack-progress.js +9 -24
  507. package/lib/module/providers/screen/animation/helpers/stack-progress.js.map +1 -1
  508. package/lib/module/providers/screen/animation/helpers/use-build-transition-state.js +0 -1
  509. package/lib/module/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
  510. package/lib/module/providers/screen/animation/index.js +1 -1
  511. package/lib/module/providers/screen/animation/index.js.map +1 -1
  512. package/lib/module/providers/screen/animation/use-screen-animation.js +14 -44
  513. package/lib/module/providers/screen/animation/use-screen-animation.js.map +1 -1
  514. package/lib/module/providers/screen/descriptors/descriptors.provider.js +62 -50
  515. package/lib/module/providers/screen/descriptors/descriptors.provider.js.map +1 -1
  516. package/lib/module/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -6
  517. package/lib/module/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
  518. package/lib/module/providers/screen/descriptors/index.js +1 -1
  519. package/lib/module/providers/screen/descriptors/index.js.map +1 -1
  520. package/lib/module/providers/screen/gestures/gestures.provider.js +32 -30
  521. package/lib/module/providers/screen/gestures/gestures.provider.js.map +1 -1
  522. package/lib/module/providers/screen/gestures/hooks/use-screen-gesture-config.js +6 -14
  523. package/lib/module/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
  524. package/lib/module/providers/screen/gestures/hooks/use-screen-gesture.js +3 -4
  525. package/lib/module/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -1
  526. package/lib/module/providers/screen/gestures/hooks/use-stable-runtime-config.js +2 -4
  527. package/lib/module/providers/screen/gestures/hooks/use-stable-runtime-config.js.map +1 -1
  528. package/lib/module/providers/screen/gestures/index.js +1 -1
  529. package/lib/module/providers/screen/gestures/index.js.map +1 -1
  530. package/lib/module/providers/screen/gestures/ownership/gesture-ownership-bridge.js +124 -0
  531. package/lib/module/providers/screen/gestures/ownership/gesture-ownership-bridge.js.map +1 -0
  532. package/lib/module/providers/screen/gestures/ownership/resolve-ownership.js +5 -7
  533. package/lib/module/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
  534. package/lib/module/providers/screen/gestures/ownership/shadowing-claims.js +2 -2
  535. package/lib/module/providers/screen/gestures/ownership/shadowing-claims.js.map +1 -1
  536. package/lib/module/providers/screen/gestures/pan/activation/pan-activation-decision.js +1 -2
  537. package/lib/module/providers/screen/gestures/pan/activation/pan-activation-decision.js.map +1 -1
  538. package/lib/module/providers/screen/gestures/pan/activation/pan-activation-rules.js +5 -6
  539. package/lib/module/providers/screen/gestures/pan/activation/pan-activation-rules.js.map +1 -1
  540. package/lib/module/providers/screen/gestures/pan/activation/use-pan-activation.js +4 -3
  541. package/lib/module/providers/screen/gestures/pan/activation/use-pan-activation.js.map +1 -1
  542. package/lib/module/providers/screen/gestures/pan/behavior/pan-lifecycle.js +11 -14
  543. package/lib/module/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
  544. package/lib/module/providers/screen/gestures/pan/behavior/pan-release.js +31 -9
  545. package/lib/module/providers/screen/gestures/pan/behavior/pan-release.js.map +1 -1
  546. package/lib/module/providers/screen/gestures/pan/behavior/pan-reset.js +11 -2
  547. package/lib/module/providers/screen/gestures/pan/behavior/pan-reset.js.map +1 -1
  548. package/lib/module/providers/screen/gestures/pan/behavior/use-pan-behavior.js +3 -5
  549. package/lib/module/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
  550. package/lib/module/providers/screen/gestures/pan/use-build-pan-gesture.js +2 -2
  551. package/lib/module/providers/screen/gestures/pan/use-build-pan-gesture.js.map +1 -1
  552. package/lib/module/providers/screen/gestures/pinch/activation/use-pinch-activation.js +35 -2
  553. package/lib/module/providers/screen/gestures/pinch/activation/use-pinch-activation.js.map +1 -1
  554. package/lib/module/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js +16 -15
  555. package/lib/module/providers/screen/gestures/pinch/behavior/pinch-lifecycle.js.map +1 -1
  556. package/lib/module/providers/screen/gestures/pinch/behavior/pinch-release.js +30 -9
  557. package/lib/module/providers/screen/gestures/pinch/behavior/pinch-release.js.map +1 -1
  558. package/lib/module/providers/screen/gestures/pinch/behavior/pinch-reset.js +8 -2
  559. package/lib/module/providers/screen/gestures/pinch/behavior/pinch-reset.js.map +1 -1
  560. package/lib/module/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js +2 -3
  561. package/lib/module/providers/screen/gestures/pinch/behavior/use-pinch-behavior.js.map +1 -1
  562. package/lib/module/providers/screen/gestures/pinch/use-build-pinch-gesture.js +2 -2
  563. package/lib/module/providers/screen/gestures/pinch/use-build-pinch-gesture.js.map +1 -1
  564. package/lib/module/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js +4 -8
  565. package/lib/module/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js.map +1 -1
  566. package/lib/module/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js +7 -6
  567. package/lib/module/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -1
  568. package/lib/module/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js +1 -3
  569. package/lib/module/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js.map +1 -1
  570. package/lib/module/providers/screen/gestures/shared/policy.js +11 -19
  571. package/lib/module/providers/screen/gestures/shared/policy.js.map +1 -1
  572. package/lib/module/providers/screen/gestures/shared/snap-points.js +66 -0
  573. package/lib/module/providers/screen/gestures/shared/snap-points.js.map +1 -1
  574. package/lib/module/providers/screen/gestures/shared/snapshot.js +1 -2
  575. package/lib/module/providers/screen/gestures/shared/snapshot.js.map +1 -1
  576. package/lib/module/providers/screen/gestures/types.js.map +1 -1
  577. package/lib/module/providers/screen/options/helpers.js +8 -32
  578. package/lib/module/providers/screen/options/helpers.js.map +1 -1
  579. package/lib/module/providers/screen/options/index.js +1 -1
  580. package/lib/module/providers/screen/options/index.js.map +1 -1
  581. package/lib/module/providers/screen/options/options.provider.js +3 -7
  582. package/lib/module/providers/screen/options/options.provider.js.map +1 -1
  583. package/lib/module/providers/screen/screen-composer.js +2 -0
  584. package/lib/module/providers/screen/screen-composer.js.map +1 -1
  585. package/lib/module/providers/screen/styles/constants.js +13 -4
  586. package/lib/module/providers/screen/styles/constants.js.map +1 -1
  587. package/lib/module/providers/screen/styles/helpers/create-interpolator-scope.js +35 -0
  588. package/lib/module/providers/screen/styles/helpers/create-interpolator-scope.js.map +1 -0
  589. package/lib/module/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js +89 -0
  590. package/lib/module/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js.map +1 -0
  591. package/lib/module/providers/screen/styles/helpers/resolve-slot-styles/index.js +49 -6
  592. package/lib/module/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  593. package/lib/module/providers/screen/styles/helpers/select-interpolator-frame.js +25 -0
  594. package/lib/module/providers/screen/styles/helpers/select-interpolator-frame.js.map +1 -0
  595. package/lib/module/providers/screen/styles/helpers/transition-visual-state.js +53 -0
  596. package/lib/module/providers/screen/styles/helpers/transition-visual-state.js.map +1 -0
  597. package/lib/module/providers/screen/styles/helpers/visibility-block-ownership.js +14 -0
  598. package/lib/module/providers/screen/styles/helpers/visibility-block-ownership.js.map +1 -0
  599. package/lib/module/providers/screen/styles/helpers/visibility-gate.js +23 -5
  600. package/lib/module/providers/screen/styles/helpers/visibility-gate.js.map +1 -1
  601. package/lib/module/providers/screen/styles/hooks/slot-resolvers.js +17 -16
  602. package/lib/module/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
  603. package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js +126 -74
  604. package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  605. package/lib/module/providers/screen/styles/hooks/use-maybe-block-visibility.js +46 -26
  606. package/lib/module/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  607. package/lib/module/providers/screen/styles/index.js +1 -1
  608. package/lib/module/providers/screen/styles/index.js.map +1 -1
  609. package/lib/module/providers/screen/styles/slot.provider.js +39 -39
  610. package/lib/module/providers/screen/styles/slot.provider.js.map +1 -1
  611. package/lib/module/providers/screen/use-current-screen-relationships.js +9 -0
  612. package/lib/module/providers/screen/use-current-screen-relationships.js.map +1 -0
  613. package/lib/module/providers/stack/blank-stack-state/blank-stack-controller.js +9 -9
  614. package/lib/module/providers/stack/blank-stack-state/blank-stack-controller.js.map +1 -1
  615. package/lib/module/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js +3 -11
  616. package/lib/module/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js.map +1 -1
  617. package/lib/module/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js.map +1 -1
  618. package/lib/module/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js.map +1 -1
  619. package/lib/module/providers/stack/blank-stack-state/helpers/resolve-presented-index.js +14 -0
  620. package/lib/module/providers/stack/blank-stack-state/helpers/resolve-presented-index.js.map +1 -0
  621. package/lib/module/providers/stack/blank-stack-state/helpers/state-equality.js.map +1 -1
  622. package/lib/module/providers/stack/blank-stack-state/index.js.map +1 -1
  623. package/lib/module/providers/stack/blank-stack.provider.js +46 -59
  624. package/lib/module/providers/stack/blank-stack.provider.js.map +1 -1
  625. package/lib/module/providers/stack/core.provider.js +23 -56
  626. package/lib/module/providers/stack/core.provider.js.map +1 -1
  627. package/lib/module/stores/animation.store.js +17 -2
  628. package/lib/module/stores/animation.store.js.map +1 -1
  629. package/lib/module/stores/bounds/internals/entries.js +27 -1
  630. package/lib/module/stores/bounds/internals/entries.js.map +1 -1
  631. package/lib/module/stores/bounds/internals/links.js +36 -7
  632. package/lib/module/stores/bounds/internals/links.js.map +1 -1
  633. package/lib/module/stores/bounds/internals/resolver.js +3 -13
  634. package/lib/module/stores/bounds/internals/resolver.js.map +1 -1
  635. package/lib/module/stores/gesture.store.js +4 -13
  636. package/lib/module/stores/gesture.store.js.map +1 -1
  637. package/lib/module/stores/scroll.store.js +17 -0
  638. package/lib/module/stores/scroll.store.js.map +1 -1
  639. package/lib/module/stores/system.store.js +3 -2
  640. package/lib/module/stores/system.store.js.map +1 -1
  641. package/lib/module/types/animation.types.js.map +1 -1
  642. package/lib/module/types/bounds.types.js +0 -12
  643. package/lib/module/types/bounds.types.js.map +1 -1
  644. package/lib/module/types/gesture.types.js.map +1 -1
  645. package/lib/module/types/stack.types.js +1 -41
  646. package/lib/module/types/stack.types.js.map +1 -1
  647. package/lib/module/utils/animation/animate-to-progress.js +33 -33
  648. package/lib/module/utils/animation/animate-to-progress.js.map +1 -1
  649. package/lib/module/utils/animation/animate.js +14 -2
  650. package/lib/module/utils/animation/animate.js.map +1 -1
  651. package/lib/module/utils/animation/spring/spring.js +23 -3
  652. package/lib/module/utils/animation/spring/spring.js.map +1 -1
  653. package/lib/module/utils/animation/spring/springUtils.js +95 -0
  654. package/lib/module/utils/animation/spring/springUtils.js.map +1 -1
  655. package/lib/module/utils/animation/state.js +2 -0
  656. package/lib/module/utils/bounds/constants.js.map +1 -1
  657. package/lib/module/utils/bounds/helpers/create-bounds-accessor-core.js +6 -5
  658. package/lib/module/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  659. package/lib/module/utils/bounds/helpers/create-link-accessor.js +3 -3
  660. package/lib/module/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  661. package/lib/module/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  662. package/lib/module/utils/bounds/helpers/styles/composers.js +2 -2
  663. package/lib/module/utils/bounds/helpers/styles/composers.js.map +1 -1
  664. package/lib/module/utils/bounds/helpers/styles/compute.js.map +1 -1
  665. package/lib/module/utils/bounds/navigation/reveal/build.js +1 -1
  666. package/lib/module/utils/bounds/navigation/reveal/build.js.map +1 -1
  667. package/lib/module/utils/bounds/navigation/reveal/math.js +16 -5
  668. package/lib/module/utils/bounds/navigation/reveal/math.js.map +1 -1
  669. package/lib/module/utils/bounds/navigation/zoom/build.js +46 -22
  670. package/lib/module/utils/bounds/navigation/zoom/build.js.map +1 -1
  671. package/lib/module/utils/bounds/navigation/zoom/drag.js +2 -30
  672. package/lib/module/utils/bounds/navigation/zoom/drag.js.map +1 -1
  673. package/lib/module/utils/bounds/navigation/zoom/helpers.js +4 -18
  674. package/lib/module/utils/bounds/navigation/zoom/helpers.js.map +1 -1
  675. package/lib/module/utils/create-provider.js +154 -85
  676. package/lib/module/utils/create-provider.js.map +1 -1
  677. package/lib/module/utils/navigation/close-action-replay.js +16 -0
  678. package/lib/module/utils/navigation/close-action-replay.js.map +1 -0
  679. package/lib/module/utils/normalize-interpolated-style.js +2 -40
  680. package/lib/module/utils/normalize-interpolated-style.js.map +1 -1
  681. package/lib/module/utils/resolve-screen-transition-options.js +1 -7
  682. package/lib/module/utils/resolve-screen-transition-options.js.map +1 -1
  683. package/lib/typescript/adapters/with-screen-transitions/context.d.ts +1 -4
  684. package/lib/typescript/adapters/with-screen-transitions/context.d.ts.map +1 -1
  685. package/lib/typescript/adapters/with-screen-transitions/options.d.ts.map +1 -1
  686. package/lib/typescript/adapters/with-screen-transitions/stack-layout.d.ts +1 -1
  687. package/lib/typescript/adapters/with-screen-transitions/stack-layout.d.ts.map +1 -1
  688. package/lib/typescript/animation/snap-to.d.ts.map +1 -1
  689. package/lib/typescript/components/activity/activity-view.d.ts +17 -0
  690. package/lib/typescript/components/activity/activity-view.d.ts.map +1 -0
  691. package/lib/typescript/components/activity/activity-view.web.d.ts +14 -0
  692. package/lib/typescript/components/activity/activity-view.web.d.ts.map +1 -0
  693. package/lib/typescript/components/activity/variants/activity-container.d.ts.map +1 -1
  694. package/lib/typescript/components/activity/variants/activity-screen.d.ts +2 -3
  695. package/lib/typescript/components/activity/variants/activity-screen.d.ts.map +1 -1
  696. package/lib/typescript/components/boundary/components/boundary-lifecycle.d.ts +18 -0
  697. package/lib/typescript/components/boundary/components/boundary-lifecycle.d.ts.map +1 -0
  698. package/lib/typescript/components/boundary/components/boundary-target.d.ts +2 -1
  699. package/lib/typescript/components/boundary/components/boundary-target.d.ts.map +1 -1
  700. package/lib/typescript/components/boundary/create-boundary-component.d.ts.map +1 -1
  701. package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts +1 -2
  702. package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -1
  703. package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map +1 -1
  704. package/lib/typescript/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +1 -1
  705. package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts +5 -5
  706. package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
  707. package/lib/typescript/components/boundary/hooks/use-measurer.d.ts +4 -3
  708. package/lib/typescript/components/boundary/hooks/use-measurer.d.ts.map +1 -1
  709. package/lib/typescript/components/boundary/index.d.ts +5 -18
  710. package/lib/typescript/components/boundary/index.d.ts.map +1 -1
  711. package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts +26 -0
  712. package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts.map +1 -0
  713. package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts +1 -3
  714. package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
  715. package/lib/typescript/components/boundary/portal/components/boundary-content-portal/index.d.ts.map +1 -1
  716. package/lib/typescript/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +1 -1
  717. package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts +5 -1
  718. package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -1
  719. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts +4 -0
  720. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts.map +1 -0
  721. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts +4 -26
  722. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts.map +1 -1
  723. package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts +21 -0
  724. package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -0
  725. package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts +1 -3
  726. package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
  727. package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts +5 -10
  728. package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +1 -1
  729. package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts +2 -2
  730. package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts +2 -2
  731. package/lib/typescript/components/boundary/portal/components/boundary-portal/index.d.ts.map +1 -1
  732. package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts +0 -1
  733. package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts.map +1 -1
  734. package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +3 -13
  735. package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -1
  736. package/lib/typescript/components/boundary/portal/teleport.d.ts +1 -1
  737. package/lib/typescript/components/boundary/portal/teleport.d.ts.map +1 -1
  738. package/lib/typescript/components/boundary/portal/utils/naming.d.ts +1 -0
  739. package/lib/typescript/components/boundary/portal/utils/naming.d.ts.map +1 -1
  740. package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts +2 -3
  741. package/lib/typescript/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -1
  742. package/lib/typescript/components/boundary/portal/utils/teleport-control.d.ts +0 -4
  743. package/lib/typescript/components/boundary/portal/utils/teleport-control.d.ts.map +1 -1
  744. package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts +13 -13
  745. package/lib/typescript/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
  746. package/lib/typescript/components/boundary/types.d.ts +6 -0
  747. package/lib/typescript/components/boundary/types.d.ts.map +1 -1
  748. package/lib/typescript/components/boundary/utils/destination-signals.d.ts +2 -3
  749. package/lib/typescript/components/boundary/utils/destination-signals.d.ts.map +1 -1
  750. package/lib/typescript/components/boundary/utils/measured-bounds.d.ts +1 -3
  751. package/lib/typescript/components/boundary/utils/measured-bounds.d.ts.map +1 -1
  752. package/lib/typescript/components/boundary/utils/refresh-signals.d.ts +1 -5
  753. package/lib/typescript/components/boundary/utils/refresh-signals.d.ts.map +1 -1
  754. package/lib/typescript/components/boundary/utils/resolve-boundary-target.d.ts +12 -0
  755. package/lib/typescript/components/boundary/utils/resolve-boundary-target.d.ts.map +1 -0
  756. package/lib/typescript/components/create-transition-aware-component.d.ts +5 -8
  757. package/lib/typescript/components/create-transition-aware-component.d.ts.map +1 -1
  758. package/lib/typescript/components/overlay/helpers/create-overlay-interpolator-frame.d.ts +8 -0
  759. package/lib/typescript/components/overlay/helpers/create-overlay-interpolator-frame.d.ts.map +1 -0
  760. package/lib/typescript/components/overlay/helpers/get-active-overlay.d.ts +20 -8
  761. package/lib/typescript/components/overlay/helpers/get-active-overlay.d.ts.map +1 -1
  762. package/lib/typescript/components/overlay/helpers/retain-ready-overlay-resources.d.ts +11 -0
  763. package/lib/typescript/components/overlay/helpers/retain-ready-overlay-resources.d.ts.map +1 -0
  764. package/lib/typescript/components/overlay/helpers/run-overlay-slot-interpolator.d.ts +8 -0
  765. package/lib/typescript/components/overlay/helpers/run-overlay-slot-interpolator.d.ts.map +1 -0
  766. package/lib/typescript/components/overlay/hooks/use-overlay-slot.d.ts +16 -0
  767. package/lib/typescript/components/overlay/hooks/use-overlay-slot.d.ts.map +1 -0
  768. package/lib/typescript/components/overlay/variations/float-overlay.d.ts +1 -1
  769. package/lib/typescript/components/overlay/variations/float-overlay.d.ts.map +1 -1
  770. package/lib/typescript/components/overlay/variations/overlay-host.d.ts +7 -6
  771. package/lib/typescript/components/overlay/variations/overlay-host.d.ts.map +1 -1
  772. package/lib/typescript/components/screen-container/hooks/use-backdrop-pointer-events.d.ts +1 -2
  773. package/lib/typescript/components/screen-container/hooks/use-backdrop-pointer-events.d.ts.map +1 -1
  774. package/lib/typescript/components/screen-container/hooks/use-content-layout.d.ts.map +1 -1
  775. package/lib/typescript/components/screen-container/layers/backdrop.d.ts.map +1 -1
  776. package/lib/typescript/components/screen-container/layers/content.d.ts.map +1 -1
  777. package/lib/typescript/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
  778. package/lib/typescript/components/screen-container/layers/surface.d.ts +7 -0
  779. package/lib/typescript/components/screen-container/layers/surface.d.ts.map +1 -0
  780. package/lib/typescript/components/screen-lifecycle/hooks/helpers/close-interception-rules.d.ts +27 -0
  781. package/lib/typescript/components/screen-lifecycle/hooks/helpers/close-interception-rules.d.ts.map +1 -0
  782. package/lib/typescript/components/screen-lifecycle/hooks/use-close-completion.d.ts +7 -0
  783. package/lib/typescript/components/screen-lifecycle/hooks/use-close-completion.d.ts.map +1 -0
  784. package/lib/typescript/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts +3 -8
  785. package/lib/typescript/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -1
  786. package/lib/typescript/components/screen-lifecycle/hooks/use-open-transition-intent.d.ts.map +1 -1
  787. package/lib/typescript/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts +1 -3
  788. package/lib/typescript/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -1
  789. package/lib/typescript/components/screen-lifecycle/index.d.ts.map +1 -1
  790. package/lib/typescript/components/stack-view.d.ts +5 -2
  791. package/lib/typescript/components/stack-view.d.ts.map +1 -1
  792. package/lib/typescript/configs/index.d.ts +6 -6
  793. package/lib/typescript/configs/presets.d.ts +6 -6
  794. package/lib/typescript/configs/presets.d.ts.map +1 -1
  795. package/lib/typescript/constants.d.ts +2 -7
  796. package/lib/typescript/constants.d.ts.map +1 -1
  797. package/lib/typescript/factories/screen-topology/create-screen-topology.d.ts +4 -0
  798. package/lib/typescript/factories/screen-topology/create-screen-topology.d.ts.map +1 -0
  799. package/lib/typescript/factories/screen-topology/index.d.ts +5 -0
  800. package/lib/typescript/factories/screen-topology/index.d.ts.map +1 -0
  801. package/lib/typescript/factories/screen-topology/types.d.ts +20 -0
  802. package/lib/typescript/factories/screen-topology/types.d.ts.map +1 -0
  803. package/lib/typescript/factories/screen-topology/use-screen-relationships.d.ts +5 -0
  804. package/lib/typescript/factories/screen-topology/use-screen-relationships.d.ts.map +1 -0
  805. package/lib/typescript/factories/screen-topology/worklet.d.ts +5 -0
  806. package/lib/typescript/factories/screen-topology/worklet.d.ts.map +1 -0
  807. package/lib/typescript/hooks/navigation/use-navigation-helpers.d.ts.map +1 -1
  808. package/lib/typescript/hooks/navigation/use-screen-state.d.ts.map +1 -1
  809. package/lib/typescript/hooks/reanimated/use-shared-value-ref.d.ts.map +1 -1
  810. package/lib/typescript/index.d.ts +667 -733
  811. package/lib/typescript/index.d.ts.map +1 -1
  812. package/lib/typescript/navigators/create-blank-stack-navigator.d.ts.map +1 -1
  813. package/lib/typescript/navigators/react-navigation/index.d.ts +6 -17
  814. package/lib/typescript/navigators/react-navigation/index.d.ts.map +1 -1
  815. package/lib/typescript/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
  816. package/lib/typescript/providers/navigation/navigation-host.provider.d.ts +1 -0
  817. package/lib/typescript/providers/navigation/navigation-host.provider.d.ts.map +1 -1
  818. package/lib/typescript/providers/screen/animation/animation.provider.d.ts +17 -8
  819. package/lib/typescript/providers/screen/animation/animation.provider.d.ts.map +1 -1
  820. package/lib/typescript/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts +6 -3
  821. package/lib/typescript/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts.map +1 -1
  822. package/lib/typescript/providers/screen/animation/helpers/build-screen-transition-options.d.ts.map +1 -1
  823. package/lib/typescript/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.d.ts +2 -1
  824. package/lib/typescript/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.d.ts.map +1 -1
  825. package/lib/typescript/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -1
  826. package/lib/typescript/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts +0 -1
  827. package/lib/typescript/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts.map +1 -1
  828. package/lib/typescript/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
  829. package/lib/typescript/providers/screen/animation/helpers/read-screen-animation-revisions.d.ts +2 -2
  830. package/lib/typescript/providers/screen/animation/helpers/read-screen-animation-revisions.d.ts.map +1 -1
  831. package/lib/typescript/providers/screen/animation/helpers/selected-interpolator-options.d.ts.map +1 -1
  832. package/lib/typescript/providers/screen/animation/helpers/stack-progress.d.ts +5 -2
  833. package/lib/typescript/providers/screen/animation/helpers/stack-progress.d.ts.map +1 -1
  834. package/lib/typescript/providers/screen/animation/helpers/use-build-transition-state.d.ts +0 -1
  835. package/lib/typescript/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
  836. package/lib/typescript/providers/screen/animation/index.d.ts +1 -1
  837. package/lib/typescript/providers/screen/animation/index.d.ts.map +1 -1
  838. package/lib/typescript/providers/screen/animation/types.d.ts +2 -17
  839. package/lib/typescript/providers/screen/animation/types.d.ts.map +1 -1
  840. package/lib/typescript/providers/screen/animation/use-screen-animation.d.ts +0 -5
  841. package/lib/typescript/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
  842. package/lib/typescript/providers/screen/descriptors/descriptors.provider.d.ts +20 -18
  843. package/lib/typescript/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
  844. package/lib/typescript/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +1 -6
  845. package/lib/typescript/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
  846. package/lib/typescript/providers/screen/descriptors/index.d.ts +1 -1
  847. package/lib/typescript/providers/screen/descriptors/index.d.ts.map +1 -1
  848. package/lib/typescript/providers/screen/gestures/gestures.provider.d.ts +17 -2
  849. package/lib/typescript/providers/screen/gestures/gestures.provider.d.ts.map +1 -1
  850. package/lib/typescript/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts +2 -2
  851. package/lib/typescript/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map +1 -1
  852. package/lib/typescript/providers/screen/gestures/hooks/use-screen-gesture.d.ts.map +1 -1
  853. package/lib/typescript/providers/screen/gestures/hooks/use-stable-runtime-config.d.ts.map +1 -1
  854. package/lib/typescript/providers/screen/gestures/index.d.ts +1 -1
  855. package/lib/typescript/providers/screen/gestures/index.d.ts.map +1 -1
  856. package/lib/typescript/providers/screen/gestures/ownership/gesture-ownership-bridge.d.ts +3 -0
  857. package/lib/typescript/providers/screen/gestures/ownership/gesture-ownership-bridge.d.ts.map +1 -0
  858. package/lib/typescript/providers/screen/gestures/ownership/resolve-ownership.d.ts +2 -3
  859. package/lib/typescript/providers/screen/gestures/ownership/resolve-ownership.d.ts.map +1 -1
  860. package/lib/typescript/providers/screen/gestures/ownership/shadowing-claims.d.ts +2 -3
  861. package/lib/typescript/providers/screen/gestures/ownership/shadowing-claims.d.ts.map +1 -1
  862. package/lib/typescript/providers/screen/gestures/pan/activation/pan-activation-decision.d.ts.map +1 -1
  863. package/lib/typescript/providers/screen/gestures/pan/activation/pan-activation-rules.d.ts +2 -3
  864. package/lib/typescript/providers/screen/gestures/pan/activation/pan-activation-rules.d.ts.map +1 -1
  865. package/lib/typescript/providers/screen/gestures/pan/activation/use-pan-activation.d.ts.map +1 -1
  866. package/lib/typescript/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts +1 -1
  867. package/lib/typescript/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts.map +1 -1
  868. package/lib/typescript/providers/screen/gestures/pan/behavior/pan-release.d.ts.map +1 -1
  869. package/lib/typescript/providers/screen/gestures/pan/behavior/pan-reset.d.ts +4 -1
  870. package/lib/typescript/providers/screen/gestures/pan/behavior/pan-reset.d.ts.map +1 -1
  871. package/lib/typescript/providers/screen/gestures/pan/behavior/use-pan-behavior.d.ts.map +1 -1
  872. package/lib/typescript/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts +2 -1
  873. package/lib/typescript/providers/screen/gestures/pinch/activation/use-pinch-activation.d.ts.map +1 -1
  874. package/lib/typescript/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts +1 -1
  875. package/lib/typescript/providers/screen/gestures/pinch/behavior/pinch-lifecycle.d.ts.map +1 -1
  876. package/lib/typescript/providers/screen/gestures/pinch/behavior/pinch-release.d.ts.map +1 -1
  877. package/lib/typescript/providers/screen/gestures/pinch/behavior/pinch-reset.d.ts +3 -1
  878. package/lib/typescript/providers/screen/gestures/pinch/behavior/pinch-reset.d.ts.map +1 -1
  879. package/lib/typescript/providers/screen/gestures/pinch/behavior/use-pinch-behavior.d.ts.map +1 -1
  880. package/lib/typescript/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.d.ts +5 -3
  881. package/lib/typescript/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.d.ts.map +1 -1
  882. package/lib/typescript/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.d.ts.map +1 -1
  883. package/lib/typescript/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.d.ts +2 -2
  884. package/lib/typescript/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.d.ts.map +1 -1
  885. package/lib/typescript/providers/screen/gestures/shared/policy.d.ts +6 -8
  886. package/lib/typescript/providers/screen/gestures/shared/policy.d.ts.map +1 -1
  887. package/lib/typescript/providers/screen/gestures/shared/snap-points.d.ts +11 -0
  888. package/lib/typescript/providers/screen/gestures/shared/snap-points.d.ts.map +1 -1
  889. package/lib/typescript/providers/screen/gestures/shared/snapshot.d.ts.map +1 -1
  890. package/lib/typescript/providers/screen/gestures/types.d.ts +7 -12
  891. package/lib/typescript/providers/screen/gestures/types.d.ts.map +1 -1
  892. package/lib/typescript/providers/screen/options/helpers.d.ts.map +1 -1
  893. package/lib/typescript/providers/screen/options/index.d.ts +1 -1
  894. package/lib/typescript/providers/screen/options/index.d.ts.map +1 -1
  895. package/lib/typescript/providers/screen/options/options.provider.d.ts +4 -1
  896. package/lib/typescript/providers/screen/options/options.provider.d.ts.map +1 -1
  897. package/lib/typescript/providers/screen/options/types.d.ts +1 -2
  898. package/lib/typescript/providers/screen/options/types.d.ts.map +1 -1
  899. package/lib/typescript/providers/screen/screen-composer.d.ts +6 -5
  900. package/lib/typescript/providers/screen/screen-composer.d.ts.map +1 -1
  901. package/lib/typescript/providers/screen/styles/constants.d.ts +1 -0
  902. package/lib/typescript/providers/screen/styles/constants.d.ts.map +1 -1
  903. package/lib/typescript/providers/screen/styles/helpers/create-interpolator-scope.d.ts +9 -0
  904. package/lib/typescript/providers/screen/styles/helpers/create-interpolator-scope.d.ts.map +1 -0
  905. package/lib/typescript/providers/screen/styles/helpers/resolve-interpolator-style-handoff.d.ts +10 -0
  906. package/lib/typescript/providers/screen/styles/helpers/resolve-interpolator-style-handoff.d.ts.map +1 -0
  907. package/lib/typescript/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts +5 -3
  908. package/lib/typescript/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
  909. package/lib/typescript/providers/screen/styles/helpers/select-interpolator-frame.d.ts +4 -0
  910. package/lib/typescript/providers/screen/styles/helpers/select-interpolator-frame.d.ts.map +1 -0
  911. package/lib/typescript/providers/screen/styles/helpers/transition-visual-state.d.ts +25 -0
  912. package/lib/typescript/providers/screen/styles/helpers/transition-visual-state.d.ts.map +1 -0
  913. package/lib/typescript/providers/screen/styles/helpers/visibility-block-ownership.d.ts +10 -0
  914. package/lib/typescript/providers/screen/styles/helpers/visibility-block-ownership.d.ts.map +1 -0
  915. package/lib/typescript/providers/screen/styles/helpers/visibility-gate.d.ts +12 -2
  916. package/lib/typescript/providers/screen/styles/helpers/visibility-gate.d.ts.map +1 -1
  917. package/lib/typescript/providers/screen/styles/hooks/slot-resolvers.d.ts +4 -4
  918. package/lib/typescript/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -1
  919. package/lib/typescript/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +10 -5
  920. package/lib/typescript/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
  921. package/lib/typescript/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +11 -5
  922. package/lib/typescript/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
  923. package/lib/typescript/providers/screen/styles/index.d.ts +1 -1
  924. package/lib/typescript/providers/screen/styles/index.d.ts.map +1 -1
  925. package/lib/typescript/providers/screen/styles/slot.provider.d.ts +15 -6
  926. package/lib/typescript/providers/screen/styles/slot.provider.d.ts.map +1 -1
  927. package/lib/typescript/providers/screen/use-current-screen-relationships.d.ts +5 -0
  928. package/lib/typescript/providers/screen/use-current-screen-relationships.d.ts.map +1 -0
  929. package/lib/typescript/providers/stack/blank-stack-state/blank-stack-controller.d.ts +1 -2
  930. package/lib/typescript/providers/stack/blank-stack-state/blank-stack-controller.d.ts.map +1 -1
  931. package/lib/typescript/providers/stack/blank-stack-state/helpers/build-blank-stack-state.d.ts +7 -8
  932. package/lib/typescript/providers/stack/blank-stack-state/helpers/build-blank-stack-state.d.ts.map +1 -1
  933. package/lib/typescript/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.d.ts +5 -6
  934. package/lib/typescript/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.d.ts.map +1 -1
  935. package/lib/typescript/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.d.ts +7 -8
  936. package/lib/typescript/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.d.ts.map +1 -1
  937. package/lib/typescript/providers/stack/blank-stack-state/helpers/resolve-presented-index.d.ts +3 -0
  938. package/lib/typescript/providers/stack/blank-stack-state/helpers/resolve-presented-index.d.ts.map +1 -0
  939. package/lib/typescript/providers/stack/blank-stack-state/helpers/state-equality.d.ts +5 -4
  940. package/lib/typescript/providers/stack/blank-stack-state/helpers/state-equality.d.ts.map +1 -1
  941. package/lib/typescript/providers/stack/blank-stack-state/helpers/types.d.ts +17 -17
  942. package/lib/typescript/providers/stack/blank-stack-state/helpers/types.d.ts.map +1 -1
  943. package/lib/typescript/providers/stack/blank-stack-state/index.d.ts +2 -3
  944. package/lib/typescript/providers/stack/blank-stack-state/index.d.ts.map +1 -1
  945. package/lib/typescript/providers/stack/blank-stack.provider.d.ts +19 -7
  946. package/lib/typescript/providers/stack/blank-stack.provider.d.ts.map +1 -1
  947. package/lib/typescript/providers/stack/core.provider.d.ts +10 -15
  948. package/lib/typescript/providers/stack/core.provider.d.ts.map +1 -1
  949. package/lib/typescript/stores/animation.store.d.ts +1 -1
  950. package/lib/typescript/stores/animation.store.d.ts.map +1 -1
  951. package/lib/typescript/stores/bounds/internals/entries.d.ts +2 -1
  952. package/lib/typescript/stores/bounds/internals/entries.d.ts.map +1 -1
  953. package/lib/typescript/stores/bounds/internals/links.d.ts +4 -2
  954. package/lib/typescript/stores/bounds/internals/links.d.ts.map +1 -1
  955. package/lib/typescript/stores/bounds/internals/resolver.d.ts.map +1 -1
  956. package/lib/typescript/stores/gesture.store.d.ts +2 -21
  957. package/lib/typescript/stores/gesture.store.d.ts.map +1 -1
  958. package/lib/typescript/stores/scroll.store.d.ts +7 -0
  959. package/lib/typescript/stores/scroll.store.d.ts.map +1 -1
  960. package/lib/typescript/stores/system.store.d.ts +6 -2
  961. package/lib/typescript/stores/system.store.d.ts.map +1 -1
  962. package/lib/typescript/types/animation.types.d.ts +9 -19
  963. package/lib/typescript/types/animation.types.d.ts.map +1 -1
  964. package/lib/typescript/types/blank-stack.types.d.ts +2 -21
  965. package/lib/typescript/types/blank-stack.types.d.ts.map +1 -1
  966. package/lib/typescript/types/bounds.types.d.ts +0 -96
  967. package/lib/typescript/types/bounds.types.d.ts.map +1 -1
  968. package/lib/typescript/types/gesture.types.d.ts +7 -25
  969. package/lib/typescript/types/gesture.types.d.ts.map +1 -1
  970. package/lib/typescript/types/index.d.ts +4 -4
  971. package/lib/typescript/types/index.d.ts.map +1 -1
  972. package/lib/typescript/types/overlay.types.d.ts +26 -11
  973. package/lib/typescript/types/overlay.types.d.ts.map +1 -1
  974. package/lib/typescript/types/providers/blank-stack-provider.types.d.ts +20 -34
  975. package/lib/typescript/types/providers/blank-stack-provider.types.d.ts.map +1 -1
  976. package/lib/typescript/types/screen.types.d.ts +46 -116
  977. package/lib/typescript/types/screen.types.d.ts.map +1 -1
  978. package/lib/typescript/types/stack.types.d.ts +11 -27
  979. package/lib/typescript/types/stack.types.d.ts.map +1 -1
  980. package/lib/typescript/utils/animation/animate-to-progress.d.ts +8 -3
  981. package/lib/typescript/utils/animation/animate-to-progress.d.ts.map +1 -1
  982. package/lib/typescript/utils/animation/animate.d.ts +2 -2
  983. package/lib/typescript/utils/animation/animate.d.ts.map +1 -1
  984. package/lib/typescript/utils/animation/spring/spring.d.ts +2 -2
  985. package/lib/typescript/utils/animation/spring/spring.d.ts.map +1 -1
  986. package/lib/typescript/utils/animation/spring/springUtils.d.ts +3 -0
  987. package/lib/typescript/utils/animation/spring/springUtils.d.ts.map +1 -1
  988. package/lib/typescript/utils/animation/state.d.ts +6 -0
  989. package/lib/typescript/utils/animation/state.d.ts.map +1 -1
  990. package/lib/typescript/utils/bounds/constants.d.ts.map +1 -1
  991. package/lib/typescript/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
  992. package/lib/typescript/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
  993. package/lib/typescript/utils/bounds/helpers/prepare-bound-styles.d.ts +3 -3
  994. package/lib/typescript/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
  995. package/lib/typescript/utils/bounds/helpers/styles/composers.d.ts +3 -3
  996. package/lib/typescript/utils/bounds/helpers/styles/composers.d.ts.map +1 -1
  997. package/lib/typescript/utils/bounds/helpers/styles/compute.d.ts +2 -2
  998. package/lib/typescript/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  999. package/lib/typescript/utils/bounds/navigation/reveal/math.d.ts +9 -0
  1000. package/lib/typescript/utils/bounds/navigation/reveal/math.d.ts.map +1 -1
  1001. package/lib/typescript/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
  1002. package/lib/typescript/utils/bounds/navigation/zoom/drag.d.ts +2 -11
  1003. package/lib/typescript/utils/bounds/navigation/zoom/drag.d.ts.map +1 -1
  1004. package/lib/typescript/utils/bounds/navigation/zoom/helpers.d.ts +7 -4
  1005. package/lib/typescript/utils/bounds/navigation/zoom/helpers.d.ts.map +1 -1
  1006. package/lib/typescript/utils/bounds/types/options.d.ts +4 -21
  1007. package/lib/typescript/utils/bounds/types/options.d.ts.map +1 -1
  1008. package/lib/typescript/utils/create-provider.d.ts +54 -20
  1009. package/lib/typescript/utils/create-provider.d.ts.map +1 -1
  1010. package/lib/typescript/utils/navigation/close-action-replay.d.ts +4 -0
  1011. package/lib/typescript/utils/navigation/close-action-replay.d.ts.map +1 -0
  1012. package/lib/typescript/utils/normalize-interpolated-style.d.ts +2 -15
  1013. package/lib/typescript/utils/normalize-interpolated-style.d.ts.map +1 -1
  1014. package/lib/typescript/utils/resolve-screen-transition-options.d.ts +1 -1
  1015. package/lib/typescript/utils/resolve-screen-transition-options.d.ts.map +1 -1
  1016. package/package.json +1 -2
  1017. package/src/adapters/with-screen-transitions/context.tsx +1 -5
  1018. package/src/adapters/with-screen-transitions/options.ts +1 -32
  1019. package/src/adapters/with-screen-transitions/stack-layout.tsx +37 -37
  1020. package/src/animation/snap-to.ts +6 -0
  1021. package/src/components/activity/activity-view.tsx +93 -0
  1022. package/src/components/activity/activity-view.web.tsx +79 -0
  1023. package/src/components/activity/variants/activity-container.tsx +2 -14
  1024. package/src/components/activity/variants/activity-screen.tsx +37 -71
  1025. package/src/components/boundary/components/boundary-lifecycle.tsx +53 -0
  1026. package/src/components/boundary/components/boundary-target.tsx +38 -24
  1027. package/src/components/boundary/create-boundary-component.tsx +38 -4
  1028. package/src/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +88 -45
  1029. package/src/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts +6 -1
  1030. package/src/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +25 -21
  1031. package/src/components/boundary/hooks/use-boundary-measurement.ts +15 -15
  1032. package/src/components/boundary/hooks/use-measurer.ts +22 -19
  1033. package/src/components/boundary/index.tsx +4 -22
  1034. package/src/components/boundary/portal/components/boundary-content-portal/components/host.tsx +5 -1
  1035. package/src/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts +103 -0
  1036. package/src/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +108 -272
  1037. package/src/components/boundary/portal/components/boundary-content-portal/index.tsx +31 -12
  1038. package/src/components/boundary/portal/components/boundary-portal/components/host.tsx +27 -37
  1039. package/src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +67 -92
  1040. package/src/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts +10 -0
  1041. package/src/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts +11 -62
  1042. package/src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +118 -0
  1043. package/src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +32 -219
  1044. package/src/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts +21 -83
  1045. package/src/components/boundary/portal/components/boundary-portal/index.tsx +74 -12
  1046. package/src/components/boundary/portal/components/boundary-portal/stores/host-registry.store.ts +0 -1
  1047. package/src/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +5 -44
  1048. package/src/components/boundary/portal/teleport.ts +2 -23
  1049. package/src/components/boundary/portal/utils/naming.ts +11 -0
  1050. package/src/components/boundary/portal/utils/resolve-portal.ts +26 -18
  1051. package/src/components/boundary/portal/utils/teleport-control.ts +0 -12
  1052. package/src/components/boundary/providers/boundary-root.provider.tsx +59 -101
  1053. package/src/components/boundary/types.ts +9 -0
  1054. package/src/components/boundary/utils/destination-signals.ts +8 -8
  1055. package/src/components/boundary/utils/measured-bounds.ts +29 -32
  1056. package/src/components/boundary/utils/refresh-signals.ts +63 -33
  1057. package/src/components/boundary/utils/resolve-boundary-target.tsx +39 -0
  1058. package/src/components/create-transition-aware-component.tsx +11 -36
  1059. package/src/components/overlay/helpers/create-overlay-interpolator-frame.ts +41 -0
  1060. package/src/components/overlay/helpers/get-active-overlay.ts +91 -21
  1061. package/src/components/overlay/helpers/retain-ready-overlay-resources.ts +38 -0
  1062. package/src/components/overlay/helpers/run-overlay-slot-interpolator.ts +48 -0
  1063. package/src/components/overlay/hooks/use-overlay-slot.ts +121 -0
  1064. package/src/components/overlay/variations/float-overlay.tsx +24 -65
  1065. package/src/components/overlay/variations/overlay-host.tsx +140 -28
  1066. package/src/components/screen-container/hooks/use-backdrop-pointer-events.ts +8 -13
  1067. package/src/components/screen-container/hooks/use-content-layout.ts +10 -10
  1068. package/src/components/screen-container/layers/backdrop.tsx +33 -16
  1069. package/src/components/screen-container/layers/content.tsx +26 -26
  1070. package/src/components/screen-container/layers/maybe-masked-navigation-container.tsx +14 -4
  1071. package/src/components/screen-container/layers/surface.tsx +65 -0
  1072. package/src/components/screen-lifecycle/hooks/helpers/close-interception-rules.ts +64 -0
  1073. package/src/components/screen-lifecycle/hooks/use-close-completion.ts +25 -0
  1074. package/src/components/screen-lifecycle/hooks/use-close-transition-intent.ts +78 -111
  1075. package/src/components/screen-lifecycle/hooks/use-open-transition-intent.ts +5 -2
  1076. package/src/components/screen-lifecycle/hooks/use-transition-start-controller.ts +8 -12
  1077. package/src/components/screen-lifecycle/index.tsx +11 -6
  1078. package/src/components/stack-view.tsx +96 -59
  1079. package/src/configs/presets.ts +17 -20
  1080. package/src/constants.ts +3 -18
  1081. package/src/factories/screen-topology/create-screen-topology.ts +199 -0
  1082. package/src/factories/screen-topology/index.ts +16 -0
  1083. package/src/factories/screen-topology/types.ts +22 -0
  1084. package/src/factories/screen-topology/use-screen-relationships.ts +15 -0
  1085. package/src/factories/screen-topology/worklet.ts +60 -0
  1086. package/src/hooks/navigation/use-navigation-helpers.ts +42 -18
  1087. package/src/hooks/navigation/use-screen-state.ts +4 -8
  1088. package/src/hooks/reanimated/use-shared-value-ref.ts +3 -4
  1089. package/src/index.ts +4 -8
  1090. package/src/navigators/create-blank-stack-navigator.tsx +3 -11
  1091. package/src/navigators/react-navigation/index.tsx +4 -48
  1092. package/src/providers/helpers/measured-bounds-writes.ts +1 -0
  1093. package/src/providers/navigation/navigation-host.provider.tsx +18 -3
  1094. package/src/providers/screen/animation/animation.provider.tsx +66 -184
  1095. package/src/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts +17 -82
  1096. package/src/providers/screen/animation/helpers/build-screen-transition-options.ts +5 -11
  1097. package/src/providers/screen/animation/helpers/hydrate-transition-state/gesture-progress.ts +30 -3
  1098. package/src/providers/screen/animation/helpers/hydrate-transition-state/index.ts +25 -41
  1099. package/src/providers/screen/animation/helpers/hydrate-transition-state/types.ts +0 -1
  1100. package/src/providers/screen/animation/helpers/pipeline.ts +34 -39
  1101. package/src/providers/screen/animation/helpers/read-screen-animation-revisions.ts +6 -30
  1102. package/src/providers/screen/animation/helpers/selected-interpolator-options.ts +1 -31
  1103. package/src/providers/screen/animation/helpers/stack-progress.ts +13 -32
  1104. package/src/providers/screen/animation/helpers/use-build-transition-state.ts +0 -2
  1105. package/src/providers/screen/animation/index.tsx +2 -1
  1106. package/src/providers/screen/animation/types.ts +2 -32
  1107. package/src/providers/screen/animation/use-screen-animation.tsx +19 -60
  1108. package/src/providers/screen/descriptors/descriptors.provider.tsx +107 -83
  1109. package/src/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +0 -10
  1110. package/src/providers/screen/descriptors/index.tsx +0 -2
  1111. package/src/providers/screen/gestures/gestures.provider.tsx +99 -76
  1112. package/src/providers/screen/gestures/hooks/use-screen-gesture-config.ts +11 -13
  1113. package/src/providers/screen/gestures/hooks/use-screen-gesture.ts +3 -4
  1114. package/src/providers/screen/gestures/hooks/use-stable-runtime-config.ts +4 -2
  1115. package/src/providers/screen/gestures/index.tsx +2 -1
  1116. package/src/providers/screen/gestures/ownership/{use-walk-up-and-register-shadowing-claims.ts → gesture-ownership-bridge.tsx} +48 -65
  1117. package/src/providers/screen/gestures/ownership/resolve-ownership.ts +5 -8
  1118. package/src/providers/screen/gestures/ownership/shadowing-claims.ts +3 -4
  1119. package/src/providers/screen/gestures/pan/activation/pan-activation-decision.ts +0 -1
  1120. package/src/providers/screen/gestures/pan/activation/pan-activation-rules.ts +3 -6
  1121. package/src/providers/screen/gestures/pan/activation/use-pan-activation.ts +6 -2
  1122. package/src/providers/screen/gestures/pan/behavior/pan-lifecycle.ts +13 -22
  1123. package/src/providers/screen/gestures/pan/behavior/pan-release.ts +48 -9
  1124. package/src/providers/screen/gestures/pan/behavior/pan-reset.ts +15 -2
  1125. package/src/providers/screen/gestures/pan/behavior/use-pan-behavior.ts +2 -5
  1126. package/src/providers/screen/gestures/pan/use-build-pan-gesture.ts +2 -2
  1127. package/src/providers/screen/gestures/pinch/activation/use-pinch-activation.ts +74 -3
  1128. package/src/providers/screen/gestures/pinch/behavior/pinch-lifecycle.ts +18 -19
  1129. package/src/providers/screen/gestures/pinch/behavior/pinch-release.ts +47 -8
  1130. package/src/providers/screen/gestures/pinch/behavior/pinch-reset.ts +11 -2
  1131. package/src/providers/screen/gestures/pinch/behavior/use-pinch-behavior.ts +2 -8
  1132. package/src/providers/screen/gestures/pinch/use-build-pinch-gesture.ts +2 -2
  1133. package/src/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.tsx +6 -9
  1134. package/src/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.ts +11 -7
  1135. package/src/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.ts +12 -12
  1136. package/src/providers/screen/gestures/shared/policy.ts +14 -26
  1137. package/src/providers/screen/gestures/shared/snap-points.ts +87 -0
  1138. package/src/providers/screen/gestures/shared/snapshot.ts +1 -2
  1139. package/src/providers/screen/gestures/types.ts +7 -17
  1140. package/src/providers/screen/options/helpers.ts +18 -73
  1141. package/src/providers/screen/options/index.ts +1 -1
  1142. package/src/providers/screen/options/options.provider.tsx +24 -28
  1143. package/src/providers/screen/options/types.ts +1 -2
  1144. package/src/providers/screen/screen-composer.tsx +14 -7
  1145. package/src/providers/screen/styles/constants.ts +11 -7
  1146. package/src/providers/screen/styles/helpers/create-interpolator-scope.ts +45 -0
  1147. package/src/providers/screen/styles/helpers/resolve-interpolator-style-handoff.ts +138 -0
  1148. package/src/providers/screen/styles/helpers/resolve-slot-styles/index.ts +71 -4
  1149. package/src/providers/screen/styles/helpers/select-interpolator-frame.ts +33 -0
  1150. package/src/providers/screen/styles/helpers/transition-visual-state.ts +70 -0
  1151. package/src/providers/screen/styles/helpers/visibility-block-ownership.ts +16 -0
  1152. package/src/providers/screen/styles/helpers/visibility-gate.ts +42 -7
  1153. package/src/providers/screen/styles/hooks/slot-resolvers.tsx +25 -6
  1154. package/src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +176 -95
  1155. package/src/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +57 -29
  1156. package/src/providers/screen/styles/index.tsx +2 -2
  1157. package/src/providers/screen/styles/slot.provider.tsx +51 -60
  1158. package/src/providers/screen/use-current-screen-relationships.ts +10 -0
  1159. package/src/providers/stack/blank-stack-state/blank-stack-controller.ts +15 -26
  1160. package/src/providers/stack/blank-stack-state/helpers/build-blank-stack-state.ts +34 -70
  1161. package/src/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.ts +7 -20
  1162. package/src/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.ts +20 -32
  1163. package/src/providers/stack/blank-stack-state/helpers/resolve-presented-index.ts +22 -0
  1164. package/src/providers/stack/blank-stack-state/helpers/state-equality.ts +9 -16
  1165. package/src/providers/stack/blank-stack-state/helpers/types.ts +16 -29
  1166. package/src/providers/stack/blank-stack-state/index.ts +2 -13
  1167. package/src/providers/stack/blank-stack.provider.tsx +59 -101
  1168. package/src/providers/stack/core.provider.tsx +34 -86
  1169. package/src/stores/animation.store.ts +19 -3
  1170. package/src/stores/bounds/internals/entries.ts +38 -1
  1171. package/src/stores/bounds/internals/links.ts +58 -3
  1172. package/src/stores/bounds/internals/resolver.ts +7 -21
  1173. package/src/stores/gesture.store.ts +5 -38
  1174. package/src/stores/scroll.store.ts +23 -0
  1175. package/src/stores/system.store.ts +9 -2
  1176. package/src/types/animation.types.ts +9 -24
  1177. package/src/types/blank-stack.types.ts +9 -24
  1178. package/src/types/bounds.types.ts +0 -100
  1179. package/src/types/gesture.types.ts +7 -26
  1180. package/src/types/index.ts +5 -5
  1181. package/src/types/overlay.types.ts +41 -14
  1182. package/src/types/providers/blank-stack-provider.types.ts +19 -43
  1183. package/src/types/screen.types.ts +50 -125
  1184. package/src/types/stack.types.ts +11 -34
  1185. package/src/utils/animation/animate-to-progress.ts +59 -51
  1186. package/src/utils/animation/animate.ts +18 -2
  1187. package/src/utils/animation/spring/spring.ts +36 -1
  1188. package/src/utils/animation/spring/springUtils.ts +130 -0
  1189. package/src/utils/animation/state.ts +8 -0
  1190. package/src/utils/bounds/constants.ts +2 -2
  1191. package/src/utils/bounds/helpers/create-bounds-accessor-core.ts +7 -6
  1192. package/src/utils/bounds/helpers/create-link-accessor.ts +9 -3
  1193. package/src/utils/bounds/helpers/prepare-bound-styles.ts +5 -5
  1194. package/src/utils/bounds/helpers/styles/composers.ts +6 -6
  1195. package/src/utils/bounds/helpers/styles/compute.ts +3 -3
  1196. package/src/utils/bounds/navigation/reveal/build.ts +1 -1
  1197. package/src/utils/bounds/navigation/reveal/math.ts +21 -5
  1198. package/src/utils/bounds/navigation/zoom/build.ts +77 -23
  1199. package/src/utils/bounds/navigation/zoom/drag.ts +3 -42
  1200. package/src/utils/bounds/navigation/zoom/helpers.ts +9 -23
  1201. package/src/utils/bounds/types/options.ts +15 -34
  1202. package/src/utils/create-provider.tsx +301 -161
  1203. package/src/utils/navigation/close-action-replay.ts +25 -0
  1204. package/src/utils/normalize-interpolated-style.ts +5 -39
  1205. package/src/utils/resolve-screen-transition-options.ts +4 -13
  1206. package/lib/commonjs/components/boundary/hooks/use-register-target.js +0 -32
  1207. package/lib/commonjs/components/boundary/hooks/use-register-target.js.map +0 -1
  1208. package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-slot.js +0 -52
  1209. package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +0 -1
  1210. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js +0 -18
  1211. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +0 -1
  1212. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/host-name.js +0 -14
  1213. package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/host-name.js.map +0 -1
  1214. package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js +0 -47
  1215. package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +0 -1
  1216. package/lib/commonjs/components/boundary/portal/utils/ownership.js +0 -220
  1217. package/lib/commonjs/components/boundary/portal/utils/ownership.js.map +0 -1
  1218. package/lib/commonjs/components/boundary/portal/utils/shallow-equal.js +0 -29
  1219. package/lib/commonjs/components/boundary/portal/utils/shallow-equal.js.map +0 -1
  1220. package/lib/commonjs/components/boundary/portal/utils/visible-host.js +0 -25
  1221. package/lib/commonjs/components/boundary/portal/utils/visible-host.js.map +0 -1
  1222. package/lib/commonjs/components/masked-view.js +0 -56
  1223. package/lib/commonjs/components/masked-view.js.map +0 -1
  1224. package/lib/commonjs/components/scene-view.js +0 -32
  1225. package/lib/commonjs/components/scene-view.js.map +0 -1
  1226. package/lib/commonjs/components/screen-container/layers/surface-container.js +0 -53
  1227. package/lib/commonjs/components/screen-container/layers/surface-container.js.map +0 -1
  1228. package/lib/commonjs/hooks/navigation/use-previous.js +0 -16
  1229. package/lib/commonjs/hooks/navigation/use-previous.js.map +0 -1
  1230. package/lib/commonjs/hooks/navigation/use-stack.js +0 -90
  1231. package/lib/commonjs/hooks/navigation/use-stack.js.map +0 -1
  1232. package/lib/commonjs/hooks/navigation/use-tab-press-reset.js +0 -31
  1233. package/lib/commonjs/hooks/navigation/use-tab-press-reset.js.map +0 -1
  1234. package/lib/commonjs/hooks/use-stable-callback-value.js +0 -69
  1235. package/lib/commonjs/hooks/use-stable-callback-value.js.map +0 -1
  1236. package/lib/commonjs/providers/register-bounds.provider.js +0 -312
  1237. package/lib/commonjs/providers/register-bounds.provider.js.map +0 -1
  1238. package/lib/commonjs/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +0 -23
  1239. package/lib/commonjs/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +0 -1
  1240. package/lib/commonjs/providers/screen/descriptors/helpers/get-ancestor-keys.js +0 -46
  1241. package/lib/commonjs/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +0 -1
  1242. package/lib/commonjs/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +0 -1
  1243. package/lib/commonjs/providers/screen/gestures/rotation/activation/use-rotation-activation.js +0 -64
  1244. package/lib/commonjs/providers/screen/gestures/rotation/activation/use-rotation-activation.js.map +0 -1
  1245. package/lib/commonjs/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js +0 -21
  1246. package/lib/commonjs/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js.map +0 -1
  1247. package/lib/commonjs/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js +0 -29
  1248. package/lib/commonjs/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js.map +0 -1
  1249. package/lib/commonjs/providers/screen/gestures/rotation/use-build-rotation-gesture.js +0 -38
  1250. package/lib/commonjs/providers/screen/gestures/rotation/use-build-rotation-gesture.js.map +0 -1
  1251. package/lib/commonjs/providers/screen/gestures/shared/ancestors.js +0 -23
  1252. package/lib/commonjs/providers/screen/gestures/shared/ancestors.js.map +0 -1
  1253. package/lib/commonjs/providers/screen/origin.provider.js +0 -41
  1254. package/lib/commonjs/providers/screen/origin.provider.js.map +0 -1
  1255. package/lib/commonjs/providers/screen/styles/components/floating-overlay-layer.js +0 -28
  1256. package/lib/commonjs/providers/screen/styles/components/floating-overlay-layer.js.map +0 -1
  1257. package/lib/commonjs/providers/screen/styles/helpers/opening-phase.js +0 -32
  1258. package/lib/commonjs/providers/screen/styles/helpers/opening-phase.js.map +0 -1
  1259. package/lib/commonjs/providers/screen/styles/stores/slot-references.store.js +0 -53
  1260. package/lib/commonjs/providers/screen/styles/stores/slot-references.store.js.map +0 -1
  1261. package/lib/commonjs/providers/stack/direct.provider.js +0 -104
  1262. package/lib/commonjs/providers/stack/direct.provider.js.map +0 -1
  1263. package/lib/commonjs/types/providers/direct-stack.types.js +0 -6
  1264. package/lib/commonjs/types/providers/direct-stack.types.js.map +0 -1
  1265. package/lib/commonjs/utils/bounds/navigation/math.js +0 -134
  1266. package/lib/commonjs/utils/bounds/navigation/math.js.map +0 -1
  1267. package/lib/commonjs/utils/platform.js +0 -14
  1268. package/lib/commonjs/utils/platform.js.map +0 -1
  1269. package/lib/module/components/boundary/hooks/use-register-target.js +0 -27
  1270. package/lib/module/components/boundary/hooks/use-register-target.js.map +0 -1
  1271. package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-slot.js +0 -47
  1272. package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +0 -1
  1273. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js +0 -13
  1274. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +0 -1
  1275. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/host-name.js +0 -9
  1276. package/lib/module/components/boundary/portal/components/boundary-portal/helpers/host-name.js.map +0 -1
  1277. package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js +0 -40
  1278. package/lib/module/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +0 -1
  1279. package/lib/module/components/boundary/portal/utils/ownership.js +0 -213
  1280. package/lib/module/components/boundary/portal/utils/ownership.js.map +0 -1
  1281. package/lib/module/components/boundary/portal/utils/shallow-equal.js +0 -24
  1282. package/lib/module/components/boundary/portal/utils/shallow-equal.js.map +0 -1
  1283. package/lib/module/components/boundary/portal/utils/visible-host.js +0 -20
  1284. package/lib/module/components/boundary/portal/utils/visible-host.js.map +0 -1
  1285. package/lib/module/components/masked-view.js +0 -52
  1286. package/lib/module/components/masked-view.js.map +0 -1
  1287. package/lib/module/components/scene-view.js +0 -27
  1288. package/lib/module/components/scene-view.js.map +0 -1
  1289. package/lib/module/components/screen-container/layers/surface-container.js +0 -48
  1290. package/lib/module/components/screen-container/layers/surface-container.js.map +0 -1
  1291. package/lib/module/hooks/navigation/use-previous.js +0 -11
  1292. package/lib/module/hooks/navigation/use-previous.js.map +0 -1
  1293. package/lib/module/hooks/navigation/use-stack.js +0 -85
  1294. package/lib/module/hooks/navigation/use-stack.js.map +0 -1
  1295. package/lib/module/hooks/navigation/use-tab-press-reset.js +0 -27
  1296. package/lib/module/hooks/navigation/use-tab-press-reset.js.map +0 -1
  1297. package/lib/module/hooks/use-stable-callback-value.js +0 -64
  1298. package/lib/module/hooks/use-stable-callback-value.js.map +0 -1
  1299. package/lib/module/providers/register-bounds.provider.js +0 -308
  1300. package/lib/module/providers/register-bounds.provider.js.map +0 -1
  1301. package/lib/module/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js +0 -18
  1302. package/lib/module/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.js.map +0 -1
  1303. package/lib/module/providers/screen/descriptors/helpers/get-ancestor-keys.js +0 -41
  1304. package/lib/module/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +0 -1
  1305. package/lib/module/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js +0 -150
  1306. package/lib/module/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.js.map +0 -1
  1307. package/lib/module/providers/screen/gestures/rotation/activation/use-rotation-activation.js +0 -59
  1308. package/lib/module/providers/screen/gestures/rotation/activation/use-rotation-activation.js.map +0 -1
  1309. package/lib/module/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js +0 -15
  1310. package/lib/module/providers/screen/gestures/rotation/behavior/rotation-lifecycle.js.map +0 -1
  1311. package/lib/module/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js +0 -24
  1312. package/lib/module/providers/screen/gestures/rotation/behavior/use-rotation-behavior.js.map +0 -1
  1313. package/lib/module/providers/screen/gestures/rotation/use-build-rotation-gesture.js +0 -33
  1314. package/lib/module/providers/screen/gestures/rotation/use-build-rotation-gesture.js.map +0 -1
  1315. package/lib/module/providers/screen/gestures/shared/ancestors.js +0 -19
  1316. package/lib/module/providers/screen/gestures/shared/ancestors.js.map +0 -1
  1317. package/lib/module/providers/screen/origin.provider.js +0 -33
  1318. package/lib/module/providers/screen/origin.provider.js.map +0 -1
  1319. package/lib/module/providers/screen/styles/components/floating-overlay-layer.js +0 -24
  1320. package/lib/module/providers/screen/styles/components/floating-overlay-layer.js.map +0 -1
  1321. package/lib/module/providers/screen/styles/helpers/opening-phase.js +0 -26
  1322. package/lib/module/providers/screen/styles/helpers/opening-phase.js.map +0 -1
  1323. package/lib/module/providers/screen/styles/stores/slot-references.store.js +0 -47
  1324. package/lib/module/providers/screen/styles/stores/slot-references.store.js.map +0 -1
  1325. package/lib/module/providers/stack/direct.provider.js +0 -101
  1326. package/lib/module/providers/stack/direct.provider.js.map +0 -1
  1327. package/lib/module/types/providers/direct-stack.types.js +0 -4
  1328. package/lib/module/types/providers/direct-stack.types.js.map +0 -1
  1329. package/lib/module/utils/bounds/navigation/math.js +0 -125
  1330. package/lib/module/utils/bounds/navigation/math.js.map +0 -1
  1331. package/lib/module/utils/platform.js +0 -10
  1332. package/lib/module/utils/platform.js.map +0 -1
  1333. package/lib/typescript/components/boundary/hooks/use-register-target.d.ts +0 -10
  1334. package/lib/typescript/components/boundary/hooks/use-register-target.d.ts.map +0 -1
  1335. package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts +0 -13
  1336. package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts.map +0 -1
  1337. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts +0 -3
  1338. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts.map +0 -1
  1339. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/host-name.d.ts +0 -2
  1340. package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/host-name.d.ts.map +0 -1
  1341. package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts +0 -9
  1342. package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts.map +0 -1
  1343. package/lib/typescript/components/boundary/portal/utils/ownership.d.ts +0 -34
  1344. package/lib/typescript/components/boundary/portal/utils/ownership.d.ts.map +0 -1
  1345. package/lib/typescript/components/boundary/portal/utils/shallow-equal.d.ts +0 -8
  1346. package/lib/typescript/components/boundary/portal/utils/shallow-equal.d.ts.map +0 -1
  1347. package/lib/typescript/components/boundary/portal/utils/visible-host.d.ts +0 -8
  1348. package/lib/typescript/components/boundary/portal/utils/visible-host.d.ts.map +0 -1
  1349. package/lib/typescript/components/masked-view.d.ts +0 -10
  1350. package/lib/typescript/components/masked-view.d.ts.map +0 -1
  1351. package/lib/typescript/components/scene-view.d.ts +0 -13
  1352. package/lib/typescript/components/scene-view.d.ts.map +0 -1
  1353. package/lib/typescript/components/screen-container/layers/surface-container.d.ts +0 -8
  1354. package/lib/typescript/components/screen-container/layers/surface-container.d.ts.map +0 -1
  1355. package/lib/typescript/hooks/navigation/use-previous.d.ts +0 -2
  1356. package/lib/typescript/hooks/navigation/use-previous.d.ts.map +0 -1
  1357. package/lib/typescript/hooks/navigation/use-stack.d.ts +0 -34
  1358. package/lib/typescript/hooks/navigation/use-stack.d.ts.map +0 -1
  1359. package/lib/typescript/hooks/navigation/use-tab-press-reset.d.ts +0 -10
  1360. package/lib/typescript/hooks/navigation/use-tab-press-reset.d.ts.map +0 -1
  1361. package/lib/typescript/hooks/use-stable-callback-value.d.ts +0 -13
  1362. package/lib/typescript/hooks/use-stable-callback-value.d.ts.map +0 -1
  1363. package/lib/typescript/providers/register-bounds.provider.d.ts +0 -25
  1364. package/lib/typescript/providers/register-bounds.provider.d.ts.map +0 -1
  1365. package/lib/typescript/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.d.ts +0 -2
  1366. package/lib/typescript/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.d.ts.map +0 -1
  1367. package/lib/typescript/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts +0 -14
  1368. package/lib/typescript/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts.map +0 -1
  1369. package/lib/typescript/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.d.ts +0 -14
  1370. package/lib/typescript/providers/screen/gestures/ownership/use-walk-up-and-register-shadowing-claims.d.ts.map +0 -1
  1371. package/lib/typescript/providers/screen/gestures/rotation/activation/use-rotation-activation.d.ts +0 -15
  1372. package/lib/typescript/providers/screen/gestures/rotation/activation/use-rotation-activation.d.ts.map +0 -1
  1373. package/lib/typescript/providers/screen/gestures/rotation/behavior/rotation-lifecycle.d.ts +0 -4
  1374. package/lib/typescript/providers/screen/gestures/rotation/behavior/rotation-lifecycle.d.ts.map +0 -1
  1375. package/lib/typescript/providers/screen/gestures/rotation/behavior/use-rotation-behavior.d.ts +0 -5
  1376. package/lib/typescript/providers/screen/gestures/rotation/behavior/use-rotation-behavior.d.ts.map +0 -1
  1377. package/lib/typescript/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts +0 -9
  1378. package/lib/typescript/providers/screen/gestures/rotation/use-build-rotation-gesture.d.ts.map +0 -1
  1379. package/lib/typescript/providers/screen/gestures/shared/ancestors.d.ts +0 -11
  1380. package/lib/typescript/providers/screen/gestures/shared/ancestors.d.ts.map +0 -1
  1381. package/lib/typescript/providers/screen/origin.provider.d.ts +0 -11
  1382. package/lib/typescript/providers/screen/origin.provider.d.ts.map +0 -1
  1383. package/lib/typescript/providers/screen/styles/components/floating-overlay-layer.d.ts +0 -7
  1384. package/lib/typescript/providers/screen/styles/components/floating-overlay-layer.d.ts.map +0 -1
  1385. package/lib/typescript/providers/screen/styles/helpers/opening-phase.d.ts +0 -16
  1386. package/lib/typescript/providers/screen/styles/helpers/opening-phase.d.ts.map +0 -1
  1387. package/lib/typescript/providers/screen/styles/stores/slot-references.store.d.ts +0 -6
  1388. package/lib/typescript/providers/screen/styles/stores/slot-references.store.d.ts.map +0 -1
  1389. package/lib/typescript/providers/stack/direct.provider.d.ts +0 -6
  1390. package/lib/typescript/providers/stack/direct.provider.d.ts.map +0 -1
  1391. package/lib/typescript/types/providers/direct-stack.types.d.ts +0 -31
  1392. package/lib/typescript/types/providers/direct-stack.types.d.ts.map +0 -1
  1393. package/lib/typescript/utils/bounds/navigation/math.d.ts +0 -31
  1394. package/lib/typescript/utils/bounds/navigation/math.d.ts.map +0 -1
  1395. package/lib/typescript/utils/platform.d.ts +0 -2
  1396. package/lib/typescript/utils/platform.d.ts.map +0 -1
  1397. package/src/components/boundary/hooks/use-register-target.ts +0 -43
  1398. package/src/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx +0 -80
  1399. package/src/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.ts +0 -16
  1400. package/src/components/boundary/portal/components/boundary-portal/helpers/host-name.ts +0 -10
  1401. package/src/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.ts +0 -45
  1402. package/src/components/boundary/portal/utils/ownership.ts +0 -319
  1403. package/src/components/boundary/portal/utils/shallow-equal.ts +0 -25
  1404. package/src/components/boundary/portal/utils/visible-host.ts +0 -24
  1405. package/src/components/masked-view.tsx +0 -58
  1406. package/src/components/scene-view.tsx +0 -29
  1407. package/src/components/screen-container/layers/surface-container.tsx +0 -63
  1408. package/src/hooks/navigation/use-previous.ts +0 -11
  1409. package/src/hooks/navigation/use-stack.tsx +0 -185
  1410. package/src/hooks/navigation/use-tab-press-reset.ts +0 -36
  1411. package/src/hooks/use-stable-callback-value.ts +0 -72
  1412. package/src/providers/register-bounds.provider.tsx +0 -401
  1413. package/src/providers/screen/animation/helpers/accessors/use-build-bounds-accessor.tsx +0 -13
  1414. package/src/providers/screen/descriptors/helpers/get-ancestor-keys.ts +0 -55
  1415. package/src/providers/screen/gestures/rotation/activation/use-rotation-activation.ts +0 -88
  1416. package/src/providers/screen/gestures/rotation/behavior/rotation-lifecycle.ts +0 -19
  1417. package/src/providers/screen/gestures/rotation/behavior/use-rotation-behavior.ts +0 -47
  1418. package/src/providers/screen/gestures/rotation/use-build-rotation-gesture.ts +0 -50
  1419. package/src/providers/screen/gestures/shared/ancestors.ts +0 -27
  1420. package/src/providers/screen/origin.provider.tsx +0 -38
  1421. package/src/providers/screen/styles/components/floating-overlay-layer.tsx +0 -29
  1422. package/src/providers/screen/styles/helpers/opening-phase.ts +0 -25
  1423. package/src/providers/screen/styles/stores/slot-references.store.ts +0 -72
  1424. package/src/providers/stack/direct.provider.tsx +0 -129
  1425. package/src/types/providers/direct-stack.types.ts +0 -69
  1426. package/src/utils/bounds/navigation/math.ts +0 -188
  1427. package/src/utils/platform.ts +0 -8
@@ -1,35 +1,21 @@
1
- import { createScreenPairKey } from "../helpers/link-pairs.helpers";
2
1
  import type {
3
2
  ResolvedTransitionPair,
4
3
  ResolveTransitionContext,
5
- ScreenPairKey,
6
4
  TagID,
7
5
  } from "../types";
8
- import { getResolvedLink } from "./links";
9
-
10
- function resolvePairKey(
11
- context: ResolveTransitionContext,
12
- ): ScreenPairKey | null {
13
- "worklet";
14
-
15
- if (context.entering) {
16
- if (!context.previousScreenKey || !context.currentScreenKey) return null;
17
- return createScreenPairKey(
18
- context.previousScreenKey,
19
- context.currentScreenKey,
20
- );
21
- }
22
-
23
- if (!context.currentScreenKey || !context.nextScreenKey) return null;
24
- return createScreenPairKey(context.currentScreenKey, context.nextScreenKey);
25
- }
6
+ import { getPairKeyForDestination, getResolvedLink } from "./links";
26
7
 
27
8
  function resolveTransitionPair(
28
9
  tag: TagID,
29
10
  context: ResolveTransitionContext,
30
11
  ): ResolvedTransitionPair {
31
12
  "worklet";
32
- const pairKey = resolvePairKey(context);
13
+ const destinationScreenKey = context.entering
14
+ ? context.currentScreenKey
15
+ : context.nextScreenKey;
16
+ const pairKey = destinationScreenKey
17
+ ? getPairKeyForDestination(tag, destinationScreenKey)
18
+ : null;
33
19
  const matchedLink = pairKey ? getResolvedLink(pairKey, tag).link : null;
34
20
 
35
21
  return {
@@ -3,10 +3,7 @@ import {
3
3
  makeMutable,
4
4
  type SharedValue,
5
5
  } from "react-native-reanimated";
6
- import type {
7
- ActiveGesture,
8
- ResolvedPanGestureDirection,
9
- } from "../types/gesture.types";
6
+ import type { ActiveGesture } from "../types/gesture.types";
10
7
  import { createStore } from "../utils/create-store";
11
8
 
12
9
  type GestureRawStoreMap = {
@@ -34,7 +31,6 @@ type GestureSnapshotStoreMap = {
34
31
  rotation: SharedValue<number>;
35
32
  raw: GestureRawStoreMap;
36
33
  active: SharedValue<ActiveGesture | null>;
37
- direction: SharedValue<ResolvedPanGestureDirection | null>;
38
34
  };
39
35
 
40
36
  type GestureInternalStoreMap = {
@@ -63,26 +59,7 @@ export type GestureStoreMap = {
63
59
  dismissing: SharedValue<number>;
64
60
  dragging: SharedValue<number>;
65
61
  settling: SharedValue<number>;
66
- active: SharedValue<ActiveGesture | null>;
67
- /** @deprecated Use `active` instead. */
68
- direction: SharedValue<ResolvedPanGestureDirection | null>;
69
-
70
- /**
71
- * @deprecated Use `normX` instead.
72
- */
73
- normalizedX: SharedValue<number>;
74
- /**
75
- * @deprecated Use `normY` instead.
76
- */
77
- normalizedY: SharedValue<number>;
78
- /**
79
- * @deprecated Use `dismissing` instead.
80
- */
81
- isDismissing: SharedValue<number>;
82
- /**
83
- * @deprecated Use `dragging` instead.
84
- */
85
- isDragging: SharedValue<number>;
62
+ initiator: SharedValue<ActiveGesture | null>;
86
63
  };
87
64
 
88
65
  function createGestureBag(): GestureStoreMap {
@@ -97,7 +74,7 @@ function createGestureBag(): GestureStoreMap {
97
74
  const dismissing = makeMutable(0);
98
75
  const dragging = makeMutable(0);
99
76
  const settling = makeMutable(0);
100
- const active = makeMutable<ActiveGesture | null>(null);
77
+ const initiator = makeMutable<ActiveGesture | null>(null);
101
78
 
102
79
  return {
103
80
  x: makeMutable(0),
@@ -149,20 +126,12 @@ function createGestureBag(): GestureStoreMap {
149
126
  rotation: makeMutable(0),
150
127
  },
151
128
  active: makeMutable<ActiveGesture | null>(null),
152
- direction: makeMutable<ResolvedPanGestureDirection | null>(null),
153
129
  },
154
130
  },
155
131
  dismissing,
156
132
  dragging,
157
133
  settling,
158
- active,
159
- direction: makeMutable<ResolvedPanGestureDirection | null>(null),
160
-
161
- // Deprecated aliases (same underlying SharedValue)
162
- normalizedX: normX,
163
- normalizedY: normY,
164
- isDismissing: dismissing,
165
- isDragging: dragging,
134
+ initiator,
166
135
  };
167
136
  }
168
137
 
@@ -219,11 +188,9 @@ export const GestureStore = createStore<GestureStoreMap>({
219
188
  cancelAnimation(bag.internal.snapshot.raw.normScale);
220
189
  cancelAnimation(bag.internal.snapshot.raw.rotation);
221
190
  cancelAnimation(bag.internal.snapshot.active);
222
- cancelAnimation(bag.internal.snapshot.direction);
223
191
  cancelAnimation(bag.dismissing);
224
192
  cancelAnimation(bag.dragging);
225
193
  cancelAnimation(bag.settling);
226
- cancelAnimation(bag.active);
227
- cancelAnimation(bag.direction);
194
+ cancelAnimation(bag.initiator);
228
195
  },
229
196
  });
@@ -137,6 +137,29 @@ export const getClampedScrollAxisDelta = (
137
137
  return currentOffset - capturedOffset;
138
138
  };
139
139
 
140
+ /**
141
+ * Visual scroll travel from a bounds snapshot normalized to its at-rest
142
+ * position. The captured side is clamped because measurement removes transient
143
+ * rubber-band displacement; the current side stays raw so consumers can follow
144
+ * the position that is actually visible on iOS.
145
+ */
146
+ export const getVisualScrollAxisDelta = (
147
+ current: ScrollMetadataState | null | undefined,
148
+ captured: ScrollMetadataState | null | undefined,
149
+ axis: ScrollGestureAxis,
150
+ ): number => {
151
+ "worklet";
152
+
153
+ const currentAxisState = current?.[axis];
154
+ const capturedOffset = clampScrollAxisOffset(captured?.[axis]);
155
+
156
+ if (!currentAxisState || capturedOffset === null) {
157
+ return 0;
158
+ }
159
+
160
+ return currentAxisState.offset - capturedOffset;
161
+ };
162
+
140
163
  /**
141
164
  * Route-keyed scroll geometry used by gesture activation and bounds measurement.
142
165
  * Coordination tracks gesture-owner scoped ScrollView offsets and dimensions;
@@ -9,13 +9,18 @@ import { createStore } from "../utils/create-store";
9
9
  export enum LifecycleTransitionRequestKind {
10
10
  None = 0,
11
11
  Open = 1,
12
- BlankStackClose = 2,
13
- NativeClose = 3,
12
+ Close = 2,
14
13
  }
15
14
 
16
15
  type SystemStoreState = {
17
16
  targetProgress: SharedValue<number>;
18
17
 
18
+ /**
19
+ * Directional linear clock for the active progress animation. Increasing
20
+ * animations run 0 -> 1; decreasing animations run 1 -> 0.
21
+ */
22
+ animationProgress: SharedValue<number>;
23
+
19
24
  /**
20
25
  * Resolved fraction (contentHeight / screenHeight) for the 'auto' snap point. -1 = not yet measured.
21
26
  */
@@ -67,6 +72,7 @@ export type SystemStoreMap = SystemStoreState & {
67
72
  export const SystemStore = createStore<SystemStoreState, SystemStoreActions>({
68
73
  createBag: () => ({
69
74
  targetProgress: makeMutable(1),
75
+ animationProgress: makeMutable(0),
70
76
  resolvedAutoSnapPoint: makeMutable(-1),
71
77
  measuredContentLayout: makeMutable<Layout | null>(null),
72
78
  pendingLifecycleRequestKind: makeMutable<LifecycleTransitionRequestKind>(
@@ -77,6 +83,7 @@ export const SystemStore = createStore<SystemStoreState, SystemStoreActions>({
77
83
  }),
78
84
  disposeBag: (bag) => {
79
85
  cancelAnimation(bag.targetProgress);
86
+ cancelAnimation(bag.animationProgress);
80
87
  cancelAnimation(bag.resolvedAutoSnapPoint);
81
88
  cancelAnimation(bag.measuredContentLayout);
82
89
  cancelAnimation(bag.pendingLifecycleRequestKind);
@@ -28,11 +28,8 @@ export type ScreenTransitionOptions = Pick<
28
28
  | "gestureVelocityImpact"
29
29
  | "gestureSnapVelocityImpact"
30
30
  | "gestureReleaseVelocityScale"
31
- | "gestureResponseDistance"
32
- | "gestureProgressMode"
33
- | "gestureDrivesProgress"
34
- | "gestureActivationArea"
35
31
  | "gestureSnapLocked"
32
+ | "sheetSnapBehavior"
36
33
  | "sheetScrollGestureBehavior"
37
34
  | "backdropBehavior"
38
35
  >;
@@ -105,13 +102,6 @@ export type ScreenTransitionState = {
105
102
  */
106
103
  settled: number;
107
104
 
108
- /**
109
- * Deprecated alias for `settled`.
110
- *
111
- * @deprecated Use `settled` instead.
112
- */
113
- logicallySettled: number;
114
-
115
105
  /**
116
106
  * Live gesture values for this screen.
117
107
  * Contains translation (x, y), normalized values (-1 to 1),
@@ -242,15 +232,6 @@ export interface ScreenInterpolationProps {
242
232
  */
243
233
  stackProgress: number;
244
234
 
245
- /**
246
- * Whether the active transition is visually close enough to its target to be
247
- * treated as complete, even if the animation is still physically settling.
248
- *
249
- * @deprecated Use `active.settled` instead. Screen settlement state
250
- * belongs on the screen state object.
251
- */
252
- logicallySettled: number;
253
-
254
235
  /**
255
236
  * Function that provides access to bounds helpers for shared screen transitions.
256
237
  */
@@ -364,8 +345,6 @@ export type NormalizedTransitionInterpolatedStyle = {
364
345
  content?: NormalizedTransitionSlotStyle;
365
346
  /** Animated style and props for the backdrop layer between screens. */
366
347
  backdrop?: NormalizedTransitionSlotStyle;
367
- /** Animated style and props for the surface component layer within the screen. */
368
- surface?: NormalizedTransitionSlotStyle;
369
348
  /** Animated style and props for the navigation mask container layer. */
370
349
  [NAVIGATION_MASK_CONTAINER_STYLE_ID]?: NormalizedTransitionSlotStyle;
371
350
  /** Animated style and props for the navigation mask element layer. */
@@ -384,12 +363,18 @@ export type TransitionInterpolatedStyle = {
384
363
  * This reserved key is stripped before style slot normalization.
385
364
  */
386
365
  options?: TransitionInterpolatorOptions;
366
+ /**
367
+ * Animated style and props for the route-owned floating overlay.
368
+ *
369
+ * Visible overlays form their own adjacency chain. A route that returns this
370
+ * slot controls the previous visible overlay and, when it owns an overlay,
371
+ * its entering overlay.
372
+ */
373
+ overlay?: TransitionSlotStyle;
387
374
  /** Animated style and props for the main screen content view. */
388
375
  content?: TransitionSlotStyle;
389
376
  /** Animated style and props for the backdrop layer between screens. */
390
377
  backdrop?: TransitionSlotStyle;
391
- /** Animated style and props for the surface component layer within the screen. */
392
- surface?: TransitionSlotStyle;
393
378
  /** Animated style and props for the navigation mask container layer. */
394
379
  [NAVIGATION_MASK_CONTAINER_STYLE_ID]?: TransitionSlotStyle;
395
380
  /** Animated style and props for the navigation mask element layer. */
@@ -12,7 +12,6 @@ import type {
12
12
  } from "@react-navigation/native";
13
13
  import type { OverlayProps } from "./overlay.types";
14
14
  import type { InactiveBehavior, ScreenTransitionConfig } from "./screen.types";
15
- import type { StackSceneActivity } from "./stack.types";
16
15
 
17
16
  export type { InactiveBehavior } from "./screen.types";
18
17
 
@@ -61,24 +60,6 @@ export type BlankStackNavigationHelpers = NavigationHelpers<
61
60
  * they are also supported as top-level keys in static navigator config.
62
61
  */
63
62
  export interface BlankStackFactoryOptions {
64
- /**
65
- * Controls whether blank-stack screens are rendered with react-native-screens.
66
- *
67
- * When enabled, inactive presentation state is backed by
68
- * `ScreenContainer`/`Screen.activityState`. Set this to `false` to render
69
- * screens as regular React Native views.
70
- *
71
- * @default true
72
- */
73
- nativeScreens?: boolean;
74
-
75
- /**
76
- * Enables react-native-screens for blank-stack screen retention.
77
- *
78
- * @deprecated Use `nativeScreens` instead.
79
- */
80
- enableNativeScreens?: boolean;
81
-
82
63
  /**
83
64
  * Creates an isolated navigation tree for embedded flows.
84
65
  *
@@ -97,8 +78,14 @@ export interface BlankStackFactoryOptions {
97
78
  * Props passed to overlay components in blank-stack.
98
79
  * Uses the shared OverlayProps type with blank-stack's navigation type.
99
80
  */
100
- export type BlankStackOverlayProps = OverlayProps<
101
- BlankStackNavigationProp<ParamListBase>
81
+ export type BlankStackOverlayProps<
82
+ ParamList extends ParamListBase = ParamListBase,
83
+ RouteName extends keyof ParamList = keyof ParamList,
84
+ NavigatorID extends string | undefined = undefined,
85
+ > = OverlayProps<
86
+ BlankStackNavigationProp<ParamList, RouteName, NavigatorID>,
87
+ ParamList,
88
+ RouteName
102
89
  >;
103
90
 
104
91
  export type BlankStackNavigationOptions = ScreenTransitionConfig & {
@@ -141,6 +128,4 @@ export type BlankStackDescriptor = Descriptor<
141
128
  BlankStackNavigationOptions,
142
129
  BlankStackNavigationProp<ParamListBase>,
143
130
  RouteProp<ParamListBase>
144
- > & {
145
- activity: StackSceneActivity;
146
- };
131
+ >;
@@ -18,7 +18,6 @@ import type {
18
18
  TransitionInterpolatedStyle,
19
19
  TransitionSlotStyle,
20
20
  } from "./animation.types";
21
- import type { GestureProgressMode } from "./gesture.types";
22
21
 
23
22
  export type { BoundsLink, BoundsLinkStatus } from "../stores/bounds/types";
24
23
 
@@ -65,28 +64,6 @@ export type BoundsNavigationZoomDragOptions = {
65
64
  scale?: BoundsNavigationZoomAxisResponse;
66
65
  };
67
66
 
68
- /**
69
- * Legacy zoom opacity interpolation tuple.
70
- *
71
- * @deprecated Zoom opacity ownership now follows the native preset.
72
- */
73
- export type BoundsNavigationZoomOpacityRange = readonly [
74
- inputStart: number,
75
- inputEnd: number,
76
- outputStart?: number,
77
- outputEnd?: number,
78
- ];
79
-
80
- /**
81
- * Legacy opening and closing zoom opacity ranges.
82
- *
83
- * @deprecated Zoom opacity ownership now follows the native preset.
84
- */
85
- export type BoundsNavigationZoomOpacityRanges = {
86
- open?: BoundsNavigationZoomOpacityRange;
87
- close?: BoundsNavigationZoomOpacityRange;
88
- };
89
-
90
67
  export type BoundsNavigationZoomOptions = {
91
68
  /**
92
69
  * Geometry that the zoomed content should resolve against.
@@ -139,67 +116,6 @@ export type BoundsNavigationZoomOptions = {
139
116
  * Native drag-response intensity controls.
140
117
  */
141
118
  drag?: BoundsNavigationZoomDragOptions;
142
- /**
143
- * @deprecated Ignored. Zoom no longer exposes a transition-specific debug
144
- * overlay.
145
- */
146
- debug?: boolean;
147
- /**
148
- * @deprecated Ignored. Zoom opacity ownership now follows the native preset.
149
- */
150
- focusedElementOpacity?: BoundsNavigationZoomOpacityRanges;
151
- /**
152
- * @deprecated Ignored. Zoom opacity ownership now follows the native preset.
153
- */
154
- unfocusedElementOpacity?: BoundsNavigationZoomOpacityRanges;
155
- /**
156
- * @deprecated Ignored. Zoom now owns its gesture sensitivity curve.
157
- */
158
- maxSensitivity?: number;
159
- /**
160
- * @deprecated Ignored. Zoom now owns its velocity-depth behavior.
161
- */
162
- velocityDepth?: number;
163
- /**
164
- * @deprecated Ignored. Gesture movement always contributes to `progress`.
165
- */
166
- gestureProgressMode?: GestureProgressMode;
167
- /**
168
- * @deprecated Ignored. Use `drag.scale.horizontal` to adjust response
169
- * intensity without replacing the native curve.
170
- */
171
- horizontalDragScale?: readonly [
172
- shrinkMin: number,
173
- growMax: number,
174
- exponent?: number,
175
- ];
176
- /**
177
- * @deprecated Ignored. Use `drag.scale.vertical` to adjust response intensity
178
- * without replacing the native curve.
179
- */
180
- verticalDragScale?: readonly [
181
- shrinkMin: number,
182
- growMax: number,
183
- exponent?: number,
184
- ];
185
- /**
186
- * @deprecated Ignored. Use `drag.translation.horizontal` to adjust response
187
- * intensity without replacing the native curve.
188
- */
189
- horizontalDragTranslation?: readonly [
190
- negativeMax: number,
191
- positiveMax: number,
192
- exponent?: number,
193
- ];
194
- /**
195
- * @deprecated Ignored. Use `drag.translation.vertical` to adjust response
196
- * intensity without replacing the native curve.
197
- */
198
- verticalDragTranslation?: readonly [
199
- negativeMax: number,
200
- positiveMax: number,
201
- exponent?: number,
202
- ];
203
119
  };
204
120
 
205
121
  export type BoundsNavigationZoomStyle = TransitionInterpolatedStyle & {
@@ -242,16 +158,6 @@ export type BoundsNavigationRevealOptions = {
242
158
  * @default 0.5
243
159
  */
244
160
  velocityDepth?: number;
245
- /**
246
- * Deprecated compatibility option.
247
- *
248
- * Gesture movement now always contributes to `progress`; use `transitionProgress`
249
- * when a recipe needs transition progress without live gesture contribution.
250
- * The reveal helper no longer reads this option.
251
- *
252
- * @deprecated Use `transitionProgress` from interpolation state instead.
253
- */
254
- gestureProgressMode?: GestureProgressMode;
255
161
  /**
256
162
  * Scale applied to the unfocused background content while the reveal runs
257
163
  * above it.
@@ -316,12 +222,6 @@ export type BoundsScopedAccessor = BoundsBoundNavigationAccessor & {
316
222
  values: <T extends BoundsComputeOptions = BoundsComputeOptions>(
317
223
  options?: T,
318
224
  ) => BoundsValuesResult<T>;
319
- /**
320
- * @deprecated Use {@linkcode values}.
321
- */
322
- math: <T extends BoundsComputeOptions = BoundsComputeOptions>(
323
- options?: T,
324
- ) => BoundsValuesResult<T>;
325
225
  link: (id?: BoundsIdentityInput) => BoundsLink | null;
326
226
  };
327
227
 
@@ -16,8 +16,6 @@ export type GestureDirection = PanGestureDirection | PinchGestureDirection;
16
16
 
17
17
  export type ActiveGesture = ResolvedPanGestureDirection | PinchGestureDirection;
18
18
 
19
- export type GestureProgressMode = "progress-driven" | "freeform";
20
-
21
19
  export type SnapPanAxis = "horizontal" | "vertical";
22
20
 
23
21
  /**
@@ -158,12 +156,6 @@ export type GestureHandoffValues = {
158
156
  * The gesture associated with the handoff values.
159
157
  */
160
158
  active: ActiveGesture | null;
161
- /**
162
- * The pan direction associated with the handoff values.
163
- *
164
- * @deprecated Use `active` instead.
165
- */
166
- direction: ResolvedPanGestureDirection | null;
167
159
  };
168
160
 
169
161
  export type GestureValues = {
@@ -221,15 +213,9 @@ export type GestureValues = {
221
213
  */
222
214
  raw: RawGestureValues;
223
215
  /**
224
- * The gesture that is currently active.
216
+ * The accepted activation identity for the current gesture attempt.
225
217
  */
226
- active: ActiveGesture | null;
227
- /**
228
- * The initial pan direction that activated the gesture.
229
- *
230
- * @deprecated Use `active` instead.
231
- */
232
- direction: ResolvedPanGestureDirection | null;
218
+ initiator: ActiveGesture | "none";
233
219
  /**
234
220
  * Gesture values latched at the release boundary for animation handoff.
235
221
  *
@@ -239,7 +225,10 @@ export type GestureValues = {
239
225
  */
240
226
  handoff: GestureHandoffValues;
241
227
  /**
242
- * A flag indicating if the screen is in the process of dismissing (0 or 1).
228
+ * Whether a released gesture is completing a dismissal (0 or 1).
229
+ *
230
+ * Use `closing` for screen lifecycle state. This value specifically describes
231
+ * the gesture release handoff.
243
232
  */
244
233
  dismissing: number;
245
234
  /**
@@ -247,15 +236,7 @@ export type GestureValues = {
247
236
  */
248
237
  dragging: number;
249
238
  /**
250
- * A flag indicating if released gesture values are animating back to neutral.
239
+ * Whether released gesture values are animating back to neutral (0 or 1).
251
240
  */
252
241
  settling: number;
253
- /** @deprecated Use `normX` instead. */
254
- normalizedX: number;
255
- /** @deprecated Use `normY` instead. */
256
- normalizedY: number;
257
- /** @deprecated Use `dismissing` instead. */
258
- isDismissing: number;
259
- /** @deprecated Use `dragging` instead. */
260
- isDragging: number;
261
242
  };
@@ -27,8 +27,6 @@ export type {
27
27
  BoundsNavigationRevealStyle,
28
28
  BoundsNavigationZoomAxisResponse,
29
29
  BoundsNavigationZoomDragOptions,
30
- BoundsNavigationZoomOpacityRange,
31
- BoundsNavigationZoomOpacityRanges,
32
30
  BoundsNavigationZoomOptions,
33
31
  BoundsNavigationZoomStyle,
34
32
  } from "./bounds.types";
@@ -51,7 +49,7 @@ export type {
51
49
  ScrollMetadataState,
52
50
  SideActivation,
53
51
  } from "./gesture.types";
54
- export type { OverlayProps } from "./overlay.types";
52
+ export type { OverlayComponent, OverlayProps } from "./overlay.types";
55
53
  export type {
56
54
  GestureTracking,
57
55
  InactiveBehavior,
@@ -62,7 +60,10 @@ export type {
62
60
  ScreenContentComponentProps,
63
61
  ScreenKey,
64
62
  ScreenLayerComponentProps,
63
+ ScreenSurfaceComponent,
64
+ ScreenSurfaceComponentProps,
65
65
  ScreenTransitionConfig,
66
+ SheetSnapBehavior,
66
67
  TransitionAwareProps,
67
68
  } from "./screen.types";
68
69
  export type {
@@ -71,7 +72,6 @@ export type {
71
72
  BaseStackRoute,
72
73
  BaseStackScene,
73
74
  BaseStackState,
74
- DescriptorMap,
75
- StackDescriptorSource,
76
75
  StackSceneActivity,
76
+ StackTransitionOptions,
77
77
  } from "./stack.types";
@@ -1,28 +1,44 @@
1
- import type { Route } from "@react-navigation/native";
1
+ import type {
2
+ ParamListBase,
3
+ ParamListRoute,
4
+ RouteProp,
5
+ } from "@react-navigation/native";
6
+ import type { ReactNode } from "react";
2
7
  import type { DerivedValue } from "react-native-reanimated";
3
8
  import type { ScreenTransitionConfig } from "./screen.types";
4
9
 
5
10
  /**
6
- * Props passed to overlay components.
7
- * Generic over the navigation type since different stacks have different navigation props.
11
+ * Overlay state without the animated progress value.
8
12
  */
13
+ export type OverlayScreenState<
14
+ TNavigation = unknown,
15
+ TParamList extends ParamListBase = ParamListBase,
16
+ TOwnerRouteName extends keyof TParamList = keyof TParamList,
17
+ > = Omit<OverlayProps<TNavigation, TParamList, TOwnerRouteName>, "progress"> & {
18
+ snapTo: (index: number) => void;
19
+ };
20
+
9
21
  /**
10
- * Overlay screen state passed to overlay host for rendering.
11
- * Generic over navigation type — defaults to `unknown` for flexibility.
22
+ * Props passed to a floating overlay component.
23
+ *
24
+ * `route` and `index` identify the screen that owns the overlay. Focused
25
+ * values may describe a later screen while that overlay remains visible.
12
26
  */
13
- export type OverlayScreenState<TNavigation = unknown> = Omit<
14
- OverlayProps<TNavigation>,
15
- "progress"
16
- > & {
27
+ export type OverlayProps<
28
+ TNavigation = unknown,
29
+ TParamList extends ParamListBase = ParamListBase,
30
+ TOwnerRouteName extends keyof TParamList = keyof TParamList,
31
+ > = {
32
+ /** Route that declared this overlay. */
33
+ route: RouteProp<TParamList, TOwnerRouteName>;
34
+
35
+ /** Index of the route that declared this overlay. */
17
36
  index: number;
18
- snapTo: (index: number) => void;
19
- };
20
37
 
21
- export type OverlayProps<TNavigation = unknown> = {
22
38
  /**
23
39
  * Route of the currently focused screen in the stack.
24
40
  */
25
- focusedRoute: Route<string>;
41
+ focusedRoute: ParamListRoute<TParamList>;
26
42
 
27
43
  /**
28
44
  * Index of the focused route in the stack.
@@ -32,7 +48,7 @@ export type OverlayProps<TNavigation = unknown> = {
32
48
  /**
33
49
  * All routes currently in the stack.
34
50
  */
35
- routes: Route<string>[];
51
+ routes: ParamListRoute<TParamList>[];
36
52
 
37
53
  /**
38
54
  * Custom metadata from the focused screen's options.
@@ -55,3 +71,14 @@ export type OverlayProps<TNavigation = unknown> = {
55
71
  */
56
72
  progress: DerivedValue<number>;
57
73
  };
74
+
75
+ /**
76
+ * Component rendered for a floating screen overlay.
77
+ *
78
+ * The callback is bivariant because React Navigation stores overlay components
79
+ * in navigator-wide screen options while applications annotate them for one
80
+ * specific route.
81
+ */
82
+ export type OverlayComponent = {
83
+ bivarianceHack(props: OverlayProps): ReactNode;
84
+ }["bivarianceHack"];