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,"names":["_reactNativeReanimated","require","_constants","_createBoundsAccessorCore","_helpers","_math","_math2","_config","_helpers2","_math3","IDENTITY_DRAG_SCALE_OUTPUT","resolveZoomGestureOptions","rawDrag","maxSensitivity","gestureSensitivity","gestureReleaseVelocityScale","resolveRevealGestureHandoff","buildZoomStyles","tag","zoomOptions","props","target","focused","layouts","screen","screenLayout","transitionProgress","current","next","activeTransitionProgress","active","zoomAnchor","ZOOM_SHARED_OPTIONS","anchor","bounds","createBoundsAccessorCore","getProps","scopedBounds","link","baseRawOptions","scaleMode","buildEffectiveTag","id","sourceBorderRadius","getSourceBorderRadius","targetBorderRadius","borderRadius","focusedElementOpacity","open","resolveOpacityRangeTuple","value","fallback","ZOOM_FOCUSED_ELEMENT_OPEN_OPACITY_RANGE","close","ZOOM_FOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","unfocusedElementOpacity","ZOOM_UNFOCUSED_ELEMENT_OPEN_OPACITY_RANGE","ZOOM_UNFOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","sourceVisibilityStyle","style","VISIBLE_STYLE","navigationMaskEnabled","options","velocityDepth","ZOOM_DISMISS_SCALE_ORBIT_DEPTH","liveGesture","gesture","gestureHandoff","handoff","normX","normY","initialGesture","resolveZoomPanGestureDirection","direction","rawNormX","raw","rawNormY","isHorizontalDismiss","isVerticalDismiss","Math","abs","horizontalDragTranslation","resolveDragTranslationTuple","verticalDragTranslation","dragX","resolveDirectionalDragTranslation","translation","x","dimension","width","negativeMax","positiveMax","exponent","dragY","y","height","horizontalDragScale","resolveDragScaleTuple","verticalDragScale","backgroundScale","resolveBackgroundScale","dragXScale","resolveDirectionalDragScale","normalized","dismissDirection","shrinkMin","growMax","dragYScale","dragScale","combineScales","handoffDragScale","dismissing","resolveDismissScaleHandoff","progress","releaseScale","targetScale","velocity","zoomGestureOptions","focusedContentTarget","getZoomContentTarget","explicitTarget","contentRaw","math","method","maskRaw","space","focusedFade","closing","interpolateOpacityRange","range","shouldRemoveClipping","animating","focusedMaskBorderRadius","interpolate","top","right","bottom","left","ZOOM_MASK_OUTSET","maskWidth","max","toNumber","maskHeight","contentBaseTranslateX","translateX","contentBaseTranslateY","translateY","contentBaseScale","scale","safeContentBaseScale","EPSILON","contentTranslateX","contentTranslateY","contentScale","maskBaseTranslateX","maskBaseTranslateY","maskCenterX","maskCenterY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","focusedContentStyle","opacity","debug","transform","overflow","focusedStyles","content","NAVIGATION_MASK_ELEMENT_STYLE_ID","unfocusedFade","unfocusedScale","didSourceComponentVisiblyHide","shouldHideUnfocusedElement","unfocusedElementTarget","elementRaw","boundTargetCenterX","destination","pageX","undefined","boundTargetCenterY","pageY","elementCenterX","elementCenterY","unfocusedContentScale","settled","shouldTrackGestureTranslation","shouldTrackGestureScale","elementGestureScale","elementGestureX","elementGestureY","safeUnfocusedContentScale","shouldElevateUnfocusedElement","scaleShiftX","computeCenterScaleShift","center","containerCenter","scaleShiftY","compensatedGestureX","composeCompensatedTranslation","parentScale","centerShift","epsilon","compensatedGestureY","elementTranslateX","elementTranslateY","elementScaleX","scaleX","elementScaleY","scaleY","resolvedElementStyle","zIndex","elevation"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/build.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAMA,IAAAE,yBAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI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CAAC;AACF","ignoreList":[]}
1
+ {"version":3,"names":["_reactNativeReanimated","require","_constants","_createBoundsAccessorCore","_helpers","_math","_math2","_config","_helpers2","_math3","IDENTITY_DRAG_SCALE_OUTPUT","resolveZoomGestureOptions","rawDrag","maxSensitivity","gestureSensitivity","gestureReleaseVelocityScale","resolveRevealGestureHandoff","buildZoomStyles","tag","zoomOptions","props","target","focused","layouts","screen","screenLayout","transitionProgress","current","next","activeTransitionProgress","active","zoomAnchor","ZOOM_SHARED_OPTIONS","anchor","bounds","createBoundsAccessorCore","getProps","scopedBounds","link","baseRawOptions","scaleMode","buildEffectiveTag","id","sourceBorderRadius","getSourceBorderRadius","targetBorderRadius","borderRadius","focusedElementOpacity","open","resolveOpacityRangeTuple","value","fallback","ZOOM_FOCUSED_ELEMENT_OPEN_OPACITY_RANGE","close","ZOOM_FOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","unfocusedElementOpacity","ZOOM_UNFOCUSED_ELEMENT_OPEN_OPACITY_RANGE","ZOOM_UNFOCUSED_ELEMENT_CLOSE_OPACITY_RANGE","sourceVisibilityStyle","style","VISIBLE_STYLE","navigationMaskEnabled","options","velocityDepth","ZOOM_DISMISS_SCALE_ORBIT_DEPTH","liveGesture","gesture","gestureHandoff","handoff","normX","normY","initialGesture","resolveZoomPanGestureDirection","direction","rawNormX","raw","rawNormY","isHorizontalDismiss","isVerticalDismiss","Math","abs","horizontalDragTranslation","resolveDragTranslationTuple","verticalDragTranslation","dragX","resolveDirectionalDragTranslation","translation","x","dimension","width","negativeMax","positiveMax","exponent","dragY","y","height","horizontalDragScale","resolveDragScaleTuple","verticalDragScale","backgroundScale","resolveBackgroundScale","dragXScale","resolveDirectionalDragScale","normalized","dismissDirection","shrinkMin","growMax","dragYScale","dragScale","combineScales","handoffDragScale","dismissing","resolveDismissScaleHandoff","progress","releaseScale","targetScale","velocity","zoomGestureOptions","focusedContentTarget","getZoomContentTarget","explicitTarget","contentRaw","values","method","maskRaw","space","focusedFade","closing","interpolateOpacityRange","range","shouldRemoveClipping","animating","focusedMaskBorderRadius","interpolate","top","right","bottom","left","ZOOM_MASK_OUTSET","maskWidth","max","toNumber","maskHeight","contentBaseTranslateX","translateX","contentBaseTranslateY","translateY","contentBaseScale","scale","safeContentBaseScale","EPSILON","contentTranslateX","contentTranslateY","contentScale","maskBaseTranslateX","maskBaseTranslateY","maskCenterX","maskCenterY","contentCenterX","contentCenterY","compensatedMaskTranslateX","compensatedMaskTranslateY","compensatedMaskScale","focusedContentStyle","opacity","debug","transform","overflow","focusedStyles","content","NAVIGATION_MASK_ELEMENT_STYLE_ID","unfocusedFade","unfocusedScale","didSourceComponentVisiblyHide","shouldHideUnfocusedElement","unfocusedElementTarget","elementRaw","boundTargetCenterX","destination","pageX","undefined","boundTargetCenterY","pageY","elementCenterX","elementCenterY","unfocusedContentScale","settled","shouldTrackGestureTranslation","shouldTrackGestureScale","elementGestureScale","elementGestureX","elementGestureY","safeUnfocusedContentScale","shouldElevateUnfocusedElement","scaleShiftX","computeCenterScaleShift","center","containerCenter","scaleShiftY","compensatedGestureX","composeCompensatedTranslation","parentScale","centerShift","epsilon","compensatedGestureY","elementTranslateX","elementTranslateY","elementScaleX","scaleX","elementScaleY","scaleY","resolvedElementStyle","zIndex","elevation"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/navigation/zoom/build.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAMA,IAAAE,yBAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAOA,IAAAK,MAAA,GAAAL,OAAA;AAIA,IAAAM,OAAA,GAAAN,OAAA;AASA,IAAAO,SAAA,GAAAP,OAAA;AAQA,IAAAQ,MAAA,GAAAR,OAAA;AAGA,MAAMS,0BAA0B,GAAG,CAAC,CAAC,EAAE,CAAC,CAAU;AAElD,SAASC,yBAAyBA,CAAC;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UAAU,CAACkC,MAAM,EAAE,CAAC,CAAC,GAAGrB,mBAAmB,GACrDG,yBAAyB;EAE1B,MAAMmB,oBAAoB,GAAGrC,0BAA0B,GACpD;IACAR,SAAS,EAAE,CACV;MAAEtB,UAAU,EAAE;IAAE,CAAC,EACjB;MAAEE,UAAU,EAAE;IAAE,CAAC,EACjB;MAAE8D,MAAM,EAAE;IAAE,CAAC,EACb;MAAEE,MAAM,EAAE;IAAE,CAAC,CACb;IACD9C,OAAO,EAAEjJ,WAAW,EAAEkJ,KAAK,GAAG,CAAC,GAAG,CAAC;IACnC+C,MAAM,EAAE,CAAC;IACTC,SAAS,EAAE;EACZ,CAAC,GACA;IACA/C,SAAS,EAAE,CACV;MACCtB,UAAU,EAAE6D;IACb,CAAC,EACD;MACC3D,UAAU,EAAE4D;IACb,CAAC,EACD;MACCE,MAAM,EAAED;IACT,CAAC,EACD;MACCG,MAAM,EAAED;IACT,CAAC,CACD;IACD7C,OAAO,EAAEjJ,WAAW,EAAEkJ,KAAK,GAAG,CAAC,GAAGM,aAAa;IAC/CyC,MAAM,EAAEnB,6BAA6B,GAAG,IAAI,GAAG,CAAC;IAChDoB,SAAS,EAAEpB,6BAA6B,GAAG,IAAI,GAAG;EACnD,CAAC;EAEH,OAAO;IACNnI,OAAO,EAAEuD,kBAAkB;IAC3BoD,OAAO,EAAE;MACR9G,KAAK,EAAE;QACN2G,SAAS,EAAE,CAAC;UAAElB,KAAK,EAAEqC;QAAsB,CAAC;MAC7C;IACD,CAAC;IACD,CAAChJ,iBAAiB,GAAG;MACpBkB,KAAK,EAAEwJ;IACR;EACD,CAAC;AACF","ignoreList":[]}
@@ -4,7 +4,13 @@ import { Children, cloneElement, forwardRef, isValidElement, useCallback, useMem
4
4
  import { adaptNativeStackTransitionOptions } from "./options";
5
5
  import { ScreenTransitionsScreenLayout, ScreenTransitionsStackLayout } from "./stack-layout";
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
- function adaptNavigatorChildren(children) {
7
+ export function createTransitionScreenLayout(screenLayout) {
8
+ return screenLayoutArgs => /*#__PURE__*/_jsx(ScreenTransitionsScreenLayout, {
9
+ screenLayout: screenLayout,
10
+ screenLayoutArgs: screenLayoutArgs
11
+ });
12
+ }
13
+ export function adaptNavigatorChildren(children) {
8
14
  return Children.map(children, child => {
9
15
  if (! /*#__PURE__*/isValidElement(child)) {
10
16
  return child;
@@ -20,6 +26,17 @@ function adaptNavigatorChildren(children) {
20
26
  nextProps.screenOptions = adaptNativeStackTransitionOptions(props.screenOptions);
21
27
  changed = true;
22
28
  }
29
+
30
+ // Screen and group layouts replace the navigator default, so each override
31
+ // must carry the transition screen layout with it.
32
+ if (typeof props.layout === "function") {
33
+ nextProps.layout = createTransitionScreenLayout(props.layout);
34
+ changed = true;
35
+ }
36
+ if (typeof props.screenLayout === "function") {
37
+ nextProps.screenLayout = createTransitionScreenLayout(props.screenLayout);
38
+ changed = true;
39
+ }
23
40
  if (props.children !== undefined && typeof props.children !== "function") {
24
41
  nextProps.children = adaptNavigatorChildren(props.children);
25
42
  changed = true;
@@ -41,10 +58,7 @@ export function withScreenTransitions(navigator) {
41
58
  layout: layout,
42
59
  layoutArgs: layoutArgs
43
60
  }), [layout]);
44
- const transitionScreenLayout = useCallback(screenLayoutArgs => /*#__PURE__*/_jsx(ScreenTransitionsScreenLayout, {
45
- screenLayout: screenLayout,
46
- screenLayoutArgs: screenLayoutArgs
47
- }), [screenLayout]);
61
+ const transitionScreenLayout = useMemo(() => createTransitionScreenLayout(screenLayout), [screenLayout]);
48
62
  const screenOptions = useMemo(() => adaptNativeStackTransitionOptions(props.screenOptions), [props.screenOptions]);
49
63
  const children = useMemo(() => adaptNavigatorChildren(props.children), [props.children]);
50
64
  return /*#__PURE__*/_jsx(BaseNavigator, {
@@ -1 +1 @@
1
- {"version":3,"names":["Children","cloneElement","forwardRef","isValidElement","useCallback","useMemo","adaptNativeStackTransitionOptions","ScreenTransitionsScreenLayout","ScreenTransitionsStackLayout","jsx","_jsx","adaptNavigatorChildren","children","map","child","props","nextProps","changed","options","screenOptions","undefined","withScreenTransitions","navigator","BaseNavigator","Navigator","ScreenTransitionsNavigator","layout","screenLayout","ref","transitionLayout","layoutArgs","transitionScreenLayout","screenLayoutArgs","displayName","name"],"sourceRoot":"../../../../../src","sources":["shared/adapters/with-screen-transitions/index.tsx"],"mappings":";;AAKA,SACCA,QAAQ,EACRC,YAAY,EACZC,UAAU,EACVC,cAAc,EACdC,WAAW,EACXC,OAAO,QACD,OAAO;AAKd,SAASC,iCAAiC,QAAQ,WAAW;AAC7D,SACCC,6BAA6B,EAC7BC,4BAA4B,QACtB,gBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAsBxB,SAASC,sBAAsBA,CAACC,QAAmB,EAAa;EAC/D,OAAOZ,QAAQ,CAACa,GAAG,CAACD,QAAQ,EAAGE,KAAK,IAAK;IACxC,IAAI,eAACX,cAAc,CAACW,KAAK,CAAC,EAAE;MAC3B,OAAOA,KAAK;IACb;IAEA,MAAMC,KAAK,GAAGD,KAAK,CAACC,KAAgC;IACpD,MAAMC,SAAkC,GAAG,CAAC,CAAC;IAC7C,IAAIC,OAAO,GAAG,KAAK;IAEnB,IAAI,SAAS,IAAIF,KAAK,EAAE;MACvBC,SAAS,CAACE,OAAO,GAAGZ,iCAAiC,CACpDS,KAAK,CAACG,OACP,CAAC;MACDD,OAAO,GAAG,IAAI;IACf;IAEA,IAAI,eAAe,IAAIF,KAAK,EAAE;MAC7BC,SAAS,CAACG,aAAa,GAAGb,iCAAiC,CAC1DS,KAAK,CAACI,aACP,CAAC;MACDF,OAAO,GAAG,IAAI;IACf;IAEA,IAAIF,KAAK,CAACH,QAAQ,KAAKQ,SAAS,IAAI,OAAOL,KAAK,CAACH,QAAQ,KAAK,UAAU,EAAE;MACzEI,SAAS,CAACJ,QAAQ,GAAGD,sBAAsB,CAACI,KAAK,CAACH,QAAqB,CAAC;MACxEK,OAAO,GAAG,IAAI;IACf;IAEA,IAAI,CAACA,OA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,aAAa,CAACW,IAAI,IAAI,WAAW,GAC5D;EAEH,OAAO;IACN,GAAGZ,SAAS;IACZE;EACD,CAAC;AACF","ignoreList":[]}
1
+ {"version":3,"names":["Children","cloneElement","forwardRef","isValidElement","useCallback","useMemo","adaptNativeStackTransitionOptions","ScreenTransitionsScreenLayout","ScreenTransitionsStackLayout","jsx","_jsx","createTransitionScreenLayout","screenLayout","screenLayoutArgs","adaptNavigatorChildren","children","map","child","props","nextProps","changed","options","screenOptions","layout","undefined","withScreenTransitions","navigator","BaseNavigator","Navigator","ScreenTransitionsNavigator","ref","transitionLayout","layoutArgs","transitionScreenLayout","displayName","name"],"sourceRoot":"../../../../../src","sources":["shared/adapters/with-screen-transitions/index.tsx"],"mappings":";;AAKA,SACCA,QAAQ,EACRC,YAAY,EACZC,UAAU,EACVC,cAAc,EACdC,WAAW,EACXC,OAAO,QACD,OAAO;AAKd,SAASC,iCAAiC,QAAQ,WAAW;AAC7D,SACCC,6BAA6B,EAC7BC,4BAA4B,QACtB,gBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAqBxB,OAAO,SAASC,4BAA4BA,CAC3CC,YAA2B,EACZ;EACf,OAAQC,gBAAgB,iBACvBH,IAAA,CAACH,6BAA6B;IAC7BK,YAAY,EAAEA,YAAa;IAC3BC,gBAAgB,EAAEA;EAAiB,CACnC,CACD;AACF;AAEA,OAAO,SAASC,sBAAsBA,CAACC,QAAmB,EAAa;EACtE,OAAOf,QAAQ,CAACgB,GAAG,CAACD,QAAQ,EAAGE,KAAK,IAAK;IACxC,IAAI,eAACd,cAAc,CAACc,KAAK,CAAC,EAAE;MAC3B,OAAOA,KAAK;IACb;IAEA,MAAMC,KAAK,GAAGD,KAAK,CAACC,KAAgC;IACpD,MAAMC,SAAkC,GAAG,CAAC,CAAC;IAC7C,IAAIC,OAAO,GAAG,KAAK;IAEnB,IAAI,SAAS,IAAIF,KAAK,EAAE;MACvBC,SAAS,CAACE,OAAO,GAAGf,iCAAiC,CACpD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CAACT,MAAM,CACR,CAAC;IAED,MAAMU,sBAAsB,GAAG5B,OAAO,CACrC,MAAMM,4BAA4B,CAACC,YAAY,CAAC,EAChD,CAACA,YAAY,CACd,CAAC;IACD,MAAMU,aAAa,GAAGjB,OAAO,CAC5B,MAAMC,iCAAiC,CAACY,KAAK,CAACI,aAAa,CAAC,EAC5D,CAACJ,KAAK,CAACI,aAAa,CACrB,CAAC;IACD,MAAMP,QAAQ,GAAGV,OAAO,CACvB,MAAMS,sBAAsB,CAACI,KAAK,CAACH,QAAQ,CAAC,EAC5C,CAACG,KAAK,CAACH,QAAQ,CAChB,CAAC;IAED,oBACCL,IAAA,CAACiB,aAAa;MAAA,GACTT,KAAK;MACTI,aAAa,EAAEA,aAAc;MAC7BQ,GAAG,EAAEA,GAAa;MAClBP,MAAM,EAAEQ,gBAAiB;MACzBnB,YAAY,EAAEqB,sBAAuB;MAAAlB,QAAA,EAEpCA;IAAQ,CACK,CAAC;EAElB,CACD,CAAC;EAEDa,SAAS,CAACM,WAAW,GAAG,yBACvBP,aAAa,CAACO,WAAW,IAAIP,aAAa,CAACQ,IAAI,IAAI,WAAW,GAC5D;EAEH,OAAO;IACN,GAAGT,SAAS;IACZE;EACD,CAAC;AACF","ignoreList":[]}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+
3
+ import { HistoryStore } from "../stores/history.store";
4
+ import { SystemStore } from "../stores/system.store";
5
+ import { logger } from "../utils/logger";
6
+ const resolveTransitionRouteKey = (routeKey, actionName) => {
7
+ if (routeKey !== undefined) {
8
+ if (routeKey.length === 0) {
9
+ logger.warn(`${actionName}: routeKey must not be empty`);
10
+ return undefined;
11
+ }
12
+ return routeKey;
13
+ }
14
+ const entry = HistoryStore.getMostRecent();
15
+ if (!entry) {
16
+ logger.warn(`${actionName}: No screens in history`);
17
+ return undefined;
18
+ }
19
+ return entry.descriptor.route.key;
20
+ };
21
+
22
+ /**
23
+ * Prevents a screen's pending lifecycle transition from starting.
24
+ *
25
+ * Calls are reference-counted. Every call must be paired with one
26
+ * {@linkcode unblockTransition} call for the same route. When `routeKey` is
27
+ * omitted, the most recently focused screen in navigation history is used.
28
+ *
29
+ * @param routeKey - Route key of the screen to block.
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * blockTransition(route.key);
34
+ * // Render or prepare the destination screen.
35
+ * unblockTransition(route.key);
36
+ * ```
37
+ *
38
+ * @see {@linkcode unblockTransition}
39
+ */
40
+ export function blockTransition(routeKey) {
41
+ const resolvedRouteKey = resolveTransitionRouteKey(routeKey, "blockTransition");
42
+ if (!resolvedRouteKey) {
43
+ return;
44
+ }
45
+ SystemStore.getBag(resolvedRouteKey).actions.blockLifecycleStart();
46
+ }
47
+
48
+ /**
49
+ * Releases one lifecycle transition block for a screen.
50
+ *
51
+ * The pending transition can start when the screen's final block is released.
52
+ * Extra calls are safe and leave the block count at zero. When `routeKey` is
53
+ * omitted, the most recently focused screen in navigation history is used.
54
+ *
55
+ * @param routeKey - Route key of the screen to unblock.
56
+ *
57
+ * @see {@linkcode blockTransition}
58
+ */
59
+ export function unblockTransition(routeKey) {
60
+ const resolvedRouteKey = resolveTransitionRouteKey(routeKey, "unblockTransition");
61
+ if (!resolvedRouteKey) {
62
+ return;
63
+ }
64
+ SystemStore.getBag(resolvedRouteKey).actions.unblockLifecycleStart();
65
+ }
66
+ //# sourceMappingURL=transition-blocking.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["HistoryStore","SystemStore","logger","resolveTransitionRouteKey","routeKey","actionName","undefined","length","warn","entry","getMostRecent","descriptor","route","key","blockTransition","resolvedRouteKey","getBag","actions","blockLifecycleStart","unblockTransition","unblockLifecycleStart"],"sourceRoot":"../../../../src","sources":["shared/animation/transition-blocking.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,yBAAyB;AACtD,SAASC,WAAW,QAAQ,wBAAwB;AAEpD,SAASC,MAAM,QAAQ,iBAAiB;AAExC,MAAMC,yBAAyB,GAAGA,CACjCC,QAA+B,EAC/BC,UAAmD,KACxB;EAC3B,IAAID,QAAQ,KAAKE,SAAS,EAAE;IAC3B,IAAIF,QAAQ,CAACG,MAAM,KAAK,CAAC,EAAE;MAC1BL,MAAM,CAACM,IAAI,CAAC,GAAGH,UAAU,8BAA8B,CAAC;MACxD,OAAOC,SAAS;IACjB;IAEA,OAAOF,QAAQ;EAChB;EAEA,MAAMK,KAAK,GAAGT,YAAY,CAACU,aAAa,CAAC,CAAC;EAC1C,IAAI,CAACD,KAAK,EAAE;IACXP,MAAM,CAACM,IAAI,CAAC,GAAGH,UAAU,yBAAyB,CAAC;IACnD,OAAOC,SAAS;EACjB;EAEA,OAAOG,KAAK,CAACE,UAAU,CAACC,KAAK,CAACC,GAAG;AAClC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACV,QAAoB,EAAQ;EAC3D,MAAMW,gBAAgB,GAAGZ,yBAAyB,CACjDC,QAAQ,EACR,iBACD,CAAC;EACD,IAAI,CAACW,gBAAgB,EAAE;IACtB;EACD;EAEAd,WAAW,CAACe,MAAM,CAACD,gBAAgB,CAAC,CAACE,OAAO,CAACC,mBAAmB,CAAC,CAAC;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACf,QAAoB,EAAQ;EAC7D,MAAMW,gBAAgB,GAAGZ,yBAAyB,CACjDC,QAAQ,EACR,mBACD,CAAC;EACD,IAAI,CAACW,gBAAgB,EAAE;IACtB;EACD;EAEAd,WAAW,CAACe,MAAM,CAACD,gBAAgB,CAAC,CAACE,OAAO,CAACG,qBAAqB,CAAC,CAAC;AACrE","ignoreList":[]}
@@ -1,55 +1,55 @@
1
1
  "use strict";
2
2
 
3
- import { memo, useLayoutEffect, useMemo } from "react";
3
+ import { memo, useMemo } from "react";
4
4
  import Animated, { useAnimatedRef } from "react-native-reanimated";
5
5
  import { useComposedSlotStyles, useSlotLayoutStyles } from "../../../providers/screen/styles";
6
6
  import { prepareStyleForBounds } from "../../../utils/bounds/helpers/styles/styles";
7
- import { logger } from "../../../utils/logger";
8
- import { Portal } from "../portal/components/portal";
9
- import { TARGET_OUTSIDE_ROOT_WARNING, useBoundaryRootContext } from "../providers/boundary-root.provider";
7
+ import { useRegisterTarget } from "../hooks/use-register-target";
8
+ import { BoundaryContentPortal } from "../portal/components/boundary-content-portal";
9
+ import { BoundaryPortal } from "../portal/components/boundary-portal";
10
+ import { useBoundaryRootContext } from "../providers/boundary-root.provider";
10
11
  import { jsx as _jsx } from "react/jsx-runtime";
11
12
  export const BoundaryTarget = /*#__PURE__*/memo(function BoundaryTarget(props) {
12
13
  const {
14
+ pointerEvents,
13
15
  style,
14
16
  ...rest
15
17
  } = props;
16
18
  const targetAnimatedRef = useAnimatedRef();
17
- const placeholderAnimatedRef = useAnimatedRef();
19
+ const targetEscapePlaceholderRef = useAnimatedRef();
18
20
  const rootContext = useBoundaryRootContext();
19
- const registerTargetRef = rootContext?.registerTargetRef;
20
- const unregisterTargetRef = rootContext?.unregisterTargetRef;
21
+ const boundaryId = rootContext?.boundTag.tag;
21
22
  const isActiveTarget = rootContext?.activeTargetRef === targetAnimatedRef;
22
23
  const portalRuntime = rootContext?.portalRuntime;
24
+ const portalPointerEvents = typeof pointerEvents === "string" ? pointerEvents : undefined;
25
+ const shouldEscapeTargetToScreenHost = portalRuntime?.escapeClipping === true && boundaryId !== undefined;
23
26
  const shouldApplyAssociatedStyleInline = isActiveTarget && portalRuntime?.enabled !== true;
24
27
  const shouldApplyPortalLayoutStyle = isActiveTarget && portalRuntime?.enabled === true;
25
28
  const associatedTargetStyles = useComposedSlotStyles(rootContext?.boundTag.tag, style);
26
29
  const portalLayoutStyle = useSlotLayoutStyles(rootContext?.boundTag.tag);
27
30
  const preparedStyles = useMemo(() => prepareStyleForBounds(style), [style]);
28
- // Teleported content can render outside its layout slot. The placeholder is
29
- // the truthful measurement surface whenever runtime portal behavior is active.
30
- const measurementRef = portalRuntime?.enabled ? placeholderAnimatedRef : targetAnimatedRef;
31
- useLayoutEffect(() => {
32
- if (!registerTargetRef || !unregisterTargetRef) {
33
- if (__DEV__) {
34
- logger.warn(TARGET_OUTSIDE_ROOT_WARNING);
35
- }
36
- return;
37
- }
38
- registerTargetRef(targetAnimatedRef, preparedStyles, measurementRef);
39
- return () => {
40
- unregisterTargetRef(targetAnimatedRef);
41
- };
42
- }, [registerTargetRef, unregisterTargetRef, targetAnimatedRef, preparedStyles, measurementRef]);
43
- return /*#__PURE__*/_jsx(Portal, {
44
- id: rootContext?.boundTag.tag,
45
- handoff: portalRuntime?.handoff,
46
- escapeClipping: portalRuntime?.escapeClipping,
47
- placeholderRef: placeholderAnimatedRef,
48
- children: /*#__PURE__*/_jsx(Animated.View, {
49
- ...rest,
50
- ref: targetAnimatedRef,
51
- style: [style, shouldApplyAssociatedStyleInline ? associatedTargetStyles : undefined, shouldApplyPortalLayoutStyle ? portalLayoutStyle : undefined],
52
- collapsable: false
31
+ const measurementRef = shouldEscapeTargetToScreenHost ? targetEscapePlaceholderRef : targetAnimatedRef;
32
+ useRegisterTarget({
33
+ preparedStyles,
34
+ measurementRef,
35
+ targetAnimatedRef
36
+ });
37
+ return /*#__PURE__*/_jsx(BoundaryPortal, {
38
+ boundaryId: boundaryId ?? "",
39
+ enabled: shouldEscapeTargetToScreenHost,
40
+ placeholderRef: targetEscapePlaceholderRef,
41
+ pointerEvents: portalPointerEvents,
42
+ children: /*#__PURE__*/_jsx(BoundaryContentPortal, {
43
+ boundaryId: boundaryId,
44
+ enabled: portalRuntime?.handoff === true,
45
+ pointerEvents: portalPointerEvents,
46
+ children: /*#__PURE__*/_jsx(Animated.View, {
47
+ ...rest,
48
+ pointerEvents: pointerEvents,
49
+ ref: targetAnimatedRef,
50
+ style: [style, shouldApplyAssociatedStyleInline ? associatedTargetStyles : undefined, shouldApplyPortalLayoutStyle ? portalLayoutStyle : undefined],
51
+ collapsable: false
52
+ })
53
53
  })
54
54
  });
55
55
  });
@@ -1 +1 @@
1
- {"version":3,"names":["memo","useLayoutEffect","useMemo","Animated","useAnimatedRef","useComposedSlotStyles","useSlotLayoutStyles","prepareStyleForBounds","logger","Portal","TARGET_OUTSIDE_ROOT_WARNING","useBoundaryRootContext","jsx","_jsx","BoundaryTarget","props","style","rest","targetAnimatedRef","placeholderAnimatedRef","rootContext","registerTargetRef","unregisterTargetRef","isActiveTarget","activeTargetRef","portalRuntime","shouldApplyAssociatedStyleInline","enabled","shouldApplyPortalLayoutStyle","associatedTargetStyles","boundTag","tag","portalLayoutStyle","preparedStyles","measurementRef","__DEV__","warn","id","handoff","escapeClipping","placeholderRef","children","View","ref","undefined","collapsable"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/components/boundary-target.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,eAAe,EAAEC,OAAO,QAAQ,OAAO;AAEtD,OAAOC,QAAQ,IAAIC,cAAc,QAAQ,yBAAyB;AAClE,SACCC,qBAAqB,EACrBC,mBAAmB,QACb,kCAAkC;AACzC,SAASC,qBAAqB,QAAQ,6CAA6C;AACnF,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SACCC,2BAA2B,EAC3BC,sBAAsB,QAChB,qCAAqC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI7C,OAAO,MAAMC,cAAc,gBAAGd,IAAI,CAAC,SAASc,cAAcA,CACzDC,KAA0B,EACzB;EACD,MAAM;IAAEC,KAAK;IAAE,GAAGC;EAAK,CAAC,GAAGF,KAAK;EAChC,MAAMG,iBAAiB,GAAGd,cAAc,CAAO,CAAC;EAChD,MAAMe,sBAAsB,GAAGf,cAAc,CAAO,CAAC;EACrD,MAAMgB,WAAW,GAAGT,sBAAsB,CAAC,CAAC;EAC5C,MAAMU,iBAAiB,GAAGD,WAAW,EAAEC,iBAAiB;EACxD,MAAMC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,cAAe;IAC9CC,cAAc,EAAErB,sBAAuB;IAAAsB,QAAA,eAEvC5B,IAAA,CAACV,QAAQ,CAACuC,IAAI;MAAA,GACTzB,IAAI;MACR0B,GAAG,EAAEzB,iBAAkB;MACvBF,KAAK,EAAE,CACNA,KAAK,EACLU,gCAAgC,GAAGG,sBAAsB,GAAGe,SAAS,EACrEhB,4BAA4B,GAAGI,iBAAiB,GAAGY,SAAS,CAC3D;MACFC,WAAW,EAAE;IAAM,CACnB;EAAC,CACK,CAAC;AAEX,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["memo","useMemo","Animated","useAnimatedRef","useComposedSlotStyles","useSlotLayoutStyles","prepareStyleForBounds","useRegisterTarget","BoundaryContentPortal","BoundaryPortal","useBoundaryRootContext","jsx","_jsx","BoundaryTarget","props","pointerEvents","style","rest","targetAnimatedRef","targetEscapePlaceholderRef","rootContext","boundaryId","boundTag","tag","isActiveTarget","activeTargetRef","portalRuntime","portalPointerEvents","undefined","shouldEscapeTargetToScreenHost","escapeClipping","shouldApplyAssociatedStyleInline","enabled","shouldApplyPortalLayoutStyle","associatedTargetStyles","portalLayoutStyle","preparedStyles","measurementRef","placeholderRef","children","handoff","View","ref","collapsable"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/components/boundary-target.tsx"],"mappings":";;AACA,SAASA,IAAI,EAAEC,OAAO,QAAQ,OAAO;AAErC,OAAOC,QAAQ,IAAIC,cAAc,QAAQ,yBAAyB;AAClE,SACCC,qBAAqB,EACrBC,mBAAmB,QACb,kCAAkC;AACzC,SAASC,qBAAqB,QAAQ,6CAA6C;AACnF,SAASC,iBAAiB,QAAQ,8BAA8B;AAChE,SAASC,qBAAqB,QAAQ,8CAA8C;AACpF,SAASC,cAAc,QAAQ,sCAAsC;AACrE,SAASC,sBAAsB,QAAQ,qCAAqC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI7E,OAAO,MAAMC,cAAc,gBAAGb,IAAI,CAAC,SAASa,cAAcA,CACz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W,OAAO,EAAEH,8BAA+B;IACxCS,cAAc,EAAEnB,0BAA2B;IAC3CJ,aAAa,EAAEY,mBAAoB;IAAAY,QAAA,eAEnC3B,IAAA,CAACJ,qBAAqB;MACrBa,UAAU,EAAEA,UAAW;MACvBW,OAAO,EAAEN,aAAa,EAAEc,OAAO,KAAK,IAAK;MACzCzB,aAAa,EAAEY,mBAAoB;MAAAY,QAAA,eAEnC3B,IAAA,CAACV,QAAQ,CAACuC,IAAI;QAAA,GACTxB,IAAI;QACRF,aAAa,EAAEA,aAAc;QAC7B2B,GAAG,EAAExB,iBAAkB;QACvBF,KAAK,EAAE,CACNA,KAAK,EACLe,gCAAgC,GAC7BG,sBAAsB,GACtBN,SAAS,EACZK,4BAA4B,GAAGE,iBAAiB,GAAGP,SAAS,CAC3D;QACFe,WAAW,EAAE;MAAM,CACnB;IAAC,CACoB;EAAC,CACT,CAAC;AAEnB,CAAC,CAAC","ignoreList":[]}
@@ -1,25 +1,11 @@
1
1
  "use strict";
2
2
 
3
- import { forwardRef, memo, useImperativeHandle, useMemo } from "react";
4
- import Animated, { useAnimatedRef } from "react-native-reanimated";
5
- import { useDescriptorsStore } from "../../providers/screen/descriptors";
6
- import { useComposedSlotStyles, useSlotStackingStyles } from "../../providers/screen/styles";
7
- import { createBoundTag } from "../../stores/bounds/helpers/link-pairs.helpers";
8
- import { useBoundaryMeasurement } from "./hooks/use-boundary-measurement";
9
- import { BoundaryLocalPortalHost } from "./portal/components/boundary-local-portal-host";
10
- import { Portal } from "./portal/components/portal";
11
- import { resolveBoundaryPortal } from "./portal/utils/resolve-portal";
12
- import { BoundaryRootProvider, useBoundaryRootState } from "./providers/boundary-root.provider";
13
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
- const hasRenderableChildren = children => {
15
- if (children === null || children === undefined || typeof children === "boolean") {
16
- return false;
17
- }
18
- if (Array.isArray(children)) {
19
- return children.some(hasRenderableChildren);
20
- }
21
- return true;
22
- };
3
+ import { forwardRef, memo } from "react";
4
+ import Animated from "react-native-reanimated";
5
+ import { BoundaryContentPortalHost } from "./portal/components/boundary-content-portal";
6
+ import { BoundaryPortal } from "./portal/components/boundary-portal";
7
+ import { BoundaryRootProvider } from "./providers/boundary-root.provider";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
23
9
  export function createBoundaryComponent(Wrapped, options = {}) {
24
10
  const {
25
11
  alreadyAnimated = false
@@ -35,93 +21,42 @@ export function createBoundaryComponent(Wrapped, options = {}) {
35
21
  target,
36
22
  method,
37
23
  style,
38
- onPress,
39
24
  handoff,
40
25
  escapeClipping,
41
26
  children,
42
27
  ...rest
43
28
  } = props;
44
- const boundTag = useMemo(() => createBoundTag(String(id), group), [id, group]);
45
- const portalRuntime = resolveBoundaryPortal({
46
- handoff,
47
- escapeClipping
48
- });
49
- const currentScreenKey = useDescriptorsStore(s => s.derivations.currentScreenKey);
50
- const hasConfiguredInterpolator = useDescriptorsStore(s => s.derivations.hasConfiguredInterpolator);
51
- const runtimeEnabled = enabled && hasConfiguredInterpolator;
52
- // Associated slot styles attach whenever the boundary is enabled,
53
- // independent of whether an interpolator is configured for this transition.
54
- const shouldAttachAssociatedStyles = enabled;
55
- const canPortalRoot = portalRuntime.enabled && hasRenderableChildren(children);
56
- const associatedStyles = useComposedSlotStyles(boundTag.tag, style);
57
- const associatedStackingStyles = useSlotStackingStyles(boundTag.tag);
58
- const rootPlaceholderRef = useAnimatedRef();
59
- const {
60
- ref,
61
- contextValue,
62
- measuredRef,
63
- hasActiveTarget,
64
- targetPreparedStyles
65
- } = useBoundaryRootState({
66
- boundTag,
67
- portalRuntime,
68
- rootMeasurementRef: canPortalRoot ? rootPlaceholderRef : undefined
69
- });
70
- useBoundaryMeasurement({
71
- boundTag,
72
- enabled,
73
- runtimeEnabled,
74
- currentScreenKey,
75
- measuredRef,
76
- style,
77
- targetPreparedStyles,
78
- handoff: portalRuntime.handoff,
79
- escapeClipping: portalRuntime.escapeClipping,
29
+ return /*#__PURE__*/_jsx(BoundaryRootProvider, {
80
30
  config: {
81
31
  anchor,
82
32
  scaleMode,
83
33
  target,
84
34
  method
85
- }
86
- });
87
- useImperativeHandle(forwardedRef, () => ref.current, [ref]);
88
- const shouldPortalRoot = canPortalRoot && !hasActiveTarget;
89
- // A nested active target takes the full associated style, so the root keeps
90
- // only its stacking context. Without a nested target, a portal'd root is the
91
- // target, so its associated style is applied through the portal host instead
92
- // of inline on the teleported element.
93
- // Host-only handoff receivers still need the associated style: their local
94
- // portal host is absolute-filled inside this root, so the root is the visual
95
- // frame that animates the received payload.
96
- const attachedStyle = shouldAttachAssociatedStyles ? hasActiveTarget ? associatedStackingStyles : shouldPortalRoot ? undefined : associatedStyles : undefined;
97
- const pressProps = typeof onPress === "function" ? {
98
- onPress
99
- } : undefined;
100
- const localPortalHost = /*#__PURE__*/_jsx(BoundaryLocalPortalHost, {
101
- boundaryId: boundTag.tag,
102
- enabled: enabled && portalRuntime.handoff,
103
- screenKey: currentScreenKey
104
- });
105
- const canInjectLocalPortalHost = typeof children !== "function";
106
- const renderBoundaryRoot = extraChildren => /*#__PURE__*/_jsxs(AnimatedComponent, {
107
- ...rest,
108
- ...pressProps,
109
- ref: ref,
110
- style: [style, attachedStyle],
111
- collapsable: false,
112
- children: [children, canInjectLocalPortalHost ? extraChildren : null]
113
- });
114
- const boundaryRoot = renderBoundaryRoot(shouldPortalRoot ? undefined : localPortalHost);
115
- return /*#__PURE__*/_jsx(BoundaryRootProvider, {
116
- value: contextValue,
117
- children: shouldPortalRoot ? /*#__PURE__*/_jsx(Portal, {
118
- id: boundTag.tag,
119
- handoff: portalRuntime.handoff,
120
- escapeClipping: portalRuntime.escapeClipping,
121
- placeholderRef: rootPlaceholderRef,
122
- placeholderChildren: portalRuntime.handoff ? localPortalHost : undefined,
123
- children: boundaryRoot
124
- }) : boundaryRoot
35
+ },
36
+ enabled: enabled,
37
+ escapeClipping: escapeClipping,
38
+ forwardedRef: forwardedRef,
39
+ group: group,
40
+ handoff: handoff,
41
+ id: id,
42
+ style: style,
43
+ children: root => /*#__PURE__*/_jsx(BoundaryPortal, {
44
+ boundaryId: root.boundTag.tag,
45
+ enabled: root.shouldRenderBoundaryRootThroughPortal,
46
+ placeholderRef: root.rootEscapePlaceholderRef,
47
+ children: /*#__PURE__*/_jsx(AnimatedComponent, {
48
+ ...rest,
49
+ ref: root.ref,
50
+ style: [style, root.attachedStyle],
51
+ collapsable: false,
52
+ children: /*#__PURE__*/_jsx(BoundaryContentPortalHost, {
53
+ boundaryId: root.boundTag.tag,
54
+ enabled: root.shouldRenderHandoffHost,
55
+ screenKey: root.currentScreenKey,
56
+ children: children
57
+ })
58
+ })
59
+ })
125
60
  });
126
61
  });
127
62
 
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","memo","useImperativeHandle","useMemo","Animated","useAnimatedRef","useDescriptorsStore","useComposedSlotStyles","useSlotStackingStyles","createBoundTag","useBoundaryMeasurement","BoundaryLocalPortalHost","Portal","resolveBoundaryPortal","BoundaryRootProvider","useBoundaryRootState","jsx","_jsx","jsxs","_jsxs","hasRenderableChildren","children","undefined","Array","isArray","some","createBoundaryComponent","Wrapped","options","alreadyAnimated","AnimatedComponent","createAnimatedComponent","Inner","props","forwardedRef","enabled","group","id","anchor","scaleMode","target","method","style","onPress","handoff","escapeClipping","rest","boundTag","String","portalRuntime","currentScreenKey","s","derivations","hasConfiguredInterpolator","runtimeEnabled","shouldAttachAssociatedStyles","canPortalRoot","associatedStyles","tag","associatedStackingStyles","rootPlaceholderRef","ref","contextValue","measuredRef","hasActiveTarget","targetPreparedStyles","rootMeasurementRef","config","current","shouldPortalRoot","attachedStyle","pressProps","localPortalHost","boundaryId","screenKey","canInjectLocalPortalHost","renderBoundaryRoot","extraChildren","collapsable","boundaryRoot","value","placeholderRef","placeholderChildren"],"sourceRoot":"../../../../../src","sources":["shared/components/boundary/create-boundary-component.tsx"],"mappings":";;AAAA,SAECA,UAAU,EACVC,IAAI,EAEJC,mBAAmB,EACnBC,OAAO,Q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,IAAA,CAACL,MAAM;QACNyB,EAAE,EAAEU,QAAQ,CAACW,GAAI;QACjBd,OAAO,EAAEK,aAAa,CAACL,OAAQ;QAC/BC,cAAc,EAAEI,aAAa,CAACJ,cAAe;QAC7CoC,cAAc,EAAErB,kBAAmB;QACnCsB,mBAAmB,EAClBjC,aAAa,CAACL,OAAO,GAAG4B,eAAe,GAAGlD,SAC1C;QAAAD,QAAA,EAEA0D;MAAY,CACN,CAAC,GAETA;IACA,CACoB,CAAC;EAEzB,CAAC,CAAC;;EAEF;EACA;EACA,oBAAO9E,IAAI,CAAC+B,KAAK,CAAC;AAMnB","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","memo","Animated","BoundaryContentPortalHost","BoundaryPortal","BoundaryRootProvider","jsx","_jsx","createBoundaryComponent","Wrapped","options","alreadyAnimated","AnimatedComponent","createAnimatedComponent","Inner","props","forwardedRef","enabled","group","id","anchor","scaleMode","target","method","style","handoff","escapeClipping","children","rest","config","root","boundaryId","boundTag","tag","shouldRenderBoundaryRootThroughPortal","placeholderRef","rootEscapePlaceholderRef","ref","attachedStyle","collapsable","shouldRenderHandoffHost","screenKey","currentScreenKey"],"sourceRoot":"../../../../../src","sources":["shared/components/boundary/create-boundary-component.tsx"],"mappings":";;AAAA,SAA6BA,UAAU,EAAEC,IAAI,QAAQ,OAAO;AAC5D,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,yBAAyB,QAAQ,6CAA6C;AACvF,SAASC,cAAc,QAAQ,qCAAqC;AACpE,SAASC,oBAAoB,QAAQ,oCAAoC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAO1E,OAAO,SAASC,uBAAuBA,CACtCC,OAAyB,EACzBC,OAAuC,GAAG,CAAC,CAAC,EAC3C;EACD,MAAM;IAAEC,eAAe,GAAG;EAAM,CAAC,GAAGD,OAAO;EAC3C,MAAME,iBAAiB,GAAGD,eAAe,GACtCF,OAAO,GACPP,QAAQ,CAACW,uBAAuB,CAACJ,OAAO,CA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