react-native-screen-transitions 3.4.0-alpha.0 → 3.4.0-alpha.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 (535) hide show
  1. package/README.md +11 -1046
  2. package/lib/commonjs/blank-stack/navigators/create-blank-stack-navigator.js +69 -2
  3. package/lib/commonjs/blank-stack/navigators/create-blank-stack-navigator.js.map +1 -1
  4. package/lib/commonjs/component-stack/navigators/create-component-stack-navigator.js +9 -0
  5. package/lib/commonjs/component-stack/navigators/create-component-stack-navigator.js.map +1 -1
  6. package/lib/commonjs/shared/animation/snap-to.js +5 -1
  7. package/lib/commonjs/shared/animation/snap-to.js.map +1 -1
  8. package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +195 -0
  9. package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -0
  10. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +7 -14
  11. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +1 -1
  12. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +19 -18
  13. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +1 -1
  14. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js +54 -0
  15. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js.map +1 -0
  16. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-measurement.js +40 -8
  17. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-measurement.js.map +1 -1
  18. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js +72 -0
  19. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js.map +1 -0
  20. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js +16 -7
  21. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js.map +1 -1
  22. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +7 -4
  23. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +1 -1
  24. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js +14 -15
  25. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js.map +1 -1
  26. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js +27 -9
  27. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js.map +1 -1
  28. package/lib/commonjs/shared/components/create-boundary-component/index.js +22 -8
  29. package/lib/commonjs/shared/components/create-boundary-component/index.js.map +1 -1
  30. package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js +5 -10
  31. package/lib/commonjs/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
  32. package/lib/commonjs/shared/components/create-transition-aware-component.js +3 -2
  33. package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
  34. package/lib/commonjs/shared/components/native-screen-container.js +12 -6
  35. package/lib/commonjs/shared/components/native-screen-container.js.map +1 -1
  36. package/lib/commonjs/shared/components/native-screen.js +35 -8
  37. package/lib/commonjs/shared/components/native-screen.js.map +1 -1
  38. package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js +2 -2
  39. package/lib/commonjs/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
  40. package/lib/commonjs/shared/components/overlay/index.js +1 -3
  41. package/lib/commonjs/shared/components/overlay/index.js.map +1 -1
  42. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js +2 -16
  43. package/lib/commonjs/shared/components/overlay/variations/overlay-host.js.map +1 -1
  44. package/lib/commonjs/shared/components/scene-view.js +2 -4
  45. package/lib/commonjs/shared/components/scene-view.js.map +1 -1
  46. package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js +60 -0
  47. package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js.map +1 -0
  48. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +9 -6
  49. package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
  50. package/lib/commonjs/shared/components/screen-container/layers/content.js +16 -56
  51. package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
  52. package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +86 -0
  53. package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -0
  54. package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +1 -1
  55. package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js +17 -4
  56. package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +1 -1
  57. package/lib/commonjs/shared/constants.js +6 -2
  58. package/lib/commonjs/shared/constants.js.map +1 -1
  59. package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js +49 -0
  60. package/lib/commonjs/shared/hooks/gestures/resolve-screen-gesture-target.js.map +1 -0
  61. package/lib/commonjs/shared/hooks/gestures/types.js +2 -0
  62. package/lib/commonjs/shared/hooks/gestures/types.js.map +1 -0
  63. package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js +7 -3
  64. package/lib/commonjs/shared/hooks/gestures/use-screen-gesture.js.map +1 -1
  65. package/lib/commonjs/shared/hooks/navigation/use-stack.js.map +1 -1
  66. package/lib/commonjs/shared/index.js +15 -3
  67. package/lib/commonjs/shared/index.js.map +1 -1
  68. package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js +61 -25
  69. package/lib/commonjs/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
  70. package/lib/commonjs/shared/providers/gestures/helpers/gesture-activation.js +11 -6
  71. package/lib/commonjs/shared/providers/gestures/helpers/gesture-activation.js.map +1 -1
  72. package/lib/commonjs/shared/providers/gestures/helpers/gesture-snap-points.js +44 -0
  73. package/lib/commonjs/shared/providers/gestures/helpers/gesture-snap-points.js.map +1 -0
  74. package/lib/commonjs/shared/providers/layout-anchor.provider.js +4 -6
  75. package/lib/commonjs/shared/providers/layout-anchor.provider.js.map +1 -1
  76. package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +31 -17
  77. package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
  78. package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js +1 -9
  79. package/lib/commonjs/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
  80. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +25 -13
  81. package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  82. package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +33 -0
  83. package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -0
  84. package/lib/commonjs/shared/providers/screen/animation/types.js +2 -0
  85. package/lib/commonjs/shared/providers/screen/animation/types.js.map +1 -0
  86. package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +9 -3
  87. package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
  88. package/lib/commonjs/shared/providers/stack/core.provider.js +14 -21
  89. package/lib/commonjs/shared/providers/stack/core.provider.js.map +1 -1
  90. package/lib/commonjs/shared/providers/stack/direct.provider.js +1 -1
  91. package/lib/commonjs/shared/providers/stack/direct.provider.js.map +1 -1
  92. package/lib/commonjs/shared/providers/stack/helpers/use-processed-routes.js +1 -1
  93. package/lib/commonjs/shared/providers/stack/helpers/use-processed-routes.js.map +1 -1
  94. package/lib/commonjs/shared/stores/animation.store.js +10 -2
  95. package/lib/commonjs/shared/stores/animation.store.js.map +1 -1
  96. package/lib/commonjs/shared/stores/bounds/internals/presence.js.map +1 -1
  97. package/lib/commonjs/shared/stores/bounds/internals/resolver.js +7 -0
  98. package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
  99. package/lib/commonjs/shared/utils/animation/animate-to-progress.js +6 -0
  100. package/lib/commonjs/shared/utils/animation/animate-to-progress.js.map +1 -1
  101. package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js +33 -9
  102. package/lib/commonjs/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
  103. package/lib/commonjs/shared/utils/bounds/helpers/geometry.js +3 -2
  104. package/lib/commonjs/shared/utils/bounds/helpers/geometry.js.map +1 -1
  105. package/lib/commonjs/shared/utils/bounds/helpers/interpolators.js +3 -2
  106. package/lib/commonjs/shared/utils/bounds/helpers/interpolators.js.map +1 -1
  107. package/lib/commonjs/shared/utils/bounds/helpers/link-accessor.js +2 -2
  108. package/lib/commonjs/shared/utils/bounds/helpers/link-accessor.js.map +1 -1
  109. package/lib/commonjs/shared/utils/bounds/helpers/resolve-bound-tag.js +4 -8
  110. package/lib/commonjs/shared/utils/bounds/helpers/resolve-bound-tag.js.map +1 -1
  111. package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js +4 -3
  112. package/lib/commonjs/shared/utils/bounds/helpers/style-composers.js.map +1 -1
  113. package/lib/commonjs/shared/utils/bounds/index.js +13 -3
  114. package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
  115. package/lib/commonjs/shared/utils/bounds/types/frame-props.js +6 -0
  116. package/lib/commonjs/shared/utils/bounds/types/frame-props.js.map +1 -0
  117. package/lib/commonjs/shared/utils/bounds/zoom/accessor.js +54 -0
  118. package/lib/commonjs/shared/utils/bounds/zoom/accessor.js.map +1 -0
  119. package/lib/commonjs/shared/utils/bounds/zoom/build.js +548 -0
  120. package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -0
  121. package/lib/commonjs/shared/utils/bounds/zoom/config.js +118 -0
  122. package/lib/commonjs/shared/utils/bounds/zoom/config.js.map +1 -0
  123. package/lib/commonjs/shared/utils/bounds/zoom/index.js +20 -0
  124. package/lib/commonjs/shared/utils/bounds/zoom/index.js.map +1 -0
  125. package/lib/commonjs/shared/utils/bounds/zoom/types.js.map +1 -0
  126. package/lib/commonjs/shared/utils/gesture/validate-snap-points.js +11 -5
  127. package/lib/commonjs/shared/utils/gesture/validate-snap-points.js.map +1 -1
  128. package/lib/commonjs/shared/utils/overlay/visibility.js +2 -9
  129. package/lib/commonjs/shared/utils/overlay/visibility.js.map +1 -1
  130. package/lib/commonjs/shared/utils/resolve-screen-transition-options.js +25 -0
  131. package/lib/commonjs/shared/utils/resolve-screen-transition-options.js.map +1 -0
  132. package/lib/module/blank-stack/navigators/create-blank-stack-navigator.js +69 -3
  133. package/lib/module/blank-stack/navigators/create-blank-stack-navigator.js.map +1 -1
  134. package/lib/module/component-stack/navigators/create-component-stack-navigator.js +9 -0
  135. package/lib/module/component-stack/navigators/create-component-stack-navigator.js.map +1 -1
  136. package/lib/module/shared/animation/snap-to.js +5 -1
  137. package/lib/module/shared/animation/snap-to.js.map +1 -1
  138. package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +182 -0
  139. package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -0
  140. package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +7 -14
  141. package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +1 -1
  142. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +19 -18
  143. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +1 -1
  144. package/lib/module/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js +49 -0
  145. package/lib/module/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.js.map +1 -0
  146. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-measurement.js +41 -8
  147. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-measurement.js.map +1 -1
  148. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js +67 -0
  149. package/lib/module/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.js.map +1 -0
  150. package/lib/module/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js +16 -7
  151. package/lib/module/shared/components/create-boundary-component/hooks/use-initial-layout-handler.js.map +1 -1
  152. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +7 -4
  153. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +1 -1
  154. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js +14 -15
  155. package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.js.map +1 -1
  156. package/lib/module/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js +27 -9
  157. package/lib/module/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.js.map +1 -1
  158. package/lib/module/shared/components/create-boundary-component/index.js +22 -8
  159. package/lib/module/shared/components/create-boundary-component/index.js.map +1 -1
  160. package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js +5 -10
  161. package/lib/module/shared/components/create-boundary-component/utils/build-boundary-match-key.js.map +1 -1
  162. package/lib/module/shared/components/create-transition-aware-component.js +3 -2
  163. package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
  164. package/lib/module/shared/components/native-screen-container.js +12 -6
  165. package/lib/module/shared/components/native-screen-container.js.map +1 -1
  166. package/lib/module/shared/components/native-screen.js +35 -8
  167. package/lib/module/shared/components/native-screen.js.map +1 -1
  168. package/lib/module/shared/components/overlay/helpers/get-active-overlay.js +3 -3
  169. package/lib/module/shared/components/overlay/helpers/get-active-overlay.js.map +1 -1
  170. package/lib/module/shared/components/overlay/index.js +1 -3
  171. package/lib/module/shared/components/overlay/index.js.map +1 -1
  172. package/lib/module/shared/components/overlay/variations/overlay-host.js +3 -17
  173. package/lib/module/shared/components/overlay/variations/overlay-host.js.map +1 -1
  174. package/lib/module/shared/components/scene-view.js +3 -5
  175. package/lib/module/shared/components/scene-view.js.map +1 -1
  176. package/lib/module/shared/components/screen-container/hooks/use-content-layout.js +56 -0
  177. package/lib/module/shared/components/screen-container/hooks/use-content-layout.js.map +1 -0
  178. package/lib/module/shared/components/screen-container/layers/backdrop.js +9 -6
  179. package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
  180. package/lib/module/shared/components/screen-container/layers/content.js +18 -58
  181. package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
  182. package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +81 -0
  183. package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -0
  184. package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +1 -1
  185. package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js +17 -4
  186. package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +1 -1
  187. package/lib/module/shared/constants.js +6 -2
  188. package/lib/module/shared/constants.js.map +1 -1
  189. package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js +45 -0
  190. package/lib/module/shared/hooks/gestures/resolve-screen-gesture-target.js.map +1 -0
  191. package/lib/module/shared/hooks/gestures/types.js +2 -0
  192. package/lib/module/shared/hooks/gestures/types.js.map +1 -0
  193. package/lib/module/shared/hooks/gestures/use-screen-gesture.js +7 -4
  194. package/lib/module/shared/hooks/gestures/use-screen-gesture.js.map +1 -1
  195. package/lib/module/shared/hooks/navigation/use-stack.js.map +1 -1
  196. package/lib/module/shared/index.js +1 -2
  197. package/lib/module/shared/index.js.map +1 -1
  198. package/lib/module/shared/providers/gestures/handlers/use-handlers.js +61 -25
  199. package/lib/module/shared/providers/gestures/handlers/use-handlers.js.map +1 -1
  200. package/lib/module/shared/providers/gestures/helpers/gesture-activation.js +11 -6
  201. package/lib/module/shared/providers/gestures/helpers/gesture-activation.js.map +1 -1
  202. package/lib/module/shared/providers/gestures/helpers/gesture-snap-points.js +38 -0
  203. package/lib/module/shared/providers/gestures/helpers/gesture-snap-points.js.map +1 -0
  204. package/lib/module/shared/providers/layout-anchor.provider.js +4 -6
  205. package/lib/module/shared/providers/layout-anchor.provider.js.map +1 -1
  206. package/lib/module/shared/providers/screen/animation/animation.provider.js +30 -15
  207. package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
  208. package/lib/module/shared/providers/screen/animation/helpers/derivations.js +1 -9
  209. package/lib/module/shared/providers/screen/animation/helpers/derivations.js.map +1 -1
  210. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +25 -13
  211. package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
  212. package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js +29 -0
  213. package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -0
  214. package/lib/module/shared/providers/screen/animation/index.js.map +1 -1
  215. package/lib/module/shared/providers/screen/animation/types.js +2 -0
  216. package/lib/module/shared/providers/screen/animation/types.js.map +1 -0
  217. package/lib/module/shared/providers/screen/animation/use-screen-animation.js +9 -3
  218. package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
  219. package/lib/module/shared/providers/stack/core.provider.js +14 -21
  220. package/lib/module/shared/providers/stack/core.provider.js.map +1 -1
  221. package/lib/module/shared/providers/stack/direct.provider.js +2 -2
  222. package/lib/module/shared/providers/stack/direct.provider.js.map +1 -1
  223. package/lib/module/shared/providers/stack/helpers/use-processed-routes.js +2 -2
  224. package/lib/module/shared/providers/stack/helpers/use-processed-routes.js.map +1 -1
  225. package/lib/module/shared/stores/animation.store.js +10 -2
  226. package/lib/module/shared/stores/animation.store.js.map +1 -1
  227. package/lib/module/shared/stores/bounds/internals/presence.js.map +1 -1
  228. package/lib/module/shared/stores/bounds/internals/resolver.js +7 -0
  229. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  230. package/lib/module/shared/utils/animation/animate-to-progress.js +6 -0
  231. package/lib/module/shared/utils/animation/animate-to-progress.js.map +1 -1
  232. package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js +33 -9
  233. package/lib/module/shared/utils/bounds/helpers/compute-bounds-styles.js.map +1 -1
  234. package/lib/module/shared/utils/bounds/helpers/geometry.js +3 -2
  235. package/lib/module/shared/utils/bounds/helpers/geometry.js.map +1 -1
  236. package/lib/module/shared/utils/bounds/helpers/interpolators.js +3 -2
  237. package/lib/module/shared/utils/bounds/helpers/interpolators.js.map +1 -1
  238. package/lib/module/shared/utils/bounds/helpers/link-accessor.js +2 -2
  239. package/lib/module/shared/utils/bounds/helpers/link-accessor.js.map +1 -1
  240. package/lib/module/shared/utils/bounds/helpers/resolve-bound-tag.js +4 -8
  241. package/lib/module/shared/utils/bounds/helpers/resolve-bound-tag.js.map +1 -1
  242. package/lib/module/shared/utils/bounds/helpers/style-composers.js +4 -3
  243. package/lib/module/shared/utils/bounds/helpers/style-composers.js.map +1 -1
  244. package/lib/module/shared/utils/bounds/index.js +13 -3
  245. package/lib/module/shared/utils/bounds/index.js.map +1 -1
  246. package/lib/module/shared/utils/bounds/types/frame-props.js +4 -0
  247. package/lib/module/shared/utils/bounds/types/frame-props.js.map +1 -0
  248. package/lib/module/shared/utils/bounds/zoom/accessor.js +49 -0
  249. package/lib/module/shared/utils/bounds/zoom/accessor.js.map +1 -0
  250. package/lib/module/shared/utils/bounds/zoom/build.js +543 -0
  251. package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -0
  252. package/lib/module/shared/utils/bounds/zoom/config.js +112 -0
  253. package/lib/module/shared/utils/bounds/zoom/config.js.map +1 -0
  254. package/lib/module/shared/utils/bounds/zoom/index.js +5 -0
  255. package/lib/module/shared/utils/bounds/zoom/index.js.map +1 -0
  256. package/lib/module/shared/utils/bounds/zoom/types.js.map +1 -0
  257. package/lib/module/shared/utils/gesture/validate-snap-points.js +11 -5
  258. package/lib/module/shared/utils/gesture/validate-snap-points.js.map +1 -1
  259. package/lib/module/shared/utils/overlay/visibility.js +1 -7
  260. package/lib/module/shared/utils/overlay/visibility.js.map +1 -1
  261. package/lib/module/shared/utils/resolve-screen-transition-options.js +19 -0
  262. package/lib/module/shared/utils/resolve-screen-transition-options.js.map +1 -0
  263. package/lib/typescript/blank-stack/index.d.ts +1 -1
  264. package/lib/typescript/blank-stack/index.d.ts.map +1 -1
  265. package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts +29 -4
  266. package/lib/typescript/blank-stack/navigators/create-blank-stack-navigator.d.ts.map +1 -1
  267. package/lib/typescript/blank-stack/types.d.ts +33 -4
  268. package/lib/typescript/blank-stack/types.d.ts.map +1 -1
  269. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts +8 -0
  270. package/lib/typescript/component-stack/navigators/create-component-stack-navigator.d.ts.map +1 -1
  271. package/lib/typescript/shared/animation/snap-to.d.ts.map +1 -1
  272. package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +81 -0
  273. package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +1 -0
  274. package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts.map +1 -1
  275. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts +2 -3
  276. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts.map +1 -1
  277. package/lib/typescript/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.d.ts +11 -0
  278. package/lib/typescript/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.d.ts.map +1 -0
  279. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-measurement.d.ts +2 -2
  280. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-measurement.d.ts.map +1 -1
  281. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.d.ts +11 -0
  282. package/lib/typescript/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.d.ts.map +1 -0
  283. package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-layout-handler.d.ts.map +1 -1
  284. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts.map +1 -1
  285. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.d.ts +3 -3
  286. package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.d.ts.map +1 -1
  287. package/lib/typescript/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.d.ts +2 -2
  288. package/lib/typescript/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.d.ts.map +1 -1
  289. package/lib/typescript/shared/components/create-boundary-component/index.d.ts +5 -3
  290. package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +1 -1
  291. package/lib/typescript/shared/components/create-boundary-component/types.d.ts +2 -4
  292. package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
  293. package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts +0 -1
  294. package/lib/typescript/shared/components/create-boundary-component/utils/build-boundary-match-key.d.ts.map +1 -1
  295. package/lib/typescript/shared/components/create-transition-aware-component.d.ts +1 -0
  296. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  297. package/lib/typescript/shared/components/native-screen-container.d.ts.map +1 -1
  298. package/lib/typescript/shared/components/native-screen.d.ts.map +1 -1
  299. package/lib/typescript/shared/components/overlay/helpers/get-active-overlay.d.ts +1 -1
  300. package/lib/typescript/shared/components/overlay/index.d.ts +0 -2
  301. package/lib/typescript/shared/components/overlay/index.d.ts.map +1 -1
  302. package/lib/typescript/shared/components/overlay/variations/overlay-host.d.ts.map +1 -1
  303. package/lib/typescript/shared/components/scene-view.d.ts.map +1 -1
  304. package/lib/typescript/shared/components/screen-container/hooks/use-content-layout.d.ts +3 -0
  305. package/lib/typescript/shared/components/screen-container/hooks/use-content-layout.d.ts.map +1 -0
  306. package/lib/typescript/shared/components/screen-container/layers/backdrop.d.ts.map +1 -1
  307. package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
  308. package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts +9 -0
  309. package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -0
  310. package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts.map +1 -1
  311. package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts.map +1 -1
  312. package/lib/typescript/shared/constants.d.ts +3 -0
  313. package/lib/typescript/shared/constants.d.ts.map +1 -1
  314. package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts +10 -0
  315. package/lib/typescript/shared/hooks/gestures/resolve-screen-gesture-target.d.ts.map +1 -0
  316. package/lib/typescript/shared/hooks/gestures/types.d.ts +4 -0
  317. package/lib/typescript/shared/hooks/gestures/types.d.ts.map +1 -0
  318. package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts +4 -2
  319. package/lib/typescript/shared/hooks/gestures/use-screen-gesture.d.ts.map +1 -1
  320. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts +1 -2
  321. package/lib/typescript/shared/hooks/navigation/use-stack.d.ts.map +1 -1
  322. package/lib/typescript/shared/index.d.ts +16 -18
  323. package/lib/typescript/shared/index.d.ts.map +1 -1
  324. package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts +1 -1
  325. package/lib/typescript/shared/providers/gestures/handlers/use-handlers.d.ts.map +1 -1
  326. package/lib/typescript/shared/providers/gestures/helpers/gesture-activation.d.ts.map +1 -1
  327. package/lib/typescript/shared/providers/gestures/helpers/gesture-snap-points.d.ts +18 -0
  328. package/lib/typescript/shared/providers/gestures/helpers/gesture-snap-points.d.ts.map +1 -0
  329. package/lib/typescript/shared/providers/layout-anchor.provider.d.ts +1 -1
  330. package/lib/typescript/shared/providers/layout-anchor.provider.d.ts.map +1 -1
  331. package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +6 -3
  332. package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
  333. package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts +0 -2
  334. package/lib/typescript/shared/providers/screen/animation/helpers/derivations.d.ts.map +1 -1
  335. package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
  336. package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts +11 -0
  337. package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts.map +1 -0
  338. package/lib/typescript/shared/providers/screen/animation/index.d.ts +1 -1
  339. package/lib/typescript/shared/providers/screen/animation/index.d.ts.map +1 -1
  340. package/lib/typescript/shared/providers/screen/animation/types.d.ts +4 -0
  341. package/lib/typescript/shared/providers/screen/animation/types.d.ts.map +1 -0
  342. package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts +5 -1
  343. package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
  344. package/lib/typescript/shared/providers/stack/core.provider.d.ts +2 -0
  345. package/lib/typescript/shared/providers/stack/core.provider.d.ts.map +1 -1
  346. package/lib/typescript/shared/providers/stack/direct.provider.d.ts.map +1 -1
  347. package/lib/typescript/shared/stores/animation.store.d.ts +8 -2
  348. package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
  349. package/lib/typescript/shared/stores/bounds/internals/presence.d.ts.map +1 -1
  350. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  351. package/lib/typescript/shared/stores/bounds/types.d.ts +2 -0
  352. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  353. package/lib/typescript/shared/types/animation.types.d.ts +33 -51
  354. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
  355. package/lib/typescript/shared/types/bounds.types.d.ts +46 -9
  356. package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
  357. package/lib/typescript/shared/types/index.d.ts +3 -3
  358. package/lib/typescript/shared/types/index.d.ts.map +1 -1
  359. package/lib/typescript/shared/types/overlay.types.d.ts +1 -22
  360. package/lib/typescript/shared/types/overlay.types.d.ts.map +1 -1
  361. package/lib/typescript/shared/types/screen.types.d.ts +62 -37
  362. package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
  363. package/lib/typescript/shared/utils/animation/animate-to-progress.d.ts.map +1 -1
  364. package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts +2 -2
  365. package/lib/typescript/shared/utils/bounds/helpers/build-bounds-options.d.ts.map +1 -1
  366. package/lib/typescript/shared/utils/bounds/helpers/compute-bounds-styles.d.ts.map +1 -1
  367. package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts +3 -2
  368. package/lib/typescript/shared/utils/bounds/helpers/geometry.d.ts.map +1 -1
  369. package/lib/typescript/shared/utils/bounds/helpers/interpolators.d.ts +3 -2
  370. package/lib/typescript/shared/utils/bounds/helpers/interpolators.d.ts.map +1 -1
  371. package/lib/typescript/shared/utils/bounds/helpers/link-accessor.d.ts +3 -2
  372. package/lib/typescript/shared/utils/bounds/helpers/link-accessor.d.ts.map +1 -1
  373. package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts +2 -1
  374. package/lib/typescript/shared/utils/bounds/helpers/resolve-bound-tag.d.ts.map +1 -1
  375. package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts +4 -3
  376. package/lib/typescript/shared/utils/bounds/helpers/style-composers.d.ts.map +1 -1
  377. package/lib/typescript/shared/utils/bounds/index.d.ts +2 -2
  378. package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
  379. package/lib/typescript/shared/utils/bounds/types/frame-props.d.ts +5 -0
  380. package/lib/typescript/shared/utils/bounds/types/frame-props.d.ts.map +1 -0
  381. package/lib/typescript/shared/utils/bounds/types/options.d.ts +5 -4
  382. package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
  383. package/lib/typescript/shared/utils/bounds/zoom/accessor.d.ts +17 -0
  384. package/lib/typescript/shared/utils/bounds/zoom/accessor.d.ts.map +1 -0
  385. package/lib/typescript/shared/utils/bounds/zoom/build.d.ts +4 -0
  386. package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -0
  387. package/lib/typescript/shared/utils/bounds/zoom/config.d.ts +43 -0
  388. package/lib/typescript/shared/utils/bounds/zoom/config.d.ts.map +1 -0
  389. package/lib/typescript/shared/utils/bounds/zoom/index.d.ts +3 -0
  390. package/lib/typescript/shared/utils/bounds/zoom/index.d.ts.map +1 -0
  391. package/lib/typescript/shared/utils/bounds/zoom/types.d.ts +17 -0
  392. package/lib/typescript/shared/utils/bounds/zoom/types.d.ts.map +1 -0
  393. package/lib/typescript/shared/utils/gesture/validate-snap-points.d.ts +5 -3
  394. package/lib/typescript/shared/utils/gesture/validate-snap-points.d.ts.map +1 -1
  395. package/lib/typescript/shared/utils/overlay/visibility.d.ts +1 -4
  396. package/lib/typescript/shared/utils/overlay/visibility.d.ts.map +1 -1
  397. package/lib/typescript/shared/utils/resolve-screen-transition-options.d.ts +5 -0
  398. package/lib/typescript/shared/utils/resolve-screen-transition-options.d.ts.map +1 -0
  399. package/package.json +3 -2
  400. package/src/blank-stack/index.ts +1 -0
  401. package/src/blank-stack/navigators/create-blank-stack-navigator.tsx +138 -19
  402. package/src/blank-stack/types.ts +33 -5
  403. package/src/component-stack/navigators/create-component-stack-navigator.tsx +8 -0
  404. package/src/shared/animation/snap-to.ts +12 -1
  405. package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +258 -0
  406. package/src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts +7 -17
  407. package/src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts +38 -28
  408. package/src/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.ts +58 -0
  409. package/src/shared/components/create-boundary-component/hooks/use-group-active-measurement.ts +41 -10
  410. package/src/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.ts +82 -0
  411. package/src/shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts +24 -12
  412. package/src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts +11 -9
  413. package/src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts +29 -26
  414. package/src/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts +26 -17
  415. package/src/shared/components/create-boundary-component/index.tsx +25 -6
  416. package/src/shared/components/create-boundary-component/types.ts +8 -4
  417. package/src/shared/components/create-boundary-component/utils/build-boundary-match-key.ts +2 -14
  418. package/src/shared/components/create-transition-aware-component.tsx +5 -2
  419. package/src/shared/components/native-screen-container.tsx +11 -3
  420. package/src/shared/components/native-screen.tsx +65 -20
  421. package/src/shared/components/overlay/helpers/get-active-overlay.ts +3 -3
  422. package/src/shared/components/overlay/index.ts +0 -2
  423. package/src/shared/components/overlay/variations/overlay-host.tsx +2 -16
  424. package/src/shared/components/scene-view.tsx +0 -3
  425. package/src/shared/components/screen-container/hooks/use-content-layout.ts +82 -0
  426. package/src/shared/components/screen-container/layers/backdrop.tsx +25 -6
  427. package/src/shared/components/screen-container/layers/content.tsx +23 -82
  428. package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +101 -0
  429. package/src/shared/components/screen-lifecycle/hooks/use-close-transition/index.ts +1 -2
  430. package/src/shared/components/screen-lifecycle/hooks/use-open-transition.ts +20 -6
  431. package/src/shared/constants.ts +6 -2
  432. package/src/shared/hooks/gestures/resolve-screen-gesture-target.ts +66 -0
  433. package/src/shared/hooks/gestures/types.ts +5 -0
  434. package/src/shared/hooks/gestures/use-screen-gesture.ts +10 -3
  435. package/src/shared/hooks/navigation/use-stack.tsx +1 -2
  436. package/src/shared/index.ts +14 -16
  437. package/src/shared/providers/gestures/handlers/use-handlers.ts +75 -29
  438. package/src/shared/providers/gestures/helpers/gesture-activation.ts +11 -6
  439. package/src/shared/providers/gestures/helpers/gesture-snap-points.ts +72 -0
  440. package/src/shared/providers/layout-anchor.provider.tsx +2 -5
  441. package/src/shared/providers/register-bounds.provider.tsx +1 -1
  442. package/src/shared/providers/screen/animation/animation.provider.tsx +46 -10
  443. package/src/shared/providers/screen/animation/helpers/derivations.ts +0 -8
  444. package/src/shared/providers/screen/animation/helpers/pipeline.ts +51 -14
  445. package/src/shared/providers/screen/animation/helpers/resolve-screen-animation-target.ts +44 -0
  446. package/src/shared/providers/screen/animation/index.tsx +4 -1
  447. package/src/shared/providers/screen/animation/types.ts +5 -0
  448. package/src/shared/providers/screen/animation/use-screen-animation.tsx +16 -3
  449. package/src/shared/providers/stack/core.provider.tsx +27 -14
  450. package/src/shared/providers/stack/direct.provider.tsx +2 -5
  451. package/src/shared/providers/stack/helpers/use-processed-routes.ts +2 -2
  452. package/src/shared/stores/animation.store.ts +21 -5
  453. package/src/shared/stores/bounds/internals/presence.ts +3 -1
  454. package/src/shared/stores/bounds/internals/resolver.ts +13 -1
  455. package/src/shared/stores/bounds/types.ts +2 -0
  456. package/src/shared/types/animation.types.ts +32 -58
  457. package/src/shared/types/bounds.types.ts +30 -10
  458. package/src/shared/types/index.ts +2 -15
  459. package/src/shared/types/overlay.types.ts +1 -28
  460. package/src/shared/types/screen.types.ts +67 -38
  461. package/src/shared/utils/animation/animate-to-progress.ts +7 -0
  462. package/src/shared/utils/bounds/helpers/build-bounds-options.ts +2 -2
  463. package/src/shared/utils/bounds/helpers/compute-bounds-styles.ts +47 -8
  464. package/src/shared/utils/bounds/helpers/geometry.ts +3 -2
  465. package/src/shared/utils/bounds/helpers/interpolators.ts +8 -6
  466. package/src/shared/utils/bounds/helpers/link-accessor.ts +10 -6
  467. package/src/shared/utils/bounds/helpers/resolve-bound-tag.ts +7 -10
  468. package/src/shared/utils/bounds/helpers/style-composers.ts +4 -3
  469. package/src/shared/utils/bounds/index.ts +22 -13
  470. package/src/shared/utils/bounds/types/frame-props.ts +5 -0
  471. package/src/shared/utils/bounds/types/options.ts +6 -4
  472. package/src/shared/utils/bounds/zoom/accessor.ts +69 -0
  473. package/src/shared/utils/bounds/zoom/build.ts +715 -0
  474. package/src/shared/utils/bounds/zoom/config.ts +179 -0
  475. package/src/shared/utils/bounds/zoom/index.ts +2 -0
  476. package/src/shared/utils/bounds/zoom/types.ts +22 -0
  477. package/src/shared/utils/gesture/validate-snap-points.ts +20 -8
  478. package/src/shared/utils/overlay/visibility.ts +1 -16
  479. package/src/shared/utils/resolve-screen-transition-options.ts +37 -0
  480. package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js +0 -64
  481. package/lib/commonjs/shared/components/overlay/variations/screen-overlay.js.map +0 -1
  482. package/lib/commonjs/shared/providers/viewport.provider.js +0 -33
  483. package/lib/commonjs/shared/providers/viewport.provider.js.map +0 -1
  484. package/lib/commonjs/shared/utils/bounds/helpers/math.js +0 -132
  485. package/lib/commonjs/shared/utils/bounds/helpers/math.js.map +0 -1
  486. package/lib/commonjs/shared/utils/bounds/helpers/navigation-accessor.js +0 -45
  487. package/lib/commonjs/shared/utils/bounds/helpers/navigation-accessor.js.map +0 -1
  488. package/lib/commonjs/shared/utils/bounds/sugar/navigation/helpers.js +0 -60
  489. package/lib/commonjs/shared/utils/bounds/sugar/navigation/helpers.js.map +0 -1
  490. package/lib/commonjs/shared/utils/bounds/sugar/navigation/index.js +0 -20
  491. package/lib/commonjs/shared/utils/bounds/sugar/navigation/index.js.map +0 -1
  492. package/lib/commonjs/shared/utils/bounds/sugar/navigation/types.js.map +0 -1
  493. package/lib/commonjs/shared/utils/bounds/sugar/navigation/zoom.js +0 -295
  494. package/lib/commonjs/shared/utils/bounds/sugar/navigation/zoom.js.map +0 -1
  495. package/lib/module/shared/components/overlay/variations/screen-overlay.js +0 -61
  496. package/lib/module/shared/components/overlay/variations/screen-overlay.js.map +0 -1
  497. package/lib/module/shared/providers/viewport.provider.js +0 -27
  498. package/lib/module/shared/providers/viewport.provider.js.map +0 -1
  499. package/lib/module/shared/utils/bounds/helpers/math.js +0 -115
  500. package/lib/module/shared/utils/bounds/helpers/math.js.map +0 -1
  501. package/lib/module/shared/utils/bounds/helpers/navigation-accessor.js +0 -40
  502. package/lib/module/shared/utils/bounds/helpers/navigation-accessor.js.map +0 -1
  503. package/lib/module/shared/utils/bounds/sugar/navigation/helpers.js +0 -54
  504. package/lib/module/shared/utils/bounds/sugar/navigation/helpers.js.map +0 -1
  505. package/lib/module/shared/utils/bounds/sugar/navigation/index.js +0 -15
  506. package/lib/module/shared/utils/bounds/sugar/navigation/index.js.map +0 -1
  507. package/lib/module/shared/utils/bounds/sugar/navigation/types.js.map +0 -1
  508. package/lib/module/shared/utils/bounds/sugar/navigation/zoom.js +0 -290
  509. package/lib/module/shared/utils/bounds/sugar/navigation/zoom.js.map +0 -1
  510. package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts +0 -10
  511. package/lib/typescript/shared/components/overlay/variations/screen-overlay.d.ts.map +0 -1
  512. package/lib/typescript/shared/providers/viewport.provider.d.ts +0 -13
  513. package/lib/typescript/shared/providers/viewport.provider.d.ts.map +0 -1
  514. package/lib/typescript/shared/utils/bounds/helpers/math.d.ts +0 -38
  515. package/lib/typescript/shared/utils/bounds/helpers/math.d.ts.map +0 -1
  516. package/lib/typescript/shared/utils/bounds/helpers/navigation-accessor.d.ts +0 -16
  517. package/lib/typescript/shared/utils/bounds/helpers/navigation-accessor.d.ts.map +0 -1
  518. package/lib/typescript/shared/utils/bounds/sugar/navigation/helpers.d.ts +0 -17
  519. package/lib/typescript/shared/utils/bounds/sugar/navigation/helpers.d.ts.map +0 -1
  520. package/lib/typescript/shared/utils/bounds/sugar/navigation/index.d.ts +0 -3
  521. package/lib/typescript/shared/utils/bounds/sugar/navigation/index.d.ts.map +0 -1
  522. package/lib/typescript/shared/utils/bounds/sugar/navigation/types.d.ts +0 -18
  523. package/lib/typescript/shared/utils/bounds/sugar/navigation/types.d.ts.map +0 -1
  524. package/lib/typescript/shared/utils/bounds/sugar/navigation/zoom.d.ts +0 -4
  525. package/lib/typescript/shared/utils/bounds/sugar/navigation/zoom.d.ts.map +0 -1
  526. package/src/shared/components/overlay/variations/screen-overlay.tsx +0 -68
  527. package/src/shared/providers/viewport.provider.tsx +0 -39
  528. package/src/shared/utils/bounds/helpers/math.ts +0 -161
  529. package/src/shared/utils/bounds/helpers/navigation-accessor.ts +0 -61
  530. package/src/shared/utils/bounds/sugar/navigation/helpers.ts +0 -74
  531. package/src/shared/utils/bounds/sugar/navigation/index.ts +0 -14
  532. package/src/shared/utils/bounds/sugar/navigation/types.ts +0 -26
  533. package/src/shared/utils/bounds/sugar/navigation/zoom.ts +0 -348
  534. /package/lib/commonjs/shared/utils/bounds/{sugar/navigation → zoom}/types.js +0 -0
  535. /package/lib/module/shared/utils/bounds/{sugar/navigation → zoom}/types.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BoundStore","DEFAULT_DRAG_RESISTANCE","DEFAULT_DRAG_DIRECTIONAL_SCALE_MIN","DEFAULT_DRAG_DIRECTIONAL_SCALE_MAX","DEFAULT_MASK_BORDER_RADIUS","ZERO_OUTSET","Object","freeze","top","right","bottom","left","toNumber","value","fallback","isFiniteNumber","Number","isFinite","normalizeOutset","normalizeZoomOptions","zoomOptions","resolvedMaskRadius","mask","borderRadius","maskBorderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderCurve","outset","motion","dragResistance","dragDirectionalScaleMin","dragDirectionalScaleMax","resolveZoomConfig","id","group","currentRouteKey","resolveTag","defaultAnchor","resolvedTag","boundaryConfig","getBoundaryConfig","effectiveConfig","scopedLink","getActiveLink","link","source","screenKey","sharedOptions","anchor","scaleMode","explicitTarget","target","resolvedZoomOptions"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/config.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,wBAAwB;AAKnD,MAAMC,uBAAuB,GAAG,GAAG;AACnC,MAAMC,kCAAkC,GAAG,IAAI;AAC/C,MAAMC,kCAAkC,GAAG,IAAI;AAM/C,MAAMC,0BAA2C,GAAG,EAAE;AAEtD,MAAMC,WAAW,GAAGC,MAAM,CAACC,MAAM,CAAC;EACjCC,GAAG,EAAE,CAAC;EACNC,KAAK,EAAE,CA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;EACpC,IAAI,CAACE,eAAe,EAAE;IACrB;IACA;IACA;IACA,MAAMC,UAAU,GAAGP,eAAe,GAC/BtC,UAAU,CAAC8C,aAAa,CAACL,WAAW,EAAEH,eAAe,CAAC,GACtD,IAAI;IACP,MAAMS,IAAI,GAAGF,UAAU,IAAI7C,UAAU,CAAC8C,aAAa,CAACL,WAAW,CAAC;IAChE,IAAIM,IAAI,EAAEC,MAAM,EAAE;MACjBJ,eAAe,GAAG5C,UAAU,CAAC2C,iBAAiB,CAC7CF,WAAW,EACXM,IAAI,CAACC,MAAM,CAACC,SACb,CAAC;IACF;EACD;EAEA,MAAMC,aAAqC,GAAG;IAC7CC,MAAM,EAAE/B,WAAW,EAAE+B,MAAM,IAAIP,eAAe,EAAEO,MAAM,IAAIX,aAAa;IACvEY,SAAS,EACRhC,WAAW,EAAEgC,SAAS,IAAIR,eAAe,EAAEQ,SAAS,IAAI;EAC1D,CAAC;EAED,MAAMC,cAAc,GAAGjC,WAAW,EAAEkC,MAAM,IAAIV,eAAe,EAAEU,MAAM;EACrE,MAAMC,mBAAmB,GAAGpC,oBAAoB,CAACC,WAAW,CAAC;EAE7D,OAAO;IACNqB,WAAW;IACXS,aAAa;IACbG,cAAc;IACdjC,WAAW,EAAEmC;EACd,CAAC;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ export { createZoomAccessor } from "./accessor";
4
+ export { buildZoomStyles } from "./build";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createZoomAccessor","buildZoomStyles"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/index.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAC/C,SAASC,eAAe,QAAQ,SAAS","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/zoom/types.ts"],"mappings":"","ignoreList":[]}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
 
3
3
  /**
4
- * Filters snap points to only valid, finite values.
4
+ * Filters snap points to only valid, finite numeric values.
5
5
  * Excludes zero (dismiss) when canDismiss is false.
6
6
  */
7
7
  export function sanitizeSnapPoints(snapPoints, canDismiss) {
8
8
  "worklet";
9
9
 
10
- return snapPoints.filter(point => canDismiss ? Number.isFinite(point) : Number.isFinite(point) && point > 0);
10
+ return snapPoints.filter(point => typeof point === "number" && (canDismiss ? Number.isFinite(point) : Number.isFinite(point) && point > 0));
11
11
  }
12
12
  export const validateSnapPoints = ({
13
13
  snapPoints,
@@ -16,15 +16,20 @@ export const validateSnapPoints = ({
16
16
  if (!snapPoints || snapPoints.length === 0) {
17
17
  return {
18
18
  hasSnapPoints: false,
19
+ hasAutoSnapPoint: false,
19
20
  snapPoints: [],
20
21
  minSnapPoint: -1,
21
22
  maxSnapPoint: -1
22
23
  };
23
24
  }
25
+ const hasAuto = snapPoints.includes("auto");
24
26
  const normalizedSnaps = sanitizeSnapPoints(snapPoints, canDismiss ?? false);
25
- if (normalizedSnaps.length === 0) {
27
+
28
+ // hasSnapPoints is true if there are valid numeric points OR an 'auto' point
29
+ if (normalizedSnaps.length === 0 && !hasAuto) {
26
30
  return {
27
31
  hasSnapPoints: false,
32
+ hasAutoSnapPoint: false,
28
33
  snapPoints: [],
29
34
  minSnapPoint: -1,
30
35
  maxSnapPoint: -1
@@ -32,10 +37,11 @@ export const validateSnapPoints = ({
32
37
  }
33
38
  const sortedSnaps = normalizedSnaps.slice().sort((a, b) => a - b);
34
39
  // Clamp to snap point bounds (dismiss at 0 only if allowed)
35
- const minProgress = canDismiss ? 0 : sortedSnaps[0];
36
- const maxProgress = sortedSnaps[sortedSnaps.length - 1];
40
+ const minProgress = canDismiss ? 0 : sortedSnaps[0] ?? -1;
41
+ const maxProgress = sortedSnaps[sortedSnaps.length - 1] ?? -1;
37
42
  return {
38
43
  hasSnapPoints: true,
44
+ hasAutoSnapPoint: hasAuto,
39
45
  snapPoints: sortedSnaps,
40
46
  minSnapPoint: minProgress,
41
47
  maxSnapPoint: maxProgress
@@ -1 +1 @@
1
- {"version":3,"names":["sanitizeSnapPoints","snapPoints","canDismiss","filter","point","Number","isFinite","validateSnapPoints","length","hasSnapPoints","minSnapPoint","maxSnapPoint","normalizedSnaps","sortedSnaps","slice","sort","a","b","minProgress","maxProgress"],"sourceRoot":"../../../../../src","sources":["shared/utils/gesture/validate-snap-points.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAO,SAASA,kBAAkBA,CACjCC,UAAoB,EACpBC,UAAmB,EACR;EACX,SAAS;;EACT,OAAOD,UAAU,CAACE,MAAM,CAAEC,KAAK,IAC9BF,UAAU,GAAGG,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,GAAGC,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,IAAIA,KAAK,GAAG,CACzE,CAAC;AACF;AAcA,OAAO,MAAMG,kBAAkB,GAAGA,CAAC;EAClCN,UAAU;EACVC;AAC0B,CAAC,KAAgC;EAC3D,IAAI,CAACD,UAAU,IAAIA,UAAU,CAACO,MAAM,KAAK,CAAC,EAAE;IAC3C,OAAO;MACNC,aAAa,EAAE,KAAK;MACpBR,UAAU,EAAE,EAAE;MACdS,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAMC,eAAe,GAAGZ,kBAAkB,CAACC,UAAU,EAAEC,UAAU,IAAI,KAAK,CAAC;EAE3E,IAAIU,eAAe,CAACJ,MAAM,KAAK,CAAC,EAAE;IACjC,OAAO;MACNC,aAAa,EAAE,KAAK;MACpBR,UAAU,EAAE,EAAE;MACdS,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAME,WAAW,GAAGD,eAAe,CAACE,KAAK,CAAC,CAAC,CAACC,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAAC;EACjE;EACA,MAAMC,WAAW,GAAGhB,UAAU,GAAG,CAAC,GAAGW,WAAW,CAAC,CAAC,CAAC;EACnD,MAAMM,WAAW,GAAGN,WAAW,CAACA,WAAW,CAACL,MAAM,GAAG,CAAC,CAAC;EAEvD,OAAO;IACNC,aAAa,EAAE,IAAI;IACnBR,UAAU,EAAEY,WAAW;IACvBH,YAAY,EAAEQ,WAAW;IACzBP,YAAY,EAAEQ;EACf,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["sanitizeSnapPoints","snapPoints","canDismiss","filter","point","Number","isFinite","validateSnapPoints","length","hasSnapPoints","hasAutoSnapPoint","minSnapPoint","maxSnapPoint","hasAuto","includes","normalizedSnaps","sortedSnaps","slice","sort","a","b","minProgress","maxProgress"],"sourceRoot":"../../../../../src","sources":["shared/utils/gesture/validate-snap-points.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASA,kBAAkBA,CACjCC,UAAuB,EACvBC,UAAmB,EACR;EACX,SAAS;;EACT,OAAOD,UAAU,CAACE,MAAM,CACtBC,KAAK,IACL,OAAOA,KAAK,KAAK,QAAQ,KACxBF,UAAU,GACRG,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,GACtBC,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,IAAIA,KAAK,GAAG,CAAC,CACxC,CAAC;AACF;AAeA,OAAO,MAAMG,kBAAkB,GAAGA,CAAC;EAClCN,UAAU;EACVC;AAC0B,CAAC,KAAgC;EAC3D,IAAI,CAACD,UAAU,IAAIA,UAAU,CAACO,MAAM,KAAK,CAAC,EAAE;IAC3C,OAAO;MACNC,aAAa,EAAE,KAAK;MACpBC,gBAAgB,EAAE,KAAK;MACvBT,UAAU,EAAE,EAAE;MACdU,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAMC,OAAO,GAAGZ,UAAU,CAACa,QAAQ,CAAC,MAAM,CAAC;EAC3C,MAAMC,eAAe,GAAGf,kBAAkB,CAACC,UAAU,EAAEC,UAAU,IAAI,KAAK,CAAC;;EAE3E;EACA,IAAIa,eAAe,CAACP,MAAM,KAAK,CAAC,IAAI,CAACK,OAAO,EAAE;IAC7C,OAAO;MACNJ,aAAa,EAAE,KAAK;MACpBC,gBAAgB,EAAE,KAAK;MACvBT,UAAU,EAAE,EAAE;MACdU,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IAChB,CAAC;EACF;EAEA,MAAMI,WAAW,GAAGD,eAAe,CAACE,KAAK,CAAC,CAAC,CAACC,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAAC;EACjE;EACA,MAAMC,WAAW,GAAGnB,UAAU,GAAG,CAAC,GAAIc,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAE;EAC3D,MAAMM,WAAW,GAAGN,WAAW,CAACA,WAAW,CAACR,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;EAE7D,OAAO;IACNC,aAAa,EAAE,IAAI;IACnBC,gBAAgB,EAAEG,OAAO;IACzBZ,UAAU,EAAEe,WAAW;IACvBL,YAAY,EAAEU,WAAW;IACzBT,YAAY,EAAEU;EACf,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
 
3
- const isOverlayVisible = options => {
3
+ export const isOverlayVisible = options => {
4
4
  return Boolean(options?.overlay) && options?.overlayShown !== false;
5
5
  };
6
- export const isFloatOverlayVisible = options => {
7
- return isOverlayVisible(options) && options?.overlayMode !== "screen";
8
- };
9
- export const isScreenOverlayVisible = options => {
10
- return isOverlayVisible(options) && options?.overlayMode === "screen";
11
- };
12
6
  //# sourceMappingURL=visibility.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["isOverlayVisible","options","Boolean","overlay","overlayShown","isFloatOverlayVisible","overlayMode","isScreenOverlayVisible"],"sourceRoot":"../../../../../src","sources":["shared/utils/overlay/visibility.ts"],"mappings":";;AAQA,MAAMA,gBAAgB,GAAIC,OAA4B,IAAc;EACnE,OAAOC,OAAO,CAACD,OAAO,EAAEE,OAAO,CAAC,IAAIF,OAAO,EAAEG,YAAY,KAAK,KAAK;AACpE,CAAC;AAED,OAAO,MAAMC,qBAAqB,GACjCJ,OAA4B,IACf;EACb,OAAOD,gBAAgB,CAACC,OAAO,CAAC,IAAIA,OAAO,EAAEK,WAAW,KAAK,QAAQ;AACtE,CAAC;AAED,OAAO,MAAMC,sBAAsB,GAClCN,OAA4B,IACf;EACb,OAAOD,gBAAgB,CAACC,OAAO,CAAC,IAAIA,OAAO,EAAEK,WAAW,KAAK,QAAQ;AACtE,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["isOverlayVisible","options","Boolean","overlay","overlayShown"],"sourceRoot":"../../../../../src","sources":["shared/utils/overlay/visibility.ts"],"mappings":";;AAKA,OAAO,MAAMA,gBAAgB,GAAIC,OAA4B,IAAc;EAC1E,OAAOC,OAAO,CAACD,OAAO,EAAEE,OAAO,CAAC,IAAIF,OAAO,EAAEG,YAAY,KAAK,KAAK;AACpE,CAAC","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ export const DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR = "expand-and-collapse";
4
+ export const resolveSheetScrollGestureBehavior = options => {
5
+ const explicitBehavior = options.sheetScrollGestureBehavior;
6
+ if (explicitBehavior) return explicitBehavior;
7
+ const legacyBehavior = options.expandViaScrollView;
8
+ if (legacyBehavior !== undefined) {
9
+ return legacyBehavior ? "expand-and-collapse" : "collapse-only";
10
+ }
11
+ return DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR;
12
+ };
13
+ export const resolveNavigationMaskEnabled = options => {
14
+ if (options.navigationMaskEnabled !== undefined) {
15
+ return options.navigationMaskEnabled;
16
+ }
17
+ return options.maskEnabled ?? false;
18
+ };
19
+ //# sourceMappingURL=resolve-screen-transition-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["DEFAULT_SHEET_SCROLL_GESTURE_BEHAVIOR","resolveSheetScrollGestureBehavior","options","explicitBehavior","sheetScrollGestureBehavior","legacyBehavior","expandViaScrollView","undefined","resolveNavigationMaskEnabled","navigationMaskEnabled","maskEnabled"],"sourceRoot":"../../../../src","sources":["shared/utils/resolve-screen-transition-options.ts"],"mappings":";;AAKA,OAAO,MAAMA,qCAAiE,GAC7E,qBAAqB;AAEtB,OAAO,MAAMC,iCAAiC,GAC7CC,OAGC,IAC+B;EAChC,MAAMC,gBAAgB,GAAGD,OAAO,CAACE,0BAA0B;EAC3D,IAAID,gBAAgB,EAAE,OAAOA,gBAAgB;EAE7C,MAAME,cAAc,GAAGH,OAAO,CAACI,mBAAmB;EAClD,IAAID,cAAc,KAAKE,SAAS,EAAE;IACjC,OAAOF,cAAc,GAAG,qBAAqB,GAAG,eAAe;EAChE;EAEA,OAAOL,qCAAqC;AAC7C,CAAC;AAED,OAAO,MAAMQ,4BAA4B,GACxCN,OAGC,IACY;EACb,IAAIA,OAAO,CAACO,qBAAqB,KAAKF,SAAS,EAAE;IAChD,OAAOL,OAAO,CAACO,qBAAqB;EACrC;EAEA,OAAOP,OAAO,CAACQ,WAAW,IAAI,KAAK;AACpC,CAAC","ignoreList":[]}
@@ -1,3 +1,3 @@
1
1
  export { createBlankStackNavigator } from "../blank-stack/navigators/create-blank-stack-navigator";
2
- export type { BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackOverlayProps, BlankStackScreenProps, } from "../blank-stack/types";
2
+ export type { BlankStackFactoryOptions, BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackOverlayProps, BlankStackScreenProps, } from "../blank-stack/types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blank-stack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACnG,YAAY,EACX,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACrB,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blank-stack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACnG,YAAY,EACX,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACrB,MAAM,sBAAsB,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import { type NavigatorTypeBagBase, type ParamListBase, type StackNavigationState, type StaticConfig, type TypedNavigator } from "@react-navigation/native";
2
- import type { BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps } from "../types";
3
- declare function BlankStackNavigator({ id, initialRouteName, children, layout, screenListeners, screenOptions, screenLayout, ...rest }: BlankStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
4
- export declare function createBlankStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = {
2
+ import type { BlankStackFactoryOptions, BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps } from "../types";
3
+ declare const BlankStackNavigator: {
4
+ (props: BlankStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ type BlankStackTypeBag<ParamList extends ParamListBase, NavigatorID extends string | undefined> = {
5
8
  ParamList: ParamList;
6
9
  NavigatorID: NavigatorID;
7
10
  State: StackNavigationState<ParamList>;
@@ -11,6 +14,28 @@ export declare function createBlankStackNavigator<const ParamList extends ParamL
11
14
  [RouteName in keyof ParamList]: BlankStackNavigationProp<ParamList, RouteName, NavigatorID>;
12
15
  };
13
16
  Navigator: typeof BlankStackNavigator;
14
- }, const Config extends StaticConfig<TypeBag> = StaticConfig<TypeBag>>(config?: Config): TypedNavigator<TypeBag, Config>;
17
+ };
18
+ /**
19
+ * Creates a blank stack navigator with gesture-driven transitions.
20
+ *
21
+ * By default, blank stack behaves like the existing top-level blank stack:
22
+ * it participates in the current navigation tree and uses native screen
23
+ * primitives on supported native platforms.
24
+ *
25
+ * Pass {@link BlankStackFactoryOptions} when you need embedded-flow behavior:
26
+ * - `independent: true` creates an isolated navigator for nested flows
27
+ * - `enableNativeScreens: false` renders the stack with regular views instead
28
+ * of `react-native-screens`
29
+ *
30
+ * These options are factory-only. Use screen options for per-screen transition
31
+ * behavior, and use factory options when you need to change how the navigator
32
+ * itself is hosted.
33
+ */
34
+ export declare function createBlankStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = BlankStackTypeBag<ParamList, NavigatorID>>(): TypedNavigator<TypeBag, StaticConfig<TypeBag>>;
35
+ export declare function createBlankStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = BlankStackTypeBag<ParamList, NavigatorID>>(
36
+ /**
37
+ * Factory-level hosting options for the blank stack.
38
+ */
39
+ options: BlankStackFactoryOptions): TypedNavigator<TypeBag, StaticConfig<TypeBag>>;
15
40
  export {};
16
41
  //# sourceMappingURL=create-blank-stack-navigator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-blank-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/blank-stack/navigators/create-blank-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACX,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,MAAM,UAAU,CAAC;AAElB,iBAAS,mBAAmB,CAAC,EAC5B,EAAE,EACF,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,eAAe,EACf,aAAa,EACb,YAAY,EACZ,GAAG,IAAI,EACP,EAAE,wBAAwB,2CA+B1B;AAED,wBAAgB,yBAAyB,CACxC,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG;IAC5C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACvC,aAAa,EAAE,2BAA2B,CAAC;IAC3C,QAAQ,EAAE,4BAA4B,CAAC;IACvC,cAAc,EAAE;SACd,SAAS,IAAI,MAAM,SAAS,GAAG,wBAAwB,CACvD,SAAS,EACT,SAAS,EACT,WAAW,CACX;KACD,CAAC;IACF,SAAS,EAAE,OAAO,mBAAmB,CAAC;CACtC,EACD,KAAK,CAAC,MAAM,SAAS,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,EACjE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAElD"}
1
+ {"version":3,"file":"create-blank-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/blank-stack/navigators/create-blank-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,KAAK,EACX,wBAAwB,E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
11
  theme: Theme;
12
12
  };
13
13
  export type BlankStackNavigationHelpers = NavigationHelpers<ParamListBase, BlankStackNavigationEventMap>;
14
- type BlankStackNavigationConfig = {
15
- DISABLE_NATIVE_SCREENS?: boolean;
16
- };
14
+ /**
15
+ * Factory-only options for `createBlankStackNavigator`.
16
+ *
17
+ * Use these when you need to change how the blank stack itself is hosted,
18
+ * not how individual screens transition.
19
+ */
20
+ export interface BlankStackFactoryOptions {
21
+ /**
22
+ * Creates an isolated navigation tree for embedded flows.
23
+ *
24
+ * Use this when the blank stack needs to live inside another screen or host
25
+ * application without joining the parent React Navigation tree.
26
+ *
27
+ * When enabled, the navigator:
28
+ * - wraps itself in `NavigationIndependentTree` + `NavigationContainer`
29
+ * - skips the shared native `ScreenContainer`
30
+ *
31
+ * Leave this disabled for normal top-level app stacks.
32
+ */
33
+ independent?: boolean;
34
+ /**
35
+ * Enables native screen primitives on supported native platforms.
36
+ *
37
+ * Use this when you want the embedded blank stack to keep `react-native-screens`
38
+ * behavior such as native activity state and freezing.
39
+ *
40
+ * Set this to `false` when you want the blank stack to render with regular
41
+ * views instead of native screen primitives. This is useful for embedded
42
+ * flows where plain views are a better fit than native screen layering.
43
+ */
44
+ enableNativeScreens?: boolean;
45
+ }
17
46
  /**
18
47
  * Props passed to overlay components in blank-stack.
19
48
  * Uses the shared OverlayProps type with blank-stack's navigation type.
@@ -37,7 +66,7 @@ export type BlankStackNavigationOptions = BlankStackScreenTransitionConfig & {
37
66
  */
38
67
  freezeOnBlur?: boolean;
39
68
  };
40
- export type BlankStackNavigatorProps = DefaultNavigatorOptions<ParamListBase, string | undefined, StackNavigationState<ParamListBase>, BlankStackNavigationOptions, BlankStackNavigationEventMap, BlankStackNavigationProp<ParamListBase>> & StackRouterOptions & BlankStackNavigationConfig;
69
+ export type BlankStackNavigatorProps = DefaultNavigatorOptions<ParamListBase, string | undefined, StackNavigationState<ParamListBase>, BlankStackNavigationOptions, BlankStackNavigationEventMap, BlankStackNavigationProp<ParamListBase>> & StackRouterOptions;
41
70
  export type BlankStackDescriptor = Descriptor<BlankStackNavigationOptions, BlankStackNavigationProp<ParamListBase>, RouteProp<ParamListBase>>;
42
71
  export {};
43
72
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/blank-stack/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,EACL,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE9C,MAAM,MAAM,wBAAwB,CACnC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,EAC1C,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C,cAAc,CACjB,SAAS,EACT,SAAS,EACT,WAAW,EACX,oBAAoB,CAAC,SAAS,CAAC,EAC/B,2BAA2B,EAC3B,4BAA4B,CAC5B,GACA,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAE/B,MAAM,MAAM,qBAAqB,CAChC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,GAAG,MAAM,EAC1C,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,IAC/C;IACH,UAAU,EAAE,wBAAwB,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IACxE,KAAK,EAAE,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAChC,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM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B,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAChD,wBAAwB,CAAC,aAAa,CAAC,CACvC,CAAC;AAEF,KAAK,gCAAgC,GAAG,sBAAsB,GAAG;IAChE;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,gCAAgC,GAAG;IAC5E;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,CAC7D,aAAa,EACb,MAAM,GAAG,SAAS,EAClB,oBAAoB,CAAC,aAAa,CAAC,EACnC,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,CAAC,aAAa,CAAC,CACvC,GACA,kBAAkB,CAAC;AAEpB,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAC5C,2BAA2B,EAC3B,wBAAwB,CAAC,aAAa,CAAC,EACvC,SAAS,CAAC,aAAa,CAAC,CACxB,CAAC"}
@@ -8,6 +8,14 @@ import type { ComponentStackNavigationEventMap, ComponentStackNavigationOptions,
8
8
  * to isolate from Expo Router / React Navigation.
9
9
  */
10
10
  declare function IsolatedComponentStackNavigator(props: ComponentStackNavigatorProps): import("react/jsx-runtime").JSX.Element;
11
+ /**
12
+ * @deprecated Component stack was originally introduced for independent,
13
+ * embedded navigation flows. Blank stack now supports that use case directly
14
+ * via `createBlankStackNavigator({ independent: true })`, with
15
+ * `enableNativeScreens` available when you need to switch between native
16
+ * screens and regular views. Prefer blank stack for new work; component stack
17
+ * will be removed in a future release.
18
+ */
11
19
  export declare function createComponentStackNavigator<const ParamList extends ParamListBase, const NavigatorID extends string | undefined = undefined, const TypeBag extends NavigatorTypeBagBase = {
12
20
  ParamList: ParamList;
13
21
  NavigatorID: NavigatorID;
@@ -1 +1 @@
1
- {"version":3,"file":"create-component-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/navigators/create-component-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACX,gCAAgC,EAChC,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,MAAM,UAAU,CAAC;AAmDlB;;;;;;GAMG;AACH,iBAAS,+BAA+B,CAAC,KAAK,EAAE,4BAA4B,2CAgB3E;AAED,wBAAgB,6BAA6B,CAC5C,KAAK,CAAC,SAAS,SAAS,aAAa,EACrC,KAAK,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EACxD,KAAK,CAAC,OAAO,SAAS,oBAAoB,GAAG;IAC5C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACvC,aAAa,EAAE,+BAA+B,CAAC;IAC/C,QAAQ,EAAE,gCAAgC,CAAC;IAC3C,cAAc,EAAE;SACd,SAAS,IAAI,MAAM,SAAS,GAAG,4BAA4B,CAC3D,SAAS,EACT,SAAS,EACT,WAAW,CACX;KACD,CAAC;IACF,SAAS,EAAE,OAAO,+BAA+B,CAAC;CAClD,EACD,KAAK,CAAC,MAAM,SAAS,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,EACjE,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAElD"}
1
+ {"version":3,"file":"create-component-stack-navigator.d.ts","sourceRoot":"","sources":["../../../../src/component-stack/navigators/create-component-stack-navigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAGzB,KAAK,YAAY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E,MAAM,GAAG,IAAI,CAS1C"}
1
+ {"version":3,"file":"snap-to.d.ts","sourceRoot":"","sources":["../../../../src/shared/animation/snap-to.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAwB5D,wBAAgB,qBAAqB,CACpC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,EACtC,KAAK,EAAE,MAAM,GACX,OAAO,CA8BT;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAS1C"}
@@ -0,0 +1,81 @@
1
+ import type { MeasurementIntent } from "../../types";
2
+ type PresenceLikeEntry = {
3
+ count: number;
4
+ ancestorKeys?: string[];
5
+ };
6
+ export type MeasurementIntentFlags = {
7
+ captureSource: boolean;
8
+ completeDestination: boolean;
9
+ refreshSource: boolean;
10
+ refreshDestination: boolean;
11
+ snapshotOnly: boolean;
12
+ };
13
+ export type MeasurementWritePlan = {
14
+ captureSource: boolean;
15
+ completeDestination: boolean;
16
+ refreshSource: boolean;
17
+ refreshDestination: boolean;
18
+ registerSnapshot: boolean;
19
+ writesAny: boolean;
20
+ wantsDestinationWrite: boolean;
21
+ };
22
+ export type DeferredMeasurementAction = "clear-pending" | "queue-or-flush" | "noop";
23
+ export declare const getMeasurementIntentFlags: (intent?: MeasurementIntent | readonly MeasurementIntent[]) => MeasurementIntentFlags;
24
+ export declare const resolveMeasurementWritePlan: (params: {
25
+ intents: MeasurementIntentFlags;
26
+ hasPendingLink: boolean;
27
+ hasSourceLink: boolean;
28
+ hasDestinationLink: boolean;
29
+ }) => MeasurementWritePlan;
30
+ export declare const resolveAutoSourceCaptureSignal: (params: {
31
+ enabled: boolean;
32
+ nextScreenKey?: string;
33
+ tagPresence?: Record<string, PresenceLikeEntry>;
34
+ }) => string | 0;
35
+ export declare const resolvePendingDestinationCaptureSignal: (params: {
36
+ enabled: boolean;
37
+ resolvedSourceKey?: string | null;
38
+ hasPendingLinkFromSource: boolean;
39
+ }) => string | 0;
40
+ export declare const resolvePendingDestinationRetrySignal: (params: {
41
+ enabled: boolean;
42
+ retryCount: number;
43
+ maxRetries: number;
44
+ isAnimating: boolean;
45
+ hasDestinationLink: boolean;
46
+ progress: number;
47
+ retryProgressMax: number;
48
+ retryProgressBuckets: number;
49
+ resolvedSourceKey?: string | null;
50
+ hasPendingLinkFromSource: boolean;
51
+ }) => number;
52
+ export declare const resolveInitialLayoutMeasurementIntent: (params: {
53
+ enabled: boolean;
54
+ hasSharedBoundTag: boolean;
55
+ hasMeasuredOnLayout: boolean;
56
+ isAnyAnimating: boolean;
57
+ hasPendingLinkFromSource: boolean;
58
+ }) => MeasurementIntent | readonly MeasurementIntent[] | null;
59
+ export declare const resolveGroupActiveMeasurementAction: (params: {
60
+ enabled: boolean;
61
+ isEligible: boolean;
62
+ memberId: string;
63
+ activeId: string | null;
64
+ previousActiveId: string | null;
65
+ }) => DeferredMeasurementAction;
66
+ export declare const canFlushGroupActiveMeasurement: (params: {
67
+ enabled: boolean;
68
+ isEligible: boolean;
69
+ memberId: string;
70
+ activeId: string | null;
71
+ }) => boolean;
72
+ export declare const shouldTriggerScrollSettledRefresh: (params: {
73
+ enabled: boolean;
74
+ group: string | undefined;
75
+ hasNextScreen: boolean;
76
+ hasSettledSignal: boolean;
77
+ signal: number;
78
+ previousSignal: number | null;
79
+ }) => boolean;
80
+ export {};
81
+ //# sourceMappingURL=measurement-rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"measurement-rules.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,iBAAiB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,s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AAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,KAAG,OAeH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-auto-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAwCA,CAAC"}
1
+ {"version":3,"file":"use-auto-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SA6BA,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { View } from "react-native";
2
- import { type AnimatedRef, type MeasuredDimensions, type StyleProps } from "react-native-reanimated";
3
- import type { AnimationStore } from "../../../stores/animation.store";
2
+ import { type AnimatedRef, type MeasuredDimensions, type SharedValue, type StyleProps } from "react-native-reanimated";
4
3
  import type { MaybeMeasureAndStoreParams } from "../types";
5
4
  type LayoutAnchor = {
6
5
  correctMeasurement: (measured: MeasuredDimensions) => MeasuredDimensions;
@@ -14,7 +13,7 @@ export declare const useBoundaryMeasureAndStore: (params: {
14
13
  ancestorKeys: string[];
15
14
  navigatorKey?: string;
16
15
  ancestorNavigatorKeys?: string[];
17
- isAnimating: ReturnType<typeof AnimationStore.getRouteAnimation>;
16
+ isAnimating: SharedValue<number>;
18
17
  preparedStyles: StyleProps;
19
18
  animatedRef: AnimatedRef<View>;
20
19
  layoutAnchor: LayoutAnchor;
@@ -1 +1 @@
1
- {"version":3,"file":"use-boundary-measure-and-store.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAItE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,KAAK,YAAY,GAAG;IACnB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,kBAAkB,CAAC;IACzE,uBAAuB,CAAC,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,OAAO,CAAC;CACpE,GAAG,IAAI,CAAC;AAoBT,eAAO,MAAM,0BAA0B,GAAI,QAAQ;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,WAAW,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IACjE,cAAc,EAAE,UAAU,CAAC;IAC3B,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,YAAY,EAAE,YAAY,CAAC;CAC3B,8DA+HA,CAAC"}
1
+ {"version":3,"file":"use-boundary-measure-and-store.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAEvB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,MAAM,yBAAyB,CAAC;AAKjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAM3D,KAAK,YAAY,GAAG;IACnB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,kBAAkB,CAAC;IACzE,uBAAuB,CAAC,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,OAAO,CAAC;CACpE,GAAG,IAAI,CAAC;AAoBT,eAAO,MAAM,0BAA0B,GAAI,QAAQ;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,cAAc,EAAE,UAAU,CAAC;IAC3B,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,YAAY,EAAE,YAAY,CAAC;CAC3B,8DAqIA,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type SharedValue } from "react-native-reanimated";
2
+ export declare const useDeferredMeasurementTrigger: (params: {
3
+ enabled: boolean;
4
+ isAnimating: SharedValue<number>;
5
+ canFlush?: () => boolean;
6
+ onFlush: () => void;
7
+ }) => {
8
+ clearPendingMeasurement: () => void;
9
+ queueOrFlushMeasurement: () => void;
10
+ };
11
+ //# sourceMappingURL=use-deferred-measurement-trigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-deferred-measurement-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-deferred-measurement-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,6BAA6B,GAAI,QAAQ;IACrD,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB;;;CA6CA,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { AnimationStore } from "../../../stores/animation.store";
1
+ import { type SharedValue } from "react-native-reanimated";
2
2
  import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
3
3
  /**
4
4
  * Watches the group's active id in the BoundStore.
@@ -12,7 +12,7 @@ export declare const useGroupActiveMeasurement: (params: {
12
12
  group: string | undefined;
13
13
  id: BoundaryId;
14
14
  shouldUpdateDestination: boolean;
15
- isAnimating: ReturnType<typeof AnimationStore.getRouteAnimation>;
15
+ isAnimating: SharedValue<number>;
16
16
  maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
17
17
  }) => void;
18
18
  //# sourceMappingURL=use-group-active-measurement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-group-active-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-group-active-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,GAAI,QAAQ;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,EAAE,UAAU,CAAC;IACf,uBAAuB,EAAE,OAAO,CAAC;IACjC,WAAW,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IACjE,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAuCA,CAAC"}
1
+ {"version":3,"file":"use-group-active-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-group-active-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAOvE;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,GAAI,QAAQ;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,EAAE,UAAU,CAAC;IACf,uBAAuB,EAAE,OAAO,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAkEA,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type SharedValue } from "react-native-reanimated";
2
+ import type { BoundaryId, MaybeMeasureAndStoreParams } from "../types";
3
+ export declare const useGroupActiveSourceMeasurement: (params: {
4
+ enabled: boolean;
5
+ group: string | undefined;
6
+ id: BoundaryId;
7
+ hasNextScreen: boolean;
8
+ isAnimating: SharedValue<number>;
9
+ maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
10
+ }) => void;
11
+ //# sourceMappingURL=use-group-active-source-measurement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-group-active-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-group-active-source-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAOvE,eAAO,MAAM,+BAA+B,GAAI,QAAQ;IACvD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,EAAE,UAAU,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAiEA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-initial-layout-handler.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,uBAAuB,GAAI,QAAQ;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAoEA,CAAC"}
1
+ {"version":3,"file":"use-initial-layout-handler.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-initial-layout-handler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,uBAAuB,GAAI,QAAQ;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SA+EA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-pending-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,gCAAgC,GAAI,QAAQ;IACxD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAoCA,CAAC"}
1
+ {"version":3,"file":"use-pending-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,gCAAgC,GAAI,QAAQ;IACxD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAqCA,CAAC"}
@@ -1,12 +1,12 @@
1
- import type { AnimationStore } from "../../../stores/animation.store";
1
+ import { type SharedValue } from "react-native-reanimated";
2
2
  import type { MaybeMeasureAndStoreParams } from "../types";
3
3
  export declare const usePendingDestinationRetryMeasurement: (params: {
4
4
  sharedBoundTag: string;
5
5
  enabled: boolean;
6
6
  currentScreenKey: string;
7
7
  expectedSourceScreenKey?: string;
8
- progress: ReturnType<typeof AnimationStore.getRouteAnimation>;
9
- animating: ReturnType<typeof AnimationStore.getRouteAnimation>;
8
+ progress: SharedValue<number>;
9
+ animating: SharedValue<number>;
10
10
  maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
11
11
  }) => void;
12
12
  //# sourceMappingURL=use-pending-destination-retry-measurement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-pending-destination-retry-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGtE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,qCAAqC,GAAI,QAAQ;IAC7D,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAC9D,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAC/D,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAoEA,CAAC"}
1
+ {"version":3,"file":"use-pending-destination-retry-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-pending-destination-retry-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,WAAW,EAGhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,eAAO,MAAM,qCAAqC,GAAI,QAAQ;IAC7D,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAmEA,CAAC"}
@@ -1,10 +1,10 @@
1
- import type { AnimationStore } from "../../../stores/animation.store";
1
+ import { type SharedValue } from "react-native-reanimated";
2
2
  import type { MaybeMeasureAndStoreParams } from "../types";
3
3
  export declare const useScrollSettledMeasurement: (params: {
4
4
  enabled: boolean;
5
5
  group: string | undefined;
6
6
  hasNextScreen: boolean;
7
- isAnimating: ReturnType<typeof AnimationStore.getRouteAnimation>;
7
+ isAnimating: SharedValue<number>;
8
8
  maybeMeasureAndStore: (options: MaybeMeasureAndStoreParams) => void;
9
9
  }) => void;
10
10
  //# sourceMappingURL=use-scroll-settled-measurement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-scroll-settled-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IACjE,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SA4BA,CAAC"}
1
+ {"version":3,"file":"use-scroll-settled-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/create-boundary-component/hooks/use-scroll-settled-measurement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAI3D,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACpE,SAoCA,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import { type ComponentType } from "react";
2
2
  import { View as RNView } from "react-native";
3
3
  import type { BoundaryComponentProps } from "./types";
4
- export declare function createBoundaryComponent<P extends object>(Wrapped: ComponentType<P>): React.MemoExoticComponent<React.ForwardRefExoticComponent<BoundaryComponentProps<P> & React.RefAttributes<React.ComponentRef<typeof Wrapped>>>>;
4
+ interface CreateBoundaryComponentOptions {
5
+ alreadyAnimated?: boolean;
6
+ }
7
+ export declare function createBoundaryComponent<P extends object>(Wrapped: ComponentType<P>, options?: CreateBoundaryComponentOptions): React.MemoExoticComponent<React.ForwardRefExoticComponent<BoundaryComponentProps<P> & React.RefAttributes<React.ComponentRef<typeof Wrapped>>>>;
5
8
  /**
6
9
  * Shared-boundary components.
7
10
  *
@@ -24,7 +27,6 @@ export declare const Boundary: {
24
27
  View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<never>>>;
25
28
  /** Pressable boundary wrapper with press-priority source capture. */
26
29
  Pressable: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react-native").PressableProps & import("react").RefAttributes<RNView>, "id"> & import("./types").BoundaryOwnProps & import("react").RefAttributes<RNView | import("react").Component<import("react-native").PressableProps & import("react").RefAttributes<RNView>, any, any>>>>;
27
- /** Factory for custom boundary wrappers. */
28
- createBoundaryComponent: typeof createBoundaryComponent;
29
30
  };
31
+ export {};
30
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAKlB,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,IAAI,MAAM,EAAa,MAAM,cAAc,CAAC;AAgBpE,OAAO,KAAK,EAAE,sBAAsB,EAAuB,MAAM,SAAS,CAAC;AAQ3E,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GA+LQ,KAAK,CAAC,mBAAmB,CACzD,KAAK,CAAC,yBAAyB,CAC9B,sBAAsB,CAAC,CAAC,CAAC,GACxB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CACxD,CACD,CACD;AASD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ;IACpB,8DAA8D;;IAE9D,qEAAqE;;IAErE,4CAA4C;;CAE5C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAKlB,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,IAAI,MAAM,EAAa,MAAM,cAAc,CAAC;AAiBpE,OAAO,KAAK,EAAE,sBAAsB,EAAuB,MAAM,SAAS,CAAC;AAQ3E,UAAU,8BAA8B;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,8BAAmC,GA8MX,KAAK,CAAC,mBAAmB,CACzD,KAAK,CAAC,yBAAyB,CAC9B,sBAAsB,CAAC,CAAC,CAAC,GACxB,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,CACxD,CACD,CACD;AASD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ;IACpB,8DAA8D;;IAE9D,qEAAqE;;CAErE,CAAC"}
@@ -29,10 +29,8 @@ export interface BoundaryOwnProps extends BoundaryConfigProps {
29
29
  export type BoundaryComponentProps<P extends object> = Omit<P, "id"> & BoundaryOwnProps;
30
30
  /** Convenience alias for a View-based boundary (the most common case). */
31
31
  export type BoundaryProps = BoundaryComponentProps<ViewProps>;
32
+ export type MeasurementIntent = "capture-source" | "complete-destination" | "refresh-source" | "refresh-destination" | "snapshot-only";
32
33
  export interface MaybeMeasureAndStoreParams {
33
- shouldSetSource?: boolean;
34
- shouldSetDestination?: boolean;
35
- shouldUpdateSource?: boolean;
36
- shouldUpdateDestination?: boolean;
34
+ intent?: MeasurementIntent | readonly MeasurementIntent[];
37
35
  }
38
36
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,0EAA0E;AAC1E,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;AAE9D,MAAM,WAAW,0BAA0B;IAC1C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,uBAAuB,CAAC,EAAE,OAAO,CAAC;CAClC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/components/create-boundary-component/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,aAAa,EACb,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC5D;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,EAAE,UAAU,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,GACnE,gBAAgB,CAAC;AAElB,0EAA0E;AAC1E,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAC1B,gBAAgB,GAChB,sBAAsB,GACtB,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,CAAC;AAEnB,MAAM,WAAW,0BAA0B;IAC1C,MAAM,CAAC,EAAE,iBAAiB,GAAG,SAAS,iBAAiB,EAAE,CAAC;CAC1D"}
@@ -4,6 +4,5 @@ type BuildBoundaryMatchKeyParams = {
4
4
  id: BoundaryId;
5
5
  };
6
6
  export declare function buildBoundaryMatchKey(params: BuildBoundaryMatchKeyParams): string;
7
- export declare function buildBoundaryMatchKey(group: string | undefined, id: BoundaryId): string;
8
7
  export {};
9
8
  //# sourceMappingURL=build-boundary-match-key.d.ts.map