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
@@ -1,40 +0,0 @@
1
- "use strict";
2
-
3
- import { buildNavigationStyles } from "../sugar/navigation";
4
- export const createNavigationAccessor = ({
5
- id,
6
- group,
7
- getProps,
8
- resolveBoundTag,
9
- computeRaw,
10
- zoomBaseOptions
11
- }) => {
12
- "worklet";
13
-
14
- const resolvedId = id ?? "";
15
- const computeNavigationPresetStyles = (preset, navigationOptions) => {
16
- "worklet";
17
-
18
- const frameProps = getProps();
19
- return buildNavigationStyles({
20
- id: resolvedId,
21
- group,
22
- preset,
23
- navigationOptions,
24
- props: frameProps,
25
- resolveTag: resolveBoundTag,
26
- computeRaw: overrides => computeRaw({
27
- ...(overrides ?? {}),
28
- raw: true
29
- }, frameProps)
30
- });
31
- };
32
- return {
33
- zoom: () => {
34
- "worklet";
35
-
36
- return computeNavigationPresetStyles("zoom", zoomBaseOptions);
37
- }
38
- };
39
- };
40
- //# sourceMappingURL=navigation-accessor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["buildNavigationStyles","createNavigationAccessor","id","group","getProps","resolveBoundTag","computeRaw","zoomBaseOptions","resolvedId","computeNavigationPresetStyles","preset","navigationOptions","frameProps","props","resolveTag","overrides","raw","zoom"],"sourceRoot":"../../../../../../src","sources":["shared/utils/bounds/helpers/navigation-accessor.ts"],"mappings":";;AAEA,SAASA,qBAAqB,QAAQ,qBAAqB;AAgB3D,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACxCC,EAAE;EACFC,KAAK;EACLC,QAAQ;EACRC,eAAe;EACfC,UAAU;EACVC;AACyB,CAAC,KAAK;EAC/B,SAAS;;EAET,MAAMC,UAAU,GAAGN,EAAE,IAAI,EAAE;EAE3B,MAAMO,6BAA6B,GAAGA,CACrCC,MAAc,EACdC,iBAA2C,KACvC;IACJ,SAAS;;IACT,MAAMC,UAAU,GAAGR,QAAQ,CAAC,CAAC;IAC7B,OAAOJ,qBAAqB,CAAC;MAC5BE,EAAE,EAAEM,UAAU;MACdL,KAAK;MACLO,MAAM;MACNC,iBAAiB;MACjBE,KAAK,EAAED,UAAU;MACjBE,UAAU,EAAET,eAAe;MAC3BC,UAAU,EAAGS,SAAS,IACrBT,UAAU,CACT;QACC,IAAIS,SAAS,IAAI,CAAC,CAAC,CAAC;QACpBC,GAAG,EAAE;MACN,CAAC,EACDJ,UACD;IACF,CAAC,CAAC;EACH,CAAC;EAED,OAAO;IACNK,IAAI,EAAEA,CAAA,KAAM;MACX,SAAS;;MACT,OAAOR,6BAA6B,CAAC,MAAM,EAAEF,eAAe,CAAC;IAC9D;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,54 +0,0 @@
1
- "use strict";
2
-
3
- import { BoundStore } from "../../../../stores/bounds";
4
- export const toNumber = (value, fallback = 0) => {
5
- "worklet";
6
-
7
- return typeof value === "number" ? value : fallback;
8
- };
9
- export const resolveNavigationConfig = ({
10
- id,
11
- group,
12
- navigationOptions,
13
- currentRouteKey,
14
- resolveTag,
15
- defaultAnchor
16
- }) => {
17
- "worklet";
18
-
19
- const resolvedTag = resolveTag({
20
- id,
21
- group
22
- });
23
- if (!resolvedTag) return null;
24
-
25
- // Try direct boundary config for the current screen first.
26
- const boundaryConfig = currentRouteKey ? BoundStore.getBoundaryConfig(resolvedTag, currentRouteKey) : null;
27
-
28
- // Fallback: when the current screen has no Boundary (e.g. a zoom detail
29
- // screen without a destination element), inherit config from the link's
30
- // source screen so that props like scaleMode propagate to both sides.
31
- let effectiveConfig = boundaryConfig;
32
- if (!effectiveConfig) {
33
- // For no-destination navigation zoom, the focused route won't appear in
34
- // a completed link yet. Fall back to the latest unscoped link so source
35
- // boundary defaults (anchor/scaleMode/target) still propagate.
36
- const scopedLink = currentRouteKey ? BoundStore.getActiveLink(resolvedTag, currentRouteKey) : null;
37
- const link = scopedLink ?? BoundStore.getActiveLink(resolvedTag);
38
- if (link?.source) {
39
- effectiveConfig = BoundStore.getBoundaryConfig(resolvedTag, link.source.screenKey);
40
- }
41
- }
42
- const sharedOptions = {
43
- ...(navigationOptions ?? {}),
44
- anchor: navigationOptions?.anchor ?? effectiveConfig?.anchor ?? defaultAnchor,
45
- scaleMode: navigationOptions?.scaleMode ?? effectiveConfig?.scaleMode ?? "uniform"
46
- };
47
- const explicitTarget = navigationOptions?.target ?? effectiveConfig?.target;
48
- return {
49
- resolvedTag,
50
- sharedOptions,
51
- explicitTarget
52
- };
53
- };
54
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["BoundStore","toNumber","value","fallback","resolveNavigationConfig","id","group","navigationOptions","currentRouteKey","resolveTag","defaultAnchor","resolvedTag","boundaryConfig","getBoundaryConfig","effectiveConfig","scopedLink","getActiveLink","link","source","screenKey","sharedOptions","anchor","scaleMode","explicitTarget","target"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/sugar/navigation/helpers.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,2BAA2B;AAKtD,OAAO,MAAMC,QAAQ,GAAGA,CAACC,KAAc,EAAEC,QAAQ,GAAG,CAAC,KAAa;EACjE,SAAS;;EACT,OAAO,OAAOD,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGC,QAAQ;AACpD,CAAC;AAED,OAAO,MAAMC,uBAAuB,GAAGA,CAAC;EACvCC,EAAE;EACFC,KAAK;EACLC,iBAAiB;EACjBC,eAAe;EACfC,UAAU;EACVC;AAQD,CAAC,KAIW;EACX,SAAS;;EACT,MAAMC,WAAW,GAAGF,UAAU,CAAC;IAAEJ,EAAE;IAAEC;EAAM,CAAC,CAAC;EAC7C,IAAI,CAACK,WAAW,EAAE,OAAO,IAAI;;EAE7B;EACA,MAAMC,cAAc,GAAGJ,eAAe,GACnCR,UAAU,CAACa,iBAAiB,CAACF,WAAW,EAAEH,eAAe,CAAC,GAC1D,IAAI;;EAEP;EACA;EACA;EACA,IAAIM,eAAe,GAAGF,cAAc;EACpC,IAAI,CAACE,eAAe,EAAE;IACrB;IACA;IACA;IACA,MAAMC,UAAU,GAAGP,eAAe,GAC/BR,UAAU,CAACgB,aAAa,CAACL,WAAW,EAAEH,eAAe,CAAC,GACtD,IAAI;IACP,MAAMS,IAAI,GAAGF,UAAU,IAAIf,UAAU,CAACgB,aAAa,CAACL,WAAW,CAAC;IAChE,IAAIM,IAAI,EAAEC,MAAM,EAAE;MACjBJ,eAAe,GAAGd,UAAU,CAACa,iBAAiB,CAC7CF,WAAW,EACXM,IAAI,CAACC,MAAM,CAACC,SACb,CAAC;IACF;EACD;EAEA,MAAMC,aAAqC,GAAG;IAC7C,IAAIb,iBAAiB,IAAI,CAAC,CAAC,CAAC;IAC5Bc,MAAM,EACLd,iBAAiB,EAAEc,MAAM,IAAIP,eAAe,EAAEO,MAAM,IAAIX,aAAa;IACtEY,SAAS,EACRf,iBAAiB,EAAEe,SAAS,IAAIR,eAAe,EAAEQ,SAAS,IAAI;EAChE,CAAC;EAED,MAAMC,cAAc,GAAGhB,iBAAiB,EAAEiB,MAAM,IAAIV,eAAe,EAAEU,MAAM;EAE3E,OAAO;IACNb,WAAW;IACXS,aAAa;IACbG;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- import { NO_STYLES } from "../../../../constants";
4
- import { buildZoomNavigationStyles } from "./zoom";
5
- export const buildNavigationStyles = params => {
6
- "worklet";
7
-
8
- switch (params.preset) {
9
- case "zoom":
10
- return buildZoomNavigationStyles(params);
11
- default:
12
- return NO_STYLES;
13
- }
14
- };
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["NO_STYLES","buildZoomNavigationStyles","buildNavigationStyles","params","preset"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/sugar/navigation/index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,uBAAuB;AAEjD,SAASC,yBAAyB,QAAQ,QAAQ;AAElD,OAAO,MAAMC,qBAAqB,GAAIC,MAAmC,IAAK;EAC7E,SAAS;;EAET,QAAQA,MAAM,CAACC,MAAM;IACpB,KAAK,MAAM;MACV,OAAOH,yBAAyB,CAACE,MAAM,CAAC;IACzC;MACC,OAAOH,SAAS;EAClB;AACD,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/sugar/navigation/types.ts"],"mappings":"","ignoreList":[]}
@@ -1,290 +0,0 @@
1
- "use strict";
2
-
3
- import { interpolate } from "react-native-reanimated";
4
- import { EPSILON, NAVIGATION_CONTAINER_STYLE_ID, NAVIGATION_MASK_STYLE_ID, NO_STYLES } from "../../../../constants";
5
- import { BoundStore } from "../../../../stores/bounds";
6
- import { interpolateClamped } from "../../helpers/interpolate";
7
- import { combineScales, composeCompensatedTranslation, computeCenterScaleShift, normalizedToScale, normalizedToTranslation } from "../../helpers/math";
8
- import { resolveNavigationConfig, toNumber } from "./helpers";
9
- const DRAG_RESISTANCE = 0.4;
10
- const DIRECTIONAL_DRAG_SCALE_OUTPUT = [1, 0.25];
11
- const IDENTITY_DRAG_SCALE_OUTPUT = [1, 1];
12
- const getZoomContentTarget = ({
13
- explicitTarget,
14
- resolvedTag,
15
- currentRouteKey,
16
- previousRouteKey,
17
- nextRouteKey,
18
- entering,
19
- screenLayout,
20
- anchor
21
- }) => {
22
- "worklet";
23
-
24
- if (explicitTarget !== undefined) return explicitTarget;
25
- const resolvedPair = BoundStore.resolveTransitionPair(resolvedTag, {
26
- currentScreenKey: currentRouteKey,
27
- previousScreenKey: previousRouteKey,
28
- nextScreenKey: nextRouteKey,
29
- entering
30
- });
31
- const sourceBounds = resolvedPair.sourceBounds;
32
- const screenWidth = screenLayout.width;
33
- if (!sourceBounds || sourceBounds.width <= 0 || screenWidth <= 0) {
34
- return "fullscreen";
35
- }
36
- const height = sourceBounds.height / sourceBounds.width * screenWidth;
37
- let horizontalAnchor;
38
- switch (anchor) {
39
- case "topLeading":
40
- case "leading":
41
- case "bottomLeading":
42
- horizontalAnchor = "leading";
43
- break;
44
- case "topTrailing":
45
- case "trailing":
46
- case "bottomTrailing":
47
- horizontalAnchor = "trailing";
48
- break;
49
- default:
50
- horizontalAnchor = "center";
51
- break;
52
- }
53
- let verticalAnchor;
54
- switch (anchor) {
55
- case "topLeading":
56
- case "top":
57
- case "topTrailing":
58
- verticalAnchor = "top";
59
- break;
60
- case "bottomLeading":
61
- case "bottom":
62
- case "bottomTrailing":
63
- verticalAnchor = "bottom";
64
- break;
65
- default:
66
- verticalAnchor = "center";
67
- break;
68
- }
69
- const x = horizontalAnchor === "leading" ? 0 : horizontalAnchor === "trailing" ? screenLayout.width - screenWidth : (screenLayout.width - screenWidth) / 2;
70
- const y = verticalAnchor === "top" ? 0 : verticalAnchor === "bottom" ? screenLayout.height - height : (screenLayout.height - height) / 2;
71
- return {
72
- x,
73
- y,
74
- pageX: x,
75
- pageY: y,
76
- width: screenWidth,
77
- height
78
- };
79
- };
80
- export const buildZoomNavigationStyles = ({
81
- id,
82
- group,
83
- navigationOptions,
84
- props,
85
- resolveTag,
86
- computeRaw
87
- }) => {
88
- "worklet";
89
-
90
- const focused = props.focused;
91
- const progress = props.progress;
92
- const currentRouteKey = props.current?.route.key;
93
- const previousRouteKey = props.previous?.route.key;
94
- const nextRouteKey = props.next?.route.key;
95
- const entering = !props.next;
96
- const screenLayout = props.layouts.screen;
97
- const normX = props.active.gesture.normX;
98
- const normY = props.active.gesture.normY;
99
- const initialDirection = props.active.gesture.direction;
100
- const xScaleOutput = initialDirection === "horizontal" ? DIRECTIONAL_DRAG_SCALE_OUTPUT : IDENTITY_DRAG_SCALE_OUTPUT;
101
- const yScaleOutput = initialDirection === "vertical" ? DIRECTIONAL_DRAG_SCALE_OUTPUT : IDENTITY_DRAG_SCALE_OUTPUT;
102
- const dragX = normalizedToTranslation({
103
- normalized: normX,
104
- dimension: screenLayout.width,
105
- resistance: DRAG_RESISTANCE
106
- });
107
- const dragY = normalizedToTranslation({
108
- normalized: normY,
109
- dimension: screenLayout.height,
110
- resistance: DRAG_RESISTANCE
111
- });
112
- const dragXScale = normalizedToScale({
113
- normalized: normX,
114
- outputRange: xScaleOutput,
115
- exponent: 2
116
- });
117
- const dragYScale = normalizedToScale({
118
- normalized: normY,
119
- outputRange: yScaleOutput,
120
- exponent: 2
121
- });
122
- const dragScale = combineScales(dragXScale, dragYScale);
123
- const resolvedConfig = resolveNavigationConfig({
124
- id,
125
- group,
126
- navigationOptions,
127
- currentRouteKey,
128
- resolveTag,
129
- defaultAnchor: "top"
130
- });
131
- if (!resolvedConfig) return NO_STYLES;
132
- const {
133
- resolvedTag,
134
- sharedOptions,
135
- explicitTarget
136
- } = resolvedConfig;
137
- if (focused) {
138
- const contentTarget = getZoomContentTarget({
139
- explicitTarget,
140
- resolvedTag,
141
- currentRouteKey,
142
- previousRouteKey,
143
- nextRouteKey,
144
- entering,
145
- screenLayout,
146
- anchor: sharedOptions.anchor
147
- });
148
- const contentRaw = computeRaw({
149
- ...sharedOptions,
150
- method: "content",
151
- target: contentTarget
152
- });
153
- const maskRaw = computeRaw({
154
- ...sharedOptions,
155
- method: "size",
156
- space: "absolute",
157
- target: "fullscreen"
158
- });
159
- const focusedFade = props.active?.closing ? interpolate(progress, [0.6, 1], [0, 1], "clamp") : interpolate(progress, [0, 0.5], [0, 1], "clamp");
160
- const maskWidth = Math.max(1, toNumber(maskRaw.width));
161
- const maskHeight = Math.max(1, toNumber(maskRaw.height));
162
- const contentTranslateX = toNumber(contentRaw.translateX) + dragX;
163
- const contentTranslateY = toNumber(contentRaw.translateY) + dragY;
164
- const contentScale = toNumber(contentRaw.scale, 1) * dragScale;
165
- const maskTranslateX = toNumber(maskRaw.translateX) + dragX;
166
- const maskTranslateY = toNumber(maskRaw.translateY) + dragY;
167
- return {
168
- [NAVIGATION_CONTAINER_STYLE_ID]: {
169
- style: {
170
- opacity: focusedFade,
171
- transform: [{
172
- translateX: contentTranslateX
173
- }, {
174
- translateY: contentTranslateY
175
- }, {
176
- scale: contentScale
177
- }]
178
- }
179
- },
180
- [NAVIGATION_MASK_STYLE_ID]: {
181
- style: {
182
- width: maskWidth,
183
- height: maskHeight,
184
- transform: [{
185
- translateX: maskTranslateX
186
- }, {
187
- translateY: maskTranslateY
188
- }, {
189
- scale: dragScale
190
- }],
191
- borderRadius: 12
192
- }
193
- },
194
- // Signal the destination boundary to stay visible during the transition.
195
- // Without this, useAssociatedStyles enters "waiting-first-style" mode
196
- // (opacity: 0) because it detects previous-screen evidence but never
197
- // receives a resolved style for this tag.
198
- [resolvedTag]: {
199
- style: {
200
- opacity: 1
201
- }
202
- }
203
- };
204
- }
205
- const unfocusedFade = props.active?.closing ? interpolate(progress, [1.6, 2], [1, 0], "clamp") : interpolate(progress, [1, 1.5], [1, 0], "clamp");
206
- const unfocusedScale = interpolateClamped(progress, [1, 2], [1, 0.95]);
207
- const isUnfocusedIdle = props.active.settled === 1;
208
- const elementTarget = sharedOptions.scaleMode === "match" ? "fullscreen" : getZoomContentTarget({
209
- explicitTarget,
210
- resolvedTag,
211
- currentRouteKey,
212
- previousRouteKey,
213
- nextRouteKey,
214
- entering,
215
- screenLayout,
216
- anchor: sharedOptions.anchor
217
- });
218
- const elementRaw = computeRaw({
219
- ...sharedOptions,
220
- method: "transform",
221
- space: "relative",
222
- target: elementTarget
223
- });
224
-
225
- // Keep compensation tied to the element target's center. In `scaleMode: "match"`
226
- // this target is fullscreen, so the center offset should resolve to zero.
227
- const elementCenterY = typeof elementTarget === "object" ? elementTarget.pageY + elementTarget.height / 2 : screenLayout.height / 2;
228
- const scaleShiftY = computeCenterScaleShift({
229
- center: elementCenterY,
230
- containerCenter: screenLayout.height / 2,
231
- scale: dragScale
232
- });
233
- const compensatedGestureX = composeCompensatedTranslation({
234
- gesture: dragX,
235
- parentScale: unfocusedScale,
236
- epsilon: EPSILON
237
- });
238
- // dragY is measured in screen space and must be unscaled by the parent
239
- // content shrink, while scaleShiftY is already in the parent's local space.
240
- const compensatedGestureY = composeCompensatedTranslation({
241
- gesture: dragY,
242
- parentScale: unfocusedScale,
243
- centerShift: scaleShiftY,
244
- epsilon: EPSILON
245
- });
246
- const elementTranslateX = toNumber(elementRaw.translateX) + compensatedGestureX;
247
- const elementTranslateY = toNumber(elementRaw.translateY) + compensatedGestureY;
248
- const elementScaleX = toNumber(elementRaw.scaleX, 1) * dragScale;
249
- const elementScaleY = toNumber(elementRaw.scaleY, 1) * dragScale;
250
- const resolvedElementStyle = isUnfocusedIdle ? {
251
- transform: [{
252
- translateX: 0
253
- }, {
254
- translateY: 0
255
- }, {
256
- scaleX: 1
257
- }, {
258
- scaleY: 1
259
- }],
260
- opacity: 0,
261
- zIndex: 0,
262
- elevation: 0
263
- } : {
264
- transform: [{
265
- translateX: elementTranslateX
266
- }, {
267
- translateY: elementTranslateY
268
- }, {
269
- scaleX: elementScaleX
270
- }, {
271
- scaleY: elementScaleY
272
- }],
273
- opacity: unfocusedFade,
274
- zIndex: 9999,
275
- elevation: 9999
276
- };
277
- return {
278
- content: {
279
- style: {
280
- transform: [{
281
- scale: unfocusedScale
282
- }]
283
- }
284
- },
285
- [resolvedTag]: {
286
- style: resolvedElementStyle
287
- }
288
- };
289
- };
290
- //# sourceMappingURL=zoom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["interpolate","EPSILON","NAVIGATION_CONTAINER_STYLE_ID","NAVIGATION_MASK_STYLE_ID","NO_STYLES","BoundStore","interpolateClamped","combineScales","composeCompensatedTranslation","computeCenterScaleShift","normalizedToScale","normalizedToTranslation","resolveNavigationConfig","toNumber","DRAG_RESISTANCE","DIRECTIONAL_DRAG_SCALE_OUTPUT","IDENTITY_DRAG_SCALE_OUTPUT","getZoomContentTarget","explicitTarget","resolvedTag","currentRouteKey","previousRouteKey","nextRouteKey","entering","screenLayout","anchor","undefined","resolvedPair","resolveTransitionPair","currentScreenKey","previousScreenKey","nextScreenKey","sourceBounds","screenWidth","width","height","horizontalAnchor","verticalAnchor","x","y","pageX","pageY","buildZoomNavigationStyles","id","group","navigationOptions","props","resolveTag","computeRaw","focused","progress","current","route","key","previous","next","layouts","screen","normX","active","gesture","normY","initialDirection","direction","xScaleOutput","yScaleOutput","dragX","normalized","dimension","resistance","dragY","dragXScale","outputRange","exponent","dragYScale","dragScale","resolvedConfig","defaultAnchor","sharedOptions","contentTarget","contentRaw","method","target","maskRaw","space","focusedFade","closing","maskWidth","Math","max","maskHeight","contentTranslateX","translateX","contentTranslateY","translateY","contentScale","scale","maskTranslateX","maskTranslateY","style","opacity","transform","borderRadius","unfocusedFade","unfocusedScale","isUnfocusedIdle","settled","elementTarget","scaleMode","elementRaw","elementCenterY","scaleShiftY","center","containerCenter","compensatedGestureX","parentScale","epsilon","compensatedGestureY","centerShift","elementTranslateX","elementTranslateY","elementScaleX","scaleX","elementScaleY","scaleY","resolvedElementStyle","zIndex","elevation","content"],"sourceRoot":"../../../../../../../src","sources":["shared/utils/bounds/sugar/navigation/zoom.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AACrD,SACCC,OAAO,EACPC,6BAA6B,EAC7BC,wBAAwB,EACxBC,SAAS,QACH,uBAAuB;AAC9B,SAASC,UAAU,QAAQ,2BAA2B;AAGtD,SAASC,kBAAkB,QAAQ,2BAA2B;AAC9D,SACCC,aAAa,EACbC,6BAA6B,EAC7BC,uBAAuB,EACvBC,iBAAiB,EACjBC,uBAAuB,QACjB,oBAAoB;AAE3B,SAASC,uBAAuB,EAAEC,QAAQ,QAAQ,WAAW;AAG7D,MAAMC,eAAe,GA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AAQ,CAACgG,UAAU,CAACf,UAAU,CAAC,GAAGuB,mBAAmB;EACtD,MAAMI,aAAa,GAAG5G,QAAQ,CAACgG,UAAU,CAACa,MAAM,EAAE,CAAC,CAAC,GAAG/C,SAAS;EAChE,MAAMgD,aAAa,GAAG9G,QAAQ,CAACgG,UAAU,CAACe,MAAM,EAAE,CAAC,CAAC,GAAGjD,SAAS;EAEhE,MAAMkD,oBAAoB,GAAGpB,eAAe,GACzC;IACAJ,SAAS,EAAE,CACV;MAAET,UAAU,EAAE;IAAE,CAAC,EACjB;MAAEE,UAAU,EAAE;IAAE,CAAC,EACjB;MAAE4B,MAAM,EAAE;IAAE,CAAC,EACb;MAAEE,MAAM,EAAE;IAAE,CAAC,CACb;IACDxB,OAAO,EAAE,CAAC;IACV0B,MAAM,EAAE,CAAC;IACTC,SAAS,EAAE;EACZ,CAAC,GACA;IACA1B,SAAS,EAAE,CACV;MAAET,UAAU,EAAE2B;IAAkB,CAAC,EACjC;MAAEzB,UAAU,EAAE0B;IAAkB,CAAC,EACjC;MAAEE,MAAM,EAAED;IAAc,CAAC,EACzB;MAAEG,MAAM,EAAED;IAAc,CAAC,CACzB;IACDvB,OAAO,EAAEG,aAAa;IACtBuB,MAAM,EAAE,IAAI;IACZC,SAAS,EAAE;EACZ,CAAC;EAEH,OAAO;IACNC,OAAO,EAAE;MACR7B,KAAK,EAAE;QACNE,SAAS,EAAE,CAAC;UAAEL,KAAK,EAAEQ;QAAe,CAAC;MACtC;IACD,CAAC;IACD,CAACrF,WAAW,GAAG;MACdgF,KAAK,EAAE0B;IACR;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -1,10 +0,0 @@
1
- /**
2
- * Screen overlay component that renders per-screen.
3
- * Gets current descriptor from keys context.
4
- *
5
- * @deprecated Screen overlays are deprecated. For per-screen overlays, render an
6
- * absolute-positioned view directly in your screen component and use `useScreenAnimation()`
7
- * to access animation values. This component will be removed in a future version.
8
- */
9
- export declare function ScreenOverlay(): import("react/jsx-runtime").JSX.Element | null;
10
- //# sourceMappingURL=screen-overlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"screen-overlay.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/components/overlay/variations/screen-overlay.tsx"],"names":[],"mappings":"AAaA;;;;;;;GAOG;AACH,wBAAgB,aAAa,mDA8C5B"}
@@ -1,13 +0,0 @@
1
- import type { ReactNode } from "react";
2
- import { type ScaledSize } from "react-native";
3
- import { type EdgeInsets } from "react-native-safe-area-context";
4
- export interface ViewportContextValue {
5
- dimensions: ScaledSize;
6
- insets: EdgeInsets;
7
- }
8
- interface ViewportProviderProps {
9
- children: ReactNode;
10
- }
11
- declare const ViewportProvider: import("react").FC<ViewportProviderProps>, useViewportContext: () => ViewportContextValue;
12
- export { ViewportProvider, useViewportContext };
13
- //# sourceMappingURL=viewport.provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"viewport.provider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/viewport.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,UAAU,EAAuB,MAAM,cAAc,CAAC;AACpE,OAAO,EACN,KAAK,UAAU,EAEf,MAAM,gCAAgC,CAAC;AAGxC,MAAM,WAAW,oBAAoB;IACpC,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,UAAU,CAAC;CACnB;AAED,UAAU,qBAAqB;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,QAAA,MAAQ,gBAAgB,6CAAE,kBAAkB,4BAkB1C,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,38 +0,0 @@
1
- type CombinedScaleMode = "multiply" | "average" | "max" | "min";
2
- export declare const clamp: (value: number, min: number, max: number) => number;
3
- export declare const clamp01: (value: number) => number;
4
- export declare const lerp: (from: number, to: number, t: number) => number;
5
- export declare const safeDivide: (numerator: number, denominator: number, fallback?: number) => number;
6
- export declare const inverseLerp: (value: number, inMin: number, inMax: number) => number;
7
- export declare const mapRangeClamped: (value: number, inMin: number, inMax: number, outMin: number, outMax: number) => number;
8
- export declare const applyPowerCurve: (value: number, exponent: number) => number;
9
- export declare const normalizedToTranslation: ({ normalized, dimension, resistance, }: {
10
- normalized: number;
11
- dimension: number;
12
- resistance: number;
13
- }) => number;
14
- export declare const normalizedToScale: ({ normalized, outputRange, exponent, positiveOnly, }: {
15
- normalized: number;
16
- outputRange: readonly [number, number];
17
- exponent?: number;
18
- positiveOnly?: boolean;
19
- }) => number;
20
- export declare const combineScales: (scaleX: number, scaleY: number, mode?: CombinedScaleMode) => number;
21
- export declare const computeCenterScaleShift: ({ center, containerCenter, scale, }: {
22
- center: number;
23
- containerCenter: number;
24
- scale: number;
25
- }) => number;
26
- export declare const compensateTranslationForParentScale: ({ translation, parentScale, epsilon, }: {
27
- translation: number;
28
- parentScale: number;
29
- epsilon: number;
30
- }) => number;
31
- export declare const composeCompensatedTranslation: ({ gesture, parentScale, centerShift, epsilon, }: {
32
- gesture: number;
33
- parentScale: number;
34
- centerShift?: number;
35
- epsilon: number;
36
- }) => number;
37
- export {};
38
- //# sourceMappingURL=math.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/math.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG,UAAU,GAAG,SAAS,GAAG,KAAK,GAAG,KAAK,CAAC;AAEhE,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,KAAG,MAS/D,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,MAAM,KAAG,MAGvC,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,MAAM,MAAM,EAAE,IAAI,MAAM,EAAE,GAAG,MAAM,KAAG,MAG1D,CAAC;AAEF,eAAO,M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AC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CAChB,KAAG,MASH,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { ScreenInterpolationProps } from "../../../types/animation.types";
2
- import type { BoundsOptions } from "../types/options";
3
- import type { ResolveBoundTagParams } from "./resolve-bound-tag";
4
- type NavigationAccessorParams = {
5
- id?: string;
6
- group?: string;
7
- getProps: () => Omit<ScreenInterpolationProps, "bounds">;
8
- resolveBoundTag: (params: ResolveBoundTagParams) => string | undefined;
9
- computeRaw: (overrides?: Partial<BoundsOptions>, frameProps?: Omit<ScreenInterpolationProps, "bounds">) => Record<string, unknown>;
10
- zoomBaseOptions?: Pick<BoundsOptions, "anchor" | "scaleMode" | "target">;
11
- };
12
- export declare const createNavigationAccessor: ({ id, group, getProps, resolveBoundTag, computeRaw, zoomBaseOptions, }: NavigationAccessorParams) => {
13
- zoom: () => Readonly<{}>;
14
- };
15
- export {};
16
- //# sourceMappingURL=navigation-accessor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"navigation-accessor.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/utils/bounds/helpers/navigation-accessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAG/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,KAAK,wBAAwB,GAAG;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;IACzD,eAAe,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,MAAM,GAAG,SAAS,CAAC;IACvE,UAAU,EAAE,CACX,SAAS,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,EAClC,UAAU,CAAC,EAAE,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,KACjD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7B,eAAe,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC,CAAC;CACzE,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,wEAOtC,wBAAwB;;CAmC1B,CAAC"}
@@ -1,17 +0,0 @@
1
- import type { BoundsNavigationOptions } from "../../../../types/bounds.types";
2
- import type { BoundsOptions } from "../../types/options";
3
- import type { ResolveTag } from "./types";
4
- export declare const toNumber: (value: unknown, fallback?: number) => number;
5
- export declare const resolveNavigationConfig: ({ id, group, navigationOptions, currentRouteKey, resolveTag, defaultAnchor, }: {
6
- id: string;
7
- group?: string;
8
- navigationOptions?: BoundsNavigationOptions;
9
- currentRouteKey?: string;
10
- resolveTag: ResolveTag;
11
- defaultAnchor: BoundsOptions["anchor"] | undefined;
12
- }) => {
13
- resolvedTag: string;
14
- sharedOptions: Partial<BoundsOptions>;
15
- explicitTarget: BoundsOptions["target"] | undefined;
16
- } | null;
17
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/sugar/navigation/helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,QAAQ,GAAI,OAAO,OAAO,EAAE,iBAAY,KAAG,MAGvD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,+EAOrC;IACF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;CACnD,KAAG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACtC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;CACpD,GAAG,IA6CH,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { BuildNavigationStylesParams } from "./types";
2
- export declare const buildNavigationStyles: (params: BuildNavigationStylesParams) => Readonly<{}>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/sugar/navigation/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAG3D,eAAO,MAAM,qBAAqB,GAAI,QAAQ,2BAA2B,iBASxE,CAAC"}
@@ -1,18 +0,0 @@
1
- import type { ScreenInterpolationProps } from "../../../../types/animation.types";
2
- import type { BoundsNavigationOptions, BoundsNavigationPreset } from "../../../../types/bounds.types";
3
- import type { BoundsOptions } from "../../types/options";
4
- export type ResolveTag = (params: {
5
- id?: string;
6
- group?: string;
7
- }) => string | undefined;
8
- export type ComputeRaw = (overrides: Partial<BoundsOptions>, frameProps?: Omit<ScreenInterpolationProps, "bounds">) => Record<string, unknown>;
9
- export type BuildNavigationStylesParams = {
10
- id: string;
11
- group?: string;
12
- preset: BoundsNavigationPreset;
13
- navigationOptions?: BoundsNavigationOptions;
14
- props: Omit<ScreenInterpolationProps, "bounds">;
15
- resolveTag: ResolveTag;
16
- computeRaw: ComputeRaw;
17
- };
18
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/sugar/navigation/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EACX,uBAAuB,EACvB,sBAAsB,EACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,KAAK,MAAM,GAAG,SAAS,CAAC;AAEzB,MAAM,MAAM,UAAU,GAAG,CACxB,SAAS,EAAE,OAAO,CAAC,aAAa,CAAC,EACjC,UAAU,CAAC,EAAE,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,KACjD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE7B,MAAM,MAAM,2BAA2B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,sBAAsB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;IAC5C,KAAK,EAAE,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;IAChD,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACvB,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { TransitionInterpolatedStyle } from "../../../../types/animation.types";
2
- import type { BuildNavigationStylesParams } from "./types";
3
- export declare const buildZoomNavigationStyles: ({ id, group, navigationOptions, props, resolveTag, computeRaw, }: BuildNavigationStylesParams) => TransitionInterpolatedStyle;
4
- //# sourceMappingURL=zoom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"zoom.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/utils/bounds/sugar/navigation/zoom.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAYrF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAkG3D,eAAO,MAAM,yBAAyB,GAAI,kEAOvC,2BAA2B,KAAG,2BA8NhC,CAAC"}