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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/lib/commonjs/shared/components/boundary/components/boundary-target.js +14 -9
  2. package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -1
  3. package/lib/commonjs/shared/components/boundary/create-boundary-component.js +66 -28
  4. package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -1
  5. package/lib/commonjs/shared/components/boundary/hooks/{use-boundary-presence.js → lifecycles/use-boundary-presence.js} +8 -4
  6. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -0
  7. package/lib/commonjs/shared/components/boundary/hooks/{use-initial-destination-measurement.js → lifecycles/use-initial-destination-measurement.js} +27 -10
  8. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -0
  9. package/lib/commonjs/shared/components/boundary/hooks/{use-initial-source-measurement.js → lifecycles/use-initial-source-measurement.js} +5 -7
  10. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -0
  11. package/lib/commonjs/shared/components/boundary/hooks/{use-refresh-boundary.js → lifecycles/use-refresh-boundary.js} +4 -4
  12. package/lib/commonjs/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -0
  13. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js +14 -35
  14. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  15. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js +5 -6
  16. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  17. package/lib/commonjs/shared/components/boundary/index.js +26 -29
  18. package/lib/commonjs/shared/components/boundary/index.js.map +1 -1
  19. package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js +58 -0
  20. package/lib/commonjs/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +1 -0
  21. package/lib/commonjs/shared/components/boundary/portal/components/host.js +20 -4
  22. package/lib/commonjs/shared/components/boundary/portal/components/host.js.map +1 -1
  23. package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js +78 -27
  24. package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -1
  25. package/lib/commonjs/shared/components/boundary/portal/components/portal.js +195 -121
  26. package/lib/commonjs/shared/components/boundary/portal/components/portal.js.map +1 -1
  27. package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js +14 -2
  28. package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -1
  29. package/lib/commonjs/shared/components/boundary/portal/hooks/use-placeholder-styles.js +57 -0
  30. package/lib/commonjs/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
  31. package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js +5 -44
  32. package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -1
  33. package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js +37 -5
  34. package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -1
  35. package/lib/commonjs/shared/components/boundary/portal/teleport.js +15 -2
  36. package/lib/commonjs/shared/components/boundary/portal/teleport.js.map +1 -1
  37. package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js +18 -0
  38. package/lib/commonjs/shared/components/boundary/portal/utils/has-local-slot.js.map +1 -0
  39. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js +10 -3
  40. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js.map +1 -1
  41. package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js +28 -48
  42. package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js.map +1 -1
  43. package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js +254 -0
  44. package/lib/commonjs/shared/components/boundary/portal/utils/ownership.js.map +1 -0
  45. package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js +38 -0
  46. package/lib/commonjs/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -0
  47. package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js +29 -0
  48. package/lib/commonjs/shared/components/boundary/portal/utils/shallow-equal.js.map +1 -0
  49. package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js +10 -1
  50. package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
  51. package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js +25 -0
  52. package/lib/commonjs/shared/components/boundary/portal/utils/visible-host.js.map +1 -0
  53. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js +6 -7
  54. package/lib/commonjs/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  55. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +1 -22
  56. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +1 -1
  57. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +0 -21
  58. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +1 -1
  59. package/lib/commonjs/shared/components/boundary/utils/source-signals.js +4 -9
  60. package/lib/commonjs/shared/components/boundary/utils/source-signals.js.map +1 -1
  61. package/lib/commonjs/shared/components/masked-view.js +5 -0
  62. package/lib/commonjs/shared/components/masked-view.js.map +1 -1
  63. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +18 -8
  64. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
  65. package/lib/commonjs/shared/components/screen-container/layers/content.js +34 -16
  66. package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
  67. package/lib/commonjs/shared/components/screen-container/layers/render-component.js +10 -0
  68. package/lib/commonjs/shared/components/screen-container/layers/render-component.js.map +1 -0
  69. package/lib/commonjs/shared/components/screen-container/layers/surface-container.js +5 -3
  70. package/lib/commonjs/shared/components/screen-container/layers/surface-container.js.map +1 -1
  71. package/lib/commonjs/shared/index.js +4 -0
  72. package/lib/commonjs/shared/index.js.map +1 -1
  73. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +6 -3
  74. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  75. package/lib/commonjs/shared/providers/register-bounds.provider.js +6 -0
  76. package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
  77. package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js +1 -0
  78. package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
  79. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +1 -0
  80. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  81. package/lib/commonjs/shared/providers/screen/styles/helpers/compose-slot-style.js +95 -0
  82. package/lib/commonjs/shared/providers/screen/styles/helpers/compose-slot-style.js.map +1 -0
  83. package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js +30 -9
  84. package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
  85. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +9 -3
  86. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  87. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +2 -0
  88. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -1
  89. package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js +96 -0
  90. package/lib/commonjs/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -0
  91. package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +16 -3
  92. package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  93. package/lib/commonjs/shared/providers/screen/styles/index.js +16 -3
  94. package/lib/commonjs/shared/providers/screen/styles/index.js.map +1 -1
  95. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js +22 -51
  96. package/lib/commonjs/shared/providers/screen/styles/slot.provider.js.map +1 -1
  97. package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js +53 -0
  98. package/lib/commonjs/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -0
  99. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +22 -2
  100. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  101. package/lib/commonjs/shared/stores/bounds/internals/entries.js +11 -4
  102. package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
  103. package/lib/commonjs/shared/stores/bounds/internals/links.js +134 -51
  104. package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
  105. package/lib/commonjs/shared/stores/bounds/internals/resolver.js +1 -3
  106. package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
  107. package/lib/commonjs/shared/stores/system.store.js +5 -0
  108. package/lib/commonjs/shared/stores/system.store.js.map +1 -1
  109. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +10 -69
  110. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  111. package/lib/commonjs/shared/utils/bounds/helpers/styles/local-transform.js +59 -0
  112. package/lib/commonjs/shared/utils/bounds/helpers/styles/local-transform.js.map +1 -0
  113. package/lib/module/shared/components/boundary/components/boundary-target.js +12 -7
  114. package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -1
  115. package/lib/module/shared/components/boundary/create-boundary-component.js +67 -29
  116. package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -1
  117. package/lib/module/shared/components/boundary/hooks/{use-boundary-presence.js → lifecycles/use-boundary-presence.js} +8 -4
  118. package/lib/module/shared/components/boundary/hooks/lifecycles/use-boundary-presence.js.map +1 -0
  119. package/lib/module/shared/components/boundary/hooks/{use-initial-destination-measurement.js → lifecycles/use-initial-destination-measurement.js} +27 -10
  120. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -0
  121. package/lib/module/shared/components/boundary/hooks/{use-initial-source-measurement.js → lifecycles/use-initial-source-measurement.js} +5 -7
  122. package/lib/module/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -0
  123. package/lib/module/shared/components/boundary/hooks/{use-refresh-boundary.js → lifecycles/use-refresh-boundary.js} +4 -4
  124. package/lib/module/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -0
  125. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js +15 -36
  126. package/lib/module/shared/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
  127. package/lib/module/shared/components/boundary/hooks/use-measurer.js +5 -6
  128. package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -1
  129. package/lib/module/shared/components/boundary/index.js +26 -29
  130. package/lib/module/shared/components/boundary/index.js.map +1 -1
  131. package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js +53 -0
  132. package/lib/module/shared/components/boundary/portal/components/boundary-local-portal-host.js.map +1 -0
  133. package/lib/module/shared/components/boundary/portal/components/host.js +21 -5
  134. package/lib/module/shared/components/boundary/portal/components/host.js.map +1 -1
  135. package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js +79 -28
  136. package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -1
  137. package/lib/module/shared/components/boundary/portal/components/portal.js +201 -127
  138. package/lib/module/shared/components/boundary/portal/components/portal.js.map +1 -1
  139. package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js +15 -3
  140. package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -1
  141. package/lib/module/shared/components/boundary/portal/hooks/use-placeholder-styles.js +52 -0
  142. package/lib/module/shared/components/boundary/portal/hooks/use-placeholder-styles.js.map +1 -0
  143. package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js +4 -41
  144. package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -1
  145. package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js +35 -4
  146. package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -1
  147. package/lib/module/shared/components/boundary/portal/teleport.js +16 -2
  148. package/lib/module/shared/components/boundary/portal/teleport.js.map +1 -1
  149. package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js +13 -0
  150. package/lib/module/shared/components/boundary/portal/utils/has-local-slot.js.map +1 -0
  151. package/lib/module/shared/components/boundary/portal/utils/naming.js +8 -2
  152. package/lib/module/shared/components/boundary/portal/utils/naming.js.map +1 -1
  153. package/lib/module/shared/components/boundary/portal/utils/offset-style.js +29 -48
  154. package/lib/module/shared/components/boundary/portal/utils/offset-style.js.map +1 -1
  155. package/lib/module/shared/components/boundary/portal/utils/ownership.js +246 -0
  156. package/lib/module/shared/components/boundary/portal/utils/ownership.js.map +1 -0
  157. package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js +33 -0
  158. package/lib/module/shared/components/boundary/portal/utils/resolve-portal.js.map +1 -0
  159. package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js +24 -0
  160. package/lib/module/shared/components/boundary/portal/utils/shallow-equal.js.map +1 -0
  161. package/lib/module/shared/components/boundary/portal/utils/teleport-control.js +8 -0
  162. package/lib/module/shared/components/boundary/portal/utils/teleport-control.js.map +1 -1
  163. package/lib/module/shared/components/boundary/portal/utils/visible-host.js +20 -0
  164. package/lib/module/shared/components/boundary/portal/utils/visible-host.js.map +1 -0
  165. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js +6 -7
  166. package/lib/module/shared/components/boundary/providers/boundary-root.provider.js.map +1 -1
  167. package/lib/module/shared/components/boundary/utils/destination-signals.js +2 -23
  168. package/lib/module/shared/components/boundary/utils/destination-signals.js.map +1 -1
  169. package/lib/module/shared/components/boundary/utils/refresh-signals.js +0 -21
  170. package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +1 -1
  171. package/lib/module/shared/components/boundary/utils/source-signals.js +4 -9
  172. package/lib/module/shared/components/boundary/utils/source-signals.js.map +1 -1
  173. package/lib/module/shared/components/masked-view.js +5 -0
  174. package/lib/module/shared/components/masked-view.js.map +1 -1
  175. package/lib/module/shared/components/screen-container/layers/backdrop.js +19 -9
  176. package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
  177. package/lib/module/shared/components/screen-container/layers/content.js +35 -17
  178. package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
  179. package/lib/module/shared/components/screen-container/layers/render-component.js +6 -0
  180. package/lib/module/shared/components/screen-container/layers/render-component.js.map +1 -0
  181. package/lib/module/shared/components/screen-container/layers/surface-container.js +5 -3
  182. package/lib/module/shared/components/screen-container/layers/surface-container.js.map +1 -1
  183. package/lib/module/shared/index.js +4 -0
  184. package/lib/module/shared/index.js.map +1 -1
  185. package/lib/module/shared/providers/helpers/measured-bounds-writes.js +6 -3
  186. package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  187. package/lib/module/shared/providers/register-bounds.provider.js +6 -0
  188. package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
  189. package/lib/module/shared/providers/screen/animation/helpers/derivations.js +1 -0
  190. package/lib/module/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
  191. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +1 -0
  192. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  193. package/lib/module/shared/providers/screen/styles/helpers/compose-slot-style.js +89 -0
  194. package/lib/module/shared/providers/screen/styles/helpers/compose-slot-style.js.map +1 -0
  195. package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js +30 -9
  196. package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -1
  197. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +9 -3
  198. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  199. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js +2 -0
  200. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.js.map +1 -1
  201. package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js +87 -0
  202. package/lib/module/shared/providers/screen/styles/hooks/slot-resolvers.js.map +1 -0
  203. package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +16 -3
  204. package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
  205. package/lib/module/shared/providers/screen/styles/index.js +2 -1
  206. package/lib/module/shared/providers/screen/styles/index.js.map +1 -1
  207. package/lib/module/shared/providers/screen/styles/slot.provider.js +22 -47
  208. package/lib/module/shared/providers/screen/styles/slot.provider.js.map +1 -1
  209. package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js +47 -0
  210. package/lib/module/shared/providers/screen/styles/stores/slot-references.store.js.map +1 -0
  211. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +19 -1
  212. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  213. package/lib/module/shared/stores/bounds/internals/entries.js +11 -4
  214. package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
  215. package/lib/module/shared/stores/bounds/internals/links.js +135 -53
  216. package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
  217. package/lib/module/shared/stores/bounds/internals/resolver.js +1 -3
  218. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  219. package/lib/module/shared/stores/system.store.js +5 -0
  220. package/lib/module/shared/stores/system.store.js.map +1 -1
  221. package/lib/module/shared/types/animation.types.js.map +1 -1
  222. package/lib/module/shared/utils/bounds/helpers/styles/compute.js +10 -69
  223. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  224. package/lib/module/shared/utils/bounds/helpers/styles/local-transform.js +52 -0
  225. package/lib/module/shared/utils/bounds/helpers/styles/local-transform.js.map +1 -0
  226. package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts +1 -2
  227. package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts.map +1 -1
  228. package/lib/typescript/component-stack/components/component-screen.d.ts +1 -1
  229. package/lib/typescript/component-stack/components/component-screen.d.ts.map +1 -1
  230. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +1 -2
  231. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts.map +1 -1
  232. package/lib/typescript/component-stack/types.d.ts +26 -0
  233. package/lib/typescript/component-stack/types.d.ts.map +1 -1
  234. package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts +1 -1
  235. package/lib/typescript/native-stack/navigators/createNativeStackNavigator.d.ts.map +1 -1
  236. package/lib/typescript/native-stack/views/NativeStackView.d.ts +1 -2
  237. package/lib/typescript/native-stack/views/NativeStackView.d.ts.map +1 -1
  238. package/lib/typescript/native-stack/views/useHeaderConfigProps.d.ts +2 -2
  239. package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts +1 -1
  240. package/lib/typescript/shared/adapters/with-screen-transitions/context.d.ts.map +1 -1
  241. package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts +1 -1
  242. package/lib/typescript/shared/adapters/with-screen-transitions/stack-layout.d.ts.map +1 -1
  243. package/lib/typescript/shared/components/activity/variants/activity-container.d.ts +1 -1
  244. package/lib/typescript/shared/components/activity/variants/activity-container.d.ts.map +1 -1
  245. package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts +1 -1
  246. package/lib/typescript/shared/components/activity/variants/activity-screen.d.ts.map +1 -1
  247. package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts +1 -1
  248. package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -1
  249. package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts +0 -1
  250. package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -1
  251. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts +11 -0
  252. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-boundary-presence.d.ts.map +1 -0
  253. package/lib/typescript/shared/components/boundary/hooks/{use-initial-destination-measurement.d.ts → lifecycles/use-initial-destination-measurement.d.ts} +2 -2
  254. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -0
  255. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts +8 -0
  256. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map +1 -0
  257. package/lib/typescript/shared/components/boundary/hooks/{use-refresh-boundary.d.ts → lifecycles/use-refresh-boundary.d.ts} +2 -2
  258. package/lib/typescript/shared/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +1 -0
  259. package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts +5 -9
  260. package/lib/typescript/shared/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
  261. package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts +4 -3
  262. package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -1
  263. package/lib/typescript/shared/components/boundary/index.d.ts +35 -24
  264. package/lib/typescript/shared/components/boundary/index.d.ts.map +1 -1
  265. package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts +8 -0
  266. package/lib/typescript/shared/components/boundary/portal/components/boundary-local-portal-host.d.ts.map +1 -0
  267. package/lib/typescript/shared/components/boundary/portal/components/host.d.ts +2 -2
  268. package/lib/typescript/shared/components/boundary/portal/components/host.d.ts.map +1 -1
  269. package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts +2 -2
  270. package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map +1 -1
  271. package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts +1 -1
  272. package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts.map +1 -1
  273. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts +4 -3
  274. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts.map +1 -1
  275. package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map +1 -1
  276. package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts +17 -0
  277. package/lib/typescript/shared/components/boundary/portal/hooks/use-placeholder-styles.d.ts.map +1 -0
  278. package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts +0 -7
  279. package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map +1 -1
  280. package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts +16 -1
  281. package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +1 -1
  282. package/lib/typescript/shared/components/boundary/portal/teleport.d.ts +1 -1
  283. package/lib/typescript/shared/components/boundary/portal/teleport.d.ts.map +1 -1
  284. package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts +3 -0
  285. package/lib/typescript/shared/components/boundary/portal/utils/has-local-slot.d.ts.map +1 -0
  286. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts +2 -1
  287. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts.map +1 -1
  288. package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts +23 -30
  289. package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts.map +1 -1
  290. package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts +35 -0
  291. package/lib/typescript/shared/components/boundary/portal/utils/ownership.d.ts.map +1 -0
  292. package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts +12 -0
  293. package/lib/typescript/shared/components/boundary/portal/utils/resolve-portal.d.ts.map +1 -0
  294. package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts +8 -0
  295. package/lib/typescript/shared/components/boundary/portal/utils/shallow-equal.d.ts.map +1 -0
  296. package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts +4 -0
  297. package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts.map +1 -1
  298. package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts +8 -0
  299. package/lib/typescript/shared/components/boundary/portal/utils/visible-host.d.ts.map +1 -0
  300. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts +7 -12
  301. package/lib/typescript/shared/components/boundary/providers/boundary-root.provider.d.ts.map +1 -1
  302. package/lib/typescript/shared/components/boundary/types.d.ts +9 -36
  303. package/lib/typescript/shared/components/boundary/types.d.ts.map +1 -1
  304. package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +1 -1
  305. package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +1 -1
  306. package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts +0 -1
  307. package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts.map +1 -1
  308. package/lib/typescript/shared/components/create-transition-aware-component.d.ts +6 -5
  309. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  310. package/lib/typescript/shared/components/masked-view.d.ts +5 -1
  311. package/lib/typescript/shared/components/masked-view.d.ts.map +1 -1
  312. package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts +1 -1
  313. package/lib/typescript/shared/components/overlay/variations/float-overlay.d.ts.map +1 -1
  314. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts +1 -1
  315. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
  316. package/lib/typescript/shared/components/scene-view.d.ts +1 -1
  317. package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
  318. package/lib/typescript/shared/components/screen-container/index.d.ts +1 -1
  319. package/lib/typescript/shared/components/screen-container/index.d.ts.map +1 -1
  320. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts +1 -1
  321. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
  322. package/lib/typescript/shared/components/screen-container/layers/content.d.ts +1 -1
  323. package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
  324. package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts +1 -1
  325. package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
  326. package/lib/typescript/shared/components/screen-container/layers/render-component.d.ts +3 -0
  327. package/lib/typescript/shared/components/screen-container/layers/render-component.d.ts.map +1 -0
  328. package/lib/typescript/shared/components/screen-container/layers/surface-container.d.ts +1 -1
  329. package/lib/typescript/shared/components/screen-container/layers/surface-container.d.ts.map +1 -1
  330. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +1 -1
  331. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
  332. package/lib/typescript/shared/index.d.ts +731 -683
  333. package/lib/typescript/shared/index.d.ts.map +1 -1
  334. package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +3 -3
  335. package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
  336. package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
  337. package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts +1 -0
  338. package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts.map +1 -1
  339. package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
  340. package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts +1 -1
  341. package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
  342. package/lib/typescript/shared/providers/screen/screen-composer.d.ts +1 -1
  343. package/lib/typescript/shared/providers/screen/screen-composer.d.ts.map +1 -1
  344. package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts +1 -1
  345. package/lib/typescript/shared/providers/screen/styles/components/floating-overlay-layer.d.ts.map +1 -1
  346. package/lib/typescript/shared/providers/screen/styles/helpers/compose-slot-style.d.ts +4 -0
  347. package/lib/typescript/shared/providers/screen/styles/helpers/compose-slot-style.d.ts.map +1 -0
  348. package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts.map +1 -1
  349. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
  350. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts +2 -1
  351. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.d.ts.map +1 -1
  352. package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts +11 -0
  353. package/lib/typescript/shared/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -0
  354. package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +4 -1
  355. package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
  356. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +3 -3
  357. package/lib/typescript/shared/providers/screen/styles/index.d.ts +2 -1
  358. package/lib/typescript/shared/providers/screen/styles/index.d.ts.map +1 -1
  359. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts +5 -10
  360. package/lib/typescript/shared/providers/screen/styles/slot.provider.d.ts.map +1 -1
  361. package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts +6 -0
  362. package/lib/typescript/shared/providers/screen/styles/stores/slot-references.store.d.ts.map +1 -0
  363. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +2 -0
  364. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -1
  365. package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
  366. package/lib/typescript/shared/stores/bounds/internals/links.d.ts +4 -3
  367. package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
  368. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  369. package/lib/typescript/shared/stores/bounds/types.d.ts +9 -20
  370. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  371. package/lib/typescript/shared/stores/system.store.d.ts +1 -0
  372. package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
  373. package/lib/typescript/shared/types/animation.types.d.ts +7 -1
  374. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
  375. package/lib/typescript/shared/types/index.d.ts +1 -1
  376. package/lib/typescript/shared/types/index.d.ts.map +1 -1
  377. package/lib/typescript/shared/types/screen.types.d.ts +99 -4
  378. package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
  379. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  380. package/lib/typescript/shared/utils/bounds/helpers/styles/local-transform.d.ts +6 -0
  381. package/lib/typescript/shared/utils/bounds/helpers/styles/local-transform.d.ts.map +1 -0
  382. package/lib/typescript/shared/utils/bounds/types/options.d.ts +2 -0
  383. package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
  384. package/package.json +1 -1
  385. package/src/component-stack/types.ts +26 -0
  386. package/src/shared/components/boundary/components/boundary-target.tsx +21 -7
  387. package/src/shared/components/boundary/create-boundary-component.tsx +92 -28
  388. package/src/shared/components/boundary/hooks/{use-boundary-presence.ts → lifecycles/use-boundary-presence.ts} +16 -5
  389. package/src/shared/components/boundary/hooks/{use-initial-destination-measurement.ts → lifecycles/use-initial-destination-measurement.ts} +40 -13
  390. package/src/shared/components/boundary/hooks/{use-initial-source-measurement.ts → lifecycles/use-initial-source-measurement.ts} +7 -9
  391. package/src/shared/components/boundary/hooks/{use-refresh-boundary.ts → lifecycles/use-refresh-boundary.ts} +6 -6
  392. package/src/shared/components/boundary/hooks/use-boundary-measurement.ts +15 -45
  393. package/src/shared/components/boundary/hooks/use-measurer.ts +9 -14
  394. package/src/shared/components/boundary/index.tsx +55 -29
  395. package/src/shared/components/boundary/portal/components/boundary-local-portal-host.tsx +66 -0
  396. package/src/shared/components/boundary/portal/components/host.tsx +20 -5
  397. package/src/shared/components/boundary/portal/components/portal-boundary-host.tsx +112 -46
  398. package/src/shared/components/boundary/portal/components/portal.tsx +263 -134
  399. package/src/shared/components/boundary/portal/hooks/use-host-measurement.ts +23 -2
  400. package/src/shared/components/boundary/portal/hooks/use-placeholder-styles.ts +55 -0
  401. package/src/shared/components/boundary/portal/stores/host-registry.store.ts +4 -51
  402. package/src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts +59 -6
  403. package/src/shared/components/boundary/portal/teleport.ts +28 -3
  404. package/src/shared/components/boundary/portal/utils/has-local-slot.ts +16 -0
  405. package/src/shared/components/boundary/portal/utils/naming.ts +11 -1
  406. package/src/shared/components/boundary/portal/utils/offset-style.ts +42 -137
  407. package/src/shared/components/boundary/portal/utils/ownership.ts +371 -0
  408. package/src/shared/components/boundary/portal/utils/resolve-portal.ts +50 -0
  409. package/src/shared/components/boundary/portal/utils/shallow-equal.ts +25 -0
  410. package/src/shared/components/boundary/portal/utils/teleport-control.ts +12 -0
  411. package/src/shared/components/boundary/portal/utils/visible-host.ts +24 -0
  412. package/src/shared/components/boundary/providers/boundary-root.provider.tsx +9 -18
  413. package/src/shared/components/boundary/types.ts +9 -39
  414. package/src/shared/components/boundary/utils/destination-signals.ts +1 -32
  415. package/src/shared/components/boundary/utils/refresh-signals.ts +0 -41
  416. package/src/shared/components/boundary/utils/source-signals.ts +5 -17
  417. package/src/shared/components/masked-view.tsx +4 -0
  418. package/src/shared/components/screen-container/layers/backdrop.tsx +31 -10
  419. package/src/shared/components/screen-container/layers/content.tsx +61 -22
  420. package/src/shared/components/screen-container/layers/render-component.ts +9 -0
  421. package/src/shared/components/screen-container/layers/surface-container.tsx +5 -4
  422. package/src/shared/index.ts +9 -5
  423. package/src/shared/providers/helpers/measured-bounds-writes.ts +6 -11
  424. package/src/shared/providers/register-bounds.provider.tsx +5 -0
  425. package/src/shared/providers/screen/animation/helpers/derivations.ts +3 -0
  426. package/src/shared/providers/screen/animation/helpers/pipeline.ts +1 -0
  427. package/src/shared/providers/screen/styles/helpers/compose-slot-style.ts +129 -0
  428. package/src/shared/providers/screen/styles/helpers/normalize-slots.ts +45 -8
  429. package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +14 -2
  430. package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/materialize-slot.ts +3 -0
  431. package/src/shared/providers/screen/styles/hooks/slot-resolvers.tsx +111 -0
  432. package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +21 -3
  433. package/src/shared/providers/screen/styles/index.tsx +8 -3
  434. package/src/shared/providers/screen/styles/slot.provider.tsx +36 -54
  435. package/src/shared/providers/screen/styles/stores/slot-references.store.ts +71 -0
  436. package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +24 -1
  437. package/src/shared/stores/bounds/internals/entries.ts +13 -5
  438. package/src/shared/stores/bounds/internals/links.ts +167 -85
  439. package/src/shared/stores/bounds/internals/resolver.ts +0 -2
  440. package/src/shared/stores/bounds/types.ts +10 -22
  441. package/src/shared/stores/system.store.ts +6 -0
  442. package/src/shared/types/animation.types.ts +8 -1
  443. package/src/shared/types/index.ts +5 -0
  444. package/src/shared/types/screen.types.ts +111 -4
  445. package/src/shared/utils/bounds/helpers/styles/compute.ts +22 -124
  446. package/src/shared/utils/bounds/helpers/styles/local-transform.ts +86 -0
  447. package/src/shared/utils/bounds/types/options.ts +2 -0
  448. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-presence.js.map +0 -1
  449. package/lib/commonjs/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +0 -1
  450. package/lib/commonjs/shared/components/boundary/hooks/use-initial-source-measurement.js.map +0 -1
  451. package/lib/commonjs/shared/components/boundary/hooks/use-refresh-boundary.js.map +0 -1
  452. package/lib/commonjs/shared/components/boundary/portal/resolve-portal.js +0 -36
  453. package/lib/commonjs/shared/components/boundary/portal/resolve-portal.js.map +0 -1
  454. package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js +0 -40
  455. package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js.map +0 -1
  456. package/lib/module/shared/components/boundary/hooks/use-boundary-presence.js.map +0 -1
  457. package/lib/module/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +0 -1
  458. package/lib/module/shared/components/boundary/hooks/use-initial-source-measurement.js.map +0 -1
  459. package/lib/module/shared/components/boundary/hooks/use-refresh-boundary.js.map +0 -1
  460. package/lib/module/shared/components/boundary/portal/resolve-portal.js +0 -31
  461. package/lib/module/shared/components/boundary/portal/resolve-portal.js.map +0 -1
  462. package/lib/module/shared/components/boundary/portal/utils/attachment.js +0 -35
  463. package/lib/module/shared/components/boundary/portal/utils/attachment.js.map +0 -1
  464. package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts +0 -9
  465. package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts.map +0 -1
  466. package/lib/typescript/shared/components/boundary/hooks/use-initial-destination-measurement.d.ts.map +0 -1
  467. package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts +0 -9
  468. package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts.map +0 -1
  469. package/lib/typescript/shared/components/boundary/hooks/use-refresh-boundary.d.ts.map +0 -1
  470. package/lib/typescript/shared/components/boundary/portal/resolve-portal.d.ts +0 -14
  471. package/lib/typescript/shared/components/boundary/portal/resolve-portal.d.ts.map +0 -1
  472. package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts +0 -21
  473. package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts.map +0 -1
  474. package/src/shared/components/boundary/portal/resolve-portal.ts +0 -40
  475. package/src/shared/components/boundary/portal/utils/attachment.ts +0 -48
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ import { logger } from "../../../../utils/logger";
4
+ import { isTeleportAvailable } from "../teleport";
5
+ export const resolveBoundaryPortal = ({
6
+ handoff,
7
+ escapeClipping
8
+ }) => {
9
+ const resolvedHandoff = handoff ?? false;
10
+ const resolvedEscapeClipping = escapeClipping ?? false;
11
+ const enabled = resolvedHandoff || resolvedEscapeClipping;
12
+ if (!enabled) {
13
+ return {
14
+ handoff: false,
15
+ escapeClipping: false,
16
+ enabled: false
17
+ };
18
+ }
19
+ if (!isTeleportAvailable) {
20
+ logger.warnOnce("boundary:teleport-missing", "react-native-teleport is not installed; handoff and escapeClipping boundaries will render inline.");
21
+ return {
22
+ handoff: false,
23
+ escapeClipping: false,
24
+ enabled: false
25
+ };
26
+ }
27
+ return {
28
+ handoff: resolvedHandoff,
29
+ escapeClipping: resolvedEscapeClipping,
30
+ enabled
31
+ };
32
+ };
33
+ //# sourceMappingURL=resolve-portal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["logger","isTeleportAvailable","resolveBoundaryPortal","handoff","escapeClipping","resolvedHandoff","resolvedEscapeClipping","enabled","warnOnce"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/resolve-portal.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,0BAA0B;AACjD,SAASC,mBAAmB,QAAQ,aAAa;AAajD,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACrCC,OAAO;EACPC;AAC4B,CAAC,KAA4B;EACzD,MAAMC,eAAe,GAAGF,OAAO,IAAI,KAAK;EACxC,MAAMG,sBAAsB,GAAGF,cAAc,IAAI,KAAK;EAEtD,MAAMG,OAAO,GAAGF,eAAe,IAAIC,sBAAsB;EAEzD,IAAI,CAACC,OAAO,EAAE;IACb,OAAO;MACNJ,OAAO,EAAE,KAAK;MACdC,cAAc,EAAE,KAAK;MACrBG,OAAO,EAAE;IACV,CAAC;EACF;EAEA,IAAI,CAACN,mBAAmB,EAAE;IACzBD,MAAM,CAACQ,QAAQ,CACd,2BAA2B,EAC3B,mGACD,CAAC;IAED,OAAO;MACNL,OAAO,EAAE,KAAK;MACdC,cAAc,EAAE,KAAK;MACrBG,OAAO,EAAE;IACV,CAAC;EACF;EAEA,OAAO;IACNJ,OAAO,EAAEE,eAAe;IACxBD,cAAc,EAAEE,sBAAsB;IACtCC;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Shallow equality for the flat signal objects produced by the portal
5
+ * `useAnimatedReaction` blocks. Both sides always carry the same fixed key set,
6
+ * so iterating one side's keys is sufficient. A `null`/`undefined` operand
7
+ * (the first reaction run) is treated as not-equal so the reaction proceeds.
8
+ */
9
+ export const shallowEqual = (a, b) => {
10
+ "worklet";
11
+
12
+ if (!a || !b) {
13
+ return false;
14
+ }
15
+ const keys = Object.keys(a);
16
+ for (let index = 0; index < keys.length; index++) {
17
+ const key = keys[index];
18
+ if (a[key] !== b[key]) {
19
+ return false;
20
+ }
21
+ }
22
+ return true;
23
+ };
24
+ //# sourceMappingURL=shallow-equal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["shallowEqual","a","b","keys","Object","index","length","key"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/shallow-equal.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,YAAY,GAAGA,CAC3BC,CAA6C,EAC7CC,CAA6C,KACzC;EACJ,SAAS;;EACT,IAAI,CAACD,CAAC,IAAI,CAACC,CAAC,EAAE;IACb,OAAO,KAAK;EACb;EAEA,MAAMC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACF,CAAC,CAAC;EAC3B,KAAK,IAAII,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGF,IAAI,CAACG,MAAM,EAAED,KAAK,EAAE,EAAE;IACjD,MAAME,GAAG,GAAGJ,IAAI,CAACE,KAAK,CAAC;IACvB,IAAIJ,CAAC,CAACM,GAAG,CAAC,KAAKL,CAAC,CAACK,GAAG,CAAC,EAAE;MACtB,OAAO,KAAK;IACb;EACD;EAEA,OAAO,IAAI;AACZ,CAAC","ignoreList":[]}
@@ -8,4 +8,12 @@ export const isTeleportEnabled = teleport => {
8
8
  }
9
9
  return teleport?.enabled !== false;
10
10
  };
11
+ export const shouldAttachBoundaryPortal = ({
12
+ enabled,
13
+ teleport
14
+ }) => {
15
+ "worklet";
16
+
17
+ return enabled && isTeleportEnabled(teleport);
18
+ };
11
19
  //# sourceMappingURL=teleport-control.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["isTeleportEnabled","teleport","enabled"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/teleport-control.ts"],"mappings":";;AAEA,OAAO,MAAMA,iBAAiB,GAC7BC,QAA6C,IACzC;EACJ,SAAS;;EAET,IAAI,OAAOA,QAAQ,KAAK,SAAS,EAAE;IAClC,OAAOA,QAAQ;EAChB;EAEA,OAAOA,QAAQ,EAAEC,OAAO,KAAK,KAAK;AACnC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["isTeleportEnabled","teleport","enabled","shouldAttachBoundaryPortal"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/teleport-control.ts"],"mappings":";;AAEA,OAAO,MAAMA,iBAAiB,GAC7BC,QAA6C,IACzC;EACJ,SAAS;;EAET,IAAI,OAAOA,QAAQ,KAAK,SAAS,EAAE;IAClC,OAAOA,QAAQ;EAChB;EAEA,OAAOA,QAAQ,EAAEC,OAAO,KAAK,KAAK;AACnC,CAAC;AAED,OAAO,MAAMC,0BAA0B,GAAGA,CAAC;EAC1CD,OAAO;EACPD;AAID,CAAC,KAAK;EACL,SAAS;;EAET,OAAOC,OAAO,IAAIF,iBAAiB,CAACC,QAAQ,CAAC;AAC9C,CAAC","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ export const resolveNextVisiblePortalHostName = ({
4
+ canSwitchImmediately,
5
+ isInterpolatorReady,
6
+ requestedName,
7
+ shouldTeleport,
8
+ visibleName
9
+ }) => {
10
+ "worklet";
11
+
12
+ if (!shouldTeleport) {
13
+ return null;
14
+ }
15
+ if (requestedName && (canSwitchImmediately || isInterpolatorReady)) {
16
+ return requestedName;
17
+ }
18
+ return visibleName;
19
+ };
20
+ //# sourceMappingURL=visible-host.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["resolveNextVisiblePortalHostName","canSwitchImmediately","isInterpolatorReady","requestedName","shouldTeleport","visibleName"],"sourceRoot":"../../../../../../../src","sources":["shared/components/boundary/portal/utils/visible-host.ts"],"mappings":";;AAAA,OAAO,MAAMA,gCAAgC,GAAGA,CAAC;EAChDC,oBAAoB;EACpBC,mBAAmB;EACnBC,aAAa;EACbC,cAAc;EACdC;AAOD,CAAC,KAAK;EACL,SAAS;;EACT,IAAI,CAACD,cAAc,EAAE;IACpB,OAAO,IAAI;EACZ;EAEA,IAAID,aAAa,KAAKF,oBAAoB,IAAIC,mBAAmB,CAAC,EAAE;IACnE,OAAOC,aAAa;EACrB;EAEA,OAAOE,WAAW;AACnB,CAAC","ignoreList":[]}
@@ -6,7 +6,7 @@ import createProvider from "../../../utils/create-provider";
6
6
  import { logger } from "../../../utils/logger";
7
7
  // logger.warn prepends the library prefix.
8
8
  const MULTIPLE_TARGETS_WARNING = "Multiple Boundary.Target elements were rendered under the same boundary root. The first registered target will be measured.";
9
- export const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside a Boundary root (Boundary.View, Boundary.Trigger, or a component created by createBoundaryComponent).";
9
+ export const TARGET_OUTSIDE_ROOT_WARNING = "Boundary.Target must be rendered inside Transition.Boundary or a component created by createBoundaryComponent.";
10
10
  export const {
11
11
  BoundaryRootProvider,
12
12
  useBoundaryRootContext
@@ -15,9 +15,9 @@ export const {
15
15
  })(props => props);
16
16
  export const useBoundaryRootState = params => {
17
17
  const {
18
- associatedTargetStyles,
19
18
  boundTag,
20
- portal
19
+ portalRuntime,
20
+ rootMeasurementRef
21
21
  } = params;
22
22
  const rootRef = useAnimatedRef();
23
23
  const [targetEntry, setTargetEntry] = useState(null);
@@ -43,15 +43,14 @@ export const useBoundaryRootState = params => {
43
43
  registerTargetRef,
44
44
  unregisterTargetRef,
45
45
  activeTargetRef: targetEntry?.ref ?? null,
46
- associatedTargetStyles,
47
46
  boundTag,
48
- portal
49
- }), [registerTargetRef, unregisterTargetRef, targetEntry, associatedTargetStyles, boundTag, portal]);
47
+ portalRuntime
48
+ }), [registerTargetRef, unregisterTargetRef, targetEntry, boundTag, portalRuntime]);
50
49
  return {
51
50
  ref: rootRef,
52
51
  contextValue,
53
52
  hasActiveTarget: targetEntry !== null,
54
- measuredRef: targetEntry?.measurementRef ?? rootRef,
53
+ measuredRef: targetEntry?.measurementRef ?? rootMeasurementRef ?? rootRef,
55
54
  targetPreparedStyles: targetEntry?.preparedStyles
56
55
  };
57
56
  };
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useMemo","useState","useAnimatedRef","createProvider","logger","MULTIPLE_TARGETS_WARNING","TARGET_OUTSIDE_ROOT_WARNING","BoundaryRootProvider","useBoundaryRootContext","guarded","props","useBoundaryRootState","params","associatedTargetStyles","boundTag","portal","rootRef","targetEntry","setTargetEntry","registerTargetRef","targetRef","preparedStyles","measurementRef","prev","ref","__DEV__","warnOnce","unregisterTargetRef","contextValue","activeTargetRef","hasActiveTarget","measuredRef","targetPreparedStyles"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/providers/boundary-root.provider.tsx"],"mappings":";;AACA,SAAyBA,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAItE,SAASC,cAAc,QAAQ,yBAAyB;AAExD,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,SAASC,MAAM,QAAQ,uBAAuB;AA2B9C;AACA,MAAMC,wBAAwB,GAC7B,6HAA6H;AAE9H,OAAO,MAAMC,2BAA2B,GACvC,+IAA+I;AAOhJ,OAAO,MAAM;EAAEC,oBAAoB;EAAEC;AAAuB,CAAC,GAAGL,cAAc,CAC7E,cAAc,EACd;EAAEM,OAAO,EAAE;AAAM,CAClB,CAAC,CAA+CC,KAAK,IAAKA,KAAK,CAAC;AAEhE,OAAO,MAAMC,oBAAoB,GAAIC,MAIpC,IAAK;EACL,MAAM;IAAEC,sBAAsB;IAAEC,QAAQ;IAA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AIN,OAAO;IACnDgB,oBAAoB,EAAEf,WAAW,EAAEI;EACpC,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCallback","useMemo","useState","useAnimatedRef","createProvider","logger","MULTIPLE_TARGETS_WARNING","TARGET_OUTSIDE_ROOT_WARNING","BoundaryRootProvider","useBoundaryRootContext","guarded","props","useBoundaryRootState","params","boundTag","portalRuntime","rootMeasurementRef","rootRef","targetEntry","setTargetEntry","registerTargetRef","targetRef","preparedStyles","measurementRef","prev","ref","__DEV__","warnOnce","unregisterTargetRef","contextValue","activeTargetRef","hasActiveTarget","measuredRef","targetPreparedStyles"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/providers/boundary-root.provider.tsx"],"mappings":";;AAAA,SAAyBA,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAGtE,SAASC,cAAc,QAAQ,yBAAyB;AAExD,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,SAASC,MAAM,QAAQ,uBAAuB;AAsB9C;AACA,MAAMC,wBAAwB,GAC7B,6HAA6H;AAE9H,OAAO,MAAMC,2BAA2B,GACvC,gHAAgH;AAOjH,OAAO,MAAM;EAAEC,oBAAoB;EAAEC;AAAuB,CAAC,GAAGL,cAAc,CAC7E,cAAc,EACd;EAAEM,OAAO,EAAE;AAAM,CAClB,CAAC,CAA+CC,KAAK,IAAKA,KAAK,CAAC;AAEhE,OAAO,MAAMC,oBAAoB,GAAIC,MAIpC,IAAK;EACL,MAAM;IAAEC,QAAQ;IAAEC,aAAa;IAAEC;EAAmB,CAAC,GAAGH,MAAM;EAC9D,MAAMI,OAAO,GAAGd,cAAc,CAAO,CAAC;EACtC,MAAM,CAACe,WAAW,EAAEC,cAAc,CAAC,GAAGjB,QAAQ,CAC7C,IACD,CAAC;EAED,MAAMkB,iBAAiB,GAAGpB,WAAW,CACpC,CACCqB,SAA4B,EAC5BC,cAA0B,EAC1BC,cAAkC,KAC9B;IACJJ,cAAc,CAAEK,IAAI,IAAK;MACxB,IAAIA,IAAI,EAAEC,GAAG,KAAKJ,SAAS,EAAE;QAC5B,OAAOG,IAAI;MACZ;MAEA,IAAIE,OAAO,IAAIF,IAAI,KAAK,IAAI,EAAE;QAC7BnB,MAAM,CAACsB,QAAQ,CACd,2BAA2B,EAC3BrB,wBACD,CAAC;MACF;MAEA,OACCkB,IAAI,IAAI;QACPC,GAAG,EAAEJ,SAAS;QACdE,cAAc,EAAEA,cAAc,IAAIF,SAAS;QAC3CC;MACD,CAAC;IAEH,CAAC,CAAC;EACH,CAAC,EACD,EACD,CAAC;EAED,MAAMM,mBAAmB,GAAG5B,WAAW,CAAEqB,SAA4B,IAAK;IACzEF,cAAc,CAAEK,IAAI,IAAMA,IAAI,EAAEC,GAAG,KAAKJ,SAAS,GAAG,IAAI,GAAGG,IAAK,CAAC;EAClE,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMK,YAAY,GAAG5B,OAAO,CAC3B,OAAO;IACNmB,iBAAiB;IACjBQ,mBAAmB;IACnBE,eAAe,EAAEZ,WAAW,EAAEO,GAAG,IAAI,IAAI;IACzCX,QAAQ;IACRC;EACD,CAAC,CAAC,EACF,CACCK,iBAAiB,EACjBQ,mBAAmB,EACnBV,WAAW,EACXJ,QAAQ,EACRC,aAAa,CAEf,CAAC;EAED,OAAO;IACNU,GAAG,EAAER,OAAO;IACZY,YAAY;IACZE,eAAe,EAAEb,WAAW,KAAK,IAAI;IACrCc,WAAW,EAAEd,WAAW,EAAEK,cAAc,IAAIP,kBAAkB,IAAIC,OAAO;IACzEgB,oBAAoB,EAAEf,WAAW,EAAEI;EACpC,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,20 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { createPendingPairKey, getActiveGroupId, getLinkKeyFromTag, getSourceScreenKeyFromPairKey } from "../../../stores/bounds/helpers/link-pairs.helpers";
4
- const hasPendingSourceLinks = (linkState, pendingPairKey) => {
5
- "worklet";
6
-
7
- const links = linkState?.[pendingPairKey]?.links;
8
- if (!links) {
9
- return false;
10
- }
11
- for (const key in links) {
12
- if (links[key]?.source) {
13
- return true;
14
- }
15
- }
16
- return false;
17
- };
3
+ import { getActiveGroupId, getLinkKeyFromTag } from "../../../stores/bounds/helpers/link-pairs.helpers";
18
4
  export const getInitialDestinationMeasurePairKey = params => {
19
5
  "worklet";
20
6
 
@@ -35,15 +21,8 @@ export const getInitialDestinationMeasurePairKey = params => {
35
21
  if (hasDestination) {
36
22
  return null;
37
23
  }
38
- const sourceScreenKey = getSourceScreenKeyFromPairKey(measurePairKey);
39
- const pendingPairKey = createPendingPairKey(sourceScreenKey);
40
- const hasPendingSources = hasPendingSourceLinks(linkState, pendingPairKey);
41
- const pendingSource = linkState?.[pendingPairKey]?.links?.[linkKey]?.source;
42
- if (hasPendingSources && !pendingSource) {
43
- return null;
44
- }
45
24
  const activeGroupId = group && linkState ? getActiveGroupId(linkState, measurePairKey, group) : null;
46
- if (!hasPendingSources && activeGroupId && activeGroupId !== linkKey) {
25
+ if (activeGroupId && activeGroupId !== linkKey) {
47
26
  return null;
48
27
  }
49
28
  return measurePairKey;
@@ -1 +1 @@
1
- {"version":3,"names":["createPendingPairKey","getActiveGroupId","getLinkKeyFromTag","getSourceScreenKeyFromPairKey","hasPendingSourceLinks","linkState","pendingPairKey","links","key","source","getInitialDestinationMeasurePairKey","params","enabled","destinationPairKey","ancestorDestinationPairKey","linkId","group","measurePairKey","linkKey","hasDestination","destination","sourceScreenKey","hasPendingSources","pendingSource","activeGroupId"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/destination-signals.ts"],"mappings":";;AAAA,SACCA,oBAAoB,EACpBC,gBAAgB,EAChBC,iBAAiB,EACjBC,6BAA6B,QACvB,mDAAmD;AAM1D,MAAMC,qBAAqB,GAAGA,CAC7BC,SAAqC,EACrCC,cAA6B,KACzB;EACJ,SAAS;;EACT,MAAMC,KAAK,GAAGF,SAAS,GAAGC,cAAc,CAAC,EAAEC,KAAK;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OAAO,EAAE;IACrE,OAAO,IAAI;EACZ;EAEA,OAAOD,cAAc;AACtB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["getActiveGroupId","getLinkKeyFromTag","getInitialDestinationMeasurePairKey","params","enabled","destinationPairKey","ancestorDestinationPairKey","linkId","group","linkState","measurePairKey","linkKey","hasDestination","links","destination","activeGroupId"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/destination-signals.ts"],"mappings":";;AAAA,SACCA,gBAAgB,EAChBC,iBAAiB,QACX,mDAAmD;AAM1D,OAAO,MAAMC,mCAAmC,GAAIC,MAOnD,IAA2B;EAC3B,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,kBAAkB;IAClBC,0BAA0B;IAC1BC,MAAM;IACNC,KAAK;IACLC;EACD,CAAC,GAAGN,MAAM;EACV,MAAMO,cAAc,GAAGL,kBAAkB,IAAIC,0BAA0B;EAEvE,IAAI,CAACF,OAAO,IAAI,CAACM,cAAc,EAAE;IAChC,OAAO,IAAI;EACZ;EAEA,MAAMC,OAAO,GAAGV,iBAAiB,CAACM,MAAM,CAAC;EACzC,MAAMK,cAAc,GACnBH,SAAS,GAAGC,cAAc,CAAC,EAAEG,KAAK,GAAGF,OAAO,CAAC,EAAEG,WAAW;EAE3D,IAAIF,cAAc,EAAE;IACnB,OAAO,IAAI;EACZ;EAEA,MAAMG,aAAa,GAClBP,KAAK,IAAIC,SAAS,GACfT,gBAAgB,CAACS,SAAS,EAAEC,cAAc,EAAEF,KAAK,CAAC,GAClD,IAAI;EAER,IAAIO,aAAa,IAAIA,aAAa,KAAKJ,OAAO,EAAE;IAC/C,OAAO,IAAI;EACZ;EAEA,OAAOD,cAAc;AACtB,CAAC","ignoreList":[]}
@@ -12,11 +12,6 @@ const buildRefreshSignal = (type, pairKey, key) => {
12
12
  signal: `${prefix}${pairKey}|${key}`
13
13
  };
14
14
  };
15
- const isMatchedScreenPortalDestinationRefresh = (linkState, pairKey, linkId) => {
16
- "worklet";
17
-
18
- return linkState?.[pairKey]?.links?.[linkId]?.source?.portalAttachTarget === "matched-screen";
19
- };
20
15
  export const getRefreshBoundarySignal = params => {
21
16
  "worklet";
22
17
 
@@ -55,16 +50,6 @@ export const getRefreshBoundarySignal = params => {
55
50
  if (!refreshDestinationPairKey) {
56
51
  return null;
57
52
  }
58
-
59
- // NOTE:
60
- // Matched-screen portals use the destination as the initial host/anchor.
61
- // Once attached, the teleported source is the thing being animated, so a
62
- // fresh destination measure would mix in a second coordinate basis. Signals were introduced for scroll view cases + group
63
- // cases, but I can't find a case for where a live component ( matched-screen ) would need this complexity. I would just assume
64
- // you would want this for a->b | b->a transitions.
65
- if (isMatchedScreenPortalDestinationRefresh(linkState, refreshDestinationPairKey, linkId)) {
66
- return null;
67
- }
68
53
  return buildRefreshSignal("destination", refreshDestinationPairKey, [currentScreenKey, closing ? "closing" : "settled"].join("|"));
69
54
  }
70
55
 
@@ -89,12 +74,6 @@ export const getRefreshBoundarySignal = params => {
89
74
  if (activeId !== linkId) {
90
75
  return null;
91
76
  }
92
-
93
- // NOTE:
94
- // see above for explanation
95
- if (isMatchedScreenPortalDestinationRefresh(linkState, refreshDestinationPairKey, linkId)) {
96
- return null;
97
- }
98
77
  return buildRefreshSignal("destination", refreshDestinationPairKey, [group, linkId, closing ? "closing" : "settled"].join("|"));
99
78
  };
100
79
  //# sourceMappingURL=refresh-signals.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["SOURCE_SIGNAL_PREFIX","DESTINATION_SIGNAL_PREFIX","buildRefreshSignal","type","pairKey","key","prefix","signal","isMatchedScreenPortalDestinationRefresh","linkState","linkId","links","source","portalAttachTarget","getRefreshBoundarySignal","params","enabled","currentScreenKey","sourcePairKey","destinationPairKey","ancestorDestinationPairKey","nextScreenKey","group","shouldRefresh","closing","entering","animating","progress","canRefreshPreCloseDestination","canRefreshSettledDestination","refreshDestinationPairKey","undefined","join","activeId","groups"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/refresh-signals.ts"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AkB,CACxB,aAAa,EACb4B,yBAAyB,EACzB,CAACR,KAAK,EAAEZ,MAAM,EAAEc,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC,CAACQ,IAAI,CAAC,GAAG,CAC1D,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["SOURCE_SIGNAL_PREFIX","DESTINATION_SIGNAL_PREFIX","buildRefreshSignal","type","pairKey","key","prefix","signal","getRefreshBoundarySignal","params","enabled","currentScreenKey","sourcePairKey","destinationPairKey","ancestorDestinationPairKey","nextScreenKey","linkId","group","shouldRefresh","closing","entering","animating","progress","linkState","canRefreshPreCloseDestination","canRefreshSettledDestination","refreshDestinationPairKey","undefined","join","activeId","groups"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/refresh-signals.ts"],"mappings":";;AAMA,MAAMA,oBAAoB,GAAG,SAAS;AACtC,MAAMC,yBAAyB,GAAG,cAAc;AAMhD,MAAMC,kBAAkB,GAAGA,CAC1BC,IAA2B,EAC3BC,OAAsB,EACtBC,GAAW,KACgB;EAC3B,SAAS;;EACT,MAAMC,MAAM,GACXH,IAAI,KAAK,QAAQ,GAAGH,oBAAoB,GAAGC,yBAAyB;EACrE,OAAO;IACNE,IAAI;IACJC,OAAO;IACPG,MAAM,EAAE,GAAGD,MAAM,GAAGF,OAAO,IAAIC,GAAG;EACnC,CAAC;AACF,CAAC;AAED,OAAO,MAAMG,wBAAwB,GAAIC,MAexC,IAAmC;EACnC,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,gBAAgB;IAChBC,aAAa;IACbC,kBAAkB;IAClBC,0BAA0B;IAC1BC,aAAa;IACbC,MAAM;IACNC,KAAK;IACLC,aAAa;IACbC,OAAO;IACPC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC;EACD,CAAC,GAAGd,MAAM;EAEV,IAAI,CAACC,OAAO,EAAE,OAAO,IAAI;EAEzB,MAAMc,6BAA6B,GAClCN,aAAa,IAAIC,OAAO,IAAI,CAACC,Q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B,OAAO,IAAI;EACZ;EAEA,OAAOd,kBAAkB,CACxB,aAAa,EACbwB,yBAAyB,EACzB,CAACT,KAAK,EAAED,MAAM,EAAEG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC,CAACS,IAAI,CAAC,GAAG,CAC1D,CAAC;AACF,CAAC","ignoreList":[]}
@@ -9,20 +9,15 @@ export const getInitialSourceCaptureSignal = params => {
9
9
  sourcePairKey,
10
10
  linkId,
11
11
  group,
12
- shouldAutoMeasure,
13
12
  linkState
14
13
  } = params;
15
14
  if (!enabled || !sourcePairKey) {
16
15
  return null;
17
16
  }
18
-
19
- // Trigger components capture on press. Passive Boundary.View sources wait for
20
- // their destination side to attach, then capture into the same assigned pair.
21
- if (!shouldAutoMeasure) {
22
- return null;
23
- }
24
- const link = linkState?.[sourcePairKey]?.links?.[linkId];
25
- if (!link?.destination || link.source) {
17
+ const pair = linkState?.[sourcePairKey];
18
+ const link = pair?.links?.[linkId];
19
+ const hasSourceRequest = pair?.sourceRequests?.[linkId];
20
+ if (!link?.destination && !hasSourceRequest || link?.source) {
26
21
  return null;
27
22
  }
28
23
  if (group) {
@@ -1 +1 @@
1
- {"version":3,"names":["SOURCE_SIGNAL_PREFIX","getInitialSourceCaptureSignal","params","enabled","sourcePairKey","linkId","group","shouldAutoMeasure","linkState","link","links","destination","source","activeId","groups","signalParts","pairKey","signal","join"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/source-signals.ts"],"mappings":";;AAKA,MAAMA,oBAAoB,GAAG,SAAS;AAOtC,OAAO,MAAMC,6BAA6B,GAAIC,MAO7C,IAAiC;EACjC,SAAS;;EACT,MAAM;IACLC,OAAO;IACPC,aAAa;IACbC,MAAM;IACNC,KAAK;IACLC,iBAAiB;IACjBC;EACD,CAAC,GAAGN,MAAM;EAEV,IAAI,CAACC,OAAO,IAAI,CAACC,aAAa,EAAE;IAC/B,OAAO,IAAI;EACZ;;EAEA;EACA;EACA,IAAI,CAACG,iBAAiB,EAAE;IACvB,OAAO,IAAI;EACZ;EAEA,MAAME,IAAI,GAAGD,SAAS,GAAGJ,aAAa,CAAC,EAAEM,KAAK,GAAGL,MAAM,CAAC;EAExD,IAAI,CAACI,IAAI,EAAEE,WAAW,IAAIF,IAAI,CAACG,MAAM,EAAE;IACtC,OAAO,IAAI;EACZ;EAEA,IAAIN,KAAK,EAAE;IACV,MAAMO,QAAQ,GAAGL,SAAS,GAAGJ,aAAa,CAAC,EAAEU,MAAM,GAAGR,KAAK,CAAC,EAAEO,QAAQ;;IAEtE;IACA;IACA,IAAIA,QAAQ,IAAIA,QAAQ,KAAKR,MAAM,EAAE;MACpC,OAAO,IAAI;IACZ;EACD;EAEA,MAAMU,WAAW,GAAGT,KAAK,GAAG,CAACA,KAAK,EAAED,MAAM,CAAC,GAAG,CAACA,MAAM,CAAC;EAEtD,OAAO;IACNW,OAAO,EAAEZ,aAAa;IACtBa,MAAM,EAAE,GAAGjB,oBAAoB,GAAGI,aAAa,IAAIW,WAAW,CAACG,IAAI,CAAC,GAAG,CAAC;EACzE,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["SOURCE_SIGNAL_PREFIX","getInitialSourceCaptureSignal","params","enabled","sourcePairKey","linkId","group","linkState","pair","link","links","hasSourceRequest","sourceRequests","destination","source","activeId","groups","signalParts","pairKey","signal","join"],"sourceRoot":"../../../../../../src","sources":["shared/components/boundary/utils/source-signals.ts"],"mappings":";;AAKA,MAAMA,oBAAoB,GAAG,SAAS;AAOtC,OAAO,MAAMC,6BAA6B,GAAIC,MAM7C,IAAiC;EACjC,SAAS;;EACT,MAAM;IAAEC,OAAO;IAAEC,aAAa;IAAEC,MAAM;IAAEC,KAAK;IAAEC;EAAU,CAAC,GAAGL,MAAM;EAEnE,IAAI,CAACC,OAAO,IAAI,CAACC,aAAa,EAAE;IAC/B,OAAO,IAAI;EACZ;EAEA,MAAMI,IAAI,GAAGD,SAAS,GAAGH,aAAa,CAAC;EACvC,MAAMK,IAAI,GAAGD,IAAI,EAAEE,KAAK,GAAGL,MAAM,CAAC;EAClC,MAAMM,gBAAgB,GAAGH,IAAI,EAAEI,cAAc,GAAGP,MAAM,CAAC;EAEvD,IAAK,CAACI,IAAI,EAAEI,WAAW,IAAI,CAACF,gBAAgB,IAAKF,IAAI,EAAEK,MAAM,EAAE;IAC9D,OAAO,IAAI;EACZ;EAEA,IAAIR,KAAK,EAAE;IACV,MAAMS,QAAQ,GAAGR,SAAS,GAAGH,aAAa,CAAC,EAAEY,MAAM,GAAGV,KAAK,CAAC,EAAES,QAAQ;;IAEtE;IACA;IACA,IAAIA,QAAQ,IAAIA,QAAQ,KAAKV,MAAM,EAAE;MACpC,OAAO,IAAI;IACZ;EACD;EAEA,MAAMY,WAAW,GAAGX,KAAK,GAAG,CAACA,KAAK,EAAED,MAAM,CAAC,GAAG,CAACA,MAAM,CAAC;EAEtD,OAAO;IACNa,OAAO,EAAEd,aAAa;IACtBe,MAAM,EAAE,GAAGnB,oBAAoB,GAAGI,aAAa,IAAIa,WAAW,CAACG,IAAI,CAAC,GAAG,CAAC;EACzE,CAAC;AACF,CAAC","ignoreList":[]}
@@ -11,6 +11,11 @@ try {
11
11
  } catch (_) {
12
12
  // noop
13
13
  }
14
+
15
+ /**
16
+ * @deprecated Use `navigationMaskEnabled` with the navigation mask style IDs
17
+ * instead.
18
+ */
14
19
  export default function MaskedView({
15
20
  children,
16
21
  style: userStyles = {}
@@ -1 +1 @@
1
- {"version":3,"names":["StyleSheet","View","CONTAINER_STYLE_ID","MASK_STYLE_ID","createTransitionAwareComponent","jsx","_jsx","TransitionView","LazyMaskedView","require","default","_","MaskedView","children","style","userStyles","styles","root","maskElement","styleId","rootMask","rootContainer","create","flex","backgroundColor"],"sourceRoot":"../../../../src","sources":["shared/components/masked-view.tsx"],"mappings":";;AAAA,SAAyBA,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/E,SAASC,kBAAkB,EAAEC,aAAa,QAAQ,cAAc;AAChE,SAASC,8BAA8B,QAAQ,qCAAqC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAErF,MAAMC,cAAc,GAAGH,8BAA8B,CAACH,IAAI,CAAC;AAE3D,IAAIO,cAAc,GAAGP,IAAI;AAEzB,IAAI;EACHO,cAAc,GAAGC,OAAO,CAAC,uCAAuC,CAAC,CAACC,OAAO;AAC1E,CAAC,CAAC,OAAOC,CAAC,EAAE;EACX;AAAA;AAGD,eAAe,SAASC,UAAUA,CAAC;EAClCC,QAAQ;EACRC,KAAK,EAAEC,UAAU,GAAG,CAAC;AAItB,CAAC,EAAE;EACF,IAAIP,cAAc,KAAKP,IAAI,EAAE;IAC5B,OAAOY,QAAQ;EAChB;EAEA,oBACCP,IAAA,CAACE,cAAc;IACdM,KAAK,EAAEE,MAAM,CAACC;IACd;IAAA;IACAC,WAAW,eACVZ,IAAA,CAACC,cAAc;MAACY,OAAO,EAAEhB,aAAc;MAACW,KAAK,EAAEE,MAAM,CAACI;IAAS,CAAE,CACjE;IAAAP,QAAA,eAEDP,IAAA,CAACC,cAAc;MACdY,OAAO,EAAEjB,kBAAmB;MAC5BY,KAAK,EAAE,CAACE,MAAM,CAACK,aAAa,EAAEN,UAAU,CAAE;MAAAF,QAAA,EAEzCA;IAAQ,CACM;EAAC,CACF,CAAC;AAEnB;AAEA,MAAMG,MAAM,GAAGhB,UAAU,CAACsB,MAAM,CAAC;EAChCL,IAAI,EAAE;IACLM,IAAI,EAAE;EACP,CAAC;EACDH,QAAQ,EAAE;IACTI,eAAe,EAAE;EAClB,CAAC;EACDH,aAAa,EAAE;IACdE,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["StyleSheet","View","CONTAINER_STYLE_ID","MASK_STYLE_ID","createTransitionAwareComponent","jsx","_jsx","TransitionView","LazyMaskedView","require","default","_","MaskedView","children","style","userStyles","styles","root","maskElement","styleId","rootMask","rootContainer","create","flex","backgroundColor"],"sourceRoot":"../../../../src","sources":["shared/components/masked-view.tsx"],"mappings":";;AAAA,SAAyBA,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/E,SAASC,kBAAkB,EAAEC,aAAa,QAAQ,cAAc;AAChE,SAASC,8BAA8B,QAAQ,qCAAqC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAErF,MAAMC,cAAc,GAAGH,8BAA8B,CAACH,IAAI,CAAC;AAE3D,IAAIO,cAAc,GAAGP,IAAI;AAEzB,IAAI;EACHO,cAAc,GAAGC,OAAO,CAAC,uCAAuC,CAAC,CAACC,OAAO;AAC1E,CAAC,CAAC,OAAOC,CAAC,EAAE;EACX;AAAA;;AAGD;AACA;AACA;AACA;AACA,eAAe,SAASC,UAAUA,CAAC;EAClCC,QAAQ;EACRC,KAAK,EAAEC,UAAU,GAAG,CAAC;AAItB,CAAC,EAAE;EACF,IAAIP,cAAc,KAAKP,IAAI,EAAE;IAC5B,OAAOY,QAAQ;EAChB;EAEA,oBACCP,IAAA,CAACE,cAAc;IACdM,KAAK,EAAEE,MAAM,CAACC;IACd;IAAA;IACAC,WAAW,eACVZ,IAAA,CAACC,cAAc;MAACY,OAAO,EAAEhB,aAAc;MAACW,KAAK,EAAEE,MAAM,CAACI;IAAS,CAAE,CACjE;IAAAP,QAAA,eAEDP,IAAA,CAACC,cAAc;MACdY,OAAO,EAAEjB,kBAAmB;MAC5BY,KAAK,EAAE,CAACE,MAAM,CAACK,aAAa,EAAEN,UAAU,CAAE;MAAAF,QAAA,EAEzCA;IAAQ,CACM;EAAC,CACF,CAAC;AAEnB;AAEA,MAAMG,MAAM,GAAGhB,UAAU,CAACsB,MAAM,CAAC;EAChCL,IAAI,EAAE;IACLM,IAAI,EAAE;EACP,CAAC;EACDH,QAAQ,EAAE;IACTI,eAAe,EAAE;EAClB,CAAC;EACDH,aAAa,EAAE;IACdE,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
@@ -12,7 +12,8 @@ import { GestureStore } from "../../../stores/gesture.store";
12
12
  import { SystemStore } from "../../../stores/system.store";
13
13
  import { animateToProgress } from "../../../utils/animation/animate-to-progress";
14
14
  import { findCollapseTarget } from "../helpers/find-collapse-target";
15
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
+ import { usesLayerRenderProps } from "./render-component";
16
+ import { jsx as _jsx } from "react/jsx-runtime";
16
17
  export const BackdropLayer = /*#__PURE__*/memo(function BackdropLayer({
17
18
  backdropBehavior,
18
19
  isBackdropActive
@@ -30,7 +31,7 @@ export const BackdropLayer = /*#__PURE__*/memo(function BackdropLayer({
30
31
  targetProgress,
31
32
  resolvedAutoSnapPoint
32
33
  } = SystemStore.getBag(routeKey);
33
- const AnimatedBackdropComponent = useMemo(() => BackdropComponent ? Animated.createAnimatedComponent(BackdropComponent) : null, [BackdropComponent]);
34
+ const AnimatedBackdropComponent = useMemo(() => BackdropComponent && !usesLayerRenderProps(BackdropComponent) ? Animated.createAnimatedComponent(BackdropComponent) : null, [BackdropComponent]);
34
35
  const handleBackdropPress = useCallback(() => {
35
36
  if (backdropBehavior === "dismiss") {
36
37
  dismissScreen();
@@ -82,16 +83,25 @@ export const BackdropLayer = /*#__PURE__*/memo(function BackdropLayer({
82
83
  }, [animations, targetProgress, resolvedAutoSnapPoint, backdropBehavior, current, dismissScreen, routeKey]);
83
84
  const animatedBackdropStyle = useSlotStyles("backdrop");
84
85
  const animatedBackdropProps = useSlotProps("backdrop");
85
- return /*#__PURE__*/_jsxs(Pressable, {
86
+ const backdropPointerEvents = isBackdropActive ? "auto" : "none";
87
+ const backdropStyles = [StyleSheet.absoluteFill, animatedBackdropStyle];
88
+ const backdropProps = animatedBackdropProps;
89
+ return /*#__PURE__*/_jsx(Pressable, {
86
90
  style: StyleSheet.absoluteFill,
87
91
  pointerEvents: isBackdropActive ? "auto" : "none",
88
92
  onPress: isBackdropActive ? handleBackdropPress : undefined,
89
- children: [AnimatedBackdropComponent && /*#__PURE__*/_jsx(AnimatedBackdropComponent, {
90
- style: [StyleSheet.absoluteFill],
91
- animatedProps: animatedBackdropProps
92
- }), /*#__PURE__*/_jsx(Animated.View, {
93
- style: [StyleSheet.absoluteFill, animatedBackdropStyle]
94
- })]
93
+ children: AnimatedBackdropComponent ? /*#__PURE__*/_jsx(AnimatedBackdropComponent, {
94
+ style: backdropStyles,
95
+ animatedProps: animatedBackdropProps,
96
+ pointerEvents: backdropPointerEvents
97
+ }) : BackdropComponent ? /*#__PURE__*/_jsx(BackdropComponent, {
98
+ styles: backdropStyles,
99
+ props: backdropProps,
100
+ pointerEvents: backdropPointerEvents
101
+ }) : /*#__PURE__*/_jsx(Animated.View, {
102
+ style: backdropStyles,
103
+ pointerEvents: backdropPointerEvents
104
+ })
95
105
  });
96
106
  });
97
107
  //# sourceMappingURL=backdrop.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["memo","useCallback","useMemo","Pressable","StyleSheet","Animated","runOnUI","DefaultSnapSpec","useNavigationHelpers","useDescriptors","useSlotProps","useSlotStyles","AnimationStore","GestureStore","SystemStore","animateToProgress","findCollapseTarget","jsx","_jsx","jsxs","_jsxs","BackdropLayer","backdropBehavior","isBackdropActive","current","dismissScreen","BackdropComponent","options","backdropComponent","routeKey","route","key","animations","getBag","targetProgress","resolvedAutoSnapPoint","AnimatedBackdropComponent","createAnimatedComponent","handleBackdropPress","rawSnapPoints","snapPoints","canDismiss","gestureEnabled","length","gestures","transitionSpec","resolvedSnaps","i","point","resolvedPoint","get","push","target","shouldDismiss","transitionProgress","dismissing","set","spec","open","expand","close","collapse","onAnimationFinish","undefined","animatedBackdropStyle","animatedBackdropProps","style","absoluteFill","pointerEvents","onPress","children","animatedProps","View"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/backdrop.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AAClD,SAASC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AACpD,OAAOC,QAAQ,IAAIC,OAAO,QAAQ,yBAAyB;AAC3D,SAASC,eAAe,QAAQ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,CAAC;UACjBqC,MAAM;UACNK,IAAI;UACJzB,UAAU;UACVE,cAAc;UACd4B,iBAAiB,EAAET,aAAa,GAAG5B,aAAa,GAAGsC;QACpD,CAAC,CAAC;MACH,CAAC,CAAC,CAAC,CAAC;IACL;EACD,CAAC,EAAE,CACF/B,UAAU,EACVE,cAAc,EACdC,qBAAqB,EACrBb,gBAAgB,EAChBE,OAAO,EACPC,aAAa,EACbI,QAAQ,CACR,CAAC;EAEF,MAAMmC,qBAAqB,GAAGrD,aAAa,CAAC,UAAU,CAAC;EACvD,MAAMsD,qBAAqB,GAAGvD,YAAY,CAAC,UAAU,CAAC;EAEtD,oBACCU,KAAA,CAACjB,SAAS;IACT+D,KAAK,EAAE9D,UAAU,CAAC+D,YAAa;IAC/BC,aAAa,EAAE7C,gBAAgB,GAAG,MAAM,GAAG,MAAO;IAClD8C,OAAO,EAAE9C,gBAAgB,GAAGe,mBAAmB,GAAGyB,SAAU;IAAAO,QAAA,GAK3DlC,yBAAyB,iBACzBlB,IAAA,CAACkB,yBAAyB;MACzB8B,KAAK,EAAE,CAAC9D,UAAU,CAAC+D,YAAY,CAAE;MACjCI,aAAa,EAAEN;IAAsB,CACrC,CACD,eACD/C,IAAA,CAACb,QAAQ,CAACmE,IAAI;MAACN,KAAK,EAAE,CAAC9D,UAAU,CAAC+D,YAAY,EAAEH,qBAAqB;IAAE,CAAE,CAAC;EAAA,CAChE,CAAC;AAEd,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["memo","useCallback","useMemo","Pressable","StyleSheet","Animated","runOnUI","DefaultSnapSpec","useNavigationHelpers","useDescriptors","useSlotProps","useSlotStyles","AnimationStore","GestureStore","SystemStore","animateToProgress","findCollapseTarget","usesLayerRenderProps","jsx","_jsx","BackdropLayer","backdropBehavior","isBackdropActive","current","dismissScreen","BackdropComponent","options","backdropComponent","routeKey","route","key","animations","getBag","targetProgress","resolvedAutoSnapPoint","AnimatedBackdropComponent","createAnimatedComponent","handleBackdropPress","rawSnapPoints","snapPoints","canDismiss","gestureEnabled","length","gestures","transitionSpec","resolvedSnaps","i","point","resolvedPoint","get","push","target","shouldDismiss","transitionProgress","dismissing","set","spec","open","expand","close","collapse","onAnimationFinish","undefined","animatedBackdropStyle","animatedBackdropProps","backdropPointerEvents","backdropStyles","absoluteFill","backdropProps","style","pointerEvents","onPress","children","animatedProps","styles","props","View"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/backdrop.tsx"],"mappings":";;AAAA,SAA6BA,IAAI,EAAEC,WAAW,EAAEC,OAAO,QAAQ,OAAO;AACtE,SAASC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AACpD,OAAOC,QAAQ,IAAIC,OAAO,QAAQ,yBAAyB;AAC3D,SAASC,eAAe,QAAQ,wBAAwB;AACxD,SAASC,oBAAoB,QAAQ,kDAAkD;AACvF,SAASC,cAAc,QAAQ,uCAAuC;AACtE,SAASC,YAAY,EAAEC,aAAa,QAAQ,kCAAkC;AAC9E,SAASC,cAAc,QAAQ,iCAAiC;AAChE,SAASC,YAAY,QAAQ,+BAA+B;AAC5D,SAASC,WAAW,QAAQ,8BAA8B;AAK1D,SAASC,iBAAiB,QAAQ,8CAA8C;AAChF,SAASC,kBAAkB,QAAQ,iCAAiC;AACpE,SAASC,oBAAoB,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE1D,OAAO,MAAMC,aAAa,gBAAGpB,IAAI,CAAC,SAASoB,aAAaA,CAAC;EACxDC,gBAAgB;EAChBC;AAID,CAAC,EAAE;EACF,MAAM;IAAEC;EAAQ,CAAC,GAAGd,cAAc,CAAC,CAAC;EACpC,MAAM;IAAEe;EAAc,CAAC,GAAGhB,oBAAoB,CAAC,CAAC;EAEhD,MAAMiB,iBAAiB,GAAGF,OAAO,CAACG,OAAO,CAACC,iBAAiB;EAC3D,MAAMC,QAAQ,GAAGL,OAAO,CAACM,KAAK,CAACC,GAAG;EAClC,MAAMC,UAAU,GAAGnB,cAAc,CA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IAClDiD,OAAO,EAAEjD,gBAAgB,GAAGe,mBAAmB,GAAGyB,SAAU;IAAAU,QAAA,EAE3DrC,yBAAyB,gBACzBhB,IAAA,CAACgB,yBAAyB;MACzBkC,KAAK,EAAEH,cAAe;MACtBO,aAAa,EAAET,qBAAsB;MACrCM,aAAa,EAAEL;IAAsB,CACrC,CAAC,GACCxC,iBAAiB,gBACpBN,IAAA,CAACM,iBAAiB;MACjBiD,MAAM,EAAER,cAAe;MACvBS,KAAK,EAAEP,aAAc;MACrBE,aAAa,EAAEL;IAAsB,CACrC,CAAC,gBAEF9C,IAAA,CAACd,QAAQ,CAACuE,IAAI;MACbP,KAAK,EAAEH,cAAe;MACtBI,aAAa,EAAEL;IAAsB,CACrC;EACD,CACS,CAAC;AAEd,CAAC,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  /** biome-ignore-all lint/style/noNonNullAssertion: <Screen gesture is under the gesture context, so this will always exist.> */
4
- import { memo } from "react";
4
+ import { memo, useMemo } from "react";
5
5
  import { StyleSheet, View } from "react-native";
6
6
  import { GestureDetector } from "react-native-gesture-handler";
7
7
  import Animated from "react-native-reanimated";
@@ -12,6 +12,7 @@ import { useSlotProps, useSlotStyles } from "../../../providers/screen/styles";
12
12
  import { ScreenFallbackHost } from "../../boundary/portal/components/host";
13
13
  import { useContentLayout } from "../hooks/use-content-layout";
14
14
  import { MaybeMaskedNavigationContainer } from "./maybe-masked-navigation-container";
15
+ import { usesLayerRenderProps } from "./render-component";
15
16
  import { SurfaceContainer } from "./surface-container";
16
17
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
18
  export const ContentLayer = /*#__PURE__*/memo(({
@@ -23,32 +24,49 @@ export const ContentLayer = /*#__PURE__*/memo(({
23
24
  current
24
25
  } = useDescriptors();
25
26
  const gestureContext = useGestureContext();
27
+ const ContentComponent = current.options.contentComponent;
26
28
  const isNavigationMaskEnabled = !!current.options.navigationMaskEnabled;
27
29
  const contentPointerEvents = isBackdropActive ? "box-none" : pointerEvents;
30
+ const AnimatedContentComponent = useMemo(() => {
31
+ return ContentComponent && !usesLayerRenderProps(ContentComponent) ? Animated.createAnimatedComponent(ContentComponent) : null;
32
+ }, [ContentComponent]);
28
33
  const hasAutoSnapPoint = current.options.snapPoints?.includes("auto") ?? false;
29
34
  const handleContentLayout = useContentLayout();
30
35
  const animatedContentStyle = useSlotStyles("content");
31
36
  const animatedContentProps = useSlotProps("content");
37
+ const contentStyles = [styles.content, animatedContentStyle];
38
+ const contentProps = animatedContentProps;
39
+ const contentChildren = /*#__PURE__*/_jsx(MaybeMaskedNavigationContainer, {
40
+ pointerEvents: contentPointerEvents,
41
+ enabled: isNavigationMaskEnabled,
42
+ children: /*#__PURE__*/_jsx(SurfaceContainer, {
43
+ pointerEvents: contentPointerEvents,
44
+ children: /*#__PURE__*/_jsxs(OriginProvider, {
45
+ children: [hasAutoSnapPoint ? /*#__PURE__*/_jsx(View, {
46
+ collapsable: false,
47
+ onLayout: handleContentLayout,
48
+ children: children
49
+ }) : children, /*#__PURE__*/_jsx(ScreenFallbackHost, {})]
50
+ })
51
+ })
52
+ });
32
53
  return /*#__PURE__*/_jsx(GestureDetector, {
33
54
  gesture: gestureContext.detectorGesture,
34
- children: /*#__PURE__*/_jsx(Animated.View, {
35
- style: [styles.content, animatedContentStyle],
55
+ children: AnimatedContentComponent ? /*#__PURE__*/_jsx(AnimatedContentComponent, {
56
+ style: contentStyles,
36
57
  animatedProps: animatedContentProps,
37
58
  pointerEvents: contentPointerEvents,
38
- children: /*#__PURE__*/_jsx(MaybeMaskedNavigationContainer, {
39
- pointerEvents: contentPointerEvents,
40
- enabled: isNavigationMaskEnabled,
41
- children: /*#__PURE__*/_jsx(SurfaceContainer, {
42
- pointerEvents: contentPointerEvents,
43
- children: /*#__PURE__*/_jsxs(OriginProvider, {
44
- children: [hasAutoSnapPoint ? /*#__PURE__*/_jsx(View, {
45
- collapsable: false,
46
- onLayout: handleContentLayout,
47
- children: children
48
- }) : children, /*#__PURE__*/_jsx(ScreenFallbackHost, {})]
49
- })
50
- })
51
- })
59
+ children: contentChildren
60
+ }) : ContentComponent ? /*#__PURE__*/_jsx(ContentComponent, {
61
+ styles: contentStyles,
62
+ props: contentProps,
63
+ pointerEvents: contentPointerEvents,
64
+ children: contentChildren
65
+ }) : /*#__PURE__*/_jsx(Animated.View, {
66
+ style: contentStyles,
67
+ animatedProps: animatedContentProps,
68
+ pointerEvents: contentPointerEvents,
69
+ children: contentChildren
52
70
  })
53
71
  });
54
72
  });
@@ -1 +1 @@
1
- {"version":3,"names":["memo","StyleSheet","View","GestureDetector","Animated","useDescriptors","useGestureContext","OriginProvider","useSlotProps","useSlotStyles","ScreenFallbackHost","useContentLayout","MaybeMaskedNavigationContainer","SurfaceContainer","jsx","_jsx","jsxs","_jsxs","ContentLayer","children","pointerEvents","isBackdropActive","current","gestureContext","isNavigationMaskEnabled","options","navigationMaskEnabled","contentPointerEvents","hasAutoSnapPoint","snapPoints","includes","handleContentLayout","animatedContentStyle","animatedContentProps","gesture","detectorGesture","style","styles","content","animatedProps","enabled","collapsable","onLayout","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/content.tsx"],"mappings":";;AAAA;AACA,SAASA,IAAI,QAAQ,OAAO;AAC5B,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,eAAe,QAAQ,8BAA8B;AAC9D,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,cAAc,QAAQ,uCAAuC;AACtE,SAASC,iBAAiB,QAAQ,oCAAoC;AACtE,SAASC,cAAc,QAAQ,2CAA2C;AAC1E,SAASC,YAAY,EAAEC,aAAa,QAAQ,kCAAkC;AAC9E,SAASC,kBAAkB,QAAQ,uCAAuC;AAC1E,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,8BAA8B,QAAQ,qCAAqC;AACpF,SAASC,gBAAgB,QAAQ,qBAAqB;AAAC,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,QAAQ,EAAEX,mBAAoB;cAAAZ,QAAA,EACtDA;YAAQ,CACJ,CAAC,GAEPA,QACA,eACDJ,IAAA,CAACL,kBAAkB,IAAE,CAAC;UAAA,CACP;QAAC,CACA;MAAC,CACY;IAAC,CACnB;EAAC,CACA,CAAC;AAEpB,CACD,CAAC;AAED,MAAM2B,MAAM,GAAGpC,UAAU,CAAC0C,MAAM,CAAC;EAChCL,OAAO,EAAE;IACRM,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["memo","useMemo","StyleSheet","View","GestureDetector","Animated","useDescriptors","useGestureContext","OriginProvider","useSlotProps","useSlotStyles","ScreenFallbackHost","useContentLayout","MaybeMaskedNavigationContainer","usesLayerRenderProps","SurfaceContainer","jsx","_jsx","jsxs","_jsxs","ContentLayer","children","pointerEvents","isBackdropActive","current","gestureContext","ContentComponent","options","contentComponent","isNavigationMaskEnabled","navigationMaskEnabled","contentPointerEvents","AnimatedContentComponent","createAnimatedComponent","hasAutoSnapPoint","snapPoints","includes","handleContentLayout","animatedContentStyle","animatedContentProps","contentStyles","styles","content","contentProps","contentChildren","enabled","collapsable","onLayout","gesture","detectorGesture","style","animatedProps","props","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/content.tsx"],"mappings":";;AAAA;AACA,SAA6BA,IAAI,EAAEC,OAAO,QAAQ,OAAO;AACzD,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,eAAe,QAAQ,8BAA8B;AAC9D,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,cAAc,QAAQ,uCAAuC;AACtE,SAASC,iBAAiB,QAAQ,oCAAoC;AACtE,SAASC,cAAc,QAAQ,2CAA2C;AAC1E,SAASC,YAAY,EAAEC,aAAa,QAAQ,kCAAkC;AAE9E,SAASC,kBAAkB,QAAQ,uCAAuC;AAC1E,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,8BAA8B,Q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a,EAAES,oBAAqB;IACpCc,OAAO,EAAEhB,uBAAwB;IAAAR,QAAA,eAEjCJ,IAAA,CAACF,gBAAgB;MAACO,aAAa,EAAES,oBAAqB;MAAAV,QAAA,eACrDF,KAAA,CAACX,cAAc;QAAAa,QAAA,GACba,gBAAgB,gBAChBjB,IAAA,CAACd,IAAI;UAAC2C,WAAW,EAAE,KAAM;UAACC,QAAQ,EAAEV,mBAAoB;UAAAhB,QAAA,EACtDA;QAAQ,CACJ,CAAC,GAEPA,QACA,eACDJ,IAAA,CAACN,kBAAkB,IAAE,CAAC;MAAA,CACP;IAAC,CACA;EAAC,CACY,CAChC;EAED,oBACCM,IAAA,CAACb,eAAe;IAAC4C,OAAO,EAAEvB,cAAc,CAAEwB,eAAgB;IAAA5B,QAAA,EACxDW,wBAAwB,gBACxBf,IAAA,CAACe,wBAAwB;MACxBkB,KAAK,EAAEV,aAAc;MACrBW,aAAa,EAAEZ,oBAAqB;MACpCjB,aAAa,EAAES,oBAAqB;MAAAV,QAAA,EAEnCuB;IAAe,CACS,CAAC,GACxBlB,gBAAgB,gBACnBT,IAAA,CAACS,gBAAgB;MAChBe,MAAM,EAAED,aAAc;MACtBY,KAAK,EAAET,YAAa;MACpBrB,aAAa,EAAES,oBAAqB;MAAAV,QAAA,EAEnCuB;IAAe,CACC,CAAC,gBAEnB3B,IAAA,CAACZ,QAAQ,CAACF,IAAI;MACb+C,KAAK,EAAEV,aAAc;MACrBW,aAAa,EAAEZ,oBAAqB;MACpCjB,aAAa,EAAES,oBAAqB;MAAAV,QAAA,EAEnCuB;IAAe,CACF;EACf,CACe,CAAC;AAEpB,CACD,CAAC;AAED,MAAMH,MAAM,GAAGvC,UAAU,CAACmD,MAAM,CAAC;EAChCX,OAAO,EAAE;IACRY,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ export function usesLayerRenderProps(component) {
4
+ return typeof component === "function" && !component.prototype?.isReactComponent;
5
+ }
6
+ //# sourceMappingURL=render-component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["usesLayerRenderProps","component","prototype","isReactComponent"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/render-component.ts"],"mappings":";;AAEA,OAAO,SAASA,oBAAoBA,CACnCC,SAA6B,EACyB;EACtD,OACC,OAAOA,SAAS,KAAK,UAAU,IAAI,CAACA,SAAS,CAACC,SAAS,EAAEC,gBAAgB;AAE3E","ignoreList":[]}
@@ -13,10 +13,12 @@ export const SurfaceContainer = /*#__PURE__*/memo(({
13
13
  const {
14
14
  current
15
15
  } = useDescriptors();
16
- const SurfaceComponent = current.options.surfaceComponent;
16
+
17
+ /** @deprecated Use `contentComponent` instead. */
18
+ const DeprecatedSurfaceComponent = current.options.surfaceComponent;
17
19
  const AnimatedSurfaceComponent = useMemo(() => {
18
- return SurfaceComponent ? Animated.createAnimatedComponent(SurfaceComponent) : null;
19
- }, [SurfaceComponent]);
20
+ return DeprecatedSurfaceComponent ? Animated.createAnimatedComponent(DeprecatedSurfaceComponent) : null;
21
+ }, [DeprecatedSurfaceComponent]);
20
22
  if (!AnimatedSurfaceComponent) return children;
21
23
  return /*#__PURE__*/_jsx(AnimatedSurface, {
22
24
  SurfaceComponent: AnimatedSurfaceComponent,
@@ -1 +1 @@
1
- {"version":3,"names":["memo","useMemo","StyleSheet","Animated","useDescriptors","useSlotProps","useSlotStyles","jsx","_jsx","SurfaceContainer","children","pointerEvents","current","SurfaceComponent","options","surfaceComponent","AnimatedSurfaceComponent","createAnimatedComponent","AnimatedSurface","animatedSurfaceStyle","animatedSurfaceProps","style","styles","surface","animatedProps","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/surface-container.tsx"],"mappings":";;AAAA,SAA6BA,IAAI,EAAEC,OAAO,QAAQ,OAAO;AACzD,SAASC,UAAU,QAAwB,cAAc;AACzD,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,cAAc,QA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
1
+ {"version":3,"names":["memo","useMemo","StyleSheet","Animated","useDescriptors","useSlotProps","useSlotStyles","jsx","_jsx","SurfaceContainer","children","pointerEvents","current","DeprecatedSurfaceComponent","options","surfaceComponent","AnimatedSurfaceComponent","createAnimatedComponent","AnimatedSurface","SurfaceComponent","animatedSurfaceStyle","animatedSurfaceProps","style","styles","surface","animatedProps","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/components/screen-container/layers/surface-container.tsx"],"mappings":";;AAAA,SAA6BA,IAAI,EAAEC,OAAO,QAAQ,OAAO;AACzD,SAASC,UAAU,QAAwB,cAAc;AACzD,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,cAAc,QAAQ,uCAAuC;AACtE,SAASC,YAAY,EAAEC,aAAa,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAO/E,OAAO,MAAMC,gBAAgB,gBAAGT,IAAI,CAAC,CAAC;EAAEU,QAAQ;EAAEC;AAAqB,CAAC,KAAK;EAC5E,MAAM;IAAEC;EAAQ,CAAC,GAAGR,cAAc,CAAC,CAAC;;EAEpC;EACA,MAAMS,0BAA0B,GAAGD,OAAO,CAACE,OAAO,CAACC,gBAAgB;EAEnE,MAAMC,wBAAwB,GAAGf,OAAO,CAA4B,MAAM;IACzE,OAAOY,0BAA0B,GAC9BV,QAAQ,CAACc,uBAAuB,CAACJ,0BAA0B,CAAC,GAC5D,IAAI;EACR,CAAC,EAAE,CAACA,0BAA0B,CAAC,CAAC;EAEhC,IAAI,CAACG,wBAAwB,EAAE,OAAON,QAAQ;EAE9C,oBACCF,IAAA,CAACU,eAAe;IACfC,gBAAgB,EAAEH,wBAAyB;IAC3CL,aAAa,EAAEA,aAAc;IAAAD,QAAA,EAE5BA;EAAQ,CACO,CAAC;AAEpB,CAAC,CAAC;AAQF,MAAMQ,eAAe,gBAAGlB,IAAI,CAC3B,CAAC;EAAEU,QAAQ;EAAEC,aAAa;EAAEQ;AAAuC,CAAC,KAAK;EACxE,MAAMC,oBAAoB,GAAGd,aAAa,CAAC,SAAS,CAAC;EACrD,MAAMe,oBAAoB,GAAGhB,YAAY,CAAC,SAAS,CAAC;EAEpD,oBACCG,IAAA,CAACW,gBAAgB;IAChBG,KAAK,EAAE,CAACC,MAAM,CAACC,OAAO,EAAEJ,oBAAoB,CAAE;IAC9CK,aAAa,EAAEJ,oBAAqB;IACpCV,aAAa,EAAEA,aAAc;IAAAD,QAAA,EAE5BA;EAAQ,CACQ,CAAC;AAErB,CACD,CAAC;AAED,MAAMa,MAAM,GAAGrB,UAAU,CAACwB,MAAM,CAAC;EAChCF,OAAO,EAAE;IACRG,IAAI,EAAE;EACP;AACD,CAAC,CAAC","ignoreList":[]}
@@ -19,6 +19,10 @@ export default {
19
19
  FlatList: createTransitionAwareComponent(FlatList, {
20
20
  isScrollable: true
21
21
  }),
22
+ /**
23
+ * @deprecated Use `navigationMaskEnabled` with the navigation mask style IDs
24
+ * instead.
25
+ */
22
26
  MaskedView: MaskedView,
23
27
  Presets,
24
28
  Specs
@@ -1 +1 @@
1
- {"version":3,"names":["FlatList","Pressable","ScrollView","View","withScreenTransitions","Boundary","createBoundaryComponent","createTransitionAwareComponent","MaskedView","Presets","Specs","isScrollable","snapTo","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","TRANSFORM_RESET","useHistory","useScreenState","useScreenAnimation","useScreenGesture"],"sourceRoot":"../../../src","sources":["shared/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACpE,SAASC,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASC,QAAQ,EAAEC,uBAAuB,QAAQ,uBAAuB;AACzE,SAASC,8BAA8B,QAAQ,gDAAgD;AAC/F,OAAOC,UAAU,MAAM,0BAA0B;AACjD,SAASC,OAAO,EAAEC,KAAK,QAAQ,WAAW;AAE1C,eAAe;EACdH,8BAA8B;EAC9BD,uBAAuB;EACvBF,qBAAqB;EACrBC,QAAQ;EACRF,IAAI,EAAEI,8BAA8B,CAACJ,IAAI,CAAC;EAC1CF,SAAS,EAAEM,8BAA8B,CAACN,SAAS,CAAC;EACpDC,UAAU,EAAEK,8BAA8B,CAACL,UAAU,EAAE;IACtDS,YAAY,EAAE;EACf,CAAC,CAAC;EACFX,QAAQ,EAAEO,8BAA8B,CAACP,QAAQ,EAAE;IAClDW,YAAY,EAAE;EACf,CAAC,CAAC;EACFH,UAAU,EAAEA,UAAU;EACtBC,OAAO;EACPC;AACD,CAAC;AAGD,SAASN,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASQ,MAAM,QAAQ,qBAAqB;AAM5C,SACCC,kCAAkC,EAClCC,gCAAgC,EAChCC,eAAe,QACT,aAAa;AACpB,SAASC,UAAU,QAAQ,gCAAgC;AAC3D,SAECC,cAAc,QACR,qCAAqC;AAC5C,SAECC,kBAAkB,QACZ,8BAA8B;AACrC,SAECC,gBAAgB,QACV,sDAAsD","ignoreList":[]}
1
+ {"version":3,"names":["FlatList","Pressable","ScrollView","View","withScreenTransitions","Boundary","createBoundaryComponent","createTransitionAwareComponent","MaskedView","Presets","Specs","isScrollable","snapTo","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","TRANSFORM_RESET","useHistory","useScreenState","useScreenAnimation","useScreenGesture"],"sourceRoot":"../../../src","sources":["shared/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACpE,SAASC,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASC,QAAQ,EAAEC,uBAAuB,QAAQ,uBAAuB;AACzE,SAASC,8BAA8B,QAAQ,gDAAgD;AAC/F,OAAOC,UAAU,MAAM,0BAA0B;AACjD,SAASC,OAAO,EAAEC,KAAK,QAAQ,WAAW;AAE1C,eAAe;EACdH,8BAA8B;EAC9BD,uBAAuB;EACvBF,qBAAqB;EACrBC,QAAQ;EACRF,IAAI,EAAEI,8BAA8B,CAACJ,IAAI,CAAC;EAC1CF,SAAS,EAAEM,8BAA8B,CAACN,SAAS,CAAC;EACpDC,UAAU,EAAEK,8BAA8B,CAACL,UAAU,EAAE;IACtDS,YAAY,EAAE;EACf,CAAC,CAAC;EACFX,QAAQ,EAAEO,8BAA8B,CAACP,QAAQ,EAAE;IAClDW,YAAY,EAAE;EACf,CAAC,CAAC;EACF;AACD;AACA;AACA;EACCH,UAAU,EAAEA,UAAU;EACtBC,OAAO;EACPC;AACD,CAAC;AAGD,SAASN,qBAAqB,QAAQ,oCAAoC;AAC1E,SAASQ,MAAM,QAAQ,qBAAqB;AAC5C,SACCC,kCAAkC,EAClCC,gCAAgC,EAChCC,eAAe,QACT,aAAa;AACpB,SAASC,UAAU,QAAQ,gCAAgC;AAC3D,SAECC,cAAc,QACR,qCAAqC;AAC5C,SAECC,kBAAkB,QACZ,8BAA8B;AACrC,SAECC,gBAAgB,QACV,sDAAsD","ignoreList":[]}