react-native-screen-transitions 3.12.0 → 3.13.0-beta.1

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 (604) hide show
  1. package/lib/commonjs/shared/adapters/with-screen-transitions/stack-layout.js +1 -2
  2. package/lib/commonjs/shared/adapters/with-screen-transitions/stack-layout.js.map +1 -1
  3. package/lib/commonjs/shared/components/activity/helpers.js +50 -1
  4. package/lib/commonjs/shared/components/activity/helpers.js.map +1 -1
  5. package/lib/commonjs/shared/components/activity/variants/activity-screen.js +17 -68
  6. package/lib/commonjs/shared/components/activity/variants/activity-screen.js.map +1 -1
  7. package/lib/commonjs/shared/components/boundary/components/boundary-lifecycle.js +0 -3
  8. package/lib/commonjs/shared/components/boundary/components/boundary-lifecycle.js.map +1 -1
  9. package/lib/commonjs/shared/components/boundary/components/boundary-target.js +1 -1
  10. package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
  11. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js +69 -0
  12. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js.map +1 -0
  13. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js +11 -10
  14. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -1
  15. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +3 -19
  16. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  17. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +8 -17
  18. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  19. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +27 -1
  20. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -1
  21. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +27 -11
  22. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
  23. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +8 -1
  24. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
  25. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js +19 -0
  26. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js.map +1 -0
  27. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js +18 -0
  28. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js.map +1 -0
  29. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +22 -1
  30. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -1
  31. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +10 -10
  32. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
  33. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +19 -12
  34. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
  35. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +6 -6
  36. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  37. package/lib/commonjs/shared/components/overlay/helpers/create-overlay-interpolator-frame.js +9 -2
  38. package/lib/commonjs/shared/components/overlay/helpers/create-overlay-interpolator-frame.js.map +1 -1
  39. package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js +16 -4
  40. package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
  41. package/lib/commonjs/shared/components/overlay/hooks/use-overlay-slot.js +11 -6
  42. package/lib/commonjs/shared/components/overlay/hooks/use-overlay-slot.js.map +1 -1
  43. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +5 -4
  44. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
  45. package/lib/commonjs/shared/components/screen-container/layers/content.js +1 -3
  46. package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
  47. package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +8 -6
  48. package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
  49. package/lib/commonjs/shared/factories/screen-topology/create-screen-topology.js +147 -0
  50. package/lib/commonjs/shared/factories/screen-topology/create-screen-topology.js.map +1 -0
  51. package/lib/commonjs/shared/factories/screen-topology/index.js +45 -0
  52. package/lib/commonjs/shared/factories/screen-topology/index.js.map +1 -0
  53. package/lib/commonjs/shared/factories/screen-topology/types.js +2 -0
  54. package/lib/commonjs/shared/factories/screen-topology/types.js.map +1 -0
  55. package/lib/commonjs/shared/factories/screen-topology/use-screen-relationships.js +15 -0
  56. package/lib/commonjs/shared/factories/screen-topology/use-screen-relationships.js.map +1 -0
  57. package/lib/commonjs/shared/factories/screen-topology/worklet.js +55 -0
  58. package/lib/commonjs/shared/factories/screen-topology/worklet.js.map +1 -0
  59. package/lib/commonjs/shared/hooks/navigation/use-screen-state.js.map +1 -1
  60. package/lib/commonjs/shared/hooks/navigation/use-stack.js +16 -16
  61. package/lib/commonjs/shared/hooks/navigation/use-stack.js.map +1 -1
  62. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +4 -0
  63. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  64. package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +26 -95
  65. package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
  66. package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +6 -52
  67. package/lib/commonjs/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
  68. package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +5 -1
  69. package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
  70. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +12 -12
  71. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  72. package/lib/commonjs/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js +4 -13
  73. package/lib/commonjs/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js.map +1 -1
  74. package/lib/commonjs/shared/providers/screen/animation/helpers/stack-progress.js +10 -26
  75. package/lib/commonjs/shared/providers/screen/animation/helpers/stack-progress.js.map +1 -1
  76. package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +0 -1
  77. package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
  78. package/lib/commonjs/shared/providers/screen/animation/index.js +6 -0
  79. package/lib/commonjs/shared/providers/screen/animation/index.js.map +1 -1
  80. package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +8 -7
  81. package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
  82. package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js +62 -15
  83. package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
  84. package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +3 -4
  85. package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
  86. package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js +24 -19
  87. package/lib/commonjs/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
  88. package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +3 -3
  89. package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
  90. package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture.js +2 -3
  91. package/lib/commonjs/shared/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -1
  92. package/lib/commonjs/shared/providers/screen/gestures/index.js +8 -2
  93. package/lib/commonjs/shared/providers/screen/gestures/index.js.map +1 -1
  94. package/lib/commonjs/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.js +11 -18
  95. package/lib/commonjs/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.js.map +1 -1
  96. package/lib/commonjs/shared/providers/screen/gestures/ownership/resolve-ownership.js +5 -7
  97. package/lib/commonjs/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
  98. package/lib/commonjs/shared/providers/screen/gestures/pan/activation/use-pan-activation.js +4 -1
  99. package/lib/commonjs/shared/providers/screen/gestures/pan/activation/use-pan-activation.js.map +1 -1
  100. package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
  101. package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
  102. package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-release.js +9 -2
  103. package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/pan-release.js.map +1 -1
  104. package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +1 -0
  105. package/lib/commonjs/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
  106. package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js +5 -8
  107. package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js.map +1 -1
  108. package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js +5 -4
  109. package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -1
  110. package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js +1 -3
  111. package/lib/commonjs/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js.map +1 -1
  112. package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js +4 -4
  113. package/lib/commonjs/shared/providers/screen/gestures/shared/policy.js.map +1 -1
  114. package/lib/commonjs/shared/providers/screen/styles/constants.js +2 -1
  115. package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -1
  116. package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-block-ownership.js +19 -0
  117. package/lib/commonjs/shared/providers/screen/styles/helpers/visibility-block-ownership.js.map +1 -0
  118. package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js +4 -2
  119. package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
  120. package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +5 -8
  121. package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  122. package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +35 -15
  123. package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  124. package/lib/commonjs/shared/providers/screen/styles/index.js +8 -2
  125. package/lib/commonjs/shared/providers/screen/styles/index.js.map +1 -1
  126. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js +23 -16
  127. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js.map +1 -1
  128. package/lib/commonjs/shared/providers/screen/use-current-screen-relationships.js +14 -0
  129. package/lib/commonjs/shared/providers/screen/use-current-screen-relationships.js.map +1 -0
  130. package/lib/commonjs/shared/providers/stack/blank-stack.provider.js +13 -5
  131. package/lib/commonjs/shared/providers/stack/blank-stack.provider.js.map +1 -1
  132. package/lib/commonjs/shared/providers/stack/core.provider.js +1 -3
  133. package/lib/commonjs/shared/providers/stack/core.provider.js.map +1 -1
  134. package/lib/commonjs/shared/providers/stack/direct.provider.js +2 -5
  135. package/lib/commonjs/shared/providers/stack/direct.provider.js.map +1 -1
  136. package/lib/commonjs/shared/stores/animation.store.js +0 -2
  137. package/lib/commonjs/shared/stores/animation.store.js.map +1 -1
  138. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +11 -1
  139. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  140. package/lib/commonjs/shared/stores/bounds/internals/clear.js +6 -0
  141. package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
  142. package/lib/commonjs/shared/stores/bounds/internals/coordinator.js +312 -0
  143. package/lib/commonjs/shared/stores/bounds/internals/coordinator.js.map +1 -0
  144. package/lib/commonjs/shared/stores/bounds/internals/entries.js +0 -27
  145. package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
  146. package/lib/commonjs/shared/stores/bounds/internals/links.js +22 -32
  147. package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
  148. package/lib/commonjs/shared/stores/bounds/internals/state.js +4 -1
  149. package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
  150. package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +7 -3
  151. package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  152. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +11 -0
  153. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  154. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +6 -2
  155. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  156. package/lib/commonjs/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -1
  157. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +11 -5
  158. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  159. package/lib/commonjs/shared/utils/create-provider.js +51 -100
  160. package/lib/commonjs/shared/utils/create-provider.js.map +1 -1
  161. package/lib/module/shared/adapters/with-screen-transitions/stack-layout.js +1 -2
  162. package/lib/module/shared/adapters/with-screen-transitions/stack-layout.js.map +1 -1
  163. package/lib/module/shared/components/activity/helpers.js +48 -0
  164. package/lib/module/shared/components/activity/helpers.js.map +1 -1
  165. package/lib/module/shared/components/activity/variants/activity-screen.js +18 -69
  166. package/lib/module/shared/components/activity/variants/activity-screen.js.map +1 -1
  167. package/lib/module/shared/components/boundary/components/boundary-lifecycle.js +0 -3
  168. package/lib/module/shared/components/boundary/components/boundary-lifecycle.js.map +1 -1
  169. package/lib/module/shared/components/boundary/components/boundary-target.js +2 -2
  170. package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
  171. package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js +64 -0
  172. package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.js.map +1 -0
  173. package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js +11 -10
  174. package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -1
  175. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +3 -19
  176. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  177. package/lib/module/shared/components/boundary/hooks/use-measurer.js +9 -18
  178. package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  179. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +24 -0
  180. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -1
  181. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +29 -13
  182. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
  183. package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +8 -1
  184. package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
  185. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js +14 -0
  186. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.js.map +1 -0
  187. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js +13 -0
  188. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.js.map +1 -0
  189. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js +19 -0
  190. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.js.map +1 -1
  191. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +10 -10
  192. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
  193. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +20 -13
  194. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
  195. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +5 -6
  196. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  197. package/lib/module/shared/components/overlay/helpers/create-overlay-interpolator-frame.js +7 -1
  198. package/lib/module/shared/components/overlay/helpers/create-overlay-interpolator-frame.js.map +1 -1
  199. package/lib/module/shared/components/overlay/helpers/get-active-overlay.js +16 -4
  200. package/lib/module/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
  201. package/lib/module/shared/components/overlay/hooks/use-overlay-slot.js +12 -7
  202. package/lib/module/shared/components/overlay/hooks/use-overlay-slot.js.map +1 -1
  203. package/lib/module/shared/components/overlay/variations/overlay-host.js +7 -6
  204. package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
  205. package/lib/module/shared/components/screen-container/layers/content.js +2 -3
  206. package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
  207. package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +9 -7
  208. package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -1
  209. package/lib/module/shared/factories/screen-topology/create-screen-topology.js +142 -0
  210. package/lib/module/shared/factories/screen-topology/create-screen-topology.js.map +1 -0
  211. package/lib/module/shared/factories/screen-topology/index.js +6 -0
  212. package/lib/module/shared/factories/screen-topology/index.js.map +1 -0
  213. package/lib/module/shared/factories/screen-topology/types.js +2 -0
  214. package/lib/module/shared/factories/screen-topology/types.js.map +1 -0
  215. package/lib/module/shared/factories/screen-topology/use-screen-relationships.js +10 -0
  216. package/lib/module/shared/factories/screen-topology/use-screen-relationships.js.map +1 -0
  217. package/lib/module/shared/factories/screen-topology/worklet.js +48 -0
  218. package/lib/module/shared/factories/screen-topology/worklet.js.map +1 -0
  219. package/lib/module/shared/hooks/navigation/use-screen-state.js.map +1 -1
  220. package/lib/module/shared/hooks/navigation/use-stack.js +17 -18
  221. package/lib/module/shared/hooks/navigation/use-stack.js.map +1 -1
  222. package/lib/module/shared/providers/helpers/measured-bounds-writes.js +4 -0
  223. package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  224. package/lib/module/shared/providers/screen/animation/animation.provider.js +25 -95
  225. package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
  226. package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js +6 -52
  227. package/lib/module/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.js.map +1 -1
  228. package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js +5 -1
  229. package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state/index.js.map +1 -1
  230. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +14 -14
  231. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  232. package/lib/module/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js +4 -13
  233. package/lib/module/shared/providers/screen/animation/helpers/read-screen-animation-revisions.js.map +1 -1
  234. package/lib/module/shared/providers/screen/animation/helpers/stack-progress.js +9 -24
  235. package/lib/module/shared/providers/screen/animation/helpers/stack-progress.js.map +1 -1
  236. package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +0 -1
  237. package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
  238. package/lib/module/shared/providers/screen/animation/index.js +1 -1
  239. package/lib/module/shared/providers/screen/animation/index.js.map +1 -1
  240. package/lib/module/shared/providers/screen/animation/use-screen-animation.js +9 -8
  241. package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
  242. package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js +66 -18
  243. package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
  244. package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +3 -4
  245. package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
  246. package/lib/module/shared/providers/screen/gestures/gestures.provider.js +21 -17
  247. package/lib/module/shared/providers/screen/gestures/gestures.provider.js.map +1 -1
  248. package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js +3 -3
  249. package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture-config.js.map +1 -1
  250. package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture.js +3 -4
  251. package/lib/module/shared/providers/screen/gestures/hooks/use-screen-gesture.js.map +1 -1
  252. package/lib/module/shared/providers/screen/gestures/index.js +1 -1
  253. package/lib/module/shared/providers/screen/gestures/index.js.map +1 -1
  254. package/lib/module/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.js +13 -20
  255. package/lib/module/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.js.map +1 -1
  256. package/lib/module/shared/providers/screen/gestures/ownership/resolve-ownership.js +5 -7
  257. package/lib/module/shared/providers/screen/gestures/ownership/resolve-ownership.js.map +1 -1
  258. package/lib/module/shared/providers/screen/gestures/pan/activation/use-pan-activation.js +4 -1
  259. package/lib/module/shared/providers/screen/gestures/pan/activation/use-pan-activation.js.map +1 -1
  260. package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js +1 -0
  261. package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.js.map +1 -1
  262. package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-release.js +9 -2
  263. package/lib/module/shared/providers/screen/gestures/pan/behavior/pan-release.js.map +1 -1
  264. package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js +1 -0
  265. package/lib/module/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.js.map +1 -1
  266. package/lib/module/shared/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js +4 -8
  267. package/lib/module/shared/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.js.map +1 -1
  268. package/lib/module/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js +7 -6
  269. package/lib/module/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.js.map +1 -1
  270. package/lib/module/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js +1 -3
  271. package/lib/module/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.js.map +1 -1
  272. package/lib/module/shared/providers/screen/gestures/shared/policy.js +4 -4
  273. package/lib/module/shared/providers/screen/gestures/shared/policy.js.map +1 -1
  274. package/lib/module/shared/providers/screen/styles/constants.js +2 -1
  275. package/lib/module/shared/providers/screen/styles/constants.js.map +1 -1
  276. package/lib/module/shared/providers/screen/styles/helpers/visibility-block-ownership.js +14 -0
  277. package/lib/module/shared/providers/screen/styles/helpers/visibility-block-ownership.js.map +1 -0
  278. package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js +5 -3
  279. package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
  280. package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +5 -8
  281. package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  282. package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +35 -15
  283. package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  284. package/lib/module/shared/providers/screen/styles/index.js +1 -1
  285. package/lib/module/shared/providers/screen/styles/index.js.map +1 -1
  286. package/lib/module/shared/providers/screen/styles/slot.provider.js +20 -14
  287. package/lib/module/shared/providers/screen/styles/slot.provider.js.map +1 -1
  288. package/lib/module/shared/providers/screen/use-current-screen-relationships.js +9 -0
  289. package/lib/module/shared/providers/screen/use-current-screen-relationships.js.map +1 -0
  290. package/lib/module/shared/providers/stack/blank-stack.provider.js +12 -5
  291. package/lib/module/shared/providers/stack/blank-stack.provider.js.map +1 -1
  292. package/lib/module/shared/providers/stack/core.provider.js +1 -3
  293. package/lib/module/shared/providers/stack/core.provider.js.map +1 -1
  294. package/lib/module/shared/providers/stack/direct.provider.js +2 -5
  295. package/lib/module/shared/providers/stack/direct.provider.js.map +1 -1
  296. package/lib/module/shared/stores/animation.store.js +0 -2
  297. package/lib/module/shared/stores/animation.store.js.map +1 -1
  298. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +9 -0
  299. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  300. package/lib/module/shared/stores/bounds/internals/clear.js +7 -1
  301. package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
  302. package/lib/module/shared/stores/bounds/internals/coordinator.js +300 -0
  303. package/lib/module/shared/stores/bounds/internals/coordinator.js.map +1 -0
  304. package/lib/module/shared/stores/bounds/internals/entries.js +1 -27
  305. package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
  306. package/lib/module/shared/stores/bounds/internals/links.js +24 -32
  307. package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
  308. package/lib/module/shared/stores/bounds/internals/state.js +3 -0
  309. package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
  310. package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +7 -3
  311. package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  312. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +11 -0
  313. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  314. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +6 -2
  315. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  316. package/lib/module/shared/utils/bounds/helpers/resolve-bounds-pair-key.js.map +1 -1
  317. package/lib/module/shared/utils/bounds/helpers/styles/compute.js +11 -5
  318. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  319. package/lib/module/shared/utils/create-provider.js +51 -100
  320. package/lib/module/shared/utils/create-provider.js.map +1 -1
  321. package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts.map +1 -1
  322. package/lib/typescript/shared/components/activity/helpers.d.ts +16 -0
  323. package/lib/typescript/shared/components/activity/helpers.d.ts.map +1 -1
  324. package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts +2 -4
  325. package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts.map +1 -1
  326. package/lib/typescript/shared/components/boundary/components/boundary-lifecycle.d.ts.map +1 -1
  327. package/lib/typescript/shared/components/boundary/hooks/lifecycles/{use-initial-source-measurement.d.ts → use-boundary-measurement-request.d.ts} +4 -3
  328. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.d.ts.map +1 -0
  329. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts.map +1 -1
  330. package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts +1 -3
  331. package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
  332. package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -1
  333. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts +12 -0
  334. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts.map +1 -1
  335. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
  336. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -1
  337. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.d.ts +8 -0
  338. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.d.ts.map +1 -0
  339. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.d.ts +6 -0
  340. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.d.ts.map +1 -0
  341. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts +4 -1
  342. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.d.ts.map +1 -1
  343. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts +2 -3
  344. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -1
  345. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
  346. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +1 -1
  347. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -1
  348. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +3 -0
  349. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
  350. package/lib/typescript/shared/components/boundary/types.d.ts +1 -1
  351. package/lib/typescript/shared/components/boundary/types.d.ts.map +1 -1
  352. package/lib/typescript/shared/components/overlay/helpers/create-overlay-interpolator-frame.d.ts +1 -0
  353. package/lib/typescript/shared/components/overlay/helpers/create-overlay-interpolator-frame.d.ts.map +1 -1
  354. package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts.map +1 -1
  355. package/lib/typescript/shared/components/overlay/hooks/use-overlay-slot.d.ts +2 -1
  356. package/lib/typescript/shared/components/overlay/hooks/use-overlay-slot.d.ts.map +1 -1
  357. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
  358. package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
  359. package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts +1 -1
  360. package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -1
  361. package/lib/typescript/shared/factories/screen-topology/create-screen-topology.d.ts +4 -0
  362. package/lib/typescript/shared/factories/screen-topology/create-screen-topology.d.ts.map +1 -0
  363. package/lib/typescript/shared/factories/screen-topology/index.d.ts +5 -0
  364. package/lib/typescript/shared/factories/screen-topology/index.d.ts.map +1 -0
  365. package/lib/typescript/shared/factories/screen-topology/types.d.ts +20 -0
  366. package/lib/typescript/shared/factories/screen-topology/types.d.ts.map +1 -0
  367. package/lib/typescript/shared/factories/screen-topology/use-screen-relationships.d.ts +5 -0
  368. package/lib/typescript/shared/factories/screen-topology/use-screen-relationships.d.ts.map +1 -0
  369. package/lib/typescript/shared/factories/screen-topology/worklet.d.ts +5 -0
  370. package/lib/typescript/shared/factories/screen-topology/worklet.d.ts.map +1 -0
  371. package/lib/typescript/shared/hooks/navigation/use-screen-state.d.ts.map +1 -1
  372. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +2 -0
  373. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
  374. package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
  375. package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +14 -12
  376. package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
  377. package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts +4 -4
  378. package/lib/typescript/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.d.ts.map +1 -1
  379. package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/index.d.ts.map +1 -1
  380. package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts +0 -1
  381. package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state/types.d.ts.map +1 -1
  382. package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
  383. package/lib/typescript/shared/providers/screen/animation/helpers/read-screen-animation-revisions.d.ts +2 -2
  384. package/lib/typescript/shared/providers/screen/animation/helpers/read-screen-animation-revisions.d.ts.map +1 -1
  385. package/lib/typescript/shared/providers/screen/animation/helpers/stack-progress.d.ts +5 -2
  386. package/lib/typescript/shared/providers/screen/animation/helpers/stack-progress.d.ts.map +1 -1
  387. package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts +0 -1
  388. package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
  389. package/lib/typescript/shared/providers/screen/animation/index.d.ts +1 -1
  390. package/lib/typescript/shared/providers/screen/animation/index.d.ts.map +1 -1
  391. package/lib/typescript/shared/providers/screen/animation/types.d.ts +1 -13
  392. package/lib/typescript/shared/providers/screen/animation/types.d.ts.map +1 -1
  393. package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts +5 -2
  394. package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
  395. package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +5 -4
  396. package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
  397. package/lib/typescript/shared/providers/screen/gestures/gestures.provider.d.ts +16 -4
  398. package/lib/typescript/shared/providers/screen/gestures/gestures.provider.d.ts.map +1 -1
  399. package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts +2 -2
  400. package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture-config.d.ts.map +1 -1
  401. package/lib/typescript/shared/providers/screen/gestures/hooks/use-screen-gesture.d.ts.map +1 -1
  402. package/lib/typescript/shared/providers/screen/gestures/index.d.ts +1 -1
  403. package/lib/typescript/shared/providers/screen/gestures/index.d.ts.map +1 -1
  404. package/lib/typescript/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.d.ts.map +1 -1
  405. package/lib/typescript/shared/providers/screen/gestures/ownership/resolve-ownership.d.ts +2 -3
  406. package/lib/typescript/shared/providers/screen/gestures/ownership/resolve-ownership.d.ts.map +1 -1
  407. package/lib/typescript/shared/providers/screen/gestures/pan/activation/use-pan-activation.d.ts.map +1 -1
  408. package/lib/typescript/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.d.ts.map +1 -1
  409. package/lib/typescript/shared/providers/screen/gestures/pan/behavior/pan-release.d.ts.map +1 -1
  410. package/lib/typescript/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.d.ts.map +1 -1
  411. package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.d.ts +5 -3
  412. package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.d.ts.map +1 -1
  413. package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.d.ts.map +1 -1
  414. package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.d.ts +2 -2
  415. package/lib/typescript/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.d.ts.map +1 -1
  416. package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts +3 -3
  417. package/lib/typescript/shared/providers/screen/gestures/shared/policy.d.ts.map +1 -1
  418. package/lib/typescript/shared/providers/screen/gestures/types.d.ts +5 -2
  419. package/lib/typescript/shared/providers/screen/gestures/types.d.ts.map +1 -1
  420. package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -1
  421. package/lib/typescript/shared/providers/screen/styles/helpers/visibility-block-ownership.d.ts +10 -0
  422. package/lib/typescript/shared/providers/screen/styles/helpers/visibility-block-ownership.d.ts.map +1 -0
  423. package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -1
  424. package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
  425. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +8 -2
  426. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
  427. package/lib/typescript/shared/providers/screen/styles/index.d.ts +1 -1
  428. package/lib/typescript/shared/providers/screen/styles/index.d.ts.map +1 -1
  429. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts +9 -3
  430. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts.map +1 -1
  431. package/lib/typescript/shared/providers/screen/use-current-screen-relationships.d.ts +5 -0
  432. package/lib/typescript/shared/providers/screen/use-current-screen-relationships.d.ts.map +1 -0
  433. package/lib/typescript/shared/providers/stack/blank-stack.provider.d.ts +4 -1
  434. package/lib/typescript/shared/providers/stack/blank-stack.provider.d.ts.map +1 -1
  435. package/lib/typescript/shared/providers/stack/core.provider.d.ts.map +1 -1
  436. package/lib/typescript/shared/providers/stack/direct.provider.d.ts.map +1 -1
  437. package/lib/typescript/shared/stores/animation.store.d.ts +0 -1
  438. package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
  439. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +1 -0
  440. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -1
  441. package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
  442. package/lib/typescript/shared/stores/bounds/internals/coordinator.d.ts +36 -0
  443. package/lib/typescript/shared/stores/bounds/internals/coordinator.d.ts.map +1 -0
  444. package/lib/typescript/shared/stores/bounds/internals/entries.d.ts +1 -2
  445. package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
  446. package/lib/typescript/shared/stores/bounds/internals/links.d.ts +1 -3
  447. package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
  448. package/lib/typescript/shared/stores/bounds/internals/state.d.ts +3 -1
  449. package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
  450. package/lib/typescript/shared/stores/bounds/types.d.ts +12 -1
  451. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  452. package/lib/typescript/shared/types/providers/blank-stack-provider.types.d.ts +1 -0
  453. package/lib/typescript/shared/types/providers/blank-stack-provider.types.d.ts.map +1 -1
  454. package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
  455. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
  456. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
  457. package/lib/typescript/shared/utils/bounds/helpers/resolve-bounds-pair-key.d.ts.map +1 -1
  458. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  459. package/lib/typescript/shared/utils/create-provider.d.ts +24 -24
  460. package/lib/typescript/shared/utils/create-provider.d.ts.map +1 -1
  461. package/package.json +1 -1
  462. package/src/shared/adapters/with-screen-transitions/stack-layout.tsx +1 -2
  463. package/src/shared/components/activity/helpers.ts +59 -0
  464. package/src/shared/components/activity/variants/activity-screen.tsx +29 -94
  465. package/src/shared/components/boundary/components/boundary-lifecycle.tsx +0 -6
  466. package/src/shared/components/boundary/components/boundary-target.tsx +2 -2
  467. package/src/shared/components/boundary/hooks/lifecycles/use-boundary-measurement-request.ts +102 -0
  468. package/src/shared/components/boundary/hooks/lifecycles/use-boundary-presence.ts +20 -11
  469. package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +3 -22
  470. package/src/shared/components/boundary/hooks/use-measurer.ts +8 -22
  471. package/src/shared/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts +40 -0
  472. package/src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +73 -22
  473. package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +10 -1
  474. package/src/shared/components/boundary/portal/components/boundary-portal/helpers/attachment.ts +19 -0
  475. package/src/shared/components/boundary/portal/components/boundary-portal/helpers/host-readiness.ts +14 -0
  476. package/src/shared/components/boundary/portal/components/boundary-portal/helpers/local-measurement.ts +36 -1
  477. package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +22 -13
  478. package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +28 -15
  479. package/src/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +1 -1
  480. package/src/shared/components/boundary/providers/boundary-root.provider.tsx +10 -6
  481. package/src/shared/components/boundary/types.ts +1 -1
  482. package/src/shared/components/overlay/helpers/create-overlay-interpolator-frame.ts +14 -1
  483. package/src/shared/components/overlay/helpers/get-active-overlay.ts +29 -4
  484. package/src/shared/components/overlay/hooks/use-overlay-slot.ts +26 -8
  485. package/src/shared/components/overlay/variations/overlay-host.tsx +11 -6
  486. package/src/shared/components/screen-container/layers/content.tsx +3 -4
  487. package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +8 -12
  488. package/src/shared/factories/screen-topology/create-screen-topology.ts +199 -0
  489. package/src/shared/factories/screen-topology/index.ts +16 -0
  490. package/src/shared/factories/screen-topology/types.ts +22 -0
  491. package/src/shared/factories/screen-topology/use-screen-relationships.ts +15 -0
  492. package/src/shared/factories/screen-topology/worklet.ts +60 -0
  493. package/src/shared/hooks/navigation/use-screen-state.ts +2 -7
  494. package/src/shared/hooks/navigation/use-stack.tsx +28 -31
  495. package/src/shared/providers/helpers/measured-bounds-writes.ts +5 -0
  496. package/src/shared/providers/screen/animation/animation.provider.tsx +73 -206
  497. package/src/shared/providers/screen/animation/helpers/accessors/use-build-transition-accessor.ts +10 -81
  498. package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/index.ts +18 -3
  499. package/src/shared/providers/screen/animation/helpers/hydrate-transition-state/types.ts +0 -1
  500. package/src/shared/providers/screen/animation/helpers/pipeline.ts +19 -22
  501. package/src/shared/providers/screen/animation/helpers/read-screen-animation-revisions.ts +6 -30
  502. package/src/shared/providers/screen/animation/helpers/stack-progress.ts +13 -32
  503. package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +0 -2
  504. package/src/shared/providers/screen/animation/index.tsx +1 -0
  505. package/src/shared/providers/screen/animation/types.ts +1 -23
  506. package/src/shared/providers/screen/animation/use-screen-animation.tsx +10 -14
  507. package/src/shared/providers/screen/descriptors/descriptors.provider.tsx +110 -23
  508. package/src/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +6 -6
  509. package/src/shared/providers/screen/gestures/gestures.provider.tsx +96 -85
  510. package/src/shared/providers/screen/gestures/hooks/use-screen-gesture-config.ts +4 -4
  511. package/src/shared/providers/screen/gestures/hooks/use-screen-gesture.ts +3 -4
  512. package/src/shared/providers/screen/gestures/index.tsx +2 -1
  513. package/src/shared/providers/screen/gestures/ownership/gesture-ownership-bridge.tsx +16 -29
  514. package/src/shared/providers/screen/gestures/ownership/resolve-ownership.ts +5 -8
  515. package/src/shared/providers/screen/gestures/pan/activation/use-pan-activation.ts +2 -3
  516. package/src/shared/providers/screen/gestures/pan/behavior/pan-lifecycle.ts +1 -0
  517. package/src/shared/providers/screen/gestures/pan/behavior/pan-release.ts +12 -2
  518. package/src/shared/providers/screen/gestures/pan/behavior/use-pan-behavior.ts +1 -0
  519. package/src/shared/providers/screen/gestures/scroll-coordination/scroll-metadata-owner.tsx +6 -9
  520. package/src/shared/providers/screen/gestures/scroll-coordination/use-scroll-gesture-coordination.ts +11 -7
  521. package/src/shared/providers/screen/gestures/scroll-coordination/walk-up-scroll-gesture-coordination.ts +12 -12
  522. package/src/shared/providers/screen/gestures/shared/policy.ts +7 -7
  523. package/src/shared/providers/screen/gestures/types.ts +6 -2
  524. package/src/shared/providers/screen/styles/constants.ts +1 -0
  525. package/src/shared/providers/screen/styles/helpers/visibility-block-ownership.ts +16 -0
  526. package/src/shared/providers/screen/styles/hooks/slot-resolvers.tsx +10 -3
  527. package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +7 -17
  528. package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +40 -15
  529. package/src/shared/providers/screen/styles/index.tsx +2 -1
  530. package/src/shared/providers/screen/styles/slot.provider.tsx +30 -15
  531. package/src/shared/providers/screen/use-current-screen-relationships.ts +10 -0
  532. package/src/shared/providers/stack/blank-stack.provider.tsx +19 -6
  533. package/src/shared/providers/stack/core.provider.tsx +0 -1
  534. package/src/shared/providers/stack/direct.provider.tsx +2 -4
  535. package/src/shared/stores/animation.store.ts +0 -3
  536. package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +12 -0
  537. package/src/shared/stores/bounds/internals/clear.ts +12 -1
  538. package/src/shared/stores/bounds/internals/coordinator.ts +415 -0
  539. package/src/shared/stores/bounds/internals/entries.ts +1 -38
  540. package/src/shared/stores/bounds/internals/links.ts +28 -38
  541. package/src/shared/stores/bounds/internals/state.ts +10 -1
  542. package/src/shared/stores/bounds/types.ts +18 -1
  543. package/src/shared/types/providers/blank-stack-provider.types.ts +1 -0
  544. package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +8 -3
  545. package/src/shared/utils/bounds/helpers/create-link-accessor.ts +11 -0
  546. package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +3 -2
  547. package/src/shared/utils/bounds/helpers/resolve-bounds-pair-key.ts +0 -1
  548. package/src/shared/utils/bounds/helpers/styles/compute.ts +12 -5
  549. package/src/shared/utils/create-provider.tsx +135 -200
  550. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +0 -177
  551. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +0 -1
  552. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +0 -49
  553. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +0 -1
  554. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +0 -69
  555. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +0 -1
  556. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +0 -68
  557. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +0 -1
  558. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +0 -97
  559. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +0 -1
  560. package/lib/commonjs/shared/components/boundary/utils/source-signals.js +0 -43
  561. package/lib/commonjs/shared/components/boundary/utils/source-signals.js.map +0 -1
  562. package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +0 -29
  563. package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +0 -1
  564. package/lib/commonjs/shared/providers/screen/gestures/shared/ancestors.js +0 -23
  565. package/lib/commonjs/shared/providers/screen/gestures/shared/ancestors.js.map +0 -1
  566. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +0 -173
  567. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +0 -1
  568. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +0 -44
  569. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +0 -1
  570. package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js +0 -64
  571. package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +0 -1
  572. package/lib/module/shared/components/boundary/utils/destination-signals.js +0 -63
  573. package/lib/module/shared/components/boundary/utils/destination-signals.js.map +0 -1
  574. package/lib/module/shared/components/boundary/utils/refresh-signals.js +0 -92
  575. package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +0 -1
  576. package/lib/module/shared/components/boundary/utils/source-signals.js +0 -38
  577. package/lib/module/shared/components/boundary/utils/source-signals.js.map +0 -1
  578. package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +0 -25
  579. package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +0 -1
  580. package/lib/module/shared/providers/screen/gestures/shared/ancestors.js +0 -19
  581. package/lib/module/shared/providers/screen/gestures/shared/ancestors.js.map +0 -1
  582. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts +0 -10
  583. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +0 -1
  584. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map +0 -1
  585. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts +0 -10
  586. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +0 -1
  587. package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts +0 -16
  588. package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +0 -1
  589. package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts +0 -19
  590. package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +0 -1
  591. package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts +0 -14
  592. package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts.map +0 -1
  593. package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts +0 -6
  594. package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts.map +0 -1
  595. package/lib/typescript/shared/providers/screen/gestures/shared/ancestors.d.ts +0 -11
  596. package/lib/typescript/shared/providers/screen/gestures/shared/ancestors.d.ts.map +0 -1
  597. package/src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +0 -267
  598. package/src/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts +0 -51
  599. package/src/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +0 -90
  600. package/src/shared/components/boundary/utils/destination-signals.ts +0 -75
  601. package/src/shared/components/boundary/utils/refresh-signals.ts +0 -164
  602. package/src/shared/components/boundary/utils/source-signals.ts +0 -51
  603. package/src/shared/providers/screen/descriptors/helpers/get-ancestor-keys.ts +0 -28
  604. package/src/shared/providers/screen/gestures/shared/ancestors.ts +0 -27
@@ -1,177 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.useInitialDestinationMeasurement = void 0;
7
- var _react = require("react");
8
- var _reactNativeReanimated = require("react-native-reanimated");
9
- var _useStack = require("../../../../hooks/navigation/use-stack");
10
- var _descriptors = require("../../../../providers/screen/descriptors");
11
- var _animation = require("../../../../stores/animation.store");
12
- var _linkPairs = require("../../../../stores/bounds/helpers/link-pairs.helpers");
13
- var _entries = require("../../../../stores/bounds/internals/entries");
14
- var _links = require("../../../../stores/bounds/internals/links");
15
- var _state = require("../../../../stores/bounds/internals/state");
16
- var _system = require("../../../../stores/system.store");
17
- var _logger = require("../../../../utils/logger");
18
- var _destinationSignals = require("../../utils/destination-signals");
19
- // A missed layout should be retried on the next frame. The previous 100 ms
20
- // interval made each ordinary Android layout miss visibly delay navigation.
21
- const HANDSHAKE_RETRY_DELAY_MS = 16;
22
- /**
23
- * A destination whose initial handshake never completes must not hold the
24
- * transition gate forever. After this budget, release the block with a warning
25
- * so the open proceeds without that boundary.
26
- */
27
- const MAX_HANDSHAKE_RETRIES = 20;
28
- const useInitialDestinationMeasurement = ({
29
- boundTag,
30
- enabled,
31
- measureBoundary
32
- }) => {
33
- const {
34
- tag,
35
- linkKey,
36
- group
37
- } = boundTag;
38
- const currentScreenKey = (0, _descriptors.useDescriptorsStore)(s => s.derivations.currentScreenKey);
39
- const nextScreenKey = (0, _descriptors.useDescriptorsStore)(s => s.derivations.nextScreenKey);
40
- const destinationPairKey = (0, _descriptors.useDescriptorsStore)(s => s.derivations.destinationPairKey);
41
- const destinationEnabled = enabled && !nextScreenKey;
42
- const canReceiveDestination = destinationEnabled && !!destinationPairKey;
43
- const preferredSourceScreenKey = destinationPairKey ? (0, _linkPairs.getSourceScreenKeyFromPairKey)(destinationPairKey) : undefined;
44
- const stackScenes = (0, _useStack.useStack)(store => store.scenes);
45
- // A retained closing screen can still have registered boundaries, but it
46
- // cannot own a new transition link.
47
- const closingSourceScreenKeys = (0, _react.useMemo)(() => stackScenes.filter(scene => scene.activity === "closing").map(scene => scene.route.key), [stackScenes]);
48
- const progress = _animation.AnimationStore.getValue(currentScreenKey, "transitionProgress");
49
- const {
50
- actions: {
51
- blockLifecycleStart,
52
- unblockLifecycleStart
53
- }
54
- } = _system.SystemStore.getBag(currentScreenKey);
55
- const isBlockingLifecycleStart = (0, _reactNativeReanimated.useSharedValue)(0);
56
- const retryToken = (0, _reactNativeReanimated.useSharedValue)(0);
57
- const handshakeRetries = (0, _reactNativeReanimated.useSharedValue)(0);
58
- const hasGivenUp = (0, _reactNativeReanimated.useSharedValue)(0);
59
- const hasFinishedInitialMeasurement = (0, _reactNativeReanimated.useSharedValue)(0);
60
- const releaseLifecycleStartBlock = (0, _react.useCallback)(() => {
61
- "worklet";
62
-
63
- (0, _reactNativeReanimated.cancelAnimation)(retryToken);
64
- if (!isBlockingLifecycleStart.get()) {
65
- return;
66
- }
67
- hasFinishedInitialMeasurement.set(1);
68
- isBlockingLifecycleStart.set(0);
69
- unblockLifecycleStart();
70
- }, [hasFinishedInitialMeasurement, isBlockingLifecycleStart, retryToken, unblockLifecycleStart]);
71
- const claimLifecycleStartBlock = (0, _react.useCallback)(() => {
72
- "worklet";
73
-
74
- if (!canReceiveDestination || hasFinishedInitialMeasurement.get() || !(0, _entries.getMatchingSourceScreenKey)(tag, currentScreenKey)) {
75
- return;
76
- }
77
-
78
- // The progress check and block claim must share one UI-thread operation.
79
- // Otherwise a JS-thread layout effect can observe zero, enqueue the block,
80
- // and let the opening animation start before that block reaches the UI thread.
81
- if (progress.get() > 0 || isBlockingLifecycleStart.get()) {
82
- return;
83
- }
84
- blockLifecycleStart();
85
- isBlockingLifecycleStart.set(1);
86
- }, [blockLifecycleStart, canReceiveDestination, currentScreenKey, hasFinishedInitialMeasurement, isBlockingLifecycleStart, progress, tag]);
87
- (0, _react.useLayoutEffect)(() => {
88
- if (!canReceiveDestination) {
89
- return;
90
- }
91
- (0, _reactNativeReanimated.runOnUI)(claimLifecycleStartBlock)();
92
- return () => {
93
- // This is an abandonment fallback, not a second release. Run it on the UI
94
- // runtime so it serializes with the handshake's guarded release.
95
- (0, _reactNativeReanimated.runOnUI)(releaseLifecycleStartBlock)();
96
- };
97
- }, [claimLifecycleStartBlock, canReceiveDestination, releaseLifecycleStartBlock]);
98
- (0, _reactNativeReanimated.useAnimatedReaction)(() => {
99
- "worklet";
100
-
101
- if (!canReceiveDestination || hasFinishedInitialMeasurement.get() || isBlockingLifecycleStart.get() <= 0) {
102
- return null;
103
- }
104
- if (progress.get() > 0) {
105
- return null;
106
- }
107
- const retryTick = retryToken.get();
108
- const sourceScreenKey = (0, _entries.getMatchingSourceScreenKey)(tag, currentScreenKey, preferredSourceScreenKey, closingSourceScreenKeys);
109
- const pairKey = sourceScreenKey ? (0, _linkPairs.createScreenPairKey)(sourceScreenKey, currentScreenKey) : undefined;
110
- const signal = (0, _destinationSignals.getInitialDestinationMeasurementSignal)({
111
- enabled: destinationEnabled,
112
- pairKey,
113
- linkId: linkKey,
114
- group,
115
- destinationPresent: (0, _entries.getEntry)(tag, currentScreenKey) !== null,
116
- sourcePresent: sourceScreenKey !== null,
117
- linkState: _state.pairs.get()
118
- });
119
- return [signal?.pairKey ?? null, signal?.action ?? null, retryTick];
120
- }, (next, previous) => {
121
- "worklet";
122
-
123
- if (!next || hasFinishedInitialMeasurement.get()) {
124
- return;
125
- }
126
- const [measurePairKey, action, retryTick] = next;
127
- if (!action) {
128
- return;
129
- }
130
- const previousMeasurePairKey = previous?.[0];
131
- const previousAction = previous?.[1];
132
- const previousRetryTick = previous?.[2];
133
- const shouldHandleSignal = measurePairKey !== previousMeasurePairKey || action !== previousAction || retryTick !== previousRetryTick;
134
- if (!shouldHandleSignal) {
135
- return;
136
- }
137
- if (hasGivenUp.get()) {
138
- return;
139
- }
140
- if (action === "release") {
141
- releaseLifecycleStartBlock();
142
- handshakeRetries.set(0);
143
- return;
144
- }
145
- if (action === "measure" && measurePairKey) {
146
- measureBoundary({
147
- type: "destination",
148
- pairKey: measurePairKey
149
- });
150
- }
151
- const link = measurePairKey ? (0, _links.getLink)(measurePairKey, linkKey) : null;
152
- const linkComplete = !!link?.source && !!link.destination;
153
- if (linkComplete || action === "complete") {
154
- (0, _reactNativeReanimated.cancelAnimation)(retryToken);
155
- handshakeRetries.set(0);
156
- hasFinishedInitialMeasurement.set(1);
157
- releaseLifecycleStartBlock();
158
- return;
159
- }
160
- if (handshakeRetries.get() >= MAX_HANDSHAKE_RETRIES) {
161
- hasGivenUp.set(1);
162
- releaseLifecycleStartBlock();
163
- _logger.logger.warn(`Boundary "${linkKey}" never formed a complete source/destination link after ${MAX_HANDSHAKE_RETRIES} attempts; releasing the transition gate without it. One side is likely off-viewport or unmounted.`);
164
- return;
165
- }
166
-
167
- // Keep the lifecycle blocked while registration, measurement, or source
168
- // attachment settles. The retry token also retries rejected destination bounds.
169
- handshakeRetries.set(handshakeRetries.get() + 1);
170
- (0, _reactNativeReanimated.cancelAnimation)(retryToken);
171
- retryToken.set((0, _reactNativeReanimated.withDelay)(HANDSHAKE_RETRY_DELAY_MS, (0, _reactNativeReanimated.withTiming)(retryToken.get() + 1, {
172
- duration: 0
173
- })));
174
- });
175
- };
176
- exports.useInitialDestinationMeasurement = useInitialDestinationMeasurement;
177
- //# sourceMappingURL=use-initial-destination-measurement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","require","_reactNativeReanimated","_useStack","_descriptors","_animation","_linkPairs","_entries","_links","_state","_system","_logger","_destinationSignals","HANDSHAKE_RETRY_DELAY_MS","MAX_HANDSHAKE_RETRIES","useInitialDestinationMeasurement","boundTag","enabled","measureBoundary","tag","linkKey","group","currentScreenKey","useDescriptorsStore","s","derivations","nextScreenKey","destinationPairKey","destinationEnabled","canReceiveDestination","preferredSourceScreenKey","getSourceScreenKeyFromPairKey","undefined","stackScenes","useStack","store","scenes","closingSourceScreenKeys","useMemo","filter","scene","activity","map","route","key","progress","AnimationStore","getValue","actions","blockLifecycleStart","unblockLifecycleStart","SystemStore","getBag","isBlockingLifecycleStart","useSharedValue","retryToken","handshakeRetries","hasGivenUp","hasFinishedInitialMeasurement","releaseLifecycleStartBlock","useCallback","cancelAnimation","get","set","claimLifecycleStartBlock","getMatchingSourceScreenKey","useLayoutEffect","runOnUI","useAnimatedReaction","retryTick","sourceScreenKey","pairKey","createScreenPairKey","signal","getInitialDestinationMeasurementSignal","linkId","destinationPresent","getEntry","sourcePresent","linkState","pairs","action","next","previous","measurePairKey","previousMeasurePairKey","previousAction","previousRetryTick","shouldHandleSignal","type","link","getLink","linkComplete","source","destination","logger","warn","withDelay","withTiming","duration","exports"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAQA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAIA,IAAAM,QAAA,GAAAN,OAAA;AAIA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AAEA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AAEA,IAAAW,mBAAA,GAAAX,OAAA;AAEA;AACA;A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AIX,MAAM,KAAK,UAAU,EAAE;MAC1C,IAAApB,sCAAe,EAACN,UAAU,CAAC;MAC3BC,gBAAgB,CAACO,GAAG,CAAC,CAAC,CAAC;MACvBL,6BAA6B,CAACK,GAAG,CAAC,CAAC,CAAC;MACpCJ,0BAA0B,CAAC,CAAC;MAC5B;IACD;IAEA,IAAIH,gBAAgB,CAACM,GAAG,CAAC,CAAC,IAAIhD,qBAAqB,EAAE;MACpD2C,UAAU,CAACM,GAAG,CAAC,CAAC,CAAC;MACjBJ,0BAA0B,CAAC,CAAC;MAC5BoC,cAAM,CAACC,IAAI,CACV,aAAa5E,OAAO,2DAA2DN,qBAAqB,oGACrG,CAAC;MACD;IACD;;IAEA;IACA;IACA0C,gBAAgB,CAACO,GAAG,CAACP,gBAAgB,CAACM,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;IAChD,IAAAD,sCAAe,EAACN,UAAU,CAAC;IAC3BA,UAAU,CAACQ,GAAG,CACb,IAAAkC,gCAAS,EACRpF,wBAAwB,EACxB,IAAAqF,iCAAU,EAAC3C,UAAU,CAACO,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE;MAAEqC,QAAQ,EAAE;IAAE,CAAC,CACjD,CACD,CAAC;EACF,CACD,CAAC;AACF,CAAC;AAACC,OAAA,CAAArF,gCAAA,GAAAA,gCAAA","ignoreList":[]}
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.useInitialSourceMeasurement = void 0;
7
- var _reactNativeReanimated = require("react-native-reanimated");
8
- var _descriptors = require("../../../../providers/screen/descriptors");
9
- var _links = require("../../../../stores/bounds/internals/links");
10
- var _state = require("../../../../stores/bounds/internals/state");
11
- var _sourceSignals = require("../../utils/source-signals");
12
- const useInitialSourceMeasurement = params => {
13
- const {
14
- enabled,
15
- measureBoundary,
16
- boundTag
17
- } = params;
18
- const currentScreenKey = (0, _descriptors.useDescriptorsStore)(s => s.derivations.currentScreenKey);
19
- const lastSourceCaptureSignal = (0, _reactNativeReanimated.useSharedValue)(null);
20
- (0, _reactNativeReanimated.useAnimatedReaction)(() => {
21
- "worklet";
22
-
23
- const sourcePairKey = (0, _links.getPairKeyForSource)(boundTag.tag, currentScreenKey) ?? undefined;
24
- return (0, _sourceSignals.getInitialSourceCaptureSignal)({
25
- enabled,
26
- sourcePairKey,
27
- linkId: boundTag.linkKey,
28
- group: boundTag.group,
29
- linkState: sourcePairKey ? _state.pairs.get() : undefined
30
- });
31
- }, captureSignal => {
32
- "worklet";
33
-
34
- if (!enabled || !captureSignal) {
35
- lastSourceCaptureSignal.set(null);
36
- return;
37
- }
38
- if (lastSourceCaptureSignal.get() === captureSignal.signal) {
39
- return;
40
- }
41
- lastSourceCaptureSignal.set(captureSignal.signal);
42
- measureBoundary({
43
- type: "source",
44
- pairKey: captureSignal.pairKey
45
- });
46
- });
47
- };
48
- exports.useInitialSourceMeasurement = useInitialSourceMeasurement;
49
- //# sourceMappingURL=use-initial-source-measurement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNativeReanimated","require","_descriptors","_links","_state","_sourceSignals","useInitialSourceMeasurement","params","enabled","measureBoundary","boundTag","currentScreenKey","useDescriptorsStore","s","derivations","lastSourceCaptureSignal","useSharedValue","useAnimatedReaction","sourcePairKey","getPairKeyForSource","tag","undefined","getInitialSourceCaptureSignal","linkId","linkKey","group","linkState","pairs","get","captureSignal","set","signal","type","pairKey","exports"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAGA,IAAAI,cAAA,GAAAJ,OAAA;AAEO,MAAMK,2BAA2B,GAAIC,MAI3C,IAAK;EACL,MAAM;IAAEC,OAAO;IAAEC,eAAe;IAAEC;EAAS,CAAC,GAAGH,MAAM;EACrD,MAAMI,gBAAgB,GAAG,IAAAC,gCAAmB,EAC1CC,CAAC,IAAKA,CAAC,CAACC,WAAW,CAACH,gBACtB,CAAC;EACD,MAAMI,uBAAuB,GAAG,IAAAC,qCAAc,EAAgB,IAAI,CAAC;EAEnE,IAAAC,0CAAmB,EAClB,MAAM;IACL,SAAS;;IACT,MAAMC,aAAa,GAClB,IAAAC,0BAAmB,EAACT,QAAQ,CAACU,GAAG,EAAET,gBAAgB,CAAC,IAAIU,SAAS;IACjE,OAAO,IAAAC,4CAA6B,EAAC;MACpCd,OAAO;MACPU,aAAa;MACbK,MAAM,EAAEb,QAAQ,CAACc,OAAO;MACxBC,KAAK,EAAEf,QAAQ,CAACe,KAAK;MACrBC,SAAS,EAAER,aAAa,GAAGS,YAAK,CAACC,GAAG,CAAC,CAAC,GAAGP;IAC1C,CAAC,CAAC;EACH,CAAC,EACAQ,aAAa,IAAK;IAClB,SAAS;;IACT,IAAI,CAACrB,OAAO,IAAI,CAACqB,aAAa,EAAE;MAC/Bd,uBAAuB,CAACe,GAAG,CAAC,IAAI,CAAC;MACjC;IACD;IAEA,IAAIf,uBAAuB,CAACa,GAAG,CAAC,CAAC,KAAKC,aAAa,CAACE,MAAM,EAAE;MAC3D;IACD;IAEAhB,uBAAuB,CAACe,GAAG,CAACD,aAAa,CAACE,MAAM,CAAC;IACjDtB,eAAe,CAAC;MACfuB,IAAI,EAAE,QAAQ;MACdC,OAAO,EAAEJ,aAAa,CAACI;IACxB,CAAC,CAAC;EACH,CACD,CAAC;AACF,CAAC;AAACC,OAAA,CAAA5B,2BAAA,GAAAA,2BAAA","ignoreList":[]}
@@ -1,69 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.useRefreshBoundary = void 0;
7
- var _reactNativeReanimated = require("react-native-reanimated");
8
- var _descriptors = require("../../../../providers/screen/descriptors");
9
- var _animation = require("../../../../stores/animation.store");
10
- var _links = require("../../../../stores/bounds/internals/links");
11
- var _state = require("../../../../stores/bounds/internals/state");
12
- var _refreshSignals = require("../../utils/refresh-signals");
13
- const useRefreshBoundary = ({
14
- enabled,
15
- boundTag,
16
- measureBoundary
17
- }) => {
18
- const {
19
- linkKey,
20
- group
21
- } = boundTag;
22
- const currentScreenKey = (0, _descriptors.useDescriptorsStore)(s => s.derivations.currentScreenKey);
23
- const nextScreenKey = (0, _descriptors.useDescriptorsStore)(s => s.derivations.nextScreenKey);
24
- // Source-side boundaries refresh from the next screen's lifecycle pulse.
25
- // Destination-side boundaries have no next screen, so they refresh from self.
26
- const refreshScreenKey = nextScreenKey ?? currentScreenKey;
27
- const refreshWillAnimate = _animation.AnimationStore.getValue(refreshScreenKey, "willAnimate");
28
- const refreshSettled = _animation.AnimationStore.getValue(refreshScreenKey, "progressSettled");
29
- const refreshClosing = _animation.AnimationStore.getValue(refreshScreenKey, "closing");
30
- (0, _reactNativeReanimated.useAnimatedReaction)(() => {
31
- "worklet";
32
-
33
- if (!enabled) return null;
34
- const shouldRefresh = !!refreshWillAnimate.get();
35
- const settled = !!refreshSettled.get();
36
- // A group's active member can change while the transition is settled
37
- // (for example, paging a destination gallery). Let that member publish
38
- // fresh bounds even though there is no willAnimate lifecycle pulse yet.
39
- if (!shouldRefresh && (!group || !settled)) {
40
- return null;
41
- }
42
- const sourcePairKey = (0, _links.getPairKeyForSource)(boundTag.tag, currentScreenKey) ?? undefined;
43
- const destinationPairKey = (0, _links.getPairKeyForDestination)(boundTag.tag, currentScreenKey) ?? undefined;
44
- return (0, _refreshSignals.getRefreshBoundarySignal)({
45
- enabled,
46
- currentScreenKey,
47
- sourcePairKey,
48
- destinationPairKey,
49
- linkId: linkKey,
50
- group,
51
- shouldRefresh,
52
- settled,
53
- closing: !!refreshClosing.get(),
54
- linkState: _state.pairs.get()
55
- });
56
- }, (refreshSignal, prevRefreshSignal) => {
57
- "worklet";
58
-
59
- if (!refreshSignal || refreshSignal.signal === prevRefreshSignal?.signal) {
60
- return;
61
- }
62
- measureBoundary({
63
- type: refreshSignal.type,
64
- pairKey: refreshSignal.pairKey
65
- });
66
- });
67
- };
68
- exports.useRefreshBoundary = useRefreshBoundary;
69
- //# sourceMappingURL=use-refresh-boundary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNativeReanimated","require","_descriptors","_animation","_links","_state","_refreshSignals","useRefreshBoundary","enabled","boundTag","measureBoundary","linkKey","group","currentScreenKey","useDescriptorsStore","s","derivations","nextScreenKey","refreshScreenKey","refreshWillAnimate","AnimationStore","getValue","refreshSettled","refreshClosing","useAnimatedReaction","shouldRefresh","get","settled","sourcePairKey","getPairKeyForSource","tag","undefined","destinationPairKey","getPairKeyForDestination","getRefreshBoundarySignal","linkId","closing","linkState","pairs","refreshSignal","prevRefreshSignal","signal","type","pairKey","exports"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/hooks/lifecycles/use-refresh-boundary.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAIA,IAAAI,MAAA,GAAAJ,OAAA;AAGA,IAAAK,eAAA,GAAAL,OAAA;AAQO,MAAMM,kBAAkB,GAAGA,CAAC;EAClCC,OAAO;EACPC,QAAQ;EACRC;AACyB,CAAC,KAAK;EAC/B,MAAM;IAAEC,OAAO;IAAEC;EAAM,CAAC,GAAGH,QAAQ;EACnC,MAAMI,gBAAgB,GAAG,IAAAC,gCAAmB,EAC1CC,CAAC,IAAKA,CAAC,CAACC,WAAW,CAACH,gBACtB,CAAC;EACD,MAAMI,aAAa,GAAG,IAAAH,gCAAmB,EAAEC,CAAC,IAAKA,CAAC,CAACC,WAAW,CAACC,aAAa,CAAC;EAC7E;EACA;EACA,MAAMC,gBAAgB,GAAGD,aAAa,IAAIJ,gBAAgB;EAC1D,MAAMM,kBAAkB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C,IAAI,EAAEH,aAAa,CAACG,IAAI;MACxBC,OAAO,EAAEJ,aAAa,CAACI;IACxB,CAAC,CAAC;EACH,CACD,CAAC;AACF,CAAC;AAACC,OAAA,CAAArC,kBAAA,GAAAA,kBAAA","ignoreList":[]}
@@ -1,68 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getInitialDestinationMeasurementSignal = void 0;
7
- var _linkPairs = require("../../../stores/bounds/helpers/link-pairs.helpers");
8
- const getInitialDestinationMeasurementSignal = params => {
9
- "worklet";
10
-
11
- const {
12
- enabled,
13
- pairKey,
14
- linkId,
15
- group,
16
- destinationPresent,
17
- sourcePresent,
18
- linkState
19
- } = params;
20
- if (!enabled) {
21
- return null;
22
- }
23
- if (!pairKey) {
24
- return {
25
- pairKey: null,
26
- action: "wait"
27
- };
28
- }
29
- if (!destinationPresent) {
30
- return {
31
- pairKey,
32
- action: "wait"
33
- };
34
- }
35
- if (!sourcePresent) {
36
- return {
37
- pairKey,
38
- action: "release"
39
- };
40
- }
41
- const linkKey = (0, _linkPairs.getLinkKeyFromTag)(linkId);
42
- const activeGroupId = group && linkState ? (0, _linkPairs.getActiveGroupId)(linkState, pairKey, group) : null;
43
- if (activeGroupId && activeGroupId !== linkKey) {
44
- return {
45
- pairKey,
46
- action: "release"
47
- };
48
- }
49
- const link = linkState?.[pairKey]?.links?.[linkKey];
50
- if (!link?.destination) {
51
- return {
52
- pairKey,
53
- action: "measure"
54
- };
55
- }
56
- if (!link.source) {
57
- return {
58
- pairKey,
59
- action: "wait"
60
- };
61
- }
62
- return {
63
- pairKey,
64
- action: "complete"
65
- };
66
- };
67
- exports.getInitialDestinationMeasurementSignal = getInitialDestinationMeasurementSignal;
68
- //# sourceMappingURL=destination-signals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_linkPairs","require","getInitialDestinationMeasurementSignal","params","enabled","pairKey","linkId","group","destinationPresent","sourcePresent","linkState","action","linkKey","getLinkKeyFromTag","activeGroupId","getActiveGroupId","link","links","destination","source","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/destination-signals.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAoBO,MAAMC,sCAAsC,GAAIC,MAQtD,IAAiD;EACjD,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,OAAO;IACPC,MAAM;IACNC,KAAK;IACLC,kBAAkB;IAClBC,aAAa;IACbC;EACD,CAAC,GAAGP,MAAM;EACV,IAAI,CAACC,OAAO,EAAE;IACb,OAAO,IAAI;EACZ;EAEA,IAAI,CAACC,OAAO,EAAE;IACb,OAAO;MAAEA,OAAO,EAAE,IAAI;MAAEM,MAAM,EAAE;IAAO,CAAC;EACzC;EAEA,IAAI,CAACH,kBAAkB,EAAE;IACxB,OAAO;MAAEH,OAAO;MAAEM,MAAM,EAAE;IAAO,CAAC;EACnC;EAEA,IAAI,CAACF,aAAa,EAAE;IACnB,OAAO;MAAEJ,OAAO;MAAEM,MAAM,EAAE;IAAU,CAAC;EACtC;EAEA,MAAMC,OAAO,GAAG,IAAAC,4BAAiB,EAACP,MAAM,CAAC;EACzC,MAAMQ,aAAa,GAClBP,KAAK,IAAIG,SAAS,GAAG,IAAAK,2BAAgB,EAACL,SAAS,EAAEL,OAAO,EAAEE,KAAK,CAAC,GAAG,IAAI;EAExE,IAAIO,aAAa,IAAIA,aAAa,KAAKF,OAAO,EAAE;IAC/C,OAAO;MAAEP,OAAO;MAAEM,MAAM,EAAE;IAAU,CAAC;EACtC;EAEA,MAAMK,IAAI,GAAGN,SAAS,GAAGL,OAAO,CAAC,EAAEY,KAAK,GAAGL,OAAO,CAAC;EAEnD,IAAI,CAACI,IAAI,EAAEE,WAAW,EAAE;IACvB,OAAO;MAAEb,OAAO;MAAEM,MAAM,EAAE;IAAU,CAAC;EACtC;EAEA,IAAI,CAACK,IAAI,CAACG,MAAM,EAAE;IACjB,OAAO;MAAEd,OAAO;MAAEM,MAAM,EAAE;IAAO,CAAC;EACnC;EAEA,OAAO;IAAEN,OAAO;IAAEM,MAAM,EAAE;EAAW,CAAC;AACvC,CAAC;AAACS,OAAA,CAAAlB,sCAAA,GAAAA,sCAAA","ignoreList":[]}
@@ -1,97 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getRefreshBoundarySignal = void 0;
7
- const SOURCE_SIGNAL_PREFIX = "source|";
8
- const DESTINATION_SIGNAL_PREFIX = "destination|";
9
- const buildRefreshSignal = (type, pairKey, key) => {
10
- "worklet";
11
-
12
- const prefix = type === "source" ? SOURCE_SIGNAL_PREFIX : DESTINATION_SIGNAL_PREFIX;
13
- return {
14
- type,
15
- pairKey,
16
- signal: `${prefix}${pairKey}|${key}`
17
- };
18
- };
19
- const getRefreshBoundarySignal = params => {
20
- "worklet";
21
-
22
- const {
23
- enabled,
24
- currentScreenKey,
25
- sourcePairKey,
26
- destinationPairKey,
27
- linkId,
28
- group,
29
- shouldRefresh,
30
- settled = false,
31
- closing,
32
- linkState
33
- } = params;
34
- if (!enabled) return null;
35
- if (!shouldRefresh && (!group || !settled)) {
36
- return null;
37
- }
38
-
39
- // A source may move while its destination is active, so refresh whichever
40
- // side of the pair this boundary currently represents.
41
- if (!group) {
42
- if (sourcePairKey) {
43
- const sourcePair = linkState?.[sourcePairKey];
44
- const participates = !!sourcePair?.links?.[linkId] || !!sourcePair?.sourceRequests?.[linkId];
45
- if (!participates) {
46
- return null;
47
- }
48
- return buildRefreshSignal("source", sourcePairKey, [currentScreenKey, closing ? "closing" : "settled"].join("|"));
49
- }
50
- const refreshDestinationPairKey = destinationPairKey;
51
- if (!refreshDestinationPairKey) {
52
- return null;
53
- }
54
- if (!linkState?.[refreshDestinationPairKey]?.links?.[linkId]) {
55
- return null;
56
- }
57
- return buildRefreshSignal("destination", refreshDestinationPairKey, [currentScreenKey, closing ? "closing" : "settled"].join("|"));
58
- }
59
-
60
- // Source side:
61
- // When the activeId changes, trigger a refresh to ensure the source bounds are captured.
62
- if (sourcePairKey) {
63
- const pair = linkState?.[sourcePairKey];
64
- const groupState = pair?.groups?.[group];
65
- const activeId = groupState?.activeId;
66
- if (activeId !== linkId) {
67
- return null;
68
- }
69
-
70
- // The opening member is captured by the initial handshake. A settled
71
- // refresh is only needed after selection moves to another member.
72
- if (!shouldRefresh && (groupState?.initialId === undefined || activeId === groupState.initialId || !!pair?.links?.[linkId]?.source)) {
73
- return null;
74
- }
75
- return buildRefreshSignal("source", sourcePairKey, [group, linkId, shouldRefresh ? closing ? "closing" : "settled" : "retarget"].join("|"));
76
- }
77
- const refreshDestinationPairKey = destinationPairKey;
78
- if (!refreshDestinationPairKey) return null;
79
-
80
- // Destination side:
81
- // When the activeId changes, trigger a refresh to ensure the destination bounds are captured.
82
- const pair = linkState?.[refreshDestinationPairKey];
83
- const groupState = pair?.groups?.[group];
84
- const activeId = groupState?.activeId;
85
-
86
- // Destination retargeting should only measure a concrete member that already
87
- // participates in the pair. Missing members fall back to initialId at resolve.
88
- if (activeId !== linkId) {
89
- return null;
90
- }
91
- if (!shouldRefresh && (groupState?.initialId === undefined || activeId === groupState.initialId || !!pair?.links?.[linkId]?.destination)) {
92
- return null;
93
- }
94
- return buildRefreshSignal("destination", refreshDestinationPairKey, [group, linkId, shouldRefresh ? closing ? "closing" : "settled" : "retarget"].join("|"));
95
- };
96
- exports.getRefreshBoundarySignal = getRefreshBoundarySignal;
97
- //# sourceMappingURL=refresh-signals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SOURCE_SIGNAL_PREFIX","DESTINATION_SIGNAL_PREFIX","buildRefreshSignal","type","pairKey","key","prefix","signal","getRefreshBoundarySignal","params","enabled","currentScreenKey","sourcePairKey","destinationPairKey","linkId","group","shouldRefresh","settled","closing","linkState","sourcePair","participates","links","sourceRequests","join","refreshDestinationPairKey","pair","groupState","groups","activeId","initialId","undefined","source","destination","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/bound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,MAAMc,QAAQ,GAAGF,UAAU,EAAEE,QAAQ;;EAErC;EACA;EACA,IAAIA,QAAQ,KAAKf,MAAM,EAAE;IACxB,OAAO,IAAI;EACZ;EAEA,IACC,CAACE,aAAa,KACbW,UAAU,EAAEG,SAAS,KAAKC,SAAS,IACnCF,QAAQ,KAAKF,UAAU,CAACG,SAAS,IACjC,CAAC,CAACJ,IAAI,EAAEJ,KAAK,GAAGR,MAAM,CAAC,EAAEmB,WAAW,CAAC,EACrC;IACD,OAAO,IAAI;EACZ;EAEA,OAAO/B,kBAAkB,CACxB,aAAa,EACbuB,yBAAyB,EACzB,CACCV,KAAK,EACLD,MAAM,EACNE,aAAa,GAAIE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAI,UAAU,CAC9D,CAACM,IAAI,CAAC,GAAG,CACX,CAAC;AACF,CAAC;AAACU,OAAA,CAAA1B,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -1,43 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getInitialSourceCaptureSignal = void 0;
7
- const SOURCE_SIGNAL_PREFIX = "source|";
8
- const getInitialSourceCaptureSignal = params => {
9
- "worklet";
10
-
11
- const {
12
- enabled,
13
- sourcePairKey,
14
- linkId,
15
- group,
16
- linkState
17
- } = params;
18
- if (!enabled || !sourcePairKey) {
19
- return null;
20
- }
21
- const pair = linkState?.[sourcePairKey];
22
- const link = pair?.links?.[linkId];
23
- const hasSourceRequest = pair?.sourceRequests?.[linkId];
24
- if (!link?.destination && !hasSourceRequest || link?.source) {
25
- return null;
26
- }
27
- if (group) {
28
- const activeId = linkState?.[sourcePairKey]?.groups?.[group]?.activeId;
29
-
30
- // Passive grouped sources should not measure every mounted item. Once a
31
- // group has an active id, only that concrete member can auto-capture.
32
- if (activeId && activeId !== linkId) {
33
- return null;
34
- }
35
- }
36
- const signalParts = group ? [group, linkId] : [linkId];
37
- return {
38
- pairKey: sourcePairKey,
39
- signal: `${SOURCE_SIGNAL_PREFIX}${sourcePairKey}|${signalParts.join("|")}`
40
- };
41
- };
42
- exports.getInitialSourceCaptureSignal = getInitialSourceCaptureSignal;
43
- //# sourceMappingURL=source-signals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SOURCE_SIGNAL_PREFIX","getInitialSourceCaptureSignal","params","enabled","sourcePairKey","linkId","group","linkState","pair","link","links","hasSourceRequest","sourceRequests","destination","source","activeId","groups","signalParts","pairKey","signal","join","exports"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/source-signals.ts"],"mappings":";;;;;;AAKA,MAAMA,oBAAoB,GAAG,SAAS;AAO/B,MAAMC,6BAA6B,GAAIC,MAM7C,IAAiC;EACjC,SAAS;;EACT,MAAM;IAAEC,OAAO;IAAEC,aAAa;IAAEC,MAAM;IAAEC,KAAK;IAAEC;EAAU,CAAC,GAAGL,MAAM;EAEnE,IAAI,CAACC,OAAO,IAAI,CAACC,aAAa,EAAE;IAC/B,OAAO,IAAI;EACZ;EAEA,MAAMI,IAAI,GAAGD,SAAS,GAAGH,aAAa,CAAC;EACvC,MAAMK,IAAI,GAAGD,IAAI,EAAEE,KAAK,GAAGL,MAAM,CAAC;EAClC,MAAMM,gBAAgB,GAAGH,IAAI,EAAEI,cAAc,GAAGP,MAAM,CAAC;EAEvD,IAAK,CAACI,IAAI,EAAEI,WAAW,IAAI,CAACF,gBAAgB,IAAKF,IAAI,EAAEK,MAAM,EAAE;IAC9D,OAAO,IAAI;EACZ;EAEA,IAAIR,KAAK,EAAE;IACV,MAAMS,QAAQ,GAAGR,SAAS,GAAGH,aAAa,CAAC,EAAEY,MAAM,GAAGV,KAAK,CAAC,EAAES,QAAQ;;IAEtE;IACA;IACA,IAAIA,QAAQ,IAAIA,QAAQ,KAAKV,MAAM,EAAE;MACpC,OAAO,IAAI;IACZ;EACD;EAEA,MAAMY,WAAW,GAAGX,KAAK,GAAG,CAACA,KAAK,EAAED,MAAM,CAAC,GAAG,CAACA,MAAM,CAAC;EAEtD,OAAO;IACNa,OAAO,EAAEd,aAAa;IACtBe,MAAM,EAAE,GAAGnB,oBAAoB,GAAGI,aAAa,IAAIa,WAAW,CAACG,IAAI,CAAC,GAAG,CAAC;EACzE,CAAC;AACF,CAAC;AAACC,OAAA,CAAApB,6BAAA,GAAAA,6BAAA","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getAncestorKeys = getAncestorKeys;
7
- /**
8
- * Builds nested navigator ancestor keys from immediate parent to root.
9
- */
10
- function getAncestorKeys(current) {
11
- const ancestors = [];
12
- const nav = current.navigation;
13
- if (typeof nav?.getParent !== "function") {
14
- return ancestors;
15
- }
16
- let parent = nav.getParent();
17
- while (parent) {
18
- const state = parent.getState();
19
- if (state?.routes && state.index !== undefined) {
20
- const focusedRoute = state.routes[state.index];
21
- if (focusedRoute?.key) {
22
- ancestors.push(focusedRoute.key);
23
- }
24
- }
25
- parent = parent.getParent();
26
- }
27
- return ancestors;
28
- }
29
- //# sourceMappingURL=get-ancestor-keys.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["getAncestorKeys","current","ancestors","nav","navigation","getParent","parent","state","getState","routes","index","undefined","focusedRoute","key","push"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/descriptors/helpers/get-ancestor-keys.ts"],"mappings":";;;;;;AAEA;AACA;AACA;AACO,SAASA,eAAeA,CAACC,OAA4B,EAAY;EACvE,MAAMC,SAAmB,GAAG,EAAE;EAC9B,MAAMC,GAAG,GAAGF,OAAO,CAACG,UAAiB;EAErC,IAAI,OAAOD,GAAG,EAAEE,SAAS,KAAK,UAAU,EAAE;IACzC,OAAOH,SAAS;EACjB;EAEA,IAAII,MAAM,GAAGH,GAAG,CAACE,SAAS,CAAC,CAAC;EAE5B,OAAOC,MAAM,EAAE;IACd,MAAMC,KAAK,GAAGD,MAAM,CAACE,QAAQ,CAAC,CAAC;IAC/B,IAAID,KAAK,EAAEE,MAAM,IAAIF,KAAK,CAACG,KAAK,KAAKC,SAAS,EAAE;MAC/C,MAAMC,YAAY,GAAGL,KAAK,CAACE,MAAM,CAACF,KAAK,CAACG,KAAK,CAAC;MAC9C,IAAIE,YAAY,EAAEC,GAAG,EAAE;QACtBX,SAAS,CAACY,IAAI,CAACF,YAAY,CAACC,GAAG,CAAC;MACjC;IACD;IACAP,MAAM,GAAGA,MAAM,CAACD,SAAS,CAAC,CAAC;EAC5B;EAEA,OAAOH,SAAS;AACjB","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.walkGestureAncestors = walkGestureAncestors;
7
- /**
8
- * Returns the gesture context chain, starting at `context`, then walking upward.
9
- * When `isIsolated` is provided, the walk stops at a stack isolation boundary.
10
- */
11
- function walkGestureAncestors(context, isIsolated) {
12
- const ancestors = [];
13
- let ancestor = context ?? null;
14
- while (ancestor) {
15
- if (isIsolated !== undefined && ancestor.isIsolated !== isIsolated) {
16
- break;
17
- }
18
- ancestors.push(ancestor);
19
- ancestor = ancestor.gestureContext;
20
- }
21
- return ancestors;
22
- }
23
- //# sourceMappingURL=ancestors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["walkGestureAncestors","context","isIsolated","ancestors","ancestor","undefined","push","gestureContext"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/gestures/shared/ancestors.ts"],"mappings":";;;;;;AAKA;AACA;AACA;AACA;AACO,SAASA,oBAAoBA,CACnCC,OAA6B,EAC7BC,UAAoB,EACd;EACN,MAAMC,SAAc,GAAG,EAAE;EACzB,IAAIC,QAAQ,GAAGH,OAAO,IAAI,IAAI;EAE9B,OAAOG,QAAQ,EAAE;IAChB,IAAIF,UAAU,KAAKG,SAAS,IAAID,QAAQ,CAACF,UAAU,KAAKA,UAAU,EAAE;MACnE;IACD;IAEAC,SAAS,CAACG,IAAI,CAACF,QAAQ,CAAC;IACxBA,QAAQ,GAAGA,QAAQ,CAACG,cAAc;EACnC;EAEA,OAAOJ,SAAS;AACjB","ignoreList":[]}