react-native-screen-transitions 3.9.0-beta.1 → 3.9.0-beta.2

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 (330) hide show
  1. package/lib/commonjs/shared/adapters/with-screen-transitions/index.js +20 -4
  2. package/lib/commonjs/shared/adapters/with-screen-transitions/index.js.map +1 -1
  3. package/lib/commonjs/shared/animation/transition-blocking.js +71 -0
  4. package/lib/commonjs/shared/animation/transition-blocking.js.map +1 -0
  5. package/lib/commonjs/shared/components/boundary/components/boundary-target.js +30 -30
  6. package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
  7. package/lib/commonjs/shared/components/boundary/create-boundary-component.js +30 -95
  8. package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -1
  9. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +68 -51
  10. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
  11. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +1 -0
  12. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  13. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +14 -2
  14. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  15. package/lib/commonjs/shared/components/boundary/hooks/use-register-target.js +32 -0
  16. package/lib/commonjs/shared/components/boundary/hooks/use-register-target.js.map +1 -0
  17. package/lib/commonjs/shared/components/boundary/index.js +1 -1
  18. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/components/host.js +40 -0
  19. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -0
  20. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +14 -0
  21. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +1 -0
  22. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +194 -0
  23. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -0
  24. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js +44 -0
  25. package/lib/commonjs/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -0
  26. package/lib/commonjs/shared/components/boundary/portal/components/{host.js → boundary-portal/components/host.js} +17 -16
  27. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -0
  28. package/lib/commonjs/shared/components/boundary/portal/components/{portal-boundary-host.js → boundary-portal/components/portal-boundary-host.js} +11 -11
  29. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -0
  30. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +52 -0
  31. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +1 -0
  32. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +1 -0
  33. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js +14 -0
  34. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js.map +1 -0
  35. package/lib/commonjs/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.js +1 -1
  36. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -0
  37. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +184 -0
  38. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -0
  39. package/lib/commonjs/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.js +23 -5
  40. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -0
  41. package/lib/commonjs/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-placeholder-styles.js +3 -6
  42. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +1 -0
  43. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js +33 -0
  44. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -0
  45. package/lib/commonjs/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.js +1 -1
  46. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +1 -0
  47. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -0
  48. package/lib/commonjs/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.js +7 -12
  49. package/lib/commonjs/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -0
  50. package/lib/commonjs/shared/components/boundary/portal/index.js +1 -8
  51. package/lib/commonjs/shared/components/boundary/portal/index.js.map +1 -1
  52. package/lib/commonjs/shared/components/boundary/portal/teleport.js +2 -2
  53. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js +1 -15
  54. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js.map +1 -1
  55. package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js +19 -56
  56. package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js.map +1 -1
  57. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +77 -23
  58. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  59. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +41 -12
  60. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +1 -1
  61. package/lib/commonjs/shared/components/boundary/utils/measured-bounds.js +36 -1
  62. package/lib/commonjs/shared/components/boundary/utils/measured-bounds.js.map +1 -1
  63. package/lib/commonjs/shared/components/screen-container/layers/content.js +1 -1
  64. package/lib/commonjs/shared/configs/presets.js +2 -2
  65. package/lib/commonjs/shared/configs/presets.js.map +1 -1
  66. package/lib/commonjs/shared/index.js +13 -0
  67. package/lib/commonjs/shared/index.js.map +1 -1
  68. package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
  69. package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  70. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js +5 -3
  71. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js.map +1 -1
  72. package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js +1 -1
  73. package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -1
  74. package/lib/commonjs/shared/stores/system.store.js +10 -2
  75. package/lib/commonjs/shared/stores/system.store.js.map +1 -1
  76. package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +15 -9
  77. package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  78. package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +2 -2
  79. package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
  80. package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +3 -3
  81. package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
  82. package/lib/module/shared/adapters/with-screen-transitions/index.js +19 -5
  83. package/lib/module/shared/adapters/with-screen-transitions/index.js.map +1 -1
  84. package/lib/module/shared/animation/transition-blocking.js +66 -0
  85. package/lib/module/shared/animation/transition-blocking.js.map +1 -0
  86. package/lib/module/shared/components/boundary/components/boundary-target.js +32 -32
  87. package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
  88. package/lib/module/shared/components/boundary/create-boundary-component.js +32 -97
  89. package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -1
  90. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +72 -55
  91. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
  92. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +1 -0
  93. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  94. package/lib/module/shared/components/boundary/hooks/use-measurer.js +15 -3
  95. package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  96. package/lib/module/shared/components/boundary/hooks/use-register-target.js +27 -0
  97. package/lib/module/shared/components/boundary/hooks/use-register-target.js.map +1 -0
  98. package/lib/module/shared/components/boundary/index.js +1 -1
  99. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/components/host.js +35 -0
  100. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/components/host.js.map +1 -0
  101. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js +9 -0
  102. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.js.map +1 -0
  103. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +189 -0
  104. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -0
  105. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js +33 -0
  106. package/lib/module/shared/components/boundary/portal/components/boundary-content-portal/index.js.map +1 -0
  107. package/lib/module/shared/components/boundary/portal/components/{host.js → boundary-portal/components/host.js} +17 -16
  108. package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/host.js.map +1 -0
  109. package/lib/module/shared/components/boundary/portal/components/{portal-boundary-host.js → boundary-portal/components/portal-boundary-host.js} +11 -11
  110. package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -0
  111. package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js +47 -0
  112. package/lib/module/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.js.map +1 -0
  113. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +1 -0
  114. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js +9 -0
  115. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.js.map +1 -0
  116. package/lib/module/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.js +1 -1
  117. package/lib/module/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.js.map +1 -0
  118. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +179 -0
  119. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -0
  120. package/lib/module/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.js +23 -5
  121. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -0
  122. package/lib/module/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-placeholder-styles.js +3 -6
  123. package/lib/module/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.js.map +1 -0
  124. package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js +29 -0
  125. package/lib/module/shared/components/boundary/portal/components/boundary-portal/index.js.map +1 -0
  126. package/lib/module/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.js +1 -1
  127. package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.js.map +1 -0
  128. package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.js.map +1 -0
  129. package/lib/module/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.js +5 -10
  130. package/lib/module/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -0
  131. package/lib/module/shared/components/boundary/portal/index.js +1 -2
  132. package/lib/module/shared/components/boundary/portal/index.js.map +1 -1
  133. package/lib/module/shared/components/boundary/portal/teleport.js +2 -2
  134. package/lib/module/shared/components/boundary/portal/utils/naming.js +0 -12
  135. package/lib/module/shared/components/boundary/portal/utils/naming.js.map +1 -1
  136. package/lib/module/shared/components/boundary/portal/utils/ownership.js +16 -52
  137. package/lib/module/shared/components/boundary/portal/utils/ownership.js.map +1 -1
  138. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +74 -20
  139. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  140. package/lib/module/shared/components/boundary/utils/destination-signals.js +39 -10
  141. package/lib/module/shared/components/boundary/utils/destination-signals.js.map +1 -1
  142. package/lib/module/shared/components/boundary/utils/measured-bounds.js +34 -0
  143. package/lib/module/shared/components/boundary/utils/measured-bounds.js.map +1 -1
  144. package/lib/module/shared/components/screen-container/layers/content.js +1 -1
  145. package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
  146. package/lib/module/shared/configs/presets.js +2 -2
  147. package/lib/module/shared/configs/presets.js.map +1 -1
  148. package/lib/module/shared/index.js +1 -0
  149. package/lib/module/shared/index.js.map +1 -1
  150. package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
  151. package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  152. package/lib/module/shared/providers/screen/styles/slot.provider.js +5 -3
  153. package/lib/module/shared/providers/screen/styles/slot.provider.js.map +1 -1
  154. package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js +1 -1
  155. package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -1
  156. package/lib/module/shared/stores/system.store.js +10 -2
  157. package/lib/module/shared/stores/system.store.js.map +1 -1
  158. package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +15 -9
  159. package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  160. package/lib/module/shared/utils/bounds/navigation/reveal/build.js +2 -2
  161. package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
  162. package/lib/module/shared/utils/bounds/navigation/zoom/build.js +3 -3
  163. package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
  164. package/lib/typescript/shared/adapters/with-screen-transitions/index.d.ts +4 -1
  165. package/lib/typescript/shared/adapters/with-screen-transitions/index.d.ts.map +1 -1
  166. package/lib/typescript/shared/animation/transition-blocking.d.ts +33 -0
  167. package/lib/typescript/shared/animation/transition-blocking.d.ts.map +1 -0
  168. package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -1
  169. package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -1
  170. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts +2 -1
  171. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -1
  172. package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
  173. package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -1
  174. package/lib/typescript/shared/components/boundary/hooks/use-register-target.d.ts +10 -0
  175. package/lib/typescript/shared/components/boundary/hooks/use-register-target.d.ts.map +1 -0
  176. package/lib/typescript/shared/components/boundary/index.d.ts +2 -2
  177. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/components/host.d.ts +10 -0
  178. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/components/host.d.ts.map +1 -0
  179. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts +2 -0
  180. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.d.ts.map +1 -0
  181. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts +12 -0
  182. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -0
  183. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/index.d.ts +11 -0
  184. package/lib/typescript/shared/components/boundary/portal/components/boundary-content-portal/index.d.ts.map +1 -0
  185. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/host.d.ts.map +1 -0
  186. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -0
  187. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts +14 -0
  188. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.d.ts.map +1 -0
  189. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts +3 -0
  190. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts.map +1 -0
  191. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.d.ts +2 -0
  192. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.d.ts.map +1 -0
  193. package/lib/typescript/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.d.ts +1 -1
  194. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.d.ts.map +1 -0
  195. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts +12 -0
  196. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -0
  197. package/lib/typescript/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.d.ts +5 -1
  198. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +1 -0
  199. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts +12 -0
  200. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/hooks/use-placeholder-styles.d.ts.map +1 -0
  201. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts +13 -0
  202. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/index.d.ts.map +1 -0
  203. package/lib/typescript/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.d.ts +1 -1
  204. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.d.ts.map +1 -0
  205. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/host-registry.store.d.ts.map +1 -0
  206. package/lib/typescript/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.d.ts +3 -3
  207. package/lib/typescript/shared/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -0
  208. package/lib/typescript/shared/components/boundary/portal/index.d.ts +1 -2
  209. package/lib/typescript/shared/components/boundary/portal/index.d.ts.map +1 -1
  210. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts +0 -2
  211. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts.map +1 -1
  212. package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts +9 -10
  213. package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts.map +1 -1
  214. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +21 -21
  215. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
  216. package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts +9 -2
  217. package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +1 -1
  218. package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts +8 -0
  219. package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts.map +1 -1
  220. package/lib/typescript/shared/index.d.ts +1 -0
  221. package/lib/typescript/shared/index.d.ts.map +1 -1
  222. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +1 -0
  223. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
  224. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts +1 -0
  225. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts.map +1 -1
  226. package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts.map +1 -1
  227. package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
  228. package/lib/typescript/shared/types/animation.types.d.ts +3 -3
  229. package/lib/typescript/shared/types/bounds.types.d.ts +7 -2
  230. package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
  231. package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
  232. package/lib/typescript/shared/utils/bounds/types/options.d.ts +6 -2
  233. package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
  234. package/package.json +1 -1
  235. package/src/shared/adapters/with-screen-transitions/index.tsx +30 -9
  236. package/src/shared/animation/transition-blocking.ts +79 -0
  237. package/src/shared/components/boundary/components/boundary-target.tsx +43 -50
  238. package/src/shared/components/boundary/create-boundary-component.tsx +35 -150
  239. package/src/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +103 -81
  240. package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +1 -0
  241. package/src/shared/components/boundary/hooks/use-measurer.ts +12 -4
  242. package/src/shared/components/boundary/hooks/use-register-target.ts +43 -0
  243. package/src/shared/components/boundary/index.tsx +2 -2
  244. package/src/shared/components/boundary/portal/components/boundary-content-portal/components/host.tsx +48 -0
  245. package/src/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.ts +9 -0
  246. package/src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +274 -0
  247. package/src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx +59 -0
  248. package/src/shared/components/boundary/portal/components/{host.tsx → boundary-portal/components/host.tsx} +14 -15
  249. package/src/shared/components/boundary/portal/components/{portal-boundary-host.tsx → boundary-portal/components/portal-boundary-host.tsx} +12 -12
  250. package/src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx +80 -0
  251. package/src/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/has-local-slot.ts +1 -1
  252. package/src/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.ts +10 -0
  253. package/src/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/offset-style.ts +2 -2
  254. package/src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +250 -0
  255. package/src/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-host-measurement.ts +38 -8
  256. package/src/shared/components/boundary/portal/{hooks → components/boundary-portal/hooks}/use-placeholder-styles.ts +4 -15
  257. package/src/shared/components/boundary/portal/components/boundary-portal/index.tsx +38 -0
  258. package/src/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-bounds.store.ts +2 -2
  259. package/src/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/portal-boundary-host.store.ts +10 -15
  260. package/src/shared/components/boundary/portal/index.ts +1 -2
  261. package/src/shared/components/boundary/portal/teleport.ts +2 -2
  262. package/src/shared/components/boundary/portal/utils/naming.ts +0 -19
  263. package/src/shared/components/boundary/portal/utils/ownership.ts +32 -88
  264. package/src/shared/components/boundary/providers/boundary-root.provider.tsx +198 -78
  265. package/src/shared/components/boundary/utils/destination-signals.ts +38 -14
  266. package/src/shared/components/boundary/utils/measured-bounds.ts +48 -0
  267. package/src/shared/components/screen-container/layers/content.tsx +1 -1
  268. package/src/shared/configs/presets.ts +2 -2
  269. package/src/shared/index.ts +4 -0
  270. package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +1 -0
  271. package/src/shared/providers/screen/styles/slot.provider.tsx +4 -2
  272. package/src/shared/providers/screen/styles/stores/slot-references.store.ts +2 -1
  273. package/src/shared/stores/system.store.ts +10 -4
  274. package/src/shared/types/animation.types.ts +3 -3
  275. package/src/shared/types/bounds.types.ts +9 -2
  276. package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +18 -11
  277. package/src/shared/utils/bounds/navigation/reveal/build.ts +2 -2
  278. package/src/shared/utils/bounds/navigation/zoom/build.ts +3 -3
  279. package/src/shared/utils/bounds/types/options.ts +9 -2
  280. package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js +0 -58
  281. package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +0 -1
  282. package/lib/commonjs/shared/components/boundary/portal/components/host.js.map +0 -1
  283. package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js.map +0 -1
  284. package/lib/commonjs/shared/components/boundary/portal/components/portal.js +0 -272
  285. package/lib/commonjs/shared/components/boundary/portal/components/portal.js.map +0 -1
  286. package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js.map +0 -1
  287. package/lib/commonjs/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +0 -1
  288. package/lib/commonjs/shared/components/boundary/portal/stores/host-bounds.store.js.map +0 -1
  289. package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js.map +0 -1
  290. package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +0 -1
  291. package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js.map +0 -1
  292. package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js.map +0 -1
  293. package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js +0 -53
  294. package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +0 -1
  295. package/lib/module/shared/components/boundary/portal/components/host.js.map +0 -1
  296. package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js.map +0 -1
  297. package/lib/module/shared/components/boundary/portal/components/portal.js +0 -267
  298. package/lib/module/shared/components/boundary/portal/components/portal.js.map +0 -1
  299. package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js.map +0 -1
  300. package/lib/module/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +0 -1
  301. package/lib/module/shared/components/boundary/portal/stores/host-bounds.store.js.map +0 -1
  302. package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js.map +0 -1
  303. package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +0 -1
  304. package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js.map +0 -1
  305. package/lib/module/shared/components/boundary/portal/utils/offset-style.js.map +0 -1
  306. package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts +0 -8
  307. package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts.map +0 -1
  308. package/lib/typescript/shared/components/boundary/portal/components/host.d.ts.map +0 -1
  309. package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map +0 -1
  310. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts +0 -20
  311. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts.map +0 -1
  312. package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map +0 -1
  313. package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts +0 -17
  314. package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts.map +0 -1
  315. package/lib/typescript/shared/components/boundary/portal/stores/host-bounds.store.d.ts.map +0 -1
  316. package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map +0 -1
  317. package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +0 -1
  318. package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts +0 -3
  319. package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts.map +0 -1
  320. package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts.map +0 -1
  321. package/src/shared/components/boundary/portal/components/boundary-local-portal-host.tsx +0 -66
  322. package/src/shared/components/boundary/portal/components/portal.tsx +0 -412
  323. /package/lib/commonjs/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/has-local-slot.js +0 -0
  324. /package/lib/commonjs/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.js +0 -0
  325. /package/lib/module/shared/components/boundary/portal/{utils → components/boundary-portal/helpers}/has-local-slot.js +0 -0
  326. /package/lib/module/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.js +0 -0
  327. /package/lib/typescript/shared/components/boundary/portal/components/{host.d.ts → boundary-portal/components/host.d.ts} +0 -0
  328. /package/lib/typescript/shared/components/boundary/portal/components/{portal-boundary-host.d.ts → boundary-portal/components/portal-boundary-host.d.ts} +0 -0
  329. /package/lib/typescript/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.d.ts +0 -0
  330. /package/src/shared/components/boundary/portal/{stores → components/boundary-portal/stores}/host-registry.store.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EACN,KAAK,WAAW,EAEhB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQhD,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,WAAW,GAAI,wGAQzB,iBAAiB,KAAG,eAoFtB,CAAC"}
1
+ {"version":3,"file":"use-measurer.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-measurer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EACN,KAAK,WAAW,EAEhB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQhD,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,mBAAmB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,WAAW,GAAI,wGAQzB,iBAAiB,KAAG,eA0FtB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { View } from "react-native";
2
+ import type { AnimatedRef } from "react-native-reanimated";
3
+ interface RegisterTargetProps {
4
+ targetAnimatedRef: AnimatedRef<View>;
5
+ preparedStyles: Record<string, any>;
6
+ measurementRef: AnimatedRef<View>;
7
+ }
8
+ export declare const useRegisterTarget: ({ targetAnimatedRef, preparedStyles, measurementRef, }: RegisterTargetProps) => void;
9
+ export {};
10
+ //# sourceMappingURL=use-register-target.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-register-target.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/hooks/use-register-target.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAO3D,UAAU,mBAAmB;IAC5B,iBAAiB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACrC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,cAAc,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,iBAAiB,GAAI,wDAI/B,mBAAmB,SAuBrB,CAAC"}
@@ -30,7 +30,7 @@ type BoundaryRootComponent = typeof BoundaryRoot;
30
30
  * Use:
31
31
  * - `Boundary` for passive and pressable shared elements.
32
32
  * - `Boundary.Target` to measure a nested descendant instead of the root.
33
- * - `Boundary.Host` to make nested portal placement explicit.
33
+ * - `Boundary.Host` to make clipping-escape host placement explicit.
34
34
  */
35
35
  export interface BoundaryComponent extends BoundaryRootComponent {
36
36
  /**
@@ -38,7 +38,7 @@ export interface BoundaryComponent extends BoundaryRootComponent {
38
38
  */
39
39
  Target: typeof BoundaryTarget;
40
40
  /**
41
- * Explicit portal host for scrollable or otherwise clipped coordinate spaces.
41
+ * Explicit host for clipping-escape placement.
42
42
  */
43
43
  Host: typeof Host;
44
44
  /**
@@ -0,0 +1,10 @@
1
+ import { type ReactNode } from "react";
2
+ type BoundaryContentPortalHostProps = {
3
+ boundaryId: string;
4
+ children: ReactNode;
5
+ enabled: boolean;
6
+ screenKey: string;
7
+ };
8
+ export declare const BoundaryContentPortalHost: import("react").MemoExoticComponent<({ boundaryId, children, enabled, screenKey, }: BoundaryContentPortalHostProps) => import("react/jsx-runtime").JSX.Element>;
9
+ export {};
10
+ //# sourceMappingURL=host.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/components/host.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAU7C,KAAK,8BAA8B,GAAG;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,yBAAyB,sFAMlC,8BAA8B,6CAiBjC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const createBoundaryContentPortalHostName: (screenKey: string, boundaryId: string) => string;
2
+ //# sourceMappingURL=host-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-name.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/helpers/host-name.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mCAAmC,GAC/C,WAAW,MAAM,EACjB,YAAY,MAAM,WAIlB,CAAC"}
@@ -0,0 +1,12 @@
1
+ interface UseBoundaryContentPortalAttachmentParams {
2
+ boundaryId: string;
3
+ enabled: boolean;
4
+ }
5
+ export declare const useBoundaryContentPortalAttachment: ({ boundaryId, enabled, }: UseBoundaryContentPortalAttachmentParams) => {
6
+ teleportProps: Partial<{
7
+ hostName: string | null;
8
+ }>;
9
+ visiblePortalHostName: import("react-native-reanimated").SharedValue<string | null>;
10
+ };
11
+ export {};
12
+ //# sourceMappingURL=use-boundary-content-portal-attachment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"AAwBA,UAAU,wCAAwC;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,kCAAkC,GAAI,0BAGhD,wCAAwC;;;;;CAiP1C,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type ReactNode } from "react";
2
+ import type { ViewProps } from "react-native";
3
+ export { BoundaryContentPortalHost } from "./components/host";
4
+ type BoundaryContentPortalProps = {
5
+ boundaryId?: string;
6
+ children: ReactNode;
7
+ enabled: boolean;
8
+ pointerEvents?: ViewProps["pointerEvents"];
9
+ };
10
+ export declare const BoundaryContentPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, pointerEvents, }: BoundaryContentPortalProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-content-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,0BAA0B,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC3C,CAAC;AAeF,eAAO,MAAM,qBAAqB,0FAK/B,0BAA0B,6UAoB3B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/host.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,SAAS,EAId,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AAYtB,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAmFF,eAAO,MAAM,IAAI,8CAA6B,eAAe,6CAE3D,CAAC;AAEH,eAAO,MAAM,kBAAkB,oFAE7B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAe1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAMrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAG5B,uBAAuB,oDA4HxB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type ReactNode } from "react";
2
+ import type { View, ViewProps } from "react-native";
3
+ import { type AnimatedRef } from "react-native-reanimated";
4
+ type BoundaryPortalSlotProps = {
5
+ id: string;
6
+ children: ReactNode;
7
+ enabled: boolean;
8
+ animatedProps: any;
9
+ pointerEvents?: ViewProps["pointerEvents"];
10
+ placeholderRef?: AnimatedRef<View>;
11
+ };
12
+ export declare const BoundaryPortalSlot: import("react").MemoExoticComponent<({ id, children, enabled, animatedProps, pointerEvents, placeholderRef, }: BoundaryPortalSlotProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined>;
13
+ export {};
14
+ //# sourceMappingURL=portal-slot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-slot.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/components/portal-slot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAiB,EAAE,KAAK,WAAW,EAAW,MAAM,yBAAyB,CAAC;AAqB9E,KAAK,uBAAuB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,GAAG,CAAC;IACnB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,kBAAkB,iHAO5B,uBAAuB,6UAmCxB,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/components/boundary-portal/helpers/has-local-slot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uEAAuE,CAAC;AAE9G,eAAO,MAAM,YAAY,GACxB,iBAAiB,gBAAgB,EACjC,QAAQ,MAAM,YAWd,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const createBoundaryPortalHostName: (hostKey: string, boundaryId: string, pairKey?: string | null) => string;
2
+ //# sourceMappingURL=host-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-name.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/host-name.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,GACxC,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,UAAU,MAAM,GAAG,IAAI,WAIvB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { StyleProps } from "react-native-reanimated";
2
- import type { ScrollMeasuredDimensions } from "../../utils/measured-bounds";
2
+ import type { ScrollMeasuredDimensions } from "../../../../utils/measured-bounds";
3
3
  /**
4
4
  * The two portal coordinate cases we support:
5
5
  *
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offset-style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/helpers/offset-style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF;;;;;;;;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,12 @@
1
+ interface UseBoundaryPortalAttachmentParams {
2
+ boundaryId: string;
3
+ enabled: boolean;
4
+ }
5
+ export declare const useBoundaryPortalAttachment: ({ boundaryId, enabled, }: UseBoundaryPortalAttachmentParams) => {
6
+ teleportProps: Partial<{
7
+ hostName: string | null;
8
+ }>;
9
+ visiblePortalHostName: import("react-native-reanimated").SharedValue<string | null>;
10
+ };
11
+ export {};
12
+ //# sourceMappingURL=use-boundary-portal-attachment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AA0BA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,2BAA2B,GAAI,0BAGzC,iCAAiC;;;;;CAuNnC,CAAC"}
@@ -1,11 +1,15 @@
1
1
  import type { View } from "react-native";
2
+ import { type SharedValue } from "react-native-reanimated";
2
3
  type UseHostMeasurementParams = {
3
4
  capturesScroll: boolean;
4
5
  enabled: boolean;
5
6
  hostKey: string;
6
7
  screenKey: string;
8
+ visibilityBlocked: SharedValue<boolean>;
9
+ viewportHeight: number;
10
+ viewportWidth: number;
7
11
  };
8
- export declare const useHostMeasurement: ({ capturesScroll, enabled, hostKey, screenKey, }: UseHostMeasurementParams) => {
12
+ export declare const useHostMeasurement: ({ capturesScroll, enabled, hostKey, screenKey, visibilityBlocked, viewportHeight, viewportWidth, }: UseHostMeasurementParams) => {
9
13
  canRenderHosts: boolean;
10
14
  hostRef: import("react-native-reanimated").AnimatedRef<View>;
11
15
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAKN,KAAK,WAAW,EAMhB,MAAM,yBAAyB,CAAC;AAgBjC,KAAK,wBAAwB,GAAG;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,oGAQhC,wBAAwB;;;CAyG1B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { LayoutRectangle } from "react-native";
2
+ export declare const usePlaceholderStyles: () => {
3
+ placeholderStyle: {
4
+ readonly width: "auto";
5
+ readonly height: "auto";
6
+ } | {
7
+ width: number;
8
+ height: number;
9
+ };
10
+ handleOnLayout: (layout: LayoutRectangle) => void;
11
+ };
12
+ //# 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/components/boundary-portal/hooks/use-placeholder-styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,oBAAoB;;;;;;;;6BAoBtB,eAAe;CAmBzB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type ReactNode } from "react";
2
+ import type { View, ViewProps } from "react-native";
3
+ import type { AnimatedRef } from "react-native-reanimated";
4
+ type BoundaryPortalProps = {
5
+ boundaryId: string;
6
+ children: ReactNode;
7
+ enabled: boolean;
8
+ placeholderRef?: AnimatedRef<View>;
9
+ pointerEvents?: ViewProps["pointerEvents"];
10
+ };
11
+ export declare const BoundaryPortal: import("react").MemoExoticComponent<({ boundaryId, children, enabled, placeholderRef, pointerEvents, }: BoundaryPortalProps) => import("react/jsx-runtime").JSX.Element>;
12
+ export {};
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,KAAK,mBAAmB,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACnC,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,cAAc,0GAMxB,mBAAmB,6CAiBpB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type MeasuredDimensions } from "react-native-reanimated";
2
- import type { ScrollMetadataState } from "../../../../types/gesture.types";
2
+ import type { ScrollMetadataState } from "../../../../../../types/gesture.types";
3
3
  export type PortalHostBounds = MeasuredDimensions & {
4
4
  scroll?: ScrollMetadataState | null;
5
5
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-bounds.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/components/boundary-portal/stores/host-bounds.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAe,MAAM,yBAAyB,CAAC;AAE/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG;IACnD,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACpC,CAAC;AAMF,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,4BAGlD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC/B,SAAS,MAAM,EACf,QAAQ,gBAAgB,SAexB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,SAAS,MAAM,SAQpD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-registry.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/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,6 +1,6 @@
1
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";
2
+ import type { LocalStyleLayers } from "../../../../../../providers/screen/styles/helpers/resolve-slot-styles";
3
+ import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../types/animation.types";
4
4
  export type ActivePortalBoundaryHost = {
5
5
  boundaryId: string;
6
6
  escapeClipping: boolean;
@@ -12,7 +12,7 @@ export type ActivePortalBoundaryHost = {
12
12
  slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
13
13
  };
14
14
  export declare const mountPortalBoundaryHost: (host: ActivePortalBoundaryHost) => void;
15
- export declare const unmountPortalBoundaryHost: (boundaryId: string) => void;
15
+ export declare const unmountPortalBoundaryHostByName: (portalHostName: string | null | undefined) => void;
16
16
  /**
17
17
  * Post-handoff GC: drop every receiver for this boundary except the one now
18
18
  * visible (`keepPortalHostName`). Called once the new host is confirmed on
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/components/boundary/portal/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,uEAAuE,CAAC;AAC9G,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAErG,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,+BAA+B,GAC3C,gBAAgB,MAAM,GAAG,IAAI,GAAG,SAAS,SAOzC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,GAAI,qCAG1C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;CAC3B,SAwBA,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
@@ -1,4 +1,3 @@
1
- export { Host } from "./components/host";
2
- export { Portal } from "./components/portal";
1
+ export { Host } from "./components/boundary-portal/components/host";
3
2
  export { PortalProvider } from "./components/portal-provider";
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,4 +1,2 @@
1
1
  export declare const PORTAL_HOST_NAME_RESET_VALUE: null;
2
- export declare const createPortalBoundaryHostName: (hostKey: string, boundaryId: string, pairKey?: string | null) => string;
3
- export declare const createBoundaryLocalPortalHostName: (screenKey: string, boundaryId: string) => string;
4
2
  //# 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;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
+ {"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/boundary/portal/utils/naming.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,MAAO,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { LinkPairsState, ScreenKey, ScreenPairKey, TagLink } from "../../../../stores/bounds/types";
1
+ import type { LinkPairsState, ScreenKey, ScreenPairKey } from "../../../../stores/bounds/types";
2
2
  export type PortalOwnershipSignal = {
3
3
  hostScreenKey: null;
4
4
  ownerPairKey?: ScreenPairKey;
@@ -10,16 +10,20 @@ export type PortalOwnershipSignal = {
10
10
  ownerScreenKey: ScreenKey;
11
11
  status: "complete";
12
12
  };
13
- export declare const usesEscapeClippingHost: (link: TagLink | null | undefined) => boolean;
14
- export declare const canSwitchBoundaryLocalHandoffImmediately: ({ hostScreenKey, ownerPairKey, previousOwnerPairKey, }: {
13
+ export declare const isHandoffHostClosingComplete: ({ closing, progressAnimating, progressSettled, willAnimate, }: {
14
+ closing: number;
15
+ progressAnimating: number;
16
+ progressSettled: number;
17
+ willAnimate: number;
18
+ }) => boolean;
19
+ export declare const canSwitchHandoffHostImmediately: ({ hostScreenKey, ownerPairKey, previousOwnerPairKey, }: {
15
20
  hostScreenKey: ScreenKey | null;
16
21
  ownerPairKey?: ScreenPairKey;
17
22
  previousOwnerPairKey?: ScreenPairKey;
18
23
  }) => boolean;
19
- export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScreenKey, escapeClipping, handoff, isSettledHostClosingComplete, isSettledHostReady, pairsState, settledHostScreenKey, sourcePairKey, }: {
24
+ export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScreenKey, handoff, isSettledHostClosingComplete, isSettledHostReady, pairsState, settledHostScreenKey, sourcePairKey, }: {
20
25
  boundaryId: string;
21
26
  currentScreenKey: ScreenKey;
22
- escapeClipping: boolean;
23
27
  handoff: boolean;
24
28
  isSettledHostClosingComplete?: boolean;
25
29
  isSettledHostReady?: boolean;
@@ -27,9 +31,4 @@ export declare const resolveBoundaryPortalOwnership: ({ boundaryId, currentScree
27
31
  settledHostScreenKey?: ScreenKey | null;
28
32
  sourcePairKey: ScreenPairKey;
29
33
  }) => PortalOwnershipSignal;
30
- export declare const hasHandoffEscapeContinuation: ({ linkKey, linkState, sourceScreenKey, }: {
31
- linkKey: string;
32
- linkState: LinkPairsState;
33
- sourceScreenKey: ScreenKey;
34
- }) => boolean;
35
34
  //# sourceMappingURL=ownership.d.ts.map
@@ -1 +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"}
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,EAEb,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;AAEL,eAAO,MAAM,4BAA4B,GAAI,+DAK1C;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACpB,YAWA,CAAC;AAsCF,eAAO,MAAM,+BAA+B,GAAI,wDAI7C;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,+IAS5C;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,SAAS,CAAC;IAC5B,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,qBAyHH,CAAC"}
@@ -1,9 +1,10 @@
1
- import { type ReactNode } from "react";
1
+ import { type ForwardedRef, type ReactNode } from "react";
2
2
  import type { View } from "react-native";
3
3
  import type { AnimatedRef, StyleProps } from "react-native-reanimated";
4
4
  import type { BoundTag } from "../../../stores/bounds/types";
5
- import type { BoundaryPortalRuntime } from "../portal/utils/resolve-portal";
6
- interface BoundaryRootContextValue {
5
+ import { type BoundaryPortalRuntime } from "../portal/utils/resolve-portal";
6
+ import type { BoundaryConfigProps, BoundaryId, BoundaryOwnProps } from "../types";
7
+ interface BoundaryRootContextValue extends BoundaryRootRenderState {
7
8
  registerTargetRef: (targetRef: AnimatedRef<View>, preparedStyles: StyleProps, measurementRef?: AnimatedRef<View>) => void;
8
9
  unregisterTargetRef: (targetRef: AnimatedRef<View>) => void;
9
10
  activeTargetRef: AnimatedRef<View> | null;
@@ -11,27 +12,26 @@ interface BoundaryRootContextValue {
11
12
  portalRuntime: BoundaryPortalRuntime;
12
13
  }
13
14
  export declare const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside Transition.Boundary or a component created by createBoundaryComponent.";
14
- interface BoundaryRootProps {
15
- value: BoundaryRootContextValue;
16
- children: ReactNode;
17
- }
18
- export declare const BoundaryRootProvider: import("react").FC<BoundaryRootProps>, useBoundaryRootContext: () => BoundaryRootContextValue | null;
19
- export declare const useBoundaryRootState: (params: {
15
+ export type BoundaryRootRenderState = {
16
+ attachedStyle: unknown;
20
17
  boundTag: BoundTag;
18
+ currentScreenKey: string;
21
19
  portalRuntime: BoundaryPortalRuntime;
22
- rootMeasurementRef?: AnimatedRef<View>;
23
- }) => {
24
20
  ref: AnimatedRef<View>;
25
- contextValue: {
26
- registerTargetRef: (targetRef: AnimatedRef<View>, preparedStyles: StyleProps, measurementRef?: AnimatedRef<View>) => void;
27
- unregisterTargetRef: (targetRef: AnimatedRef<View>) => void;
28
- activeTargetRef: AnimatedRef<View> | null;
29
- boundTag: BoundTag;
30
- portalRuntime: BoundaryPortalRuntime;
31
- };
32
- hasActiveTarget: boolean;
33
- measuredRef: AnimatedRef<View>;
34
- targetPreparedStyles: StyleProps | undefined;
21
+ rootEscapePlaceholderRef: AnimatedRef<View>;
22
+ shouldRenderBoundaryRootThroughPortal: boolean;
23
+ shouldRenderHandoffHost: boolean;
24
+ };
25
+ type BoundaryRootProviderProps = Pick<BoundaryOwnProps, "enabled" | "escapeClipping" | "group" | "handoff"> & {
26
+ children: (state: BoundaryRootRenderState) => ReactNode;
27
+ config: BoundaryConfigProps;
28
+ forwardedRef?: ForwardedRef<any>;
29
+ id: BoundaryId;
30
+ style?: unknown;
31
+ };
32
+ export declare const BoundaryRootProvider: import("react").FC<BoundaryRootProviderProps>, useBoundaryRootContext: () => BoundaryRootContextValue | null, useBoundaryRootStore: {
33
+ (): BoundaryRootContextValue | null;
34
+ <Selected>(selector: (value: BoundaryRootContextValue | null) => Selected): Selected;
35
35
  };
36
36
  export {};
37
37
  //# sourceMappingURL=boundary-root.provider.d.ts.map
@@ -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,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
+ {"version":3,"file":"boundary-root.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/providers/boundary-root.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,YAAY,EACjB,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAQvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,OAAO,EACN,KAAK,qBAAqB,EAE1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACX,mBAAmB,EACnB,UAAU,EACV,gBAAgB,EAChB,MAAM,UAAU,CAAC;AAElB,UAAU,wBAAyB,SAAQ,uBAAuB;IACjE,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,MAAM,MAAM,uBAAuB,GAAG;IACrC,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,qBAAqB,CAAC;IACrC,GAAG,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvB,wBAAwB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5C,qCAAqC,EAAE,OAAO,CAAC;IAC/C,uBAAuB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,KAAK,yBAAyB,GAAG,IAAI,CACpC,gBAAgB,EAChB,SAAS,GAAG,gBAAgB,GAAG,OAAO,GAAG,SAAS,CAClD,GAAG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,SAAS,CAAC;IACxD,MAAM,EAAE,mBAAmB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACjC,EAAE,EAAE,UAAU,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MACN,oBAAoB,iDACpB,sBAAsB,yCACtB,oBAAoB;;;CAwJpB,CAAC"}
@@ -1,10 +1,17 @@
1
1
  import type { LinkPairsState, ScreenPairKey } from "../../../stores/bounds/types";
2
- export declare const getInitialDestinationMeasurePairKey: (params: {
2
+ export type InitialDestinationMeasurementAction = "wait" | "release" | "measure" | "complete";
3
+ export type InitialDestinationMeasurementSignal = {
4
+ pairKey: ScreenPairKey;
5
+ action: InitialDestinationMeasurementAction;
6
+ };
7
+ export declare const getInitialDestinationMeasurementSignal: (params: {
3
8
  enabled: boolean;
4
9
  destinationPairKey?: ScreenPairKey;
5
10
  ancestorDestinationPairKey?: ScreenPairKey;
6
11
  linkId: string;
7
12
  group?: string;
13
+ destinationPresent: boolean;
14
+ sourcePresent: boolean;
8
15
  linkState?: LinkPairsState;
9
- }) => ScreenPairKey | null;
16
+ }) => InitialDestinationMeasurementSignal | null;
10
17
  //# sourceMappingURL=destination-signals.d.ts.map
@@ -1 +1 @@
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
+ {"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,MAAM,MAAM,mCAAmC,GAC5C,MAAM,GACN,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AAEd,MAAM,MAAM,mCAAmC,GAAG;IACjD,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,mCAAmC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,sCAAsC,GAAI,QAAQ;IAC9D,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,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,mCAAmC,GAAG,IA6CzC,CAAC"}
@@ -7,6 +7,14 @@ export type ScrollMeasuredDimensions = MeasuredDimensions & {
7
7
  export declare const adjustedMeasuredBoundsForOverscrollDeltas: (measured: MeasuredDimensions, scrollState: ScrollGestureState | ScrollMetadataState | null) => MeasuredDimensions;
8
8
  export declare const normalizeMeasuredBoundsToOrigin: (measured: MeasuredDimensions, origin: MeasuredDimensions) => MeasuredDimensions;
9
9
  export declare const isMeasurementInViewport: (measured: MeasuredDimensions, viewportWidth: number, viewportHeight: number) => boolean;
10
+ export declare const normalizeMeasuredBoundsWithVisibilityGate: ({ measured, origin, visibilityBlocked, visibilityBlockOffset, viewportWidth, viewportHeight, }: {
11
+ measured: MeasuredDimensions;
12
+ origin: MeasuredDimensions;
13
+ visibilityBlocked: boolean;
14
+ visibilityBlockOffset: number;
15
+ viewportWidth: number;
16
+ viewportHeight: number;
17
+ }) => MeasuredDimensions;
10
18
  export declare const measureWithOverscrollAwareness: (ref: AnimatedRef<View>, scrollState: ScrollGestureState | null) => MeasuredDimensions | null;
11
19
  export declare const attachScrollSnapshotToMeasuredBounds: (measured: MeasuredDimensions, scroll: ScrollMetadataState | null | undefined) => ScrollMeasuredDimensions;
12
20
  //# sourceMappingURL=measured-bounds.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"measured-bounds.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/measured-bounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAEX,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,8BAA8B,CAAC;AAItC,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,GAAG;IAC3D,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACpC,CAAC;AAgBF,eAAO,MAAM,yCAAyC,GACrD,UAAU,kBAAkB,EAC5B,aAAa,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,KAC1D,kBAqBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,UAAU,kBAAkB,EAC5B,QAAQ,kBAAkB,KACxB,kBAOF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,kBAAkB,EAC5B,eAAe,MAAM,EACrB,gBAAgB,MAAM,KACpB,OAkBF,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAC1C,KAAK,WAAW,CAAC,IAAI,CAAC,EACtB,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAAkB,GAAG,IAMvB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAChD,UAAU,kBAAkB,EAC5B,QAAQ,mBAAmB,GAAG,IAAI,GAAG,SAAS,KAC5C,wBAOF,CAAC"}
1
+ {"version":3,"file":"measured-bounds.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/boundary/utils/measured-bounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAEX,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,8BAA8B,CAAC;AAItC,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,GAAG;IAC3D,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACpC,CAAC;AAgBF,eAAO,MAAM,yCAAyC,GACrD,UAAU,kBAAkB,EAC5B,aAAa,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,KAC1D,kBAqBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,UAAU,kBAAkB,EAC5B,QAAQ,kBAAkB,KACxB,kBAOF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACnC,UAAU,kBAAkB,EAC5B,eAAe,MAAM,EACrB,gBAAgB,MAAM,KACpB,OAkBF,CAAC;AAEF,eAAO,MAAM,yCAAyC,GAAI,gGAOvD;IACF,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACvB,KAAG,kBAgCH,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAC1C,KAAK,WAAW,CAAC,IAAI,CAAC,EACtB,aAAa,kBAAkB,GAAG,IAAI,KACpC,kBAAkB,GAAG,IAMvB,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAChD,UAAU,kBAAkB,EAC5B,QAAQ,mBAAmB,GAAG,IAAI,GAAG,SAAS,KAC5C,wBAOF,CAAC"}
@@ -1343,6 +1343,7 @@ export default _default;
1343
1343
  export type { NativeStackAdapterOptions } from "./adapters/with-screen-transitions";
1344
1344
  export { withScreenTransitions } from "./adapters/with-screen-transitions";
1345
1345
  export { snapTo } from "./animation/snap-to";
1346
+ export { blockTransition, unblockTransition, } from "./animation/transition-blocking";
1346
1347
  export { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID, TRANSFORM_RESET, } from "./constants";
1347
1348
  export { useHistory } from "./hooks/navigation/use-history";
1348
1349
  export { type ScreenState, useScreenState, } from "./hooks/navigation/use-screen-state";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAY,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,UAAU,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EACN,KAAK,WAAW,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,KAAK,qBAAqB,EAC1B,kBAAkB,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,KAAK,mBAAmB,EACxB,gBAAgB,GAChB,MAAM,sDAAsD,CAAC;AAE9D,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
@@ -7,5 +7,6 @@ export declare const useMaybeBlockVisibility: (isFloatingOverlay?: boolean) => {
7
7
  animatedProps: Partial<{
8
8
  pointerEvents: "box-none" | "none";
9
9
  }>;
10
+ shouldBlockVisibility: import("react-native-reanimated").SharedValue<boolean>;
10
11
  };
11
12
  //# sourceMappingURL=use-maybe-block-visibility.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO;;;;;;;;;CA6DlE,CAAC"}
1
+ {"version":3,"file":"use-maybe-block-visibility.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB,GAAI,oBAAoB,OAAO;;;;;;;;;;CA8DlE,CAAC"}
@@ -12,6 +12,7 @@ export type ScreenSlotContextValue = {
12
12
  localStylesMaps: SharedValue<LocalStyleLayers>;
13
13
  nextInterpolatorReady: SharedValue<number>;
14
14
  slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
15
+ visibilityBlocked: SharedValue<boolean>;
15
16
  };
16
17
  export declare const ScreenSlotProvider: import("react").FC<Props>, ScreenSlotContext: import("react").Context<ScreenSlotContextValue>, useScreenSlots: () => ScreenSlotContextValue;
17
18
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAC;AAE7E,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAI5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAStE,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MACN,kBAAkB,6BAClB,iBAAiB,mDACK,cAAc,8BA+CnC,CAAC"}
1
+ {"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,OAAO,CAAC;AAE7E,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAI5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAStE,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,eAAe,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC/C,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;IAC7D,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MACN,kBAAkB,6BAClB,iBAAiB,mDACK,cAAc,8BAgDnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"slot-references.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/stores/slot-references.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAyB/D,eAAO,MAAM,mBAAmB,GAC/B,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAa7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAQ7B,CAAC;AAUF,eAAO,MAAM,wBAAwB,GAAI,YAAY,SAAS,GAAG,IAAI,kCAMpE,CAAC"}
1
+ {"version":3,"file":"slot-references.store.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/providers/screen/styles/stores/slot-references.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAyB/D,eAAO,MAAM,mBAAmB,GAC/B,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAc7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,WAAW,SAAS,EACpB,OAAO,sBAAsB,SAQ7B,CAAC;AAUF,eAAO,MAAM,wBAAwB,GAAI,YAAY,SAAS,GAAG,IAAI,kCAMpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"system.store.d.ts","sourceRoot":"","sources":["../../../../src/shared/stores/system.store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,oBAAY,8BAA8B;IACzC,IAAI,IAAI;IACR,IAAI,IAAI;IACR,eAAe,IAAI;IACnB,WAAW,IAAI;CACf;AAED,KAAK,gBAAgB,GAAG;IACvB,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE3C;;OAEG;IACH,qBA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AEG;IACH,6BAA6B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnD;;;OAGG;IACH,+BAA+B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,0BAA0B,CACzB,IAAI,EAAE,8BAA8B,EACpC,MAAM,EAAE,MAAM,GACZ,IAAI,CAAC;IACR,+BAA+B,IAAI,IAAI,CAAC;IACxC,mBAAmB,IAAI,IAAI,CAAC;IAC5B,qBAAqB,IAAI,IAAI,CAAC;IAC9B,yBAAyB,IAAI,IAAI,CAAC;CAClC;AAED,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC/C,OAAO,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;EAyDtB,CAAC"}
@@ -242,9 +242,9 @@ export type BoundaryTeleportControl = boolean | {
242
242
  };
243
243
  export type TransitionSlotProps = Record<string, unknown> & {
244
244
  /**
245
- * Controls whether a portal-enabled boundary should attach for the current
246
- * interpolator frame. `false` detaches the portal while keeping hostName
247
- * ownership internal.
245
+ * Controls whether a handoff or clipping-escape boundary should attach for
246
+ * the current interpolator frame. `false` detaches the portal while keeping
247
+ * hostName ownership internal.
248
248
  */
249
249
  teleport?: BoundaryTeleportControl;
250
250
  };