react-native-screen-transitions 3.9.0-alpha.2 → 3.9.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/lib/commonjs/shared/components/boundary/components/boundary-target.js +14 -9
  2. package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
  3. package/lib/commonjs/shared/components/boundary/create-boundary-component.js +66 -28
  4. package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -1
  5. package/lib/commonjs/shared/components/boundary/hooks/{use-boundary-presence.js → lifecycles/use-boundary-presence.js} +8 -4
  6. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -0
  7. package/lib/commonjs/shared/components/boundary/hooks/{use-initial-destination-measurement.js → lifecycles/use-initial-destination-measurement.js} +27 -10
  8. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -0
  9. package/lib/commonjs/shared/components/boundary/hooks/{use-initial-source-measurement.js → lifecycles/use-initial-source-measurement.js} +5 -7
  10. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -0
  11. package/lib/commonjs/shared/components/boundary/hooks/{use-refresh-boundary.js → lifecycles/use-refresh-boundary.js} +4 -4
  12. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -0
  13. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +14 -35
  14. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  15. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +5 -6
  16. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  17. package/lib/commonjs/shared/components/boundary/index.js +26 -29
  18. package/lib/commonjs/shared/components/boundary/index.js.map +1 -1
  19. package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js +58 -0
  20. package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +1 -0
  21. package/lib/commonjs/shared/components/boundary/portal/components/host.js +20 -4
  22. package/lib/commonjs/shared/components/boundary/portal/components/host.js.map +1 -1
  23. package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js +78 -27
  24. package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -1
  25. package/lib/commonjs/shared/components/boundary/portal/components/portal.js +195 -121
  26. package/lib/commonjs/shared/components/boundary/portal/components/portal.js.map +1 -1
  27. package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js +14 -2
  28. package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -1
  29. package/lib/commonjs/shared/components/boundary/portal/hooks/use-placeholder-styles.js +57 -0
  30. package/lib/commonjs/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
  31. package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js +5 -44
  32. package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -1
  33. package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js +37 -5
  34. package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -1
  35. package/lib/commonjs/shared/components/boundary/portal/teleport.js +15 -2
  36. package/lib/commonjs/shared/components/boundary/portal/teleport.js.map +1 -1
  37. package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js +18 -0
  38. package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js.map +1 -0
  39. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js +10 -3
  40. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js.map +1 -1
  41. package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js +28 -48
  42. package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js.map +1 -1
  43. package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js +254 -0
  44. package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js.map +1 -0
  45. package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js +38 -0
  46. package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -0
  47. package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js +29 -0
  48. package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js.map +1 -0
  49. package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js +10 -1
  50. package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
  51. package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js +25 -0
  52. package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js.map +1 -0
  53. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +6 -7
  54. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  55. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +1 -22
  56. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +1 -1
  57. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +0 -21
  58. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +1 -1
  59. package/lib/commonjs/shared/components/boundary/utils/source-signals.js +4 -9
  60. package/lib/commonjs/shared/components/boundary/utils/source-signals.js.map +1 -1
  61. package/lib/commonjs/shared/components/masked-view.js +5 -0
  62. package/lib/commonjs/shared/components/masked-view.js.map +1 -1
  63. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +18 -8
  64. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
  65. package/lib/commonjs/shared/components/screen-container/layers/content.js +34 -16
  66. package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
  67. package/lib/commonjs/shared/components/screen-container/layers/render-component.js +10 -0
  68. package/lib/commonjs/shared/components/screen-container/layers/render-component.js.map +1 -0
  69. package/lib/commonjs/shared/components/screen-container/layers/surface-container.js +5 -3
  70. package/lib/commonjs/shared/components/screen-container/layers/surface-container.js.map +1 -1
  71. package/lib/commonjs/shared/index.js +4 -0
  72. package/lib/commonjs/shared/index.js.map +1 -1
  73. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +6 -3
  74. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  75. package/lib/commonjs/shared/providers/register-bounds.provider.js +6 -0
  76. package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
  77. package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js +1 -0
  78. package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
  79. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +1 -0
  80. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  81. package/lib/commonjs/shared/providers/screen/styles/helpers/compose-slot-style.js +95 -0
  82. package/lib/commonjs/shared/providers/screen/styles/helpers/compose-slot-style.js.map +1 -0
  83. package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js +30 -9
  84. package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
  85. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +9 -3
  86. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  87. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +2 -0
  88. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -1
  89. package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js +96 -0
  90. package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -0
  91. package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +16 -3
  92. package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  93. package/lib/commonjs/shared/providers/screen/styles/index.js +16 -3
  94. package/lib/commonjs/shared/providers/screen/styles/index.js.map +1 -1
  95. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js +22 -51
  96. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js.map +1 -1
  97. package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js +53 -0
  98. package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -0
  99. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +22 -2
  100. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  101. package/lib/commonjs/shared/stores/bounds/internals/entries.js +11 -4
  102. package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
  103. package/lib/commonjs/shared/stores/bounds/internals/links.js +134 -51
  104. package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
  105. package/lib/commonjs/shared/stores/bounds/internals/resolver.js +1 -3
  106. package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
  107. package/lib/commonjs/shared/stores/system.store.js +5 -0
  108. package/lib/commonjs/shared/stores/system.store.js.map +1 -1
  109. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +10 -69
  110. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  111. package/lib/commonjs/shared/utils/bounds/helpers/styles/local-transform.js +59 -0
  112. package/lib/commonjs/shared/utils/bounds/helpers/styles/local-transform.js.map +1 -0
  113. package/lib/module/shared/components/boundary/components/boundary-target.js +12 -7
  114. package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
  115. package/lib/module/shared/components/boundary/create-boundary-component.js +67 -29
  116. package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -1
  117. package/lib/module/shared/components/boundary/hooks/{use-boundary-presence.js → lifecycles/use-boundary-presence.js} +8 -4
  118. package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -0
  119. package/lib/module/shared/components/boundary/hooks/{use-initial-destination-measurement.js → lifecycles/use-initial-destination-measurement.js} +27 -10
  120. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -0
  121. package/lib/module/shared/components/boundary/hooks/{use-initial-source-measurement.js → lifecycles/use-initial-source-measurement.js} +5 -7
  122. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -0
  123. package/lib/module/shared/components/boundary/hooks/{use-refresh-boundary.js → lifecycles/use-refresh-boundary.js} +4 -4
  124. package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -0
  125. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +15 -36
  126. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  127. package/lib/module/shared/components/boundary/hooks/use-measurer.js +5 -6
  128. package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  129. package/lib/module/shared/components/boundary/index.js +26 -29
  130. package/lib/module/shared/components/boundary/index.js.map +1 -1
  131. package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js +53 -0
  132. package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +1 -0
  133. package/lib/module/shared/components/boundary/portal/components/host.js +21 -5
  134. package/lib/module/shared/components/boundary/portal/components/host.js.map +1 -1
  135. package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js +79 -28
  136. package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -1
  137. package/lib/module/shared/components/boundary/portal/components/portal.js +201 -127
  138. package/lib/module/shared/components/boundary/portal/components/portal.js.map +1 -1
  139. package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js +15 -3
  140. package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -1
  141. package/lib/module/shared/components/boundary/portal/hooks/use-placeholder-styles.js +52 -0
  142. package/lib/module/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
  143. package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js +4 -41
  144. package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -1
  145. package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js +35 -4
  146. package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -1
  147. package/lib/module/shared/components/boundary/portal/teleport.js +16 -2
  148. package/lib/module/shared/components/boundary/portal/teleport.js.map +1 -1
  149. package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js +13 -0
  150. package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js.map +1 -0
  151. package/lib/module/shared/components/boundary/portal/utils/naming.js +8 -2
  152. package/lib/module/shared/components/boundary/portal/utils/naming.js.map +1 -1
  153. package/lib/module/shared/components/boundary/portal/utils/offset-style.js +29 -48
  154. package/lib/module/shared/components/boundary/portal/utils/offset-style.js.map +1 -1
  155. package/lib/module/shared/components/boundary/portal/utils/ownership.js +246 -0
  156. package/lib/module/shared/components/boundary/portal/utils/ownership.js.map +1 -0
  157. package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js +33 -0
  158. package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -0
  159. package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js +24 -0
  160. package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js.map +1 -0
  161. package/lib/module/shared/components/boundary/portal/utils/teleport-control.js +8 -0
  162. package/lib/module/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
  163. package/lib/module/shared/components/boundary/portal/utils/visible-host.js +20 -0
  164. package/lib/module/shared/components/boundary/portal/utils/visible-host.js.map +1 -0
  165. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +6 -7
  166. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  167. package/lib/module/shared/components/boundary/utils/destination-signals.js +2 -23
  168. package/lib/module/shared/components/boundary/utils/destination-signals.js.map +1 -1
  169. package/lib/module/shared/components/boundary/utils/refresh-signals.js +0 -21
  170. package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +1 -1
  171. package/lib/module/shared/components/boundary/utils/source-signals.js +4 -9
  172. package/lib/module/shared/components/boundary/utils/source-signals.js.map +1 -1
  173. package/lib/module/shared/components/masked-view.js +5 -0
  174. package/lib/module/shared/components/masked-view.js.map +1 -1
  175. package/lib/module/shared/components/screen-container/layers/backdrop.js +19 -9
  176. package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
  177. package/lib/module/shared/components/screen-container/layers/content.js +35 -17
  178. package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
  179. package/lib/module/shared/components/screen-container/layers/render-component.js +6 -0
  180. package/lib/module/shared/components/screen-container/layers/render-component.js.map +1 -0
  181. package/lib/module/shared/components/screen-container/layers/surface-container.js +5 -3
  182. package/lib/module/shared/components/screen-container/layers/surface-container.js.map +1 -1
  183. package/lib/module/shared/index.js +4 -0
  184. package/lib/module/shared/index.js.map +1 -1
  185. package/lib/module/shared/providers/helpers/measured-bounds-writes.js +6 -3
  186. package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  187. package/lib/module/shared/providers/register-bounds.provider.js +6 -0
  188. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
  189. package/lib/module/shared/providers/screen/animation/helpers/derivations.js +1 -0
  190. package/lib/module/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
  191. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +1 -0
  192. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  193. package/lib/module/shared/providers/screen/styles/helpers/compose-slot-style.js +89 -0
  194. package/lib/module/shared/providers/screen/styles/helpers/compose-slot-style.js.map +1 -0
  195. package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js +30 -9
  196. package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
  197. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +9 -3
  198. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  199. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +2 -0
  200. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -1
  201. package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js +87 -0
  202. package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -0
  203. package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +16 -3
  204. package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  205. package/lib/module/shared/providers/screen/styles/index.js +2 -1
  206. package/lib/module/shared/providers/screen/styles/index.js.map +1 -1
  207. package/lib/module/shared/providers/screen/styles/slot.provider.js +22 -47
  208. package/lib/module/shared/providers/screen/styles/slot.provider.js.map +1 -1
  209. package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js +47 -0
  210. package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -0
  211. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +19 -1
  212. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  213. package/lib/module/shared/stores/bounds/internals/entries.js +11 -4
  214. package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
  215. package/lib/module/shared/stores/bounds/internals/links.js +135 -53
  216. package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
  217. package/lib/module/shared/stores/bounds/internals/resolver.js +1 -3
  218. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  219. package/lib/module/shared/stores/system.store.js +5 -0
  220. package/lib/module/shared/stores/system.store.js.map +1 -1
  221. package/lib/module/shared/types/animation.types.js.map +1 -1
  222. package/lib/module/shared/utils/bounds/helpers/styles/compute.js +10 -69
  223. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  224. package/lib/module/shared/utils/bounds/helpers/styles/local-transform.js +52 -0
  225. package/lib/module/shared/utils/bounds/helpers/styles/local-transform.js.map +1 -0
  226. package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts +1 -2
  227. package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts.map +1 -1
  228. package/lib/typescript/component-stack/components/component-screen.d.ts +1 -1
  229. package/lib/typescript/component-stack/components/component-screen.d.ts.map +1 -1
  230. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +1 -2
  231. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts.map +1 -1
  232. package/lib/typescript/component-stack/types.d.ts +26 -0
  233. package/lib/typescript/component-stack/types.d.ts.map +1 -1
  234. package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts +1 -1
  235. package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts.map +1 -1
  236. package/lib/typescript/native-stack/views/NativeStackView.d.ts +1 -2
  237. package/lib/typescript/native-stack/views/NativeStackView.d.ts.map +1 -1
  238. package/lib/typescript/native-stack/views/useHeaderConfigProps.d.ts +2 -2
  239. package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts +1 -1
  240. package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts.map +1 -1
  241. package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts +1 -1
  242. package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts.map +1 -1
  243. package/lib/typescript/shared/components/activity/variants/activity-container.d.ts +1 -1
  244. package/lib/typescript/shared/components/activity/variants/activity-container.d.ts.map +1 -1
  245. package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts +1 -1
  246. package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts.map +1 -1
  247. package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts +1 -1
  248. package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -1
  249. package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts +0 -1
  250. package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -1
  251. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts +11 -0
  252. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts.map +1 -0
  253. package/lib/typescript/shared/components/boundary/hooks/{use-initial-destination-measurement.d.ts → lifecycles/use-initial-destination-measurement.d.ts} +2 -2
  254. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -0
  255. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts +8 -0
  256. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map +1 -0
  257. package/lib/typescript/shared/components/boundary/hooks/{use-refresh-boundary.d.ts → lifecycles/use-refresh-boundary.d.ts} +2 -2
  258. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +1 -0
  259. package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts +5 -9
  260. package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
  261. package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts +4 -3
  262. package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -1
  263. package/lib/typescript/shared/components/boundary/index.d.ts +35 -24
  264. package/lib/typescript/shared/components/boundary/index.d.ts.map +1 -1
  265. package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts +8 -0
  266. package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts.map +1 -0
  267. package/lib/typescript/shared/components/boundary/portal/components/host.d.ts +2 -2
  268. package/lib/typescript/shared/components/boundary/portal/components/host.d.ts.map +1 -1
  269. package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts +2 -2
  270. package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map +1 -1
  271. package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts +1 -1
  272. package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts.map +1 -1
  273. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts +4 -3
  274. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts.map +1 -1
  275. package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map +1 -1
  276. package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts +17 -0
  277. package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts.map +1 -0
  278. package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts +0 -7
  279. package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map +1 -1
  280. package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts +16 -1
  281. package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +1 -1
  282. package/lib/typescript/shared/components/boundary/portal/teleport.d.ts +1 -1
  283. package/lib/typescript/shared/components/boundary/portal/teleport.d.ts.map +1 -1
  284. package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts +3 -0
  285. package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts.map +1 -0
  286. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts +2 -1
  287. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts.map +1 -1
  288. package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts +23 -30
  289. package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts.map +1 -1
  290. package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts +35 -0
  291. package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts.map +1 -0
  292. package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts +12 -0
  293. package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -0
  294. package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts +8 -0
  295. package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts.map +1 -0
  296. package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts +4 -0
  297. package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts.map +1 -1
  298. package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts +8 -0
  299. package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts.map +1 -0
  300. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +7 -12
  301. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
  302. package/lib/typescript/shared/components/boundary/types.d.ts +9 -36
  303. package/lib/typescript/shared/components/boundary/types.d.ts.map +1 -1
  304. package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +1 -1
  305. package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +1 -1
  306. package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts +0 -1
  307. package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts.map +1 -1
  308. package/lib/typescript/shared/components/create-transition-aware-component.d.ts +6 -5
  309. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  310. package/lib/typescript/shared/components/masked-view.d.ts +5 -1
  311. package/lib/typescript/shared/components/masked-view.d.ts.map +1 -1
  312. package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts +1 -1
  313. package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts.map +1 -1
  314. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -1
  315. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
  316. package/lib/typescript/shared/components/scene-view.d.ts +1 -1
  317. package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
  318. package/lib/typescript/shared/components/screen-container/index.d.ts +1 -1
  319. package/lib/typescript/shared/components/screen-container/index.d.ts.map +1 -1
  320. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +1 -1
  321. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
  322. package/lib/typescript/shared/components/screen-container/layers/content.d.ts +1 -1
  323. package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
  324. package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts +1 -1
  325. package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
  326. package/lib/typescript/shared/components/screen-container/layers/render-component.d.ts +3 -0
  327. package/lib/typescript/shared/components/screen-container/layers/render-component.d.ts.map +1 -0
  328. package/lib/typescript/shared/components/screen-container/layers/surface-container.d.ts +1 -1
  329. package/lib/typescript/shared/components/screen-container/layers/surface-container.d.ts.map +1 -1
  330. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +1 -1
  331. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
  332. package/lib/typescript/shared/index.d.ts +731 -683
  333. package/lib/typescript/shared/index.d.ts.map +1 -1
  334. package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +3 -3
  335. package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
  336. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
  337. package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts +1 -0
  338. package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts.map +1 -1
  339. package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
  340. package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts +1 -1
  341. package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
  342. package/lib/typescript/shared/providers/screen/screen-composer.d.ts +1 -1
  343. package/lib/typescript/shared/providers/screen/screen-composer.d.ts.map +1 -1
  344. package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts +1 -1
  345. package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts.map +1 -1
  346. package/lib/typescript/shared/providers/screen/styles/helpers/compose-slot-style.d.ts +4 -0
  347. package/lib/typescript/shared/providers/screen/styles/helpers/compose-slot-style.d.ts.map +1 -0
  348. package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts.map +1 -1
  349. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
  350. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts +2 -1
  351. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts.map +1 -1
  352. package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts +11 -0
  353. package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -0
  354. package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +4 -1
  355. package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
  356. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +3 -3
  357. package/lib/typescript/shared/providers/screen/styles/index.d.ts +2 -1
  358. package/lib/typescript/shared/providers/screen/styles/index.d.ts.map +1 -1
  359. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts +5 -10
  360. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts.map +1 -1
  361. package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts +6 -0
  362. package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts.map +1 -0
  363. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +2 -0
  364. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -1
  365. package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
  366. package/lib/typescript/shared/stores/bounds/internals/links.d.ts +4 -3
  367. package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
  368. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  369. package/lib/typescript/shared/stores/bounds/types.d.ts +9 -20
  370. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  371. package/lib/typescript/shared/stores/system.store.d.ts +1 -0
  372. package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
  373. package/lib/typescript/shared/types/animation.types.d.ts +7 -1
  374. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
  375. package/lib/typescript/shared/types/index.d.ts +1 -1
  376. package/lib/typescript/shared/types/index.d.ts.map +1 -1
  377. package/lib/typescript/shared/types/screen.types.d.ts +99 -4
  378. package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
  379. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  380. package/lib/typescript/shared/utils/bounds/helpers/styles/local-transform.d.ts +6 -0
  381. package/lib/typescript/shared/utils/bounds/helpers/styles/local-transform.d.ts.map +1 -0
  382. package/lib/typescript/shared/utils/bounds/types/options.d.ts +2 -0
  383. package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
  384. package/package.json +1 -1
  385. package/src/component-stack/types.ts +26 -0
  386. package/src/shared/components/boundary/components/boundary-target.tsx +21 -7
  387. package/src/shared/components/boundary/create-boundary-component.tsx +92 -28
  388. package/src/shared/components/boundary/hooks/{use-boundary-presence.ts → lifecycles/use-boundary-presence.ts} +16 -5
  389. package/src/shared/components/boundary/hooks/{use-initial-destination-measurement.ts → lifecycles/use-initial-destination-measurement.ts} +40 -13
  390. package/src/shared/components/boundary/hooks/{use-initial-source-measurement.ts → lifecycles/use-initial-source-measurement.ts} +7 -9
  391. package/src/shared/components/boundary/hooks/{use-refresh-boundary.ts → lifecycles/use-refresh-boundary.ts} +6 -6
  392. package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +15 -45
  393. package/src/shared/components/boundary/hooks/use-measurer.ts +9 -14
  394. package/src/shared/components/boundary/index.tsx +55 -29
  395. package/src/shared/components/boundary/portal/components/boundary-local-portal-host.tsx +66 -0
  396. package/src/shared/components/boundary/portal/components/host.tsx +20 -5
  397. package/src/shared/components/boundary/portal/components/portal-boundary-host.tsx +112 -46
  398. package/src/shared/components/boundary/portal/components/portal.tsx +263 -134
  399. package/src/shared/components/boundary/portal/hooks/use-host-measurement.ts +23 -2
  400. package/src/shared/components/boundary/portal/hooks/use-placeholder-styles.ts +55 -0
  401. package/src/shared/components/boundary/portal/stores/host-registry.store.ts +4 -51
  402. package/src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts +59 -6
  403. package/src/shared/components/boundary/portal/teleport.ts +28 -3
  404. package/src/shared/components/boundary/portal/utils/has-local-slot.ts +16 -0
  405. package/src/shared/components/boundary/portal/utils/naming.ts +11 -1
  406. package/src/shared/components/boundary/portal/utils/offset-style.ts +42 -137
  407. package/src/shared/components/boundary/portal/utils/ownership.ts +371 -0
  408. package/src/shared/components/boundary/portal/utils/resolve-portal.ts +50 -0
  409. package/src/shared/components/boundary/portal/utils/shallow-equal.ts +25 -0
  410. package/src/shared/components/boundary/portal/utils/teleport-control.ts +12 -0
  411. package/src/shared/components/boundary/portal/utils/visible-host.ts +24 -0
  412. package/src/shared/components/boundary/providers/boundary-root.provider.tsx +9 -18
  413. package/src/shared/components/boundary/types.ts +9 -39
  414. package/src/shared/components/boundary/utils/destination-signals.ts +1 -32
  415. package/src/shared/components/boundary/utils/refresh-signals.ts +0 -41
  416. package/src/shared/components/boundary/utils/source-signals.ts +5 -17
  417. package/src/shared/components/masked-view.tsx +4 -0
  418. package/src/shared/components/screen-container/layers/backdrop.tsx +31 -10
  419. package/src/shared/components/screen-container/layers/content.tsx +61 -22
  420. package/src/shared/components/screen-container/layers/render-component.ts +9 -0
  421. package/src/shared/components/screen-container/layers/surface-container.tsx +5 -4
  422. package/src/shared/index.ts +9 -5
  423. package/src/shared/providers/helpers/measured-bounds-writes.ts +6 -11
  424. package/src/shared/providers/register-bounds.provider.tsx +5 -0
  425. package/src/shared/providers/screen/animation/helpers/derivations.ts +3 -0
  426. package/src/shared/providers/screen/animation/helpers/pipeline.ts +1 -0
  427. package/src/shared/providers/screen/styles/helpers/compose-slot-style.ts +129 -0
  428. package/src/shared/providers/screen/styles/helpers/normalize-slots.ts +45 -8
  429. package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +14 -2
  430. package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.ts +3 -0
  431. package/src/shared/providers/screen/styles/hooks/slot-resolvers.tsx +111 -0
  432. package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +21 -3
  433. package/src/shared/providers/screen/styles/index.tsx +8 -3
  434. package/src/shared/providers/screen/styles/slot.provider.tsx +36 -54
  435. package/src/shared/providers/screen/styles/stores/slot-references.store.ts +71 -0
  436. package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +24 -1
  437. package/src/shared/stores/bounds/internals/entries.ts +13 -5
  438. package/src/shared/stores/bounds/internals/links.ts +167 -85
  439. package/src/shared/stores/bounds/internals/resolver.ts +0 -2
  440. package/src/shared/stores/bounds/types.ts +10 -22
  441. package/src/shared/stores/system.store.ts +6 -0
  442. package/src/shared/types/animation.types.ts +8 -1
  443. package/src/shared/types/index.ts +5 -0
  444. package/src/shared/types/screen.types.ts +111 -4
  445. package/src/shared/utils/bounds/helpers/styles/compute.ts +22 -124
  446. package/src/shared/utils/bounds/helpers/styles/local-transform.ts +86 -0
  447. package/src/shared/utils/bounds/types/options.ts +2 -0
  448. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-presence.js.map +0 -1
  449. package/lib/commonjs/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +0 -1
  450. package/lib/commonjs/shared/components/boundary/hooks/use-initial-source-measurement.js.map +0 -1
  451. package/lib/commonjs/shared/components/boundary/hooks/use-refresh-boundary.js.map +0 -1
  452. package/lib/commonjs/shared/components/boundary/portal/resolve-portal.js +0 -36
  453. package/lib/commonjs/shared/components/boundary/portal/resolve-portal.js.map +0 -1
  454. package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js +0 -40
  455. package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js.map +0 -1
  456. package/lib/module/shared/components/boundary/hooks/use-boundary-presence.js.map +0 -1
  457. package/lib/module/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +0 -1
  458. package/lib/module/shared/components/boundary/hooks/use-initial-source-measurement.js.map +0 -1
  459. package/lib/module/shared/components/boundary/hooks/use-refresh-boundary.js.map +0 -1
  460. package/lib/module/shared/components/boundary/portal/resolve-portal.js +0 -31
  461. package/lib/module/shared/components/boundary/portal/resolve-portal.js.map +0 -1
  462. package/lib/module/shared/components/boundary/portal/utils/attachment.js +0 -35
  463. package/lib/module/shared/components/boundary/portal/utils/attachment.js.map +0 -1
  464. package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts +0 -9
  465. package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts.map +0 -1
  466. package/lib/typescript/shared/components/boundary/hooks/use-initial-destination-measurement.d.ts.map +0 -1
  467. package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts +0 -9
  468. package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts.map +0 -1
  469. package/lib/typescript/shared/components/boundary/hooks/use-refresh-boundary.d.ts.map +0 -1
  470. package/lib/typescript/shared/components/boundary/portal/resolve-portal.d.ts +0 -14
  471. package/lib/typescript/shared/components/boundary/portal/resolve-portal.d.ts.map +0 -1
  472. package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts +0 -21
  473. package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts.map +0 -1
  474. package/src/shared/components/boundary/portal/resolve-portal.ts +0 -40
  475. package/src/shared/components/boundary/portal/utils/attachment.ts +0 -48
@@ -0,0 +1,17 @@
1
+ import type { LayoutRectangle } from "react-native";
2
+ import { type SharedValue } from "react-native-reanimated";
3
+ interface UsePlaceholderProps {
4
+ visiblePortalHostName: SharedValue<string | null>;
5
+ }
6
+ export declare const usePlaceholderStyles: ({ visiblePortalHostName, }: UsePlaceholderProps) => {
7
+ placeholderStyle: {
8
+ readonly width: "auto";
9
+ readonly height: "auto";
10
+ } | {
11
+ width: number;
12
+ height: number;
13
+ };
14
+ handleOnLayout: (layout: LayoutRectangle) => void;
15
+ };
16
+ export {};
17
+ //# sourceMappingURL=use-placeholder-styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-placeholder-styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/hooks/use-placeholder-styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAEjC,UAAU,mBAAmB;IAC5B,qBAAqB,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAClD;AAED,eAAO,MAAM,oBAAoB,GAAI,4BAElC,mBAAmB;;;;;;;;6BAqBX,eAAe;CAmBzB,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { SourceHostRef } from "../../../../stores/bounds/types";
2
1
  export type HostRegistration = {
3
2
  hostKey: string;
4
3
  screenKey: string;
@@ -8,12 +7,6 @@ export type HostRegistration = {
8
7
  export declare const registerHost: (registration: HostRegistration) => void;
9
8
  export declare const unregisterHost: (screenKey: string, hostKey: string) => void;
10
9
  export declare const getActiveHostKey: (screenKey: string) => string;
11
- /**
12
- * The screen's active host, if it captures scroll. Worklet-safe: measurement
13
- * code calls this on the UI thread while writing source bounds.
14
- */
15
- export declare const getActiveScrollHost: (screenKey: string) => SourceHostRef | null;
16
- export declare const getHostCapturesScroll: (hostKey: string) => boolean;
17
10
  export declare const useActiveHostKey: (screenKey?: string | null) => string | undefined;
18
11
  export declare const resetHostRegistry: () => void;
19
12
  //# sourceMappingURL=host-registry.store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC;AAkFF,eAAO,MAAM,YAAY,GAAI,cAAc,gBAAgB,SA0B1D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,SAoBhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,WAEjD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC/B,WAAW,MAAM,KACf,aAAa,GAAG,IAGlB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,SAAS,MAAM,YAUpD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,GAAG,IAAI,uBAMzD,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAK7B,CAAC"}
1
+ {"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/host-registry.store.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;CACxB,CAAC;AA6DF,eAAO,MAAM,YAAY,GAAI,cAAc,gBAAgB,SA0B1D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,SAoBhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,WAEjD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,GAAG,IAAI,uBAMzD,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAI7B,CAAC"}
@@ -1,11 +1,26 @@
1
+ import type { SharedValue } from "react-native-reanimated";
2
+ import type { LocalStyleLayers } from "../../../../providers/screen/styles/helpers/resolve-slot-styles";
3
+ import type { NormalizedTransitionInterpolatedStyle } from "../../../../types/animation.types";
1
4
  export type ActivePortalBoundaryHost = {
2
5
  boundaryId: string;
3
- capturesScroll: boolean;
6
+ escapeClipping: boolean;
4
7
  hostKey: string;
8
+ localStylesMaps: SharedValue<LocalStyleLayers>;
5
9
  pairKey: string;
10
+ portalHostName: string;
6
11
  screenKey: string;
12
+ slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
7
13
  };
8
14
  export declare const mountPortalBoundaryHost: (host: ActivePortalBoundaryHost) => void;
9
15
  export declare const unmountPortalBoundaryHost: (boundaryId: string) => void;
16
+ /**
17
+ * Post-handoff GC: drop every receiver for this boundary except the one now
18
+ * visible (`keepPortalHostName`). Called once the new host is confirmed on
19
+ * screen so the superseded receivers stop rendering.
20
+ */
21
+ export declare const dropStalePortalBoundaryHosts: ({ boundaryId, keepPortalHostName, }: {
22
+ boundaryId: string;
23
+ keepPortalHostName: string;
24
+ }) => void;
10
25
  export declare const useActivePortalBoundaryHosts: (hostKey: string) => ActivePortalBoundaryHost[];
11
26
  //# sourceMappingURL=portal-boundary-host.store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAkDF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,YAAY,MAAM,SAM3D,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
1
+ {"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iEAAiE,CAAC;AACxG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAE/F,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAqDF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,YAAY,MAAM,SAiB3D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,GAAI,qCAG1C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;CAC3B,SAoBA,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ComponentType } from "react";
1
+ import { type ComponentType } from "react";
2
2
  export declare const isTeleportAvailable: boolean;
3
3
  export declare const NativePortal: ComponentType<any> | null;
4
4
  export declare const NativePortalProvider: ComponentType<any> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"teleport.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/teleport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAe3C,eAAO,MAAM,mBAAmB,SAAe,CAAC;AAChD,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAA0B,CAAC;AAC3E,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC5B,CAAC;AAC7B,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC5B,CAAC"}
1
+ {"version":3,"file":"teleport.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/teleport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAiC,MAAM,OAAO,CAAC;AAuC1E,eAAO,MAAM,mBAAmB,SACkB,CAAC;AACnD,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAA0B,CAAC;AAC3E,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC/B,CAAC;AAC1B,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,IAC5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { LocalStyleLayers } from "../../../../providers/screen/styles/helpers/resolve-slot-styles";
2
+ export declare const hasLocalSlot: (localStylesMaps: LocalStyleLayers, slotId: string) => boolean;
3
+ //# sourceMappingURL=has-local-slot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"has-local-slot.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/has-local-slot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iEAAiE,CAAC;AAExG,eAAO,MAAM,YAAY,GACxB,iBAAiB,gBAAgB,EACjC,QAAQ,MAAM,YAWd,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export declare const PORTAL_HOST_NAME_RESET_VALUE: null;
2
- export declare const createPortalBoundaryHostName: (hostKey: string, boundaryId: string) => string;
2
+ export declare const createPortalBoundaryHostName: (hostKey: string, boundaryId: string, pairKey?: string | null) => string;
3
+ export declare const createBoundaryLocalPortalHostName: (screenKey: string, boundaryId: string) => string;
3
4
  //# sourceMappingURL=naming.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/naming.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,MAAO,CAAC;AAGjD,eAAO,MAAM,4BAA4B,GACxC,SAAS,MAAM,EACf,YAAY,MAAM,WAIlB,CAAC"}
1
+ {"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/naming.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,MAAO,CAAC;AAIjD,eAAO,MAAM,4BAA4B,GACxC,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,UAAU,MAAM,GAAG,IAAI,WAIvB,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAC7C,WAAW,MAAM,EACjB,YAAY,MAAM,WAIlB,CAAC"}
@@ -1,37 +1,30 @@
1
- import { type MeasuredDimensions, type StyleProps } from "react-native-reanimated";
2
- import type { ScrollMetadataState } from "../../../../types/gesture.types";
3
- export type PortalOffsetPlacement = "same-screen" | "cross-screen-open" | "cross-screen-close";
1
+ import type { StyleProps } from "react-native-reanimated";
2
+ import type { ScrollMeasuredDimensions } from "../../utils/measured-bounds";
3
+ /**
4
+ * The two portal coordinate cases we support:
5
+ *
6
+ * - same-screen: source and host live on the same screen; re-base the stored
7
+ * host frame onto the source measurement's scroll snapshot.
8
+ * - cross-screen: source and host live on different screens; the host is the
9
+ * replacement coordinate space, so destination scroll is inherited naturally
10
+ * from host placement instead of manually propagated.
11
+ */
12
+ export type PortalOffsetPlacement = "same-screen" | "cross-screen";
4
13
  type ResolvePortalOffsetStyleParams = {
5
- alignHostToBoundsScroll?: boolean;
6
- bounds: MeasuredDimensions;
7
- boundsCurrentScroll?: ScrollMetadataState | null;
8
- /**
9
- * Express the source rect in its scroll host's live frame: the rect is
10
- * shifted by the clamped travel of `sourceCurrentScroll` since the scroll
11
- * snapshot stored on `bounds`. Independent of the host scroll fallback
12
- * chain below — that chain compensates the attached host's own scrolling.
13
- */
14
- compensateSourceScroll?: boolean;
15
- currentScroll?: ScrollMetadataState | null;
16
- hostCurrentScroll?: ScrollMetadataState | null;
14
+ /** Source rect, carrying the scroll snapshot taken at measure time. */
15
+ bounds: ScrollMeasuredDimensions;
17
16
  hostKey: string;
18
- hostProgress?: number;
19
- includeScrollOffsets?: boolean;
17
+ placement: PortalOffsetPlacement;
20
18
  /**
21
- * The three portal coordinate cases we support:
22
- *
23
- * - same-screen: source and host are on the same screen; align the stored
24
- * host frame to the source measurement's scroll snapshot once.
25
- * - cross-screen-open: source and host are on different screens; host
26
- * placement is static during the open/idle portion.
27
- * - cross-screen-close: source and host are on different screens; the
28
- * dismissal needs the host's live scroll frame until the portal detaches.
19
+ * Live correction applied on top of the stored source placement. Used by
20
+ * cross-screen hosts to keep the landing rect tracking the source screen's
21
+ * scroll while the source is interactive mid-flight.
29
22
  */
30
- placement?: PortalOffsetPlacement;
31
- position?: "absolute" | "relative";
32
- sourceCurrentScroll?: ScrollMetadataState | null;
33
- trackSourceScroll?: boolean;
23
+ landingShift?: {
24
+ x: number;
25
+ y: number;
26
+ };
34
27
  };
35
- export declare const resolvePortalOffsetStyle: ({ alignHostToBoundsScroll, bounds, boundsCurrentScroll, compensateSourceScroll, currentScroll, hostCurrentScroll, hostKey, hostProgress, includeScrollOffsets, placement, position, sourceCurrentScroll, trackSourceScroll, }: ResolvePortalOffsetStyleParams) => StyleProps;
28
+ export declare const resolvePortalOffsetStyle: ({ bounds, hostKey, placement, landingShift, }: ResolvePortalOffsetStyleParams) => StyleProps;
36
29
  export {};
37
30
  //# sourceMappingURL=offset-style.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"offset-style.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/offset-style.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAG3E,MAAM,MAAM,qBAAqB,GAC9B,aAAa,GACb,mBAAmB,GACnB,oBAAoB,CAAC;AAExB,KAAK,8BAA8B,GAAG;IACrC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACjD;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,aAAa,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC3C,iBAAiB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACnC,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACjD,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,+NActC,8BAA8B,KAAG,UA8GnC,CAAC"}
1
+ {"version":3,"file":"offset-style.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/offset-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAG5E;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,cAAc,CAAC;AAEnE,KAAK,8BAA8B,GAAG;IACrC,uEAAuE;IACvE,MAAM,EAAE,wBAAwB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,qBAAqB,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,+CAKtC,8BAA8B,KAAG,UAyCnC,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { LinkPairsState, ScreenKey, ScreenPairKey, TagLink } from "../../../../stores/bounds/types";
2
+ export type PortalOwnershipSignal = {
3
+ hostScreenKey: null;
4
+ ownerPairKey?: ScreenPairKey;
5
+ ownerScreenKey: null;
6
+ status: "clear" | "pending";
7
+ } | {
8
+ hostScreenKey: ScreenKey;
9
+ ownerPairKey: ScreenPairKey;
10
+ ownerScreenKey: ScreenKey;
11
+ status: "complete";
12
+ };
13
+ export declare const usesEscapeClippingHost: (link: TagLink | null | undefined) => boolean;
14
+ export declare const canSwitchBoundaryLocalHandoffImmediately: ({ hostScreenKey, ownerPairKey, previousOwnerPairKey, }: {
15
+ hostScreenKey: ScreenKey | null;
16
+ ownerPairKey?: ScreenPairKey;
17
+ previousOwnerPairKey?: ScreenPairKey;
18
+ }) => boolean;
19
+ export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScreenKey, escapeClipping, handoff, isSettledHostClosingComplete, isSettledHostReady, pairsState, settledHostScreenKey, sourcePairKey, }: {
20
+ boundaryId: string;
21
+ currentScreenKey: ScreenKey;
22
+ escapeClipping: boolean;
23
+ handoff: boolean;
24
+ isSettledHostClosingComplete?: boolean;
25
+ isSettledHostReady?: boolean;
26
+ pairsState: LinkPairsState;
27
+ settledHostScreenKey?: ScreenKey | null;
28
+ sourcePairKey: ScreenPairKey;
29
+ }) => PortalOwnershipSignal;
30
+ export declare const hasHandoffEscapeContinuation: ({ linkKey, linkState, sourceScreenKey, }: {
31
+ linkKey: string;
32
+ linkState: LinkPairsState;
33
+ sourceScreenKey: ScreenKey;
34
+ }) => boolean;
35
+ //# sourceMappingURL=ownership.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ownership.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/ownership.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEX,cAAc,EACd,SAAS,EACT,aAAa,EACb,OAAO,EACP,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,qBAAqB,GAC9B;IACA,aAAa,EAAE,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3B,GACD;IACA,aAAa,EAAE,SAAS,CAAC;IACzB,YAAY,EAAE,aAAa,CAAC;IAC5B,cAAc,EAAE,SAAS,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;CAClB,CAAC;AAYL,eAAO,MAAM,sBAAsB,GAClC,MAAM,OAAO,GAAG,IAAI,GAAG,SAAS,KAC9B,OAGF,CAAC;AA4BF,eAAO,MAAM,wCAAwC,GAAI,wDAItD;IACF,aAAa,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,oBAAoB,CAAC,EAAE,aAAa,CAAC;CACrC,YAmBA,CAAC;AA6DF,eAAO,MAAM,8BAA8B,GAAI,+JAU5C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,SAAS,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,cAAc,CAAC;IAC3B,oBAAoB,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxC,aAAa,EAAE,aAAa,CAAC;CAC7B,KAAG,qBAsIH,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,0CAI1C;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,cAAc,CAAC;IAC1B,eAAe,EAAE,SAAS,CAAC;CAC3B,YA+CA,CAAC"}
@@ -0,0 +1,12 @@
1
+ export type BoundaryPortalRuntime = {
2
+ handoff: boolean;
3
+ escapeClipping: boolean;
4
+ enabled: boolean;
5
+ };
6
+ type ResolveBoundaryPortalParams = {
7
+ handoff?: boolean;
8
+ escapeClipping?: boolean;
9
+ };
10
+ export declare const resolveBoundaryPortal: ({ handoff, escapeClipping, }: ResolveBoundaryPortalParams) => BoundaryPortalRuntime;
11
+ export {};
12
+ //# sourceMappingURL=resolve-portal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-portal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/resolve-portal.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,2BAA2B,GAAG;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,8BAGnC,2BAA2B,KAAG,qBAgChC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Shallow equality for the flat signal objects produced by the portal
3
+ * `useAnimatedReaction` blocks. Both sides always carry the same fixed key set,
4
+ * so iterating one side's keys is sufficient. A `null`/`undefined` operand
5
+ * (the first reaction run) is treated as not-equal so the reaction proceeds.
6
+ */
7
+ export declare const shallowEqual: (a: Record<string, unknown> | null | undefined, b: Record<string, unknown> | null | undefined) => boolean;
8
+ //# sourceMappingURL=shallow-equal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shallow-equal.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/shallow-equal.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GACxB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,EAC7C,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,YAgB7C,CAAC"}
@@ -1,3 +1,7 @@
1
1
  import type { BoundaryTeleportControl } from "../../../../types/animation.types";
2
2
  export declare const isTeleportEnabled: (teleport: BoundaryTeleportControl | undefined) => boolean;
3
+ export declare const shouldAttachBoundaryPortal: ({ enabled, teleport, }: {
4
+ enabled: boolean;
5
+ teleport?: BoundaryTeleportControl;
6
+ }) => boolean;
3
7
  //# sourceMappingURL=teleport-control.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"teleport-control.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/teleport-control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,eAAO,MAAM,iBAAiB,GAC7B,UAAU,uBAAuB,GAAG,SAAS,YAS7C,CAAC"}
1
+ {"version":3,"file":"teleport-control.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/teleport-control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,eAAO,MAAM,iBAAiB,GAC7B,UAAU,uBAAuB,GAAG,SAAS,YAS7C,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,wBAGxC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,uBAAuB,CAAC;CACnC,YAIA,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const resolveNextVisiblePortalHostName: ({ canSwitchImmediately, isInterpolatorReady, requestedName, shouldTeleport, visibleName, }: {
2
+ canSwitchImmediately?: boolean;
3
+ isInterpolatorReady: boolean;
4
+ requestedName: string | null;
5
+ shouldTeleport: boolean;
6
+ visibleName: string | null;
7
+ }) => string | null;
8
+ //# sourceMappingURL=visible-host.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visible-host.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/visible-host.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,GAAI,4FAM9C;IACF,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,kBAWA,CAAC"}
@@ -1,38 +1,33 @@
1
- import type React from "react";
2
1
  import { type ReactNode } from "react";
3
2
  import type { View } from "react-native";
4
- import type Animated from "react-native-reanimated";
5
3
  import type { AnimatedRef, StyleProps } from "react-native-reanimated";
6
4
  import type { BoundTag } from "../../../stores/bounds/types";
7
- import type { BoundaryPortal } from "../types";
8
- type BoundaryAssociatedStyle = React.ComponentProps<typeof Animated.View>["style"];
5
+ import type { BoundaryPortalRuntime } from "../portal/utils/resolve-portal";
9
6
  interface BoundaryRootContextValue {
10
7
  registerTargetRef: (targetRef: AnimatedRef<View>, preparedStyles: StyleProps, measurementRef?: AnimatedRef<View>) => void;
11
8
  unregisterTargetRef: (targetRef: AnimatedRef<View>) => void;
12
9
  activeTargetRef: AnimatedRef<View> | null;
13
- associatedTargetStyles?: BoundaryAssociatedStyle;
14
10
  boundTag: BoundTag;
15
- portal?: BoundaryPortal;
11
+ portalRuntime: BoundaryPortalRuntime;
16
12
  }
17
- export declare const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside a Boundary root (Boundary.View, Boundary.Trigger, or a component created by createBoundaryComponent).";
13
+ export declare const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside Transition.Boundary or a component created by createBoundaryComponent.";
18
14
  interface BoundaryRootProps {
19
15
  value: BoundaryRootContextValue;
20
16
  children: ReactNode;
21
17
  }
22
- export declare const BoundaryRootProvider: React.FC<BoundaryRootProps>, useBoundaryRootContext: () => BoundaryRootContextValue | null;
18
+ export declare const BoundaryRootProvider: import("react").FC<BoundaryRootProps>, useBoundaryRootContext: () => BoundaryRootContextValue | null;
23
19
  export declare const useBoundaryRootState: (params: {
24
- associatedTargetStyles?: BoundaryAssociatedStyle;
25
20
  boundTag: BoundTag;
26
- portal?: BoundaryPortal;
21
+ portalRuntime: BoundaryPortalRuntime;
22
+ rootMeasurementRef?: AnimatedRef<View>;
27
23
  }) => {
28
24
  ref: AnimatedRef<View>;
29
25
  contextValue: {
30
26
  registerTargetRef: (targetRef: AnimatedRef<View>, preparedStyles: StyleProps, measurementRef?: AnimatedRef<View>) => void;
31
27
  unregisterTargetRef: (targetRef: AnimatedRef<View>) => void;
32
28
  activeTargetRef: AnimatedRef<View> | null;
33
- associatedTargetStyles: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
34
29
  boundTag: BoundTag;
35
- portal: BoundaryPortal | undefined;
30
+ portalRuntime: BoundaryPortalRuntime;
36
31
  };
37
32
  hasActiveTarget: boolean;
38
33
  measuredRef: AnimatedRef<View>;
@@ -1 +1 @@
1
- {"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAkC,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAG7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,KAAK,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAClD,OAAO,QAAQ,CAAC,IAAI,CACpB,CAAC,OAAO,CAAC,CAAC;AAEX,UAAU,wBAAwB;IACjC,iBAAiB,EAAE,CAClB,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,EAC5B,cAAc,EAAE,UAAU,EAC1B,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,KAC9B,IAAI,CAAC;IACV,mBAAmB,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1C,sBAAsB,CAAC,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,cAAc,CAAC;CACxB;AAaD,eAAO,MAAM,2BAA2B,kJACwG,CAAC;AAEjJ,UAAU,iBAAiB;IAC1B,KAAK,EAAE,wBAAwB,CAAC;IAChC,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAQ,oBAAoB,+BAAE,sBAAsB,uCAGK,CAAC;AAEjE,eAAO,MAAM,oBAAoB,GAAI,QAAQ;IAC5C,sBAAsB,CAAC,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,cAAc,CAAC;CACxB;;;uCASa,WAAW,CAAC,IAAI,CAAC,kBACZ,UAAU,mBACT,WAAW,CAAC,IAAI,CAAC;yCA0BgB,WAAW,CAAC,IAAI,CAAC;;;;;;;;;CA8BrE,CAAC"}
1
+ {"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAkC,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAG7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,UAAU,wBAAwB;IACjC,iBAAiB,EAAE,CAClB,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,EAC5B,cAAc,EAAE,UAAU,EAC1B,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,KAC9B,IAAI,CAAC;IACV,mBAAmB,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1C,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,qBAAqB,CAAC;CACrC;AAaD,eAAO,MAAM,2BAA2B,mHACyE,CAAC;AAElH,UAAU,iBAAiB;IAC1B,KAAK,EAAE,wBAAwB,CAAC;IAChC,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAQ,oBAAoB,yCAAE,sBAAsB,uCAGK,CAAC;AAEjE,eAAO,MAAM,oBAAoB,GAAI,QAAQ;IAC5C,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,qBAAqB,CAAC;IACrC,kBAAkB,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACvC;;;uCASa,WAAW,CAAC,IAAI,CAAC,kBACZ,UAAU,mBACT,WAAW,CAAC,IAAI,CAAC;yCA0BgB,WAAW,CAAC,IAAI,CAAC;;;;;;;;CA4BrE,CAAC"}
@@ -1,32 +1,6 @@
1
1
  import type { ScreenPairKey } from "../../stores/bounds/types";
2
2
  import type { BoundsOptions } from "../../utils/bounds/types/options";
3
3
  export type BoundaryId = string | number;
4
- export type BoundaryPortalAttachTarget = "current-screen" | "matched-screen";
5
- /**
6
- * Configures automatic portal attachment for a boundary target.
7
- *
8
- * `attachTo` selects where the portal physically renders. Independently of
9
- * that choice, `Transition.Boundary.Host` marks the screen-local coordinate
10
- * space the portal should render within.
11
- *
12
- * - `current-screen`: the portal attaches to this screen's active host — for a
13
- * scroll-hosted screen, place `Transition.Boundary.Host` inside that
14
- * ScrollView to make the content ride with it.
15
- * - `matched-screen`: the portal attaches to the matched screen's active host
16
- * for the whole transition (open and close), which avoids re-parenting
17
- * flicker while keeping the source placeholder measured at home.
18
- */
19
- export type BoundaryPortalOptions = {
20
- /**
21
- * `current-screen` keeps the portal on this boundary's screen.
22
- * `matched-screen` moves it to the matched screen once the
23
- * source/destination link completes.
24
- *
25
- * @default "current-screen"
26
- */
27
- attachTo?: BoundaryPortalAttachTarget;
28
- };
29
- export type BoundaryPortal = boolean | BoundaryPortalOptions;
30
4
  export type BoundaryConfigProps = Pick<BoundsOptions, "anchor" | "scaleMode" | "target" | "method">;
31
5
  /**
32
6
  * Boundary-specific props shared across all boundary component variants.
@@ -46,20 +20,19 @@ export interface BoundaryOwnProps extends BoundaryConfigProps {
46
20
  */
47
21
  enabled?: boolean;
48
22
  /**
49
- * Renders this boundary target through a layout-preserving portal when
50
- * `react-native-teleport` is installed.
51
- *
52
- * The target keeps its measured layout space in the original tree. Once the
53
- * active source/destination link for this boundary is complete, the screen
54
- * portal layer can render a boundary-specific host and attach this target to
55
- * it so the active matched target escapes local clipping.
23
+ * Teleports this boundary's live payload to the next matching boundary while
24
+ * a transition is active.
56
25
  *
57
- * Use `true` to attach to the current screen host. Use
58
- * `{ attachTo: "matched-screen" }` to attach to the matched screen host.
26
+ * @default false
27
+ */
28
+ handoff?: boolean;
29
+ /**
30
+ * Renders this boundary through the current screen's portal host while a
31
+ * transition is active so the payload can escape clipping/layout constraints.
59
32
  *
60
33
  * @default false
61
34
  */
62
- portal?: BoundaryPortal;
35
+ escapeClipping?: boolean;
63
36
  id: BoundaryId;
64
37
  }
65
38
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAE7E;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,qBAAqB,GAAG;IACnC;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,0BAA0B,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,qBAAqB,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,MAAM,MAAM,aAAa,GACtB;IACA,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;CACtB,GACD;IACA,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;CACtB,CAAC;AAEL,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/boundary/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,MAAM,MAAM,aAAa,GACtB;IACA,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;CACtB,GACD;IACA,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;CACtB,CAAC;AAEL,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"destination-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/destination-signals.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAsBtC,eAAO,MAAM,mCAAmC,GAAI,QAAQ;IAC3D,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,0BAA0B,CAAC,EAAE,aAAa,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,aAAa,GAAG,IA2CnB,CAAC"}
1
+ {"version":3,"file":"destination-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/destination-signals.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAEtC,eAAO,MAAM,mCAAmC,GAAI,QAAQ;IAC3D,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,0BAA0B,CAAC,EAAE,aAAa,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,aAAa,GAAG,IAkCnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"refresh-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/refresh-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AA8BF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,0BAA0B,CAAC,EAAE,aAAa,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,qBAAqB,GAAG,IAsH3B,CAAC"}
1
+ {"version":3,"file":"refresh-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/refresh-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAiBF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,0BAA0B,CAAC,EAAE,aAAa,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,qBAAqB,GAAG,IA0F3B,CAAC"}
@@ -8,7 +8,6 @@ export declare const getInitialSourceCaptureSignal: (params: {
8
8
  sourcePairKey?: ScreenPairKey;
9
9
  linkId: string;
10
10
  group?: string;
11
- shouldAutoMeasure: boolean;
12
11
  linkState?: LinkPairsState;
13
12
  }) => SourceCaptureSignal | null;
14
13
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"source-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/source-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAItC,KAAK,mBAAmB,GAAG;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ;IACrD,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,mBAAmB,GAAG,IA2CzB,CAAC"}
1
+ {"version":3,"file":"source-signals.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/source-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAItC,KAAK,mBAAmB,GAAG;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ;IACrD,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,mBAAmB,GAAG,IAgCzB,CAAC"}
@@ -5,15 +5,16 @@ interface CreateTransitionAwareComponentOptions {
5
5
  isScrollable?: boolean;
6
6
  alreadyAnimated?: boolean;
7
7
  }
8
- export declare function createTransitionAwareComponent<P extends object>(Wrapped: ComponentType<P>, options?: CreateTransitionAwareComponentOptions): React.MemoExoticComponent<React.ForwardRefExoticComponent<{ [K in keyof (Exclude<keyof P, "style" | { [Key in keyof P]-?: Key extends `${string}Style` | "style" ? Key : never; }[keyof P]> extends infer T extends keyof P ? { [P_1 in T]: P[P_1]; } : never)]: P[K] | import("react-native-reanimated").SharedValue<P[K]>; } & { [Key_1 in keyof ({ [Key in keyof P]-?: Key extends `${string}Style` | "style" ? Key : never; }[keyof P] extends infer T_1 extends keyof P ? { [P_2 in T_1]: P[P_2]; } : never)]: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<P[Key_1]>>; } & {
8
+ export declare function createTransitionAwareComponent<P extends object>(Wrapped: ComponentType<P>, options?: CreateTransitionAwareComponentOptions): React.MemoExoticComponent<React.ForwardRefExoticComponent<{ [K in keyof Omit<P, "style" | { [Key in keyof P]-?: Key extends `${string}Style` | "style" ? Key : never; }[keyof P]>]: P[K] | import("react-native-reanimated").SharedValue<P[K]>; } & { [Key_1 in keyof ({ [Key in keyof P]-?: Key extends `${string}Style` | "style" ? Key : never; }[keyof P] extends infer T extends keyof P ? { [P_1 in T]: P[P_1]; } : never)]: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<P[Key_1]>>; } & {
9
9
  layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
10
10
  entering?: import("react-native-reanimated").EntryOrExitLayoutType;
11
11
  exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
12
12
  } & {
13
- animatedProps?: import("react-native-reanimated/lib/typescript/createAnimatedComponent/commonTypes").NestedArray<import("react-native-reanimated").CSSStyle<Exclude<keyof P, "style" | { [Key_2 in keyof Partial<P>]-?: Key_2 extends `${string}Style` | "style" ? Key_2 : never; }[keyof P]> extends infer T_2 extends keyof Partial<P> ? { [P_3 in T_2]: Partial<P>[P_3]; } : never>> | undefined;
14
- } & {
15
- sharedTransitionTag?: string;
16
- sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
13
+ animatedProps?: import("react-native-reanimated/lib/typescript/css/types").AddArrayPropertyType<Partial<{ [K in keyof Omit<P, "style" | { [Key in keyof P]-?: Key extends `${string}Style` | "style" ? Key : never; }[keyof P]>]: P[K] | import("react-native-reanimated").SharedValue<P[K]>; } & { [Key_1 in keyof ({ [Key in keyof P]-?: Key extends `${string}Style` | "style" ? Key : never; }[keyof P] extends infer T_1 extends keyof P ? { [P_1 in T_1]: P[P_1]; } : never)]: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<P[Key_1]>>; } & {
14
+ layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
15
+ entering?: import("react-native-reanimated").EntryOrExitLayoutType;
16
+ exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
17
+ }> | import("react-native-reanimated").CSSStyle<P>> | undefined;
17
18
  } & {
18
19
  styleId?: string;
19
20
  sharedBoundTag?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-transition-aware-component.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/create-transition-aware-component.tsx"],"names":[],"mappings":"AAAA,wHAAwH;AACxH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,OAAO,CAAC;AAgB7D,UAAU,qCAAqC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,MAAM,EAC9D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,qCAA0C;;;;;;;;;;;;;sEAkJnD"}
1
+ {"version":3,"file":"create-transition-aware-component.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/create-transition-aware-component.tsx"],"names":[],"mappings":"AAAA,wHAAwH;AACxH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,OAAO,CAAC;AAgB7D,UAAU,qCAAqC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,MAAM,EAC9D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,qCAA0C;;;;;;;;;;;;;;sEAkJnD"}
@@ -1,6 +1,10 @@
1
1
  import { type StyleProp, type ViewStyle } from "react-native";
2
+ /**
3
+ * @deprecated Use `navigationMaskEnabled` with the navigation mask style IDs
4
+ * instead.
5
+ */
2
6
  export default function MaskedView({ children, style: userStyles, }: {
3
7
  children: React.ReactNode;
4
8
  style?: StyleProp<ViewStyle>;
5
- }): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
9
+ }): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
6
10
  //# sourceMappingURL=masked-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"masked-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/masked-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAchF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,QAAQ,EACR,KAAK,EAAE,UAAe,GACtB,EAAE;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,+VAqBA"}
1
+ {"version":3,"file":"masked-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/masked-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAchF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAClC,QAAQ,EACR,KAAK,EAAE,UAAe,GACtB,EAAE;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,2WAqBA"}
@@ -2,5 +2,5 @@
2
2
  * Float overlay component that renders above all screens.
3
3
  * Gets routes and descriptors from stack context.
4
4
  */
5
- export declare function FloatOverlay(): import("react").JSX.Element | null;
5
+ export declare function FloatOverlay(): import("react/jsx-runtime").JSX.Element | null;
6
6
  //# sourceMappingURL=float-overlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"float-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/float-overlay.tsx"],"names":[],"mappings":"AAaA;;;GAGG;AACH,wBAAgB,YAAY,uCA8D3B"}
1
+ {"version":3,"file":"float-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/float-overlay.tsx"],"names":[],"mappings":"AAaA;;;GAGG;AACH,wBAAgB,YAAY,mDA8D3B"}
@@ -5,6 +5,6 @@ type OverlayHostProps = {
5
5
  scene: StackScene;
6
6
  overlayScreenState: OverlayScreenState<BaseDescriptor["navigation"]>;
7
7
  };
8
- export declare const OverlayHost: import("react").MemoExoticComponent<({ scene, overlayScreenState, }: OverlayHostProps) => import("react").JSX.Element | null>;
8
+ export declare const OverlayHost: import("react").MemoExoticComponent<({ scene, overlayScreenState, }: OverlayHostProps) => import("react/jsx-runtime").JSX.Element | null>;
9
9
  export {};
10
10
  //# sourceMappingURL=overlay-host.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,kBAAkB,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,WAAW,uEAGrB,gBAAgB,wCAsCjB,CAAC"}
1
+ {"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,kBAAkB,EAAE,kBAAkB,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,WAAW,uEAGrB,gBAAgB,oDAsCjB,CAAC"}
@@ -8,6 +8,6 @@ type SceneViewProps = {
8
8
  * Wraps screen render output with navigation context providers
9
9
  * and optional screen overlay.
10
10
  */
11
- export declare const SceneView: React.MemoExoticComponent<({ descriptor, }: SceneViewProps) => React.JSX.Element>;
11
+ export declare const SceneView: React.MemoExoticComponent<({ descriptor, }: SceneViewProps) => import("react/jsx-runtime").JSX.Element>;
12
12
  export {};
13
13
  //# sourceMappingURL=scene-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scene-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/scene-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,KAAK,cAAc,GAAG;IACrB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,8CAEnB,cAAc,uBAUf,CAAC"}
1
+ {"version":3,"file":"scene-view.d.ts","sourceRoot":"","sources":["../../../../src/shared/components/scene-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,KAAK,cAAc,GAAG;IACrB,UAAU,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,8CAEnB,cAAc,6CAUf,CAAC"}
@@ -1,6 +1,6 @@
1
1
  type Props = {
2
2
  children: React.ReactNode;
3
3
  };
4
- export declare const ScreenContainer: import("react").MemoExoticComponent<({ children }: Props) => import("react").JSX.Element>;
4
+ export declare const ScreenContainer: import("react").MemoExoticComponent<({ children }: Props) => import("react/jsx-runtime").JSX.Element>;
5
5
  export {};
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/screen-container/index.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,qDAAuB,KAAK,iCAkBtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/screen-container/index.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,qDAAuB,KAAK,6CAkBtD,CAAC"}
@@ -2,5 +2,5 @@ import type { BackdropBehavior } from "../../../types/screen.types";
2
2
  export declare const BackdropLayer: import("react").MemoExoticComponent<({ backdropBehavior, isBackdropActive, }: {
3
3
  backdropBehavior: BackdropBehavior;
4
4
  isBackdropActive: boolean;
5
- }) => import("react").JSX.Element>;
5
+ }) => import("react/jsx-runtime").JSX.Element>;
6
6
  //# sourceMappingURL=backdrop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAIpE,eAAO,MAAM,aAAa,gFAGvB;IACF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,iCA6GC,CAAC"}
1
+ {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/screen-container/layers/backdrop.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACX,gBAAgB,EAEhB,MAAM,6BAA6B,CAAC;AAKrC,eAAO,MAAM,aAAa,gFAGvB;IACF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,6CA8HC,CAAC"}
@@ -3,6 +3,6 @@ type Props = {
3
3
  pointerEvents: "box-none" | undefined;
4
4
  isBackdropActive: boolean;
5
5
  };
6
- export declare const ContentLayer: import("react").MemoExoticComponent<({ children, pointerEvents, isBackdropActive }: Props) => import("react").JSX.Element>;
6
+ export declare const ContentLayer: import("react").MemoExoticComponent<({ children, pointerEvents, isBackdropActive }: Props) => import("react/jsx-runtime").JSX.Element>;
7
7
  export {};
8
8
  //# sourceMappingURL=content.d.ts.map